summaryrefslogtreecommitdiff
path: root/src/gpm-common.h
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-04-28 14:10:17 +0300
committerStefano Karapetsas <[email protected]>2015-05-04 17:45:23 +0200
commit405bec23c0a1cf97e39171fabc6596c9ab7f7a5e (patch)
treea9613974e19201ccb1f7e8c63c1b5396728ee1b3 /src/gpm-common.h
parentcf2596de2e3ea20e532e6dc49ef590039756ec46 (diff)
downloadmate-power-manager-405bec23c0a1cf97e39171fabc6596c9ab7f7a5e.tar.bz2
mate-power-manager-405bec23c0a1cf97e39171fabc6596c9ab7f7a5e.tar.xz
dropped udisks support for several reasons.
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
Diffstat (limited to 'src/gpm-common.h')
-rw-r--r--src/gpm-common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpm-common.h b/src/gpm-common.h
index 303bdd1..7578f68 100644
--- a/src/gpm-common.h
+++ b/src/gpm-common.h
@@ -91,12 +91,6 @@ G_BEGIN_DECLS
#define GPM_SETTINGS_LOCK_KEYRING_SUSPEND "lock-keyring-suspend"
#define GPM_SETTINGS_LOCK_KEYRING_HIBERNATE "lock-keyring-hibernate"
-/* disks */
-#define GPM_SETTINGS_SPINDOWN_ENABLE_AC "spindown-enable-ac"
-#define GPM_SETTINGS_SPINDOWN_ENABLE_BATT "spindown-enable-battery"
-#define GPM_SETTINGS_SPINDOWN_TIMEOUT_AC "spindown-timeout-ac"
-#define GPM_SETTINGS_SPINDOWN_TIMEOUT_BATT "spindown-timeout-battery"
-
/* notify */
#define GPM_SETTINGS_NOTIFY_LOW_CAPACITY "notify-low-capacity"
#define GPM_SETTINGS_NOTIFY_DISCHARGING "notify-discharging"