[Xfce4-commits] <xfce4-battery-plugin:master> display_percentage defaults to TRUE
Landry Breuil
noreply at xfce.org
Wed Apr 18 12:22:03 CEST 2012
Updating branch refs/heads/master
to 5a539e797d3d1070d66562fdf1bf4c70ae2018f3 (commit)
from 736e1f5317ba753dc07d9d74757bdd8e387d8116 (commit)
commit 5a539e797d3d1070d66562fdf1bf4c70ae2018f3
Author: Landry Breuil <landry at xfce.org>
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);
More information about the Xfce4-commits
mailing list