hildon
15 years agoRemove reference to bug NB#93431, as this is not directly the cause of the bug
Claudio Saavedra [Tue, 20 Jan 2009 12:03:17 +0000 (12:03 +0000)]
Remove reference to bug NB#93431, as this is not directly the cause of the bug

15 years ago2009-01-20 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Tue, 20 Jan 2009 12:02:21 +0000 (12:02 +0000)]
2009-01-20 Alejandro G. Castro <alex@igalia.com>

Added a new function to the HildonTimeButton widget that allows to
change the step of the minutes in the selector associated with the
button: hildon_time_button_new_step

* src/hildon-time-button.c,
(hildon_time_button_init),
(hildon_time_button_new),
(hildon_time_button_new_step):
* src/hildon-time-button.h: Added the new function and refactored
the code.
* examples/hildon-time-button-example.c,
(main): We have replaced the function without parameters with the
function with the steps set to 5

Fixes: NB#98317 (Provide parametarized API for TimePicker widget)

15 years ago2009-01-20 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Tue, 20 Jan 2009 12:02:12 +0000 (12:02 +0000)]
2009-01-20 Alejandro G. Castro <alex@igalia.com>

* src/hildon-time-selector.c,
(hildon_time_selector_class_init),
(hildon_time_selector_constructor),
(hildon_time_selector_get_property),
(hildon_time_selector_set_property),
(_create_minutes_model),
(hildon_time_selector_new_step),
(hildon_time_selector_set_time),
* src/hildon-time-selector.h: Added a new property to the
HildonTimeSelector (minutes-step), we use that property to control
the steps between the minutes in the list of the selector. We have
added a new function to the API to create a widget changing the
step: hildon_time_selector_new_step.

15 years ago2009-01-20 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Tue, 20 Jan 2009 12:02:05 +0000 (12:02 +0000)]
2009-01-20 Alejandro G. Castro <alex@igalia.com>

* src/hildon-time-selector.c,
(hildon_time_selector_class_init),
(hildon_time_selector_constructor),
(hildon_time_selector_init): Overrided the construct function when
creating the time selector object. We have moved the minutes model
handling code from the init to the new construction function:
hildon_time_selector_constructor.

15 years ago2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 20 Jan 2009 10:56:40 +0000 (10:56 +0000)]
2009-01-20 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-date-button-example.c: (main): Use the new
hildon_date_button_new_with_year_range() method in the example.
* src/hildon-date-button.c:
(+hildon_date_button_new_with_year_range): New public method
to conveniently create a HildonDateButton with a custom year range
in its HildonDateSelector.
* src/hildon-date-button.h: Add the new public method definition.

Fixes: NB#97908 (Not possible to change the year range in
HildonDateSelector/HildonDateButton)

15 years ago2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 20 Jan 2009 10:48:10 +0000 (10:48 +0000)]
2009-01-20 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-selector.c:
(+hildon_date_selector_set_property),
(+hildon_date_selector_get_property),
(hildon_date_selector_class_init): Install new properties "min-year"
and "max-year" to define boundaries for the year column.
(_create_year_model): Use the boundary properties to populate the model.
(+hildon_date_selector_new_with_year_range): New public method to
create a HildonDateSelector with a user defined year range.
(hildon_date_selector_select_current_date): Use the new boundaries to
calculate the iterator of current year.
* src/hildon-date-selector.h: Add the new public method definition.

15 years ago2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 20 Jan 2009 10:25:05 +0000 (10:25 +0000)]
2009-01-20 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-selector.c: (+hildon_date_selector_class_init):
Install a constructor method.
(+hildon_date_selector_construct_ui): construct the widget.
(+hildon_date_selector_constructor): new constructor.
(+hildon_date_selector_init): move out widget construction code to
the new constructor.

15 years ago2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 19 Jan 2009 16:41:35 +0000 (16:41 +0000)]
2009-01-19 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
that there's actually a month or year selected before obtaining them.
* src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
of the HildonTouchSelector::changed signal, as it was emitted on every
single item selection.

Fix some warnings and possible crashers due to the selection restoring.

15 years ago2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 19 Jan 2009 16:07:40 +0000 (16:07 +0000)]
2009-01-19 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
the signal handlers only after creating the dialog instead of on every
button click.

15 years ago2009-01-19 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 19 Jan 2009 14:15:15 +0000 (14:15 +0000)]
2009-01-19 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c (hildon_button_init)
* src/hildon-check-button.c (hildon_check_button_init)
* src/hildon-gtk.c (button_common_init): Don't let buttons get the
focus when clicked by default.

