[gtk+] GtkModelMenuItem: put some space between icon and label



commit 6bf9d130419a446cd716e5bc1f4a214c489e3475
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Nov 29 00:01:49 2014 -0500

    GtkModelMenuItem: put some space between icon and label
    
    This makes the bloatpad icons menu look slightly less odd.

 gtk/gtkmodelmenuitem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmodelmenuitem.c b/gtk/gtkmodelmenuitem.c
index d27248b..dff3503 100644
--- a/gtk/gtkmodelmenuitem.c
+++ b/gtk/gtkmodelmenuitem.c
@@ -174,7 +174,7 @@ gtk_model_menu_item_set_icon (GtkModelMenuItem *item,
       if (icon == NULL)
         return;
 
-      box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+      box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
 
       /* Reparent the child without destroying it */
       g_object_ref (child);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]