aboutsummaryrefslogtreecommitdiff
path: root/data/com.canonical.indicator.power.gschema.xml
diff options
context:
space:
mode:
Diffstat (limited to 'data/com.canonical.indicator.power.gschema.xml')
-rw-r--r--data/com.canonical.indicator.power.gschema.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/com.canonical.indicator.power.gschema.xml b/data/com.canonical.indicator.power.gschema.xml
index 1a51f69..4d3f48f 100644
--- a/data/com.canonical.indicator.power.gschema.xml
+++ b/data/com.canonical.indicator.power.gschema.xml
@@ -1,10 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
+ <enum id="icon-policy-enum">
+ <value value="0" nick="present"/>
+ <value value="1" nick="charge"/>
+ <value value="2" nick="never"/>
+ </enum>
<schema path="/com/canonical/indicator/power/" id="com.canonical.indicator.power" gettext-domain="@GETTEXT_PACKAGE@">
<key type="b" name="show-time">
<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 name="icon-policy" enum="icon-policy-enum">
+ <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> \ No newline at end of file