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
This commit is contained in:
Matthias Clasen 2007-01-06 03:02:31 +00:00 committed by Matthias Clasen
parent bbe7238356
commit a9f990f519
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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");
}