hildon
14 years agoMinor debian/changelog fix 2.1.96-5
Claudio Saavedra [Thu, 27 Aug 2009 09:06:55 +0000 (11:06 +0200)]
Minor debian/changelog fix

14 years agoRevert panning tunning.
Claudio Saavedra [Thu, 27 Aug 2009 08:50:05 +0000 (10:50 +0200)]
Revert panning tunning.

14 years agoReverted tuning modifications
Alejandro G. Castro [Thu, 27 Aug 2009 08:22:41 +0000 (10:22 +0200)]
Reverted tuning modifications

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Reverted tuning modifications:
"Pannign needs to be faster" and "Pannable kinetics in large lists
needs tuning".

14 years agoRelease 2.1.96-4 2.1.96-4
Claudio Saavedra [Wed, 26 Aug 2009 16:20:03 +0000 (18:20 +0200)]
Release 2.1.96-4

14 years agoPlay sounds with "module-stream-restore.id" set to "x-maemo-system-sound"
Alberto Garcia [Mon, 24 Aug 2009 14:12:36 +0000 (16:12 +0200)]
Play sounds with "module-stream-restore.id" set to "x-maemo-system-sound"

* hildon/hildon-sound.c (hildon_play_system_sound):
Set "module-stream-restore.id" to "x-maemo-system-sound" when
playing system sounds

Fixes: NB#133767 (Information and confirmation note sound should
follow system profile setting)

14 years agoRelease 2.1.96-3 2.1.96-3
Claudio Saavedra [Wed, 26 Aug 2009 13:17:04 +0000 (15:17 +0200)]
Release 2.1.96-3

14 years agoSome pannable area tuning
Alejandro G. Castro [Wed, 26 Aug 2009 12:55:21 +0000 (14:55 +0200)]
Some pannable area tuning

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Added more force and increased
the max speed threshold.

Fixes: NB#135344 (Pannign needs to be faster)

14 years agoRelease 2.1.96, this time for real 2.1.96-2
Claudio Saavedra [Wed, 26 Aug 2009 08:08:42 +0000 (10:08 +0200)]
Release 2.1.96, this time for real

14 years agoFixed error in one of the branches of the topmost algorithm.
Alejandro Pinheiro [Wed, 26 Aug 2009 07:37:43 +0000 (09:37 +0200)]
Fixed error in one of the branches of the topmost algorithm.

* hildon/hildon-pannable-area.c
(hildon_pannable_area_get_topmost): change the computation of the
co-ordinates transformed when no one of the children is a topmost

Fixes: NB#133252 (Opening any feed item from RSS always opens the
first feed item in browser)

Signed-off-by: Alejandro G. Castro <alex@igalia.com>

14 years agoAdded more protection to the pannable area timeouts
Alejandro G. Castro [Wed, 26 Aug 2009 06:47:24 +0000 (08:47 +0200)]
Added more protection to the pannable area timeouts

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_remove_timeouts): Adding this new function
with code that removes the timeouts of the widget.
(hildon_pannable_area_dispose),
(hildon_pannable_area_unrealize): Use the new remove function to
stop timeouts when unrealizing and disposing.
(hildon_pannable_area_scroll_to): Added a CLAMP to the position
calculation to avoid negative values in some cases.

Fixes: NB#135179 (Remove pannable timeouts in unrealize function)

14 years agoRevert "Make HildonCheckButton derive from GtkToggleButton"
Claudio Saavedra [Mon, 24 Aug 2009 09:36:16 +0000 (11:36 +0200)]
Revert "Make HildonCheckButton derive from GtkToggleButton"

This change reverts 2911cf0dc0242c87a95d2577d54c898ce060873f

14 years agoRelease 2.1.96 2.1.96-1
Alberto Garcia [Fri, 21 Aug 2009 09:57:40 +0000 (11:57 +0200)]
Release 2.1.96

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

14 years agoMake HildonCheckButton derive from GtkToggleButton
Alberto Garcia [Fri, 21 Aug 2009 08:40:52 +0000 (10:40 +0200)]
Make HildonCheckButton derive from GtkToggleButton

* hildon/hildon-check-button.h
* hildon/hildon-check-button.c
(hildon_check_button_clicked, hildon_check_button_class_init):
Make HildonCheckButton derive from GtkToggleButton
(hildon_check_button_toggled, hildon_check_button_set_active)
(hildon_check_button_get_active):
Deprecate unnecessary HildonCheckButton API and use the
one from GtkToggleButton instead.

* hildon/hildon-set-password-dialog.c (create_contents)
(hildon_set_password_response_change, hildon_checkbox_toggled)
* examples/hildon-check-button-example.c (button_toggled_cb):
Update to use the GtkToggleButton API

Fixes: MB#4739 (HildonCheckButton should inherit from
GtkToggleButton)

Fixes: NB#132661 (HildonCheckButton should inherit from
GtkToggleButton)

14 years agoRelease 2.1.95-2 2.1.95-2
Alberto Garcia [Thu, 20 Aug 2009 13:33:25 +0000 (15:33 +0200)]
Release 2.1.95-2

