[Xfce4-commits] <xfce4-netload-plugin:master> Use 2px padding around labels

Mike Massonnet noreply at xfce.org
Sun Jul 15 14:46:01 CEST 2012


Updating branch refs/heads/master
         to 005d94bf49ff66fca30c35d1ce8ee79fe63a2788 (commit)
       from f53356bea9f13fe373ca203674f3aa19f5736d53 (commit)

commit 005d94bf49ff66fca30c35d1ce8ee79fe63a2788
Author: Mike Massonnet <mmassonnet at gmail.com>
Date:   Sun Jul 15 10:10:03 2012 +0200

    Use 2px padding around labels

 panel-plugin/netload.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c
index 6fd3f67..20480b0 100644
--- a/panel-plugin/netload.c
+++ b/panel-plugin/netload.c
@@ -466,14 +466,14 @@ static t_global_monitor * monitor_new(XfcePanelPlugin *plugin)
     global->monitor->label = gtk_label_new(global->monitor->options.label_text);
     gtk_box_pack_start(GTK_BOX(global->box),
                        GTK_WIDGET(global->monitor->label),
-                       TRUE, FALSE, BORDER / 2);
+                       TRUE, FALSE, 2);
 
     /* Create sent and received labels */
     global->monitor->rcv_label = gtk_label_new("-");
     global->monitor->sent_label = gtk_label_new("-");
     gtk_box_pack_start(GTK_BOX(global->box),
                        GTK_WIDGET(global->monitor->rcv_label),
-                       TRUE, FALSE, BORDER / 2);
+                       TRUE, FALSE, 2);
 
     /* Create the progress bars */
     for (i = 0; i < SUM; i++)
@@ -486,7 +486,7 @@ static t_global_monitor * monitor_new(XfcePanelPlugin *plugin)
     /* Append sent label after the progress bars */
     gtk_box_pack_start(GTK_BOX(global->box),
                        GTK_WIDGET(global->monitor->sent_label),
-                       TRUE, FALSE, BORDER / 2);
+                       TRUE, FALSE, 2);
 
     gtk_container_add(GTK_CONTAINER(global->ebox), GTK_WIDGET(global->box));
 


More information about the Xfce4-commits mailing list