hildon
15 years ago2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 20 Feb 2009 13:19:18 +0000 (13:19 +0000)]
2009-02-20 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.44]

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

15 years ago2009-02-20 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Fri, 20 Feb 2009 13:16:26 +0000 (13:16 +0000)]
2009-02-20 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_get_topmost),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_get_child_widget_at): Reverted the patch for the
topmost function adding the event mask. We have to try a
differente approach because it is still causing problems (NB#9745,
reopened).

15 years ago2009-02-19 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 19 Feb 2009 14:42:46 +0000 (14:42 +0000)]
2009-02-19 Alberto Garcia <agarcia@igalia.com>

* src/hildon-banner.c:
Update the maximum width of timed banners.
(force_to_wrap_truncated): Enforce the maximum text width if the
label is wrapped.

Fixes: NB#102413 (The text margins (wrapping) in information
banner should be HILDON_MARGIN_TRIPLE)

15 years ago2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 19 Feb 2009 10:24:31 +0000 (10:24 +0000)]
2009-02-19 Claudio Saavedra <csaavedra@igalia.com>

Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)

* src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll): Consider the adjustment's lower
bound when calculating the scroll indicator position.

Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
treat ->lower correctly)

15 years agoFix ChangeLog.
Claudio Saavedra [Thu, 19 Feb 2009 10:24:29 +0000 (10:24 +0000)]
Fix ChangeLog.

15 years ago2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 19 Feb 2009 10:04:26 +0000 (10:04 +0000)]
2009-02-19 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-caption.c (hildon_caption_class_init): Remove the
expose event handling, since it is not necessary to draw the focus
anymore.

Fixes: NB#102467 (Do not show highlight on the text in
HildonCaption)

15 years ago2009-02-18 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 18 Feb 2009 13:56:53 +0000 (13:56 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>

* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
full height of the toolbar for the button and the label.

15 years ago2009-02-18 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 18 Feb 2009 13:12:45 +0000 (13:12 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>

* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
padding before the label and after the button.

15 years ago2009-02-18 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 18 Feb 2009 10:29:04 +0000 (10:29 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>

* src/hildon-window.c (paint_edit_toolbar): Fix style detail.

* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
Add a GtkVSeparator between the button and the back arrow.
Let the button have automatic size.
Set a name to the widget for theming handling.

Fixes: NB#101793 (Make edit toolbar the same height as window
title bar (use title area theming))

15 years ago2009-02-18 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 18 Feb 2009 10:19:53 +0000 (10:19 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>

* src/hildon-helper.c (attach_new_color_element): Fix memory
leak.

Fixes: NB#102262 (memory leak in hildon_button_set_style())

15 years ago2009-02-18 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 18 Feb 2009 10:02:07 +0000 (10:02 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-button-example.c (common_buttons_window): Don't
leak size groups.

15 years ago2009-02-18 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 18 Feb 2009 08:05:25 +0000 (08:05 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>

* src/hildon-pannable-area.c (hildon_pannable_area_class_init):
Set default movement mode to HILDON_MOVEMENT_MODE_VERT.

15 years ago2009-02-18 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 18 Feb 2009 07:52:18 +0000 (07:52 +0000)]
2009-02-18 Alberto Garcia <agarcia@igalia.com>

* src/hildon-gtk.c: Check that the window is realized.

Fixes: NB#102225 (Crash setting the progress indicator to a non
visible window)

15 years ago2009-02-17 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 17 Feb 2009 15:18:56 +0000 (15:18 +0000)]
2009-02-17 Alberto Garcia <agarcia@igalia.com>

* src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
(hildon_pannable_draw_hscroll): Make a copy of the graphic context
instead of modifying the one in the widget style.

Fixes: NB#101043 (Second row of all the command button are
displayed in transparent mode.)

15 years ago2009-02-17 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 17 Feb 2009 08:41:13 +0000 (08:41 +0000)]
2009-02-17 Alberto Garcia <agarcia@igalia.com>

