[Xfce4-commits] [xfce/xfce4-settings] 17/22: mimetype: Apply standard spacing to dialog

noreply at xfce.org noreply at xfce.org
Tue Sep 4 02:31:08 CEST 2018


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

b   l   u   e   s   a   b   r   e       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 xfce/xfce4-settings.

commit 1e54b34056fba61bcb153f3383a0e07821362d2f
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Sep 1 13:57:28 2018 -0400

    mimetype: Apply standard spacing to dialog
---
 dialogs/mime-settings/xfce-mime-window.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/dialogs/mime-settings/xfce-mime-window.c b/dialogs/mime-settings/xfce-mime-window.c
index 3d4202f..05e269a 100644
--- a/dialogs/mime-settings/xfce-mime-window.c
+++ b/dialogs/mime-settings/xfce-mime-window.c
@@ -178,15 +178,14 @@ xfce_mime_window_init (XfceMimeWindow *window)
         xfconf_channel_get_int (window->channel, "/last/window-height", 400));
 
     window->plug_child = vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+    gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
+    gtk_box_set_spacing (GTK_BOX (vbox), 6);
+
     area = gtk_dialog_get_content_area (GTK_DIALOG (window));
     gtk_box_pack_start (GTK_BOX (area), vbox, TRUE, TRUE, 0);
     gtk_widget_show (vbox);
 
     hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
-    gtk_widget_set_margin_top (GTK_WIDGET(hbox), 4);
-    gtk_widget_set_margin_bottom (GTK_WIDGET(hbox), 0);
-    gtk_widget_set_margin_start (GTK_WIDGET(hbox), 6);
-    gtk_widget_set_margin_end (GTK_WIDGET(hbox), 6);
     gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
     gtk_widget_show (hbox);
 
@@ -211,7 +210,6 @@ xfce_mime_window_init (XfceMimeWindow *window)
                                     GTK_POLICY_ALWAYS);
     gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroll), GTK_SHADOW_ETCHED_IN);
     gtk_box_pack_start (GTK_BOX (vbox), scroll, TRUE, TRUE, 0);
-    gtk_container_set_border_width (GTK_CONTAINER (scroll), 6);
     gtk_widget_show (scroll);
 
     window->statusbar = statusbar = gtk_statusbar_new ();
@@ -222,8 +220,8 @@ xfce_mime_window_init (XfceMimeWindow *window)
     xfce_mime_window_statusbar_count (window, n_mime_types);
 
     gtk_widget_set_margin_top (statusbar, 0);
-    gtk_widget_set_margin_bottom (statusbar, 6);
-    gtk_widget_set_margin_start (statusbar, 2);
+    gtk_widget_set_margin_bottom (statusbar, 0);
+    gtk_widget_set_margin_start (statusbar, 0);
 
     gtk_widget_show (statusbar);
 

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


More information about the Xfce4-commits mailing list