From 54db71bf9767afda7ce277c5f97d14ebb9a6b5a3 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Wed, 6 May 2009 18:52:22 +0200 Subject: [PATCH] Don't make HildonAppMenu a modal window * 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 | 8 ++++++++ hildon/hildon-app-menu.c | 3 --- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 26e8e2d..7c932ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-05-06 Alberto Garcia + + * 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 * hildon/hildon-touch-selector.[ch] diff --git a/hildon/hildon-app-menu.c b/hildon/hildon-app-menu.c index 5aa56f0..178586a 100644 --- a/hildon/hildon-app-menu.c +++ b/hildon/hildon-app-menu.c @@ -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; -- 1.7.9.5