[gnome-power-manager] Remove an unused key



commit 4c47e0171239c5f25318d2dfc564f54a0191152d
Author: Richard Hughes <richard hughsie com>
Date:   Thu Nov 18 22:31:48 2010 +0000

    Remove an unused key

 data/org.gnome.power-manager.gschema.migrate |    1 -
 data/org.gnome.power-manager.gschema.xml     |    5 -----
 src/gpm-common.h                             |    7 -------
 3 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/data/org.gnome.power-manager.gschema.migrate b/data/org.gnome.power-manager.gschema.migrate
index 4f62245..3b1bdca 100644
--- a/data/org.gnome.power-manager.gschema.migrate
+++ b/data/org.gnome.power-manager.gschema.migrate
@@ -9,7 +9,6 @@ brightness-ac" = /apps/gnome-power-manager/backlight/brightness_ac
 button-suspend = /apps/gnome-power-manager/buttons/suspend
 button-hibernate = /apps/gnome-power-manager/buttons/hibernate
 button-power = /apps/gnome-power-manager/buttons/power
-use-profile-time = /apps/gnome-power-manager/general/use_profile_time
 use-time-for-policy = /apps/gnome-power-manager/general/use_time_for_policy
 lock-use-screensaver = /apps/gnome-power-manager/lock/use_screensaver_settings
 lock-blank-screen = /apps/gnome-power-manager/lock/blank_screen
diff --git a/data/org.gnome.power-manager.gschema.xml b/data/org.gnome.power-manager.gschema.xml
index fa2f584..905b489 100644
--- a/data/org.gnome.power-manager.gschema.xml
+++ b/data/org.gnome.power-manager.gschema.xml
@@ -47,11 +47,6 @@
       <summary>LCD brightness when on AC</summary>
       <description>The brightness of the display when on AC power. Possible values are between 0.0 and 1.0.</description>
     </key>
-    <key name="use-profile-time" type="b">
-      <default>true</default>
-      <summary>If the learnt profile should be used to calculate the time remaining</summary>
-      <description>If the learnt profile should be used to calculate the time remaining. Only turn this off for debugging.</description>
-    </key>
     <key name="use-time-for-policy" type="b">
       <default>true</default>
       <summary>Whether to use time-based notifications</summary>
diff --git a/src/gpm-common.h b/src/gpm-common.h
index 8285b6c..e3ef604 100644
--- a/src/gpm-common.h
+++ b/src/gpm-common.h
@@ -36,11 +36,6 @@ G_BEGIN_DECLS
 #define GPM_NAME 			_("Power Manager")
 #define GPM_DESCRIPTION 		_("Power Manager for the GNOME desktop")
 
-/* help location */
-#define GPM_HOMEPAGE_URL	 	"http://www.gnome.org/projects/gnome-power-manager/";
-#define GPM_BUGZILLA_URL		"http://bugzilla.gnome.org/buglist.cgi?product=gnome-power-manager";
-#define GPM_FAQ_URL			"http://live.gnome.org/GnomePowerManager/Faq";
-
 /* change general/installed_schema whenever adding or moving keys */
 #define GPM_SETTINGS_SCHEMA				"org.gnome.power-manager"
 #define GSD_SETTINGS_SCHEMA				"org.gnome.settings-daemon.plugins.power"
@@ -72,8 +67,6 @@ G_BEGIN_DECLS
 
 /* general */
 #define GPM_SETTINGS_USE_TIME_POLICY			"use-time-for-policy"
-#define GPM_SETTINGS_USE_PROFILE_TIME			"use-profile-time"
-#define GPM_SETTINGS_NETWORKMANAGER_SLEEP		"network-sleep"
 
 /* lock */
 #define GPM_SETTINGS_LOCK_USE_SCREENSAVER		"lock-use-screensaver"



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