From 3c2e7c88bd24441d87a52e702e2e1e985f9abcef Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 22 Aug 2013 18:36:37 -0500 Subject: add schema changes from hloeung's branch --- data/com.canonical.indicator.power.gschema.xml.in | 5 +++++ src/service.c | 1 + 2 files changed, 6 insertions(+) diff --git a/data/com.canonical.indicator.power.gschema.xml.in b/data/com.canonical.indicator.power.gschema.xml.in index 3fb065f..4fd2620 100644 --- a/data/com.canonical.indicator.power.gschema.xml.in +++ b/data/com.canonical.indicator.power.gschema.xml.in @@ -10,6 +10,11 @@ <_summary>Show time in Menu Bar <_description>Whether or not to show the time in the menu bar. + + false + <_summary>Show percentage in Menu Bar + <_description>Whether or not to show the percentage in the menu bar. + "present" <_summary>When to show the battery status in the menu bar. diff --git a/src/service.c b/src/service.c index b59bce3..4aaca3f 100644 --- a/src/service.c +++ b/src/service.c @@ -33,6 +33,7 @@ #define SETTINGS_SHOW_TIME_S "show-time" #define SETTINGS_ICON_POLICY_S "icon-policy" +#define SETTINGS_SHOW_PERCENTAGE_S "show-percentage" G_DEFINE_TYPE (IndicatorPowerService, indicator_power_service, -- cgit v1.2.3