* src/hildon-date-button.c
* src/hildon-time-button.c: Add gettext macros

15 years ago2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 16 Feb 2009 16:40:14 +0000 (16:40 +0000)]
2009-02-16 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-button.c (hildon_date_button_new):
* src/hildon-time-button.c (hildon_time_button_new_step):
Use new logical strings to set the button default title.

Fixes: NB#99915 (Date and Time options are not localised in Date
and Time setttings)

15 years ago2009-02-16 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Mon, 16 Feb 2009 16:37:08 +0000 (16:37 +0000)]
2009-02-16 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c
(hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
the PANNING_THRESHOLD.

15 years ago2009-02-16 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Mon, 16 Feb 2009 16:37:06 +0000 (16:37 +0000)]
2009-02-16 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Increased the maximum speed.
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property),
(hildon_pannable_area_timeout): Added a new low friction mode, it
allows the user avoid friction when launching the widget fast
enough. It is interesting to traverse long lists.

15 years ago2009-02-16 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 16 Feb 2009 14:30:05 +0000 (14:30 +0000)]
2009-02-16 Alberto Garcia <agarcia@igalia.com>

* src/hildon-stackable-window.c (hildon_stackable_window_class_init)
(+hildon_stackable_window_delete_event): Ignore delete events if
the window is not the topmost one.

Fixes: NB#101698 (Back button long press and delete-event handling)

15 years ago2009-02-16 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Mon, 16 Feb 2009 12:56:14 +0000 (12:56 +0000)]
2009-02-16 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_motion_notify_cb): Removed the use of the
gtk-dnd-drag-threshold, it was too big. We have defined our own
dnd define and set a smaller value: PANNIG_THRESHOLD.

15 years ago2009-02-16 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 16 Feb 2009 10:15:01 +0000 (10:15 +0000)]
2009-02-16 Alberto Garcia <agarcia@igalia.com>

* src/hildon-banner.c (hildon_banner_show_animation): Don't allow
user-defined icons, use always the default one.

Fixes: NB#101916 (Do not allow custom icons on animation banner)

15 years ago2009-02-13 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Fri, 13 Feb 2009 16:33:39 +0000 (16:33 +0000)]
2009-02-13 Alejandro G. Castro <alex@igalia.com>

This patch was applied before but reverted because it caused
problems, we have changed the main condition and tested the
regressions we detected before and they work ok.

        * 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-02-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:22 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>

* tests/check-hildon-color-button.c (START_TEST): do not leak
ret_color.

15 years ago2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:20 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-font-selection-dialog.c
(hildon_font_selection_dialog_get_preview_text): Return NULL
instead of FALSE on the g_return_val_if_fail().

15 years ago2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:19 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-time-selector.c (hildon_time_selector_set_time):
* src/hildon-date-selector.c
(hildon_date_selector_select_current_date):
Do not compare unsigned integers to be greater than or equal 0,
because it's always TRUE.

15 years ago2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:18 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-selector.c (hildon_date_selector_construct_ui),
(hildon_date_selector_constructor): Do not select the current
date until we are handle the "changed" signal, to avoid having bogus
elements in the days model.

15 years ago2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:16 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-selector.c (_update_day_model): Use a gint variable
for num_days, since _month_days() can return a negative value.

15 years ago2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:15 +0000 (12:47 +0000)]
2009-02-13 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-caption.c (hildon_caption_size_allocate):
* src/hildon-pannable-area.c (hildon_pannable_area_size_request):
* src/hildon-range-editor.c (hildon_range_editor_size_allocate):

Initialize allocation variables to 0, to avoid eventually using
unitialized variables.

