aboutsummaryrefslogtreecommitdiff
path: root/data/com.canonical.indicator.power.gschema.xml.in
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-02-13 16:41:52 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-02-13 16:41:52 -0600
commit16fb53f3e4af8d01bce049ec9f932c2ef1978b4c (patch)
treef0737aa45ab58a781a6640d6f8fecde333b05a51 /data/com.canonical.indicator.power.gschema.xml.in
parentc8ccec624f8ea5927217557b07c0258ceb94a77c (diff)
parentaee1300b7e026c7724859c019599ea3739721c78 (diff)
downloadayatana-indicator-power-16fb53f3e4af8d01bce049ec9f932c2ef1978b4c.tar.gz
ayatana-indicator-power-16fb53f3e4af8d01bce049ec9f932c2ef1978b4c.tar.bz2
ayatana-indicator-power-16fb53f3e4af8d01bce049ec9f932c2ef1978b4c.zip
add icon-policy from branch lp:~charlesk/indicator-power/icon-policy
Diffstat (limited to 'data/com.canonical.indicator.power.gschema.xml.in')
-rw-r--r--data/com.canonical.indicator.power.gschema.xml.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/com.canonical.indicator.power.gschema.xml.in b/data/com.canonical.indicator.power.gschema.xml.in
index bf4368f..3fb065f 100644
--- a/data/com.canonical.indicator.power.gschema.xml.in
+++ b/data/com.canonical.indicator.power.gschema.xml.in
@@ -1,9 +1,19 @@
<schemalist>
+ <enum id="icon-policy-enum">
+ <value nick="present" value="0" />
+ <value nick="charge" value="1" />
+ <value nick="never" value="2" />
+ </enum>
<schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.indicator.power" path="/com/canonical/indicator/power/">
<key name="show-time" type="b">
<default>false</default>
<_summary>Show time in Menu Bar</_summary>
- <_description>Whether show the time in the menu bar.</_description>
+ <_description>Whether or not to show the time in the menu bar.</_description>
+ </key>
+ <key enum="icon-policy-enum" name="icon-policy">
+ <default>"present"</default>
+ <_summary>When to show the battery status in the menu bar.</_summary>
+ <_description>Options for when to show battery status. Valid options are "present", "charge", and "never".</_description>
</key>
</schema>
</schemalist>