Updating branch refs/heads/master
to 5a539e797d3d1070d66562fdf1bf4c70ae2018f3 (commit)
from 736e1f5317ba753dc07d9d74757bdd8e387d8116 (commit)
commit 5a539e797d3d1070d66562fdf1bf4c70ae2018f3
Author: Landry Breuil <[email protected]>
Date: Wed Apr 18 12:09:36 2012 +0200
display_percentage defaults to TRUE
make it consistent if it's not present in config file
panel-plugin/battery.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 9cd1f8e..6f63f22 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -964,7 +964,7 @@ battmon_read_config(XfcePanelPlugin *plugin, t_battmon
*battmon)
battmon->options.display_power = xfce_rc_read_bool_entry (rc,
"display_power", FALSE);
- battmon->options.display_percentage = xfce_rc_read_bool_entry (rc,
"display_percentage", FALSE);
+ battmon->options.display_percentage = xfce_rc_read_bool_entry (rc,
"display_percentage", TRUE);
battmon->options.display_bar = xfce_rc_read_bool_entry (rc, "display_bar",
TRUE);
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits