[gnome-settings-daemon] Remove the 'interactive' option for power actions, and default to suspend for power button. Fixes #6
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] Remove the 'interactive' option for power actions, and default to suspend for power button. Fixes #6
- Date: Mon, 7 Mar 2011 13:46:42 +0000 (UTC)
commit 9db1eba21b20505847460a6cdb1694685fb976f8
Author: Richard Hughes <richard hughsie com>
Date: Mon Mar 7 13:45:42 2011 +0000
Remove the 'interactive' option for power actions, and default to suspend for power button. Fixes #643976
data/gsd-enums.h | 1 -
...settings-daemon.plugins.power.gschema.xml.in.in | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/gsd-enums.h b/data/gsd-enums.h
index 59d2919..187dcf9 100644
--- a/data/gsd-enums.h
+++ b/data/gsd-enums.h
@@ -96,7 +96,6 @@ typedef enum
GSD_POWER_ACTION_SUSPEND,
GSD_POWER_ACTION_SHUTDOWN,
GSD_POWER_ACTION_HIBERNATE,
- GSD_POWER_ACTION_INTERACTIVE,
GSD_POWER_ACTION_NOTHING
} GsdPowerActionType;
diff --git a/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
index 1afc438..cfc2dc0 100644
--- a/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
+++ b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
@@ -86,7 +86,7 @@
<description>The action to take when the system sleep (non-specific type) button is pressed.</description>
</key>
<key name="button-power" enum="org.gnome.settings-daemon.GsdPowerActionType">
- <default>'interactive'</default>
+ <default>'suspend'</default>
<summary>Power button action</summary>
<description>The action to take when the system power button is pressed.</description>
</key>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]