Commit a9f990f5 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Left-align menu labels. (#393255, Michail Crayson)

2007-01-05  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
        menu labels.  (#393255, Michail Crayson)



svn path=/trunk/; revision=17095
parent bbe72383
2007-01-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
menu labels. (#393255, Michail Crayson)
2007-01-05 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
......
......@@ -7014,7 +7014,10 @@ gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
g_return_if_fail (GTK_IS_NOTEBOOK (notebook));
if (menu_text)
menu_label = gtk_label_new (menu_text);
{
menu_label = gtk_label_new (menu_text);
gtk_misc_set_alignment (GTK_MISC (menu_label), 0.0, 0.5);
}
gtk_notebook_set_menu_label (notebook, child, menu_label);
gtk_widget_child_notify (child, "menu-label");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment