Commit 3fed5132 authored by Paolo Borelli's avatar Paolo Borelli Committed by Paolo Borelli

deactivate the menu before setiing it to something else. Bug #153887.

2004-10-01  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
	to something else. Bug #153887.
parent a1fc9545
2004-10-01 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
to something else. Bug #153887.
2004-10-01 Matthias Clasen <mclasen@redhat.com>
Fix bug #150790:
......
2004-10-01 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
to something else. Bug #153887.
2004-10-01 Matthias Clasen <mclasen@redhat.com>
Fix bug #150790:
......
2004-10-01 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
to something else. Bug #153887.
2004-10-01 Matthias Clasen <mclasen@redhat.com>
Fix bug #150790:
......
2004-10-01 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
to something else. Bug #153887.
2004-10-01 Matthias Clasen <mclasen@redhat.com>
Fix bug #150790:
......
......@@ -537,6 +537,9 @@ gtk_menu_tool_button_set_menu (GtkMenuToolButton *button,
if (priv->menu != GTK_MENU (menu))
{
if (priv->menu && GTK_WIDGET_VISIBLE (priv->menu))
gtk_menu_shell_deactivate (GTK_MENU_SHELL (priv->menu));
if (priv->menu)
g_object_unref (priv->menu);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment