hildon
15 years ago2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 12 Aug 2008 16:07:14 +0000 (16:07 +0000)]
2008-08-12 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon.types: Remove duplicated hildon_window_get_type
* src/hildon-window.c: (hildon_window_class_init): Remove duplicated
documentation comment.

15 years ago2008-08-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 12 Aug 2008 16:00:20 +0000 (16:00 +0000)]
2008-08-12 Alberto Garcia <agarcia@igalia.com>

* doc/Makefile.am: Complete list of private headers.

15 years ago2008-08-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 12 Aug 2008 15:28:32 +0000 (15:28 +0000)]
2008-08-12 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* src/hildon-app-menu.c
* src/hildon-bread-crumb.c
* src/hildon-button.c
* src/hildon-gtk.c
* src/hildon-program.c
* src/hildon-stackable-window.c
* src/hildon-window.c: Lots of documentation updates.

15 years agoreleasing 2.1.4
Kimmo Hämäläinen [Tue, 12 Aug 2008 15:25:28 +0000 (15:25 +0000)]
releasing 2.1.4

15 years ago2008-08-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 12 Aug 2008 11:50:14 +0000 (11:50 +0000)]
2008-08-12 Alberto Garcia <agarcia@igalia.com>

* debian/control: Depend on Gtk 2:2.12.9-0osso3

* configure.ac: Require Gtk+ 2.12.9 at least

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_scroll_indicator_fade), (hildon_pa...
Alejandro G. Castro [Tue, 12 Aug 2008 11:37:44 +0000 (11:37 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_scroll_indicator_fade), (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro to protect the return of this timeout callbacks, avoiding deadlocks.

15 years ago* src/hildon-*.c * src/hildon-*.h: Ensure a consistent include order, include <gtk...
Christian Dywan [Tue, 12 Aug 2008 10:38:34 +0000 (10:38 +0000)]
* src/hildon-*.c * src/hildon-*.h: Ensure a consistent include order, include <gtk/gtk.h> instead of particular files and only include the topmost header in the gtk stack. See NB #39857

15 years agoFix warnings about unused and uninitialized variables.
Christian Dywan [Tue, 12 Aug 2008 09:12:09 +0000 (09:12 +0000)]
Fix warnings about unused and uninitialized variables.

15 years ago2008-08-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 11 Aug 2008 18:39:24 +0000 (18:39 +0000)]
2008-08-11 Alberto Garcia <agarcia@igalia.com>

* examples/Makefile.am
* examples/hildon-check-button-example.c: Example of the hildon
check button.

15 years ago2008-08-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 11 Aug 2008 18:06:04 +0000 (18:06 +0000)]
2008-08-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-window.h
* src/hildon-window.c (hildon_window_class_init)
(hildon_window_unset_program): Don't make
hildon_window_unset_program a virtual function anymore.

* src/hildon-stackable-window.c: Update documentation

15 years ago2008-08-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 11 Aug 2008 17:36:12 +0000 (17:36 +0000)]
2008-08-11 Alberto Garcia <agarcia@igalia.com>

* doc/Makefile.am
* doc/hildon-docs.sgml
* doc/visual_index.xml
* src/hildon-defines.c
* src/hildon-gtk.c
* src/hildon-helper.c
* src/hildon-range-editor.c: Lots of documentation fixes.

15 years ago2008-08-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 11 Aug 2008 16:36:19 +0000 (16:36 +0000)]
2008-08-11 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-picker-button-multicolumn-example.c
(create_touch_selector): Fix compilation warning.

15 years ago2008-08-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 11 Aug 2008 16:30:29 +0000 (16:30 +0000)]
2008-08-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
(hildon_pannable_area_button_release_cb)
(hildon_pannable_get_child_widget_at): Fix compilation warnings.

15 years ago2008-08-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 11 Aug 2008 10:59:38 +0000 (10:59 +0000)]
2008-08-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c (hildon_button_add_image_size_group): Fix
assertion.

15 years ago2008-08-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 11 Aug 2008 10:51:02 +0000 (10:51 +0000)]
2008-08-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-bread-crumb-trail.h
* src/hildon-date-editor.c
* src/hildon-date-selector.c
* src/hildon-pannable-area.c
* src/hildon-picker-dialog.c
* src/hildon-time-selector.c
* src/hildon-touch-selector-entry.c
* src/hildon-touch-selector.c
* src/hildon-touch-selector.h: Misc documentation fixes

15 years ago2008-08-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 11 Aug 2008 10:02:29 +0000 (10:02 +0000)]
2008-08-11 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-date-editor-example.c (main): Updated date
editor example.

* examples/hildon-note-example.c (on_confirmation_clicked):
Updated confirmation note example.

* src/hildon-date-editor.c
* src/hildon-note.c: Updated sample programs in documentation.
Fixes: NB#87437

15 years ago2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Sat, 9 Aug 2008 01:25:48 +0000 (01:25 +0000)]
2008-08-08 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-button.h:
* src/hildon-picker-button.h:
* src/hildon-time-button.c:
* src/hildon-time-button.h:

Some declarations changes to allow gtk-doc to document the widgets
properly.

