[gtk+] GtkPathBar: Don't hardcode spacing in buttons



commit f72bcc5c01b202fc57c973b472d54cce4fdd6ea6
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 13 09:31:34 2014 -0400

    GtkPathBar: Don't hardcode spacing in buttons
    
    The theme will be changed to provide padding.

 gtk/gtkpathbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 1a1c2b2..251f34f 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1630,7 +1630,7 @@ make_directory_button (GtkPathBar  *path_bar,
     case DESKTOP_BUTTON:
       button_data->image = gtk_image_new ();
       button_data->label = gtk_label_new (NULL);
-      child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
+      child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
       gtk_box_pack_start (GTK_BOX (child), button_data->image, FALSE, FALSE, 0);
       gtk_box_pack_start (GTK_BOX (child), button_data->label, FALSE, FALSE, 0);
       break;


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