summaryrefslogtreecommitdiff
path: root/src/gpm-manager.c
AgeCommit message (Collapse)AuthorFilesLines
2023-11-06Remove compilation warning fix data type format errorzhuyaliang1-6/+4
2021-12-11Use a blank line at mostrbuj1-1/+0
2021-06-22update copyright to 2021raveit651-0/+1
2020-03-09Port from EggDebug to the built-in GLib logging frameworkrbuj1-67/+66
2020-03-08gpm-manager: Remove dereference of a null pointer warningrbuj1-13/+17
2020-03-03Remove warnings: unused variablerbuj1-1/+0
2019-09-26drop obsolete version checks for upowerraveit651-9/+0
with required version bump to upower-0.99.8 we don't need them any more.
2019-08-20gpm-manager: avoid 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-03-23Add conf option to disable warnings for low mouse powerLaine Walker-Avina1-0/+10
On certain mice, they can last several weeks after the first warning on certain kinds of batteries which makes the constant notifications quite annoying.
2018-01-29require GTK+ 3.22 and GLib 2.50monsta1-8/+0
and drop additional checks for min/max GLib versions, it's not needed
2017-07-26don't use deprecated gtk_show_uriraveit651-0/+6
use NULL where GdkScreen was NULL, use dialog when screen wasn't NULL
2017-07-05refresh tray icon on icon theme changemonsta1-0/+23
2016-07-25Assign names to our idle sources when using newer versions of glib2raveit651-3/+10
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-25rename a function to match upstreamraveit651-1/+1
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=f2c0409
2016-06-07rely less on GtkStockSorokin Alexei1-7/+6
2015-11-30fix warnings due to wrong id passed to g_source_removemonsta1-1/+4
2015-05-04dropped udisks support for several reasons.Monsta1-34/+0
1. udisks1 will soon be dropped from debian and ubuntu, and probably from other major distros as well. it's replaced by udisks2. 2. the only udisks1 feature that was used in m-p-m was the disk spindown. its usefullness is questionable, especially when you have an SSD. 3. udisks2 doesn't seem to have neither API nor command-line tools for the spindown feature. 4. spindown support has been dropped in gnome-power-manager in 2011, https://git.gnome.org/browse/gnome-power-manager/commit/?id=d97a988246d34f4cd38b7ee1335c9b500c7c522f 5. it also has been dropped in xfce-power-manager in 2014, http://git.xfce.org/xfce/xfce4-power-manager/log/?qt=grep&q=disk+spin+down Closes https://github.com/mate-desktop/mate-power-manager/pull/144
2015-01-15remove ifdefs, bump upower version requirementMonsta1-4/+0
Closes https://github.com/mate-desktop/mate-power-manager/pull/126
2014-11-16don't leak memoryMonsta1-1/+3
Closes https://github.com/mate-desktop/mate-power-manager/pull/115
2014-04-24Other round of fixes for UPower 0.99 API changesStefano Karapetsas1-1/+3
2014-04-09port mate-power-manager to upower-0.99 APIStefan Seyfried1-0/+9
fix mate-power-manager for current upower versions
2014-04-09remove "battery recall" logicStefan Seyfried1-108/+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
2014-03-09Merge pull request #60 from Firstyear/masterStefano Karapetsas1-3/+6
Add DBUS interface to kbdbacklight control
2013-08-09fix comment in gpm-manager.craveit651-1/+1
2013-08-09fix systemd-login1 support for gpm_manager_blank_screenraveit651-3/+3
2013-07-24Code improvements and deprecation fixesmate-power-manager-1.6.2Stefano Karapetsas1-0/+1
2013-07-24Dont rely only on consolekit for button pressed eventStefano Karapetsas1-2/+2
Add also a check if systemd is running
2013-07-05drop --with-systemdinhibit and move logind detection to runtimeFabio Erculiani1-27/+16
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-06-27RHBZ #964678 : Patch that provides DBUS interface to control KbdBacklight.William Brown1-3/+6
2013-02-19allow compiling with systemd, but have systemd booted optionalElan Ruusamäe1-7/+15
2013-02-18use libnotify, not libmatenotifyElan Ruusamäe1-3/+3
2012-11-22Auto-detect whether to build systemd supportBrent Hull1-2/+4
2012-11-21Adds a systemdinhibit configure flagWilliam Brown1-0/+6
2012-11-21Initial working support for systemd inhibitionWilliam Brown1-9/+17
2012-11-21This now uses the gvariant, and fixes some code logic issuesWilliam Brown1-5/+11
2012-11-21Current work on systemd-inhibit support in mpm. DOES NOT WORK YET. See ↵William Brown1-1/+1
https://bugzilla.redhat.com/show_bug.cgi?id=876396 and https://bugzilla.redhat.com/show_bug.cgi?id=876782
2012-11-21Current work on systemd-inhibit support in mpm. DOES NOT WORK YET. See ↵William Brown1-0/+68
https://bugzilla.redhat.com/show_bug.cgi?id=876396 and https://bugzilla.redhat.com/show_bug.cgi?id=876782
2012-11-14This fixes the mismatched dbus library issueWilliam Brown1-1/+3
2012-11-11Keyboard backlight patches, tested as working against 1.5.0 on F18William Brown1-0/+10
2012-11-04Remove commented-out screensaver-auth-request functionsBrent Hull1-31/+0
2012-11-01Remove unnecessary schema version check and some unused constantsBrent Hull1-17/+1
2012-10-30Use gsettings enums (partially from GNOME)Brent Hull1-23/+8
2012-10-27Port to Gsettings based on GNOME patch by Richard HughesBrent Hull1-69/+57
2012-10-27Get device capabilities in the preferences capplet, not the daemon (GNOME ↵Brent Hull1-18/+1
fix for bug #617529 originally by Richard Hughes)
2011-12-11moved from Mate-ExtraStefano Karapetsas1-0/+2110