hildon
14 years agoUse hildon_touch_selector_set/get_text_column() in the touchselector widgets
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.

14 years agoMake hildon_touch_selector_column_get/set_column public
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.

14 years agoFix the docs for hildon_time_selector_new_step()
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().

14 years agoImprove the hildon_touch_selector_append_column() documentation
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)

14 years agoComment out test of broken hildon_controlbar_set_range()
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)

14 years agoRemove bogus test from HildonControlbar
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.

14 years agoRemove three bogus tests for HildonColorChooser
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.

14 years agoFix debian/changelog
Claudio Saavedra [Mon, 8 Jun 2009 14:27:51 +0000 (17:27 +0300)]
Fix debian/changelog

14 years agoPost release version bump
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

14 years agoRelease 2.1.80
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.

14 years agoBackfold debian/changelog 2.1.78-2
Claudio Saavedra [Mon, 8 Jun 2009 13:27:50 +0000 (16:27 +0300)]
Backfold debian/changelog 2.1.78-2

14 years agoCorrect errors in hildon_format_file-size_for_display
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>

14 years agoImproved the diagonal movement adjustment handling.
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)

14 years agoUpdated HildonBanner example
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.

14 years agoDocumentation updates
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)

14 years agoReplaced gtk 2.14 deprecated symbols
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)

14 years agoImprove size of HildonColorButton
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)

14 years agoHildonTouchSelector::optimal_size_request need to manage any extra widget added
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)

14 years agoPost release version bump
Claudio Saavedra [Fri, 29 May 2009 15:42:46 +0000 (17:42 +0200)]
Post release version bump

14 years agoRelease 2.1.78 2.1.78-1
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.

14 years agoProperly center HildonBanner contents
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)

14 years agoEnsure to show the scrollbars, if required, on the adjustment::changed signal
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

14 years agoDon't close HildonAppMenu if there's an animation actor below it
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)

14 years agoDo not focus on clicking the HildonPickerDialog button
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)

14 years agoHide the separator in HildonPickerDialog
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.

14 years agoUse HildonEntry API in HildonTouchSelectorEntry
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.

14 years agoAvoid unnecessary scaling in HildonTouchSelectorEntry
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.

14 years agoChange default height for HildonEntry
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.

14 years agoCreate grab transfer window for HildonAppMenu before mapping
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)

14 years agoCheck if a window is already realized when adding it to a stack
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.

14 years agopost release version bump
Claudio Saavedra [Mon, 25 May 2009 18:19:17 +0000 (20:19 +0200)]
post release version bump

14 years agoRelease 2.1.76
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.

14 years agoBackfold debian/changelog
Claudio Saavedra [Tue, 19 May 2009 13:12:58 +0000 (16:12 +0300)]
Backfold debian/changelog

14 years agoDoc updates to HildonAppMenu
Alberto Garcia [Mon, 25 May 2009 17:57:06 +0000 (19:57 +0200)]
Doc updates to HildonAppMenu

* hildon/hildon-app-menu.c: Doc updates.

14 years agoRemove a leftover macro
Claudio Saavedra [Mon, 25 May 2009 17:49:32 +0000 (20:49 +0300)]
Remove a leftover macro

* hildon/hildon-banner.c: Remove leftover macro.

14 years agoReviewed the minimum speed conditions.
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.

14 years agoAdded a threshold to push the animation if the speed is big (MAX_SPEED_THRESHOLD).
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).

14 years agoAdded code to sync the gtk dnd threshold with the panning 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.

14 years agoChanged some of the default values.
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.

14 years agoReplaced the name of the clicked attribute, now it is button_pressed
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.

14 years agoFix minor issues on hildon-pannable-area.c
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

14 years agoEnsure to show the initial-hint the first time the pannable becomes
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)

14 years agoOptimize hildon_app_menu_repack_items() to resize the table just once
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.

14 years agoRearrange HildonAppMenu items just once in gtk_widget_show_all/hide_all
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.

14 years agoDon't call gtk_widget_show() when adding items to HildonAppMenu
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)

14 years agoRedisplay HildonBanner if the screen is rotated
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)

14 years agoFix ChangeLog dates
Alberto Garcia [Wed, 20 May 2009 18:10:43 +0000 (20:10 +0200)]
Fix ChangeLog dates

14 years agoFix some typos on the hildon_banner_show_information_override_dnd
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

14 years agoAdd a new method hildon_banner_show_information_override_dnd
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)