Fixes: NB#93431 (Main window not getting the focus once dialog is closed)

15 years ago2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 19 Jan 2009 13:29:36 +0000 (13:29 +0000)]
2009-01-19 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
g_object_unref().

15 years ago2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 16 Jan 2009 13:30:39 +0000 (13:30 +0000)]
2009-01-16 Claudio Saavedra <csaavedra@igalia.com>

Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
Alejandro G. Castro  (alex@igalia.com)

* src/hildon-picker-dialog.c:
(hildon_picker_dialog_class_init): install new "center-on-show"
property.
(hildon_picker_dialog_init): initialize center_on_show to TRUE.
(hildon_picker_dialog_set_property): add setter code for the new
property.
(hildon_picker_dialog_get_property): add getter code for the new
property.
(hildon_picker_dialog_show): Ensure visibility of selected items in the
HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
default.

Fixes: NB#92849 (Selected item is not always visible when
HildonTouchSelector is shown)

15 years ago2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 16 Jan 2009 13:25:57 +0000 (13:25 +0000)]
2009-01-16 Claudio Saavedra <csaavedra@igalia.com>

Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
Alejandro G. Castro  (alex@igalia.com)

* src/hildon-touch-selector.c:
(_create_new_column): Do not connect to the "realize" signal of the
pannable area.
(hildon_touch_selector_append_column): center on the selected items
when a new column is appended.
(hildon_touch_selector_select_iter): Factor out the code to select a
column to hildon_touch_selector_scroll_to().
(+search_nearest_element): Method to retrieve the nearest selected
element to the visible area of the pannable area in a column.
(+on_realize_cb): scroll to the initially selected item.
(+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
the pannable area is realized, otherwise delay this until it is.
(+_hildon_touch_selector_center_on_selected_items): Centers on the
selected items of a given column.
(+hildon_touch_selector_center_on_selected): Public method to center
all columns on the nearest selected item.
* src/hildon-touch-selector.h: Add definition for
hildon_touch_selector_center_on_selected().

Implement public API to ensure visibility of all selected items in
a HildonTouchSelector.

15 years ago2009-01-16 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Fri, 16 Jan 2009 11:26:38 +0000 (11:26 +0000)]
2009-01-16 Alejandro G. Castro <alex@igalia.com>

Fixed a problem in the fading when calling the scroll_to API, and
improve scrollbar fading handling.

* src/hildon-pannable-area.c,
(hildon_pannable_area_grab_notify): avoid the timeout when the
alpha is zero.
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_motion_notify_cb): Code style changes.
(hildon_pannable_area_button_release_cb): Review the conditions
when releasing the mouse button to avoid unrequired fading
timeouts.
(hildon_pannable_area_scroll_to): Do not calculate and set the
velocity if the scroll is not required.

15 years ago2009-01-15 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 15 Jan 2009 17:47:52 +0000 (17:47 +0000)]
2009-01-15 Alberto Garcia <agarcia@igalia.com>

* src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
Don't check whether the new selector is NULL: it cannot be.
Hold a reference to the selector while doing the replacement.

15 years ago2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 15 Jan 2009 16:36:53 +0000 (16:36 +0000)]
2009-01-15 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
unnecessary size_request in a removed widget.

15 years ago2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 15 Jan 2009 16:13:04 +0000 (16:13 +0000)]
2009-01-15 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
an unnecessary reference tracking that was leaking.

15 years ago2009-01-15 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Thu, 15 Jan 2009 13:58:08 +0000 (13:58 +0000)]
2009-01-15 Alejandro G. Castro <alex@igalia.com>

Added delayed motion notify event handling, this way we can
discard redrawing if more than 25 events arrive per second.

* src/hildon-pannable-area.c,
(hildon_pannable_area_init): Initialized the new private atributes
controlling this timeout
(hildon_pannable_area_dispose): Remove the timeout that controls
the motion notify events.
(hildon_pannable_area_scroll): Added a condition to control the
use of the acceleration.
(hildon_pannable_area_motion_event_scroll_timeout),
(hildon_pannable_area_motion_event_scroll): Added this two
functions, they handle the motion notify events inside the
timeout.
(hildon_pannable_area_motion_notify_cb): Replaced the direct call
to the scroll method with the new function.
(hildon_pannable_area_button_release_cb): We have to remove the
timeout handler and move to the last position if the last motion
events were not handled.

Fixes: NB#97028 (Pannable area updates on every motion event)

