[Xfce4-commits] <xfce4-netload-plugin:master> Adjust the border size to match other plugins

Florian Rivoal noreply at xfce.org
Sat Feb 26 15:16:10 CET 2011


Updating branch refs/heads/master
         to 4d48b67b71494e0b400ebadad41b3162bfbff334 (commit)
       from 88a27c5f843184b464221c44ea7c3062f1481929 (commit)

commit 4d48b67b71494e0b400ebadad41b3162bfbff334
Author: Florian Rivoal <frivoal at xfce.org>
Date:   Sat Feb 26 19:53:40 2011 +0900

    Adjust the border size to match other plugins
    
    Fixes bug #7344.

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

diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c
index b4868c4..c122295 100644
--- a/panel-plugin/netload.c
+++ b/panel-plugin/netload.c
@@ -313,7 +313,7 @@ static void monitor_set_orientation (XfcePanelPlugin *plugin, GtkOrientation ori
                        GTK_WIDGET(global->monitor->label),
                        FALSE, FALSE, 0);
 
-    gtk_container_set_border_width(GTK_CONTAINER(global->monitor->box), 2);
+    gtk_container_set_border_width(GTK_CONTAINER(global->monitor->box), BORDER / 2);
     gtk_widget_show(GTK_WIDGET(global->monitor->box));
 
     for (i = 0; i < SUM; i++)



More information about the Xfce4-commits mailing list