14 years agoIncrease default value of HildonPannableArea:velocity_max to 2000
Alberto Garcia [Thu, 20 Aug 2009 11:10:05 +0000 (13:10 +0200)]
Increase default value of HildonPannableArea:velocity_max to 2000

* hildon/hildon-pannable-area.c
(hildon_pannable_area_class_init):
Increase default value of HildonPannableArea:velocity_max to 2000

Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)

14 years agoRelease 2.1.95 2.1.95-1
Alberto Garcia [Tue, 18 Aug 2009 14:24:45 +0000 (16:24 +0200)]
Release 2.1.95

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

14 years agoAdded a new check of scrollbars layout in the allocation
Alejandro G. Castro [Tue, 11 Aug 2009 12:53:40 +0000 (14:53 +0200)]
Added a new check of scrollbars layout in the allocation

* hildon/hildon-pannable-area.c
(hildon_pannable_area_size_allocate): Checked the scrollbars
before the first try when defining the layout, avoids two
allocations in some situations.

Fixes: NB#131794 (pannable area produces unnecessary allocations
causing performance problems)

14 years agoFixed memory leak of the event window of the pannable.
Alejandro G. Castro [Tue, 11 Aug 2009 08:41:21 +0000 (10:41 +0200)]
Fixed memory leak of the event window of the pannable.

* hildon/hildon-pannable-area.c
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_button_release_cb): Added unrefs to reduce
the spurious ref added in the copy, fixes leak of window.

Fixes: NB#130900 (HildonPannableArea will leak it's event_window
if it's realized without showing and then deleted)

14 years agoRelease 2.1.94 2.1.94-1
Alberto Garcia [Mon, 10 Aug 2009 15:25:00 +0000 (17:25 +0200)]
Release 2.1.94

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

14 years agoReplace g_idle_add/g_timeout_add with their gdk_threads counterparts
Alberto Garcia [Thu, 6 Aug 2009 18:26:41 +0000 (20:26 +0200)]
Replace g_idle_add/g_timeout_add with their gdk_threads counterparts

* examples/hildon-hvolumebar-timer-example.c
(on_idle, main)
* hildon/hildon-banner.c
(hildon_banner_timeout, hildon_banner_ensure_timeout)
* hildon/hildon-calendar.c
(calendar_timer, start_spinning)
* hildon/hildon-color-chooser.c
(inline_limited_expose)
* hildon/hildon-date-editor.c
(hildon_date_editor_entry_focus_in)
(hildon_date_editor_entry_validate)
(hildon_date_editor_entry_select_all)
* hildon/hildon-note.c
(on_show_cb)
* hildon/hildon-number-editor.c
(hildon_number_editor_button_pressed)
(hildon_number_editor_start_timer, do_mouse_timeout),
(add_select_all_idle, hildon_number_editor_select_all)
* hildon/hildon-time-editor.c
(hildon_time_editor_entry_focus_in)
(highlight_callback, hildon_time_editor_validate)
(hildon_time_editor_entry_select_all)
* hildon/hildon-time-picker.c
(hildon_time_picker_arrow_press)
(hildon_time_picker_key_repeat_timeout)
* hildon/hildon-window.c
(hildon_window_key_press_event)
(hildon_window_escape_timeout):
Replace all calls to g_idle_add/g_timeout_add with their
gdk_threads counterparts.

Fixes: NB#126198 (gdk-threads API should be used to install idle
and timeout handlers)

14 years agoModified the overshooting effect to make it faster
Alejandro G. Castro [Thu, 6 Aug 2009 10:19:33 +0000 (12:19 +0200)]
Modified the overshooting effect to make it faster

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Increased the overshooting max
speed to get a faster effect.
(hildon_pannable_axis_scroll): Increased minimum speed and reduce
deceleration of the overshooting
(hildon_pannable_area_button_release_cb): Calculate initial
overshooting speed when finger on the screen using the distance to
launch the effect faster.

Fixes: NB#126115 (Pannable list overshooting is unusably slow for
lists with slow row renderers)

14 years agoAdd new functions to hildon-sections.txt
Alberto Garcia [Wed, 5 Aug 2009 15:15:33 +0000 (17:15 +0200)]
Add new functions to hildon-sections.txt

* doc/hildon-sections.txt: Add new functions

14 years agoHildonEntry/HildonTextView: add deprecation guards where needed
Alberto Garcia [Wed, 5 Aug 2009 15:13:44 +0000 (17:13 +0200)]
HildonEntry/HildonTextView: add deprecation guards where needed

* hildon/hildon-text-view.[ch]
* hildon/hildon-entry.[ch]:
Add deprecation guards around deprecated functions.

14 years agoRemove leftover function declaration
Claudio Saavedra [Wed, 5 Aug 2009 15:09:53 +0000 (17:09 +0200)]
Remove leftover function declaration

14 years agoAdd missing ChangeLog entry
Claudio Saavedra [Wed, 5 Aug 2009 15:09:09 +0000 (17:09 +0200)]
Add missing ChangeLog entry

14 years agoRemove the grab from HildonAppMenu.
Claudio Saavedra [Wed, 5 Aug 2009 14:34:58 +0000 (16:34 +0200)]
Remove the grab from HildonAppMenu.

