aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-power.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-02-13 14:15:28 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-02-13 14:15:28 -0600
commitcb4bd9d9338e07504365491c1b45bf7918fdc8bc (patch)
tree0e4788251dc6588a28654753d639e80a2cf817de /src/indicator-power.c
parentf7d828a76741af2dd2652bff7d17e5b9d6764ced (diff)
downloadayatana-indicator-power-cb4bd9d9338e07504365491c1b45bf7918fdc8bc.tar.gz
ayatana-indicator-power-cb4bd9d9338e07504365491c1b45bf7918fdc8bc.tar.bz2
ayatana-indicator-power-cb4bd9d9338e07504365491c1b45bf7918fdc8bc.zip
consistent use of ICON_POLICY_KEY
Diffstat (limited to 'src/indicator-power.c')
-rw-r--r--src/indicator-power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index d000365..90db2f9 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -1019,7 +1019,7 @@ should_be_visible (IndicatorPower * self)
{
gboolean visible = TRUE;
- const int icon_policy = g_settings_get_enum (self->settings, "icon-policy");
+ const int icon_policy = g_settings_get_enum (self->settings, ICON_POLICY_KEY);
g_debug ("icon_policy is: %d (present==0, charge==1, never==2)", icon_policy);