summaryrefslogtreecommitdiff
path: root/src/gpm-control.c
AgeCommit message (Collapse)AuthorFilesLines
2017-03-07Replace deprecated UPower functions with ConsoleKit2 equivalentsinfirit1-17/+19
This requires ConsoleKit2 0.9.2. + some corrections for issues mentioned at https://github.com/mate-desktop/mate-power-manager/pull/209
2017-03-07remove some unused dbus-glib includesmonsta1-2/+0
2017-03-07use proper return type and fix a small memleakmonsta1-2/+4
2017-03-03add some missing variable initializationsmonsta1-2/+2
2016-11-21fix indent a bitmonsta1-1/+1
2015-04-11Fix memory leak problem when calling logind DBus methodRoy Zhang1-21/+27
We should catch and free the GVariant returned by proxy calls even if the DBus method returns no value.
2014-04-09port mate-power-manager to upower-0.99 APIStefan Seyfried1-2/+4
fix mate-power-manager for current upower versions
2014-02-26Define UPOWER_ENABLE_DEPRECATEDStefano Karapetsas1-0/+1
2013-09-29fix typo in gpm_control_suspend, gpm-control.cWolfgang Ulbrich1-1/+1
this fix 'suspend on lid close' https://bugzilla.redhat.com/show_bug.cgi?id=1012718
2013-08-02Merge branch 'dev-gnome-keyring'Stefano Karapetsas1-13/+13
2013-07-24Code improvements and deprecation fixesmate-power-manager-1.6.2Stefano Karapetsas1-4/+3
2013-07-10Add systemd Shutdown() API support to gpm-control.cFabio Erculiani1-3/+52
2013-07-09switch to gnome-keyringraveit1-13/+13
2013-07-05drop --with-systemdsleep and move logind detection to runtimeFabio Erculiani1-89/+90
There is no need to bind the user to either systemd-logind or upower at build time. People can switch between init systems or run logind without systemd.
2013-05-06Remove debug printsStefano Karapetsas1-3/+0
2013-04-09crash when suspending via logind fixedAnton V. Boyarshinov1-4/+4
On some machins it seems to be a race condition in dbus when suspend via systemd. Here is a workaround.
2013-04-08add logind sleep abilityAnton V. Boyarshinov1-2/+82
With upower 0.9.20, sleep and hybernate functions of upower declared deprecated. All applications should use logind for sleep/hybernate. So, there is an implementation of logind-powered sleep for mpm.
2012-12-15Make mate-keyring support optionalBrent Hull1-5/+16
2012-11-04Don't depend on mate-screensaver's gschema being installedBrent Hull1-5/+20
2012-11-03Migrate screensaver lock setting to GsettingsBrent Hull1-5/+4
2012-10-27Port to Gsettings based on GNOME patch by Richard HughesBrent Hull1-13/+16
2011-12-11moved from Mate-ExtraStefano Karapetsas1-0/+347