Now hildon-desktop places a blocker window behind the menu to handle
its closing, so the grab is no longer needed. This simplifies its
implementation and allows the system blanking to succeed.

Fixes: NB#130910 (Screen gets unlocked when menu is open)

14 years agoRelease 2.1.93 2.1.93-1
Claudio Saavedra [Tue, 4 Aug 2009 18:12:13 +0000 (20:12 +0200)]
Release 2.1.93

* configure.ac: bump version
* NEWS: updates
* debian/changelog: updates
* debian/control: raise debian dependency on GTK+

14 years agoRemove all placeholder code in HildonEntry/TextView now that it's in GTK
Alberto Garcia [Tue, 4 Aug 2009 16:25:55 +0000 (18:25 +0200)]
Remove all placeholder code in HildonEntry/TextView now that it's in GTK

* hildon/hildon-text-view.c
* hildon/hildon-entry.c:
Remove all placeholder code from HildonEntry and HildonTextView
and use the API in GtkEntry and GtkTextView instead.

* examples/hildon-entry-example.c
* examples/hildon-text-view-example.c
* examples/hildon-wizard-dialog-example.c
* hildon/hildon-get-password-dialog.c
* hildon/hildon-login-dialog.c
* hildon/hildon-picker-dialog.c
* hildon/hildon-set-password-dialog.c
* hildon/hildon-touch-selector-entry.c:
Replace all deprecated calls to HildonEntry and HildonTextView
with their Gtk counterparts.

Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
GtkEntry)

14 years agoRelease 2.1.92-2 2.1.92-2
Claudio Saavedra [Mon, 3 Aug 2009 10:36:48 +0000 (12:36 +0200)]
Release 2.1.92-2

14 years agoAdded the Fixes comment to the last commit Changelog entry.
Alejandro G. Castro [Mon, 3 Aug 2009 10:29:03 +0000 (12:29 +0200)]
Added the Fixes comment to the last commit Changelog entry.

Fixes NB#131013 (unable to stop panning file manager by tapping on
it)

14 years agoReverted change of the timeout priority of the pannable area
Alejandro G. Castro [Mon, 3 Aug 2009 10:20:46 +0000 (12:20 +0200)]
Reverted change of the timeout priority of the pannable area

2009-08-03  Alejandro G. Castro  <alex@igalia.com>

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_check_move),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_area_scroll_to): Reverted the priority change of
the timeout, in some situations, slow renderers, the click do not
make it to the mainloop on time.

14 years agoRelease 2.1.92-1 2.1.92-1
Claudio Saavedra [Thu, 30 Jul 2009 14:32:41 +0000 (16:32 +0200)]
Release 2.1.92-1

14 years agoFix ChangeLog typo
Claudio Saavedra [Thu, 30 Jul 2009 11:35:57 +0000 (13:35 +0200)]
Fix ChangeLog typo

14 years agoAdded new method hildon_touch_selector_center_on_index
Alejandro Piñeiro [Thu, 30 Jul 2009 14:16:09 +0000 (16:16 +0200)]
Added new method hildon_touch_selector_center_on_index

* hildon/hildon-touch-selector.[ch]
(hildon_touch_selector_center_on_index): New method that allows to center
on a item not selected

Fixes NB#130291 (New HildonTouchSelector API is required to center on
any column item)

14 years agoRemove all calls to hildon_helper_set_logical_* from within Hildon
Alberto Garcia [Mon, 27 Jul 2009 11:06:11 +0000 (13:06 +0200)]
Remove all calls to hildon_helper_set_logical_* from within Hildon

* hildon/hildon-text-view.c
(+set_logical_color, +hildon_text_view_style_set)
(hildon_text_view_refresh_contents, hildon_text_view_class_init)
(hildon_text_view_init)
* hildon/hildon-entry.c
(+set_logical_color, +hildon_entry_style_set)
(hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
(hildon_entry_class_init, hildon_entry_init)
* hildon/hildon-button.c
(+set_logical_font, +set_logical_color)
(hildon_button_style_set, hildon_button_init)
(hildon_button_set_arrangement, hildon_button_set_style):
Remove all calls to hildon_helper_set_logical_font() and
hildon_helper_set_logical_color(), which are recursive, from
within Hildon.

Fixes: NB#123409 (Showing dialog consumes significant amount of
time)

14 years agoProcess the scrollbar window in the timeout
Alejandro G. Castro [Wed, 29 Jul 2009 16:48:05 +0000 (18:48 +0200)]
Process the scrollbar window in the timeout

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_timeout): Added the process updates of the
scrollbars window in the pannable.

Fixes: NB#130043 (scrollindicator not smooth while paning)

14 years agoModified the priority of the pannning timeout
Alejandro G. Castro [Thu, 23 Jul 2009 09:04:55 +0000 (11:04 +0200)]
Modified the priority of the pannning timeout

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_check_move),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_area_scroll_to): Increased the priority of the
timeout this way it is going to be handled before the events.

14 years agoRelease 2.1.91 2.1.91-1
Claudio Saavedra [Wed, 22 Jul 2009 10:45:28 +0000 (12:45 +0200)]
Release 2.1.91

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

