Set a special window property for windows with menus
authorClaudio Saavedra <csaavedra@igalia.com>
Tue, 8 Sep 2009 15:42:30 +0000 (18:42 +0300)
committerClaudio Saavedra <csaavedra@igalia.com>
Fri, 11 Sep 2009 13:04:43 +0000 (16:04 +0300)
* hildon/hildon-window-private.h: Add private
hildon_window_set_menu_flag()
* hildon/hildon-window.c: (+do_set_has_menu),
(+hildon_window_set_menu_flag): set
"_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
or remove the property.
(hildon_window_set_main_menu),
(hildon_window_set_app_menu): call above methods to set or remove
the property when a menu is added or removed from the window.

Partially fixes: NB#137814 (Indicator for view menu in app title area)


No differences found