diff --git a/ChangeLog b/ChangeLog index 6a7077ce41..d27bd99f06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Fri Aug 5 16:54:19 2005 Søren Sandmann + + * 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 * configure.in: Re-added "te" to ALL_LINGUAS after diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 6a7077ce41..d27bd99f06 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Fri Aug 5 16:54:19 2005 Søren Sandmann + + * 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 * configure.in: Re-added "te" to ALL_LINGUAS after diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 6a7077ce41..d27bd99f06 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Fri Aug 5 16:54:19 2005 Søren Sandmann + + * 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 * configure.in: Re-added "te" to ALL_LINGUAS after diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index dbc099d5bf..713aa3f884 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -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);