14 years agoEnsure a minimum height for HildonEntry
Claudio Saavedra [Tue, 21 Jul 2009 16:58:45 +0000 (18:58 +0200)]
Ensure a minimum height for HildonEntry

* hildon/hildon-entry.c: (set_property): Do not allow to set
automatic height and use finger height instead, to prevent an to
have a smaller size than than its theme pixbuf.

Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)

14 years agoPost release version bump
Claudio Saavedra [Tue, 21 Jul 2009 10:20:03 +0000 (12:20 +0200)]
Post release version bump

14 years agoRelease 2.1.90 2.1.90-1
Claudio Saavedra [Tue, 21 Jul 2009 10:17:30 +0000 (12:17 +0200)]
Release 2.1.90

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

14 years agoFix information notes size request
Claudio Saavedra [Mon, 20 Jul 2009 15:25:24 +0000 (17:25 +0200)]
Fix information notes size request

* hildon/hildon-note.c: (label_size_request): Take the note
padding into account when setting the size request.

Fixes: NB#127896 (Information notes text truncated)

14 years agoPost release version bump
Claudio Saavedra [Thu, 16 Jul 2009 10:26:47 +0000 (12:26 +0200)]
Post release version bump

14 years agoRelease 2.1.88
Claudio Saavedra [Thu, 16 Jul 2009 10:22:30 +0000 (12:22 +0200)]
Release 2.1.88

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

14 years agoBackfold debian/changelog
Claudio Saavedra [Wed, 1 Jul 2009 09:22:32 +0000 (11:22 +0200)]
Backfold debian/changelog

14 years agoGrabbed the focus in the HildonTextView button press callback
Alejandro G. Castro [Thu, 16 Jul 2009 09:14:02 +0000 (11:14 +0200)]
Grabbed the focus in the HildonTextView button press callback

* hildon/hildon-text-view.c,
(hildon_text_view_button_press_event): Grabbed the focus in button
press, this way we are sure the widget has the focus in the
release event, required for HIM.

Fixes: NB#121445 (Virtual keyboard opening is not working in same
way for each text entry field)

14 years agoAdded a new feature to the HildonPannableArea allowing center on the child
Alejandro Pinheiro [Wed, 15 Jul 2009 16:37:07 +0000 (18:37 +0200)]
Added a new feature to the HildonPannableArea allowing center on the child
widget receiving the focus.

* hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
(hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
(hildon_pannable_area_get_property, hildon_pannable_area_set_property)
(hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
(hildon_pannable_area_[gs]et_center_on_child_focus)
Redefined GtkContainer set-focus-child signal, in order to center
properly on a child when it receives the focus. Defined a new property
"center-on-child-focus" in order to activate this feature (deactivated
by default). Public get/set methods defined to manage the property.

Fixes: NB#108487 (Phone settings dialog should scroll to focused field)

Signed-off-by: Alejandro G. Castro <alex@igalia.com>

14 years agoEnsure HildonAppMenu size is correct after rotation
László Pere [Wed, 15 Jul 2009 10:33:39 +0000 (12:33 +0200)]
Ensure HildonAppMenu size is correct after rotation

* hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
the new size is applied.

Fixes: NB#124510 (The Application Menu is distorted when switched
between portrait and landscape mode)
Fixes: NB#115388 (Power key menu does not resize itself)

Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>

14 years agoSet position of HildonBanner after mapping
Alberto Garcia [Wed, 1 Jul 2009 09:19:46 +0000 (11:19 +0200)]
Set position of HildonBanner after mapping

* hildon/hildon-banner.c (hildon_banner_map):
Set banner position after mapping.

14 years agoPost release version bump
Claudio Saavedra [Mon, 29 Jun 2009 11:16:40 +0000 (13:16 +0200)]
Post release version bump

14 years agoRelease 2.1.86 2.1.86-1
Claudio Saavedra [Mon, 29 Jun 2009 11:09:15 +0000 (13:09 +0200)]
Release 2.1.86

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

14 years agoIgnore BadWindow on update topmost
Adam Endrodi [Mon, 29 Jun 2009 10:45:08 +0000 (12:45 +0200)]
Ignore BadWindow on update topmost

* hildon/hildon-program.c (hildon_program_update_top_most): Ignore
BadWindow error.

Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>

14 years agoMissed commit in order to fix compilation using '--enable-fatal' and '--disable-depre...
Alejandro Piñeiro [Fri, 26 Jun 2009 11:50:28 +0000 (13:50 +0200)]
Missed commit in order to fix compilation using '--enable-fatal' and '--disable-deprecated' (see previous commit)

* tests/check-hildon-banner.c
* tests/check_text.c
* tests/test_suites.h
Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
were testing deprecated functions.
* examples/hildon-banner-example.c: typo on button3 type, that causes
a fail compiling with --with-examples but without --disable-deprecated

Missed commit in order to fix compilation using '--enable-fatal' and
'--disable-deprecated' (see previous commit)

14 years agoFixed the compilation using '--enable-fatal' and '--disable-deprecated' options
Alejandro Piñeiro [Thu, 25 Jun 2009 17:32:17 +0000 (19:32 +0200)]
Fixed the compilation using '--enable-fatal' and '--disable-deprecated' options

* examples/hildon-banner-example.c: Protect deprecated hildon-banner
functions with #ifndef HILDON_DISABLE_DEPRECATED
* examples/hildon-find-toolbar.c: Protect deprecated
HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
* hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
in favor of HILDON_ICON_PIXEL_SIZE_FINGER
* hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
deprecated.
* hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
to allow proper compilation of deprecated functions defined on the header

14 years agoCache the HildonPannableArea panning indicator color
Claudio Saavedra [Thu, 25 Jun 2009 14:49:43 +0000 (17:49 +0300)]
Cache the HildonPannableArea panning indicator color

* hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
Cache the panning indicator color.,
(hildon_pannable_area_style_set): Query the color on style changes.
(hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll),
(hildon_pannable_area_expose_event): Use the cached panning indicator
color instead of looking it up on every expose and more.

14 years agoCorrect the HildonPannableArea indicator color
Claudio Saavedra [Thu, 25 Jun 2009 14:12:24 +0000 (17:12 +0300)]
Correct the HildonPannableArea indicator color

* hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll),
(hildon_pannable_area_expose_event): Fix the panning indicator color,
so that it's "SecondaryTextColor", as desired.

