aboutsummaryrefslogtreecommitdiff
path: root/data/com.canonical.indicator.power.gschema.xml
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-14 16:26:21 -0600
committerTed Gould <ted@gould.cx>2012-02-14 16:26:21 -0600
commit527b493f6ea1272a51d6aed7798f1592f7dfdbb7 (patch)
tree1e2972e53bb5ac7fe1ff90861f6030e9383b529e /data/com.canonical.indicator.power.gschema.xml
parent1566633e5f966baf818d413c2166f4815780eedb (diff)
parent55cbd83e46951e9ddb0c38e5403470d775297116 (diff)
downloadayatana-indicator-power-527b493f6ea1272a51d6aed7798f1592f7dfdbb7.tar.gz
ayatana-indicator-power-527b493f6ea1272a51d6aed7798f1592f7dfdbb7.tar.bz2
ayatana-indicator-power-527b493f6ea1272a51d6aed7798f1592f7dfdbb7.zip
* New upstream release.
* Support for hiding of icon and settings for it as well * Adding a name hint
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