Don't make HildonAppMenu a modal window
authorAlberto Garcia <agarcia@igalia.com>
Wed, 6 May 2009 16:52:22 +0000 (18:52 +0200)
committerAlberto Garcia <agarcia@igalia.com>
Wed, 6 May 2009 16:54:08 +0000 (18:54 +0200)
* hildon/hildon-app-menu.c (hildon_app_menu_init):
Don't make the menu a modal window, it causes strange interactions
with the pointer grab and it's not really needed.

Fixes: NB#105529 (Empty App menu is launched in a scenario.)

ChangeLog
hildon/hildon-app-menu.c

index 26e8e2d..7c932ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-05-06  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_init):
+       Don't make the menu a modal window, it causes strange interactions
+       with the pointer grab and it's not really needed.
+
+       Fixes: NB#105529 (Empty App menu is launched in a scenario.)
+
 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
 
        * hildon/hildon-touch-selector.[ch]
index 5aa56f0..178586a 100644 (file)
@@ -1009,9 +1009,6 @@ hildon_app_menu_init                            (HildonAppMenu *menu)
     gtk_box_pack_start (priv->vbox, alignment, TRUE, TRUE, 0);
     gtk_box_pack_start (priv->vbox, GTK_WIDGET (priv->table), TRUE, TRUE, 0);
 
-    /* Make menu a modal window */
-    gtk_window_set_modal (GTK_WINDOW (menu), TRUE);
-
     /* This should be treated like a normal, ref-counted widget */
     g_object_force_floating (G_OBJECT (menu));
     GTK_WINDOW (menu)->has_user_ref_count = FALSE;