[gnome-settings-daemon] Move some of the gnome-power-manager schema so it can be used by the 'Screen' control center pane



commit e14b01cf334c494d9ea6eaa245b0288594284c51
Author: Richard Hughes <richard hughsie com>
Date:   Wed Nov 17 16:31:50 2010 +0000

    Move some of the gnome-power-manager schema so it can be used by the 'Screen' control center pane

 configure.ac                                       |    1 +
 data/Makefile.am                                   |    1 +
 ...settings-daemon.plugins.power.gschema.xml.in.in |   29 ++++++++++++++++++++
 po/POTFILES.in                                     |    1 +
 4 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 30d9173..a46178f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -462,6 +462,7 @@ data/gnome-settings-daemon-uninstalled.pc
 data/org.gnome.settings-daemon.plugins.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.xsettings.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.keyboard.gschema.xml.in
+data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in
 data/org.gnome.settings-daemon.peripherals.gschema.xml.in
 data/org.gnome.settings-daemon.plugins.housekeeping.gschema.xml.in
diff --git a/data/Makefile.am b/data/Makefile.am
index ecc1a17..d32b944 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,6 +10,7 @@ gsettings_SCHEMAS =							\
 	org.gnome.settings-daemon.peripherals.gschema.xml		\
 	org.gnome.settings-daemon.plugins.gschema.xml			\
 	org.gnome.settings-daemon.plugins.keyboard.gschema.xml		\
+	org.gnome.settings-daemon.plugins.power.gschema.xml		\
 	org.gnome.settings-daemon.plugins.media-keys.gschema.xml	\
 	org.gnome.settings-daemon.plugins.xsettings.gschema.xml		\
 	org.gnome.settings-daemon.plugins.housekeeping.gschema.xml	\
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
new file mode 100644
index 0000000..8938d0b
--- /dev/null
+++ b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
@@ -0,0 +1,29 @@
+<schemalist>
+  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.plugins.power" path="/org/gnome/settings-daemon/plugins/power/">
+    <key name="active" type="b">
+      <default>false</default><!-- g-p-m is not a GSD plugin, yet -->
+      <_summary>Activation of this plugin</_summary>
+      <_description>Whether this plugin would be activated by gnome-settings-daemon or not</_description>
+    </key>
+    <key name="priority" type="i">
+      <default>1</default>
+      <_summary>Priority to use for this plugin</_summary>
+      <_description>Priority to use for this plugin in gnome-settings-daemon startup queue</_description>
+    </key>
+    <key name="idle-brightness" type="i">
+      <default>30</default>
+      <summary>The brightness of the screen when idle</summary>
+      <description>This is the laptop panel screen brightness used when the session is idle.</description>
+    </key>
+    <key name="idle-dim-battery" type="b">
+      <default>true</default>
+      <summary>Dim the screen after a period of inactivity when on battery power</summary>
+      <description>If the screen should be dimmed to save power when the computer is idle when on battery power.</description>
+    </key>
+    <key name="idle-dim-time" type="i">
+      <default>10</default>
+      <summary>The default amount of time to dim the screen after idle</summary>
+      <description>The default amount of time to dim the screen after idle.</description>
+    </key>
+  </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b7ccd7d..99b2cad 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -6,6 +6,7 @@ data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.housekeeping.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.keyboard.gschema.xml.in.in
+data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.xrandr.gschema.xml.in.in
 data/org.gnome.settings-daemon.plugins.xsettings.gschema.xml.in.in



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]