* src/hildon-app-menu.c (hildon_app_menu_map)
(hildon_app_menu_unmap): Make the menu temporary when it's mapped,
so it's closed if a new window appears.
Fixes: NB#104485 (Not able to address the call when application
menu is opened at background)
+2009-03-05 Alberto Garcia <agarcia@igalia.com>
+
+ * src/hildon-app-menu.c (hildon_app_menu_map)
+ (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
+ so it's closed if a new window appears.
+
+ Fixes: NB#104485 (Not able to address the call when application
+ menu is opened at background)
+
2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-color-button.c (hildon_color_button_get_property):Add
}
}
+ /* Make the menu temporary when it's mapped, so it's closed if a
+ * new window appears */
+ gtk_window_set_is_temporary (GTK_WINDOW (widget), TRUE);
+
gdk_threads_add_idle (hildon_app_menu_find_intruder, widget);
}
}
GTK_WIDGET_CLASS (hildon_app_menu_parent_class)->unmap (widget);
+
+ gtk_window_set_is_temporary (GTK_WINDOW (widget), FALSE);
}
static void