aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-02-01 23:00:03 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-02-01 23:00:03 -0600
commit4b5ec3d0baaf4bb377ad1cb05a88e62408e14a28 (patch)
tree68c814277512c2cc40dbebfaba94baf53fcd8473 /data
parentf9dc8cc28aa8dcffbec8f010d71234119d6d889d (diff)
downloadayatana-indicator-power-4b5ec3d0baaf4bb377ad1cb05a88e62408e14a28.tar.gz
ayatana-indicator-power-4b5ec3d0baaf4bb377ad1cb05a88e62408e14a28.tar.bz2
ayatana-indicator-power-4b5ec3d0baaf4bb377ad1cb05a88e62408e14a28.zip
add support for icon-policy setting
Diffstat (limited to 'data')
-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>