Call gtk_widget_hide(menu) when reattaching the menu. (#126057)

Wed Nov 19 02:18:37 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
	gtk_widget_hide(menu) when reattaching the menu.  (#126057)
This commit is contained in:
Matthias Clasen 2003-11-19 01:21:46 +00:00 committed by Matthias Clasen
parent ed77f62512
commit 80bb353808
6 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Nov 19 02:18:37 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
gtk_widget_hide(menu) when reattaching the menu. (#126057)
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):

View File

@ -1,3 +1,8 @@
Wed Nov 19 02:18:37 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
gtk_widget_hide(menu) when reattaching the menu. (#126057)
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):

View File

@ -1,3 +1,8 @@
Wed Nov 19 02:18:37 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
gtk_widget_hide(menu) when reattaching the menu. (#126057)
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):

View File

@ -1,3 +1,8 @@
Wed Nov 19 02:18:37 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
gtk_widget_hide(menu) when reattaching the menu. (#126057)
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):

View File

@ -1,3 +1,8 @@
Wed Nov 19 02:18:37 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
gtk_widget_hide(menu) when reattaching the menu. (#126057)
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):

View File

@ -1673,6 +1673,7 @@ gtk_menu_set_tearoff_state (GtkMenu *menu,
}
else
{
gtk_widget_hide (menu);
gtk_widget_hide (menu->tearoff_window);
gtk_menu_reparent (menu, menu->toplevel, FALSE);
gtk_widget_destroy (menu->tearoff_window);