Age | Commit message (Collapse) | Author |
|
|
|
* src/
* Makefile.am
* configure.ac
* doc/Makefile.am
* doc/hildon.types
* po/POTFILES.in:
Renamed src/ to hildon/
* examples/*.c
* debian/changelog
* debian/rules:
Include <hildon/hildon.h> directly in all examples.
|
|
* doc/hildon-sections.txt
* src/hildon-stackable-window-private.h
* src/hildon-stackable-window.h
* src/hildon-stackable-window.c
(-hildon_stackable_window_set_app_menu)
(-hildon_stackable_window_get_app_menu)
(-hildon_stackable_window_toggle_menu)
(-hildon_stackable_window_finalize)
(hildon_stackable_window_class_init)
(hildon_stackable_window_init)
* src/hildon-window-private.h
* src/hildon-window.h
* src/hildon-window.c (hildon_window_init)
(hildon_window_destroy, +hildon_window_toggle_gtk_menu)
(+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
(hildon_window_get_main_menu, hildon_window_set_main_menu)
(+hildon_window_set_app_menu, +hildon_window_get_app_menu):
Moved all HildonAppMenu code to HildonWindow. The menu does not
require a HildonStackableWindow anymore.
* src/hildon-app-menu.c
* src/hildon-program.c
* examples/hildon-app-menu-example.c (main):
Update examples and documentation to reflect HildonAppMenu
changes.
|
|
* src/hildon-window.h
* src/hildon-window.c (+hildon_window_get_main_menu)
(hildon_window_get_menu): Created hildon_window_get_main_menu()
and deprecated hildon_window_get_menu().
* src/hildon-stackable-window.h
* src/hildon-stackable-window.c
(+hildon_stackable_window_set_app_menu)
(+hildon_stackable_window_get_app_menu)
(hildon_stackable_window_set_main_menu): Created
hildon_stackable_window_{get,set}_app_menu() and deprecated
hildon_stackable_window_set_main_menu().
* doc/hildon-sections.txt
* examples/hildon-app-menu-example.c (main)
* src/hildon-app-menu.c
* src/hildon-program.c:
Updated examples and documentation.
Fixes: NB#103758 (No way to obtain a menu from a
HildonStackableWindow)
|
|
* src/hildon-app-menu.c (+hildon_app_menu_show_all)
(+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
all menu items, but not the menu itself.
(hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
(hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
items after adding them to the menu so keyboard accelerators work.
(hildon_app_menu_show): Don't show the menu if it contains items
but none of them are visible.
* examples/hildon-app-menu-example.c (create_menu): Use
gtk_widget_show_all() to show all menu items.
|
|
* examples/hildon-app-menu-example.c (create_menu)
Show items after adding them to the menu, as in the future the
menu will no longer call gtk_widget_show() on the added items.
* src/hildon-app-menu.c:
Update example as explained above.
|
|
Based on initial code by Christian Dywan (christian@imendio.com)
* doc/hildon-docs.sgml: Add section for hildon-main.
* examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
* src/Makefile.am: Add new hildon-main.[ch]
* src/hildon-defines.h: Update the icon sizes.
* src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
new library initialization files and register icon sizes.
* src/hildon-main.h: New declarations.
* src/hildon.h: Include hildon-main.h
Add new initialization functions to the library. These methods
will register the hildon specific icon sizes and can be used in the
future for other hildon specific bits.
Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
Fixes: NB#93075 (Update icon size constants to Fremantle)
|
|
* examples/hildon-app-menu-example.c (create_menu): Make all
buttons finger size.
|
|
* examples/hildon-app-menu-example.c: (main): Do not set RC style
properties, not needed at all.
|
|
* debian/control: Added new package libhildon1-examples, in order to pack
the current hildon examples as documentation
* debian/rules: Not to compress .c files, modify some includes on the
examples (as normally are compiled locally, but when installed it will
require to include the installed libhildon1 library), and rename
Makefile.static
* examples/Makefile.am: Added examplesdir and examples_DATA, in order to
install all the example files on the new example package
* examples/Makefile.static: Added static makefile that can be used to
compile the examples, once installed the new example package
* examples: Most of the examples were modified in order to grant that
all use only '#include "hildon.h"', in order to be easy to prepare
it on the example package
|
|
* examples/hildon-app-menu-example.c: Add keyboard accelerator.
|
|
* src/hildon-app-menu.c
* examples/hildon-app-menu-example.c (create_menu): Update
examples and documentation to explain how to connect callbacks.
|
|
|
|
(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.
|
|
examples/hildon-hvolumebar-insensitive-example.c (main): * examples/hildon-hvolumebar-timer-example.c (on_idle): * examples/hildon-toolbar-seekbar-example.c (main): * src/hildon-app-menu.c (hildon_app_menu_add_filter): * src/hildon-banner.c (hildon_banner_set_property): * src/hildon-dialog.c (hildon_dialog_new_with_buttons): Fix compilation warnings
|
|
(hildon_app_menu_init, hildon_app_menu_class_init): Remove multiple filter groups related code and API. Now we support only one filter group. * examples/hildon-app-menu-example.c: (create_menu): Update to reflect API changes.
|
|
check if the release event happened outside the widget.
* src/hildon-app-menu.c
(hildon_app_menu_button_release):
Remove unnecessary check
* examples/hildon-app-menu-example.c
(button_clicked):
Add cast to fix warning
|
|
property. Set all default spacings to 16 (hildon_app_menu_init): Use vertical-spacing to set the space between filter buttons and regular menu buttons. Set the default container border using the inner-border value.
* examples/hildon-app-menu-example.c
(create_menu):
Don't set the menu border explicitly, now we have the inner-border
style property for that.
|
|
examples/hildon-app-menu-example.c Remove hildon_app_menu_popup(), use gtk_widget_show() instead
|
|
examples/hildon-app-menu-example.c * src/Makefile.am * src/hildon-app-menu-private.h * src/hildon-app-menu.c * src/hildon-app-menu.h * src/hildon.h New HildonAppMenu widget
|