15 years agoRemove trailing whitespaces from ChangeLog
Claudio Saavedra [Sat, 9 Aug 2008 00:22:09 +0000 (00:22 +0000)]
Remove trailing whitespaces from ChangeLog

15 years ago2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Sat, 9 Aug 2008 00:20:10 +0000 (00:20 +0000)]
2008-08-08 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-button.c: Document the widget.
* src/hildon-time-button.c: Document the widget.

15 years ago2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 8 Aug 2008 20:25:44 +0000 (20:25 +0000)]
2008-08-08 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-button.c: Document the widget.
* src/hildon-touch-selector-entry.c: Document the widget.

15 years ago2008-08-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 8 Aug 2008 16:52:24 +0000 (16:52 +0000)]
2008-08-08 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* src/Makefile.am
* src/hildon.h
* src/hildon-check-button.h
* src/hildon-check-button.c: New functions to create the Hildon
Touch Checkbox.

* src/hildon-gtk.h
* src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.

15 years ago2008-08-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 8 Aug 2008 10:27:26 +0000 (10:27 +0000)]
2008-08-08 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.h
* src/hildon-button.c
(hildon_button_add_title_size_group)
(hildon_button_add_value_size_group)
(hildon_button_add_image_size_group)
(hildon_button_add_size_groups): New functions to set size groups
for the button labels and image.
(hildon_button_new_full): Removed

15 years ago2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Fri, 8 Aug 2008 09:58:45 +0000 (09:58 +0000)]
2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-time-selector.c
(_check_ampm_format): use of g_warning instead of g_error with a gconf error
in order to avoid a crash if gconf is not available

15 years ago2008-08-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 8 Aug 2008 09:44:29 +0000 (09:44 +0000)]
2008-08-08 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c (hildon_button_set_arrangement)
(hildon_button_construct_child): Don't construct the button child
before setting the arrangement.

15 years ago2008-08-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 8 Aug 2008 00:45:17 +0000 (00:45 +0000)]
2008-08-08 Alberto Garcia <agarcia@igalia.com>

* src/hildon-program-private.h
* src/hildon-program.c
* src/hildon-program.h
(_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
(hildon_program_peek_window_stack)
(hildon_program_pop_window_stack)
(hildon_program_go_to_root_window): HildonProgram now has a
separate list for stackable windows. Functions are provided to
manage that list with a stack-like API.

* src/hildon-stackable-window.c: Stackable window management is
now much simpler with the new HildonProgram API. Windows no
longer need to be manually added to the program, they're
automatically pushed to the top of the stack when shown.

* examples/hildon-stackable-window-example.c: Updated example to
reflect the API changes.

15 years ago2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 7 Aug 2008 23:37:36 +0000 (23:37 +0000)]
2008-08-07 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c: Comment out unimplemented
hildon_touch_selector_insert_column() to avoid a compile warning.

15 years ago2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 7 Aug 2008 23:31:53 +0000 (23:31 +0000)]
2008-08-07 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
(hildon_touch_selector_new), (hildon_touch_selector_remove_column),
(hildon_touch_selector_set_column_selection_mode),
(_hildon_touch_selector_set_model),
(hildon_touch_selector_set_model):

Complete review of HildonTouchSelector documentation.

15 years ago2008-08-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 7 Aug 2008 22:44:03 +0000 (22:44 +0000)]
2008-08-08 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* src/Makefile.am
* src/hildon.h
* src/hildon-gtk.h
* src/hildon-gtk.c: Convenience functions for standard Gtk
widgets, used to easily perform frequent operations.

* src/hildon-button-helpers.h
* src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]

* src/hildon-helper.h
* src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h

* src/hildon-button.h
* src/hildon-button.c: Use the new hildon-gtk.[ch] functions.

15 years ago2008-08-07 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 7 Aug 2008 19:27:14 +0000 (19:27 +0000)]
2008-08-07 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c (hildon_button_init)
(hildon_button_set_arrangement, hildon_button_construct_child):
Pack the image and the labels inside the same GtkAlignment so
gtk_button_set_alignment() can be used

15 years ago2008-08-07 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 7 Aug 2008 18:29:05 +0000 (18:29 +0000)]
2008-08-07 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.h
* src/hildon-button.c
(hildon_button_init, hildon_button_set_image)
(hildon_button_set_image_position)
(hildon_button_construct_child): New functions to add an image to
the HildonButton.

15 years ago2008-08-07 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 7 Aug 2008 15:32:28 +0000 (15:32 +0000)]
2008-08-07 Alberto Garcia <agarcia@igalia.com>

* src/hildon-date-button.c
* src/hildon-picker-button.c
* src/hildon-time-button.c
* src/hildon-button.c:
(hildon_button_class_init): "size-flags" renamed to "size"
(hildon_button_set_title): Hide the title label if set to NULL.

15 years ago2008-08-07 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 7 Aug 2008 13:57:18 +0000 (13:57 +0000)]
2008-08-07 Alberto Garcia <agarcia@igalia.com>

HildonButtonFlags split into HildonButtonArrangement (to set the
button layout) and HildonSizeType (which can be used for any
widget).

