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:
committed by
Matthias Clasen
parent
bbe7238356
commit
a9f990f519
@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user