15 years ago2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:13 +0000 (12:47 +0000)]
2009-02-12 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-bread-crumb-trail.c
(hildon_bread_crumb_trail_size_allocate):
* src/hildon-calendar.c (hildon_calendar_set_background):
* src/hildon-caption.c (hildon_caption_hierarchy_changed):
* src/hildon-range-editor.c (hildon_range_editor_get_range):
* src/hildon-seekbar.c (hildon_seekbar_init):
* src/hildon-time-editor.c (hildon_time_editor_get_time):
* src/hildon-time-selector.c (hildon_time_selector_finalize):
* src/hildon-touch-selector-entry.c
(hildon_touch_selector_get_text_from_model):
* src/hildon-touch-selector.c (hildon_touch_selector_class_init):
* src/hildon-window.c (hildon_window_finalize):

Remove many unused variables.

15 years ago2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:11 +0000 (12:47 +0000)]
2009-02-12 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-seekbar.c: (hildon_seekbar_init),
(hildon_seekbar_size_request), (hildon_seekbar_size_allocate):

Remove unnecessary g_assert() calls.

15 years ago2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 13 Feb 2009 12:47:10 +0000 (12:47 +0000)]
2009-02-12 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-caption.c: (hildon_caption_expose),
(hildon_caption_set_property), (hildon_caption_init),
(hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
(hildon_caption_size_request), (hildon_caption_size_allocate),
(hildon_caption_forall), (hildon_caption_set_separator),
(hildon_caption_activate), (hildon_caption_set_child_expand),
(hildon_caption_set_label_text),
(hildon_caption_get_label_alignment):

Remove unnecessary g_assert() calls.

15 years ago2009-02-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 12 Feb 2009 10:38:22 +0000 (10:38 +0000)]
2009-02-12 Alberto Garcia <agarcia@igalia.com>

* src/hildon-banner.c
(hildon_banner_map, hildon_banner_init): Make banner temporary
before mapping it to avoid closing other temporary windows, but
make it non-temporary afterwards to avoid being closed by other
non-temporary windows.
(-hildon_banner_client_event, hildon_banner_init):
_GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.

Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
opened)

15 years ago2009-02-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 11 Feb 2009 17:44:38 +0000 (17:44 +0000)]
2009-02-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-banner.h: Mark hildon_banner_show_animation() with a
deprecation guard.

15 years ago* src/hildon-remote-texture.c * src/hildon-remote-texture.h * src/hildon-remote-textu...
Gordon Williams [Wed, 11 Feb 2009 17:01:31 +0000 (17:01 +0000)]
* src/hildon-remote-texture.c * src/hildon-remote-texture.h * src/hildon-remote-texture-private.h * examples/hildon-remote-texture-example.c: Updates/fixes to remote-texture and its example.

15 years ago2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 11 Feb 2009 13:53:06 +0000 (13:53 +0000)]
2009-02-11 Claudio Saavedra <csaavedra@igalia.com>

Patch by Mox Soini (ext-mox.soini@nokia.com)

* src/hildon-code-dialog.c: Update logical id.
* src/hildon-set-password-dialog.c: Update logical id.

Fixes: NB#100646 (Logical strings is shown for ok in set
password,Password needed dialogs)

15 years ago* src/hildon.h * src/hildon-remote-texture.c * src/hildon-remote-texture.h * src...
Gordon Williams [Wed, 11 Feb 2009 11:00:00 +0000 (11:00 +0000)]
* src/hildon.h * src/hildon-remote-texture.c * src/hildon-remote-texture.h * src/hildon-remote-texture-private.h * src/Makefile.am Added remote texture widget (for Clutter shared memory textures)

* examples/hildon-remote-texture-example.c
* examples/Makefile.am
Added example file for remote texture usage

15 years ago2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 10 Feb 2009 14:17:18 +0000 (14:17 +0000)]
2009-02-10 Claudio Saavedra <csaavedra@igalia.com>

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

15 years ago2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 10 Feb 2009 14:13:45 +0000 (14:13 +0000)]
2009-02-06 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.42]

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

15 years ago2009-02-06 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 6 Feb 2009 15:49:07 +0000 (15:49 +0000)]
2009-02-06 Alberto Garcia <agarcia@igalia.com>

* src/hildon-date-selector.c (hildon_date_selector_init)
(hildon_date_selector_constructor): Don't connect to the "changed"
signal until the selector is completely constructed.

15 years ago2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 5 Feb 2009 17:01:26 +0000 (17:01 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c: (_create_new_column),
(hildon_touch_selector_append_column),
(hildon_touch_selector_set_column_selection_mode),
(hildon_touch_selector_set_active),
(hildon_touch_selector_select_iter):
Emit the HildonTouchSelector::changed signal every time selection
is changed in any of the methods above.  This behavior was already
documented but not fully functional.

Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
selection is programmatically changed)

15 years ago2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 5 Feb 2009 15:45:42 +0000 (15:45 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon-sections.txt: Remove obsolete icon
sizes from here as well.

15 years ago2009-02-05 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 5 Feb 2009 14:58:23 +0000 (14:58 +0000)]
2009-02-05 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-stackable-window-example.c (add_window): Remove
unnecessary return.

15 years ago2009-02-05 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 5 Feb 2009 13:29:48 +0000 (13:29 +0000)]
2009-02-05 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c
(hildon_app_menu_show): Check whether the parent window of a menu
is topmost before popping it up.

Fixes: NB#100468 (Application menu window is launched even when a
new secondary-window/dialog is pending to be shown/realized.)

15 years ago2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 5 Feb 2009 13:17:53 +0000 (13:17 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-icon-sizes-example.c: (main): Remove obsolete
icon sizes.

15 years ago2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 5 Feb 2009 12:45:52 +0000 (12:45 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>

Patch by Mox Soini (ext-mox.soini@nokia.com)

* src/hildon-banner.c: (hildon_banner_show_animation):
use stylus size instead of obsolete note size.
* src/hildon-defines.h: Update icon sizes.

15 years ago2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 5 Feb 2009 11:59:11 +0000 (11:59 +0000)]
2009-02-05 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector-entry.c:
(hildon_touch_selector_entry_init): Disable unsupported
input modes.
(hildon_touch_selector_entry_get_text_column): Emit a warning
if an unsupported input modes is used and explicitile state
these modes in the documentation.

Fixes: NB#99802 (Hildon touch selector entry not working properly
for some of the input modes)

15 years ago2009-02-05 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Thu, 5 Feb 2009 11:24:32 +0000 (11:24 +0000)]
2009-02-05 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_init): Added the changed signal handlers of
the adjustments.

Fixes: NB#100320 (HildonPannableArea does not listen to
GtkAdjustment "change" signals)

15 years ago2009-02-04 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 4 Feb 2009 19:39:39 +0000 (19:39 +0000)]
2009-02-04 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-sections.txt
* src/hildon-window-private.h
* src/hildon-window.h
* src/hildon-window.c (hildon_window_init)
(hildon_window_realize, hildon_window_unrealize)
(hildon_window_map, hildon_window_unmap, hildon_window_expose)
(hildon_window_size_request, hildon_window_size_allocate)
(hildon_window_forall, hildon_window_show_all)
(hildon_window_destroy, +paint_edit_toolbar)
(+hildon_window_set_edit_toolbar):
New hildon_window_set_edit_toolbar() method, to add a
HildonEditToolbar to a window without having to pack it manually.

Reorganize hildon_window_size_allocate()

* src/hildon-edit-toolbar.c: Update documentation.

* examples/hildon-edit-toolbar-example.c (edit_window): Update
example to use the new API.

Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())

15 years ago2009-02-04 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 4 Feb 2009 16:01:45 +0000 (16:01 +0000)]
2009-02-04 Alberto Garcia <agarcia@igalia.com>

* src/hildon-stackable-window.c (hildon_stackable_window_hide):
Remove from stack before calling parent's hide.

15 years ago2009-02-04 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 4 Feb 2009 15:56:47 +0000 (15:56 +0000)]
2009-02-04 Alberto Garcia <agarcia@igalia.com>

* src/hildon-window-stack.c (hildon_window_stack_remove): When a
window is removed from the middle of the stack, update the
transiency of the previous one.