15 years ago2009-01-15 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Thu, 15 Jan 2009 13:17:07 +0000 (13:17 +0000)]
2009-01-15 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_get_topmost): Added a new parameter to
filter the the windows that do not include those events. Added
also a condition when finding the window to filter windows that do
not ask for those events.
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_get_child_widget_at): Reviewed the call the the
topmost function, we have added the new parameter.

Fixes: NB#97458 (Pannable area prevents propagation of button
press events)

15 years ago2009-01-15 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Thu, 15 Jan 2009 12:47:19 +0000 (12:47 +0000)]
2009-01-15 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_initial_effect): Added controls before
launching the timeout and the idle functions.
(hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
of the method, in some situations it can return with TRUE and 0 in
the timeout.
(hildon_pannable_area_button_press_cb): We do not need to set
DELAY for fading out here.

Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))

15 years ago2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 14 Jan 2009 16:54:33 +0000 (16:54 +0000)]
2009-01-14 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
post-cleaning if the selection is not NULL.

15 years ago2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 14 Jan 2009 16:53:10 +0000 (16:53 +0000)]
2009-01-14 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
all items before restoring the selection.

15 years ago2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 14 Jan 2009 16:50:48 +0000 (16:50 +0000)]
2009-01-14 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c:
(+hildon_touch_selector_unselect_all):
* src/hildon-touch-selector.h: New API to unselect all items in a
column of the touch selector.

15 years ago2009-01-14 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Wed, 14 Jan 2009 16:46:38 +0000 (16:46 +0000)]
2009-01-14 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_redraw): Added a call to the refresh
function inside the redraw because apparently in some cases the
change in the adjustment does not imply a size allocate.

Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
despite the view not being scrollable)

15 years ago2009-01-14 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 14 Jan 2009 15:29:35 +0000 (15:29 +0000)]
2009-01-14 Alberto Garcia <agarcia@igalia.com>

* src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
leak. Check for NULL before attempting to set the window title.

15 years ago2009-01-14 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 14 Jan 2009 15:29:28 +0000 (15:29 +0000)]
2009-01-14 Alberto Garcia <agarcia@igalia.com>

* src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
whether to show or not the 'Done' button each time the dialog is
shown, as it depends on the HildonTouchSelector selection mode.

Fixes: NB#96226 (In multiple selection mode Done button is shown
sometimes in listpicker)

15 years ago2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 14 Jan 2009 14:00:15 +0000 (14:00 +0000)]
2009-01-14 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c: (_save_current_selection): Do not query
for the number of columns in the HildonTouchSelector more than once.

15 years ago2009-01-14 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 14 Jan 2009 13:06:44 +0000 (13:06 +0000)]
2009-01-14 Alberto Garcia <agarcia@igalia.com>

* src/hildon-touch-selector.c: Minor documentation fixes.

* src/hildon-picker-dialog.c (+_dialog_update_title)
(_select_on_selector_changed_cb)
(_update_title_on_selector_changed_cb)
(on_selector_columns_changed): Update dialog title when there's no
'Done' button and also when the number of columns in the selector
changes.
Code refactoring.

* src/hildon-picker-button.c (hildon_picker_button_finalize)
(+_selection_changed, hildon_picker_button_on_dialog_response)
(hildon_picker_button_selector_selection_changed)
(+hildon_picker_button_selector_columns_changed)
(hildon_picker_button_set_selector): Update button value and emit
'value-changed' when the number of columns in the selector
changes.
Code refactoring.

Fixes: NB#96225 (Dialog titles are not shown according to the
values selected in the list picker)

15 years ago2009-01-13 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 13 Jan 2009 18:57:18 +0000 (18:57 +0000)]
2009-01-13 Alberto Garcia <agarcia@igalia.com>

* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
(hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
New "arrow-width" and "arrow-height" style properties to set the
size of the arrow button.
Set name of arrow button ("hildon-edit-toolbar-arrow").

Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
graphics from theme)

15 years ago2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 13 Jan 2009 16:59:12 +0000 (16:59 +0000)]
2009-01-13 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-button.c:
(hildon_picker_button_selector_selection_changed): Use
GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
the dialog is present.

Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
the selection is accepted in the dialog)

15 years ago2009-01-13 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 13 Jan 2009 14:38:52 +0000 (14:38 +0000)]
2009-01-13 Alberto Garcia <agarcia@igalia.com>

* src/hildon-color-chooser.h
* src/hildon-color-chooser-dialog.h:
Added G_BEGIN_DECLS and G_END_DECLS

15 years ago2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 13 Jan 2009 14:19:43 +0000 (14:19 +0000)]
2009-01-13 Claudio Saavedra <csaavedra@igalia.com>