14 years agoAllow to use HILDON_UI_MODE_NORMAL on the HildonTouchSelector
Alejandro Piñeiro [Wed, 3 Jun 2009 19:15:51 +0000 (21:15 +0200)]
Allow to use HILDON_UI_MODE_NORMAL on the HildonTouchSelector

* hildon/hildon-picker-dialog.c:
(selection_completed): take into account HILDON_UI_MODE_NORMAL
* hildon/hildon-touch-selector.c
(hildon_touch_selector_init): Initialize hildon-ui-mode
(hildon_touch_selector_row_activated): new callback for the
"row-activated" signal, in order to save the last activated
(hildon_touch_selector_check_ui_mode_coherence): new method that checks
if the current hildon-ui-mode is coherent with the touch selector
(hildon_touch_selector_class_init)
(hildon_touch_selector_get_property)
(hildon_touch_selector_set_property)
Added "hildon-ui-mode" property
(disconnect_model_handlers): renamed to clean_column
(hildon_touch_selector_remove): use clean_column function
(_create_new_column): use the hildon-ui-mode to create the treeview, and
only select the first element on HILDON_UI_MODE_EDIT
(hildon_touch_selector_column_init): Initialize last_activate
(hildon_touch_selector_append_column): check that the touch selector
is coherent with the current hildon-ui-mode
(hildon_touch_selector_get_hildon_ui_mode)
(hildon_touch_selector_set_hildon_ui_mode)
Added a getter/setter for the hildon-ui-mode property
(hildon_touch_selector_get_last_activated_row): Added this method in
order to get the last activated row
* examples/hildon-touch-selector-normal-mode-example.c
New example, that shows how to use the HildonTouchSelector in
HILDON_UI_MODE_NORMAL

Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
Kristian Rietveld <kris@lanedo.com> advices

14 years agoRemove unnecessary function call redundant checks in HildonTimeSelector
Claudio Saavedra [Thu, 25 Jun 2009 07:47:59 +0000 (10:47 +0300)]
Remove unnecessary function call redundant checks in HildonTimeSelector

* hildon/hildon-time-selector.c: (update_format_policy): Do
not call update_format_dependant_columns() if not necessary.
(update_format_dependant_columns): Remove unnecessary check for
the number of columns.

14 years agoUse gtk_dialog_set_padding() to set HildonNote margins
Claudio Saavedra [Wed, 24 Jun 2009 07:20:00 +0000 (10:20 +0300)]
Use gtk_dialog_set_padding() to set HildonNote margins

* configure.ac: Bump GTK+ requirement to 2.14.3.
* hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
when using maemo-gtk to define proper margins for the notes.

Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
with the dialog edge)

14 years agoSet HildonNote margins during construction
Claudio Saavedra [Wed, 24 Jun 2009 14:28:52 +0000 (17:28 +0300)]
Set HildonNote margins during construction

* hildon/hildon-note.c (+hildon_note_constructor),
(hildon_note_class_init), (+hildon_note_set_padding),
(hildon_note_rebuild): Install a constructor where to set the
padding properties in the note, so that it actually works fine.
Use hildon_note_set_padding() for this, and also to set it during
the note rebuild.

14 years agoBump build dependency on GTK+ to 2.14.3-1maemo5
Claudio Saavedra [Wed, 24 Jun 2009 07:20:29 +0000 (10:20 +0300)]
Bump build dependency on GTK+ to 2.14.3-1maemo5

14 years agoUse gtk_dialog_set_padding() to set HildonNote margins
Claudio Saavedra [Wed, 24 Jun 2009 07:20:00 +0000 (10:20 +0300)]
Use gtk_dialog_set_padding() to set HildonNote margins

* configure.ac: Bump GTK+ requirement to 2.14.3.
* hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
when using maemo-gtk to define proper margins for the notes.

Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
with the dialog edge)

