summaryrefslogtreecommitdiff
path: root/gtk/gtkoptionmenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-03-29 00:48:28 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-03-29 00:48:28 +0000
commite042bc63dd2f3db2ef6835953da73e7e9d89dd90 (patch)
treef97c2b041985bb3dd78136fd8e32973b39bd3d77 /gtk/gtkoptionmenu.c
parentb9c6a4fd2ab7c9251814779935c1fe3443ad0b32 (diff)
downloadgtk+-e042bc63dd2f3db2ef6835953da73e7e9d89dd90.tar.gz
Set state of labels back to normal before reparenting back. (#102387)
2003-03-29 Matthias Clasen <maclas@gmx.de> * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state of labels back to normal before reparenting back. (#102387)
Diffstat (limited to 'gtk/gtkoptionmenu.c')
-rw-r--r--gtk/gtkoptionmenu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c
index c4e80f7b19..afab0ab130 100644
--- a/gtk/gtkoptionmenu.c
+++ b/gtk/gtkoptionmenu.c
@@ -841,6 +841,7 @@ gtk_option_menu_remove_contents (GtkOptionMenu *option_menu)
if (child)
{
gtk_widget_set_sensitive (child, TRUE);
+ gtk_widget_set_state (child, GTK_STATE_NORMAL);
gtk_widget_reparent (child, option_menu->menu_item);
}