aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-08-23 14:45:19 +0000
committerTarmac <Unknown>2013-08-23 14:45:19 +0000
commite079d4b70552a9cc5a44d6c8df2153cbcec1de78 (patch)
tree111bdde3ef9696551ff3375bebe2c9a7802746fd /data
parentf22849a5db346c806bbac042a5c3bb1be9bb68ea (diff)
parentad28ae2fdfa5e803031dc5d41a83f033c924f4e9 (diff)
downloadayatana-indicator-power-e079d4b70552a9cc5a44d6c8df2153cbcec1de78.tar.gz
ayatana-indicator-power-e079d4b70552a9cc5a44d6c8df2153cbcec1de78.tar.bz2
ayatana-indicator-power-e079d4b70552a9cc5a44d6c8df2153cbcec1de78.zip
Updates the power indicator to match the spec changes at <https://wiki.ubuntu.com/Power?action=diff&rev2=37&rev1=36>.
This patch is based from hloeung's nice patch, fixes a few edge cases, adds unit tests for labels, headers, & accessible text for all combinations of show time & show percentage, and cleans up the bindings between GSettings and the checkbox actions. . Fixes: https://bugs.launchpad.net/bugs/811777. Approved by Ted Gould, PS Jenkins bot.
Diffstat (limited to 'data')
-rw-r--r--data/com.canonical.indicator.power.gschema.xml.in5
1 files changed, 5 insertions, 0 deletions
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</_summary>
<_description>Whether or not to show the time in the menu bar.</_description>
</key>
+ <key name="show-percentage" type="b">
+ <default>false</default>
+ <_summary>Show percentage in Menu Bar</_summary>
+ <_description>Whether or not to show the percentage 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>