summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2015-06-05 10:21:56 +0200
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2015-06-05 10:21:56 +0200
commit441882e4af1cce692352697c4cef4fc9ed42f30b (patch)
tree395fae67f8184793840a9910752398724b2d10bb /common
parentfad62e2ae968eb1dde59fd43d615d4547872ea63 (diff)
downloadixfce4-power-manager-441882e4af1cce692352697c4cef4fc9ed42f30b.tar.gz
Hidden option to show percentage/remaining time in panel plugin (Bug #4499)
The property /xfce4-power-manager/show-panel-label has to be added to the channel xfce4-power-manager as INT. Then you can set the value from 0 to 3, where 0: hides the label 1: shows the percentage 2: shows the remaining time and 3: shows time and percentage. The format is not configurable for now and the label is hidden when UPower reports the status of the display device as "fully charged".
Diffstat (limited to 'common')
-rw-r--r--common/xfpm-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/xfpm-config.h b/common/xfpm-config.h
index 1a191942..1202cb58 100644
--- a/common/xfpm-config.h
+++ b/common/xfpm-config.h
@@ -76,6 +76,7 @@ G_BEGIN_DECLS
#define BRIGHTNESS_SWITCH_SAVE "brightness-switch-restore-on-exit"
#define HANDLE_BRIGHTNESS_KEYS "handle-brightness-keys"
#define SHOW_BRIGHTNESS_POPUP "show-brightness-popup"
+#define SHOW_PANEL_LABEL "show-panel-label"
G_END_DECLS