mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
bbe7238356
commit
a9f990f519
@ -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
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user