* src/hildon-button.h
* src/hildon-button.c
(hildon_button_class_init)
(hildon_button_set_arrangement)
(hildon_button_set_property): New "size-flags"
property. "arrangement-flags" renamed to "arrangement".
(hildon_button_new, hildon_button_new_with_text)
(hildon_button_new_full): Constructors updated to reflect type changes.

* src/hildon-helper.h
* src/hildon-helper.c (hildon_helper_set_theme_size): New function
to set the size of a widget.

* src/Makefile.am
* src/hildon.h
* src/hildon-button-helpers.c
* src/hildon-button-helpers.h: New hildon-button-helpers module.

* src/hildon-date-button.c
* src/hildon-date-button.h
* src/hildon-picker-button.c
* src/hildon-picker-button.h
* src/hildon-time-button.c
* src/hildon-time-button.h: Updated widgets to reflect
HildonButton API changes.

* examples/hildon-button-example.c
* examples/hildon-date-button-example.c
* examples/hildon-picker-button-example.c
* examples/hildon-picker-button-multicolumn-example.c
* examples/hildon-time-button-example.c
* examples/hildon-touch-selector-entry-example.c
* examples/hildon-touch-selector-example.c: Updated examples to
reflect HildonButton API changes.

15 years ago2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 7 Aug 2008 02:34:51 +0000 (02:34 +0000)]
2008-08-06 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon-docs.sgml:
* doc/hildon.types:
* examples/Makefile.am:
* examples/hildon-touch-selector-entry-example.c:
* src/Makefile.am:
* src/hildon-touch-selector-entry.c:
* src/hildon-touch-selector-entry.h:
* src/hildon.h:

Moved HildonTouchSelectorEntry from sandbox. Added its
documentation and examples.

15 years ago2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 7 Aug 2008 01:56:21 +0000 (01:56 +0000)]
2008-08-06 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.h:
* examples/hildon-picker-button-multicolumn-example.c:
(hildon_touch_selector_append_text_column): Add a gboolean
parameter to determine if text must be centered in the column.

* src/hildon-date-selector.c: (hildon_date_selector_init):
* src/hildon-time-selector.c: (hildon_time_selector_init):
* src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
(create_touch_selector): Update widgets and example to reflect
the API change.

15 years ago2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 7 Aug 2008 00:03:06 +0000 (00:03 +0000)]
2008-08-06 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c:
        (hildon_touch_selector_set_active_iter): Set also the cursor in
        the active row.

15 years ago2008-08-06 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 6 Aug 2008 16:31:20 +0000 (16:31 +0000)]
2008-08-06 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* doc/hildon.types
* src/Makefile.am
* src/hildon-toggle-button.c
* src/hildon-toggle-button.h
* src/hildon.h: Removed HildonToggleButton widget, a derived
class is not necessary for this.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_realize), (hildon_pannable_area_s...
Alejandro G. Castro [Wed, 6 Aug 2008 12:44:35 +0000 (12:44 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_realize), (hildon_pannable_area_size_allocate): Code refactoring, add tests for negative sizes.

15 years ago2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 5 Aug 2008 21:56:06 +0000 (21:56 +0000)]
2008-08-05 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
"done" button the default widget for the dialog.

15 years ago2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 5 Aug 2008 00:15:55 +0000 (00:15 +0000)]
2008-08-04 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c:
(hildon_touch_selector_class_init),
(hildon_touch_selector_get_property),
(_hildon_touch_selector_set_model),
(_hildon_touch_selector_has_multiple_selection),
(hildon_touch_selector_has_multiple_selection):
Add a "has-multiple-selection" property with a virtual
has_multiple_selection() method to allow derived classes to
override the default value for it. See the method and property
documentation for details.

* src/hildon-touch-selector.h: Add the new API.

* src/hildon-picker-dialog.c: (requires_done_button): Call
hildon_touch_selector_has_multiple_selection() instead of
determining the need for a button itself.

15 years ago2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 4 Aug 2008 23:54:12 +0000 (23:54 +0000)]
2008-08-04 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
(_hildon_touch_selector_set_model),
(hildon_touch_selector_set_model): Move working code to
_hildon_touch_selector_set_mode(). Call the class method instead.

* src/hildon-touch-selector.h: Add (*set_model) to
HildonTouchSelectorClass.

Make hildon_touch_selector_set_model() a virtual method, so that
derived classes can extend it and do fancy stuff with the model.

15 years ago2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 4 Aug 2008 22:11:11 +0000 (22:11 +0000)]
2008-08-04 Claudio Saavedra <csaavedra@igalia.com>

* configure.ac: Set back the tarname in AC_INIT to hildon.

15 years agoreplaced libesd with libcanberra
Kimmo Hämäläinen [Mon, 4 Aug 2008 13:55:53 +0000 (13:55 +0000)]
replaced libesd with libcanberra

15 years ago2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 1 Aug 2008 21:01:30 +0000 (21:01 +0000)]
2008-08-01 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c: (hildon_touch_selector_init),
(hildon_touch_selector_append_column): Make the widget a GtkVBox
derived class to ease placement of an entry widget in
HildonTouchSelectorEntry. Added a private GtkHBox, packed
at the end, where the selector columns are packed now.

15 years ago2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 1 Aug 2008 17:09:11 +0000 (17:09 +0000)]
2008-08-01 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-button.c: Removed the simple _text() API.
* src/hildon-picker-button.h: Likewise.

