Don't close HildonAppMenu if there's an animation actor below it
authorAlberto Garcia <agarcia@igalia.com>
Thu, 28 May 2009 09:27:18 +0000 (11:27 +0200)
committerAlberto Garcia <agarcia@igalia.com>
Thu, 28 May 2009 09:28:31 +0000 (11:28 +0200)
* hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
Don't close the menu if there's an animation actor below it.

Fixes: NB#117927 (Application menu not usable with animation
actors)

ChangeLog
hildon/hildon-app-menu.c

index 50724d5..2046825 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-05-28  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
+       Don't close the menu if there's an animation actor below it.
+
+       Fixes: NB#117927 (Application menu not usable with animation
+       actors)
+
 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
 
        * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
index 06dee92..f1df859 100644 (file)
 #include                                        "hildon-app-menu-private.h"
 #include                                        "hildon-window.h"
 #include                                        "hildon-banner.h"
+#include                                        "hildon-animation-actor.h"
 
 static GdkWindow *
 grab_transfer_window_get                        (GtkWidget *widget);
@@ -496,7 +497,7 @@ hildon_app_menu_find_intruder                   (gpointer data)
                      * Yes, this is a hack. See NB#111027 */
                     if (HILDON_IS_BANNER (i->data)) {
                         gtk_widget_hide (i->data);
-                    } else {
+                    } else if (!HILDON_IS_ANIMATION_ACTOR (i->data)) {
                         intruder_found = TRUE;
                     }
                 }