14 years agoFix size and text alignment of HildonBanner
Alberto Garcia [Wed, 24 Jun 2009 12:21:11 +0000 (14:21 +0200)]
Fix size and text alignment of HildonBanner

* hildon/hildon-banner.c
(hildon_banner_class_init):
Center text.
(+hildon_banner_size_request):
Request always the full width of the screen.
(hildon_banner_realize)
(-hildon_banner_check_position, hildon_banner_map):
hildon_banner_check_position() is not needed in Hildon 2.2.
(-hildon_banner_reset_wrap_state)
(hildon_banner_constructor, hildon_banner_init):
Remove unnecessary calls to hildon_banner_reset_wrap_state()
(+banner_do_set_text)
(force_to_wrap_truncated):
Remove has_been_wrapped and has_been_truncated attributes.
(+reshow_banner, hildon_banner_real_show_information)
(hildon_banner_show_information_with_markup)
(hildon_banner_show_animation, hildon_banner_show_progress)
(hildon_banner_set_text, hildon_banner_set_markup):
Refactor code. Shrink banner vertically to use the minimum space
necessary everytime the text of the label is updated.
(screen_size_changed):
Call force_to_wrap_truncated() when the size of the screen
changes.

Fixes: NB#120500 (only device memory connect mmc in use info
banner is left aligned)

Fixes: NB#120613 (Size of HildonBanner varies depending on
previously opened banners)

14 years agoCorrect the color drag in HildonColorChooser
Claudio Saavedra [Wed, 24 Jun 2009 10:04:15 +0000 (13:04 +0300)]
Correct the color drag in HildonColorChooser

* hildon/hildon-color-chooser.c
(hildon_color_chooser_pointer_motion): Take the widget allocation
into account.

Fixes: NB#124385 (Unable to select exact point in color mixing box
in color palette dialog)

14 years agoHildonPannableArea: new 'panning-started' and 'panning-finished' signals
Alejandro G. Castro [Tue, 23 Jun 2009 14:39:15 +0000 (16:39 +0200)]
HildonPannableArea: new 'panning-started' and 'panning-finished' signals

* hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
(hildon_pannable_area_dispose)
(hildon_pannable_area_button_press_cb)
(hildon_pannable_area_timeout, hildon_pannable_area_check_move)
(hildon_pannable_area_button_release_cb)
(hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
New 'panning-started' and 'panning-finished' signals.

Fixes: NB#121732 (New feature request: Signal to pannable area
that informs when panning is stopped.)

14 years agoUse locale-dependant separator in HildonWizardDialog title
Mox Soini [Tue, 23 Jun 2009 11:58:50 +0000 (14:58 +0300)]
Use locale-dependant separator in HildonWizardDialog title

* hildon/hildon-wizard-dialog.c: (create_title): Use separator
instead of hardcoded colon.

Fixes: NB#124090 (New calendar wizard title is not using
ecdg_ti_caption_separator)

Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>

14 years agoSeveral fixes in the documentation of HildonFindToolbar
David King [Mon, 22 Jun 2009 11:33:21 +0000 (13:33 +0200)]
Several fixes in the documentation of HildonFindToolbar

* hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
constants and functions, as well as correct many typos throughout the
documentation text.

Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
and needs cleanup)

Signed-off-by: Alberto Garcia <agarcia@igalia.com>

14 years agoPost release version bump.
Claudio Saavedra [Mon, 22 Jun 2009 09:54:58 +0000 (12:54 +0300)]
Post release version bump.

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

14 years agoRelease 2.1.84 2.1.84-1
Claudio Saavedra [Mon, 22 Jun 2009 09:53:08 +0000 (12:53 +0300)]
Release 2.1.84

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

14 years agoPrevent windows from having the same stack index
Alberto Garcia [Thu, 18 Jun 2009 16:29:05 +0000 (18:29 +0200)]
Prevent windows from having the same stack index

* hildon/hildon-window-stack.c
(hildon_window_stack_pop_and_push_list):
Prevent windows from having the same stack index

14 years agoFix dates in ChangeLog
Alberto Garcia [Thu, 18 Jun 2009 15:48:01 +0000 (17:48 +0200)]
Fix dates in ChangeLog

14 years agoUse the index of the previous window to calculate the new stack index
Alberto Garcia [Thu, 18 Jun 2009 15:11:36 +0000 (17:11 +0200)]
Use the index of the previous window to calculate the new stack index

* hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
Use the index of the previous window rather than the stack length
to calculate the new index.

Fixes: NB#122389

14 years agoUpdate HildonDateSelector documentation
Alejandro Piñeiro [Thu, 18 Jun 2009 15:00:08 +0000 (17:00 +0200)]
Update HildonDateSelector documentation

* hildon/hildon-date-selector.c
(hildon_date_selector_select_current_date)
(hildon_date_selector_get_date)
(hildon_date_selector_select_day):
Update the documentation: uses always the range (1-31), as it is obvious
that the final one will depend on the month and the year, but globally
the range is this, in a similar GtkCalendar approach
(hildon_date_selector_get_date):
Update the documentation: add NULL as a valid value for the day, month
and year locations

