[gnome-power-manager] remove unused GConf keys



commit 38ad95ff7f080a661e6513c14a05a458eab2bf16
Author: Richard Hughes <richard hughsie com>
Date:   Fri Aug 21 22:09:01 2009 +0100

    remove unused GConf keys

 data/gnome-power-manager.schemas.in |   36 -----------------------------------
 src/gpm-common.h                    |    7 ------
 2 files changed, 0 insertions(+), 43 deletions(-)
---
diff --git a/data/gnome-power-manager.schemas.in b/data/gnome-power-manager.schemas.in
index b4c60db..50d2929 100644
--- a/data/gnome-power-manager.schemas.in
+++ b/data/gnome-power-manager.schemas.in
@@ -264,18 +264,6 @@
     </schema>
 
     <schema>
-      <key>/schemas/apps/gnome-power-manager/general/ignore_inhibit_requests</key>
-      <applyto>/apps/gnome-power-manager/general/ignore_inhibit_requests</applyto>
-      <owner>gnome-power-manager</owner>
-      <type>bool</type>
-      <default>false</default>
-      <locale name="C">
-        <short>If DBUS inhibit requests should be ignored.</short>
-        <long>If DBUS inhibit requests should be ignored from other programs.</long>
-      </locale>
-    </schema>
-
-    <schema>
       <key>/schemas/apps/gnome-power-manager/general/use_time_for_policy</key>
       <applyto>/apps/gnome-power-manager/general/use_time_for_policy</applyto>
       <owner>gnome-power-manager</owner>
@@ -468,18 +456,6 @@
     </schema>
 
     <schema>
-      <key>/schemas/apps/gnome-power-manager/notify/inhibit_lid</key>
-      <applyto>/apps/gnome-power-manager/notify/inhibit_lid</applyto>
-      <owner>gnome-power-manager</owner>
-      <type>bool</type>
-      <default>false</default>
-      <locale name="C">
-        <short>If we should show the warning when we have a valid inhibit and configured to sleep on lid close</short>
-        <long>If we should show the warning when we have a valid inhibit and configured to sleep on lid close.</long>
-      </locale>
-    </schema>
-
-    <schema>
       <key>/schemas/apps/gnome-power-manager/notify/low_capacity</key>
       <applyto>/apps/gnome-power-manager/notify/low_capacity</applyto>
       <owner>gnome-power-manager</owner>
@@ -552,18 +528,6 @@
     </schema>
 
     <schema>
-      <key>/schemas/apps/gnome-power-manager/notify/estimated_data</key>
-      <applyto>/apps/gnome-power-manager/notify/estimated_data</applyto>
-      <owner>gnome-power-manager</owner>
-      <type>bool</type>
-      <default>true</default>
-      <locale name="C">
-        <short>Notify when the profile data is guessed</short>
-        <long>If a notification message should be displayed when the profile data is guessed.</long>
-      </locale>
-    </schema>
-
-    <schema>
       <key>/schemas/apps/gnome-power-manager/statistics/show_axis_labels</key>
       <applyto>/apps/gnome-power-manager/statistics/show_axis_labels</applyto>
       <owner>gnome-power-manager</owner>
diff --git a/src/gpm-common.h b/src/gpm-common.h
index 301b17c..5c59e9e 100644
--- a/src/gpm-common.h
+++ b/src/gpm-common.h
@@ -87,7 +87,6 @@ G_BEGIN_DECLS
 #define GPM_CONF_NETWORKMANAGER_SLEEP		GPM_CONF_DIR "/general/network_sleep"
 #define GPM_CONF_IDLE_CHECK_CPU			GPM_CONF_DIR "/general/check_type_cpu"
 #define GPM_CONF_LAPTOP_USES_EXT_MON		GPM_CONF_DIR "/general/using_external_monitor"
-#define GPM_CONF_IGNORE_INHIBITS		GPM_CONF_DIR "/general/ignore_inhibit_requests"
 
 /* lock */
 #define GPM_CONF_LOCK_USE_SCREENSAVER		GPM_CONF_DIR "/lock/use_screensaver_settings"
@@ -111,8 +110,6 @@ G_BEGIN_DECLS
 #define GPM_CONF_NOTIFY_SLEEP_FAILED		GPM_CONF_DIR "/notify/sleep_failed"
 #define GPM_CONF_NOTIFY_SLEEP_FAILED_URI	GPM_CONF_DIR "/notify/sleep_failed_uri"
 #define GPM_CONF_NOTIFY_LOW_POWER		GPM_CONF_DIR "/notify/low_power"
-#define GPM_CONF_NOTIFY_ESTIMATED_DATA		GPM_CONF_DIR "/notify/estimated_data"
-#define GPM_CONF_NOTIFY_INHIBIT_LID		GPM_CONF_DIR "/notify/inhibit_lid"
 
 /* statistics */
 #define GPM_CONF_STATS_SHOW_AXIS_LABELS		GPM_CONF_DIR "/statistics/show_axis_labels"
@@ -139,14 +136,10 @@ G_BEGIN_DECLS
 
 /* ui */
 #define GPM_CONF_UI_ICON_POLICY			GPM_CONF_DIR "/ui/icon_policy"
-#define GPM_CONF_UI_SHOW_CPUFREQ		GPM_CONF_DIR "/ui/cpufreq_show"
 #define GPM_CONF_UI_SHOW_ACTIONS_IN_MENU	GPM_CONF_DIR "/ui/show_actions_in_menu"
 #define GPM_CONF_UI_ENABLE_SOUND		GPM_CONF_DIR "/ui/enable_sound"
 #define GPM_CONF_UI_SHOW_CONTEXT_MENU		GPM_CONF_DIR "/ui/show_context_menu"
 
-/* we use the gnome-session key now */
-#define GPM_CONF_SESSION_REQUEST_SAVE		"/apps/gnome-session/options/auto_save_session"
-
 /* new info binary */
 #define GPM_CONF_INFO_HISTORY_TIME		"/apps/gnome-power-manager/info/history_time"
 #define GPM_CONF_INFO_HISTORY_TYPE		"/apps/gnome-power-manager/info/history_type"



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