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>
Thu, 10 Sep 2009 09:07:33 +0000 (12:07 +0300)
commit91743622e7af8c81dafb8ef0fff5c5dfba6a8a6e
tree96f30438c4036eb73ede98236cc5d31a6e225c30
parentcf23ecfc278e221a5737ada5fd178ce70822293b
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