[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/01: Add padding to configuration dialog and remove extra padding from panel plugin

noreply at xfce.org noreply at xfce.org
Thu Jun 9 01:35:50 CEST 2016


This is an automated email from the git hooks/post-receive script.

ToZ pushed a commit to branch master
in repository panel-plugins/xfce4-genmon-plugin.

commit cad95a11d67008139107937d727a1ef634c46440
Author: ToZ <tony.paulic at gmail.com>
Date:   Wed Jun 8 19:35:32 2016 -0400

    Add padding to configuration dialog and remove extra padding from panel plugin
---
 panel-plugin/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 216e917..216d560 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -297,7 +297,7 @@ static genmon_t *genmon_create_control (XfcePanelPlugin *plugin)
     poMonitor->wBox = gtk_box_new (orientation, 0);
     gtk_widget_show (poMonitor->wBox);
     gtk_container_set_border_width (GTK_CONTAINER
-        (poMonitor->wBox), BORDER);
+        (poMonitor->wBox), 0);
     gtk_container_add (GTK_CONTAINER (poMonitor->wEventBox),
         poMonitor->wBox);
 
@@ -689,8 +689,8 @@ static void genmon_create_options (XfcePanelPlugin *plugin,
 
     xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG (dlg), _("Generic Monitor"));
 
-    vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, BORDER);
-    gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER - 2);
+    vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, BORDER + 6);
+    gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER + 4);
     gtk_widget_show(vbox);
     gtk_box_pack_start(GTK_BOX (gtk_dialog_get_content_area(GTK_DIALOG(dlg))), vbox, 
         TRUE, TRUE, 0);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list