Set the relief of the arrow button to the value returned by

Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtkmenutoolbutton.c
	(gtk_menu_tool_button_construct_contents): Set the relief of the
	arrow button to the value returned by
	gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
This commit is contained in:
Søren Sandmann 2005-08-05 20:55:48 +00:00 committed by Søren Sandmann Pedersen
parent df3c8a79b9
commit 87e4eb6b0a
4 changed files with 24 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Fri Aug 5 16:54:19 2005 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkmenutoolbutton.c
(gtk_menu_tool_button_construct_contents): Set the relief of the
arrow button to the value returned by
gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
2005-08-04 Sunil Mohan Adapa <sunil@atc.tcs.co.in>
* configure.in: Re-added "te" to ALL_LINGUAS after

View File

@ -1,3 +1,10 @@
Fri Aug 5 16:54:19 2005 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkmenutoolbutton.c
(gtk_menu_tool_button_construct_contents): Set the relief of the
arrow button to the value returned by
gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
2005-08-04 Sunil Mohan Adapa <sunil@atc.tcs.co.in>
* configure.in: Re-added "te" to ALL_LINGUAS after

View File

@ -1,3 +1,10 @@
Fri Aug 5 16:54:19 2005 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkmenutoolbutton.c
(gtk_menu_tool_button_construct_contents): Set the relief of the
arrow button to the value returned by
gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
2005-08-04 Sunil Mohan Adapa <sunil@atc.tcs.co.in>
* configure.in: Re-added "te" to ALL_LINGUAS after

View File

@ -162,6 +162,9 @@ gtk_menu_tool_button_construct_contents (GtkMenuToolButton *button)
gtk_container_add (GTK_CONTAINER (button), priv->box);
gtk_widget_show_all (priv->box);
gtk_button_set_relief (GTK_BUTTON (priv->arrow_button),
gtk_tool_item_get_relief_style (GTK_TOOL_ITEM (button)));
gtk_widget_queue_resize (GTK_WIDGET (button));
}
@ -420,7 +423,6 @@ gtk_menu_tool_button_init (GtkMenuToolButton *button)
arrow_button = gtk_toggle_button_new ();
arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
gtk_button_set_relief (GTK_BUTTON (arrow_button), GTK_RELIEF_NONE);
gtk_container_add (GTK_CONTAINER (arrow_button), arrow);
gtk_box_pack_end (GTK_BOX (box), arrow_button,
FALSE, FALSE, 0);