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.
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))
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())
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.
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.
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)
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.)
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
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)
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.
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.
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)
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.
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)
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)
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.
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().
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.
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.
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.
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.
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.
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.
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.
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)
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.
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.
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)
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
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.
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.
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.
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)
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.
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.
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.)
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.
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.
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)
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)
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())
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.
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)
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.
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().
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.
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.
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)
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.
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)
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()
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.
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)
Claudio Saavedra [Tue, 27 Jan 2009 16:20:00 +0000 (16:20 +0000)]
Actually update the debian/changelog
Claudio Saavedra [Tue, 27 Jan 2009 16:15:30 +0000 (16:15 +0000)]
bump GTK+ dependency to 2.12.12-1maemo7
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)
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)
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)
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.
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.
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.
Claudio Saavedra [Mon, 26 Jan 2009 11:09:41 +0000 (11:09 +0000)]
Exclude libhildon1-doc when DEB_BUILD_OPTIONS=nodocs is passed.
Claudio Saavedra [Mon, 26 Jan 2009 08:52:08 +0000 (08:52 +0000)]
Fix DEB_BUILD_OPTIONS=nodocs
Claudio Saavedra [Mon, 26 Jan 2009 08:52:06 +0000 (08:52 +0000)]
Updates from 2.1.36-2
Claudio Saavedra [Mon, 26 Jan 2009 08:52:05 +0000 (08:52 +0000)]
Exclude from debian/changelog pannable area bug whose fix was reverted.
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.
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)
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.
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.
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
Alberto Garcia [Fri, 23 Jan 2009 12:50:01 +0000 (12:50 +0000)]
Fix another ChagenLog entry removed accidentally
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.)
Alberto Garcia [Fri, 23 Jan 2009 12:24:38 +0000 (12:24 +0000)]
A ChangeLog entry was accidentaly removed in the previous commit. Reverting
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.
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()
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.
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.
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.
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.
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.
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.
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.
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)
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)
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)
Claudio Saavedra [Tue, 20 Jan 2009 14:41:50 +0000 (14:41 +0000)]
Fix debian/changelog
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
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.
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
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)
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.
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.
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)
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.
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.
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.
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.
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)
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().
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)