Fixes: NB#100487 (HildonStackableWindow transiency becomes
incoherent)

15 years ago2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 2 Feb 2009 15:41:46 +0000 (15:41 +0000)]
2009-02-02 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c: (_restore_current_selection): Do not
block/unblock the signal handler if it's not actually being used.
Fixes some critical warnings.

15 years ago2009-02-02 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 2 Feb 2009 12:20:29 +0000 (12:20 +0000)]
2009-02-02 Alberto Garcia <agarcia@igalia.com>

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

* src/hildon-banner.c
* src/hildon-gtk.c
* src/hildon-main.c
* src/hildon-note.c
* src/hildon-pannable-area.c
* src/hildon-picker-dialog.c
* src/hildon-wizard-dialog.h
* src/hildon-wizard-dialog.c: Documentation updates.

* src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
gtk_dialog_add_button() instead of hildon_dialog_add_button().

15 years ago2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 2 Feb 2009 10:24:30 +0000 (10:24 +0000)]
2009-02-02 Claudio Saavedra <csaavedra@igalia.com>

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

15 years ago2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 2 Feb 2009 10:17:49 +0000 (10:17 +0000)]
2009-02-02 Claudio Saavedra <csaavedra@igalia.com>

[Release 2.1.40]

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

15 years ago2009-01-29 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 29 Jan 2009 16:08:11 +0000 (16:08 +0000)]
2009-01-29 Alberto Garcia <agarcia@igalia.com>

* src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
a stock icon nor change the relief of the back arrow.

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

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

* src/hildon-button.c (hildon_button_set_alignment): Use
priv->alignment if the button has no child yet.

15 years ago2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 29 Jan 2009 12:22:40 +0000 (12:22 +0000)]
2009-01-29 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-button.c: (hildon_button_init): Set the
button style during initialization to give it the proper
label color.

Fixes: NB#99713 (HildonButton value label color is wrong)

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

* src/hildon-touch-selector.c: Document
hildon_touch_selector_center_on_selected()

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

* src/hildon-app-menu.c (+hildon_app_menu_show_all)
(+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
all menu items, but not the menu itself.
(hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
(hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
items after adding them to the menu so keyboard accelerators work.
(hildon_app_menu_show): Don't show the menu if it contains items
but none of them are visible.

* examples/hildon-app-menu-example.c (create_menu): Use
gtk_widget_show_all() to show all menu items.

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

* src/hildon-picker-dialog.c:
(-_update_title_on_selector_changed_cb),
(-_dialog_update_title): Removed.
(_select_on_selector_changed_cb), (_on_dialog_response),
(on_selector_columns_changed): Do not update the dialog title.
(setup_interaction_mode): Do not connect to
HildonTouchSelector::changed signal if there's a "done" button, as
the dialog title doesn't need to be updated.

Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
contents in title)

15 years agoActually update the debian/changelog
Claudio Saavedra [Tue, 27 Jan 2009 16:20:00 +0000 (16:20 +0000)]
Actually update the debian/changelog

15 years agobump GTK+ dependency to 2.12.12-1maemo7
Claudio Saavedra [Tue, 27 Jan 2009 16:15:30 +0000 (16:15 +0000)]
bump GTK+ dependency to 2.12.12-1maemo7

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

Patch by Kristian Rietveld (kris@imendio.com)

* src/hildon-touch-selector.c: (_create_new_column): Use new
GtkTreeView::hildon-row-tapped signal to react to user interactions
instead of ::changed.

Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
with some dynamic tree model)

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

* src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
(+screen_size_changed, +label_size_request)
(hildon_note_class_init): Make the Hildon information note have a
minimum height, and make its text have a maximum width.

Fixes: NB#98614 (Hildon information note (background) should have
minimum height and maximum text width)

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

