[gnome-power-manager] Fix a trivial problem with the last commit
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-power-manager] Fix a trivial problem with the last commit
- Date: Wed, 22 Jul 2009 15:30:56 +0000 (UTC)
commit 16d6a947af81a86a225602dc17c8f31e98b55ab6
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jul 22 16:29:50 2009 +0100
    Fix a trivial problem with the last commit
 src/gpm-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gpm-manager.c b/src/gpm-manager.c
index 207184e..483d63f 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -1574,6 +1574,7 @@ gpm_engine_charge_action_cb (GpmEngine *engine, DkpDevice *device, GpmManager *m
 
 		/* we have to do different warnings depending on the policy */
 		action = gconf_client_get_string (manager->priv->conf, GPM_CONF_ACTIONS_CRITICAL_UPS, NULL);
+		policy = gpm_action_policy_from_string (action);
 
 		/* use different text for different actions */
 		if (policy == GPM_ACTION_POLICY_NOTHING) {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]