Age | Commit message (Collapse) | Author |
|
|
|
|
|
The newly added hildon stock items don't have a corresponding icon, so
they shouldn't be added to the touchselector in these examples.
|
|
|
|
|
|
This will allow GtkIconView users to plug a HildonLiveSearch together
with it. Also, add a new example of this.
|
|
To hildon_gtk_take_screenshot_sync(), for sake of simplicity. Also,
added to the docs.
|
|
Enhance the horrible take screenshot interface to block the client until
it's complete. The test program may not build out of the box. Requires
modified hildon-desktop from http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/commits/screenshot.
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
|
|
|
|
This matches better the terminology in GtkTreeModelFilter.
Also, slightly improve the documentation.
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
|
|
|
|
This reverts commit 6f8d33bee251c0d75f65599757efabf02682e6ff.
We don't want squashed commits. Changes from the live-search will
be rebased on top of master instead.
|
|
Fixes: NB#142952 (Search support for lists)
|
|
|
|
|
|
|
|
|
|
* doc/hildon-sections.txt: Add hildon_banner_show_custom_widget()
* examples/hildon-banner-example.c: (area_expose),
(custom_widget_new), (on_progress_idle): New example showing a custom widget.
* hildon/hildon-banner.c:
* hildon/hildon-banner.h: Add hildon_banner_show_custom_widget().
Fixes: NB#140140 (Allow custom widgets to be used in banners)
|
|
* examples/hildon-banner-example.c:
(on_information_clicked), (on_animation_clicked),
(on_progress_clicked): GtkButton:clicked handlers do not return
gboolean. Fix this.
|
|
This change reverts 2911cf0dc0242c87a95d2577d54c898ce060873f
|
|
* hildon/hildon-check-button.h
* hildon/hildon-check-button.c
(hildon_check_button_clicked, hildon_check_button_class_init):
Make HildonCheckButton derive from GtkToggleButton
(hildon_check_button_toggled, hildon_check_button_set_active)
(hildon_check_button_get_active):
Deprecate unnecessary HildonCheckButton API and use the
one from GtkToggleButton instead.
* hildon/hildon-set-password-dialog.c (create_contents)
(hildon_set_password_response_change, hildon_checkbox_toggled)
* examples/hildon-check-button-example.c (button_toggled_cb):
Update to use the GtkToggleButton API
Fixes: MB#4739 (HildonCheckButton should inherit from
GtkToggleButton)
Fixes: NB#132661 (HildonCheckButton should inherit from
GtkToggleButton)
|
|
* examples/hildon-hvolumebar-timer-example.c
(on_idle, main)
* hildon/hildon-banner.c
(hildon_banner_timeout, hildon_banner_ensure_timeout)
* hildon/hildon-calendar.c
(calendar_timer, start_spinning)
* hildon/hildon-color-chooser.c
(inline_limited_expose)
* hildon/hildon-date-editor.c
(hildon_date_editor_entry_focus_in)
(hildon_date_editor_entry_validate)
(hildon_date_editor_entry_select_all)
* hildon/hildon-note.c
(on_show_cb)
* hildon/hildon-number-editor.c
(hildon_number_editor_button_pressed)
(hildon_number_editor_start_timer, do_mouse_timeout),
(add_select_all_idle, hildon_number_editor_select_all)
* hildon/hildon-time-editor.c
(hildon_time_editor_entry_focus_in)
(highlight_callback, hildon_time_editor_validate)
(hildon_time_editor_entry_select_all)
* hildon/hildon-time-picker.c
(hildon_time_picker_arrow_press)
(hildon_time_picker_key_repeat_timeout)
* hildon/hildon-window.c
(hildon_window_key_press_event)
(hildon_window_escape_timeout):
Replace all calls to g_idle_add/g_timeout_add with their
gdk_threads counterparts.
Fixes: NB#126198 (gdk-threads API should be used to install idle
and timeout handlers)
|
|
* hildon/hildon-text-view.c
* hildon/hildon-entry.c:
Remove all placeholder code from HildonEntry and HildonTextView
and use the API in GtkEntry and GtkTextView instead.
* examples/hildon-entry-example.c
* examples/hildon-text-view-example.c
* examples/hildon-wizard-dialog-example.c
* hildon/hildon-get-password-dialog.c
* hildon/hildon-login-dialog.c
* hildon/hildon-picker-dialog.c
* hildon/hildon-set-password-dialog.c
* hildon/hildon-touch-selector-entry.c:
Replace all deprecated calls to HildonEntry and HildonTextView
with their Gtk counterparts.
Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
GtkEntry)
|
|
'--disable-deprecated' (see previous commit)
* tests/check-hildon-banner.c
* tests/check_text.c
* tests/test_suites.h
Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
were testing deprecated functions.
* examples/hildon-banner-example.c: typo on button3 type, that causes
a fail compiling with --with-examples but without --disable-deprecated
Missed commit in order to fix compilation using '--enable-fatal' and
'--disable-deprecated' (see previous commit)
|
|
* examples/hildon-banner-example.c: Protect deprecated hildon-banner
functions with #ifndef HILDON_DISABLE_DEPRECATED
* examples/hildon-find-toolbar.c: Protect deprecated
HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
* hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
in favor of HILDON_ICON_PIXEL_SIZE_FINGER
* hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
deprecated.
* hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
to allow proper compilation of deprecated functions defined on the header
|
|
* hildon/hildon-picker-dialog.c:
(selection_completed): take into account HILDON_UI_MODE_NORMAL
* hildon/hildon-touch-selector.c
(hildon_touch_selector_init): Initialize hildon-ui-mode
(hildon_touch_selector_row_activated): new callback for the
"row-activated" signal, in order to save the last activated
(hildon_touch_selector_check_ui_mode_coherence): new method that checks
if the current hildon-ui-mode is coherent with the touch selector
(hildon_touch_selector_class_init)
(hildon_touch_selector_get_property)
(hildon_touch_selector_set_property)
Added "hildon-ui-mode" property
(disconnect_model_handlers): renamed to clean_column
(hildon_touch_selector_remove): use clean_column function
(_create_new_column): use the hildon-ui-mode to create the treeview, and
only select the first element on HILDON_UI_MODE_EDIT
(hildon_touch_selector_column_init): Initialize last_activate
(hildon_touch_selector_append_column): check that the touch selector
is coherent with the current hildon-ui-mode
(hildon_touch_selector_get_hildon_ui_mode)
(hildon_touch_selector_set_hildon_ui_mode)
Added a getter/setter for the hildon-ui-mode property
(hildon_touch_selector_get_last_activated_row): Added this method in
order to get the last activated row
* examples/hildon-touch-selector-normal-mode-example.c
New example, that shows how to use the HildonTouchSelector in
HILDON_UI_MODE_NORMAL
Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
Kristian Rietveld <kris@lanedo.com> advices
|
|
* doc/hildon-sections.txt: Add the new public methods below.
* examples/hildon-picker-button-multicolumn-example.c:
(create_touch_selector):
* examples/hildon-touch-selector-example.c: (create_selector):
* examples/hildon-touch-selector-multi-cells-example.c:
(create_selector):
Use hildon_touch_selector_column_set_text_column()
* hildon/hildon-touch-selector-column.h:
* hildon/hildon-touch-selector.c:
(hildon_touch_selector_column_set_text_column),
(hildon_touch_selector_column_get_text_column):
Make hildon_touch_selector_column_set/get_column() public, use
them in the inline example, document them, and reference to them
in the docs.
|
|
* examples/hildon-banner-example.c:
Several style updates
(on_animation_clicked, on_animation_idle)
(on_progress_clicked, on_progress_idle):
Add additional reference for the cases when the parent window is
destroyed.
|
|
handler
* hildon/hildon-pannable-area.c
(hildon_pannable_area_initial_effect): Remove the initial_effect
management, check initial_hint
(hildon_pannable_are_expose_event): Remove the initial_hint management,
set initial_effect to FALSE
(hildon_pannable_are_refresh): Check if we need to show the scrollbars,
by launching the fade_timeout if the scrollbars state has changed and are
visible
* examples/hildon-pannable-area-initial-hint-example.c
Modified to allow to remove rows too. Add and remove rows one by one
|
|
scrollable
* src/hildon-pannable-area.c
(hildon_pannable_area_initial_effect): set to FALSE initial_effect
if the fadeout effect was used
(hildon_pannable_area_expose_event): check if it is required to
manage the initial effect on the begining of the function. Previously
it was made at the end, but this doesn't ensure that the scrollbars
will be painted on the first show. Do not set to FALSE initial_effect,
to ensure that the initial hint is showed the first time the pannable
becomes scrollable
* examples/Makefile.am
* examples/hildon-pannable-area-initial-hint-example.c:
New example, to show that the initial-hint is showed when the widget
becomes scrollable
Fixes: NB#116607 (Pannable area should always have scrollbar visible
initially if the application can be scrolled)
|
|
* hildon/hildon-banner.[ch]:
(hildon_banner_show_information_override_dnd): remove icon_name from the
method definition as it is ignored.
* examples/hildon-banner-dnd-example.c: updated with the change on
hildon-banner.h API
|
|
* hildon/hildon-banner-private.h: new require_override_dnd and
overrides_dnd variables
* hildon/hildon-banner.h:
(hildon_banner_show_information_override_dnd): new method, that shows
the information but sets the override flag, in order to show important
messages
* hildon/hildon-banner.c
(hildon_banner_show_information_override_dnd): new method
(hildon_banner_set_override_flag): new utility function
(hildon_banner_real_show_information): new utility function, in order to
generalize the current hildon_banner_show_information_override_dnd and
hildon_banner_show_information_override_dnd
* examples/Makefile.am
* examples/hildon-banner-dnd-example.c: New example that show how to
use the new hildon_banner_show_information_override_dnd
Fixes: NB#114874 (There is no possibility to show hildon banners with
DND flag set)
|
|
* examples/hildon-remote-texture-example.c
Change the include to the hildon-remote-texture in order to compile
properly the examples on the installed libhildon1-examples package
|
|
* 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.
|
|
* src/hildon-time-selector.h:
Added HildonTimeSelectorFormatPolicy
* src/hildon-time-selector.c:
Added PROP_TIME_FORMAT_POLICY
(_check_ampm_format): renamed to check_automatic_ampm_format
(update_format_policy), (update_format_dependant_columns): new functions
(hildon_time_selector_class_init)
(hildon_time_selector_contructor)
(hildon_time_selector_init)
(hildon_time_selector_get_property)
(hildon_time_selector_set_property)
(hildon_time_selector_get_time)
(hildon_time_selector_set_time)
* src/hildon-touch-selector.h: new file
* src/hildon-touch-selector.c
(hildon_touch_selector_emit_changed)
(hildon_touch_selector_block_changed)
(hildon_touch_selector_unblock_changed)
Added functions to allow to block the emission of the "changed" signal
* src/hildon-picker-dialog.c
(hildon_picker_dialog_show): call the parent show before the custom code
* examples/hildon-time-button-example.c
Modified, so now you can configure the time format using the new property
Added a new property "time-format-policy" that allow to choose the time
format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
case it uses gconf in order to check if the time selector must use
AM/PM or 24H.
Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm mode)
|
|
* examples/hildon-progress-indicator-example.c: Fix example
* src/hildon-gtk.c (set_clear_window_flag)
(hildon_gtk_window_set_progress_indicator):
Create a generic function for setting flags to a window.
Use GDK instead of direct Xlib calls.
|
|
* doc/hildon-sections.txt
* src/hildon-window-private.h
* src/hildon-window.h
* src/hildon-window.c (hildon_window_class_init)
(hildon_window_init, hildon_window_finalize)
(hildon_window_realize, hildon_window_get_property)
(hildon_window_set_property, hildon_window_update_markup)
(hildon_window_get_markup, hildon_window_set_markup):
New "markup" property and hildon_window_{get,set}_markup() methods.
* examples/hildon-stackable-window-example.c (new_window):
Update example to use hildon_window_set_markup()
Fixes: NB#106375 (Need API to retitle a window with a title
including markup)
|
|
* examples/hildon-pannable-area-touch-list-example.c
* examples/hildon-pannagle-area-touch-grid-example.c
* examples/hildon-edit-toolbar-example.c
* examples/hildon-touch-selector-multi-cells-example.c
Removed the call to gtk_rc_parse_string, as it is not required since
some time ago.
|
|
* examples/hildon-pannable-area-tuning-example.c: Fix copyright.
|
|
Patch by Mox Soini (ext-mox.soini@nokia.com)
* tests/TEST-CASES.txt
* tests/check-hildon-banner.c
* tests/check-hildon-note.c
* src/hildon-banner.c
* src/hildon-code-dialog.c
* src/hildon-date-editor.c (real_set_calendar_icon_state)
* src/hildon-time-editor.c
* examples/hildon-lookup-example.c (main):
Replace obsolete icon names with new ones.
* src/hildon-find-toolbar-private.h:
* src/hildon-find-toolbar.c (hildon_find_toolbar_init)
(-hildon_find_toolbar_emit_search):
Remove find button and change icon of close button.
Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
|
|
Added a new example application that allows tuning the pannable
area and replaced defines with properties in order to simplify the
tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
PROP_DIRECTION_ERROR_MARGIN.
* examples/hildon-pannable-area-tuning-example.c: New example
application.
* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init),
(hildon_pannable_area_init),
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property),
(hildon_pannable_area_launch_fade_timeout),
(hildon_pannable_area_adjust_value_changed),
(hildon_pannable_axis_scroll),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_scroll_cb),
(hildon_pannable_area_button_release_cb): We have converted some
of the defines that control the widget to properties to simplify
the tuning.
|
|
* 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)
|
|
* examples/hildon-remote-texture-example.c: Include
hildon-remote-texture.h explicitely.
* src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
applications not defining _XOPEN_SOURCE which don't require this header.
|
|
* examples/hildon-button-example.c (common_buttons_window): Don't
leak size groups.
|
|
src/hildon-remote-texture-private.h * examples/hildon-remote-texture-example.c: Updates/fixes to remote-texture and its example.
|
|
src/hildon-remote-texture-private.h * src/Makefile.am Added remote texture widget (for Clutter shared memory textures)
* examples/hildon-remote-texture-example.c
* examples/Makefile.am
Added example file for remote texture usage
|
|
* examples/hildon-stackable-window-example.c (add_window): Remove
unnecessary return.
|