* src/hildon-touch-selector.h:
* src/hildon-touch-selector.c:
(hildon_touch_selector_new_text),
(hildon_touch_selector_append_text),
(hildon_touch_selector_prepend_text),
(hildon_touch_selector_insert_text):

Moved the simple _text() API from HildonPickerButton to
HildonTouchPicker, to provide better escalability and not to tie
that API to HildonPickerButton.

* examples/hildon-picker-button-example.c: (main): Example updated.

15 years ago2008-07-31 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 31 Jul 2008 19:33:13 +0000 (19:33 +0000)]
2008-07-31 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c: Updated documentation.

* examples/hildon-button-example.c: Add the posibility to create
the buttons using horizontal layout for title and value.

15 years ago2008-07-31 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 31 Jul 2008 14:13:13 +0000 (14:13 +0000)]
2008-07-31 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu-private.h
* src/hildon-app-menu.c (hildon_app_menu_add_filter)
(hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
GtkSizeGroup for the filters, use the 'homogeneous' property of
the box instead.

15 years ago2008-07-31 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 31 Jul 2008 09:35:39 +0000 (09:35 +0000)]
2008-07-31 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-button-example.c: Updated example.

15 years ago2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 30 Jul 2008 23:43:07 +0000 (23:43 +0000)]
2008-07-30 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon-docs.sgml:
* doc/hildon.types:

Update documentation.

* examples/Makefile.am: Update renamed examples.

* examples/hildon-picker-button-multicolumn-example.c:
(create_touch_selector), (main): Update after the rename.

* examples/hildon-touch-picker-example.c: Removed.
* examples/hildon-touch-selector-example.c: (value_changed),
(create_selector), (get_visible_content), (main): Renamed from
hildon-touch-picker-example.c

* src/Makefile.am: Updated renamed files.

* src/hildon-date-button.c: (hildon_date_button_init),
(hildon_date_button_get_date), (hildon_date_button_set_date):
* src/hildon-date-selector.c: (hildon_date_selector_init),
(_custom_print_func), (_update_day_model),
(_manage_selector_change_cb),
(hildon_date_selector_select_current_date),
(hildon_date_selector_get_date), (hildon_date_selector_select_day):
* src/hildon-date-selector.h:
* src/hildon-picker-button.c: (hildon_picker_button_get_property),
(hildon_picker_button_set_property),
(hildon_picker_button_clicked), (hildon_picker_button_class_init),
(hildon_picker_button_init), (hildon_picker_button_new_text),
(hildon_picker_button_append_text),
(hildon_picker_button_prepend_text),
(hildon_picker_button_insert_text),
(hildon_picker_button_set_selector),
(hildon_picker_button_get_selector):
* src/hildon-picker-button.h:
* src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
(hildon_picker_dialog_init), (_select_on_selector_changed_cb),
(_update_title_on_selector_changed_cb), (requires_done_button),
(_hildon_picker_dialog_set_selector),
(hildon_picker_dialog_set_selector),
(hildon_picker_dialog_get_selector):
* src/hildon-picker-dialog.h:
* src/hildon-time-button.c: (hildon_time_button_init),
(hildon_time_button_get_time), (hildon_time_button_set_time):
* src/hildon-time-selector.c: (hildon_time_selector_init),
(_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
(hildon_time_selector_set_time), (hildon_time_selector_get_time):
* src/hildon-time-selector.h:
* src/hildon.h:

Massive code updates after the rename.

* src/hildon-touch-picker.c: Removed.
* src/hildon-touch-picker.h: Removed.

* src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
(hildon_touch_selector_init), (hildon_touch_selector_map),
(hildon_touch_selector_remove), (_default_print_func),
(_selection_changed_cb), (_create_new_column),
(hildon_touch_selector_new), (hildon_touch_selector_append_column),
(hildon_touch_selector_append_text_column),
(hildon_touch_selector_remove_column),
(hildon_touch_selector_set_column_attributes),
(hildon_touch_selector_insert_column),
(hildon_touch_selector_get_num_columns),
(hildon_touch_selector_get_column_selection_mode),
(hildon_touch_selector_set_column_selection_mode),
(hildon_touch_selector_set_print_func),
(hildon_touch_selector_get_print_func),
(hildon_touch_selector_get_active_iter),
(hildon_touch_selector_set_active_iter),
(hildon_touch_selector_get_selected_rows),
(hildon_touch_selector_get_model),
(hildon_touch_selector_set_model),
(hildon_touch_selector_get_current_text),
(_hildon_touch_selector_center_on_selected_items):
* src/hildon-touch-selector.h: Renamed from
hildon-touch-picker.[ch]

Rename HildonTouchPicker to HildonTouchSelector. Updated all the
references, code examples, and related documentation.

15 years ago2008-07-30 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 30 Jul 2008 12:39:15 +0000 (12:39 +0000)]
2008-07-30 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* doc/hildon.types
* src/Makefile.am
* src/hildon-toggle-button.c
* src/hildon-toggle-button.h
* src/hildon.h: New HildonToggleButton widget.

