[Xfce4-commits] <xfce4-battery-plugin:master> Readd 2px padding so labels are not 'stuck' on the progressbar
Landry Breuil
noreply at xfce.org
Sun May 13 22:00:02 CEST 2012
Updating branch refs/heads/master
to 539a0e314c88cbec3f5e29408ce9da5474b140fb (commit)
from 96d431ce25378cb86f73160298fdd8e4ff414236 (commit)
commit 539a0e314c88cbec3f5e29408ce9da5474b140fb
Author: Landry Breuil <landry at xfce.org>
Date: Sun May 13 21:27:01 2012 +0200
Readd 2px padding so labels are not 'stuck' on the progressbar
panel-plugin/battery.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 9ea6012..5b145bc 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -687,10 +687,10 @@ static void setup_battmon(t_battmon *battmon)
gtk_box_pack_start(GTK_BOX(battmon->ebox), alignment, FALSE, FALSE, 0);
battmon->charge = (GtkLabel *)gtk_label_new("50%%");
- gtk_box_pack_start(GTK_BOX(battmon->timechargebox),GTK_WIDGET(battmon->charge),TRUE, TRUE, 0);
+ gtk_box_pack_start(GTK_BOX(battmon->timechargebox),GTK_WIDGET(battmon->charge),TRUE, TRUE, 2);
battmon->rtime = (GtkLabel *)gtk_label_new("01:00");
- gtk_box_pack_start(GTK_BOX(battmon->timechargebox),GTK_WIDGET(battmon->rtime),TRUE, TRUE, 0);
+ gtk_box_pack_start(GTK_BOX(battmon->timechargebox),GTK_WIDGET(battmon->rtime),TRUE, TRUE, 2);
/* ac-fan-temp */
/* create the label hvbox with an orientation opposite to the panel */
More information about the Xfce4-commits
mailing list