aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);