Claudio Saavedra [Tue, 9 Jun 2009 12:29:17 +0000 (15:29 +0300)]
Use hildon_touch_selector_set/get_text_column() in the touchselector widgets
* hildon/hildon-date-selector.c:
(hildon_date_selector_construct_ui):
* hildon/hildon-time-selector.c:
(hildon_time_selector_constructor):
* hildon/hildon-touch-selector-entry.c:
(hildon_touch_selector_entry_set_text_column),
(hildon_touch_selector_entry_get_text_column):
* hildon/hildon-touch-selector.c: (_default_print_func),
(hildon_touch_selector_new_text): Use
hildon_touch_selector_set/get_text_column() instead of
setting/getting the "text-column" property.
Claudio Saavedra [Tue, 9 Jun 2009 08:47:03 +0000 (11:47 +0300)]
Make hildon_touch_selector_column_get/set_column public
* doc/hildon-sections.txt: Add the new public methods below.
* examples/hildon-picker-button-multicolumn-example.c:
(create_touch_selector):
* examples/hildon-touch-selector-example.c: (create_selector):
* examples/hildon-touch-selector-multi-cells-example.c:
(create_selector):
Use hildon_touch_selector_column_set_text_column()
* hildon/hildon-touch-selector-column.h:
* hildon/hildon-touch-selector.c:
(hildon_touch_selector_column_set_text_column),
(hildon_touch_selector_column_get_text_column):
Make hildon_touch_selector_column_set/get_column() public, use
them in the inline example, document them, and reference to them
in the docs.
Claudio Saavedra [Tue, 9 Jun 2009 08:50:16 +0000 (11:50 +0300)]
Fix the docs for hildon_time_selector_new_step()
* hildon/hildon-time-selector.c: Fix the docs for
hildon_time_selector_new_step().
Claudio Saavedra [Tue, 9 Jun 2009 06:41:40 +0000 (09:41 +0300)]
Improve the hildon_touch_selector_append_column() documentation
* hildon/hildon-touch-selector.c: Improve the documentation for
hildon_touch_selector_append_column().
Fixes MB#4641 (Documentation:
hildon_touch_selector_append_column() ref-counting)
Claudio Saavedra [Mon, 8 Jun 2009 15:07:07 +0000 (18:07 +0300)]
Comment out test of broken hildon_controlbar_set_range()
* tests/check-hildon-controlbar.c: (test_set_range_invalid):
Comment out test 5, since the hildon_controlbar_set_range() range
check is broken and fixing it would have side effects. Also,
this finally fixes make distcheck.
Fixes: NB#101420 (Update unit tests and fix make distcheck)
Claudio Saavedra [Wed, 13 May 2009 19:52:32 +0000 (22:52 +0300)]
Remove bogus test from HildonControlbar
* tests/TEST-CASES.txt: Remove other bogus test.
* tests/check-hildon-controlbar.c: (test_set_value_invalid):
Remove bogus test that was setting/retrieving a valid value.
Claudio Saavedra [Wed, 13 May 2009 19:32:45 +0000 (22:32 +0300)]
Remove three bogus tests for HildonColorChooser
* tests/TEST-CASES.txt: Remove bogus tests.
* tests/check-hildon-color-chooser.c: (test_set_color_invalid):
Remove three bogus tests that were actually setting valid colors.
Claudio Saavedra [Mon, 8 Jun 2009 14:27:51 +0000 (17:27 +0300)]
Fix debian/changelog
Claudio Saavedra [Mon, 8 Jun 2009 13:42:23 +0000 (16:42 +0300)]
Post release version bump
* configure.ac: post release version bump
* debian/changelog: post release version bump
Claudio Saavedra [Mon, 8 Jun 2009 13:40:40 +0000 (16:40 +0300)]
Release 2.1.80
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Claudio Saavedra [Mon, 8 Jun 2009 13:27:50 +0000 (16:27 +0300)]
Backfold debian/changelog 2.1.78-2
Christian Dywan [Mon, 8 Jun 2009 11:33:23 +0000 (14:33 +0300)]
Correct errors in hildon_format_file-size_for_display
* debian/changelog:
* debian/control:
* hildon/hildon-helper.c (hildon_format_file_size_for_display):
Correct errors in hildon_format_file-size_for_display and use
translations from the hildon-fm package instead of osso-filemanager.
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
Alejandro G. Castro [Mon, 8 Jun 2009 11:06:57 +0000 (13:06 +0200)]
Improved the diagonal movement adjustment handling.
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_init): Initialized new values to handle the
adjustment position.
(hildon_pannable_area_adjust_value_changed): Check if the values
changed before even call the redraw function.
(hildon_pannable_area_size_allocate),
(hildon_pannable_axis_scroll),
(hildon_pannable_area_scroll),
(hildon_pannable_area_jump_to): Improved the diagonal movement
case.
Fixes: NB#113065 (Image viewer image scrolling updates in X, then
Y)
Alberto Garcia [Mon, 8 Jun 2009 10:51:31 +0000 (12:51 +0200)]
Updated HildonBanner example
* examples/hildon-banner-example.c:
Several style updates
(on_animation_clicked, on_animation_idle)
(on_progress_clicked, on_progress_idle):
Add additional reference for the cases when the parent window is
destroyed.
Alberto Garcia [Mon, 8 Jun 2009 08:49:35 +0000 (10:49 +0200)]
Documentation updates
* doc/hildon-sections.txt
* hildon/hildon-pannable-area.c
* hildon/hildon-banner.h
* hildon/hildon-banner.c: Documentation updates.
Fixes: MB#4643 (Documentation: hildon_banner_show_information()
memory management)
Alejandro G. Castro [Fri, 5 Jun 2009 10:21:36 +0000 (12:21 +0200)]
Replaced gtk 2.14 deprecated symbols
* hildon/hildon-calendar-popup.h:
* hildon/hildon-caption.h:
* hildon/hildon-code-dialog.h:
* hildon/hildon-controlbar.h:
* hildon/hildon-date-editor.h:
* hildon/hildon-dialog.h:
* hildon/hildon-get-password-dialog.h:
* hildon/hildon-hvolumebar.h:
* hildon/hildon-login-dialog.h:
* hildon/hildon-note.h:
* hildon/hildon-number-editor.h:
* hildon/hildon-range-editor.h:
* hildon/hildon-seekbar.h:
* hildon/hildon-set-password-dialog.h:
* hildon/hildon-sort-dialog.h:
* hildon/hildon-time-editor.h:
* hildon/hildon-time-picker.h:
* hildon/hildon-volumebar-range.h:
* hildon/hildon-volumebar.h:
* hildon/hildon-vvolumebar.h:
* hildon/hildon-weekday-picker.h:
* hildon/hildon-window.h:
* hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
macros with the current replacements
Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
Claudio Saavedra [Thu, 4 Jun 2009 15:45:19 +0000 (18:45 +0300)]
Improve size of HildonColorButton
* hildon/hildon-color-button.c (hildon_color_button_init): Use
HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
itself, to make it fit better with Fremantle style.
Fixes: NB#109878 (height and width of focus on color icon is not
consistent with other item in the application tool bar)
Alejandro Piñeiro [Tue, 2 Jun 2009 11:56:44 +0000 (13:56 +0200)]
HildonTouchSelector::optimal_size_request need to manage any extra widget added
internally
* hildon/hildon-touch-selector.c:
(hildon_touch_selector_optimal_size_request): use the current requisition
as the base, in order to include any possible extra widget, like the
hildon entry on HildonTouchSelectorEntry
Fixes: NB#119805 (Merge conflict picker dialogs are too small)
Claudio Saavedra [Fri, 29 May 2009 15:42:46 +0000 (17:42 +0200)]
Post release version bump
Claudio Saavedra [Fri, 29 May 2009 15:34:41 +0000 (17:34 +0200)]
Release 2.1.78
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Claudio Saavedra [Fri, 29 May 2009 13:28:28 +0000 (15:28 +0200)]
Properly center HildonBanner contents
* hildon/hildon-banner-private.h: Add a GtkAlignment to the private
structure.
* hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
to ensure the banner contents are centered, instead of relying on
the expand and fill properties in GtkHBox.
(hildon_banner_ensure_child): Do not expand nor fill the child widget.
Fixes: NB#108265 (Animation banner not properly centered)
Alejandro Piñeiro [Thu, 28 May 2009 15:50:40 +0000 (17:50 +0200)]
Ensure to show the scrollbars, if required, on the adjustment::changed signal
handler
* hildon/hildon-pannable-area.c
(hildon_pannable_area_initial_effect): Remove the initial_effect
management, check initial_hint
(hildon_pannable_are_expose_event): Remove the initial_hint management,
set initial_effect to FALSE
(hildon_pannable_are_refresh): Check if we need to show the scrollbars,
by launching the fade_timeout if the scrollbars state has changed and are
visible
* examples/hildon-pannable-area-initial-hint-example.c
Modified to allow to remove rows too. Add and remove rows one by one
Alberto Garcia [Thu, 28 May 2009 09:27:18 +0000 (11:27 +0200)]
Don't close HildonAppMenu if there's an animation actor below it
* hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
Don't close the menu if there's an animation actor below it.
Fixes: NB#117927 (Application menu not usable with animation
actors)
Claudio Saavedra [Wed, 27 May 2009 14:59:21 +0000 (17:59 +0300)]
Do not focus on clicking the HildonPickerDialog button
* hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
"focus-on-click" from the dialog button, to avoid stealing the
focus from the entry.
Fixes: NB#118903 (Account setup wizard: Text in Search field
should be focused when "Region" touch list picker is reopened
again)
Claudio Saavedra [Wed, 27 May 2009 14:16:04 +0000 (17:16 +0300)]
Hide the separator in HildonPickerDialog
* hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
(prepare_action_area): Completely hide the dialog separator.
Claudio Saavedra [Wed, 27 May 2009 14:06:56 +0000 (17:06 +0300)]
Use HildonEntry API in HildonTouchSelectorEntry
* hildon/hildon-touch-selector-entry.c
(hildon_touch_selector_entry_print_func), (entry_on_text_changed),
(hildon_touch_selector_entry_changed): Use HildonEntry text API,
now that the entry is exposed.
Claudio Saavedra [Wed, 27 May 2009 11:11:21 +0000 (14:11 +0300)]
Avoid unnecessary scaling in HildonTouchSelectorEntry
* hildon/hildon-touch-selector-entry.c
(hildon_touch_selector_entry_init): Change the entry's size
to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
Claudio Saavedra [Wed, 27 May 2009 10:37:11 +0000 (12:37 +0200)]
Change default height for HildonEntry
* hildon/hildon-entry.c (hildon_entry_class_init): Set the default
height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
avoid unnecessary scaling.
Alberto Garcia [Wed, 27 May 2009 10:37:43 +0000 (12:37 +0200)]
Create grab transfer window for HildonAppMenu before mapping
* hildon/hildon-app-menu.c (hildon_app_menu_map):
Create grab transfer window before calling parent's map function.
Fixes: NB#115988 (hildon_app_menu_popup creates menu with
"crushed" button(s) in the top left corner)
Alberto Garcia [Tue, 26 May 2009 11:10:28 +0000 (13:10 +0200)]
Check if a window is already realized when adding it to a stack
* hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
Check if the window is already realized when pushing it.
Claudio Saavedra [Mon, 25 May 2009 18:19:17 +0000 (20:19 +0200)]
post release version bump
Claudio Saavedra [Mon, 25 May 2009 15:38:49 +0000 (17:38 +0200)]
Release 2.1.76
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Claudio Saavedra [Tue, 19 May 2009 13:12:58 +0000 (16:12 +0300)]
Backfold debian/changelog
Alberto Garcia [Mon, 25 May 2009 17:57:06 +0000 (19:57 +0200)]
Doc updates to HildonAppMenu
* hildon/hildon-app-menu.c: Doc updates.
Claudio Saavedra [Mon, 25 May 2009 17:49:32 +0000 (20:49 +0300)]
Remove a leftover macro
* hildon/hildon-banner.c: Remove leftover macro.
Alejandro G. Castro [Mon, 25 May 2009 17:23:20 +0000 (19:23 +0200)]
Reviewed the minimum speed conditions.
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_scroll_indicator_fade),
(hildon_pannable_area_button_release_cb): Reviewed vmin
conditions, it could cause problems in the fadeout procedure.
Alejandro G. Castro [Fri, 22 May 2009 09:27:56 +0000 (11:27 +0200)]
Added a threshold to push the animation if the speed is big (MAX_SPEED_THRESHOLD).
* hildon/hildon-pannable-area.c
(hildon_pannable_area_button_release_cb): Added a threshold to
push the animation if the speed is big (MAX_SPEED_THRESHOLD).
Alejandro G. Castro [Fri, 22 May 2009 09:22:03 +0000 (11:22 +0200)]
Added code to sync the gtk dnd threshold with the panning threshold.
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_set_property): Added code to sync the gtk
dnd threshold with the panning threshold.
Alejandro G. Castro [Fri, 22 May 2009 09:19:06 +0000 (11:19 +0200)]
Changed some of the default values.
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Changed some of the default
values, now it should be less responsive and more accurate.
Alejandro G. Castro [Fri, 22 May 2009 09:09:04 +0000 (11:09 +0200)]
Replaced the name of the clicked attribute, now it is button_pressed
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_init),
(hildon_pannable_area_scroll_indicator_fade),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_axis_scroll),
(hildon_pannable_area_timeout),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_button_release_cb): Changed the name of the
clicked attribute to button_pressed, it is more clear about its use.
Alejandro Piñeiro [Mon, 25 May 2009 17:11:57 +0000 (19:11 +0200)]
Fix minor issues on hildon-pannable-area.c
* src/hildon-pannable-area.c
(hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
to 0
(hildon_pannable_area_initial_effect): avoid to compute horizontal and
vertical scrollbar visibility, and use the data on private section instead,
remove the initial_hint check
(hildon_pannable_area_expose_event): add the initial_hint check here
Alejandro Piñeiro [Mon, 25 May 2009 16:12:15 +0000 (18:12 +0200)]
Ensure to show the initial-hint the first time the pannable becomes
scrollable
* src/hildon-pannable-area.c
(hildon_pannable_area_initial_effect): set to FALSE initial_effect
if the fadeout effect was used
(hildon_pannable_area_expose_event): check if it is required to
manage the initial effect on the begining of the function. Previously
it was made at the end, but this doesn't ensure that the scrollbars
will be painted on the first show. Do not set to FALSE initial_effect,
to ensure that the initial hint is showed the first time the pannable
becomes scrollable
* examples/Makefile.am
* examples/hildon-pannable-area-initial-hint-example.c:
New example, to show that the initial-hint is showed when the widget
becomes scrollable
Fixes: NB#116607 (Pannable area should always have scrollbar visible
initially if the application can be scrolled)
Alberto Garcia [Tue, 21 Apr 2009 18:05:45 +0000 (20:05 +0200)]
Optimize hildon_app_menu_repack_items() to resize the table just once
* hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
Resize table before adding new items to make sure that
gtk_table_resize() is called just once.
Alberto Garcia [Tue, 21 Apr 2009 17:54:09 +0000 (19:54 +0200)]
Rearrange HildonAppMenu items just once in gtk_widget_show_all/hide_all
* hildon/hildon-app-menu-private.h
* hildon/hildon-app-menu.c (item_visibility_changed)
(filter_visibility_changed, hildon_app_menu_show_all)
(hildon_app_menu_hide_all, hildon_app_menu_init):
Rearrange items just once when gtk_widget_show_all()/hide_all()
are used.
Alberto Garcia [Mon, 20 Apr 2009 18:27:12 +0000 (20:27 +0200)]
Don't call gtk_widget_show() when adding items to HildonAppMenu
* hildon/hildon-app-menu.c
(hildon_app_menu_insert, hildon_app_menu_add_filter):
Don't call gtk_widget_show() on added items.
Fixes: NB#109063 (HildonAppMenu shouldn't show its items
automatically when they're added)
Alberto Garcia [Wed, 20 May 2009 18:09:51 +0000 (20:09 +0200)]
Redisplay HildonBanner if the screen is rotated
* hildon/hildon-banner.c
(hildon_banner_realize, +hildon_banner_unrealize)
(+screen_size_changed, hildon_banner_class_init):
Redisplay the banner if the screen is rotated.
Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
on transition from landscape to portrait)
Alberto Garcia [Wed, 20 May 2009 18:10:43 +0000 (20:10 +0200)]
Fix ChangeLog dates
Alejandro Piñeiro [Wed, 20 May 2009 15:52:23 +0000 (17:52 +0200)]
Fix some typos on the hildon_banner_show_information_override_dnd
* hildon/hildon-banner.[ch]:
(hildon_banner_show_information_override_dnd): remove icon_name from the
method definition as it is ignored.
* examples/hildon-banner-dnd-example.c: updated with the change on
hildon-banner.h API
Alejandro Piñeiro [Wed, 20 May 2009 13:51:38 +0000 (15:51 +0200)]
Add a new method hildon_banner_show_information_override_dnd
* hildon/hildon-banner-private.h: new require_override_dnd and
overrides_dnd variables
* hildon/hildon-banner.h:
(hildon_banner_show_information_override_dnd): new method, that shows
the information but sets the override flag, in order to show important
messages
* hildon/hildon-banner.c
(hildon_banner_show_information_override_dnd): new method
(hildon_banner_set_override_flag): new utility function
(hildon_banner_real_show_information): new utility function, in order to
generalize the current hildon_banner_show_information_override_dnd and
hildon_banner_show_information_override_dnd
* examples/Makefile.am
* examples/hildon-banner-dnd-example.c: New example that show how to
use the new hildon_banner_show_information_override_dnd
Fixes: NB#114874 (There is no possibility to show hildon banners with
DND flag set)
Claudio Saavedra [Wed, 20 May 2009 11:36:14 +0000 (14:36 +0300)]
Add a comment explaining the math behind hildon_pannable_calculate_vel_factor()
* hildon/hildon-pannable-area.c: Add a comment explaining the math
behind hildon_pannable_calculate_vel_factor().
Claudio Saavedra [Wed, 20 May 2009 11:16:55 +0000 (14:16 +0300)]
Correct the calculation of velocity factor in pannable area
* hildon/hildon-pannable-area.c
(hildon_pannable_calculate_vel_factor): Correct the sum of the
deceleration factors.
Claudio Saavedra [Wed, 20 May 2009 11:14:37 +0000 (14:14 +0300)]
Reduce 'scroll-time' default value to 1 second.
* hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
Reduce the default value for 'scroll_time' to 1 second, since the
current initial scrolling takes too much time.
Claudio Saavedra [Wed, 20 May 2009 09:44:08 +0000 (12:44 +0300)]
Do not calculate velocity factor during pannable initialization
* hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
calculate velocity factor during initialization, since the properties
are not yet set.
Claudio Saavedra [Wed, 20 May 2009 09:42:21 +0000 (12:42 +0300)]
Calculate velocity factor after setting deceleration property
* hildon/hildon-pannable-area.c
(hildon_pannable_area_set_property): Calculate the velocity factor
after setting the deceleration property and not after.
Alberto Garcia [Wed, 20 May 2009 10:27:46 +0000 (12:27 +0200)]
Add a 'size' property to HildonCheckButton and HildonEntry
* hildon/hildon-entry.c
(hildon_entry_class_init, +set_property, hildon_entry_new)
* hildon/hildon-check-button.c
(hildon_check_button_class_init)
(+set_property, hildon_check_button_new):
Make the theme size a property.
Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
others) do too much in the _new function)
Claudio Saavedra [Mon, 18 May 2009 10:10:21 +0000 (13:10 +0300)]
Post release version bump
* configure.ac: post release version bump
* debian/changelog: post release version bump
Claudio Saavedra [Mon, 18 May 2009 10:07:30 +0000 (13:07 +0300)]
Release 2.1.74
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Alberto Garcia [Fri, 15 May 2009 15:47:28 +0000 (17:47 +0200)]
gdk_event_new() already returns a struct filled with zeros
Alberto Garcia [Wed, 18 Mar 2009 17:47:59 +0000 (18:47 +0100)]
New API function to take a screenshot of a window
* hildon/hildon-gtk.h
* hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
New API function to take a screenshot of a window
Fixes: NB#106374 (Need API to take a loading screenshot)
Alejandro Piñeiro [Fri, 15 May 2009 13:32:17 +0000 (15:32 +0200)]
Prevent to use unitialized values on hildon-time-selector.c
* hildon/hildon-time-selector.c
(update_format_policy): prevent to use hours and minutes unitialized
Alberto Garcia [Wed, 1 Apr 2009 14:37:46 +0000 (16:37 +0200)]
Make HildonWindow request always the full size of the screen
* hildon/hildon-window.c (hildon_window_size_request):
Always request the full size of the screen (minus the title bar if
not in fullscreen mode).
Fixes: NB#107486 (HildonWindow should size itself properly)
Claudio Saavedra [Thu, 14 May 2009 13:40:38 +0000 (16:40 +0300)]
Fix debian/changelog
Claudio Saavedra [Wed, 13 May 2009 13:09:55 +0000 (16:09 +0300)]
Backfold debian/changelog
Claudio Saavedra [Wed, 13 May 2009 13:02:54 +0000 (16:02 +0300)]
Remove reopened bug from debian/changelog
Claudio Saavedra [Thu, 14 May 2009 10:56:37 +0000 (13:56 +0300)]
Disconnect the idle sound handler in notes during finalization
* hildon/hildon-note-private.h: Add idle_handler to the private data.
* hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
(on_show_cb), (sound_handling): Disconnect the idle handler for
the sound when the note is finalized to avoid possible crashes.
Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
in a scenario)
Artem Egorkine [Wed, 13 May 2009 14:58:32 +0000 (17:58 +0300)]
Clean up signal handlers in animation actor and remote texture
* src/hildon-animation-actor.c,
* src/hildon-remote-texture.c:
Added proper object cleanup to remove signal handler and object
references as HildonAnimationActor and HildonRemoteTexture
objects get destroyed.
Fixes: NB#116682 (Destroying parented animation actors when
parent in unmapped leads to crash)
Claudio Saavedra [Wed, 13 May 2009 10:41:28 +0000 (13:41 +0300)]
Add new file size formatting method
Based on a patch by Christian Dywan (christian@imendio.com)
* doc/hildon-sections.txt:
* hildon/hildon-helper.c (+hildon_format_file_size_for_display):
* hildon/hildon-helper.h: New file size formatting method.
* debian/changelog:
* debian/control: Depend on osso-filemanager l10n package for
proper localization strings.
Claudio Saavedra [Tue, 12 May 2009 21:48:03 +0000 (00:48 +0300)]
Fix tests build during make distcheck
* tests/Makefile.am: Include top_srcdir to make possible to build
tests in a different builddir.
* tests/*.c: Include <hildon/hildon-*.h> to allow building tests
on a different builddir.
Claudio Saavedra [Tue, 12 May 2009 20:11:23 +0000 (23:11 +0300)]
Backfold debian/changelog
Claudio Saavedra [Tue, 12 May 2009 15:55:36 +0000 (18:55 +0300)]
2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
* hildon/hildon-touch-selector.c (disconnect_model_handlers),
(hildon_touch_selector_remove): Disconnect model's signal handler
on column removal.
Fixes: NB#116289 (Hildon home crashes while adding task
shortcuts.)
Alberto Garcia [Mon, 11 May 2009 14:09:28 +0000 (16:09 +0200)]
Hide labels containing an empty string in HildonButton
* hildon/hildon-button.c
(hildon_button_set_title, hildon_button_set_value):
Hide labels containing an empty string.
Claudio Saavedra [Mon, 11 May 2009 10:22:48 +0000 (13:22 +0300)]
Post release version bump
* configure.ac: post release version bump
* debian/changelog: post release version bump
Claudio Saavedra [Mon, 11 May 2009 10:19:10 +0000 (13:19 +0300)]
Release 2.1.72
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Claudio Saavedra [Mon, 11 May 2009 07:52:18 +0000 (10:52 +0300)]
Fix trailing whitespaces.
Claudio Saavedra [Mon, 11 May 2009 07:48:24 +0000 (10:48 +0300)]
Fix ChangeLog entry
Alejandro Piñeiro [Fri, 8 May 2009 15:34:38 +0000 (17:34 +0200)]
Play the sound on hildon-note using "show" event and a idle
* hildon/hildon-note-private.h: Removed sound_signal_handler
* hildon/hildon-note.c
(on_show_cb): new callback on note "show" event, this simply adds
a idle, with the function sound_handling
(sound_handling): removed the sound_signal_handler management
(hildon_note_init): connect note "show" event to on_show_cb
(hildon_note_realize): remove the connection to "expose-event"
Fixes: NB#115242 (Sound is not played every time for the 'Switch off
device?' confirmation note
Alberto Garcia [Fri, 8 May 2009 15:16:58 +0000 (17:16 +0200)]
HildonNote: terminate the list of parameters in g_object_set() calls
* hildon/hildon-note.c
(hildon_note_new_information_with_icon_name)
(hildon_note_new_confirmation_with_icon_name):
Terminate the list of parameters in g_object_set() calls
Fixes: NB#115166 (Formatting memory card is not taking place)
Claudio Saavedra [Fri, 8 May 2009 13:31:57 +0000 (16:31 +0300)]
Set the "dialog-information" role for the sound being played.
* hildon/hildon-sound.c (hildon_play_system_sound): Set the
"dialog-information" role for the sound being played.
Alberto Garcia [Wed, 6 May 2009 16:52:22 +0000 (18:52 +0200)]
Don't make HildonAppMenu a modal window
* hildon/hildon-app-menu.c (hildon_app_menu_init):
Don't make the menu a modal window, it causes strange interactions
with the pointer grab and it's not really needed.
Fixes: NB#105529 (Empty App menu is launched in a scenario.)
Alejandro Piñeiro [Wed, 6 May 2009 16:20:11 +0000 (18:20 +0200)]
Fixed the hard-coded height in HildonPickerDialog
* hildon/hildon-touch-selector.[ch]
(hildon_touch_selector_optimal_size_request): function added to get a
optimal size request from the touch selector, when you want a dialog to
show as much of the selector
* hildon/hildon-picker-dialog.c:
Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
(hildon_app_menu_class_init):
New "max-height-landscape" and "max-height-portrait" style properties
(hildon_picker_dialog_size_request): redefined GtkWidget::size_request
(hildon_picker_dialog_get_max_height): returns the maximum height using
the style properties defined and checking the current portrait/landscape
status
(_hildon_picker_dialog_set_selector): removed the set_size_request
Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
Claudio Saavedra [Wed, 6 May 2009 12:13:42 +0000 (15:13 +0300)]
Mention some replacements for deprecated widgets.
* hildon/hildon-bread-crumb-trail.c:
* hildon/hildon-bread-crumb.c:
* hildon/hildon-seekbar.c:
Add reference to replacements for these deprecated widgets.
Fixes: MB#4461 (Documentation: All deprecations should mention
replacements)
Alejandro Piñeiro [Wed, 6 May 2009 11:36:36 +0000 (13:36 +0200)]
Fix a include on the hildon-remote-texture-example
* examples/hildon-remote-texture-example.c
Change the include to the hildon-remote-texture in order to compile
properly the examples on the installed libhildon1-examples package
Claudio Saavedra [Tue, 5 May 2009 12:13:17 +0000 (15:13 +0300)]
Add three simple tests for HildonPickerButton
* tests/Makefile.am: Add check for HildonPickerButton.
* tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
(START_TEST), (create_hildon_picker_button_suite): Add three simple
checks for the HildonPickerButton.
* tests/check_test.c (configure_tests): Add the test suite.
* tests/test_suites.h: likewise.
Claudio Saavedra [Tue, 5 May 2009 11:35:46 +0000 (14:35 +0300)]
Emit HildonTouchSelector:changed when a selected row changes
* hildon/hildon-touch-selector.c
(+on_row_changed): Emit HildonTouchSelector:changed when the
contents of a selected row change.
(_create_new_column), (_hildon_touch_selector_set_model): connect
to GtkTreeModel:row-changed on a newly set model.
Fixes: NB#114253 (HildonPickerButton not refreshing its value)
Alberto Garcia [Tue, 5 May 2009 10:45:25 +0000 (12:45 +0200)]
Replace the progress bar in HildonBanner with a progress indicator
Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
* hildon/hildon-banner.c (hildon_banner_destroy)
(hildon_banner_show_progress, hildon_banner_set_fraction):
Remove the progress bar from HildonBanner and use a progress
indicator instead.
Fixes: NB#113761 (Update progress banner to use progress
indicator)
Alberto Garcia [Mon, 4 May 2009 18:00:43 +0000 (20:00 +0200)]
Calculate max label size of HildonBanner using the actual screen width
* hildon/hildon-banner.c:
Calculate size of the banner label using the actual screen width
rather than using a fixed value.
Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
is truncated)
Alberto Garcia [Mon, 4 May 2009 14:15:22 +0000 (16:15 +0200)]
Minor style fixes
Alejandro G. Castro [Mon, 4 May 2009 11:24:06 +0000 (13:24 +0200)]
Fixed documentation
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Fixed signals documentation
typo.
Claudio Saavedra [Mon, 4 May 2009 08:50:55 +0000 (11:50 +0300)]
Post release version bump
Claudio Saavedra [Mon, 4 May 2009 08:44:44 +0000 (11:44 +0300)]
Release 2.1.70
* NEWS: Updates.
* configure.ac: Bump version.
* debian/changelog: Updates.
Alberto Garcia [Fri, 1 May 2009 16:26:14 +0000 (18:26 +0200)]
Don't let buttons in HildonEditToolbar receive focus
* hildon/hildon-edit-toolbar.c
(hildon_edit_toolbar_init):
Don't let buttons in HildonEditToolbar receive focus.
Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
typing on an HW arrows key)
Claudio Saavedra [Thu, 30 Apr 2009 14:42:10 +0000 (17:42 +0300)]
Build fix
* doc/Makefile.am: Fix build.
Claudio Saavedra [Thu, 30 Apr 2009 12:41:56 +0000 (15:41 +0300)]
Do no redefine content_files in doc/Makefile.am
* doc/Makefile.am: Do not redefine content_files.
Alberto Garcia [Thu, 30 Apr 2009 11:10:26 +0000 (13:10 +0200)]
Renamed src/ to hildon/
* src/
* Makefile.am
* configure.ac
* doc/Makefile.am
* doc/hildon.types
* po/POTFILES.in:
Renamed src/ to hildon/
* examples/*.c
* debian/changelog
* debian/rules:
Include <hildon/hildon.h> directly in all examples.
Alberto Garcia [Thu, 30 Apr 2009 11:31:58 +0000 (13:31 +0200)]
Post release version bump
* configure.ac: post release version bump.
* debian/changelog: version bump.
Alejandro Piñeiro [Wed, 29 Apr 2009 17:19:57 +0000 (19:19 +0200)]
Add safety checks to hildon-sort-dialog.c
* src/hildon-sort-dialog.c
(hildon_sort_dialog_add_sort_key_with_sorting)
(sort_key_changed)
Add safety checks
Claudio Saavedra [Wed, 29 Apr 2009 16:07:29 +0000 (19:07 +0300)]
Move generated sources under src/ to CLEANFILES
* src/Makefile.am: Move generated sources to CLEANFILES, so that
make distcheck passes.
Claudio Saavedra [Wed, 29 Apr 2009 15:57:38 +0000 (18:57 +0300)]
Enable gtk-doc during distcheck
* Makefile.am: Enable gtk-doc during distcheck.
Claudio Saavedra [Wed, 29 Apr 2009 15:53:49 +0000 (18:53 +0300)]
Do not distribute the debian/ directory
* Makefile.am: Do not distribute the debian/ directory.
Claudio Saavedra [Wed, 29 Apr 2009 15:21:14 +0000 (18:21 +0300)]
Distribute properly extra SGML files in the documentation
* doc/Makefile.am: Add the extra SGML files to content_files,
so that they are distributed properly.