Fix some details, after talk with David King on bug MB#4698

14 years ago2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Thu, 18 Jun 2009 14:32:49 +0000 (16:32 +0200)]
2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>

* hildon/hildon-touch-selector-entry.c
* hildon/hildon-touch-selector.c
Update the documentation of the "text-column" property

14 years agoAdd Gtk-Doc markup and correct some typos and mistakes in HildonNote docs
David King [Wed, 17 Jun 2009 13:37:22 +0000 (15:37 +0200)]
Add Gtk-Doc markup and correct some typos and mistakes in HildonNote docs

* hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
several typos and errors throughout the documentation.

Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
has some mistakes)

Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>

14 years agoMake HildonNote support portrait mode
Alberto Garcia [Thu, 18 Jun 2009 10:15:28 +0000 (12:15 +0200)]
Make HildonNote support portrait mode

* hildon/hildon-note.c (hildon_note_realize):
Make HildonNote support portrait mode.

Fixes: NB#123448 (HildonNote is not portrait-friendly)

14 years agoDocument hildon_color_chooser_new()
Alberto Garcia [Wed, 17 Jun 2009 18:59:38 +0000 (20:59 +0200)]
Document hildon_color_chooser_new()

* hildon/hildon-color-chooser.c (hildon_color_chooser_new):
Document this function

14 years agoDateSelector documentation fixes
David King [Wed, 17 Jun 2009 10:19:34 +0000 (12:19 +0200)]
DateSelector documentation fixes

* hildon/hildon-date-selector.c
(hildon_date_selector_select_current_date)
(hildon_date_selector_get_date): Update documentation regarding days,
as the day of the month is dependent on both the month and the year.
(hildon_date_selector_get_date): Fix documentation of output arguments.

Fixes: MB#4698 (DateSelector documentation has bad output argument
description, and the day depends on both the month and the year)

Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>

14 years agoOther documentation fixes to HildonCaption.
Claudio Saavedra [Wed, 17 Jun 2009 12:14:54 +0000 (15:14 +0300)]
Other documentation fixes to HildonCaption.

* hildon/hildon-caption.c: Other documentation fixes to
HildonCaption.

14 years agoDocumentation updates for HildonCaption
David King [Wed, 17 Jun 2009 09:46:39 +0000 (11:46 +0200)]
Documentation updates for HildonCaption

* hildon/hildon-caption.c: Minor documentation updates for
HildonCaption. Fixes MB#4697.

14 years agoDocument versioning macros
Claudio Saavedra [Wed, 17 Jun 2009 06:40:06 +0000 (09:40 +0300)]
Document versioning macros

* doc/hildon-docs.sgml: Add hildon-version section.
* doc/hildon-sections.txt:
* hildon/hildon-version.h.in: Document versioning macros and
add HILDON_VERSION.

14 years agoRemove HILDON_DISABLE_DEPRECATED from wrong docs section
Claudio Saavedra [Wed, 17 Jun 2009 05:20:54 +0000 (08:20 +0300)]
Remove HILDON_DISABLE_DEPRECATED from wrong docs section

* doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
from HildonPickerDialog section.

14 years agoSet a different widget name to banners in portrait mode
Alberto Garcia [Tue, 16 Jun 2009 14:52:17 +0000 (16:52 +0200)]
Set a different widget name to banners in portrait mode

* hildon/hildon-banner.c (hildon_banner_bind_style)
(screen_size_changed, hildon_banner_init)
(hildon_banner_real_show_information)
(hildon_banner_show_information_with_markup)
(hildon_banner_show_animation, hildon_banner_show_progress):
Set a different widget name to banners in portrait mode, for them
to be themed correctly.

14 years agoSet a different widget name to notes in portrait mode
Alberto Garcia [Tue, 16 Jun 2009 12:14:46 +0000 (14:14 +0200)]
Set a different widget name to notes in portrait mode

* hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
Set a different widget name to notes in portrait mode, for them to
be themed correctly.

Partially fixes: NB#118401 (HildonNote causes unnecessary
rescaling of images)

14 years agoMake HildonNote request always the full width of the screen
Alberto Garcia [Tue, 16 Jun 2009 12:02:12 +0000 (14:02 +0200)]
Make HildonNote request always the full width of the screen

* hildon/hildon-note.c (hildon_note_class_init)
(+hildon_note_size_request, screen_size_changed):
Always request the full width of the screen.

Fixes: NB#118375 (unnecessary rescaling of images)

14 years agoRefactored event flags code in HildonPannableArea
Alejandro G. Castro [Tue, 16 Jun 2009 08:07:28 +0000 (10:07 +0200)]
Refactored event flags code in HildonPannableArea

* hildon/hildon-pannable-area.c,
(hildon_pannable_area_init),
(hildon_pannable_area_realize): Replaced old code adding flags in
the object init, now we add it with the other flags in the realize
method.

14 years agoDocumentation improvements for HildonNote
Claudio Saavedra [Mon, 15 Jun 2009 22:03:19 +0000 (01:03 +0300)]
Documentation improvements for HildonNote

