From: Matthias Clasen Date: Fri, 13 Jun 2008 03:21:09 +0000 (+0000) Subject: Improve appearance of "both vertical" mode toolbuttons. Patch by Peter X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=1dc476954fc2731a418dcaeb650a749c2b595794;p=~andy%2Fgtk Improve appearance of "both vertical" mode toolbuttons. Patch by Peter * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Improve appearance of "both vertical" mode toolbuttons. Patch by Peter Johanson svn path=/trunk/; revision=20365 --- diff --git a/ChangeLog b/ChangeLog index 1ac68d87a..56f6e8462 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-06-12 Matthias Clasen + + Bug 524222 – GtkToolbar with mix of buttons with and without + icons looks "bad" + + * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): + Improve appearance of "both vertical" mode toolbuttons. + Patch by Peter Johanson + 2008-06-12 Matthias Clasen Bug 519092 – Add accessibility support to GtkVolumeButton diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c index a38da3ab3..21d601188 100644 --- a/gtk/gtktoolbutton.c +++ b/gtk/gtktoolbutton.c @@ -433,7 +433,7 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item) box = gtk_vbox_new (FALSE, icon_spacing); if (icon) gtk_box_pack_start (GTK_BOX (box), icon, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE, 0); + gtk_box_pack_end (GTK_BOX (box), label, FALSE, TRUE, 0); gtk_container_add (GTK_CONTAINER (button->priv->button), box); break;