15 years ago2008-07-30 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 30 Jul 2008 11:08:18 +0000 (11:08 +0000)]
2008-07-30 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c: Add API documentation.
(hildon_button_set_size_groups): Check input parameters

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_motion_notify_cb): Avoid the first...
Alejandro G. Castro [Wed, 30 Jul 2008 10:12:10 +0000 (10:12 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy effect after reaching the movement thredshold. This way we start using the distance after passing the thredshold.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 22:44:59 +0000 (22:44 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-button.c: (hildon_button_set_property): Use the
appropriate g_value_get_flags() method.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 22:00:38 +0000 (22:00 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon-docs.sgml:
        * doc/hildon.types:

         Add the touch pickers, picker dialogs, and picker button widgets
        to the documentation.

15 years agoFix a typo in the ChangeLog.
Claudio Saavedra [Tue, 29 Jul 2008 21:23:47 +0000 (21:23 +0000)]
Fix a typo in the ChangeLog.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 21:19:35 +0000 (21:19 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-button.c: (hildon_button_set_property),
(hildon_button_class_init): Make "arrangement-flags" a proper
G_TYPE_FLAGS derived property.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 19:44:23 +0000 (19:44 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* examples/Makefile.am: Add below examples.
* examples/hildon-date-button-example.c:
* examples/hildon-picker-button-example.c:
* examples/hildon-picker-button-multicolumn-example.c:
* examples/hildon-time-button-example.c:
* examples/hildon-touch-picker-example.c:

Add examples for the reciently added touch pickers,
picker dialogs, and picker button widgets.

15 years ago* src/hildon-button.c: Add some API documentation
Alberto Garcia [Tue, 29 Jul 2008 18:53:55 +0000 (18:53 +0000)]
* src/hildon-button.c: Add some API documentation

15 years ago* src/hildon-button.h * src/hildon-button.c (hildon_button_new) (hildon_button_new_wi...
Alberto Garcia [Tue, 29 Jul 2008 18:09:33 +0000 (18:09 +0000)]
* src/hildon-button.h * src/hildon-button.c (hildon_button_new) (hildon_button_new_with_text): New constructor to create a button with no text at all. (hildon_button_init, hildon_button_set_arrangement) (hildon_button_set_title, hildon_button_set_value) (hildon_button_set_text) (hildon_button_construct_child): Hide the value when it's not used so the rest of the text is properly aligned. Allow creating buttons with arbitrary widgets inside (not just title/value labels).

* examples/hildon-button-example.c (vertical_buttons_window)
(horizontal_buttons_window): Update example to use new API.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 17:31:10 +0000 (17:31 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/Makefile.am: Added HildonTimeButton.
* src/hildon-time-button.c: Added missing LGPL header.
* src/hildon-time-button.h: Added missing LGPL header.
* src/hildon.h: Add hildon-time-button.h

Copied HildonTimeButton from sandbox to trunk. Future work on this
widget must take place in trunk.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 17:24:09 +0000 (17:24 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/Makefile.am: Added HildonDateButton.
* src/hildon-date-button.c: Update includes.
* src/hildon.h: Add hildon-date-button.h

Copied HildonDateButton from sandbox to trunk. Future work on this
widget must take place in trunk.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 17:18:16 +0000 (17:18 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/Makefile.am: Added HildonPickerButton.
* src/hildon-picker-button.h: Update includes.
* src/hildon.h: Add hildon-picker-button.h

Copied HildonPickerButton from sandbox to trunk. Future work on
this widget must take place in trunk.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 17:05:40 +0000 (17:05 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/Makefile.am: Added HildonPickerDialog.
* src/hildon-picker-dialog.c: Update includes.
* src/hildon.h: Add hildon-picker-dialog.h

Copied HildonPickerDialog from sandbox to trunk. Future work
on this widget must take place in trunk.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 16:58:37 +0000 (16:58 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/Makefile.am: Added HildonTimeSelector.
* src/hildon.h: Add hildon-time-selector.h

Copied HildonTimeSelector widget from sandbox to trunk. Future
work on this widget must happen in trunk.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 16:47:12 +0000 (16:47 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/Makefile.am: Added HildonDateSelector.
* src/hildon.h: Add hildon-date-selector.h

Copied HildonDateSelector widget from sandbox to trunk.  Future
work on this widget must happen in trunk.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 16:26:08 +0000 (16:26 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/Makefile.am: Added HildonTouchPicker.
* src/hildon-touch-picker.c: Update includes.
* src/hildon.h: Add hildon-touch-picker.h

Copied HildonTouchPicker widget from sandbox to trunk. Future work
on this widget must happen in trunk.

15 years ago2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 29 Jul 2008 14:53:14 +0000 (14:53 +0000)]
2008-07-29 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-pannable-area.c:
(hildon_pannable_area_motion_notify_cb): Fix a typo.

15 years ago* examples/hildon-app-menu-example.c (main): Let the window destroy the menu.
Alberto Garcia [Tue, 29 Jul 2008 11:10:38 +0000 (11:10 +0000)]
* examples/hildon-app-menu-example.c (main): Let the window destroy the menu.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_class_init): Set the min value...
Alejandro G. Castro [Tue, 29 Jul 2008 10:57:16 +0000 (10:57 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_class_init): Set the min value of the overshoot properties to zero, which points out that not overshooting allowed.

15 years agoModified the procedure to get the widget at a point inside the pannable area when...
Alejandro G. Castro [Tue, 29 Jul 2008 10:50:16 +0000 (10:50 +0000)]
Modified the procedure to get the widget at a point inside the pannable area when using the movement type signals. Now the user has to call a function to get the child, that way we just calculate the child in case the user really want to use it and not all the time.

* src/hildon-marshalers.list: Modified the marshallers, now we do
not have the widget as a parameter.

* src/hildon-pannable-area.c
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_class_init),
(hildon_pannable_get_child_widget_at):  Removed the widget
parameter from the signal callback. We have also refactored the
emission of the signals.

* src/hildon-pannable-area.h: Added a new method to the API to
calculate a widget at a point inside the pannable area,
hildon_pannable_get_child_widget_at.

* examples/hildon-pannable-area-example-4.c
(horizontal_movement): Modified the example to use the new API,
added condition to control which widget is under the event. This
way we can avoid scrolling laterally over other widgets.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_motion_notify_cb): Fixed bug handl...
Alejandro G. Castro [Tue, 29 Jul 2008 09:36:05 +0000 (09:36 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_motion_notify_cb): Fixed bug handling the modes, we stop getting the pointer events due to returning the callback without properly calling the get pointer again. Fixed also an error using the hscroll and vscroll.

15 years ago* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_button_press...
Alberto Garcia [Mon, 28 Jul 2008 18:43:44 +0000 (18:43 +0000)]
* 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.

15 years ago2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 22 Jul 2008 18:19:34 +0000 (18:19 +0000)]
2008-07-22 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-button.c: (hildon_button_set_arrangement): Do not
set the widget name if the arrangement flags do not specify
a particular size.

15 years ago2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 22 Jul 2008 15:16:45 +0000 (15:16 +0000)]
2008-07-22 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-button.c: (hildon_button_set_property),
(hildon_button_class_init), (hildon_button_new_full),
(hildon_button_set_arrangement): Added "arrangement-flags"
property.

Make the HildonButtonFlags a construction-only property, to allow
subclasses to set them properly.

15 years ago2008-07-21 Tim Janik <timj@imendio.com>
Tim Janik [Tue, 22 Jul 2008 11:04:27 +0000 (11:04 +0000)]
2008-07-21 Tim Janik <timj@imendio.com>

* src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
        insertion position after backspace, so additional digits are appended,
        fixes Bug #85874.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_get_topmost): Cleaned the code...
Alejandro G. Castro [Thu, 17 Jul 2008 18:58:51 +0000 (18:58 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_get_topmost): Cleaned the code, removed the TODO list, it was complete and removed the g_debug and g_print lines.

15 years agoAdded the movement modes to the hildon-pannable-area, with this modes the developers...
Alejandro G. Castro [Thu, 17 Jul 2008 18:52:43 +0000 (18:52 +0000)]
Added the movement modes to the hildon-pannable-area, with this modes the developers can control in which directions the widget can scroll. They can also connect to signals in order to do something when that happens, allowing applications scroll. There is an example uploaded showing how to use it.

* examples/Makefile.am:
* examples/hildon-pannable-area-example-4.c: Added this example of
an application using the modes.

* src/hildon-marshalers.list: Added a new marshaller for the new
signals.

* src/hildon-pannable-area.h: Added new enumerations and flags in
order to control the movement modes and the new signals to warn
about the movements in the area.

* src/hildon-pannable-area.c:
(hildon_pannable_axis_scroll),
(hildon_pannable_area_scroll),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property),
(hildon_pannable_area_map),
(hildon_pannable_area_class_init),
(hildon_pannable_area_init),
(hildon_pannable_area_jump_to): Added the modes to control the
movement in the widget. We have added properties to control it,
signals to warn about the movements and refactored some code.

15 years agoChanges required in order to allow vfast_factor set to zero to work properly.
Alejandro G. Castro [Tue, 15 Jul 2008 10:55:31 +0000 (10:55 +0000)]
Changes required in order to allow vfast_factor set to zero to work properly.

* src/hildon-pannable-area.c:
(hildon_pannable_area_button_press_cb): Changed the condition, it
is required for not allowing click when vfast_factor is zero.
(hildon_pannable_area_timeout): Initialized velocity variables
when we stop moving, it was less than 1 but not zero and we need
to check zero in some situations.
(hildon_pannable_area_class_init): Changed the default value of
the speed factor, now the button_press is just sent in case the
speed is 2 per cent of the max speed.
(hildon_pannable_area_init): Initialization with 0.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_get_topmost): replaced gdk_window...
Alejandro G. Castro [Fri, 4 Jul 2008 10:36:47 +0000 (10:36 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_get_topmost): replaced gdk_window_get_children with gdk_window_peek_children, this way we do not have to free the list because it is not a copy.

(hildon_pannable_axis_scroll),
(hildon_pannable_area_scroll),
(hildon_pannable_area_timeout),
(hildon_pannable_area_motion_notify_cb): Code refactoring, removed
two parameters that were only used inside the
hildon_pannable_area_scroll function.

* examples/hildon-pannable-area-example.c,
(get_sawtooth_label): Fixed small memory leak.

15 years agoMore checks for the case where the overshoot is bigger than the size of the widget.
Alejandro G. Castro [Thu, 3 Jul 2008 12:06:42 +0000 (12:06 +0000)]
More checks for the case where the overshoot is bigger than the size of the widget.

* src/hildon-pannable-area.c:
(hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll): with this new calculation we avoid
to draw the slider of the scrollbar under the other scrollbar.
(hildon_pannable_area_expose_event): added new checks to control
the drawing of the overshooting area rectangle, in case it is too
big for the area of the widget.
(hildon_pannable_area_size_allocate): add more checks to avoid
setting a position to the child widget outside the area.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_size_allocate): Added conditions...
Alejandro G. Castro [Thu, 3 Jul 2008 09:36:27 +0000 (09:36 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_size_allocate): Added conditions to control when overshooting is bigger than the allocated space for the children, this avoids negative allocations.

15 years ago* doc/hildon-docs.sgml * doc/hildon.types * examples/Makefile.am * examples/hildon...
Alberto Garcia [Wed, 2 Jul 2008 18:06:06 +0000 (18:06 +0000)]
* doc/hildon-docs.sgml * doc/hildon.types * examples/Makefile.am * examples/hildon-button-example.c * src/Makefile.am * src/hildon-button.c * src/hildon-button.h * src/hildon.h: Initial version of the new HildonButton widget, with examples.

15 years ago* src/hildon-pannable-area.c: (hildon_pannable_area_button_press_cb), (hildon_pannabl...
Claudio Saavedra [Wed, 2 Jul 2008 14:56:03 +0000 (14:56 +0000)]
* src/hildon-pannable-area.c: (hildon_pannable_area_button_press_cb), (hildon_pannable_area_refresh), (hildon_pannable_area_scroll), (hildon_pannable_area_motion_notify_cb), (hildon_pannable_area_button_release_cb), (hildon_pannable_area_expose_event), (hildon_pannable_area_remove), (hildon_pannable_area_jump_to_child):

Use gtk_bin_get_child() instead of accessing GtkBin.child directly.

15 years ago* examples/Makefile.am * examples/hildon-pannable-area-touch-grid-example.c * example...
Alberto Garcia [Tue, 1 Jul 2008 14:54:43 +0000 (14:54 +0000)]
* examples/Makefile.am * examples/hildon-pannable-area-touch-grid-example.c * examples/hildon-pannable-area-touch-list-example.c: Examples of the Hildon Touch List and Hildon Touch Grid using the HildonPannableArea widget.

15 years agolibhildon (2.1.2-1) gutsy; urgency=low
Karl Lattimer [Mon, 30 Jun 2008 10:59:54 +0000 (10:59 +0000)]
libhildon (2.1.2-1) gutsy; urgency=low

* Update version number to 2.1.2-1
  * configure.ac 2.1.2
  * Too many individual changes for them to all be relevant here, many widgets
    added, many widgets have been changed. A full list of additional/changed  widgets
    can be found in the Hildon 2.2 widget UI spec.

 -- Karl Lattimer <karl.lattimer@nokia.com>  Mon, 30 Jun 2008 13:55:29 +0300

15 years agoescaped the forbidden words
Karl Lattimer [Mon, 30 Jun 2008 10:52:22 +0000 (10:52 +0000)]
escaped the forbidden words

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_button_press_cb), (hildon_pannabl...
Alejandro G. Castro [Fri, 27 Jun 2008 17:59:00 +0000 (17:59 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_button_press_cb), (hildon_pannable_area_refresh), (hildon_pannable_area_scroll), (hildon_pannable_area_motion_notify_cb), (hildon_pannable_area_button_release_cb), (hildon_pannable_area_expose_event), (hildon_pannable_area_add), (hildon_pannable_area_remove), (hildon_pannable_area_realize), (hildon_pannable_area_size_allocate), (hildon_pannable_area_class_init), (hildon_pannable_area_init), (hildon_pannable_area_scroll_to_child), (hildon_pannable_area_jump_to_child): Fixed the problem of removing the child from the GtkBin, we have rearranged the widget hierarchy, now there is no GtkAlignment which was not doing anything interesting but breaking some of the assumptions of GtkContainer. Now developers if they want to add a GtkAlignment they could, but it is not inside the area.

We had to review the whole allocation/expose process, now it is
improved and we save at least three signals which would be saving
some time when rendering the widget. The allocation of the
scrollbars is now made in the allocate method as usual.

We have also added some conditions in order to control when there
is no child of the pannable area. Maybe we will need more work
here.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_dispose): Released the fade-out...
Alejandro G. Castro [Fri, 27 Jun 2008 10:31:16 +0000 (10:31 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_dispose): Released the fade-out timeout when disposing the widget.

15 years ago* src/hildon-pannable-area.c: Fixed problem when overshoot_max is zero, we are going...
Alejandro G. Castro [Fri, 27 Jun 2008 08:52:32 +0000 (08:52 +0000)]
* src/hildon-pannable-area.c: Fixed problem when overshoot_max is zero, we are going to use that property in order to deactivate the overshooting (hildon_pannable_axis_scroll), (hildon_pannable_area_size_allocate): Added conditions to control when overshoot_max is zero. Moved the gtk_adjustment_set_value call, now it is called in all situations and we can remove calls in the allocate method. (hildon_pannable_area_map): Control the situation when overshoot_max is zero, we do not need the timeout. (hildon_pannable_area_class_init): Added documentation in order to point out that setting zero to overshoot_max means deactivate overshooting.

NOTE: removed trailing whitespaces from my previous comments of
the Changelog.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_get_property), (hildon_pannable_ar...
Alejandro G. Castro [Fri, 27 Jun 2008 07:53:32 +0000 (07:53 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_get_property), (hildon_pannable_area_set_property), (hildon_pannable_area_map), (hildon_pannable_area_class_init), (hildon_pannable_area_init): Add a boolean "initial-hint" property to cause the widget give a hint about its panning abilities upon realization.

15 years ago* src/hildon-pannable-area.c: Several documentation improvements.
Alejandro G. Castro [Fri, 27 Jun 2008 07:29:17 +0000 (07:29 +0000)]
* src/hildon-pannable-area.c: Several documentation improvements.

15 years ago* src/hildon-program.c * src/hildon-stackable-window.c: Update documentation.
Alberto Garcia [Thu, 26 Jun 2008 14:56:11 +0000 (14:56 +0000)]
* src/hildon-program.c * src/hildon-stackable-window.c: Update documentation.

15 years ago* src/hildon-stackable-window.c (hildon_stackable_window_map, hildon_stackable_window...
Alberto Garcia [Thu, 26 Jun 2008 13:45:35 +0000 (13:45 +0000)]
* src/hildon-stackable-window.c (hildon_stackable_window_map, hildon_stackable_window_unmap) (hildon_stackable_window_unset_program): Simplified code.

15 years ago* src/hildon-stackable-window.c (hildon_stackable_window_unset_program): Simplified...
Alberto Garcia [Thu, 26 Jun 2008 13:36:42 +0000 (13:36 +0000)]
* src/hildon-stackable-window.c (hildon_stackable_window_unset_program): Simplified code. (get_previous_window_if_last): Detect if the window hasn't been added to a HildonProgram.

15 years ago* src/hildon-stackable-window.c (get_previous_window_if_last): Rename variables
Alberto Garcia [Thu, 26 Jun 2008 13:03:20 +0000 (13:03 +0000)]
* src/hildon-stackable-window.c (get_previous_window_if_last): Rename variables

15 years ago* src/hildon-stackable-window.c (get_previous_window_if_last): Renamed get_last_window()
Alberto Garcia [Thu, 26 Jun 2008 12:58:41 +0000 (12:58 +0000)]
* src/hildon-stackable-window.c (get_previous_window_if_last): Renamed get_last_window()

15 years agocontributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
Alejandro G. Castro [Thu, 26 Jun 2008 10:00:29 +0000 (10:00 +0000)]
contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-pannable-area.c
(hildon_pannable_area_button_press_cb),
(hildon_pannable_axis_scroll),
(hildon_pannable_area_scroll),
(hildon_pannable_area_timeout),
(hildon_pannable_calculate_vel_factor),
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property),
(hildon_pannable_area_class_init),
(hildon_pannable_area_init),
(hildon_pannable_area_scroll_to),
(hildon_pannable_area_jump_to),
(hildon_pannable_area_scroll_to_child),
(hildon_pannable_area_jump_to_child):
* src/hildon-pannable-area.h: Added the new API functions:
hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
hildon_pannable_area_scroll_to_child,
hildon_pannable_area_jump_to_child

* examples/Makefile.am
* examples/hildon-pannable-area-example-2.c
* examples/hildon-pannable-area-example-3.c: Added these two new
examples in order to test and show how the new APIs work.

15 years ago* examples/hildon-stackable-window-example.c (new_window): * src/Makefile.am (noinst_...
Alberto Garcia [Wed, 25 Jun 2008 17:02:19 +0000 (17:02 +0000)]
* examples/hildon-stackable-window-example.c (new_window): * src/Makefile.am (noinst_HEADERS): * src/hildon-program.c (hildon_program_go_to_root_window): * src/hildon-program.h: * src/hildon-stackable-window-private.h: * src/hildon-stackable-window.c: * src/hildon-stackable-window.h: Create hildon-stackable-window-private.h Move hildon_stackable_window_go_to_root_window() to HildonProgram

15 years ago* examples/hildon-app-menu-example.c (create_menu): * examples/hildon-hvolumebar...
Alberto Garcia [Wed, 25 Jun 2008 16:52:37 +0000 (16:52 +0000)]
* examples/hildon-app-menu-example.c (create_menu): * 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

15 years ago* src/hildon-window.c: Fix typo in doc
Alberto Garcia [Wed, 25 Jun 2008 14:29:51 +0000 (14:29 +0000)]
* src/hildon-window.c: Fix typo in doc

15 years ago* src/hildon-stackable-window.c (hildon_stackable_window_delete_event) (hildon_stacka...
Alberto Garcia [Tue, 24 Jun 2008 18:30:33 +0000 (18:30 +0000)]
* src/hildon-stackable-window.c (hildon_stackable_window_delete_event) (hildon_stackable_window_class_init): Ignore the delete event if the window is not the topmost one.