gnome-power-manager r3379 - in trunk: . src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3379 - in trunk: . src
- Date: Thu, 26 Mar 2009 10:33:56 +0000 (UTC)
Author: rhughes
Date: Thu Mar 26 10:33:56 2009
New Revision: 3379
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3379&view=rev
Log:
2009-03-26 Richard Hughes <richard hughsie com>
* src/gpm-manager.c: (gpm_conf_gconf_key_changed_cb):
Monitor the backlight blank time GConf value change, and set the
blank idle time when this changes.
Modified:
trunk/ChangeLog
trunk/src/gpm-manager.c
Modified: trunk/src/gpm-manager.c
==============================================================================
--- trunk/src/gpm-manager.c (original)
+++ trunk/src/gpm-manager.c Thu Mar 26 10:33:56 2009
@@ -1057,7 +1057,9 @@
return;
if (strcmp (entry->key, GPM_CONF_TIMEOUT_SLEEP_COMPUTER_BATT) == 0 ||
- strcmp (entry->key, GPM_CONF_TIMEOUT_SLEEP_COMPUTER_AC) == 0)
+ strcmp (entry->key, GPM_CONF_TIMEOUT_SLEEP_COMPUTER_AC) == 0 ||
+ strcmp (entry->key, GPM_CONF_TIMEOUT_SLEEP_DISPLAY_BATT) == 0 ||
+ strcmp (entry->key, GPM_CONF_TIMEOUT_SLEEP_DISPLAY_AC) == 0)
gpm_manager_sync_policy_sleep (manager);
/* set keyboard brightness */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]