(_clean_current_selection): plug a leak in the list.

15 years ago2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 13 Jan 2009 13:09:19 +0000 (13:09 +0000)]
2009-01-13 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c:
(+free_path_list): Method to free a GList of GtkTreePaths.
(_clean_current_selection), (_save_current_selection),
(_restore_current_selection): Save the current selection in
as a list of lists, to support multiple selection properly.

15 years ago2009-01-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 12 Jan 2009 15:47:03 +0000 (15:47 +0000)]
2009-01-12 Alberto Garcia <agarcia@igalia.com>

patch by Claudio Saavedra (csaavedra@igalia.com)

* src/hildon-text-view.c: (+hildon_text_view_button_press_event):
Store the press position.
(+hildon_text_view_button_release_event): If the release position is
close enough to the press position, move the cursor here. Otherwise,
ignore.
(hildon_text_view_class_init): Override GtkTextView press, release, and
motion event handlers, disabling this way text selection through
pointer interaction, and allowing the container widget to handle the
motion event.

Fixes: NB#95828 (HildonTextView functionality)

15 years ago2009-01-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 12 Jan 2009 14:32:54 +0000 (14:32 +0000)]
2009-01-12 Alberto Garcia <agarcia@igalia.com>

Based on a patch by Iván Gómez (igomez@igalia.com)

* src/hildon-button.[ch]
* src/hildon-calendar.c
* src/hildon-check-button.c
* src/hildon-date-editor.c
* src/hildon-date-selector.c
* src/hildon-picker-button.c
* src/hildon-time-editor.c
* src/hildon-time-selector.c
* src/hildon-touch-selector.[ch]: Documentation updates

15 years ago2009-01-12 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Mon, 12 Jan 2009 08:39:10 +0000 (08:39 +0000)]
2009-01-12 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_motion_notify_cb): Remove the extra DND
threshold, it was required due to X events handling.

15 years ago2009-01-12 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Mon, 12 Jan 2009 07:30:49 +0000 (07:30 +0000)]
2009-01-12 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_grab_notify),
(hildon_pannable_area_initial_effect),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_area_scroll_cb),
(hildon_pannable_area_scroll_to): Review the timeout management of
the scrollbar, the frecuency was incorrectly set.

15 years ago2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 9 Jan 2009 09:19:17 +0000 (09:19 +0000)]
2009-01-09 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-button.c:
(+hildon_picker_button_on_dialog_response),
(hildon_picker_button_clicked): Present the dialog instead of
running it with gtk_dialog_run().

Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
picker dialog)

15 years ago2009-01-07 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 7 Jan 2009 18:44:56 +0000 (18:44 +0000)]
2009-01-07 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
(hildon_app_menu_finalize): When a window is hidden it doesn't
emit notify::is-topmost, so make sure than the menu also
disappears in that case.
(parent_window_topmost_notify): Renamed from parent_window_hidden

Fixes: NB#94460 (stackable window's menu is not closed when its
window is hidden)

15 years ago2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 7 Jan 2009 14:32:56 +0000 (14:32 +0000)]
2009-01-07 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector-entry.c:
(+hildon_touch_selector_entry_set_input_mode),
(+hildon_touch_selector_entry_get_input_mode):
* src/hildon-touch-selector-entry.h: New methods to access the input
mode in the selector's entry.

Fixes: NB#93410 (API required for setting IM mode in
HildonTouchSelectorEntry)

15 years ago2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 7 Jan 2009 10:59:00 +0000 (10:59 +0000)]
2009-01-07 Claudio Saavedra <csaavedra@igalia.com>

* configure.ac: post release version bump.
* debian/changelog: version bump

15 years ago2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 7 Jan 2009 10:57:21 +0000 (10:57 +0000)]
2009-01-07 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.34]

* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.

15 years ago2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 19 Dec 2008 09:02:39 +0000 (09:02 +0000)]
2008-12-19 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c:
(_hildon_touch_selector_has_multiple_selection): No need
to initialize the variables here.

15 years agoFixed conflict marks in the ChangeLog file
Alberto Garcia [Wed, 17 Dec 2008 18:37:20 +0000 (18:37 +0000)]
Fixed conflict marks in the ChangeLog file

15 years ago2008-12-17 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 17 Dec 2008 18:19:09 +0000 (18:19 +0000)]
2008-12-17 Alberto Garcia <agarcia@igalia.com>

* src/hildon-note-private.h
* src/hildon-note.c (event_box_press_event, hildon_note_init)
(hildon_note_finalize, hildon_note_rebuild): Close information
notes when they receive a button press.

