hildon
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.

15 years ago* src/hildon-stackable-window.c (hildon_stackable_window_go_to_root_window): Update...
Alberto Garcia [Tue, 24 Jun 2008 18:23:59 +0000 (18:23 +0000)]
* src/hildon-stackable-window.c (hildon_stackable_window_go_to_root_window): Update doc.

15 years ago* src/hildon-stackable-window.c (hildon_stackable_window_unset_program): Calculate...
Alberto Garcia [Tue, 24 Jun 2008 17:00:36 +0000 (17:00 +0000)]
* src/hildon-stackable-window.c (hildon_stackable_window_unset_program): Calculate correctly whether to show the previous window if the last one is removed from the stack. (hildon_stackable_window_go_to_root_window): Send delete events starting from the topmost window. Stop if one of the windows is not destroyed.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_expose_event): Fixed a problem...
Alejandro G. Castro [Tue, 24 Jun 2008 16:38:58 +0000 (16:38 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_expose_event): Fixed a problem when selecting the background color of the scrollbars.

15 years ago* src/hildon-stackable-window.c Send delete events to windows rather than closing...
Alberto Garcia [Mon, 23 Jun 2008 14:33:18 +0000 (14:33 +0000)]
* src/hildon-stackable-window.c Send delete events to windows rather than closing them with gtk_widget_destroy()

15 years ago* examples/hildon-stackable-window-example.c * src/hildon-stackable-window.c * src...
Alberto Garcia [Mon, 23 Jun 2008 10:37:26 +0000 (10:37 +0000)]
* examples/hildon-stackable-window-example.c * src/hildon-stackable-window.c * src/hildon-stackable-window.h hildon_stackable_window_go_home() renamed to hildon_stackable_window_go_to_root_window()

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_button_release_cb): Fix overshooti...
Alberto Garcia [Thu, 19 Jun 2008 17:41:22 +0000 (17:41 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_button_release_cb): Fix overshooting in accel mode.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_init): Initially show the scroll...
Alberto Garcia [Thu, 19 Jun 2008 17:16:37 +0000 (17:16 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_init): Initially show the scroll indicators. (hildon_pannable_area_map): Fade the scroll indicators out upon mapping. Add initial effect showing the widget is pannable.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_class_init) (hildon_pannable_area_...
Alberto Garcia [Thu, 19 Jun 2008 16:29:24 +0000 (16:29 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_class_init) (hildon_pannable_area_set_property) (hildon_pannable_area_get_property) (hildon_pannable_area_button_press_cb): New 'velocity_fast_factor' property to decide which velocity is considered fast.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_draw_hscroll) (hildon_pannable_draw_vsc...
Alberto Garcia [Thu, 19 Jun 2008 15:35:48 +0000 (15:35 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_draw_hscroll) (hildon_pannable_draw_vscroll): Use float variables to calculate the size of the scrollbars to avoid error propagation and resizing during scrolling.

15 years ago* src/hildon-pannable-area.c (hildon_pannable_draw_vscroll) (hildon_pannable_draw_hsc...
Alberto Garcia [Thu, 19 Jun 2008 14:58:22 +0000 (14:58 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_draw_vscroll) (hildon_pannable_draw_hscroll): Define a minimum size for the scroll bars

15 years ago* src/hildon-stackable-window.c (hildon_stackable_window_class_init): Fix initializat...
Alberto Garcia [Thu, 19 Jun 2008 13:32:03 +0000 (13:32 +0000)]
* src/hildon-stackable-window.c (hildon_stackable_window_class_init): Fix initialization of private structure.

15 years ago* src/hildon-stackable-window.c (hildon_stackable_window_go_home): Fix compilation...
Alberto Garcia [Thu, 19 Jun 2008 09:37:36 +0000 (09:37 +0000)]
* src/hildon-stackable-window.c (hildon_stackable_window_go_home): Fix compilation warning (get_last_window): Minor optimizations

15 years ago* src/hildon-stackable-window.c: Fixed typos in doc
Alberto Garcia [Wed, 18 Jun 2008 15:03:02 +0000 (15:03 +0000)]
* src/hildon-stackable-window.c: Fixed typos in doc

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_scroll): Calculate here whether...
Alberto Garcia [Wed, 18 Jun 2008 11:55:03 +0000 (11:55 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_scroll): Calculate here whether we need to scroll instead of using the booleans that tell us whether to /draw/ the scrolling bars.

15 years agoTODO 16, WTF MODE ENGAGED\!
Karl Lattimer [Wed, 18 Jun 2008 07:41:34 +0000 (07:41 +0000)]
TODO 16, WTF MODE ENGAGED\!

15 years ago* src/hildon-app-menu.h Update API. * src/hildon-app-menu.c (hildon_app_menu_init...
Alberto Garcia [Tue, 17 Jun 2008 16:04:00 +0000 (16:04 +0000)]
* src/hildon-app-menu.h Update API. * src/hildon-app-menu.c (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.

15 years agolibhildon (2.1.1-1) gutsy; urgency=low
Karl Lattimer [Mon, 16 Jun 2008 13:07:26 +0000 (13:07 +0000)]
libhildon (2.1.1-1) gutsy; urgency=low

* Update version number to 2.1.1-1
  * configure.ac 2.1.1
  * 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, 16 Jun 2008 16:00:00 +0200

15 years ago* src/hildon-stackable-window.c (hildon_stackable_window_class_init): Add hildon_stac...
Alberto Garcia [Mon, 16 Jun 2008 08:56:50 +0000 (08:56 +0000)]
* src/hildon-stackable-window.c (hildon_stackable_window_class_init): Add hildon_stackable_window_realize. (hildon_stackable_window_realize): Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to the _NET_WM_WINDOW_TYPE hint. Window managers should use this type to apply theming and behavior specific to HildonStackableWindow windows.

15 years ago* src/hildon-note.c (hildon_note_button_release): Close information notes also when...
Alberto Garcia [Thu, 12 Jun 2008 17:00:35 +0000 (17:00 +0000)]
* src/hildon-note.c (hildon_note_button_release): Close information notes also when tapping on them

15 years agoAdded BOUNCE_STEPS define to control the overshoot effect. Removed ELASTICITY, refact...
Alejandro G. Castro [Thu, 12 Jun 2008 16:51:58 +0000 (16:51 +0000)]
Added BOUNCE_STEPS define to control the overshoot effect. Removed ELASTICITY, refactor and review, fix some issues with drawing scrollbars.

* src/hildon-pannable-area.c:
(hildon_pannable_area_button_press_cb): removed the conditions to
avoid clicks when overshooting. It is not required

(hildon_pannable_axis_scroll): Added BOUNCE_STEPS
define. Refatored and reviewed the code, now we do not need to
manage velocity in motion_notify.

(hildon_pannable_area_motion_notify_cb): We have moved the code
that controls the area_scroll to the axis_scroll function and get
rid of duplicated code.

(hildon_pannable_area_scroll): Remove the ELASTICITY define.

(hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.

(hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll): Fixed the problems with the
scrollbar drawing, now we do not use two surfaces, it is easier
and saves resources.

(hildon_pannable_area_get_property): Style modification.

(hildon_pannable_area_class_init): Changed some default values.

15 years ago* src/hildon-stackable-window.c: Fix some typos in the documentation.
Alberto Garcia [Thu, 12 Jun 2008 16:05:28 +0000 (16:05 +0000)]
* src/hildon-stackable-window.c: Fix some typos in the documentation.

15 years ago* src/hildon-dialog.c: Change indentation style
Alberto Garcia [Thu, 12 Jun 2008 15:11:48 +0000 (15:11 +0000)]
* src/hildon-dialog.c: Change indentation style

15 years ago* src/hildon-note.c (hildon_note_button_release): Use root coordinates to check if...
Alberto Garcia [Thu, 12 Jun 2008 10:19:50 +0000 (10:19 +0000)]
* src/hildon-note.c (hildon_note_button_release): Use root coordinates to 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

15 years ago* src/hildon-app-menu.c (hildon_app_menu_class_init): New inner-border style property...
Alberto Garcia [Thu, 12 Jun 2008 10:05:54 +0000 (10:05 +0000)]
* src/hildon-app-menu.c (hildon_app_menu_class_init): New inner-border style 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.

15 years ago* src/hildon-app-menu.c (hildon_app_menu_init): Make the window modal
Alberto Garcia [Wed, 11 Jun 2008 18:20:06 +0000 (18:20 +0000)]
* src/hildon-app-menu.c (hildon_app_menu_init): Make the window modal

* src/hildon-note.c (hildon_note_map)
* src/hildon-app-menu.c (hildon_app_menu_map):
Destroy the grab window if we're unable to grab the pointer

15 years ago* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_init, hildon...
Alberto Garcia [Wed, 11 Jun 2008 17:49:15 +0000 (17:49 +0000)]
* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_init, hildon_app_menu_finalize) (hildon_app_menu_map, hildon_app_menu_unmap) (hildon_app_menu_button_release) (grab_transfer_window_get): Bring back the grab window (hildon_app_menu_realize): Decorate the window, set WM hint for Matchbox

15 years ago* src/hildon-note.c (hildon_note_realize): * src/hildon-banner.c (hildon_banner_reali...
Alberto Garcia [Wed, 11 Jun 2008 14:57:48 +0000 (14:57 +0000)]
* src/hildon-note.c (hildon_note_realize): * src/hildon-banner.c (hildon_banner_realize): Add WM hints for Matchbox

15 years ago* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_init, hildon...
Alberto Garcia [Tue, 10 Jun 2008 19:24:12 +0000 (19:24 +0000)]
* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_init, hildon_app_menu_finalize) (hildon_app_menu_map, hildon_app_menu_unmap) (hildon_app_menu_button_release): Remove the grab window, it's not needed anymore

15 years ago* src/hildon-program.c Fixed typo in documentation
Alberto Garcia [Tue, 10 Jun 2008 16:33:06 +0000 (16:33 +0000)]
* src/hildon-program.c Fixed typo in documentation

15 years ago* src/hildon-app-menu.h * src/hildon-app-menu.c * examples/hildon-app-menu-example...
Alberto Garcia [Tue, 10 Jun 2008 11:24:32 +0000 (11:24 +0000)]
* src/hildon-app-menu.h * src/hildon-app-menu.c * examples/hildon-app-menu-example.c Remove hildon_app_menu_popup(), use gtk_widget_show() instead

15 years ago* src/hildon-note.c Remove the comment about the OK button in the documentation
Alberto Garcia [Mon, 9 Jun 2008 17:11:25 +0000 (17:11 +0000)]
* src/hildon-note.c Remove the comment about the OK button in the documentation

15 years ago* src/hildon-note.c Added new transfer_window and close_if_pressed_outside private...
Alberto Garcia [Mon, 9 Jun 2008 17:06:29 +0000 (17:06 +0000)]
* src/hildon-note.c Added new transfer_window and close_if_pressed_outside private attributes. (hildon_note_rebuild): Don't add a cancel button to the information note. It will be closed when tapping outside (hildon_note_realize): Set the notification type hint (hildon_note_map, hildon_note_unmap, grab_transfer_window_get): Grab/ungrab pointer and keyboard if the note has to be closed when tapping outside (hildon_note_button_release): Close the note when tapping outside (if applicable)

* src/hildon-app-menu.c
(hildon_app_menu_button_release, hildon_app_menu_class_init):
Close the menu on button release, not button press

15 years ago* src/hildon-app-menu.c Grab/ungrab pointer and keyboard on map/unmap
Alberto Garcia [Mon, 9 Jun 2008 14:36:03 +0000 (14:36 +0000)]
* src/hildon-app-menu.c Grab/ungrab pointer and keyboard on map/unmap

15 years ago* src/hildon-banner.c (hildon_banner_set_property) (hildon_banner_check_position...
Alberto Garcia [Mon, 9 Jun 2008 13:46:59 +0000 (13:46 +0000)]
* src/hildon-banner.c (hildon_banner_set_property) (hildon_banner_check_position): Make the banner use the full width of the screen (hildon_banner_show_information) (hildon_banner_show_information_with_markup): Don't display an icon by default

15 years agoAdded fading scrollbars and adapted all the overshooting code to horizontal scrolling...
Alejandro G. Castro [Mon, 9 Jun 2008 12:40:56 +0000 (12:40 +0000)]
Added fading scrollbars and adapted all the overshooting code to horizontal scrolling. We have also fixed bugs with overshooting and current fading implementation.

* src/hildon-pannable-area.c
(hildon_pannable_area_scroll_indicator_fade): Time out function
used to change the transparency of the scrollbars.

(hildon_pannable_area_button_press_cb): Added horizontal overshot
control and fixed a problem with fading, we now remove the fade
timeout before adding a new one.

(hildon_pannable_axis_scroll):
(hildon_pannable_area_scroll):
(hildon_pannable_area_timeout): Added this functions so we can use
the scroll code both for vertical and horizontal.

(hildon_pannable_area_motion_notify_cb):
(hildon_pannable_area_button_release_cb): Added the horizontal
scrolling control, fixed a problem with the overshooting timeout.

(rgb_from_gdkcolor): Added this function, it is used in the cairo
painting of the scrolls.

(hildon_pannable_draw_vscroll):
(hildon_pannable_draw_hscroll):
(hildon_pannable_area_expose_event):
Draw both scrollbars and rectangles in the overshooting area.

(hildon_pannable_area_get_property):
(hildon_pannable_area_set_property):
Modified the overshoot property to overshoot_max

(hildon_pannable_area_map):
Replaced the comments symbols.

(hildon_pannable_area_size_allocate):
(hildon_pannable_area_class_init):
(hildon_pannable_area_init): Added horizontal scroll, fading
effect properties, fixed a problem when overshooting in the bottom
of the widget.

* examples/hildon-pannable-area-example.c:
(get_sawtooth_label): Now we use smaller sawtooths, the effect
looks better in the example.

15 years ago* src/hildon-window.c * src/hildon-window.h (hildon_window_class_init) (hildon_window...
Alberto Garcia [Tue, 3 Jun 2008 12:07:46 +0000 (12:07 +0000)]
* src/hildon-window.c * src/hildon-window.h (hildon_window_class_init) (hildon_window_unset_program) (hildon_window_unset_program_real): Make unset_program a virtual function

* src/hildon-stackable-window.c
* src/hildon-stackable-window.h
Added hildon_stackable_window_go_home()

* examples/Makefile.am
* examples/hildon-stackable-window-example.c
HildonStackableWindow example

15 years ago* hildon-pannable-area.c: Added the overshoot property and removed the OVERSHOOT...
Alejandro G. Castro [Tue, 3 Jun 2008 10:26:38 +0000 (10:26 +0000)]
* hildon-pannable-area.c: Added the overshoot property and removed the OVERSHOOT define. Fixed an indent style error. (hildon_pannable_area_motion_notify_cb): (hildon_pannable_area_get_property): (hildon_pannable_area_set_property): Add overshoot property.

(hildon_pannable_area_scroll): replaced OVERSHOOT define with
overshoot property.

(hildon_pannable_area_class_init): Installed the new property.

* hildon-pannable-area-example.c: Added a sawtooth function, this
way it is easier to check the movement in the pannable.
(get_sawtooth_label): Added this function.
(main): Now we get the labels from the new get_sawtooth_label
function.

15 years agoDirty commit, adding the new hildon-pannable-area into hildon-widgets, dirty because...
Karl Lattimer [Mon, 2 Jun 2008 09:36:41 +0000 (09:36 +0000)]
Dirty commit, adding the new hildon-pannable-area into hildon-widgets, dirty because it has been put through indent to clean up the code indentation, we should do this with all hildon-widgets once we work out an indentation standard

15 years ago* src/hildon-app-menu.c (hildon_app_menu_init, hildon_app_menu_class_init): New exter...
Alberto Garcia [Mon, 26 May 2008 13:56:10 +0000 (13:56 +0000)]
* src/hildon-app-menu.c (hildon_app_menu_init, hildon_app_menu_class_init): New external-border style property

15 years ago* src/hildon-app-menu.c (hildon_app_menu_popup): Use also the default window size...
Alberto Garcia [Mon, 26 May 2008 13:05:50 +0000 (13:05 +0000)]
* src/hildon-app-menu.c (hildon_app_menu_popup): Use also the default window size to decide where to place the menu