* src/hildon-banner.h
* src/hildon-banner.c (hildon_banner_show_information)
(hildon_banner_show_informationf)
(hildon_banner_show_information_with_markup): Update documentation
to reflect that the icon_name parameter is not used anymore.
(hildon_banner_set_icon, hildon_banner_set_icon_from_file):
Remove all code from these functions and mark them as deprecated.
(hildon_banner_show_progress): Mark as deprecated.

Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)

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

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init),
(tranparency_color),
(hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll),
(hildon_pannable_area_expose_event): Added a new way to render the
scrollbars of the pannable area avoiding using cairo at all. This
way we improve the performance of the pannable area rendering. The
cairo rendering procedure is still in the code, we can control
which one to use changing the value of the define
USE_CAIRO_SCROLLBARS.

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

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

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

[Release 2.1.38]

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

15 years agoExclude libhildon1-doc when DEB_BUILD_OPTIONS=nodocs is passed.
Claudio Saavedra [Mon, 26 Jan 2009 11:09:41 +0000 (11:09 +0000)]
Exclude libhildon1-doc when DEB_BUILD_OPTIONS=nodocs is passed.

15 years agoFix DEB_BUILD_OPTIONS=nodocs
Claudio Saavedra [Mon, 26 Jan 2009 08:52:08 +0000 (08:52 +0000)]
Fix DEB_BUILD_OPTIONS=nodocs

15 years agoUpdates from 2.1.36-2
Claudio Saavedra [Mon, 26 Jan 2009 08:52:06 +0000 (08:52 +0000)]
Updates from 2.1.36-2

15 years agoExclude from debian/changelog pannable area bug whose fix was reverted.
Claudio Saavedra [Mon, 26 Jan 2009 08:52:05 +0000 (08:52 +0000)]
Exclude from debian/changelog pannable area bug whose fix was reverted.

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

* src/hildon-banner.c (hildon_banner_button_press_event): Hide
banners instead of destroying them when they receive a button
press.

15 years ago2009-01-23 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Fri, 23 Jan 2009 18:25:13 +0000 (18:25 +0000)]
2009-01-23 Alejandro G. Castro <alex@igalia.com>

Reverted commit 34028, it was causing regressions, probably the
topmost condition is not correct, we have to check it in more
detail. We have reopened the bug: NB#97458 (Pannable area prevents
propagation of button press events)

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

* src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
that the selection is not empty before attempting to retrieve the
current ampm selection.

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

* src/hildon-picker-button.c:
(hildon_picker_button_on_dialog_response): Directly update the
button contents when required instead of calling _selection_changed.

15 years ago* Added the private file that was missing from the previous commit
Alejandro G. Castro [Fri, 23 Jan 2009 12:58:14 +0000 (12:58 +0000)]
* Added the private file that was missing from the previous commit

15 years agoFix another ChagenLog entry removed accidentally
Alberto Garcia [Fri, 23 Jan 2009 12:50:01 +0000 (12:50 +0000)]
Fix another ChagenLog entry removed accidentally

15 years ago2009-01-23 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 23 Jan 2009 12:24:43 +0000 (12:24 +0000)]
2009-01-23 Alberto Garcia <agarcia@igalia.com>

* src/hildon-program.c (hildon_program_update_top_most): Update
'is-topmost' property also when wm_hints is not set.

Fixes: NB#98383 (is-topmost signal is not emitted when task
switcher is clicked.)

15 years agoA ChangeLog entry was accidentaly removed in the previous commit. Reverting
Alberto Garcia [Fri, 23 Jan 2009 12:24:38 +0000 (12:24 +0000)]
A ChangeLog entry was accidentaly removed in the previous commit. Reverting

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

Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>

* src/Makefile.am,
* src/hildon.h,
* src/hildon-animation-actor.c,
* src/hildon-animation-actor.h: Added the animation actor class,
this widget represents an animation actor for WM-assisted
animation effects in the Hildon framework.

15 years ago2009-01-23 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 23 Jan 2009 10:42:49 +0000 (10:42 +0000)]
2009-01-23 Alberto Garcia <agarcia@igalia.com>