Fixes: NB#89890 (Information notes does not get disappeared after
few seconds)

15 years ago2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 17 Dec 2008 15:27:13 +0000 (15:27 +0000)]
2008-12-17 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-wizard-dialog.c: (create_title): Remove translation
mark from the wizard title, as it's not really necessary. Also,
do not display the page title if not set.

15 years ago2008-12-17 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 17 Dec 2008 11:20:48 +0000 (11:20 +0000)]
2008-12-17 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
(parent_window_hidden): Use the window's "is-topmost" property to
detect when to hide the menu.

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

* src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
(hildon_app_menu_finalize): If the parent window of the menu is
hidden, hide the menu too.

Fixes: NB#94460 (stackable window's menu is not closed when its
window is hidden)

15 years ago2008-12-16 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 16 Dec 2008 14:53:02 +0000 (14:53 +0000)]
2008-12-16 Alberto Garcia <agarcia@igalia.com>

* debian/changelog
* debian/libhildon1-examples.install
* debian/rules
* examples/Makefile.am:
Use dh_install to install all examples.
Use DEB_SRCDIR instead of defining SOURCE_DIR

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

* configure.ac: post release version bump.
* debian/changelog: version bump

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

[Release 2.1.32]

* NEWS: updates
* configure.ac: bump version
* debian/changelog: updates
* debian/control: bump gtk+ dependency

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

patch by Christian Dywan (christian@imendio.com)

* src/hildon-gtk.c: (hildon_gtk_hscale_new),
(hildon_gtk_vscale_new): Use the appropriate GtkScale property.

15 years ago2008-12-15 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 15 Dec 2008 14:23:48 +0000 (14:23 +0000)]
2008-12-15 Alberto Garcia <agarcia@igalia.com>

* src/hildon-check-button.c (hildon_check_button_init)
(hildon_check_button_class_init, hildon_check_button_style_set)
(hildon_check_button_apply_style):
New "checkbox-size" style property.

Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
larger / configurable size)

15 years ago2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 15 Dec 2008 12:11:34 +0000 (12:11 +0000)]
2008-12-15 Claudio Saavedra <csaavedra@igalia.com>

* configure.ac: post release version bump.
* debian/changelog: version bump

15 years ago2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 15 Dec 2008 12:02:01 +0000 (12:02 +0000)]
2008-12-15 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.30]

* NEWS: updates
* configure.ac: bump version
* debian/changelog: updates

15 years ago2008-12-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 12 Dec 2008 19:22:54 +0000 (19:22 +0000)]
2008-12-12 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-sections.txt
* src/hildon-pannable-area.c
* src/hildon-program.c
* src/hildon-time-editor.c
* src/hildon-touch-selector-entry.c:

More documentation updates.

15 years ago2008-12-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 12 Dec 2008 14:17:13 +0000 (14:17 +0000)]
2008-12-12 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-sections.txt
* src/hildon-caption.c
* src/hildon-code-dialog.c
* src/hildon-color-button.c
* src/hildon-controlbar.c
* src/hildon-date-editor.c
* src/hildon-date-selector.c
* src/hildon-edit-toolbar.c
* src/hildon-find-toolbar.c
* src/hildon-font-selection-dialog.c
* src/hildon-gtk.c
* src/hildon-program.c
* src/hildon-range-editor.c
* src/hildon-seekbar.c
* src/hildon-time-editor.c
* src/hildon-time-selector.c
* src/hildon-volumebar-range.c
* src/hildon-volumebar.c
* src/hildon-vvolumebar.c
* src/hildon-weekday-picker.c
* src/hildon-window.c
* src/hildon-wizard-dialog.c:

Lots of documentation fixes.

15 years ago2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 12 Dec 2008 12:28:00 +0000 (12:28 +0000)]
2008-12-12 Claudio Saavedra <csaavedra@igalia.com>

Patch contributed by Iván Gómez (igomez@igalia.com)

* src/hildon-check-button.c:
* src/hildon-date-button.c:
* src/hildon-date-selector.c:
* src/hildon-dialog.c:
* src/hildon-edit-toolbar.c:
* src/hildon-entry.c:
* src/hildon-picker-button.c:
* src/hildon-program.c:
* src/hildon-text-view.c:
* src/hildon-time-button.c:
* src/hildon-touch-selector-entry.c:
* src/hildon-window-stack.c:

Add more "since" tags to the new API.

