Set the window menu flag for application-common menus
authorClaudio Saavedra <csaavedra@igalia.com>
Wed, 9 Sep 2009 08:22:53 +0000 (11:22 +0300)
committerClaudio Saavedra <csaavedra@igalia.com>
Fri, 11 Sep 2009 13:04:44 +0000 (16:04 +0300)
commit26e0010415f12aaf84a6cdcf993a7345596b3c37
tree59d333be793f7029c65228be6656ac6952af8591
parent5df32cfef33e538e774eda1912d613e2fec0e155
Set the window menu flag for application-common menus

* hildon/hildon-program.c:
(+hildon_program_window_set_common_menu_flag): Set or remove the
menu flag from a window only this doesn't have its own menu.
(+hildon_program_set_common_menu_flag): adjust menu flag for
all windows in the program.
(hildon_program_add_window),
(hildon_program_remove_window): add/remove the menu flag when
a window is added to the program.

Fixes: NB#137814 (Indicator for view menu in app title area)
ChangeLog
hildon/hildon-program.c