* hildon/hildon-note.c: (hildon_note_class_init): Several
documentation improvements to the HildonNote widget.

14 years agoDocument the HildonNoteType enumeration
Claudio Saavedra [Mon, 15 Jun 2009 22:00:04 +0000 (01:00 +0300)]
Document the HildonNoteType enumeration

* hildon/hildon-note.h: Document the HildonNoteType enumeration.

Fixes: MB#4556 (HildonNoteType is undocumented)

14 years agoExplain how HildonPickerButton sets the title of its dialog
Alberto Garcia [Mon, 15 Jun 2009 19:05:25 +0000 (21:05 +0200)]
Explain how HildonPickerButton sets the title of its dialog

* hildon/hildon-picker-button.c:
Explain how HildonPickerButton sets the title of its dialog

Fixes: MB#4528 (HildonPickerButton docs should mention how to set
the title of its dialog)

14 years agoHildonCheckButton documentation updates
Alberto Garcia [Thu, 11 Jun 2009 15:47:23 +0000 (17:47 +0200)]
HildonCheckButton documentation updates

* hildon/hildon-check-button.c:
Documentation updates

Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
exists)

14 years agoAdd progress indicator to the HildonEditToolbar.
Alberto Garcia [Mon, 18 May 2009 16:05:51 +0000 (18:05 +0200)]
Add progress indicator to the HildonEditToolbar.

* hildon/Makefile.am
* hildon/hildon-edit-toolbar-private.h
* hildon/hildon-edit-toolbar.c
(+hildon_edit_toolbar_set_progress_indicator)
(hildon_edit_toolbar_init): Add progress indicator to the
toolbar.

* hildon/hildon-gtk.c
(hildon_gtk_window_set_progress_indicator):
If the window contains a HildonEditToolbar, enable the progress
indicator there too.

* hildon/hildon-private.h
* hildon/hildon-private.c
(+hildon_private_create_animation)
* hildon/hildon-banner.c
(-hildon_banner_create_animation):
Moved to hildon-private.c

Fixes: NB#102373 (Progress indicator also for the Edit mode
toolbar)

14 years agoMake sure that buttons in HildonAppMenu receive 'button-release-event'
Alberto Garcia [Mon, 15 Jun 2009 15:01:27 +0000 (17:01 +0200)]
Make sure that buttons in HildonAppMenu receive 'button-release-event'

* hildon/hildon-app-menu-private.h
* hildon/hildon-app-menu.c (hildon_app_menu_insert)
(hildon_app_menu_add_filter, +menu_item_button_event)
(hildon_app_menu_button_release, hildon_app_menu_init):
Make sure that buttons receive 'button-release-event' in spite of
the grab held by HildonAppMenu

Fixes: NB#108337 (Focus mismatch in items of AppMenu)

14 years agoNew style property to set the size of the group of filter buttons
Alberto Garcia [Mon, 15 Jun 2009 10:45:48 +0000 (12:45 +0200)]
New style property to set the size of the group of filter buttons

* hildon/hildon-app-menu.c
(hildon_app_menu_apply_style, hildon_app_menu_class_init):
New style property to set the size of the group of filter buttons.

Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)

14 years agoRelease 2.1.82 2.1.82-1
Claudio Saavedra [Mon, 15 Jun 2009 09:56:33 +0000 (12:56 +0300)]
Release 2.1.82

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

14 years agoDependencies fixes in debian/control
Claudio Saavedra [Mon, 15 Jun 2009 09:25:41 +0000 (12:25 +0300)]
Dependencies fixes in debian/control

14 years agoMinor documentation fixes.
Claudio Saavedra [Sat, 13 Jun 2009 14:32:50 +0000 (17:32 +0300)]
Minor documentation fixes.

* hildon/hildon-main.c: Minor documentation fixes.

14 years agoDocument hildon-defines.h
Claudio Saavedra [Sat, 13 Jun 2009 14:31:52 +0000 (17:31 +0300)]
Document hildon-defines.h

Fixes: MB#4463 (Hildon size #defines are undocumented)

14 years agoRemove redundant "represents" wording from most of the documentation.
Claudio Saavedra [Sat, 13 Jun 2009 10:47:34 +0000 (13:47 +0300)]
Remove redundant "represents" wording from most of the documentation.

Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)

14 years agoRemove hildon-banner-private.h
Alberto Garcia [Fri, 12 Jun 2009 12:18:11 +0000 (14:18 +0200)]
Remove hildon-banner-private.h

* po/POTFILES.in
* doc/Makefile.am
* hildon/Makefile.am
* hildon/hildon-banner-private.h
* hildon/hildon-banner.c:
Move HildonBannerPrivate to hildon-banner.c and remove
hildon-banner-private.h
Use a bit field to store private booleans.

14 years agoHildonAppMenu: avoid installing duplicate idle functions
Alberto Garcia [Fri, 12 Jun 2009 09:52:15 +0000 (11:52 +0200)]
HildonAppMenu: avoid installing duplicate idle functions

* hildon/hildon-app-menu.c (hildon_app_menu_map):
Don't install a new idle function if there's already one
installed.

Fixes: NB#122254