15 years ago2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 12 Dec 2008 11:54:32 +0000 (11:54 +0000)]
2008-12-12 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon-sections.txt: Add below method.
* src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
version for the hildonized scale.
* src/hildon-gtk.h: Add the definition.

Fixes: NB#93744 (Tapping should jump to location on GtkScale)

15 years agoFix changelog
Claudio Saavedra [Fri, 12 Dec 2008 11:51:01 +0000 (11:51 +0000)]
Fix changelog

15 years ago2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 12 Dec 2008 11:40:05 +0000 (11:40 +0000)]
2008-12-12 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon-sections.txt: Add missing entries for new methods.

15 years agoAdded API to pannable are in order to get its adjustments. We added two properties...
Alejandro G. Castro [Fri, 12 Dec 2008 11:29:56 +0000 (11:29 +0000)]
Added API to pannable are in order to get its adjustments. We added two properties to manage the values we had in the private structure.

* src/hildon-pannable-area.c:
(hildon_pannable_area_class_init): Added hadjustment and
vadjustment properties in order to expose horizontal and vertical
adjustment.
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property): Added code to handle the new
properties
(hildon_pannable_area_get_hadjustment),
(hildon_pannable_area_get_vadjustment): API functions to get the
adjustments
* src/hildon-pannable-area.h:
(hildon_pannable_area_get_hadjustment),
(hildon_pannable_area_get_vadjustment): API functions to get the
adjustments

15 years agoFixed some leaks, after valgrinding.
Alejandro G. Castro [Fri, 12 Dec 2008 11:29:48 +0000 (11:29 +0000)]
Fixed some leaks, after valgrinding.

* src/hildon-touch-selector.c:
(_default_print_func): Fixed a leak.
(hildon_touch_selector_append_column): Fixed a leak.
* src/hildon-date-button.c:
(hildon_date_button_init): Fixed a leak.
* src/hildon-date-selector.c
(hildon_date_selector_finalize): Fixed a leak.

15 years ago2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 12 Dec 2008 10:57:32 +0000 (10:57 +0000)]
2008-12-12 Claudio Saavedra <csaavedra@igalia.com>

Based on a patch by Christian Dywan (christian@imendio.com)

* src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
GtkHScale.
* src/hildon-gtk.h: Add definition.

Fixes: NB#93744 (Tapping should jump to location on GtkScale)

15 years ago2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 11 Dec 2008 18:55:07 +0000 (18:55 +0000)]
2008-12-11 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-button.c: (hildon_picker_button_init),
(hildon_picker_button_new): Set the HildonButton::style property
in the init method, to propagate the value to the derived classes.

15 years ago2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 11 Dec 2008 18:53:09 +0000 (18:53 +0000)]
2008-12-11 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-button.c: (hildon_button_class_init): Do not make
the "style" property a construct property.

15 years ago2008-12-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 11 Dec 2008 17:17:35 +0000 (17:17 +0000)]
2008-12-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-wizard-dialog.h
* src/hildon-wizard-dialog.c
(hildon_wizard_dialog_set_forward_page_func)
* src/hildon-pannable-area.h
* src/hildon-pannable-area.c
(hildon_pannable_area_set_size_request_policy):
Documentation fixes.

15 years ago2008-12-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 11 Dec 2008 17:17:29 +0000 (17:17 +0000)]
2008-12-11 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-sections.txt: Fixed warning about unused symbols.

15 years ago2008-12-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 11 Dec 2008 15:27:34 +0000 (15:27 +0000)]
2008-12-11 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-sections.txt: Added sections file.

15 years ago2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 11 Dec 2008 11:32:29 +0000 (11:32 +0000)]
2008-12-11 Claudio Saavedra <csaavedra@igalia.com>