* src/hildon-window-stack-private.h
* src/hildon-window-stack.c
* src/hildon-stackable-window.c (hildon_stackable_window_show):
Avoid calling gtk_widget_show() again indirectly from
hildon_stackable_window_show()

15 years ago2009-01-23 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 23 Jan 2009 10:22:27 +0000 (10:22 +0000)]
2009-01-23 Alberto Garcia <agarcia@igalia.com>

* src/hildon-time-selector.c (hildon_time_selector_init): Remove
unused variable.

15 years ago2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 22 Jan 2009 17:06:40 +0000 (17:06 +0000)]
2009-01-22 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-time-selector.c: (hildon_time_selector_constructor),
(hildon_time_selector_init): Move the construction of the hours and
ampm columns to the constructor to preserve the order the columns
are appended.

15 years ago2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 22 Jan 2009 17:06:37 +0000 (17:06 +0000)]
2009-01-22 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c:
(hildon_picker_dialog_class_init): Connect a realize method.
(+hildon_picker_dialog_realize): Setup the interaction mode here
and not before.
(hildon_picker_dialog_show): Do not call setup_interaction_mode()
yet, do it during the realize instead.
(_on_dialog_response):
(_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
if the widget is not realized, to avoid the dialog response before it
is even shown.

Avoid premature responses in the HildonPickerDialog that can cause it
to be hidden before it's even shown.

15 years ago2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 22 Jan 2009 17:06:35 +0000 (17:06 +0000)]
2009-01-22 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
(on_selector_columns_changed), (requires_done_button),
(+prepare_action_area), (setup_interaction_mode),
(_hildon_picker_dialog_set_selector):

Split the interaction mode setup into preparation of the
action area (prepare_action_area()) and the connection of
the signals in setup_interaction_mode() and update the code to
reflect this.

15 years ago2009-01-22 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Thu, 22 Jan 2009 10:31:16 +0000 (10:31 +0000)]
2009-01-22 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Reduced the amount of scrolls
per second to 15, we will check if this is ok regarding
smoothness.

15 years ago2009-01-22 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Thu, 22 Jan 2009 09:48:14 +0000 (09:48 +0000)]
2009-01-22 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_axis_scroll): Avoid resize if we already have
reached overshoot_max.

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

* src/hildon-pannable-area.c,
(hildon_pannable_area_init),
(hildon_pannable_area_realize),
(hildon_pannable_area_size_allocate),
(hildon_pannable_area_map),
(hildon_pannable_area_unmap),
(hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll),
(hildon_pannable_area_expose_event),
(hildon_pannable_area_refresh): Added a new GdkWindow to the
pannable are to avoid the expose events go to the window and
redraw the window. We save this way that part of the stack and the
paint_boxes. We had to change the positions of the elements when
drawing.

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

* src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
* src/hildon-color-chooser-dialog.c:
(hildon_color_chooser_dialog_init):
* src/hildon-font-selection-dialog.c:
(hildon_font_selection_dialog_init),
(hildon_font_selection_dialog_show_preview):
* src/hildon-get-password-dialog.c:
* src/hildon-login-dialog.c:
* src/hildon-set-password-dialog.c:
* src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
* src/hildon-time-picker.c: (hildon_time_picker_init):

Remove obsolete logical string IDs and update to the appropriate ones.

Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)

15 years ago2009-01-21 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 21 Jan 2009 16:41:03 +0000 (16:41 +0000)]
2009-01-21 Alberto Garcia <agarcia@igalia.com>

* src/hildon-window.c (hildon_window_update_topmost): Fix warning
that happens if the window hasn't been realized yet.

Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
- gdkdrawable-x11.c:878 drawable is not a pixmap or window)

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

* src/hildon-app-menu.c (hildon_app_menu_class_init)
(+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
by another grab.

Fixes: NB#98537 (Device hangs in account settings dialog)

15 years agoFix debian/changelog
Claudio Saavedra [Tue, 20 Jan 2009 14:41:50 +0000 (14:41 +0000)]
Fix debian/changelog

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

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

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

[Release 2.1.36]

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

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)