summaryrefslogtreecommitdiff
path: root/src/gpm-engine.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-22update copyright to 2021raveit651-0/+1
2020-03-09Port from EggDebug to the built-in GLib logging frameworkrbuj1-33/+31
2020-03-03Remove warnings: unused variablerbuj1-2/+0
2019-09-26drop obsolete version checks for upowerraveit651-375/+0
with required version bump to upower-0.99.8 we don't need them any more.
2019-09-26Use up_client_get_devices2()raveit651-1/+1
The previous code would have leaked all the UpDevice objects because no free function was set on the returned GPtrArray. With depending on upower-glib 0.99.8 get_devices() was deprecated and get_devices2() was introduced, we can simply switch to get_devices2() which does set a free function on the returned GPtrArray, stopping the leak. Inspired from: https://gitlab.gnome.org/GNOME/gnome-control-center/commit/c1210c5 see upower upstream: https://gitlab.freedesktop.org/upower/upower/commit/cb1071b
2019-08-20gpm-engine: avoid 'g_type_class_add_private'Pablo Barciela1-5/+3
2016-07-25Assign names to our idle sources when using newer versions of glib2raveit651-1/+3
This makes it possible to profile more accurately using systemtap taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=fbb075b5
2016-07-25Show the primary device time remaining as the first entry in the context menuraveit651-0/+44
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=93da9b4
2016-07-25allow non-battery devices to be used for gpm_engine_update_composite_device()raveit651-2/+14
https://git.gnome.org/browse/gnome-power-manager/commit/?id=2828891 https://git.gnome.org/browse/gnome-power-manager/commit/?id=9b4825b
2016-07-25Add a ::devices-changed signal to GpmEngine that helper code may wantraveit651-0/+10
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=f706110
2016-06-07rely less on GtkStockSorokin Alexei1-2/+2
2015-01-15remove ifdefs, bump upower version requirementMonsta1-2/+0
Closes https://github.com/mate-desktop/mate-power-manager/pull/126
2014-04-24Other round of fixes for UPower 0.99 API changesStefano Karapetsas1-20/+65
2014-04-24Improve UPower1 supportStefano Karapetsas1-9/+23
2014-04-09port mate-power-manager to upower-0.99 APIStefan Seyfried1-4/+51
fix mate-power-manager for current upower versions
2014-04-09remove "battery recall" logicStefan Seyfried1-47/+0
the database is outdated several years now and the whole interface is removed from current UPower release anyway, so let's get rid of it in m-p-m, too
2012-10-30Use gsettings enums (partially from GNOME)Brent Hull1-8/+2
2012-10-27Port to Gsettings based on GNOME patch by Richard HughesBrent Hull1-30/+20
2012-10-27Get device capabilities in the preferences capplet, not the daemon (GNOME ↵Brent Hull1-32/+5
fix for bug #617529 originally by Richard Hughes)
2011-12-11moved from Mate-ExtraStefano Karapetsas1-0/+1267