* AUTHORS: Updates.
* src/*.[ch]: Updates.

15 years ago2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
Thomas Thurman [Wed, 10 Dec 2008 21:54:49 +0000 (21:54 +0000)]
2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>

* examples/hildon-progress-indicator-example.c: new file
        * examples/Makefile.am: include the new example program

15 years ago2008-12-10 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 10 Dec 2008 12:37:15 +0000 (12:37 +0000)]
2008-12-10 Alberto Garcia <agarcia@igalia.com>

* src/hildon-wizard-dialog.c (destroy): Fix compilation warning

15 years ago2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 9 Dec 2008 18:14:30 +0000 (18:14 +0000)]
2008-12-09 Claudio Saavedra <csaavedra@igalia.com>

* configure.ac: post release version bump
* debian/changelog: version bump

15 years ago2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 9 Dec 2008 18:07:30 +0000 (18:07 +0000)]
2008-12-09 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.28]

* NEWS: updates
* configure.ac: bump version
* debian/changelog: updates
* debian/control: bump gtk+ dependency

15 years ago2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 9 Dec 2008 14:31:03 +0000 (14:31 +0000)]
2008-12-09 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-dialog.c: Mark as deprecated.
* src/hildon-dialog.h: Mark as deprecated.
* src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
from HildonDialog and still work, even if
HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
break the ABI and simply make HildonPickerDialog derive from GtkDialog.

Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
maemo changes) instead)

15 years ago* src/hildon-pannable_area.h: * src/hildon-pannable_area.c: (hildon_pannable_area_cla...
Alejandro G. Castro [Tue, 9 Dec 2008 13:16:20 +0000 (13:16 +0000)]
* src/hildon-pannable_area.h: * src/hildon-pannable_area.c: (hildon_pannable_area_class_init), (hildon_pannable_area_set_property), (hildon_pannable_area_get_property), (hildon_pannable_area_size_request), (hildon_pannable_area_get_size_request_policy), (hildon_pannable_area_set_size_request_policy): Added new API allowing applications to control the request policy. Now they can choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the children allocation (HILDON_MOVEMENT_CHILDREN).

15 years ago2008-12-09 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 9 Dec 2008 12:52:04 +0000 (12:52 +0000)]
2008-12-09 Alberto Garcia <agarcia@igalia.com>

* src/hildon-gtk.h
* src/hildon-gtk.c
(hildon_gtk_tree_view_set_ui_mode)
(hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
mode of treeviews and iconviews.

15 years agoFormat fixes
Claudio Saavedra [Tue, 9 Dec 2008 11:37:24 +0000 (11:37 +0000)]
Format fixes

15 years ago2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 9 Dec 2008 11:28:48 +0000 (11:28 +0000)]
2008-12-09 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector-entry.c:
(hildon_touch_selector_entry_init): Use a HildonEntry instead
of a GtkEntry to get proper theming.

Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
widget, not GtkEntry)

15 years ago2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 9 Dec 2008 10:21:54 +0000 (10:21 +0000)]
2008-12-09 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-wizard-dialog.c: (response): Move forward if there is
no HildonWizardDialogPageFunc.

15 years ago2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 9 Dec 2008 10:13:16 +0000 (10:13 +0000)]
2008-12-09 Claudio Saavedra <csaavedra@igalia.com>

Patch contributed by Iván Gómez (igomez@igalia.com)

* src/hildon-app-menu.c:
* src/hildon-button.c:
* src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
* src/hildon-stackable-window.c:
* src/hildon-time-selector.c:
* src/hildon-touch-selector.c:
* src/hildon-window.c:

Add more "since" tags to the new API in hildon 2.2.

15 years ago2008-12-05 14:42:11 Tim Janik <timj@imendio.com>
Tim Janik [Fri, 5 Dec 2008 13:44:05 +0000 (13:44 +0000)]
2008-12-05 14:42:11 Tim Janik <timj@imendio.com>

* src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
        HildonSizeType, which are supplied by Gtk+ now.

        * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.

        * Fixes NB#90867, patch by Christian Dywan.

15 years ago2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 5 Dec 2008 12:24:03 +0000 (12:24 +0000)]
2008-12-05 Claudio Saavedra <csaavedra@igalia.com>

Patch contributed by Iván Gómez (igomez@igalia.com)

* src/hildon-pannable-area.c: Add "since" tags to the new API in
hildon 2.2.

15 years ago2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 5 Dec 2008 11:12:27 +0000 (11:12 +0000)]
2008-12-05 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-wizard-dialog-example.c: (on_page_switch),
(some_page_func), (main): Update the example to use a
HildonWizardDialogPageFunc function.

* src/hildon-wizard-dialog-private.h: Add private data for
the HildonWizardDialogPageFunc function usage.

* src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
(destroy), (hildon_wizard_dialog_init), (response),
(hildon_wizard_dialog_set_forward_page_func):
* src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
that applications can use to stop a HildonWizardDialog to jump to
the next page.

Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
next page)

15 years agoFix usage of 'Since:' keyword in API documentation
Alberto Garcia [Thu, 4 Dec 2008 17:54:37 +0000 (17:54 +0000)]
Fix usage of 'Since:' keyword in API documentation

15 years ago2008-12-04 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 4 Dec 2008 15:56:32 +0000 (15:56 +0000)]
2008-12-04 Alberto Garcia <agarcia@igalia.com>

* src/hildon-program.h
* src/hildon-program-private.h
* src/hildon-program.c (hildon_program_init)
(hildon_program_set_common_app_menu)
(hildon_program_get_common_app_menu):
New API for setting a common HildonAppMenu for all
HildonStackableWindows registered with the HildonProgram.

* src/hildon-stackable-window.c
(hildon_stackable_window_toggle_menu):
Use the common HildonAppMenu if a window doesn't have a specific
one.

* src/hildon-app-menu-private.h
* src/hildon-app-menu.c
(hildon_app_menu_get_parent_window):
Function to obtain the window a HildonAppMenu is attached to.
(hildon_app_menu_set_parent_window):
Hide the menu if the parent window is set to NULL.

15 years agoFix ChangeLog entry
Claudio Saavedra [Thu, 4 Dec 2008 11:57:34 +0000 (11:57 +0000)]
Fix ChangeLog entry

15 years ago2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 4 Dec 2008 09:01:58 +0000 (09:01 +0000)]
2008-12-04 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitilely
set GtkTreeView::enable-search to FALSE, to avoid the interactive
search widget to popup.

15 years ago2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 3 Dec 2008 15:02:28 +0000 (15:02 +0000)]
2008-12-03 Claudio Saavedra <csaavedra@igalia.com>

* configure.ac: post release version bump
* debian/changelog: version bump

15 years ago2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 3 Dec 2008 14:55:56 +0000 (14:55 +0000)]
2008-12-03 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.26]

* NEWS: updates
* configure.ac: bump version
* debian/changelog: updates

15 years agoMinor ChangeLog fixes
Claudio Saavedra [Wed, 3 Dec 2008 07:50:16 +0000 (07:50 +0000)]
Minor ChangeLog fixes

15 years ago2008-12-02 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 2 Dec 2008 19:24:40 +0000 (19:24 +0000)]
2008-12-02 Alberto Garcia <agarcia@igalia.com>

Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)

* src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
(hildon_window_stack_window_realized)
(hildon_window_stack_remove, _hildon_window_stack_do_push):
Set the leader GdkWindow when a window is stacked and realized,
unset it when it's unstacked.
(hildon_window_stack_finalize): Destroy the leader GdkWindow.

Fixes: NB#94350 (HildonWindoiwStack:s have the same X Window group)

15 years ago2008-12-02 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 2 Dec 2008 17:28:52 +0000 (17:28 +0000)]
2008-12-02 Alberto Garcia <agarcia@igalia.com>

* src/hildon-stackable-window.h
* src/hildon-window-stack.h:
Protect definition of HildonWindowStack using the preprocessor.

15 years ago2008-12-02 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 2 Dec 2008 17:28:42 +0000 (17:28 +0000)]
2008-12-02 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_repack_items):
Fix warning if all menu items are hidden.

15 years ago2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 2 Dec 2008 16:35:26 +0000 (16:35 +0000)]
2008-12-02 Claudio Saavedra <csaavedra@igalia.com>

Patch contributed by Daniel Borgmann (danielb@openismus.com)

* src/hildon-controlbar.c:
* src/hildon-hvolumebar.c:
* src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
Multiple scale size defines updates.

Fixes: NB#94322 (Scale Updates)

15 years agoAdd bug description to entry.
Claudio Saavedra [Tue, 2 Dec 2008 16:29:50 +0000 (16:29 +0000)]
Add bug description to entry.

15 years agoMinor documentation fix of previous commit
Alberto Garcia [Tue, 2 Dec 2008 11:58:25 +0000 (11:58 +0000)]
Minor documentation fix of previous commit

15 years ago2008-12-02 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 2 Dec 2008 11:54:16 +0000 (11:54 +0000)]
2008-12-02 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-app-menu-example.c (create_menu)
Show items after adding them to the menu, as in the future the
menu will no longer call gtk_widget_show() on the added items.

* src/hildon-app-menu.c:
Update example as explained above.

15 years ago2008-12-02 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 2 Dec 2008 11:54:02 +0000 (11:54 +0000)]
2008-12-02 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c
(hildon_app_menu_insert, hildon_app_menu_add_filter):
Make sure that all menu items have finger height.

15 years ago2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Mon, 1 Dec 2008 18:04:58 +0000 (18:04 +0000)]
2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-picker-dialog.c:
(_on_dialog_response), (_save_current_selection),
(_restore_current_selection), (_clean_current_selection),
(hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
Defined new functions in order to save the current internal selector
selection previous open the dialog, in case that the use cancel the
interaction, so the widget restores the previous selection.

Fixes: NB#92032

(requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT