[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/08: Change layout of config dialog

noreply at xfce.org noreply at xfce.org
Sat Apr 4 19:26:04 CEST 2020


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

T   o   Z       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-genmon-plugin.

commit 8f9f9bee0fa1ca91bf8283799a4f2006b01847df
Author: ToZ <tony.paulic at gmail.com>
Date:   Sat Apr 4 13:18:38 2020 -0400

    Change layout of config dialog
---
 panel-plugin/config_gui.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index e43cdeb..bd0eb25 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -120,16 +120,17 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
     gtk_widget_set_tooltip_text (wSc_Period, _("Interval between 2 consecutive spawns"));
     gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (wSc_Period), TRUE);
 
-    hseparator10 = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
-    gtk_widget_set_margin_top (GTK_WIDGET (hseparator10), 6);
-    gtk_widget_set_margin_bottom (GTK_WIDGET (hseparator10), 6);
-    gtk_widget_show (hseparator10);
-    gtk_grid_attach (GTK_GRID (table1), hseparator10, 0, 3, 2, 1);
-
     wPB_Font = gtk_button_new_with_label (_("Select the display font..."));
+    gtk_widget_set_margin_top (GTK_WIDGET (wPB_Font), 6);
     gtk_widget_show (wPB_Font);
-    gtk_grid_attach (GTK_GRID (table1), wPB_Font, 0, 4, 2, 1);
+    gtk_grid_attach (GTK_GRID (table1), wPB_Font, 0, 3, 2, 1);
     gtk_widget_set_tooltip_text (wPB_Font, _("Press to change font..."));
+    
+    hseparator10 = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
+    gtk_widget_set_margin_top (GTK_WIDGET (hseparator10), 6);
+    gtk_widget_set_margin_bottom (GTK_WIDGET (hseparator10), 0);
+    gtk_widget_show (hseparator10);
+    gtk_grid_attach (GTK_GRID (table1), hseparator10, 0, 4, 2, 1);
             
     if (p_poGUI) {
         COPYVAL (p_poGUI, wTF_Cmd);

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


More information about the Xfce4-commits mailing list