* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_button_press...
authorAlberto Garcia <agarcia@igalia.com>
Mon, 28 Jul 2008 18:43:44 +0000 (18:43 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Mon, 28 Jul 2008 18:43:44 +0000 (18:43 +0000)
commit4f100d4ca49b638b5ebe7b22b1f94797be122ffd
treec817137227d8d6f211190265a67ebbdd4065b71b
parentbf6f7b6e6d88ac0435c35cb36cf29f54fea5efa4
* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_button_press) (hildon_app_menu_button_release, hildon_app_menu_init) (hildon_app_menu_class_init): Don't hide the menu on button release if the user didn't press outside first.

* src/hildon-window.h
* src/hildon-window.c (hildon_window_toggle_menu)
(hildon_window_toggle_menu_real, hildon_window_class_init): Make
hildon_window_toggle_menu a virtual function for the stackable
window to override it.

* src/hildon-stackable-window.h
* src/hildon-stackable-window-private.h
* src/hildon-stackable-window.c
(hildon_stackable_window_realize)
(hildon_stackable_window_finalize)
(hildon_stackable_window_class_init)
(hildon_stackable_window_init)
(hildon_stackable_window_set_main_menu): New function to set the
app menu of a HildonStackableWindow.

* examples/hildon-app-menu-example.c: Remove the button to show
the app menu, now it'll be shown when clicking on the title bar
instead.
ChangeLog
examples/hildon-app-menu-example.c
src/hildon-app-menu-private.h
src/hildon-app-menu.c
src/hildon-stackable-window-private.h
src/hildon-stackable-window.c
src/hildon-stackable-window.h
src/hildon-window.c
src/hildon-window.h