summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-09-24 11:54:58 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-10-15 19:22:40 +0200
commitc3686838eabc0a67550f17150caea2b1466c8b39 (patch)
treeaf87173936ff8ed72cbf89fc3e3d3d2509871c28
parent9cc3e63045af9ea2909272d3947304863b6088de (diff)
downloadgtk+-c3686838eabc0a67550f17150caea2b1466c8b39.tar.gz
gtkplacesview: align spinner with header label
Use the box margin top instead of the label margin top, so the spinner remains aligned with the header label. https://bugzilla.gnome.org/show_bug.cgi?id=756568
-rw-r--r--gtk/gtkplacesview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 7f5f8a129a..7c70e98085 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -1969,12 +1969,12 @@ listbox_header_func (GtkListBoxRow *row,
GtkWidget *separator;
header = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
+ gtk_widget_set_margin_top (header, 6);
separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
label = g_object_new (GTK_TYPE_LABEL,
"use_markup", TRUE,
- "margin-top", 6,
"margin-start", 12,
"label", text,
"xalign", 0.0f,