14 years agoAdd a comment explaining the math behind hildon_pannable_calculate_vel_factor()
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().

14 years agoCorrect the calculation of velocity factor in pannable area
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.

14 years agoReduce 'scroll-time' default value to 1 second.
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.

14 years agoDo not calculate velocity factor during pannable initialization
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.

14 years agoCalculate velocity factor after setting deceleration property
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.

14 years agoAdd a 'size' property to HildonCheckButton and HildonEntry
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)

14 years agoPost release version bump
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

14 years agoRelease 2.1.74 2.1.74-1
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.

14 years agogdk_event_new() already returns a struct filled with zeros
Alberto Garcia [Fri, 15 May 2009 15:47:28 +0000 (17:47 +0200)]
gdk_event_new() already returns a struct filled with zeros

14 years agoNew API function to take a screenshot of a window
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)

14 years agoPrevent to use unitialized values on hildon-time-selector.c
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

14 years agoMake HildonWindow request always the full size of the screen
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)

14 years agoFix debian/changelog
Claudio Saavedra [Thu, 14 May 2009 13:40:38 +0000 (16:40 +0300)]
Fix debian/changelog

14 years agoBackfold debian/changelog
Claudio Saavedra [Wed, 13 May 2009 13:09:55 +0000 (16:09 +0300)]
Backfold debian/changelog

14 years agoRemove reopened bug from debian/changelog
Claudio Saavedra [Wed, 13 May 2009 13:02:54 +0000 (16:02 +0300)]
Remove reopened bug from debian/changelog

14 years agoDisconnect the idle sound handler in notes during finalization
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)

14 years agoClean up signal handlers in animation actor and remote texture
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)

14 years agoAdd new file size formatting method
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.

14 years agoFix tests build during make distcheck
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.

14 years agoBackfold debian/changelog
Claudio Saavedra [Tue, 12 May 2009 20:11:23 +0000 (23:11 +0300)]
Backfold debian/changelog

14 years ago2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
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.)

14 years agoHide labels containing an empty string in HildonButton
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.

14 years agoPost release version bump
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

14 years agoRelease 2.1.72 2.1.72-1
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.

14 years agoFix trailing whitespaces.
Claudio Saavedra [Mon, 11 May 2009 07:52:18 +0000 (10:52 +0300)]
Fix trailing whitespaces.

14 years agoFix ChangeLog entry
Claudio Saavedra [Mon, 11 May 2009 07:48:24 +0000 (10:48 +0300)]
Fix ChangeLog entry

14 years agoPlay the sound on hildon-note using "show" event and a idle
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

14 years agoHildonNote: terminate the list of parameters in g_object_set() calls
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)

14 years agoSet the "dialog-information" role for the sound being played.
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.

14 years agoDon't make HildonAppMenu a modal window
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.)

14 years agoFixed the hard-coded height in HildonPickerDialog
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)

14 years agoMention some replacements for deprecated widgets.
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)

14 years agoFix a include on the hildon-remote-texture-example
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

14 years agoAdd three simple tests for HildonPickerButton
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.

14 years agoEmit HildonTouchSelector:changed when a selected row changes
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)

14 years agoReplace the progress bar in HildonBanner with a progress indicator
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)

14 years agoCalculate max label size of HildonBanner using the actual screen width
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)

14 years agoMinor style fixes
Alberto Garcia [Mon, 4 May 2009 14:15:22 +0000 (16:15 +0200)]
Minor style fixes

15 years agoFixed documentation
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.

15 years agoPost release version bump
Claudio Saavedra [Mon, 4 May 2009 08:50:55 +0000 (11:50 +0300)]
Post release version bump

15 years agoRelease 2.1.70 2.1.70-1
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.

15 years agoDon't let buttons in HildonEditToolbar receive focus
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)

15 years agoBuild fix
Claudio Saavedra [Thu, 30 Apr 2009 14:42:10 +0000 (17:42 +0300)]
Build fix

* doc/Makefile.am: Fix build.

15 years agoDo no redefine content_files in doc/Makefile.am
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.

15 years agoRenamed src/ to hildon/
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.

15 years agoPost release version bump
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.

15 years agoAdd safety checks to hildon-sort-dialog.c
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

15 years agoMove generated sources under src/ to CLEANFILES
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.

15 years agoEnable gtk-doc during distcheck
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.

15 years agoDo not distribute the debian/ directory
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.

15 years agoDistribute properly extra SGML files in the documentation
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.