1 2009-04-06 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init): increased the minimum velocity.
5 (hildon_pannable_area_button_release_cb): Updated the
6 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
7 setup. Review the code to control that last event.
9 Fixes: NB#109790 (Releasing finger in pannable area easily causes
12 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
14 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
16 * src/hildon-get-password-dialog.c
17 (hildon_get_password_set_property),
18 (hildon_get_password_get_property), (create_contents):
19 * src/hildon-login-dialog-private.h:
20 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
21 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
22 (hildon_login_dialog_get_password):
23 * src/hildon-set-password-dialog-private.h:
24 * src/hildon-set-password-dialog.c
25 (hildon_set_password_set_property),
26 (hildon_set_password_get_property), (create_contents),
27 (hildon_set_password_response_change),
28 (hildon_set_password_response_set), (hildon_checkbox_toggled):
30 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
31 instead and look more Fremantle style.
33 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
35 2009-04-03 Alberto Garcia <agarcia@igalia.com>
37 * doc/hildon-sections.txt
38 * src/hildon-window-stack.h
39 * src/hildon-window-stack.c
40 (+hildon_window_stack_get_windows):
41 New API to obtain the list of windows on a stack.
43 2009-04-02 Alberto Garcia <agarcia@igalia.com>
45 * src/hildon-app-menu.c (hildon_app_menu_popup)
46 (hildon_app_menu_class_init, -hildon_app_menu_show):
47 Remove hildon_app_menu_show() and move all its checks to
48 hildon_app_menu_popup()
50 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
52 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
53 (_hildon_picker_dialog_set_selector): removed call to
54 gtk_widget_set_size_request
55 * src/hildon-touch-selector.c
56 (_create_new_column): change the pannable size request policy
58 Avoid to use a hardcoded height for the hildon picker dialog. In order
59 to get that, we needed to change the hildon pannable size request
61 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
63 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
65 * src/hildon-window.c (hildon_window_map): Check for vbox to be
66 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
69 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
71 * debian/control: Depend on osso-system-lock localization package.
72 * src/hildon-code-dialog.c: Obtain the secu_application_title
73 translation from osso-system-lock.
74 * src/hildon-get-password-dialog.c (create_contents): Do not mark
75 for translation the atk related strings, that's not necessary.
76 * src/hildon-set-password-dialog.c (create_contents): Ditto.
77 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
78 cancel button, it is not required.
80 2009-04-02 Alejandro G. Castro <alex@igalia.com>
82 * src/hildon-pannable-area.c,
83 (hildon_pannable_area_class_init): Modified the default value of
84 the overshooting max speed, we have reduced it.
86 2009-04-02 Alberto Garcia <agarcia@igalia.com>
88 * doc/hildon-sections.txt
89 * src/hildon-window-private.h
91 * src/hildon-window.c (hildon_window_class_init)
92 (hildon_window_init, hildon_window_finalize)
93 (hildon_window_realize, hildon_window_get_property)
94 (hildon_window_set_property, hildon_window_update_markup)
95 (hildon_window_get_markup, hildon_window_set_markup):
96 New "markup" property and hildon_window_{get,set}_markup() methods.
98 * examples/hildon-stackable-window-example.c (new_window):
99 Update example to use hildon_window_set_markup()
101 Fixes: NB#106375 (Need API to retitle a window with a title
104 2009-04-01 Alejandro G. Castro <alex@igalia.com>
106 * src/hildon-pannable-area.c,
107 (hildon_pannable_area_class_init): Changed the default value of
108 the initial_hint to TRUE.
109 (hildon_pannable_area_initial_effect): Changed the initial effect,
110 not the effect is just the fade-out of the scrollbars.
112 Fixes: NB#107775 (No scrollbars can be seen when several items are
113 available in a dialog)
115 2009-04-01 Alberto Garcia <agarcia@igalia.com>
117 * src/hildon-program.c (hildon_program_update_top_most):
120 Fixes: NB#109179 (Memory leak in Hildon program)
122 2009-04-01 Alberto Garcia <agarcia@igalia.com>
124 * src/hildon-banner.c (-get_current_app_window):
125 Remove unused function.
127 2009-04-01 Alejandro G. Castro <alex@igalia.com>
129 * src/hildon-pannable-area.c: Modified the documentation of the
130 get adjustments functions to explain the problem of using the
132 (hildon_pannable_area_class_init): Improved the explanation about
135 2009-04-01 Alberto Garcia <agarcia@igalia.com>
137 * src/hildon-app-menu-private.h
138 * src/hildon-app-menu.c
139 (hildon_app_menu_class_init):
140 Bring back the 'external-border' style property
141 (hildon_app_menu_class_init, hildon_app_menu_init)
142 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
143 Set a fixed width-request for the menu, independent of the number
146 Fixes: NB#94957 (Smoothly opened application menu)
148 2009-03-30 Alberto Garcia <agarcia@igalia.com>
150 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
152 * src/hildon-banner.c
153 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
155 Make sure that the banner is correctly placed the first time it's
157 (hildon_banner_check_position, -check_fullscreen_state):
158 Show the banner in the same place no matter if the window is in
159 fullscreen mode or not.
161 Fixes: NB#107386 (Odd stacking behaviour for information banners)
163 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
165 * src/hildon-touch-selector.c (_default_print_func): reorder
166 concatenation for clarity.
168 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
170 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
171 for multicolumn selectors.
173 Fixes: NB#109099 (Memory leak in Hildon touch selector)
175 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
180 * configure.ac: Bump version.
181 * debian/changelog: Updates.
183 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
185 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
188 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
190 * configure.ac: removed libcangerra-gtk dependency
191 * debian/control: removed libcanberra-gtk dependency
192 * src/Makefile.am: removed libcanberra gtk related flags
193 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
194 context, and manage a global canberra context instead
196 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
198 2009-03-26 Alberto Garcia <agarcia@igalia.com>
200 Patch by Daniel Borgmann (danielb@openismus.com)
202 * src/hildon-edit-toolbar.c:
203 Adjust the left padding.
204 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
205 Paint background of the edit toolbar.
207 Fixes: NB#107897 (Patch to make editmodetoolbar background
208 themeable and adjust margin)
210 2009-03-25 Alberto Garcia <agarcia@igalia.com>
212 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
214 * src/hildon-program.c (hildon_program_update_top_most):
215 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
217 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
218 change when the user tasks in/out of an application)
220 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
222 * configure.ac: added libcangerra-gtk dependency
223 * debian/control: added libcanberra-gtk dependency
224 * src/Makefile.am: added libcanberra gtk related flags
225 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
228 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
230 2009-03-25 Alberto Garcia <agarcia@igalia.com>
232 * src/hildon-program.c (hildon_program_remove_window)
233 (hildon_program_add_window): Add checks for the window
234 parameter. Don't decrease the window counter if the window is not
237 2009-03-24 Alejandro G. Castro <alex@igalia.com>
239 * src/hildon-pannable-area.c,
240 (hildon_pannable_area_realize): Fixed position of the event_window
241 in the realize method.
243 2009-03-24 Alberto Garcia <agarcia@igalia.com>
245 * src/hildon-app-menu-private.h
246 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
247 (hildon_app_menu_map, hildon_app_menu_hide_idle)
248 (hildon_app_menu_key_press, hildon_app_menu_init)
249 (hildon_app_menu_finalize):
250 Make sure that all idle functions are removed when the widget is
253 Fixes: NB#107583 (Hildon app menu crashes in various applications)
255 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: Bump version.
261 * debian/changelog: Updates.
263 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
266 (+hildon_entry_show_placeholder),
267 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
268 that replace hildon_entry_update_contents().
269 (hildon_entry_set_text),
270 (hildon_entry_set_placeholder),
271 (hildon_entry_focus_in_event),
272 (hildon_entry_focus_out_event): Determine when it is needed
273 either to show or hide the placeholder and call the above methods.
275 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
276 when the placeholder text is already set)
278 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
280 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
281 simple GdkPixbufAnim using the new icons for the banner.
282 (hildon_banner_show_animation): Use the above mentioned method to
283 create the animation widget.
285 Fixes: NB#103564 (Make hildon animation banner use individual
286 image files as the animation)
288 2009-03-24 Alejandro G. Castro <alex@igalia.com>
290 * src/hildon-pannable-area.c,
291 (hildon_pannable_leave_notify_event): Check if the child is NULL
292 to avoid sending the leave.
294 2009-03-24 Alejandro G. Castro <alex@igalia.com>
296 * src/hildon-pannable-area.c,
297 (hildon_pannable_area_class_init),
298 (hildon_pannable_leave_notify_event): Added a handler of the
299 leave-notify-signal to consider when no motion notify before
302 Fixes: NB#107494 (Items stay selected when clicking and moving
303 away when inside pannable area)
305 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
310 * configure.ac: Bump version.
311 * debian/changelog: Updates.
313 2009-03-19 Alejandro G. Castro <alex@igalia.com>
315 Patch by Alberto Garcia (agarcia@igalia.com)
317 * src/hildon-date-button.c,
318 (hildon_date_button_class_init),
319 (hildon_date_button_init): Removed the construct property handling
320 and created a default selector in the init method.
321 * src/hildon-picker-button.c,
322 (hildon_picker_button_class_init): Removed the construct flag of the
325 2009-03-18 Alberto Garcia <agarcia@igalia.com>
327 * src/hildon-main.c (hildon_init):
328 Don't allow hildon_init() to be called more than once.
330 Fixes: NB#106607 (hildon_init should issue error message upon
333 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
335 * examples/hildon-pannable-area-touch-list-example.c
336 * examples/hildon-pannagle-area-touch-grid-example.c
337 * examples/hildon-edit-toolbar-example.c
338 * examples/hildon-touch-selector-multi-cells-example.c
339 Removed the call to gtk_rc_parse_string, as it is not required since
342 2009-03-17 Alejandro G. Castro <alex@igalia.com>
344 * src/hildon-pannable-area.c,
345 (hildon_pannable_area_class_init): Modified the default panning
346 threshold of the widget to 6px.
348 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
349 than the threshold value ) within the button is not sending the
352 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
354 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
355 for the treeview in the new column. This way, the touch list will never
358 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
359 be selected manually for the HW keys to work)
361 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
363 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
364 comparison instead of using strcmp(). Fixes a compiler warning as well.
366 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
368 * doc/hildon-docs.sgml: Do not set the library version in the
369 document title, use the releaseinfo tag for that purpose instead.
371 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
373 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
374 Do not jump to the first item if the text in the entry is removed.
376 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
381 * configure.ac: Bump version.
382 * debian/changelog: Updates.
384 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
386 * src/hildon-entry.c (hildon_entry_refresh_contents):
387 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
388 Use "ReversedSecondaryTextColor" for the placeholder text.
390 2009-03-12 Alberto Garcia <agarcia@igalia.com>
392 * src/hildon-text-view.c: Fix compilation warning.
394 2009-03-12 Alberto Garcia <agarcia@igalia.com>
396 * src/hildon-button.c (hildon_button_class_init): Don't make
397 "title" and "value" construction properties, to prevent them from
398 overwriting labels set from derived classes.
400 * src/hildon-picker-button.c
401 (hildon_picker_button_set_selector): Allow setting a NULL selector.
402 (hildon_picker_button_class_init): Make touch-selector a
403 construction property.
405 * src/hildon-date-button.c (hildon_date_button_class_init)
406 (+hildon_date_button_constructed): Add a default date selector if
409 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
411 * src/hildon-touch-selector.c: Small documentation fixes.
413 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
415 Based on a patch by Daniel Borgmann (danielb@openismus.com)
417 * src/hildon-entry.c (hildon_entry_refresh_contents),
418 (hildon_entry_get_text), (hildon_entry_init): Do not use the
419 widget name, set the logical color directly instead and a boolean
420 showing_placeholder instead.
421 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
422 use the widget name here either.
424 Fixes: NB#105678 (HildonTextView should use logical colours
425 instead of setting widget name)
427 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
429 Patch by Daniel Elster (danielk@openismus.com)
431 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
432 Add user_data parameter.
433 (hildon_touch_selector_set_print_func_full): New function akin
434 hildon_touch_selector_set_print_func() but with support for user
435 data and a destroy callback.
436 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
437 to clean up the print function user data.
438 (hildon_touch_selector_class_init): Install dispose function.
439 (HildonTouchSelectorPrivate::print_user_data),
440 (HildonTouchSelectorPrivate::print_destroy_func): New private
442 (hildon_touch_selector_init): Initialize new private members.
443 (hildon_touch_selector_get_current_text): Pass along user data
444 to the print function.
445 (_default_print_func): Add dummy user_data to parameter list.
446 * hildon-date-selector.c (_custom_print_func): ditto,
447 * hildon-time-selector.c (_custom_print_func): ditto,
448 * hildon-touch-selector-entry.c
449 (hildon_touch_selector_entry_print_func): ditto.
451 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
453 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
455 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
457 2009-03-12 Alejandro G. Castro <alex@igalia.com>
459 * src/hildon-pannable-area.c,
460 (hildon_pannable_area_init),
461 (hildon_pannable_area_button_press_cb),
462 (hildon_pannable_area_motion_notify_cb): We have added code to
463 handle the leave and enter events when using the motion events.
465 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
467 2009-03-11 Alberto Garcia <agarcia@igalia.com>
469 * src/hildon-date-button.c (hildon_date_button_get_date)
470 (hildon_date_button_set_date): Make sure that the button has a
473 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
475 2009-03-11 Alejandro G. Castro <alex@igalia.com>
477 * src/hildon-pannable-area.c,
478 (hildon_pannable_area_class_init),
479 (hildon_pannable_area_calculate_velocity): Modify the use of the
480 force and adapt the value.
482 2009-03-10 Alberto Garcia <agarcia@igalia.com>
484 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
485 (hildon_app_menu_class_init): Hide the menu if it receives a
486 delete-event, but don't destroy it
488 Fixes: NB#104485 (Not able to address the call when application
489 menu is opened at background)
491 2009-03-10 Alberto Garcia <agarcia@igalia.com>
493 * src/hildon-app-menu.c
494 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
495 Remove the "external-border" style property, let the menu take its
496 natural size (or the one set by the window manager)
497 (hildon_app_menu_repack_items):
498 Don't reshow the menu, avoid flickers.
500 Partially fixes NB#94957 (Smoothly opened application menu)
502 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
507 * configure.ac: Bump version.
508 * debian/changelog: Updates.
510 2009-03-10 Alejandro G. Castro <alex@igalia.com>
512 * src/hildon-pannable-area.c,
513 (hildon_pannable_area_motion_notify_cb): We control that the
514 direction error margin is used just in case the movement is
515 allowed in the other direction.
517 Fixes: NB#105012 (buttons inside a pannable area not getting
518 release event when dragging/releasing)
520 2009-03-10 Alejandro G. Castro <alex@igalia.com>
522 * src/hildon-pannable-area.c,
523 (hildon_pannable_area_class_init),
524 (hildon_pannable_area_get_property),
525 (hildon_pannable_area_set_property),
526 (hildon_pannable_area_initial_effect),
527 (hildon_pannable_axis_scroll),
528 (hildon_pannable_area_button_release_cb): Reviewed the
529 overshooting effect, now it has its own max
530 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
533 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
538 * configure.ac: Bump version.
539 * debian/changelog: Updates.
541 2009-03-09 Alejandro G. Castro <alex@igalia.com>
543 * src/hildon-pannable-area.c,
544 (hildon_pannable_area_class_init): Changed the max speed, now
545 users can launch the widget very fast. Reduced the default force,
546 that way it is easier to control the launch speed.
548 2009-03-09 Alejandro G. Castro <alex@igalia.com>
550 * src/hildon-pannable-area.c,
551 (hildon_pannable_area_button_release_cb): Removed this check
552 because it causes problems when the device is overloaded.
554 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
556 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
557 add a current_text field to store the text entered in the
558 touch selector entry.
559 (_clean_current_selection): clean up the current text as well.
560 (_save_current_selection), (_restore_current_selection):
561 Save/restore the text in the entry if the selector is a
562 HildonTouchSelectorEntry.
564 Fixes: NB#102541 (value entered in the touch selector entry is not
565 shown when opened for second time)
567 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
569 * doc/hildon-sections.txt:
570 * src/hildon-touch-selector-entry.c
571 (+hildon_touch_selector_entry_get_entry):
572 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
574 Fixes: NB#104815 (I need accessor to the entry inside
575 HildonTouchSelectorEntry)
577 2009-03-06 Alberto Garcia <agarcia@igalia.com>
579 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
580 (hildon_app_menu_class_init):
581 New "filter-vertical-spacing" style property.
583 2009-03-06 Alberto Garcia <agarcia@igalia.com>
585 * src/hildon-find-toolbar.c
586 (hildon_find_toolbar_emit_close)
587 (hildon_find_toolbar_emit_invalid_input)
588 (hildon_find_toolbar_entry_activate):
589 Use g_signal_emit() instead of g_signal_emit_by_name()
591 2009-03-06 Alberto Garcia <agarcia@igalia.com>
593 Patch by Mox Soini (ext-mox.soini@nokia.com)
595 * tests/TEST-CASES.txt
596 * tests/check-hildon-banner.c
597 * tests/check-hildon-note.c
598 * src/hildon-banner.c
599 * src/hildon-code-dialog.c
600 * src/hildon-date-editor.c (real_set_calendar_icon_state)
601 * src/hildon-time-editor.c
602 * examples/hildon-lookup-example.c (main):
603 Replace obsolete icon names with new ones.
605 * src/hildon-find-toolbar-private.h:
606 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
607 (-hildon_find_toolbar_emit_search):
608 Remove find button and change icon of close button.
610 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
612 2009-03-05 Alberto Garcia <agarcia@igalia.com>
614 * src/hildon-time-button.c (hildon_time_button_new_step):
615 Use the "touch-selector" property to set the selector directly
616 when creating the object.
618 2009-03-05 Alejandro G. Castro <alex@igalia.com>
620 Added a new example application that allows tuning the pannable
621 area and replaced defines with properties in order to simplify the
622 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
623 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
624 PROP_DIRECTION_ERROR_MARGIN.
626 * examples/hildon-pannable-area-tuning-example.c: New example
628 * src/hildon-pannable-area.c,
629 (hildon_pannable_area_class_init),
630 (hildon_pannable_area_init),
631 (hildon_pannable_area_get_property),
632 (hildon_pannable_area_set_property),
633 (hildon_pannable_area_launch_fade_timeout),
634 (hildon_pannable_area_adjust_value_changed),
635 (hildon_pannable_axis_scroll),
636 (hildon_pannable_area_motion_notify_cb),
637 (hildon_pannable_area_scroll_cb),
638 (hildon_pannable_area_button_release_cb): We have converted some
639 of the defines that control the widget to properties to simplify
642 2009-03-05 Alberto Garcia <agarcia@igalia.com>
644 * src/hildon-app-menu.c (hildon_app_menu_map)
645 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
646 so it's closed if a new window appears.
648 Fixes: NB#104485 (Not able to address the call when application
649 menu is opened at background)
651 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
653 * src/hildon-color-button.c (hildon_color_button_get_property):Add
654 missing 'break' statement in in 'case' construct to avoid
657 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
659 * src/hildon-touch-selector-entry.c
660 (hildon_touch_selector_entry_get_property),
661 (hildon_touch_selector_entry_set_property): Add missing 'break'
662 statements in in 'case' constructs to avoid incorrect warnings.
664 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
666 * src/hildon-time-editor.c
667 (hildon_time_editor_get_time_separators): Do not crash if
668 the first label is NULL.
670 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
672 * src/hildon-date-selector.c (_month_days): Check for month to be
673 strictly less than 12, since otherwise we may overrun the array.
675 2009-03-04 Alberto Garcia <agarcia@igalia.com>
677 * src/hildon-date-button.c (+hildon_date_button_new_full)
678 (hildon_date_button_new, hildon_date_button_new_with_year_range)
679 (hildon_date_button_init): Set the date selector using a
680 construction property, to make it happen after HildonButton's
681 "value" property is set.
683 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
684 current date by default)
686 2009-03-04 Alberto Garcia <agarcia@igalia.com>
688 * doc/hildon-sections.txt
689 * src/hildon-program.c
690 * src/hildon-stackable-window.c
691 * src/hildon-window.c:
692 Documentation updates
694 2009-03-04 Alberto Garcia <agarcia@igalia.com>
696 * src/hildon-window-stack.c (hildon_window_stack_get_default)
697 (hildon_window_stack_new, +hildon_window_stack_set_property)
698 (+hildon_window_stack_get_property)
699 (hildon_window_stack_class_init)
700 (+hildon_window_stack_set_window_group)
701 (+hildon_window_stack_get_window_group):
702 Make the window group a construction property.
704 2009-03-04 Alberto Garcia <agarcia@igalia.com>
706 * doc/hildon-sections.txt
707 * src/hildon-stackable-window-private.h
708 * src/hildon-stackable-window.h
709 * src/hildon-stackable-window.c
710 (-hildon_stackable_window_set_app_menu)
711 (-hildon_stackable_window_get_app_menu)
712 (-hildon_stackable_window_toggle_menu)
713 (-hildon_stackable_window_finalize)
714 (hildon_stackable_window_class_init)
715 (hildon_stackable_window_init)
716 * src/hildon-window-private.h
717 * src/hildon-window.h
718 * src/hildon-window.c (hildon_window_init)
719 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
720 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
721 (hildon_window_get_main_menu, hildon_window_set_main_menu)
722 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
723 Moved all HildonAppMenu code to HildonWindow. The menu does not
724 require a HildonStackableWindow anymore.
726 * src/hildon-app-menu.c
727 * src/hildon-program.c
728 * examples/hildon-app-menu-example.c (main):
729 Update examples and documentation to reflect HildonAppMenu
732 2009-03-04 Alberto Garcia <agarcia@igalia.com>
734 * src/hildon-remote-texture.c
735 * src/hildon-animation-actor.c:
736 Don't include unused private headers.
738 2009-03-04 Alberto Garcia <agarcia@igalia.com>
740 * src/hildon-program-private.h
741 * src/hildon-program.c
742 (hildon_program_set_common_menu)
743 (hildon_program_get_common_menu)
744 (hildon_program_set_common_app_menu)
745 (hildon_program_get_common_app_menu):
746 Change common menu pointers from GtkWidget* to GtkMenu* and
747 HildonAppMenu* to avoid unnecessary casts.
749 2009-03-03 Alberto Garcia <agarcia@igalia.com>
751 * src/hildon-window.c (hildon_window_set_main_menu):
752 Removed incorrect 'Since:' tag
754 2009-03-03 Alejandro G. Castro <alex@igalia.com>
756 * src/hildon-pannable-area.c,
757 (hildon_pannable_area_calculate_velocity): We use now the
758 RATIO_TOLERANCE here to check the distance, fixed typo in the
760 (hildon_pannable_area_motion_notify_cb): We have to set the type
761 and time even if we are not sending the motion.
763 2009-03-02 Alberto Garcia <agarcia@igalia.com>
765 * doc/hildon-sections.txt
766 * src/hildon-app-menu.h
767 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
768 (+hildon_app_menu_get_filters): New methods to get the contents of
771 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
774 2009-03-02 Alberto Garcia <agarcia@igalia.com>
776 * src/hildon-app-menu.c (hildon_app_menu_popup):
779 2009-03-02 Alberto Garcia <agarcia@igalia.com>
781 * src/hildon-window.h
782 * src/hildon-window.c (+hildon_window_get_main_menu)
783 (hildon_window_get_menu): Created hildon_window_get_main_menu()
784 and deprecated hildon_window_get_menu().
786 * src/hildon-stackable-window.h
787 * src/hildon-stackable-window.c
788 (+hildon_stackable_window_set_app_menu)
789 (+hildon_stackable_window_get_app_menu)
790 (hildon_stackable_window_set_main_menu): Created
791 hildon_stackable_window_{get,set}_app_menu() and deprecated
792 hildon_stackable_window_set_main_menu().
794 * doc/hildon-sections.txt
795 * examples/hildon-app-menu-example.c (main)
796 * src/hildon-app-menu.c
797 * src/hildon-program.c:
798 Updated examples and documentation.
800 Fixes: NB#103758 (No way to obtain a menu from a
801 HildonStackableWindow)
803 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
808 * configure.ac: Bump version.
809 * debian/changelog: Updates.
811 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
813 * examples/hildon-remote-texture-example.c: Include
814 hildon-remote-texture.h explicitely.
815 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
816 applications not defining _XOPEN_SOURCE which don't require this header.
818 2009-02-27 Alberto Garcia <agarcia@igalia.com>
820 * doc/hildon-sections.txt
821 * src/hildon-app-menu.h
822 * src/hildon-app-menu.c (+hildon_app_menu_popup):
823 New function to pop up a HildonAppMenu
825 * src/hildon-stackable-window.c
826 (hildon_stackable_window_toggle_menu):
827 Use hildon_app_menu_popup() to show the menu.
829 2009-02-27 Alberto Garcia <agarcia@igalia.com>
831 * src/hildon-app-menu.c (hildon_app_menu_show)
832 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
833 menu if there's another window between it and its parent window.
835 Fixes: NB#100468 (Application menu window is launched even when a
836 new secondary-window/dialog is pending to be shown/realized)
838 2009-02-27 Alberto Garcia <agarcia@igalia.com>
840 * src/hildon-window-stack.c (hildon_window_stack_push)
841 (hildon_window_stack_pop_and_push):
842 Don't forget to push/pop the first window.
843 Reverse the window list before calling _push_list()
845 2009-02-27 Alberto Garcia <agarcia@igalia.com>
847 * src/hildon-picker-button.h
848 * src/hildon-picker-button.c (hildon_picker_button_class_init):
849 Remove "value_changed" slot to avoid ABI breakage
851 2009-02-26 Alejandro G. Castro <alex@igalia.com>
853 * src/hildon-pannable-area.c,
854 (hildon_pannable_area_realize),
855 (hildon_pannable_area_unrealize),
856 (hildon_pannable_draw_vscroll),
857 (hildon_pannable_draw_hscroll): Changed the method to handle the
858 GC used to draw the transparent scrollbar, this way we avoid
859 creating the GC all the time when drawing the scrollbars.
861 2009-02-26 Alejandro G. Castro <alex@igalia.com>
863 * src/hildon-pannable-area.c,
864 (hildon_pannable_area_init),
865 (hildon_pannable_area_remove): Removed some unnecessary casts.
866 (hildon_pannable_area_dispose): Disconnected some signals before
867 releasing the adjustments.
869 2009-02-26 Alberto Garcia <agarcia@igalia.com>
871 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
872 Make sure that all widgets contained in the toolbar are shown.
874 2009-02-25 Alberto Garcia <agarcia@igalia.com>
876 * doc/hildon-sections.txt
877 * src/hildon-picker-button.h
878 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
879 (_selection_changed, hildon_picker_button_on_dialog_response)
880 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
881 New hildon_picker_button_value_changed() method.
884 * src/hildon-picker-button-private.h
885 * src/hildon-picker-button.c (hildon_picker_button_init)
886 (+hildon_picker_button_disable_value_changed): Add protected
887 function for disabling the "value-changed" signal.
889 * src/hildon-date-button.c (hildon_date_button_set_date):
890 Don't emit "value-changed" for each one of the three columns.
892 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
893 before actual change of values)
895 2009-02-24 Alejandro G. Castro <alex@igalia.com>
897 * src/hildon-pannable-area.c,
898 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
899 for the treeview overshooting.
901 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
903 * src/hildon-banner.c (+hildon_banner_bind_style):
904 Renamed from hildon_banner_bind_label_style(), now naming the
905 banner itself as well.
906 (hildon_banner_show_information),
907 (hildon_banner_show_information_with_markup),
908 (hildon_banner_show_animation), (hildon_banner_show_progress):
909 Name the widgets and labels, based on their type.
911 See NB#98597 (Hildon Note and Hildon Banner should use themeable
914 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-note.c (hildon_note_set_property): call
917 hildon_note_rename() on HildonNote:note-type set.
918 (hildon_note_rename): Name the note and its label, based on the
919 HildonNote:note-type property.
921 See NB#98597 (Hildon Note and Hildon Banner should use themeable
924 2009-02-24 Alejandro G. Castro <alex@igalia.com>
926 * src/hildon-pannable-area.c,
927 (hildon_pannable_area_class_init),
928 (hildon_pannable_area_motion_notify_cb): Reviewed the default
929 panning parameters, increased SPS and deceleration factor. Added
930 also a margin to control fake directions.
932 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
934 Patch by Sven Herzberg (sven@imendio.com)
936 * configure.ac: Add missing AM_PROG_CC_C_0
937 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
939 See NB#101420 (Update unit tests and fix make check)
941 2009-02-23 Alejandro G. Castro <alex@igalia.com>
943 This patch was applied before but reverted because it caused
944 problems, we have changed the main condition and tested the
945 regressions we detected before and they work ok. We have done a
946 complete review of the topmost algorithm in order to get a more
949 * src/hildon-pannable-area.c,
950 (hildon_pannable_area_get_topmost): Added a new parameter to
951 filter the the windows that do not include those events.
952 (hildon_pannable_area_button_press_cb),
953 (hildon_pannable_area_button_release_cb),
954 (hildon_pannable_get_child_widget_at): Reviewed the call the the
955 topmost function, we have added the new parameter.
957 Fixes: NB#97458 (Pannable area prevents propagation of button
960 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
962 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
963 if all columns in the selector have an item selected.
964 (_on_dialog_response): Stop "response" signal emission if there is
965 any selector column without selected items.
967 Fixes: NB#101889 (Picker dialog should not close when nothing is
968 selected in multiple selection list)
970 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
972 * src/hildon-font-selection-dialog.c
973 (hildon_font_selection_dialog_class_init),
974 (hildon_font_selection_dialog_init): Remove the preview
975 button and dialog, since previewing with default theming is likely
976 to be overcomplicated. The :preview property has now no effect.
977 Update documentation blurbs to inform about this.
979 Fixes: NB#92297 (Preview content is not clearly visible for
982 2009-02-20 Alejandro G. Castro <alex@igalia.com>
984 Reviewed the geometry that handles the children size and
985 scrollbar, now it tries a size and reviews the results depending
986 on the scrollbars visibility.
988 * src/hildon-pannable-area.c,
989 (hildon_pannable_area_realize): Fixed a typo.
990 (hildon_pannable_area_child_allocate_calculate): Added this
991 function to calculate the child allocation.
992 (hildon_pannable_area_size_allocate): Reviewed the allocation
994 (hildon_pannable_area_check_scrollbars),
995 (hildon_pannable_area_refresh): Refactored refresh function, this
996 way we can call the code handling the scrollbars without causing a
997 size_request, it is interesting in the allocate.
998 (hildon_pannable_area_init): Replace the callbacks of the
999 value_changed and changed signals to propertly deal with the
1001 (hildon_pannable_area_grab_notify),
1002 (hildon_pannable_area_initial_effect),
1003 (hildon_pannable_area_launch_fade_timeout),
1004 (hildon_pannable_area_adjust_changed),
1005 (hildon_pannable_area_adjust_value_changed),
1006 (hildon_pannable_area_redraw),
1007 (hildon_pannable_area_button_press_cb),
1008 (hildon_pannable_area_button_release_cb),
1009 (hildon_pannable_area_scroll_cb),
1010 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1011 code and use the new functions adjust_changed and
1012 adjust_value_changed.
1014 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1015 Contact editor dialog)
1017 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1022 * configure.ac: Bump version.
1023 * debian/changelog: Updates.
1025 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1027 * src/hildon-pannable-area.c,
1028 (hildon_pannable_area_get_topmost),
1029 (hildon_pannable_area_button_press_cb),
1030 (hildon_pannable_area_button_release_cb),
1031 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1032 topmost function adding the event mask. We have to try a
1033 differente approach because it is still causing problems (NB#9745,
1036 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1038 * src/hildon-banner.c:
1039 Update the maximum width of timed banners.
1040 (force_to_wrap_truncated): Enforce the maximum text width if the
1043 Fixes: NB#102413 (The text margins (wrapping) in information
1044 banner should be HILDON_MARGIN_TRIPLE)
1046 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1048 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1050 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1051 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1052 bound when calculating the scroll indicator position.
1054 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1055 treat ->lower correctly)
1057 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1059 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1060 expose event handling, since it is not necessary to draw the focus
1063 Fixes: NB#102467 (Do not show highlight on the text in
1066 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1068 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1069 full height of the toolbar for the button and the label.
1071 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1073 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1074 padding before the label and after the button.
1076 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1078 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1080 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1081 Add a GtkVSeparator between the button and the back arrow.
1082 Let the button have automatic size.
1083 Set a name to the widget for theming handling.
1085 Fixes: NB#101793 (Make edit toolbar the same height as window
1086 title bar (use title area theming))
1088 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1090 * src/hildon-helper.c (attach_new_color_element): Fix memory
1093 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1095 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1097 * examples/hildon-button-example.c (common_buttons_window): Don't
1100 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1102 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1103 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1105 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1107 * src/hildon-gtk.c: Check that the window is realized.
1109 Fixes: NB#102225 (Crash setting the progress indicator to a non
1112 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1114 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1115 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1116 instead of modifying the one in the widget style.
1118 Fixes: NB#101043 (Second row of all the command button are
1119 displayed in transparent mode.)
1121 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1123 * src/hildon-date-button.c
1124 * src/hildon-time-button.c: Add gettext macros
1126 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1128 * src/hildon-date-button.c (hildon_date_button_new):
1129 * src/hildon-time-button.c (hildon_time_button_new_step):
1130 Use new logical strings to set the button default title.
1132 Fixes: NB#99915 (Date and Time options are not localised in Date
1135 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1137 * src/hildon-pannable-area.c
1138 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1139 the PANNING_THRESHOLD.
1141 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1143 * src/hildon-pannable-area.c,
1144 (hildon_pannable_area_class_init): Increased the maximum speed.
1145 (hildon_pannable_area_get_property),
1146 (hildon_pannable_area_set_property),
1147 (hildon_pannable_area_timeout): Added a new low friction mode, it
1148 allows the user avoid friction when launching the widget fast
1149 enough. It is interesting to traverse long lists.
1151 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1153 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1154 (+hildon_stackable_window_delete_event): Ignore delete events if
1155 the window is not the topmost one.
1157 Fixes: NB#101698 (Back button long press and delete-event handling)
1159 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1161 * src/hildon-pannable-area.c,
1162 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1163 gtk-dnd-drag-threshold, it was too big. We have defined our own
1164 dnd define and set a smaller value: PANNIG_THRESHOLD.
1166 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1168 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1169 user-defined icons, use always the default one.
1171 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1173 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1175 This patch was applied before but reverted because it caused
1176 problems, we have changed the main condition and tested the
1177 regressions we detected before and they work ok.
1179 * src/hildon-pannable-area.c,
1180 (hildon_pannable_area_get_topmost): Added a new parameter to
1181 filter the the windows that do not include those events. Added
1182 also a condition when finding the window to filter windows that do
1183 not ask for those events.
1184 (hildon_pannable_area_button_press_cb),
1185 (hildon_pannable_area_button_release_cb),
1186 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1187 topmost function, we have added the new parameter.
1189 Fixes: NB#97458 (Pannable area prevents propagation of button
1192 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1194 * tests/check-hildon-color-button.c (START_TEST): do not leak
1197 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1199 * src/hildon-font-selection-dialog.c
1200 (hildon_font_selection_dialog_get_preview_text): Return NULL
1201 instead of FALSE on the g_return_val_if_fail().
1203 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1205 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1206 * src/hildon-date-selector.c
1207 (hildon_date_selector_select_current_date):
1208 Do not compare unsigned integers to be greater than or equal 0,
1209 because it's always TRUE.
1211 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1213 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1214 (hildon_date_selector_constructor): Do not select the current
1215 date until we are handle the "changed" signal, to avoid having bogus
1216 elements in the days model.
1218 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1220 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1221 for num_days, since _month_days() can return a negative value.
1223 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1225 * src/hildon-caption.c (hildon_caption_size_allocate):
1226 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1227 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1229 Initialize allocation variables to 0, to avoid eventually using
1230 unitialized variables.
1232 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1234 * src/hildon-bread-crumb-trail.c
1235 (hildon_bread_crumb_trail_size_allocate):
1236 * src/hildon-calendar.c (hildon_calendar_set_background):
1237 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1238 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1239 * src/hildon-seekbar.c (hildon_seekbar_init):
1240 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1241 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1242 * src/hildon-touch-selector-entry.c
1243 (hildon_touch_selector_get_text_from_model):
1244 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1245 * src/hildon-window.c (hildon_window_finalize):
1247 Remove many unused variables.
1249 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1251 * src/hildon-seekbar.c: (hildon_seekbar_init),
1252 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1254 Remove unnecessary g_assert() calls.
1256 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1258 * src/hildon-caption.c: (hildon_caption_expose),
1259 (hildon_caption_set_property), (hildon_caption_init),
1260 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1261 (hildon_caption_size_request), (hildon_caption_size_allocate),
1262 (hildon_caption_forall), (hildon_caption_set_separator),
1263 (hildon_caption_activate), (hildon_caption_set_child_expand),
1264 (hildon_caption_set_label_text),
1265 (hildon_caption_get_label_alignment):
1267 Remove unnecessary g_assert() calls.
1269 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1271 * src/hildon-banner.c
1272 (hildon_banner_map, hildon_banner_init): Make banner temporary
1273 before mapping it to avoid closing other temporary windows, but
1274 make it non-temporary afterwards to avoid being closed by other
1275 non-temporary windows.
1276 (-hildon_banner_client_event, hildon_banner_init):
1277 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1279 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1282 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1284 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1287 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1289 * src/hildon-remote-texture.c
1290 * src/hildon-remote-texture.h
1291 * src/hildon-remote-texture-private.h
1292 * examples/hildon-remote-texture-example.c:
1293 Updates/fixes to remote-texture and its example.
1295 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1297 Patch by Mox Soini (ext-mox.soini@nokia.com)
1299 * src/hildon-code-dialog.c: Update logical id.
1300 * src/hildon-set-password-dialog.c: Update logical id.
1302 Fixes: NB#100646 (Logical strings is shown for ok in set
1303 password,Password needed dialogs)
1305 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1308 * src/hildon-remote-texture.c
1309 * src/hildon-remote-texture.h
1310 * src/hildon-remote-texture-private.h
1312 Added remote texture widget (for Clutter shared memory textures)
1314 * examples/hildon-remote-texture-example.c
1315 * examples/Makefile.am
1316 Added example file for remote texture usage
1318 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1320 * configure.ac: post release version bump.
1321 * debian/changelog: version bump.
1323 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1328 * configure.ac: Bump version.
1329 * debian/changelog: Updates.
1331 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1333 * src/hildon-date-selector.c (hildon_date_selector_init)
1334 (hildon_date_selector_constructor): Don't connect to the "changed"
1335 signal until the selector is completely constructed.
1337 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1339 * src/hildon-touch-selector.c: (_create_new_column),
1340 (hildon_touch_selector_append_column),
1341 (hildon_touch_selector_set_column_selection_mode),
1342 (hildon_touch_selector_set_active),
1343 (hildon_touch_selector_select_iter):
1344 Emit the HildonTouchSelector::changed signal every time selection
1345 is changed in any of the methods above. This behavior was already
1346 documented but not fully functional.
1348 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1349 selection is programmatically changed)
1351 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1353 * doc/hildon-sections.txt: Remove obsolete icon
1354 sizes from here as well.
1356 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1358 * examples/hildon-stackable-window-example.c (add_window): Remove
1361 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1363 * src/hildon-app-menu.c
1364 (hildon_app_menu_show): Check whether the parent window of a menu
1365 is topmost before popping it up.
1367 Fixes: NB#100468 (Application menu window is launched even when a
1368 new secondary-window/dialog is pending to be shown/realized.)
1370 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1372 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1375 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1377 Patch by Mox Soini (ext-mox.soini@nokia.com)
1379 * src/hildon-banner.c: (hildon_banner_show_animation):
1380 use stylus size instead of obsolete note size.
1381 * src/hildon-defines.h: Update icon sizes.
1383 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1385 * src/hildon-touch-selector-entry.c:
1386 (hildon_touch_selector_entry_init): Disable unsupported
1388 (hildon_touch_selector_entry_get_text_column): Emit a warning
1389 if an unsupported input modes is used and explicitile state
1390 these modes in the documentation.
1392 Fixes: NB#99802 (Hildon touch selector entry not working properly
1393 for some of the input modes)
1395 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1397 * src/hildon-pannable-area.c,
1398 (hildon_pannable_area_init): Added the changed signal handlers of
1401 Fixes: NB#100320 (HildonPannableArea does not listen to
1402 GtkAdjustment "change" signals)
1404 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1406 * doc/hildon-sections.txt
1407 * src/hildon-window-private.h
1408 * src/hildon-window.h
1409 * src/hildon-window.c (hildon_window_init)
1410 (hildon_window_realize, hildon_window_unrealize)
1411 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1412 (hildon_window_size_request, hildon_window_size_allocate)
1413 (hildon_window_forall, hildon_window_show_all)
1414 (hildon_window_destroy, +paint_edit_toolbar)
1415 (+hildon_window_set_edit_toolbar):
1416 New hildon_window_set_edit_toolbar() method, to add a
1417 HildonEditToolbar to a window without having to pack it manually.
1419 Reorganize hildon_window_size_allocate()
1421 * src/hildon-edit-toolbar.c: Update documentation.
1423 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1424 example to use the new API.
1426 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1428 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1431 Remove from stack before calling parent's hide.
1433 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1435 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1436 window is removed from the middle of the stack, update the
1437 transiency of the previous one.
1439 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1442 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1444 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1445 block/unblock the signal handler if it's not actually being used.
1446 Fixes some critical warnings.
1448 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1450 Based on a patch by Iván Gómez (igomez@igalia.com)
1452 * src/hildon-banner.c
1456 * src/hildon-pannable-area.c
1457 * src/hildon-picker-dialog.c
1458 * src/hildon-wizard-dialog.h
1459 * src/hildon-wizard-dialog.c: Documentation updates.
1461 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1462 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1464 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1466 * configure.ac: post release version bump.
1467 * debian/changelog: version bump.
1469 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1474 * configure.ac: Bump version.
1475 * debian/changelog: Updates.
1477 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1479 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1480 a stock icon nor change the relief of the back arrow.
1482 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1483 graphics from theme)
1485 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1487 * src/hildon-button.c (hildon_button_set_alignment): Use
1488 priv->alignment if the button has no child yet.
1490 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1492 * src/hildon-button.c: (hildon_button_init): Set the
1493 button style during initialization to give it the proper
1496 Fixes: NB#99713 (HildonButton value label color is wrong)
1498 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1500 * src/hildon-touch-selector.c: Document
1501 hildon_touch_selector_center_on_selected()
1503 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1506 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1507 all menu items, but not the menu itself.
1508 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1509 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1510 items after adding them to the menu so keyboard accelerators work.
1511 (hildon_app_menu_show): Don't show the menu if it contains items
1512 but none of them are visible.
1514 * examples/hildon-app-menu-example.c (create_menu): Use
1515 gtk_widget_show_all() to show all menu items.
1517 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-picker-dialog.c:
1520 (-_update_title_on_selector_changed_cb),
1521 (-_dialog_update_title): Removed.
1522 (_select_on_selector_changed_cb), (_on_dialog_response),
1523 (on_selector_columns_changed): Do not update the dialog title.
1524 (setup_interaction_mode): Do not connect to
1525 HildonTouchSelector::changed signal if there's a "done" button, as
1526 the dialog title doesn't need to be updated.
1528 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1531 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1533 Patch by Kristian Rietveld (kris@imendio.com)
1535 * src/hildon-touch-selector.c: (_create_new_column): Use new
1536 GtkTreeView::hildon-row-tapped signal to react to user interactions
1537 instead of ::changed.
1539 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1540 with some dynamic tree model)
1542 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1544 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1545 (+screen_size_changed, +label_size_request)
1546 (hildon_note_class_init): Make the Hildon information note have a
1547 minimum height, and make its text hvae a maximum width.
1549 Fixes: NB#98614 (Hildon information note (background) should have
1550 minimum height and maximum text width)
1552 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1554 * src/hildon-banner.h
1555 * src/hildon-banner.c (hildon_banner_show_information)
1556 (hildon_banner_show_informationf)
1557 (hildon_banner_show_information_with_markup): Update documentation
1558 to reflect that the icon_name parameter is not used anymore.
1559 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1560 Remove all code from these functions and mark them as deprecated.
1561 (hildon_banner_show_progress): Mark as deprecated.
1563 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1565 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1567 * src/hildon-pannable-area.c,
1568 (hildon_pannable_area_class_init),
1569 (tranparency_color),
1570 (hildon_pannable_draw_vscroll),
1571 (hildon_pannable_draw_hscroll),
1572 (hildon_pannable_area_expose_event): Added a new way to render the
1573 scrollbars of the pannable area avoiding using cairo at all. This
1574 way we improve the performance of the pannable area rendering. The
1575 cairo rendering procedure is still in the code, we can control
1576 which one to use changing the value of the define
1577 USE_CAIRO_SCROLLBARS.
1579 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1581 * configure.ac: post release version bump.
1582 * debian/changelog: version bump.
1584 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1589 * configure.ac: Bump version.
1590 * debian/changelog: Updates.
1592 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1594 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1595 banners instead of destroying them when they receive a button
1598 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1600 Reverted commit 34028, it was causing regressions, probably the
1601 topmost condition is not correct, we have to check it in more
1602 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1603 propagation of button press events)
1605 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1607 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1608 that the selection is not empty before attempting to retrieve the
1609 current ampm selection.
1611 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1613 * src/hildon-picker-button.c:
1614 (hildon_picker_button_on_dialog_response): Directly update the
1615 button contents when required instead of calling _selection_changed.
1617 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1619 * src/hildon-program.c (hildon_program_update_top_most): Update
1620 'is-topmost' property also when wm_hints is not set.
1622 Fixes: NB#98383 (is-topmost signal is not emitted when task
1623 switcher is clicked.)
1625 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1627 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1631 * src/hildon-animation-actor.c,
1632 * src/hildon-animation-actor.h: Added the animation actor class,
1633 this widget represents an animation actor for WM-assisted
1634 animation effects in the Hildon framework.
1636 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1638 * src/hildon-window-stack-private.h
1639 * src/hildon-window-stack.c
1640 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1641 Avoid calling gtk_widget_show() again indirectly from
1642 hildon_stackable_window_show()
1644 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1646 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1649 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1651 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1652 (hildon_time_selector_init): Move the construction of the hours and
1653 ampm columns to the constructor to preserve the order the columns
1656 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1658 * src/hildon-picker-dialog.c:
1659 (hildon_picker_dialog_class_init): Connect a realize method.
1660 (+hildon_picker_dialog_realize): Setup the interaction mode here
1662 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1663 yet, do it during the realize instead.
1664 (_on_dialog_response):
1665 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1666 if the widget is not realized, to avoid the dialog response before it
1669 Avoid premature responses in the HildonPickerDialog that can cause it
1670 to be hidden before it's even shown.
1672 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1675 (on_selector_columns_changed), (requires_done_button),
1676 (+prepare_action_area), (setup_interaction_mode),
1677 (_hildon_picker_dialog_set_selector):
1679 Split the interaction mode setup into preparation of the
1680 action area (prepare_action_area()) and the connection of
1681 the signals in setup_interaction_mode() and update the code to
1684 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1686 * src/hildon-pannable-area.c,
1687 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1688 per second to 15, we will check if this is ok regarding
1691 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1693 * src/hildon-pannable-area.c,
1694 (hildon_pannable_axis_scroll): Avoid resize if we already have
1695 reached overshoot_max.
1697 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1699 * src/hildon-pannable-area.c,
1700 (hildon_pannable_area_init),
1701 (hildon_pannable_area_realize),
1702 (hildon_pannable_area_size_allocate),
1703 (hildon_pannable_area_map),
1704 (hildon_pannable_area_unmap),
1705 (hildon_pannable_draw_vscroll),
1706 (hildon_pannable_draw_hscroll),
1707 (hildon_pannable_area_expose_event),
1708 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1709 pannable are to avoid the expose events go to the window and
1710 redraw the window. We save this way that part of the stack and the
1711 paint_boxes. We had to change the positions of the elements when
1714 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1716 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1717 * src/hildon-color-chooser-dialog.c:
1718 (hildon_color_chooser_dialog_init):
1719 * src/hildon-font-selection-dialog.c:
1720 (hildon_font_selection_dialog_init),
1721 (hildon_font_selection_dialog_show_preview):
1722 * src/hildon-get-password-dialog.c:
1723 * src/hildon-login-dialog.c:
1724 * src/hildon-set-password-dialog.c:
1725 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1726 * src/hildon-time-picker.c: (hildon_time_picker_init):
1728 Remove obsolete logical string IDs and update to the appropriate ones.
1730 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1732 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1734 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1735 that happens if the window hasn't been realized yet.
1737 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1738 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1740 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1743 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1746 Fixes: NB#98537 (Device hangs in account settings dialog)
1748 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1750 * configure.ac: post release version bump.
1751 * debian/changelog: version bump
1753 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1758 * configure.ac: Bump version.
1759 * debian/changelog: Updates.
1761 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1763 Added a new function to the HildonTimeButton widget that allows to
1764 change the step of the minutes in the selector associated with the
1765 button: hildon_time_button_new_step
1767 * src/hildon-time-button.c,
1768 (hildon_time_button_init),
1769 (hildon_time_button_new),
1770 (hildon_time_button_new_step):
1771 * src/hildon-time-button.h: Added the new function and refactored
1773 * examples/hildon-time-button-example.c,
1774 (main): We have replaced the function without parameters with the
1775 function with the steps set to 5
1777 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1779 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1781 * src/hildon-time-selector.c,
1782 (hildon_time_selector_class_init),
1783 (hildon_time_selector_constructor),
1784 (hildon_time_selector_get_property),
1785 (hildon_time_selector_set_property),
1786 (_create_minutes_model),
1787 (hildon_time_selector_new_step),
1788 (hildon_time_selector_set_time),
1789 * src/hildon-time-selector.h: Added a new property to the
1790 HildonTimeSelector (minutes-step), we use that property to control
1791 the steps between the minutes in the list of the selector. We have
1792 added a new function to the API to create a widget changing the
1793 step: hildon_time_selector_new_step.
1795 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1797 * src/hildon-time-selector.c,
1798 (hildon_time_selector_class_init),
1799 (hildon_time_selector_constructor),
1800 (hildon_time_selector_init): Overrided the construct function when
1801 creating the time selector object. We have moved the minutes model
1802 handling code from the init to the new construction function:
1803 hildon_time_selector_constructor.
1805 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1807 * examples/hildon-date-button-example.c: (main): Use the new
1808 hildon_date_button_new_with_year_range() method in the example.
1809 * src/hildon-date-button.c:
1810 (+hildon_date_button_new_with_year_range): New public method
1811 to conveniently create a HildonDateButton with a custom year range
1812 in its HildonDateSelector.
1813 * src/hildon-date-button.h: Add the new public method definition.
1815 Fixes: NB#97908 (Not possible to change the year range in
1816 HildonDateSelector/HildonDateButton)
1818 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1820 * src/hildon-date-selector.c:
1821 (+hildon_date_selector_set_property),
1822 (+hildon_date_selector_get_property),
1823 (hildon_date_selector_class_init): Install new properties "min-year"
1824 and "max-year" to define boundaries for the year column.
1825 (_create_year_model): Use the boundary properties to populate the model.
1826 (+hildon_date_selector_new_with_year_range): New public method to
1827 create a HildonDateSelector with a user defined year range.
1828 (hildon_date_selector_select_current_date): Use the new boundaries to
1829 calculate the iterator of current year.
1830 * src/hildon-date-selector.h: Add the new public method definition.
1832 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1834 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1835 Install a constructor method.
1836 (+hildon_date_selector_construct_ui): construct the widget.
1837 (+hildon_date_selector_constructor): new constructor.
1838 (+hildon_date_selector_init): move out widget construction code to
1839 the new constructor.
1841 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1843 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1844 that there's actually a month or year selected before obtaining them.
1845 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1846 of the HildonTouchSelector::changed signal, as it was emitted on every
1847 single item selection.
1849 Fix some warnings and possible crashers due to the selection restoring.
1851 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1853 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1854 the signal handlers only after creating the dialog instead of on every
1857 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1859 * src/hildon-button.c (hildon_button_init)
1860 * src/hildon-check-button.c (hildon_check_button_init)
1861 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1862 focus when clicked by default.
1864 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1866 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1869 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1871 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1872 Alejandro G. Castro (alex@igalia.com)
1874 * src/hildon-picker-dialog.c:
1875 (hildon_picker_dialog_class_init): install new "center-on-show"
1877 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1878 (hildon_picker_dialog_set_property): add setter code for the new
1880 (hildon_picker_dialog_get_property): add getter code for the new
1882 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1883 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1886 Fixes: NB#92849 (Selected item is not always visible when
1887 HildonTouchSelector is shown)
1889 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1891 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1892 Alejandro G. Castro (alex@igalia.com)
1894 * src/hildon-touch-selector.c:
1895 (_create_new_column): Do not connect to the "realize" signal of the
1897 (hildon_touch_selector_append_column): center on the selected items
1898 when a new column is appended.
1899 (hildon_touch_selector_select_iter): Factor out the code to select a
1900 column to hildon_touch_selector_scroll_to().
1901 (+search_nearest_element): Method to retrieve the nearest selected
1902 element to the visible area of the pannable area in a column.
1903 (+on_realize_cb): scroll to the initially selected item.
1904 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1905 the pannable area is realized, otherwise delay this until it is.
1906 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1907 selected items of a given column.
1908 (+hildon_touch_selector_center_on_selected): Public method to center
1909 all columns on the nearest selected item.
1910 * src/hildon-touch-selector.h: Add definition for
1911 hildon_touch_selector_center_on_selected().
1913 Implement public API to ensure visibility of all selected items in
1914 a HildonTouchSelector.
1916 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1918 Fixed a problem in the fading when calling the scroll_to API, and
1919 improve scrollbar fading handling.
1921 * src/hildon-pannable-area.c,
1922 (hildon_pannable_area_grab_notify): avoid the timeout when the
1924 (hildon_pannable_area_button_press_cb),
1925 (hildon_pannable_area_motion_notify_cb): Code style changes.
1926 (hildon_pannable_area_button_release_cb): Review the conditions
1927 when releasing the mouse button to avoid unrequired fading
1929 (hildon_pannable_area_scroll_to): Do not calculate and set the
1930 velocity if the scroll is not required.
1932 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1934 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1935 Don't check whether the new selector is NULL: it cannot be.
1936 Hold a reference to the selector while doing the replacement.
1938 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1940 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1941 unnecessary size_request in a removed widget.
1943 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1945 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1946 an unnecessary reference tracking that was leaking.
1948 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1950 Added delayed motion notify event handling, this way we can
1951 discard redrawing if more than 25 events arrive per second.
1953 * src/hildon-pannable-area.c,
1954 (hildon_pannable_area_init): Initialized the new private atributes
1955 controlling this timeout
1956 (hildon_pannable_area_dispose): Remove the timeout that controls
1957 the motion notify events.
1958 (hildon_pannable_area_scroll): Added a condition to control the
1959 use of the acceleration.
1960 (hildon_pannable_area_motion_event_scroll_timeout),
1961 (hildon_pannable_area_motion_event_scroll): Added this two
1962 functions, they handle the motion notify events inside the
1964 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1965 to the scroll method with the new function.
1966 (hildon_pannable_area_button_release_cb): We have to remove the
1967 timeout handler and move to the last position if the last motion
1968 events were not handled.
1970 Fixes: NB#97028 (Pannable area updates on every motion event)
1972 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1974 * src/hildon-pannable-area.c,
1975 (hildon_pannable_area_get_topmost): Added a new parameter to
1976 filter the the windows that do not include those events. Added
1977 also a condition when finding the window to filter windows that do
1978 not ask for those events.
1979 (hildon_pannable_area_button_press_cb),
1980 (hildon_pannable_area_button_release_cb),
1981 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1982 topmost function, we have added the new parameter.
1984 Fixes: NB#97458 (Pannable area prevents propagation of button
1987 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1989 * src/hildon-pannable-area.c,
1990 (hildon_pannable_area_initial_effect): Added controls before
1991 launching the timeout and the idle functions.
1992 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1993 of the method, in some situations it can return with TRUE and 0 in
1995 (hildon_pannable_area_button_press_cb): We do not need to set
1996 DELAY for fading out here.
1998 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2000 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2002 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2003 post-cleaning if the selection is not NULL.
2005 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2008 all items before restoring the selection.
2010 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-touch-selector.c:
2013 (+hildon_touch_selector_unselect_all):
2014 * src/hildon-touch-selector.h: New API to unselect all items in a
2015 column of the touch selector.
2017 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2019 * src/hildon-pannable-area.c,
2020 (hildon_pannable_area_redraw): Added a call to the refresh
2021 function inside the redraw because apparently in some cases the
2022 change in the adjustment does not imply a size allocate.
2024 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2025 despite the view not being scrollable)
2027 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2030 leak. Check for NULL before attempting to set the window title.
2032 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2034 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2035 whether to show or not the 'Done' button each time the dialog is
2036 shown, as it depends on the HildonTouchSelector selection mode.
2038 Fixes: NB#96226 (In multiple selection mode Done button is shown
2039 sometimes in listpicker)
2041 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2044 for the number of columns in the HildonTouchSelector more than once.
2046 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-touch-selector.c: Minor documentation fixes.
2050 * src/hildon-picker-dialog.c (+_dialog_update_title)
2051 (_select_on_selector_changed_cb)
2052 (_update_title_on_selector_changed_cb)
2053 (on_selector_columns_changed): Update dialog title when there's no
2054 'Done' button and also when the number of columns in the selector
2058 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2059 (+_selection_changed, hildon_picker_button_on_dialog_response)
2060 (hildon_picker_button_selector_selection_changed)
2061 (+hildon_picker_button_selector_columns_changed)
2062 (hildon_picker_button_set_selector): Update button value and emit
2063 'value-changed' when the number of columns in the selector
2067 Fixes: NB#96225 (Dialog titles are not shown according to the
2068 values selected in the list picker)
2070 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2073 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2074 New "arrow-width" and "arrow-height" style properties to set the
2075 size of the arrow button.
2076 Set name of arrow button ("hildon-edit-toolbar-arrow").
2078 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2079 graphics from theme)
2081 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2083 * src/hildon-picker-button.c:
2084 (hildon_picker_button_selector_selection_changed): Use
2085 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2086 the dialog is present.
2088 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2089 the selection is accepted in the dialog)
2091 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2093 * src/hildon-color-chooser.h
2094 * src/hildon-color-chooser-dialog.h:
2095 Added G_BEGIN_DECLS and G_END_DECLS
2097 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2099 (_clean_current_selection): plug a leak in the list.
2101 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-picker-dialog.c:
2104 (+free_path_list): Method to free a GList of GtkTreePaths.
2105 (_clean_current_selection), (_save_current_selection),
2106 (_restore_current_selection): Save the current selection in
2107 as a list of lists, to support multiple selection properly.
2109 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2111 patch by Claudio Saavedra (csaavedra@igalia.com)
2113 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2114 Store the press position.
2115 (+hildon_text_view_button_release_event): If the release position is
2116 close enough to the press position, move the cursor here. Otherwise,
2118 (hildon_text_view_class_init): Override GtkTextView press, release, and
2119 motion event handlers, disabling this way text selection through
2120 pointer interaction, and allowing the container widget to handle the
2123 Fixes: NB#95828 (HildonTextView functionality)
2125 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2127 Based on a patch by Iván Gómez (igomez@igalia.com)
2129 * src/hildon-button.[ch]
2130 * src/hildon-calendar.c
2131 * src/hildon-check-button.c
2132 * src/hildon-date-editor.c
2133 * src/hildon-date-selector.c
2134 * src/hildon-picker-button.c
2135 * src/hildon-time-editor.c
2136 * src/hildon-time-selector.c
2137 * src/hildon-touch-selector.[ch]:
2138 Documentation updates
2140 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2142 * src/hildon-pannable-area.c,
2143 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2144 threshold, it was required due to X events handling.
2146 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2148 * src/hildon-pannable-area.c,
2149 (hildon_pannable_area_grab_notify),
2150 (hildon_pannable_area_initial_effect),
2151 (hildon_pannable_area_button_press_cb),
2152 (hildon_pannable_area_button_release_cb),
2153 (hildon_pannable_area_scroll_cb),
2154 (hildon_pannable_area_scroll_to): Review the timeout management of
2155 the scrollbar, the frecuency was incorrectly set.
2157 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2159 * src/hildon-picker-button.c:
2160 (+hildon_picker_button_on_dialog_response),
2161 (hildon_picker_button_clicked): Present the dialog instead of
2162 running it with gtk_dialog_run().
2164 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2167 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2170 (hildon_app_menu_finalize): When a window is hidden it doesn't
2171 emit notify::is-topmost, so make sure than the menu also
2172 disappears in that case.
2173 (parent_window_topmost_notify): Renamed from parent_window_hidden
2175 Fixes: NB#94460 (stackable window's menu is not closed when its
2178 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2180 * src/hildon-touch-selector-entry.c:
2181 (+hildon_touch_selector_entry_set_input_mode),
2182 (+hildon_touch_selector_entry_get_input_mode):
2183 * src/hildon-touch-selector-entry.h: New methods to access the input
2184 mode in the selector's entry.
2186 Fixes: NB#93410 (API required for setting IM mode in
2187 HildonTouchSelectorEntry)
2189 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2191 * configure.ac: post release version bump.
2192 * debian/changelog: version bump
2194 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2199 * configure.ac: Bump version.
2200 * debian/changelog: Updates.
2202 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-touch-selector.c:
2205 (_hildon_touch_selector_has_multiple_selection): No need
2206 to initialize the variables here.
2208 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2210 * src/hildon-note-private.h
2211 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2212 (hildon_note_finalize, hildon_note_rebuild): Close information
2213 notes when they receive a button press.
2215 Fixes: NB#89890 (Information notes does not get disappeared after
2218 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2220 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2221 mark from the wizard title, as it's not really necessary. Also,
2222 do not display the page title if not set.
2224 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2226 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2227 (parent_window_hidden): Use the window's "is-topmost" property to
2228 detect when to hide the menu.
2230 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2233 (hildon_app_menu_finalize): If the parent window of the menu is
2234 hidden, hide the menu too.
2236 Fixes: NB#94460 (stackable window's menu is not closed when its
2239 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2242 * debian/libhildon1-examples.install
2244 * examples/Makefile.am:
2245 Use dh_install to install all examples.
2246 Use DEB_SRCDIR instead of defining SOURCE_DIR
2248 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2250 * configure.ac: post release version bump.
2251 * debian/changelog: version bump
2253 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2258 * configure.ac: bump version
2259 * debian/changelog: updates
2260 * debian/control: bump gtk+ dependency
2262 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2264 patch by Christian Dywan (christian@imendio.com)
2266 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2267 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2269 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-check-button.c (hildon_check_button_init)
2272 (hildon_check_button_class_init, hildon_check_button_style_set)
2273 (hildon_check_button_apply_style):
2274 New "checkbox-size" style property.
2276 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2277 larger / configurable size)
2279 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2281 * configure.ac: post release version bump.
2282 * debian/changelog: version bump
2284 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2289 * configure.ac: bump version
2290 * debian/changelog: updates
2292 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2294 * doc/hildon-sections.txt
2295 * src/hildon-pannable-area.c
2296 * src/hildon-program.c
2297 * src/hildon-time-editor.c
2298 * src/hildon-touch-selector-entry.c:
2300 More documentation updates.
2302 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2304 * doc/hildon-sections.txt
2305 * src/hildon-caption.c
2306 * src/hildon-code-dialog.c
2307 * src/hildon-color-button.c
2308 * src/hildon-controlbar.c
2309 * src/hildon-date-editor.c
2310 * src/hildon-date-selector.c
2311 * src/hildon-edit-toolbar.c
2312 * src/hildon-find-toolbar.c
2313 * src/hildon-font-selection-dialog.c
2315 * src/hildon-program.c
2316 * src/hildon-range-editor.c
2317 * src/hildon-seekbar.c
2318 * src/hildon-time-editor.c
2319 * src/hildon-time-selector.c
2320 * src/hildon-volumebar-range.c
2321 * src/hildon-volumebar.c
2322 * src/hildon-vvolumebar.c
2323 * src/hildon-weekday-picker.c
2324 * src/hildon-window.c
2325 * src/hildon-wizard-dialog.c:
2327 Lots of documentation fixes.
2329 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2331 Patch contributed by Iván Gómez (igomez@igalia.com)
2333 * src/hildon-check-button.c:
2334 * src/hildon-date-button.c:
2335 * src/hildon-date-selector.c:
2336 * src/hildon-dialog.c:
2337 * src/hildon-edit-toolbar.c:
2338 * src/hildon-entry.c:
2339 * src/hildon-picker-button.c:
2340 * src/hildon-program.c:
2341 * src/hildon-text-view.c:
2342 * src/hildon-time-button.c:
2343 * src/hildon-touch-selector-entry.c:
2344 * src/hildon-window-stack.c:
2346 Add more "since" tags to the new API.
2348 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2350 * doc/hildon-sections.txt: Add below method.
2351 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2352 version for the hildonized scale.
2353 * src/hildon-gtk.h: Add the definition.
2355 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2357 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2359 * doc/hildon-sections.txt: Add missing entries for new methods.
2361 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2363 Added API to pannable are in order to get its adjustments. We
2364 added two properties to manage the values we had in the private
2367 * src/hildon-pannable-area.c:
2368 (hildon_pannable_area_class_init): Added hadjustment and
2369 vadjustment properties in order to expose horizontal and vertical
2371 (hildon_pannable_area_get_property),
2372 (hildon_pannable_area_set_property): Added code to handle the new
2374 (hildon_pannable_area_get_hadjustment),
2375 (hildon_pannable_area_get_vadjustment): API functions to get the
2377 * src/hildon-pannable-area.h:
2378 (hildon_pannable_area_get_hadjustment),
2379 (hildon_pannable_area_get_vadjustment): API functions to get the
2382 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2384 Fixed some leaks, after valgrinding.
2386 * src/hildon-touch-selector.c:
2387 (_default_print_func): Fixed a leak.
2388 (hildon_touch_selector_append_column): Fixed a leak.
2389 * src/hildon-date-button.c:
2390 (hildon_date_button_init): Fixed a leak.
2391 * src/hildon-date-selector.c
2392 (hildon_date_selector_finalize): Fixed a leak.
2394 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2396 Based on a patch by Christian Dywan (christian@imendio.com)
2398 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2400 * src/hildon-gtk.h: Add definition.
2402 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2404 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2406 * src/hildon-picker-button.c: (hildon_picker_button_init),
2407 (hildon_picker_button_new): Set the HildonButton::style property
2408 in the init method, to propagate the value to the derived classes.
2410 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2412 * src/hildon-button.c: (hildon_button_class_init): Do not make
2413 the "style" property a construct property.
2415 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-wizard-dialog.h
2418 * src/hildon-wizard-dialog.c
2419 (hildon_wizard_dialog_set_forward_page_func)
2420 * src/hildon-pannable-area.h
2421 * src/hildon-pannable-area.c
2422 (hildon_pannable_area_set_size_request_policy):
2423 Documentation fixes.
2425 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2427 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2429 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2431 * doc/hildon-sections.txt: Added sections file.
2433 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/*.[ch]: Updates.
2438 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2440 * examples/hildon-progress-indicator-example.c: new file
2441 * examples/Makefile.am: include the new example program
2443 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2445 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2447 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2449 * configure.ac: post release version bump
2450 * debian/changelog: version bump
2452 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2457 * configure.ac: bump version
2458 * debian/changelog: updates
2459 * debian/control: bump gtk+ dependency
2461 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2463 * src/hildon-dialog.c: Mark as deprecated.
2464 * src/hildon-dialog.h: Mark as deprecated.
2465 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2466 from HildonDialog and still work, even if
2467 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2468 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2470 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2471 maemo changes) instead)
2473 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2475 * src/hildon-pannable_area.h:
2476 * src/hildon-pannable_area.c:
2477 (hildon_pannable_area_class_init),
2478 (hildon_pannable_area_set_property),
2479 (hildon_pannable_area_get_property),
2480 (hildon_pannable_area_size_request),
2481 (hildon_pannable_area_get_size_request_policy),
2482 (hildon_pannable_area_set_size_request_policy): Added new API
2483 allowing applications to control the request policy. Now they can
2484 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2485 children allocation (HILDON_MOVEMENT_CHILDREN).
2487 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2491 (hildon_gtk_tree_view_set_ui_mode)
2492 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2493 mode of treeviews and iconviews.
2495 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2497 * src/hildon-touch-selector-entry.c:
2498 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2499 of a GtkEntry to get proper theming.
2501 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2502 widget, not GtkEntry)
2504 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2506 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2507 no HildonWizardDialogPageFunc.
2509 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2511 Patch contributed by Iván Gómez (igomez@igalia.com)
2513 * src/hildon-app-menu.c:
2514 * src/hildon-button.c:
2515 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2516 * src/hildon-stackable-window.c:
2517 * src/hildon-time-selector.c:
2518 * src/hildon-touch-selector.c:
2519 * src/hildon-window.c:
2521 Add more "since" tags to the new API in hildon 2.2.
2523 2008-12-05 Tim Janik <timj@imendio.com>
2525 Patch contributed by Christian Dywan (christian@imendio.com)
2527 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2528 HildonSizeType, which are supplied by Gtk+ now.
2530 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2532 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2533 (with maemo changes) instead)
2535 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2537 Patch contributed by Iván Gómez (igomez@igalia.com)
2539 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2542 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2544 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2545 (some_page_func), (main): Update the example to use a
2546 HildonWizardDialogPageFunc function.
2548 * src/hildon-wizard-dialog-private.h: Add private data for
2549 the HildonWizardDialogPageFunc function usage.
2551 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2552 (destroy), (hildon_wizard_dialog_init), (response),
2553 (hildon_wizard_dialog_set_forward_page_func):
2554 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2555 that applications can use to stop a HildonWizardDialog to jump to
2558 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2561 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2563 * src/hildon-program.h
2564 * src/hildon-program-private.h
2565 * src/hildon-program.c (hildon_program_init)
2566 (hildon_program_set_common_app_menu)
2567 (hildon_program_get_common_app_menu):
2568 New API for setting a common HildonAppMenu for all
2569 HildonStackableWindows registered with the HildonProgram.
2571 * src/hildon-stackable-window.c
2572 (hildon_stackable_window_toggle_menu):
2573 Use the common HildonAppMenu if a window doesn't have a specific
2576 * src/hildon-app-menu-private.h
2577 * src/hildon-app-menu.c
2578 (hildon_app_menu_get_parent_window):
2579 Function to obtain the window a HildonAppMenu is attached to.
2580 (hildon_app_menu_set_parent_window):
2581 Hide the menu if the parent window is set to NULL.
2583 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2586 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2587 search widget to popup.
2589 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2591 * configure.ac: post release version bump
2592 * debian/changelog: version bump
2594 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2599 * configure.ac: bump version
2600 * debian/changelog: updates
2602 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2604 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2606 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2607 (hildon_window_stack_window_realized)
2608 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2609 Set the leader GdkWindow when a window is stacked and realized,
2610 unset it when it's unstacked.
2611 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2613 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2615 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2617 * src/hildon-stackable-window.h
2618 * src/hildon-window-stack.h:
2619 Protect definition of HildonWindowStack using the preprocessor.
2621 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2623 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2624 Fix warning if all menu items are hidden.
2626 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2628 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2630 * src/hildon-controlbar.c:
2631 * src/hildon-hvolumebar.c:
2632 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2633 Multiple scale size defines updates.
2635 Fixes: NB#94322 (Scale Updates)
2637 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2639 * examples/hildon-app-menu-example.c (create_menu)
2640 Show items after adding them to the menu, as in the future the
2641 menu will no longer call gtk_widget_show() on the added items.
2643 * src/hildon-app-menu.c:
2644 Update example as explained above.
2646 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2648 * src/hildon-app-menu.c
2649 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2650 Make sure that all menu items have finger height.
2652 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2654 * src/hildon-picker-dialog.c:
2655 (_on_dialog_response), (_save_current_selection),
2656 (_restore_current_selection), (_clean_current_selection),
2657 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2658 Defined new functions in order to save the current internal selector
2659 selection previous open the dialog, in case that the use cancel the
2660 interaction, so the widget restores the previous selection.
2662 Fixes: NB#92032 (In calendar application, date values in 'new event'
2665 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2667 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2669 * src/hildon-button.c: Add a reference to the button examples in
2670 hildon-button-example.c
2672 * examples/hildon-button-example.c: Added examples of the most
2673 common button layouts.
2675 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2677 * src/hildon-app-menu.c (hildon_app_menu_show)
2678 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2680 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2682 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-picker-dialog.c:
2685 (hildon_picker_dialog_init): Initialize the signal id for
2686 HildonTouchSelector::columns-changed.
2687 (+on_selector_columns_changed): Set up the interaction mode everytime a
2688 column is added or removed from the HildonTouchSelector.
2689 (_hildon_picker_dialog_set_selector): Connect to
2690 HildonTouchSelector::columns-changed and keep track of it.
2692 Make sure to update the interaction mode of the dialog everytime a
2693 column is added or removed in the HildonTouchSelector.
2695 Fixes: NB#93228 (Done button is not shown always in listpicker)
2697 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2700 a new ::columns-changed signal.
2701 (hildon_touch_selector_append_column): Emit ::columns-changed.
2702 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2704 Add a ::columns-changed signal, emitted when the number of columns in a
2705 HildonTouchSelector changes.
2707 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2709 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2710 (_hildon_picker_dialog_set_selector): Factor out the code
2711 to set up the dialog interaction mode.
2713 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2715 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2716 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2717 to signal_changed_id.
2719 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2721 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2724 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2726 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2727 Updated the logical ids related to ampm format, as now it is required to
2728 show it correctly localized even on languages with no default
2729 abbreviations for am or pm
2730 (_check_am_pm_format): check correctly the 24h format gconf property
2732 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2734 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-button.c: Documentation updates.
2738 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2740 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2741 * src/hildon-caption.c: (hildon_caption_class_init):
2742 * src/hildon-color-button.c: (hildon_color_button_class_init):
2743 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2744 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2745 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2746 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2748 Remove deprecated GTK+ marshalers and replace them with the ones
2749 provided by GLib, for those available, add a marshaler for
2750 BOOLEAN:VOID, which is not available in GLib, and use it.
2752 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2755 the text from the previous column if there is no
2756 HildonTouchSelectorColumn::text-property set.
2758 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-button.h
2761 * src/hildon-button.c (hildon_button_set_property)
2762 (hildon_button_get_property, hildon_button_class_init)
2763 (hildon_button_set_style, hildon_button_get_style):
2764 New "style" property to change the visual appearance of the
2767 * src/hildon-picker-button.c (hildon_picker_button_new):
2768 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2770 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2771 HildonButton look like PickerButton)
2773 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2776 column while building the default string.
2778 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2780 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2781 scroll indicator by default.
2783 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2785 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2787 * src/hildon-main.c: Fix the documentation for hildon_init()
2789 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2791 * doc/hildon-docs.sgml
2795 * src/hildon-window-stack-private.h
2796 * src/hildon-window-stack.h
2797 * src/hildon-window-stack.c:
2798 New HildonWindowStack object, that adds support for multiple
2799 stacks of windows per process.
2801 * src/hildon-stackable-window-private.h
2802 * src/hildon-stackable-window.h
2803 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2804 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2805 (hildon_stackable_window_show, hildon_stackable_window_hide)
2806 (hildon_stackable_window_class_init)
2807 (hildon_stackable_window_init):
2808 Use HildonWindowStack for stack management.
2810 * src/hildon-program.c (hildon_program_pop_window_stack)
2811 (hildon_program_peek_window_stack)
2812 (hildon_program_go_to_root_window):
2813 Add a fallback implementation to the deprecated functions using
2816 * examples/hildon-stackable-window-example.c:
2817 Use the new HildonWindowStack API.
2819 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-stackable-window-private.h
2822 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2823 (hildon_stackable_window_hide, hildon_stackable_window_init):
2824 Remove all window stack management.
2826 * src/hildon-program-private.h
2827 * src/hildon-program.h
2828 * src/hildon-program.c (hildon_program_init)
2829 (hildon_program_pop_window_stack)
2830 (hildon_program_peek_window_stack)
2831 (hildon_program_go_to_root_window):
2832 Remove all window stack management and mark functions as
2835 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-app-menu.c (hildon_app_menu_realize):
2838 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2840 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2842 * configure.ac: post release version bump
2843 * debian/changelog: version bump
2845 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2850 * configure.ac: bump version
2851 * debian/changelog: updates
2853 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2855 Based on initial code by Christian Dywan (christian@imendio.com)
2857 * doc/hildon-docs.sgml: Add section for hildon-main.
2858 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2859 * src/Makefile.am: Add new hildon-main.[ch]
2860 * src/hildon-defines.h: Update the icon sizes.
2861 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2862 new library initialization files and register icon sizes.
2863 * src/hildon-main.h: New declarations.
2864 * src/hildon.h: Include hildon-main.h
2866 Add new initialization functions to the library. These methods
2867 will register the hildon specific icon sizes and can be used in the
2868 future for other hildon specific bits.
2870 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2872 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2874 * src/hildon-window.c: (hildon_window_realize),
2875 (hildon_window_notify), (-hildon_window_update_title): Do not set
2876 the application name in the window title.
2878 Fixes: NB#89754 (Applications shouldn't display their names in the
2881 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2883 * src/hildon-note-private.h:
2884 * src/hildon-note.c: (hildon_note_set_property),
2885 (hildon_note_get_property), (hildon_note_class_init),
2886 (hildon_note_init), (hildon_note_finalize),
2887 (hildon_note_new_confirmation_with_icon_name),
2888 (hildon_note_new_information_with_icon_name):
2890 No need to mark as deprecated the actual code. Revert
2891 to avoid missing symbols in widgets using deprecated API.
2893 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2895 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2897 * src/hildon-volumebar.h
2898 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2899 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2901 * src/hildon-helper.h
2902 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2903 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2905 * examples/Makefile.am:
2906 Deprecate hildon-insensitive-example
2908 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2910 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2912 * examples/hildon-pannable-area-buttons-scroll-example.c:
2913 Make all buttons finger height
2915 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2917 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2919 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2920 update the day model only if it is really required, and to avoid the
2921 full-reconstruction aproach. Now it only add or remove the required days.
2923 The purpose of this is avoid superfluous HildonTouchSelector::changed
2926 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2927 with strange parameters)
2929 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2931 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2933 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2934 the WINDOW_TYPE property.
2936 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2938 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2941 Fix dependency to allow parallel compilation with make -jX
2943 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2945 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2946 color frame and some minor tweaks to make it more consistent with
2949 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2950 highlighted but not visible)
2952 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2954 * examples/Makefile.am: Fixed typo in the Makefile.am.
2956 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2958 Reviewed the use of MAEMO_GTK define, now we add the define in the
2959 compilation line, and we also add it to the pc file.
2961 * configure.ac: Added MAEMO_GTK define to the compilation command
2962 and removed it from the config.h.
2964 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2965 do not have to take care about this define if the library was
2969 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2971 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2973 * examples/Makefile.am,
2974 * examples/hildon-pannable-area-buttons-scroll-example.c,
2975 * examples/hildon-pannable-area-gesture-signals-example.c,
2976 * examples/hildon-pannable-area-scroll-jump-example.c,
2977 * examples/hildon-pannable-area-tree-view-example.c:
2978 Renamed the pannable area examples, now they have more meaningful
2981 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2983 * src/hildon-touch-selector.c:
2984 (hildon_touch_selector_set_column_selection_mode): Used of
2985 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2986 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2987 to avoid re-seting the same selection mode.
2989 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2990 breaks HildonPickerDialog)
2992 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2994 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2995 conditional in the Makefile.am
2997 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2999 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3000 Remove unused methods.
3002 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3004 * src/hildon-button.c (hildon_button_init):
3005 Make button images center-aligned by default
3007 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3010 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3011 activated, we have to think about how to deal with both defines
3012 MAEMO_GTK and MAEMO_CHANGES.
3014 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3016 * examples/hildon-app-menu-example.c (create_menu): Make all
3017 buttons finger size.
3019 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3021 Fixed the compilation without maemo gtk adding ifdefs with
3022 MAEMO_GTK define to the code, we have to check this version more
3025 * examples/Makefile.am: Added control to avoid some examples that
3026 just make sense with maemo gtk.
3029 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3030 hildon modes with the define.
3032 * examples/hildon-edit-toolbar-example.c,
3033 (create_icon_view): Create the icon view without hildon-gtk
3034 helpers if we are not using maemo gtk.
3036 * src/hildon-touch-selector.c,
3037 (_create_new_column): Create the treeview without hildon-gtk
3038 helpers if we are not using maemo gtk.
3040 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3042 * src/hildon-pnnable-area.c,
3043 (hildon_pannable_area_dispose),
3044 (hildon_pannable_area_button_press_cb),
3045 (hildon_pannable_area_child_mapped),
3046 (hildon_pannable_area_add),
3047 (hildon_pannable_area_remove): Added code to control the position
3048 of the event_window when adding and removing children from the
3049 pannable. We have to raise the event window when the child is
3052 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3053 selection mode using custom widget inside pannable)
3055 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3057 * configure.ac: post release version bump
3058 * debian/changelog: version bump
3060 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3065 * configure.ac: bump version
3066 * debian/changelog: updates
3068 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3070 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3071 search mode, in order to avoid lose the focus on the treeview when
3072 a hw key (like enter) is pressed.
3074 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3075 in HildonDateSelector dialog)
3077 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3079 * debian/rules: Added --enable-maintainer-mode
3080 * Makefile.am: Added ACLOCAL_AMFLAGS
3082 This allows to properly regenerate the Makefiles if you modify the
3083 configure.ac or any Makefile.am.
3085 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3087 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3088 properties, not needed at all.
3090 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3092 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3094 * src/hildon-note.c: (hildon_note_set_property),
3095 (hildon_note_get_property), (hildon_note_class_init),
3096 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3097 (hildon_note_new_confirmation_add_buttons): Remove icons.
3098 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3099 (hildon_note_new_information_with_icon_name): Deprecate.
3100 (hildon_note_new_confirmation): Act directly, without calling
3101 the deprecated constructor.
3102 (hildon_note_new_information): Act directly, without calling
3103 the deprecated constructor.
3104 * src/hildon-note.h: Mark deprecate methods as such.
3105 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3106 not run tests on the deprecated methods if built with deprecation
3109 Fixes: NB#91688 (Never show icons in information notes/confirmation
3112 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3114 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3115 (hildon_app_menu_key_press): Remove leftover usage of the
3116 private structure in HildonAppMenu struct.
3117 * src/hildon-app-menu.h: Remove leftover private structure
3118 from the HildonAppMenu struct.
3120 Fixes a crasher when using the HildonAppMenu.
3122 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3124 * src/hildon-picker-dialog.c: Use appropriate logical id
3125 for the default "Done" text.
3127 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3129 * configure.ac: post release version bump
3130 * debian/changelog: version bump
3132 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3134 Modified the way to scroll to the current selection just when the touch
3135 selector is shown on the screen, avoiding a g_idle. Added too a property
3136 to configure this behaviour. See hildon_pannable_area_jump_to_child
3137 documentation for more information.
3139 * src/hildon-touch-selector.c
3140 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3141 Added 'initial-scroll' property
3142 (hildon_touch_selector_set_property): Added
3143 (hildon_touch_selector_map): Removed as not required anymore
3144 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3145 only a concrete column, instead of iterate along all the columns
3147 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3152 * configure.ac: bump version
3153 * debian/changelog: updates
3155 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3157 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3158 compilation time warnings.
3160 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3162 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3163 the default value for HildonPannableArea::mov-mode to
3164 HILDON_PANNABLE_AREA_MODE_VERT.
3166 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3168 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3170 Reverting following commit:
3172 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3174 * src/hildon-app-menu-private.h
3175 * src/hildon-app-menu.[ch]
3176 * src/hildon-button.[ch]
3177 * src/hildon-check-button.[ch]
3178 * src/hildon-entry.[ch]
3179 * src/hildon-pannable-area.[ch]
3180 * src/hildon-text-view.[ch]:
3181 Added private field to the object's structure.
3183 because it causes an ABI breakage. We will need to introduce these
3184 changes later at some point. See NB#91636 for an extensive
3185 explanation and status.
3187 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3189 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3191 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3192 remove special cases that are no longer necessary.
3194 Fixes: NB#91016 (Change toolbar sizes, simplification)
3196 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3198 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3199 is shown in the cancel note.
3201 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3203 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3204 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3205 (hildon_seekbar_init): Remove steppers, remove expose event.
3206 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3208 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3210 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3213 label font to "SmallSystemFont" for vertically arranged buttons.
3215 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3218 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-check-button.c
3221 (hildon_check_button_set_active, hildon_check_button_clicked):
3222 Don't access private parts directly, use getters instead.
3224 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3226 * src/hildon-check-button.c (hildon_check_button_new):
3227 Align the contents of the check button to the left.
3229 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3231 * src/hildon-pannable-area.c,
3232 (hildon_pannable_area_scroll_to),
3233 (hildon_pannable_area_jump_to),
3234 (hildon_pannable_area_scroll_to_child),
3235 (hildon_pannable_area_jump_to_child): Replace the mapped
3236 precondition of these functions with the realized, it is the
3237 correct state of the widget in this case. Changed the
3238 documentation according to this modification.
3240 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3242 Added a new EXTRA_CFLAGS option to add the deprecated define to
3243 the compilation command. This way we can avoid using the define in
3244 the documentation compilation.
3246 * configure.ac: Defined EXTRA_CFLAGS.
3248 * examples/Makefile.am:
3250 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3252 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3254 * src/hildon-picker-dialog.c:
3255 Defined a utility macro with the desired touch selector height
3256 Removed currently unused separator, and title_label variables from
3258 (hildon_picker_dialog_init): Removed code related to the creation
3259 of unused private variables title_label and separator.
3260 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3261 to ensure correct visualization of the touch selector inside the dialog.
3262 * src/hildon-touch-selector.c
3263 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3264 ensure a concrete height of the widget.
3266 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3269 * tests/Makefile.am:
3271 Remove spurious whitespaces.
3273 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3275 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3276 compilation warning after the cancel button removal.
3278 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3280 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3282 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3283 Makefile.am, that way we can choose not to compile some examples
3284 and tests of the deprecated widgets.
3286 * examples/Makefile.am: Divided the sources in deprecated and
3289 * src/Makefile.am: Added undef statement of the deprecated
3290 symbol to the enums file generation process.
3292 * src/hildon-color-chooser-dialog.c
3293 * src/hildon-color-chooser-dialog.h
3294 * src/hildon-color-button.c
3295 * src/hildon-color-button.h
3296 * src/hildon-color-chooser.c
3297 * src/hildon-color-chooser.h
3298 * src/hildon-controlbar.c
3299 * src/hildon-controlbar.h
3300 * src/hildon-date-editor.c
3301 * src/hildon-date-editor.h
3302 * src/hildon-hvolumebar.c
3303 * src/hildon-hvolumebar.h
3304 * src/hildon-private.c
3305 * src/hildon-private.h
3306 * src/hildon-range-editor.c
3307 * src/hildon-range-editor.h
3308 * src/hildon-seekbar.c
3309 * src/hildon-seekbar.h
3310 * src/hildon-time-editor.c
3311 * src/hildon-time-editor.h
3312 * src/hildon-time-picker.c
3313 * src/hildon-time-picker.h
3314 * src/hildon-volumebar.c
3315 * src/hildon-volumebar.h
3316 * src/hildon-vvolumebar.c
3317 * src/hildon-vvolumebar.h
3318 * src/hildon-bread-crumb-trail.h
3319 * src/hildon-bread-crumb-trail.c
3320 * src/hildon-calendar-popup.c
3321 * src/hildon-calendar-popup.h
3322 * src/hildon-weekday-picker.c:
3323 * src/hildon-weekday-picker.h:
3324 * src/hildon-bread-crumb-widget.c:
3325 * src/hildon-bread-crumb-widget.h:
3326 * src/hildon-bread-crumb.c:
3327 * src/hildon-bread-crumb.h:
3328 * src/hildon-calendar.c:
3329 * src/hildon-calendar.h:
3330 * src/hildon-caption.c:
3331 * src/hildon-code-dialog.c:
3332 * src/hildon-code-dialog.h:
3333 * src/hildon-font-selection-dialog.c:
3334 * src/hildon-font-selection-dialog.h:
3335 * src/hildon-get-password-dialog.c:
3336 * src/hildon-get-password-dialog.h:
3337 * src/hildon-login-dialog.c:
3338 * src/hildon-login-dialog.h:
3339 * src/hildon-number-editor.c:
3340 * src/hildon-number-editor.h:
3341 * src/hildon-set-password-dialog.c:
3342 * src/hildon-set-password-dialog.h:
3343 * src/hildon-sort-dialog.c:
3344 * src/hildon-sort-dialog.h: This is the list of deprecated
3347 * src/hildon-touch-selector.c:
3348 * src/hildon-window.c: Added undef statement to avoid compilation
3351 * tests/Makefile.am: Divided the sources in deprecated and
3354 * tests/check_test.c,
3355 (configure_tests): Marked the deprecated code that was adding
3356 suites with deprecated tests.
3358 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3360 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3362 * src/hildon-touch-selector.c: (_default_print_func): Do not
3363 duplicate a string returned by gtk_tree_model_get(), it is already
3366 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3369 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3371 * src/hildon-pannable-area.c
3372 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3373 method, it had problems when adding a widget with viewport the
3374 second time. Now checks if it already has a viewport and uses it.
3376 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3379 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3381 * src/hildon-pannable-area.c,
3382 (hildon_pannable_area_scroll_to),
3383 (hildon_pannable_area_jump_to),
3384 (hildon_pannable_area_scroll_to_child),
3385 (hildon_pannable_area_jump_to_child): Added a precondition to the
3386 scroll and jump to functions: the widget must be mapped before we
3387 can safely call these functions. We have also added documentation
3388 to the functions to explain how to use them in this situation.
3391 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3393 Reviewed the threading handling of the pannable widget, we have
3394 used the gdk_threads_add_timeout function instead of the usual
3395 glib handlers. This avoids some problems with the threads.
3397 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3398 (hildon_pannable_area_initial_effect),
3399 (hildon_pannable_area_scroll_indicator_fade),
3400 (hildon_pannable_area_button_press_cb),
3401 (hildon_pannable_area_timeout),
3402 (hildon_pannable_area_motion_notify_cb),
3403 (hildon_pannable_area_button_release_cb),
3404 (hildon_pannable_area_scroll_cb),
3405 (hildon_pannable_area_scroll_to): Removed the
3406 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3407 gdk_threads_add_timeout.
3409 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3411 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3416 * configure.ac: bump version
3417 * debian/changelog: updates
3419 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3421 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3422 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3423 * src/hildon-color-chooser-dialog.c:
3424 (hildon_color_chooser_dialog_init):
3425 * src/hildon-font-selection-dialog.c:
3426 (hildon_font_selection_dialog_init):
3427 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3429 Remove all cancel/close-like dialogs, as these are not going to be
3432 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3434 * src/hildon-note.c: (hildon_note_rebuild),
3435 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3438 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3440 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3442 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3443 sure all buttons are shown, even the Cancel/Close-like ones.
3445 Fixes: NB#90861 (Custom Confirmation dialogs should be
3446 protected from cancel button removal)
3448 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3450 * debian/control: Change libhildon1-examples dependency from libhildon1
3452 * debian/libhildon1-examples.install
3454 * Makefile.am: Modified the final install directory for the examples on
3455 package libhildon1-examples
3456 * Makefile.static: Update clean target in order to remove all the binary
3459 Changes suggested by Claudio after review new libhildon1-examples package
3461 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3464 * src/hildon-touch-selector.c: Ditto.
3466 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3468 * debian/control: Added new package libhildon1-examples, in order to pack
3469 the current hildon examples as documentation
3470 * debian/rules: Not to compress .c files, modify some includes on the
3471 examples (as normally are compiled locally, but when installed it will
3472 require to include the installed libhildon1 library), and rename
3474 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3475 install all the example files on the new example package
3476 * examples/Makefile.static: Added static makefile that can be used to
3477 compile the examples, once installed the new example package
3478 * examples: Most of the examples were modified in order to grant that
3479 all use only '#include "hildon.h"', in order to be easy to prepare
3480 it on the example package
3482 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3485 * debian/libhildon1-dev.install
3486 * debian/libhildon1-doc.install:
3487 Move all gtk-doc files to a separate libhildon1-doc package.
3489 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3491 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3493 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3495 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3497 * debian/rules: Fixed a error in order to avoid unnecessary calls
3498 to autogen.sh on package building
3500 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3502 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3504 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3506 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3509 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3511 * src/hildon-picker-button.c
3512 (hildon_picker_button_finalize):
3513 Free priv->done_button_text
3515 * src/hildon-time-button.c
3516 (hildon_time_button_set_time)
3517 * src/hildon-picker-button.c
3518 (hildon_picker_button_clicked)
3519 (hildon_picker_button_selector_selection_changed)
3520 (hildon_picker_button_set_selector)
3521 * src/hildon-date-button.c
3522 (hildon_date_button_set_date):
3523 Free strings returned by hildon_touch_selector_get_current_text()
3525 * src/hildon-button.c (hildon_button_construct_child):
3526 Fix leaks in priv->image and priv->label_box
3528 Fixes: NB#90535 (Memory leak in picker button)
3530 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3532 * src/hildon-button.c: (hildon_button_get_property): Do not access
3533 private elements directly, use getters instead.
3535 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3537 * src/hildon-app-menu-private.h
3538 * src/hildon-app-menu.c
3539 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3540 Store the menu's parent window.
3542 * src/hildon-stackable-window.c
3543 (hildon_stackable_window_toggle_menu)
3544 (hildon_stackable_window_finalize):
3545 Set the menu's parent window when the menu is shown, unset it when
3548 * src/hildon-app-menu.c
3549 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3550 (hildon_app_menu_class_init):
3551 Send unhandled keyboard accelerators to the parent window.
3553 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3555 * src/hildon-stackable-window.c
3556 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3558 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3560 * configure.ac: post release version bump
3562 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3565 * configure.ac: Bump version
3566 * debian/changelog: Updates
3567 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3570 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3572 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3575 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3576 GtkMenu with Hildon style.
3578 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3580 * src/hildon-picker-button.c:
3581 (hildon_picker_button_set_done_button_text): Set the dialog's
3582 done button text here as well.
3584 Fixes: NB#90232 (Picker button does not set the label on done button
3585 for the second time)
3587 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3592 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3594 * src/hildon-app-menu.c (hildon_app_menu_insert)
3595 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3596 the HildonAppMenu to be activatable using keyboard accelerators
3597 when the menu is not being shown.
3599 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3601 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3603 * src/hildon-stackable-window.c
3604 (hildon_stackable_window_show):
3605 Don't hide old windows automatically when new windows are shown:
3606 this is now a task for the window manager.
3607 (hildon_stackable_window_class_init)
3608 (hildon_stackable_window_hide):
3609 Remove windows from the stack everytime they're hidden.
3610 (hildon_stackable_window_realize):
3611 Don't change the _NET_WM_WINDOW_TYPE property. Use
3612 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3613 it as a stackable window.
3615 * src/hildon-program.c
3616 (hildon_program_pop_window_stack):
3617 Just hide the window to remove it from the stack.
3618 (hildon_program_go_to_root_window):
3619 Don't call gtk_widget_show(), this is now a task for the window
3622 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3624 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3626 * src/hildon-button.c
3627 (hildon_button_construct_child):
3628 Don't pack anything in the button until text or image are
3629 set. This allows adding a custom child after creating the button
3630 with hildon_button_new().
3631 (hildon_button_finalize, hildon_button_class_init)
3632 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3633 alignment and the label box even when they're not packed in the
3636 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3638 * src/hildon-touch-selector.h:
3639 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3640 currently the type definition was using GTK_TYPE_VBOX
3641 * src/hildon-touch-selector.c:
3642 Added some implementation notes in order to clarify that any other widget
3643 added without the column related API will not be included on the
3644 selection logic, and how the widget is freed, as some people ask about
3646 (hildon_touch_selector_remove): Reimplemented in order to free properly
3647 the column related data when you remove the private hbox.
3648 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3649 to get a proper HildonTouchSelectorColumn documentation
3651 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3653 * src/hildon-touch-selector-entry.c:
3654 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3655 text in the GtkEntry and there is no item selected. Fixes a
3658 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-app-menu-private.h
3661 * src/hildon-app-menu.[ch]
3662 * src/hildon-button.[ch]
3663 * src/hildon-check-button.[ch]
3664 * src/hildon-entry.[ch]
3665 * src/hildon-pannable-area.[ch]
3666 * src/hildon-text-view.[ch]:
3667 Added private field to the object's structure.
3669 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3671 * configure.ac: post-release version bump
3673 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3677 * configure.ac: pre-release version bump
3679 * debian/changelog: updates.
3681 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3683 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3684 Disconnect the handler for HildonTouchSelector::changed.
3686 (hildon_picker_button_selector_selection_changed): Update the button
3687 value if the selection change was not triggered by the
3690 (hildon_picker_button_set_selector): connect to
3691 HildonTouchSelector::changed.
3693 Fixes: NB#89650 (Picker button is not updated, when selection in
3694 selector has changed)
3696 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3698 * src/hildon-picker-dialog.c
3699 (hildon_picker_dialog_realize): Removed as not required
3700 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3701 * src/hildon-picker-button.c
3702 (_current_selector_empty): New function, checks if the selector is empty
3703 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3704 if the current selector is empty, in order to avoid to show the dialog
3705 close the dialog in this case (and shows a g_warning).
3707 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3709 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3711 * src/hildon-pannable-area.c,
3712 (hildon_pannable_area_scroll): Added clause to stop movement when
3713 the child of pannable is smaller than one page.
3714 (hildon_pannable_area_scroll_to): Added conditions to avoid
3715 starting the scrolling movement if the child is smaller than one
3716 page, the complete child is in the screen, we do not have to move.
3718 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3720 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3722 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3723 this is managed automatically by the widget when the size of the
3726 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3728 * src/hildon-picker-button.c
3729 (hildon_picker_button_set_done_button_text): Make a copy of the
3730 text, and free the previous value.
3732 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3734 * src/hildon-touch-selector-entry.c:
3735 (hildon_touch_selector_entry_print_func): Return the selected row's
3736 text if the entry is empty.
3738 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3741 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3745 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-check-button.h
3749 * src/hildon-check-button.c
3750 * examples/hildon-check-button-example.c:
3751 HildonCheckButton is now a new widget. 'toggled' signal added.
3753 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-program-private.h
3756 * src/hildon-program.c (hildon_program_init)
3757 (hildon_program_finalize): Removed unused variables group_leader
3758 and name from HildonProgramPrivate.
3760 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3762 * src/hildon-check-button.c (hildon_check_button_set_active)
3763 (hildon_check_button_get_active, hildon_check_button_new): Use
3764 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3766 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3768 * src/hildon-touch-selector.h
3769 (hildon_touch_selector_set_column_attributes): added deprecation
3770 guard HILDON_DISABLE_DEPRECATED
3771 * src/hildon-time-selector.c
3772 (hildon_time_selector_set_time)
3773 (hildon_time_selector_get_time): Fixed a typo on documentation
3774 * src/hildon-touch-selector.c: update HildonTouchSelector and
3775 HildonTouchSelectorColumn documentation
3776 * src/hildon-touch-selector-entry.c: update "text-column" property
3778 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3779 to be added to the general documentation.
3781 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3783 * examples/hildon-pannable-area-example-4.c,
3785 * examples/hildon-pannable-area-example.c,
3786 (main): Modified the code in order to use the container add, with
3787 viewport treeviews could have problems if they are really big.
3789 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3791 * src/hildon-weekday-picker.c,
3792 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3793 the agreement regarding deprecation in the library.
3795 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3797 * examples/hildon-picker-button-multicolumn-example.c:
3798 (main): Use custom "done" button text.
3800 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3801 (hildon_picker_button_set_property),
3802 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3803 (hildon_picker_button_init),
3804 (+hildon_picker_button_get_done_button_text),
3805 (+hildon_picker_button_set_done_button_text): New methods to customize
3806 the "done" button label in the launched HildonPickerDialog. Also,
3809 * src/hildon-picker-button.h: add the public API.
3811 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3813 * src/hildon-date-selector.h:
3814 * src/hildon-picker-dialog.h:
3815 * src/hildon-time-selector.h:
3816 * src/hildon-touch-selector-column.h:
3817 * src/hildon-touch-selector.h:
3819 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3820 declarations. Fixes gtk-doc warnings.
3822 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3824 * src/hildon-picker-dialog.h
3825 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3826 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3828 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3829 long text is set as label for done button)
3831 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3833 * src/hildon-dialog.c (hildon_dialog_add_button):
3834 Set fixed width to all buttons in the HildonDialog.
3836 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3838 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3840 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3841 Set widget name using class name plus "-finger" or "-thumb".
3843 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3846 'clicked' when the state of the button is manually changed.
3848 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-app-menu.c (hildon_app_menu_realize)
3851 (hildon_app_menu_unrealize, hildon_app_menu_init)
3852 (hildon_app_menu_class_init, item_visibility_changed):
3853 Change the menu layout when the size of the screen changes.
3854 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3855 Show warning only when changing the number of colums using the
3858 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3860 * debian/compat: Set to 5
3861 * debian/control: Update dependencies.
3862 * debian/libhildon1-dbg.install: Remove.
3863 * debian/libhildon1-dev.install: Update according to cdbs paths.
3864 * debian/libhildon1.install: Update according to cdbs paths.
3865 * debian/rules: Switch to cdbs.
3867 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3869 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3870 'item' variable renamed to 'filter'
3872 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3874 * src/hildon-app-menu.c (hildon_app_menu_insert)
3875 (hildon_app_menu_add_filter, remove_item_from_list)
3876 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3877 Don't leak hidden items when the menu is destroyed.
3879 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3881 * src/hildon-app-menu.c (hildon_app_menu_insert)
3882 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3883 (hildon_app_menu_set_columns, item_visibility_changed)
3884 (filter_visibility_changed, hildon_app_menu_repack_filters)
3885 (hildon_app_menu_repack_items):
3886 Repack items and filters separately.
3888 Don't repack all items, change only the ones that are needed to
3891 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3893 * src/Makefile.am: added hildon-touch-selector-column.h
3895 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3897 * src/hildon-touch-selector.c: added the property "text-column" to the
3898 class HildonTouchSelectorColumn, and related get/set functions
3899 (_default_printf_func): updated to use "text-column" property
3900 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3901 "text-column" in his documentation, as this is now included on
3902 HildonTouchSelectorColumn. The get/set_property can still be used,
3903 working as a wrapper to the concrete column "text-column" property
3904 (_text_column_modified): callback added in order to handle the signal
3905 "notify::text-column" of the concrete HildonTouchSelectorColumn
3906 (hildon_touch_selector_entry_get_text_column)
3907 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3908 modified in order to use the HildonTouchSelectorColumn "text-column"
3910 * src/hildon-time-selector.c:
3911 * src/hildon-date-selector.c:
3912 * examples/hildon-touch-selector-example.c
3913 * examples/hildon-touch-selector-multi-cells-example.c
3914 * examples/hildon-picker-button-multicolumn-example.c
3915 Set the right value to "text-column" property on the creation of a new
3916 column using hildon_touch_selector_append_column()
3918 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3920 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3922 * src/hildon-app-menu.c
3923 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3924 updating the layout of the menu, don't create all widgets again,
3925 just repack the items in their new places.
3927 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3929 * src/hildon-time-selector.c
3930 (hildon_time_selector_get_time)
3931 (hildon_time_selector_set_time)
3932 Added documentation of these public methods
3934 * src/hildon-date-button.h
3935 * src/hildon-touch-selector-column.h
3936 * src/hildon-time-button.h
3937 * src/hildon-picker-dialog.h
3938 * src/hildon-time-selector.h
3939 * src/hildon-picker-button.h
3940 * src/hildon-touch-selector.h
3941 * src/hildon-time-picker.h
3942 * src/hildon-date-selector.h
3943 * src/hildon-touch-selector-entry.h
3944 Modified in order to use hildon-widgets code style
3946 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3948 Added deprecated support to the compilation process using
3949 HILDON_DISABLE_DEPRECATED
3951 * configure.ac: Added the --disable-deprecated to the configure
3954 * src/hildon-weekday-picker.c:
3955 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3956 to use the deprecated support. We will update the other deprecated
3957 widgets status in a new patch.
3959 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3961 * configure.ac: Fixed typo with fatal warnings support, the
3962 variable name was not correct
3964 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3966 * src/hildon-app-menu.c
3967 * src/hildon-program.c: Update documentation.
3969 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3971 * configure.ac: Post-release version bump.
3973 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3978 * configure.ac: Pre-release version bump.
3979 * debian/changelog: Updates.
3981 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3983 * NEWS: Update news for previous releases.
3985 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3987 * examples/hildon-touch-selector-multi-cells-example.c:
3988 (create_selector): Update the example to use
3989 hildon_touch_selector_append_column() with a NULL renderer and set
3990 the renderers later.
3991 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3992 passed a NULL renderer. This is documented behavior now.
3994 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3995 This must be used if the developer wants full control on the layout of
3996 the renderers to be added to the column.
3998 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4000 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4002 * src/hildon-touch-selector.c: Documentation fixes.
4004 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4006 * src/hildon-wizard-dialog-private.h: Remove image and box.
4007 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4008 (hildon_wizard_dialog_set_property), (response): Completely remove
4009 image/icon support, and the containers required for the layout.
4011 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4013 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4015 * src/hildon-app-menu.c: Updated documentation.
4017 * src/hildon-stackable-window.c
4018 (hildon_stackable_window_set_main_menu): Unref the old menu after
4019 ref'ing the new one.
4021 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4023 * src/hildon-stackable-window.c
4024 (hildon_stackable_window_set_main_menu): Unref the previous menu
4025 instead of destroying it.
4027 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4028 floating reference and set has_user_ref_count to FALSE to make
4029 HildonAppMenu act like a normal ref-counted widget and not a
4032 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4035 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4037 * src/hildon-touch-selector-column.h: new file
4038 * src/hildon-touch-selector.h
4039 * src/hildon-touch-selector.c
4040 Implemented GtkCellLayout interface, in order to allow to configure
4041 the cell layout on each individual selector column
4042 (hildon_touch_selector_set_column_attributes): marked as deprecated
4043 * examples/hildon-touch-selector-multi-cells-example.c
4044 Example of how to use the GtkCellLayout interface on the selector
4046 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4048 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4050 * src/hildon-app-menu.h
4051 * src/hildon-app-menu.c
4052 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4053 (hildon_app_menu_append, hildon_app_menu_prepend):
4054 New methods to prepend, insert and move items in the menu.
4056 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4058 * src/hildon-wizard-dialog.c:
4060 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4062 (create_title): Update logical IDs and related code.
4063 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4065 * src/hildon-wizard-dialog.h: Note that
4066 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4067 point, as it is not used anymore.
4069 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4071 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4073 * src/hildon-note.c:
4074 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4075 shown. Do not display an icon in confirmation notes nor information
4077 (hildon_note_set_button_text): Update logical ID for cancel button.
4079 Fixes: NB#88850 (Update HildonNote button strings + signals)
4081 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4083 * src/hildon-stackable-window.c
4084 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4086 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4088 * src/hildon-app-menu-private.h
4089 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4090 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4091 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4092 temporary property 'columns' to change the number of columns.
4094 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4096 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4098 * examples/hildon-note-example.c: (on_information_clicked),
4099 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4100 debugging information.
4101 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4103 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4104 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4105 in order to close: this will be handled by the WM from now on.
4107 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4109 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4111 * src/hildon-app-menu-private.h
4112 * src/hildon-app-menu.c
4113 (hildon_app_menu_append, hildon_app_menu_add_filter)
4114 (button_visibility_changed, hildon_app_menu_apply_style)
4115 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4116 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4117 layout everytime a button (item or filter) is shown or hidden.
4119 * src/hildon-stackable-window.c
4120 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4123 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4125 * src/hildon-touch-selector.c:
4126 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4127 that the treeview inside the touch selector is in fremantle hildon mode
4128 * examples/hildon-date-button-example.c
4129 * examples/hildon-picker-button-multicolumn-example.c
4130 * examples/hildon-touch-selector-entry-example.c
4131 * examples/hildon-touch-selector-example.c
4132 * examples/hildon-time-button-example.c
4133 * examples/hildon-picker-button-example.c:
4134 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4136 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4138 * examples/hildon-text-view-example.c: (main): Remove the
4139 gtkrc bits, now handled by the theme.
4141 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4143 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4146 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4148 * po/Makefile.am: Install properly the mo files.
4149 * po/en_GB.po: Update translation, to ease testing purposes.
4151 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4153 * examples/hildon-picker-button-example.c: (main): Select an item
4154 in the selector before setting it to the button.
4156 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4158 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4159 Update button's value if the selector has an item active.
4161 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4162 'value' with the selector)
4164 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4166 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4167 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4168 (hildon_picker_button_class_init): Plug the finalize method.
4169 (hildon_picker_button_set_selector): If there's a previously set
4170 selector, unref'it before setting a new one.
4172 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4173 HildonTouchSelector)
4175 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-touch-selector-entry.c:
4178 (hildon_touch_selector_entry_changed): Check if there is no text
4179 selected before setting the entry text.
4182 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-touch-selector.h
4185 * src/hildon-touch-selector.c
4186 (hildon_touch_selector_get_active)
4187 (hildon_touch_selector_set_active): New methods to set/get the
4188 index of the selected item.
4190 * src/hildon-picker-button.h
4191 * src/hildon-picker-button.c
4192 (hildon_picker_button_get_active)
4193 (hildon_picker_button_set_active): New methods to set/get the
4194 index of the selected item.
4196 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4198 * configure.ac: post-release version bump.
4200 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4204 * configure.ac: Pre-release version bump.
4205 * debian/changelog: Updates.
4206 * debian/control: Add myself as maintainer and depend on l10n
4209 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4211 * src/hildon-window.c
4212 (hildon_window_set_main_menu)
4213 * src/hildon-stackable-window.c
4214 (hildon_stackable_window_set_main_menu):
4215 Updated documentation.
4217 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4219 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4220 Don't free selector->priv manually.
4223 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4226 (hildon_gtk_window_set_progress_indicator):
4227 * src/hildon-gtk.h: Added the new API
4228 hildon_gtk_window_set_progress_indicator, it changes the state of
4229 the window progress hint.
4231 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4233 * src/hildon-button.c
4234 * src/hildon-stackable-window.c: Minor documentation updates.
4236 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4238 * src/hildon-stackable-window.c: Updated documentation.
4240 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4242 * src/hildon-defines.h: Update margins definitions
4243 to the Fremantle sizes.
4246 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4248 * src/hildon-touch-selector.c,
4249 (_hildon_touch_selector_set_model): Cleaning the code after
4250 review, removed g_print and #if 0 from the code.
4252 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4254 * src/hildon-edit-toolbar.c: Update documentation.
4256 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4258 * src/hildon-check-button.h
4259 * src/hildon-check-button.c
4260 (hildon_check_button_set_label, hildon_check_button_get_label)
4261 * examples/hildon-check-button-example.c
4262 (button_clicked_cb):
4263 Removed deprecated methods.
4265 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4267 * src/hildon-text-view.c:
4268 Add sample code to the documentation.
4270 * src/hildon-entry.h
4271 * src/hildon-text-view.h:
4272 Minor cosmetic changes.
4274 * src/hildon-entry.c:
4275 Add sample code to the documentation.
4276 (hildon_entry_init, hildon_entry_refresh_contents):
4277 Don't allow NULL values in the placeholder.
4279 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4281 * doc/hildon-docs.sgml
4283 * examples/Makefile.am
4284 * examples/hildon-text-view-example.c
4286 * src/hildon-text-view.c
4287 * src/hildon-text-view.h
4289 New HildonTextView widget, with example.
4291 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4293 * po/POTFILES.in: Add missing files with translatable strings.
4294 Partially fixes NB#88287.
4296 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4298 * examples/hildon-pannable-area-example-2.c: (main): No need to
4299 set the cellrenderer height inside hildon touch lists, the theme does
4302 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4304 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4305 they are integrated in the theme.
4307 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4309 * examples/hildon-entry-example.c: Update the example adding
4310 widgets to modify the text and the placeholder of the HildonEntry.
4312 * src/hildon-entry.c: Show the placeholder everytime the widget
4313 is empty and loses the focus.
4315 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4317 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4319 * src/hildon-pannable-area.c,
4320 (hildon_pannable_area_size_request): Fixed bug in height
4321 requisition, avoid increasing size and add border twice.
4323 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4325 * configure.ac: postrelease version bump.
4327 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4331 * configure.ac: Prerelease version bump.
4332 * debian/changelog: update.
4333 * debian/rules: make -dbg package contain useful debugging symbols.
4335 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4337 * src/hildon-dialog.h
4338 * src/hildon-dialog.c
4339 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4340 New methods to add buttons with finger size.
4341 (hildon_dialog_new_with_buttons):
4342 Create buttons with finger size.
4344 * examples/hildon-dialog-example.c (main): Use HildonDialog
4345 methods to add buttons.
4347 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4349 * src/hildon-entry.c: Updated HildonButton documentation.
4351 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4353 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4354 button value label with (FALSE, FALSE) to prevent NB#88126 from
4357 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4359 * examples/hildon-pannable-area-example.c,
4360 (main): Removed examples panning a vbox inside a pannable
4361 area. Check bug NB#87965
4363 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4365 Patch contributed by Kris Rietveld (kris@imendio.com)
4367 * src/hildon-pannable-area.c,
4368 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4369 get_size and get_position, this saves an X server roundtrip.
4371 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4373 * doc/hildon-docs.sgml
4375 * examples/Makefile.am
4376 * examples/hildon-entry-example.c
4378 * src/hildon-entry.c
4379 * src/hildon-entry.h
4381 New HildonEntry widget, with example.
4383 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4385 * src/hildon-button.c (hildon_button_construct_child): Pack the
4386 image with expand == fill == FALSE. This is a workaround for a bug
4389 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4391 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4392 labels for the text column, to make it more look more dynamic.
4394 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4396 * src/hildon-time-selector.c
4397 Define gettext auxiliar macro N_
4398 (_create_minutes_model)
4399 (_create_hours_model)
4400 (_create_ampm_model): use of strftime in order to fill the model
4401 * src/hildon-date-selector.c
4402 (hildon_date_selector_finalize):
4403 (_locales_init): remove the logic related to get the name of the months
4404 using nl_langinfo, as it is not required anymore
4406 (_create_year_model)
4407 (_create_month_model)
4408 (_update_day_model): use of strftime in order to fill the model properly
4411 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4413 * src/hildon-button.h
4414 * src/hildon-button.c (hildon_button_get_image): New method to
4417 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-touch-selector.c:
4420 (hildon_touch_selector_remove_column): Remove from the correct parent
4421 and also remove the list element and free it.
4424 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4426 * src/hildon-time-selector.c
4427 (_create_hours_model): change the range on 12h ampm format in order to use
4428 a 12-11 range instead of previous 01-12 range
4429 (hildon_time_selector_set_time): change the way to select the current time
4430 on 12h ampm format, due the change on the range
4431 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4434 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4436 * src/hildon-touch-selector.c
4437 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4438 in order to allow use this function on multiple row selection mode if
4439 the column is different that the first one
4442 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4444 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4445 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4447 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4449 * src/hildon-date-selector.h: clean some comments, now on the .c
4450 * src/hildon-date-selector.c
4451 (hildon_date_selector_select_month): first implementation
4452 (hildon_date_selector_select_day): added documentation, reimplemented
4453 using hildon_date_selector_select_current_date to avoid repeat code
4456 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4458 Reviewed interaction logic based on device experiences, refactored
4461 * src/hildon-pannable-area.c,
4462 (hildon_pannable_area_class_init): Updated default vmax speed.
4463 (hildon_pannable_area_calculate_velocity): Added this function, it
4464 avoids duplicate valocity calculation. Adjusted calculation to
4465 avoid problems with zero dist events.
4467 (hildon_pannable_area_motion_notify_cb): Now we use the
4468 calculate_velocity function.
4470 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4472 * src/hildon-date-selector.c
4473 (hildon_date_selector_select_current_date): fix the day range check
4474 as it failed using the last day of the current month
4477 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4479 * src/hildon-touch-selector.c
4480 (hildon_touch_selector_get_num_columns): added a parameter validation
4483 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4485 * examples/Makefile.am
4486 * examples/hildon-edit-toolbar-example.c: Example of the
4487 HildonEditToolbar widget.
4489 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4491 * configure.ac: postrelease version bump.
4493 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4497 * configure.ac: prerelease version bump.
4498 * debian/changelog: update.
4500 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4502 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4503 renderer to display stock icons in the touch list. Also, set the sizes
4504 to the recommended in the style guide.
4506 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4507 * src/hildon-touch-selector.h
4508 (hildon_touch_selector_set_active_iter): renamed, now is
4509 hildon_touch_selector_select_iter
4510 (hildon_touch_selector_get_active_iter): renamed, now is
4511 hildon_touch_selector_get_selected
4512 (hildon_touch_selector_unselect_iter): added
4513 * src/hildon-touch-selector.c
4514 Update after API modification (methods renamed)
4515 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4516 order to avoid problems selecting multiple elements on the column
4517 (hildon_touch_selector_unselect_iter): added the implementation
4518 * src/hildon-time-selector.c
4519 * src/hildon-date-selector.c
4520 * src/hildon-touch-selector-entry.c
4521 Update methods calls after hildon-touch-selector.h API modification (methods
4524 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4526 * src/hildon-stackable-window.c
4527 (hildon_stackable_window_finalize): Call the parent class's finalize.
4529 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4531 * examples/hildon-touch-selector-example.c: (create_selector): Use
4532 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4535 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4537 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4538 set a cell background color, to respect theming.
4540 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4542 * doc/hildon-docs.sgml
4545 * src/hildon-edit-toolbar.c
4546 * src/hildon-edit-toolbar.h
4547 * src/hildon.h: New HildonEditToolbar widget.
4549 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4551 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4554 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4555 * src/hildon-touch-selector.c
4556 (_create_new_column): use g_object_set instead of two g_object_set_property
4558 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4559 * src/hildon-touch-selector.c
4560 (_create_new_column): use of hildon_gtk_tree_view_new to create
4561 the treeview, instead of use directly g_object_new
4562 (_create_new_column): update the property name "vindicator-mode" for the
4563 new one "vscrollbar-policy"
4564 * examples/hildon-date-button-example.c
4565 * examples/hildon-picker-button-multicolumn-example.c
4566 * examples/hildon-touch-selector-entry-example.c
4567 * examples/hildon-touch-selector-example.c
4568 * examples/hildon-time-button-example.c
4569 * examples/hildon-picker-button-example.c
4570 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4571 to all the treeviews inside a pannable area.
4573 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4575 * src/hildon-button.h
4576 * src/hildon-button.c (hildon_button_init)
4577 (hildon_button_set_arrangement, hildon_button_set_alignment)
4578 (hildon_button_set_title_alignment)
4579 (hildon_button_set_value_alignment)
4580 (hildon_button_set_image_alignment)
4581 (hildon_button_construct_child): New methods to set the alignment
4582 of the individual components of the button (title, value,
4583 image). Also, new method to alter the xscale and yscale properties
4584 of the GtkAlignment inside the button, so more complex layouts can
4587 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4589 * src/hildon-button.c (hildon_button_style_set)
4590 (hildon_button_class_init, hildon_button_set_arrangement)
4591 (hildon_button_construct_child): Apply style properties
4592 correctly. Use the 'image-spacing' style property too.
4594 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4596 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4597 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4600 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4602 * src/hildon-pannable-area.c,
4603 (hildon_pannable_area_size_request): Fixed problem with
4604 pannable-area size_request.
4606 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4608 Added management for the grab-focus to a child widget, like a
4609 range, we need to fade out the scrollbar when releasing.
4611 * src/hildon-pannable-area.c,
4612 (hildon_pannable_area_init): Connected the grab-focus signal to
4614 (hildon_pannable_area_grab_notify): Added this function in order
4615 to manage the situation when the grab-focus ends. We have to
4616 fade-out the scrollbar.
4618 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4620 * src/hildon-app-menu.c: Minor documentation update.
4622 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4624 * src/hildon-app-menu.c
4625 * examples/hildon-app-menu-example.c (create_menu): Update
4626 examples and documentation to explain how to connect callbacks.
4628 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4630 * examples/hildon-button-example.c
4631 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4632 hildon_stackable_window_new instead of gtk_window_new
4634 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4636 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4637 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4638 (hildon_pannable_area_set_property),
4639 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4640 (hildon_pannable_area_unrealize),
4641 (hildon_pannable_area_size_request),
4642 (hildon_pannable_area_size_allocate),
4643 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4644 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4645 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4646 (hildon_pannable_area_initial_effect),
4647 (hildon_pannable_area_redraw),
4648 (hildon_pannable_area_scroll_indicator_fade),
4649 (hildon_pannable_area_expose_event),
4650 (hildon_pannable_area_get_topmost), (synth_crossing),
4651 (hildon_pannable_area_button_press_cb),
4652 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4653 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4654 (hildon_pannable_area_motion_notify_cb),
4655 (hildon_pannable_area_button_release_cb),
4656 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4657 (hildon_pannable_area_remove),
4658 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4659 chage the code layout to a more GtkWidget like. Review the use of
4662 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4664 * examples/hildon-pannable-area-example-4.c,
4665 (main): Modified the name of the hindicator_mode to
4668 * src/hildon-pannable-area.c,
4669 (hildon_pannable_area_class_init),
4670 (hildon_pannable_area_motion_notify_cb),
4671 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4672 we have reduced the amount of signals and managed reviewed its
4673 rationale. Changed the default decelerate value.
4675 (hildon_pannable_area_add),
4676 (hildon_pannable_area_redraw): Refactored functions.
4678 (hildon_pannable_area_init),
4679 (hildon_pannable_area_get_property),
4680 (hildon_pannable_area_set_property):
4681 (hildon_pannable_draw_vscroll),
4682 (hildon_pannable_draw_hscroll),
4683 (hildon_pannable_area_initial_effect),
4684 (hildon_pannable_area_expose_event),
4685 (hildon_pannable_area_scroll),
4686 (hildon_pannable_area_button_press_cb),
4687 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4688 and vindicator_mode with hscrollbar_policy and
4689 vscrollbar_policy. Replaced hscroll and vscroll with
4690 hscroll_visible and vscroll_visible.
4692 (hildon_pannable_area_refresh): Refactor the function, remove
4693 variables and check the calls to this function, added resize
4694 conditions in case the children change their layout.
4696 (hildon_pannable_area_size_request): Added more detailed
4697 size_request calculation.
4700 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4702 * src/hildon-color-chooser.c
4703 (init_borders): use the correct gtk_border_free instead of g_free, to
4704 avoid a crash when this widget is used (ie: the three color selection
4707 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4709 * src/hildon-check-button.c,
4710 (hildon_check_button_set_active): Fixed problem when setting the
4711 active value, the widget was not redrawn.
4713 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4715 * src/hildon-pannable-area.c,
4716 (hildon_pannable_area_refresh),
4717 (hildon_pannable_area_scroll),
4718 (hildon_pannable_area_motion_notify_cb): Small code style change.
4720 (hildon_pannable_area_class_init): Default initial_hint set to
4721 FALSE, it is not in the specs.
4723 (hildon_pannable_area_initial_effect),
4724 (hildon_pannable_area_expose_event),
4725 (hildon_pannable_area_map),
4726 (hildon_pannable_area_init): Moved the launching point of the
4727 initial effect, it was in map but the sizes where not correct in
4728 that method so we do not know if we have the reproduce it. Now it
4729 is placed in the expose_event method and uses a variable to
4730 reproduce it just once.
4732 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4734 * src/hildon-pannable-area.c,
4735 (hildon_pannable_draw_vscroll),
4736 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4737 position allowed for the scrollbars.
4739 (hildon_pannable_area_size_allocate): Small style change.
4741 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4743 * src/hildon-pannable-area.c,
4744 (hildon_pannable_area_scroll_indicator_fade),
4745 (hildon_pannable_area_button_press_cb),
4746 (hildon_pannable_area_button_release_cb),
4747 (hildon_pannable_area_scroll_cb),
4748 (hildon_pannable_area_expose_event),
4749 (hildon_pannable_area_init): Added the define parameter
4750 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4751 and refactor the fade variable.
4753 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4755 * src/hildon-pannable-area.c,
4756 (hildon_pannable_area_redraw),
4757 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4758 lines, we were reimplemeting the redraw code.
4760 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4762 * src/hildon-pannable-area.c,
4763 (hildon_pannable_area_scroll_cb),
4764 (hildon_pannable_area_realize),
4765 (hildon_pannable_area_class_init): Added scroll_event management
4766 for pannable area, now we can scroll the usual desktop method.
4768 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4769 initialization of the parameters should depend on idle_id.
4771 (hildon_pannable_area_init),
4772 (hildon_pannable_area_map): Small code style modifications
4774 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4776 * src/hildon-pannable-area.c
4777 (hildon_pannable_area_button_press_cb),
4778 (hildon_pannable_area_motion_notify_cb),
4779 (hildon_pannable_area_button_release_cb),
4780 (hildon_pannable_area_size_allocate),
4781 (hildon_pannable_area_scroll_to): Improved the timeouts
4782 management, we avoid creating them each time.
4784 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4786 * src/hildon-pannable-area.c:
4787 (hildon_pannable_area_refresh),
4788 (hildon_pannable_area_motion_notify_cb),
4789 (hildon_pannable_area_class_init):
4790 * src/hildon-pannable-area.h:
4791 * src/hildon-touch-selector.c
4792 (_create_new_column):
4793 * examples/hildon-pannable-area-example-4.c:
4794 (horizontal_movement),
4795 (vertical_movement),
4797 Replaced the names of enums in the HildonPannableArea:
4798 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4799 HILDON_MOVEMENT_MODE_*
4800 - HILDON_PANNABLE_AREA_MOV_* ->
4802 - Removed HildonPannableAreaIndicatorMode, now we
4805 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4807 * examples/hildon-pannable-area-touch-grid-example.c
4808 * examples/hildon-pannable-area-touch-list-example.c: Fix
4809 compilation warnings.
4811 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-gtk.c (hildon_gtk_button_new)
4814 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4815 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4816 images overriding the value of the "gtk-button-images" setting.
4818 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4820 * src/hildon-check-button.c (hildon_check_button_new):
4821 Instead of using a custom container, display the label and the
4822 checkbox using the standard GtkButton API.
4824 * examples/hildon-check-button-example.c (main): Don't use
4825 hildon_check_button_set_label() anymore
4827 * src/hildon-check-button.h
4828 * src/hildon-check-button.c
4829 (hildon_check_button_set_label, hildon_check_button_get_label):
4830 Set as deprecated, now we're using gtk_button_{get,set}_label()
4832 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4834 * src/hildon-pannable-area.c,
4835 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4836 GtkTreeview first line we detected it after the inclusion of the
4837 GtkWindowImpl in gtk+. We now check if the window is visible, not
4838 just if the pointer is over the window.
4839 (hildon_pannable_axis_scroll),
4840 (hildon_pannable_area_expose_event): Small style changes.
4842 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-button.c: Update documentation.
4846 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4848 * examples/hildon-button-example.c: Add a switch to show images in
4851 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4853 * doc/hildon-docs.sgml: Some docs reorganization.
4855 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4857 * examples/hildon-pannable-area-touch-list-example.c
4859 * examples/hildon-pannable-area-touch-grid-example.c
4860 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4861 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4862 Fix memory leak when setting the tree model.
4864 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4868 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4870 * doc/hildon.types: Remove duplicated hildon_window_get_type
4871 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4872 documentation comment.
4874 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4876 * doc/Makefile.am: Complete list of private headers.
4878 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4880 * doc/hildon-docs.sgml
4881 * src/hildon-app-menu.c
4882 * src/hildon-bread-crumb.c
4883 * src/hildon-button.c
4885 * src/hildon-program.c
4886 * src/hildon-stackable-window.c
4887 * src/hildon-window.c: Lots of documentation updates.
4889 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4891 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4893 * configure.ac: Require Gtk+ 2.12.9 at least
4895 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4897 * src/hildon-pannable-area.c
4898 (hildon_pannable_area_scroll_indicator_fade),
4899 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4900 to protect the return of this timeout callbacks, avoiding deadlocks.
4902 2008-08-12 Christian Dywan <christian@imendio.com>
4905 * src/hildon-*.h: Ensure a consistent include order,
4906 include <gtk/gtk.h> instead of particular files and
4907 only include the topmost header in the gtk stack. See NB #39857
4909 2008-08-12 Christian Dywan <christian@imendio.com>
4911 * src/hildon-picker-dialog.c
4912 * src/hildon-touch-selector.c: Fix warnings about unused and
4913 uninitialized variables.
4915 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4917 * examples/Makefile.am
4918 * examples/hildon-check-button-example.c: Example of the hildon
4921 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-window.h
4924 * src/hildon-window.c (hildon_window_class_init)
4925 (hildon_window_unset_program): Don't make
4926 hildon_window_unset_program a virtual function anymore.
4928 * src/hildon-stackable-window.c: Update documentation
4930 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4933 * doc/hildon-docs.sgml
4934 * doc/visual_index.xml
4935 * src/hildon-defines.c
4937 * src/hildon-helper.c
4938 * src/hildon-range-editor.c: Lots of documentation fixes.
4940 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4942 * examples/hildon-picker-button-multicolumn-example.c
4943 (create_touch_selector): Fix compilation warning.
4945 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4947 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4948 (hildon_pannable_area_button_release_cb)
4949 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4951 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4953 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4956 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4958 * src/hildon-bread-crumb-trail.h
4959 * src/hildon-date-editor.c
4960 * src/hildon-date-selector.c
4961 * src/hildon-pannable-area.c
4962 * src/hildon-picker-dialog.c
4963 * src/hildon-time-selector.c
4964 * src/hildon-touch-selector-entry.c
4965 * src/hildon-touch-selector.c
4966 * src/hildon-touch-selector.h: Misc documentation fixes
4968 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4970 * examples/hildon-date-editor-example.c (main): Updated date
4973 * examples/hildon-note-example.c (on_confirmation_clicked):
4974 Updated confirmation note example.
4976 * src/hildon-date-editor.c
4977 * src/hildon-note.c: Updated sample programs in documentation.
4980 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4982 * src/hildon-date-button.h:
4983 * src/hildon-picker-button.h:
4984 * src/hildon-time-button.c:
4985 * src/hildon-time-button.h:
4987 Some declarations changes to allow gtk-doc to document the widgets
4990 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4992 * src/hildon-date-button.c: Document the widget.
4993 * src/hildon-time-button.c: Document the widget.
4995 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4997 * src/hildon-picker-button.c: Document the widget.
4998 * src/hildon-touch-selector-entry.c: Document the widget.
5000 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5002 * doc/hildon-docs.sgml
5005 * src/hildon-check-button.h
5006 * src/hildon-check-button.c: New functions to create the Hildon
5010 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5012 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-button.h
5015 * src/hildon-button.c
5016 (hildon_button_add_title_size_group)
5017 (hildon_button_add_value_size_group)
5018 (hildon_button_add_image_size_group)
5019 (hildon_button_add_size_groups): New functions to set size groups
5020 for the button labels and image.
5021 (hildon_button_new_full): Removed
5023 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5025 * src/hildon-time-selector.c
5026 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5027 in order to avoid a crash if gconf is not available
5029 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5031 * src/hildon-button.c (hildon_button_set_arrangement)
5032 (hildon_button_construct_child): Don't construct the button child
5033 before setting the arrangement.
5035 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5037 * src/hildon-program-private.h
5038 * src/hildon-program.c
5039 * src/hildon-program.h
5040 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5041 (hildon_program_peek_window_stack)
5042 (hildon_program_pop_window_stack)
5043 (hildon_program_go_to_root_window): HildonProgram now has a
5044 separate list for stackable windows. Functions are provided to
5045 manage that list with a stack-like API.
5047 * src/hildon-stackable-window.c: Stackable window management is
5048 now much simpler with the new HildonProgram API. Windows no
5049 longer need to be manually added to the program, they're
5050 automatically pushed to the top of the stack when shown.
5052 * examples/hildon-stackable-window-example.c: Updated example to
5053 reflect the API changes.
5055 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-touch-selector.c: Comment out unimplemented
5058 hildon_touch_selector_insert_column() to avoid a compile warning.
5060 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5062 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5063 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5064 (hildon_touch_selector_set_column_selection_mode),
5065 (_hildon_touch_selector_set_model),
5066 (hildon_touch_selector_set_model):
5068 Complete review of HildonTouchSelector documentation.
5070 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5072 * doc/hildon-docs.sgml
5076 * src/hildon-gtk.c: Convenience functions for standard Gtk
5077 widgets, used to easily perform frequent operations.
5079 * src/hildon-button-helpers.h
5080 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5082 * src/hildon-helper.h
5083 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5084 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5086 * src/hildon-button.h
5087 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5089 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5091 * src/hildon-button.c (hildon_button_init)
5092 (hildon_button_set_arrangement, hildon_button_construct_child):
5093 Pack the image and the labels inside the same GtkAlignment so
5094 gtk_button_set_alignment() can be used
5096 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5098 * src/hildon-button.h
5099 * src/hildon-button.c
5100 (hildon_button_init, hildon_button_set_image)
5101 (hildon_button_set_image_position)
5102 (hildon_button_construct_child): New functions to add an image to
5105 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5107 * src/hildon-date-button.c
5108 * src/hildon-picker-button.c
5109 * src/hildon-time-button.c
5110 * src/hildon-button.c:
5111 (hildon_button_class_init): "size-flags" renamed to "size"
5112 (hildon_button_set_title): Hide the title label if set to NULL.
5114 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5116 HildonButtonFlags split into HildonButtonArrangement (to set the
5117 button layout) and HildonSizeType (which can be used for any
5120 * src/hildon-button.h
5121 * src/hildon-button.c
5122 (hildon_button_class_init)
5123 (hildon_button_set_arrangement)
5124 (hildon_button_set_property): New "size-flags"
5125 property. "arrangement-flags" renamed to "arrangement".
5126 (hildon_button_new, hildon_button_new_with_text)
5127 (hildon_button_new_full): Constructors updated to reflect type changes.
5129 * src/hildon-helper.h
5130 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5131 to set the size of a widget.
5135 * src/hildon-button-helpers.c
5136 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5138 * src/hildon-date-button.c
5139 * src/hildon-date-button.h
5140 * src/hildon-picker-button.c
5141 * src/hildon-picker-button.h
5142 * src/hildon-time-button.c
5143 * src/hildon-time-button.h: Updated widgets to reflect
5144 HildonButton API changes.
5146 * examples/hildon-button-example.c
5147 * examples/hildon-date-button-example.c
5148 * examples/hildon-picker-button-example.c
5149 * examples/hildon-picker-button-multicolumn-example.c
5150 * examples/hildon-time-button-example.c
5151 * examples/hildon-touch-selector-entry-example.c
5152 * examples/hildon-touch-selector-example.c: Updated examples to
5153 reflect HildonButton API changes.
5155 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5157 * doc/hildon-docs.sgml:
5159 * examples/Makefile.am:
5160 * examples/hildon-touch-selector-entry-example.c:
5162 * src/hildon-touch-selector-entry.c:
5163 * src/hildon-touch-selector-entry.h:
5166 Moved HildonTouchSelectorEntry from sandbox. Added its
5167 documentation and examples.
5169 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5171 * src/hildon-touch-selector.h:
5172 * examples/hildon-picker-button-multicolumn-example.c:
5173 (hildon_touch_selector_append_text_column): Add a gboolean
5174 parameter to determine if text must be centered in the column.
5176 * src/hildon-date-selector.c: (hildon_date_selector_init):
5177 * src/hildon-time-selector.c: (hildon_time_selector_init):
5178 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5179 (create_touch_selector): Update widgets and example to reflect
5182 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5184 * src/hildon-touch-selector.c:
5185 (hildon_touch_selector_set_active_iter): Set also the cursor in
5188 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5190 * doc/hildon-docs.sgml
5193 * src/hildon-toggle-button.c
5194 * src/hildon-toggle-button.h
5195 * src/hildon.h: Removed HildonToggleButton widget, a derived
5196 class is not necessary for this.
5198 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5200 * src/hildon-pannable-area.c,
5201 (hildon_pannable_area_realize),
5202 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5205 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5208 "done" button the default widget for the dialog.
5210 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5212 * src/hildon-touch-selector.c:
5213 (hildon_touch_selector_class_init),
5214 (hildon_touch_selector_get_property),
5215 (_hildon_touch_selector_set_model),
5216 (_hildon_touch_selector_has_multiple_selection),
5217 (hildon_touch_selector_has_multiple_selection):
5218 Add a "has-multiple-selection" property with a virtual
5219 has_multiple_selection() method to allow derived classes to
5220 override the default value for it. See the method and property
5221 documentation for details.
5223 * src/hildon-touch-selector.h: Add the new API.
5225 * src/hildon-picker-dialog.c: (requires_done_button): Call
5226 hildon_touch_selector_has_multiple_selection() instead of
5227 determining the need for a button itself.
5229 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5231 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5232 (_hildon_touch_selector_set_model),
5233 (hildon_touch_selector_set_model): Move working code to
5234 _hildon_touch_selector_set_mode(). Call the class method instead.
5236 * src/hildon-touch-selector.h: Add (*set_model) to
5237 HildonTouchSelectorClass.
5239 Make hildon_touch_selector_set_model() a virtual method, so that
5240 derived classes can extend it and do fancy stuff with the model.
5242 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5244 * configure.ac: Set back the tarname in AC_INIT to hildon.
5246 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5250 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5251 instead of libesd (NB#86876). Volume handling is still an open issue.
5253 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5256 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5258 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5259 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5260 derived class to ease placement of an entry widget in
5261 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5262 end, where the selector columns are packed now.
5264 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-picker-button.c: Removed the simple _text() API.
5267 * src/hildon-picker-button.h: Likewise.
5269 * src/hildon-touch-selector.h:
5270 * src/hildon-touch-selector.c:
5271 (hildon_touch_selector_new_text),
5272 (hildon_touch_selector_append_text),
5273 (hildon_touch_selector_prepend_text),
5274 (hildon_touch_selector_insert_text):
5276 Moved the simple _text() API from HildonPickerButton to
5277 HildonTouchPicker, to provide better escalability and not to tie
5278 that API to HildonPickerButton.
5280 * examples/hildon-picker-button-example.c: (main): Example updated.
5282 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5284 * src/hildon-button.c: Updated documentation.
5286 * examples/hildon-button-example.c: Add the posibility to create
5287 the buttons using horizontal layout for title and value.
5289 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5291 * src/hildon-app-menu-private.h
5292 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5293 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5294 GtkSizeGroup for the filters, use the 'homogeneous' property of
5297 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5299 * examples/hildon-button-example.c: Updated example.
5301 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5303 * doc/hildon-docs.sgml:
5306 Update documentation.
5308 * examples/Makefile.am: Update renamed examples.
5310 * examples/hildon-picker-button-multicolumn-example.c:
5311 (create_touch_selector), (main): Update after the rename.
5313 * examples/hildon-touch-picker-example.c: Removed.
5314 * examples/hildon-touch-selector-example.c: (value_changed),
5315 (create_selector), (get_visible_content), (main): Renamed from
5316 hildon-touch-picker-example.c
5318 * src/Makefile.am: Updated renamed files.
5320 * src/hildon-date-button.c: (hildon_date_button_init),
5321 (hildon_date_button_get_date), (hildon_date_button_set_date):
5322 * src/hildon-date-selector.c: (hildon_date_selector_init),
5323 (_custom_print_func), (_update_day_model),
5324 (_manage_selector_change_cb),
5325 (hildon_date_selector_select_current_date),
5326 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5327 * src/hildon-date-selector.h:
5328 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5329 (hildon_picker_button_set_property),
5330 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5331 (hildon_picker_button_init), (hildon_picker_button_new_text),
5332 (hildon_picker_button_append_text),
5333 (hildon_picker_button_prepend_text),
5334 (hildon_picker_button_insert_text),
5335 (hildon_picker_button_set_selector),
5336 (hildon_picker_button_get_selector):
5337 * src/hildon-picker-button.h:
5338 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5339 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5340 (_update_title_on_selector_changed_cb), (requires_done_button),
5341 (_hildon_picker_dialog_set_selector),
5342 (hildon_picker_dialog_set_selector),
5343 (hildon_picker_dialog_get_selector):
5344 * src/hildon-picker-dialog.h:
5345 * src/hildon-time-button.c: (hildon_time_button_init),
5346 (hildon_time_button_get_time), (hildon_time_button_set_time):
5347 * src/hildon-time-selector.c: (hildon_time_selector_init),
5348 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5349 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5350 * src/hildon-time-selector.h:
5353 Massive code updates after the rename.
5355 * src/hildon-touch-picker.c: Removed.
5356 * src/hildon-touch-picker.h: Removed.
5358 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5359 (hildon_touch_selector_init), (hildon_touch_selector_map),
5360 (hildon_touch_selector_remove), (_default_print_func),
5361 (_selection_changed_cb), (_create_new_column),
5362 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5363 (hildon_touch_selector_append_text_column),
5364 (hildon_touch_selector_remove_column),
5365 (hildon_touch_selector_set_column_attributes),
5366 (hildon_touch_selector_insert_column),
5367 (hildon_touch_selector_get_num_columns),
5368 (hildon_touch_selector_get_column_selection_mode),
5369 (hildon_touch_selector_set_column_selection_mode),
5370 (hildon_touch_selector_set_print_func),
5371 (hildon_touch_selector_get_print_func),
5372 (hildon_touch_selector_get_active_iter),
5373 (hildon_touch_selector_set_active_iter),
5374 (hildon_touch_selector_get_selected_rows),
5375 (hildon_touch_selector_get_model),
5376 (hildon_touch_selector_set_model),
5377 (hildon_touch_selector_get_current_text),
5378 (_hildon_touch_selector_center_on_selected_items):
5379 * src/hildon-touch-selector.h: Renamed from
5380 hildon-touch-picker.[ch]
5382 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5383 references, code examples, and related documentation.
5385 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5387 * doc/hildon-docs.sgml
5390 * src/hildon-toggle-button.c
5391 * src/hildon-toggle-button.h
5392 * src/hildon.h: New HildonToggleButton widget.
5394 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-button.c: Add API documentation.
5397 (hildon_button_set_size_groups): Check input parameters
5399 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5401 * src/hildon-pannable-area.c
5402 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5403 effect after reaching the movement thredshold. This way we start
5404 using the distance after passing the thredshold.
5406 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5408 * src/hildon-button.c: (hildon_button_set_property): Use the
5409 appropriate g_value_get_flags() method.
5411 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5413 * doc/hildon-docs.sgml:
5416 Add the touch pickers, picker dialogs, and picker button widgets
5417 to the documentation.
5419 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5421 * src/hildon-button.c: (hildon_button_set_property),
5422 (hildon_button_class_init): Make "arrangement-flags" a proper
5423 G_TYPE_FLAGS derived property.
5425 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5427 * examples/Makefile.am: Add below examples.
5428 * examples/hildon-date-button-example.c:
5429 * examples/hildon-picker-button-example.c:
5430 * examples/hildon-picker-button-multicolumn-example.c:
5431 * examples/hildon-time-button-example.c:
5432 * examples/hildon-touch-picker-example.c:
5434 Add examples for the recently added touch pickers,
5435 picker dialogs, and picker button widgets.
5437 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5439 * src/hildon-button.c: Add some API documentation
5441 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-button.h
5444 * src/hildon-button.c
5446 (hildon_button_new_with_text): New constructor to create a button
5447 with no text at all.
5448 (hildon_button_init, hildon_button_set_arrangement)
5449 (hildon_button_set_title, hildon_button_set_value)
5450 (hildon_button_set_text)
5451 (hildon_button_construct_child): Hide the value when it's not used
5452 so the rest of the text is properly aligned.
5453 Allow creating buttons with arbitrary widgets inside (not just
5454 title/value labels).
5456 * examples/hildon-button-example.c (vertical_buttons_window)
5457 (horizontal_buttons_window): Update example to use new API.
5459 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5461 * src/Makefile.am: Added HildonTimeButton.
5462 * src/hildon-time-button.c: Added missing LGPL header.
5463 * src/hildon-time-button.h: Added missing LGPL header.
5464 * src/hildon.h: Add hildon-time-button.h
5466 Copied HildonTimeButton from sandbox to trunk. Future work on this
5467 widget must take place in trunk.
5469 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5471 * src/Makefile.am: Added HildonDateButton.
5472 * src/hildon-date-button.c: Update includes.
5473 * src/hildon.h: Add hildon-date-button.h
5475 Copied HildonDateButton from sandbox to trunk. Future work on this
5476 widget must take place in trunk.
5478 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5480 * src/Makefile.am: Added HildonPickerButton.
5481 * src/hildon-picker-button.h: Update includes.
5482 * src/hildon.h: Add hildon-picker-button.h
5484 Copied HildonPickerButton from sandbox to trunk. Future work on
5485 this widget must take place in trunk.
5487 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5489 * src/Makefile.am: Added HildonPickerDialog.
5490 * src/hildon-picker-dialog.c: Update includes.
5491 * src/hildon.h: Add hildon-picker-dialog.h
5493 Copied HildonPickerDialog from sandbox to trunk. Future work
5494 on this widget must take place in trunk.
5496 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5498 * src/Makefile.am: Added HildonTimeSelector.
5499 * src/hildon.h: Add hildon-time-selector.h
5501 Copied HildonTimeSelector widget from sandbox to trunk. Future
5502 work on this widget must happen in trunk.
5504 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5506 * src/Makefile.am: Added HildonDateSelector.
5507 * src/hildon.h: Add hildon-date-selector.h
5509 Copied HildonDateSelector widget from sandbox to trunk. Future
5510 work on this widget must happen in trunk.
5512 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5514 * src/Makefile.am: Added HildonTouchPicker.
5515 * src/hildon-touch-picker.c: Update includes.
5516 * src/hildon.h: Add hildon-touch-picker.h
5518 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5519 on this widget must happen in trunk.
5521 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5523 * src/hildon-pannable-area.c:
5524 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5526 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5528 * examples/hildon-app-menu-example.c (main): Let the window
5531 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5533 * src/hildon-pannable-area.c
5534 (hildon_pannable_area_class_init): Set the min value of the
5535 overshoot properties to zero, which points out that not
5536 overshooting allowed.
5538 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5540 Modified the procedure to get the widget at a point inside the
5541 pannable area when using the movement type signals. Now the user
5542 has to call a function to get the child, that way we just
5543 calculate the child in case the user really want to use it and not
5546 * src/hildon-marshalers.list: Modified the marshallers, now we do
5547 not have the widget as a parameter.
5549 * src/hildon-pannable-area.c
5550 (hildon_pannable_area_motion_notify_cb),
5551 (hildon_pannable_area_class_init),
5552 (hildon_pannable_get_child_widget_at): Removed the widget
5553 parameter from the signal callback. We have also refactored the
5554 emission of the signals.
5556 * src/hildon-pannable-area.h: Added a new method to the API to
5557 calculate a widget at a point inside the pannable area,
5558 hildon_pannable_get_child_widget_at.
5560 * examples/hildon-pannable-area-example-4.c
5561 (horizontal_movement): Modified the example to use the new API,
5562 added condition to control which widget is under the event. This
5563 way we can avoid scrolling laterally over other widgets.
5565 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5567 * src/hildon-pannable-area.c
5568 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5569 modes, we stop getting the pointer events due to returning the
5570 callback without properly calling the get pointer again. Fixed
5571 also an error using the hscroll and vscroll.
5573 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5575 * src/hildon-app-menu-private.h
5576 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5577 (hildon_app_menu_button_release, hildon_app_menu_init)
5578 (hildon_app_menu_class_init): Don't hide the menu on button
5579 release if the user didn't press outside first.
5581 * src/hildon-window.h
5582 * src/hildon-window.c (hildon_window_toggle_menu)
5583 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5584 hildon_window_toggle_menu a virtual function for the stackable
5585 window to override it.
5587 * src/hildon-stackable-window.h
5588 * src/hildon-stackable-window-private.h
5589 * src/hildon-stackable-window.c
5590 (hildon_stackable_window_realize)
5591 (hildon_stackable_window_finalize)
5592 (hildon_stackable_window_class_init)
5593 (hildon_stackable_window_init)
5594 (hildon_stackable_window_set_main_menu): New function to set the
5595 app menu of a HildonStackableWindow.
5597 * examples/hildon-app-menu-example.c: Remove the button to show
5598 the app menu, now it'll be shown when clicking on the title bar
5601 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5603 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5604 set the widget name if the arrangement flags do not specify
5607 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5609 * src/hildon-button.c: (hildon_button_set_property),
5610 (hildon_button_class_init), (hildon_button_new_full),
5611 (hildon_button_set_arrangement): Added "arrangement-flags"
5614 Make the HildonButtonFlags a construction-only property, to allow
5615 subclasses to set them properly.
5617 2008-07-21 Tim Janik <timj@imendio.com>
5619 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5620 insertion position after backspace, so additional digits are appended,
5623 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5625 * src/hildon-pannable-area.c,
5626 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5627 TODO list, it was complete and removed the g_debug and g_print
5630 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5632 Added the movement modes to the hildon-pannable-area, with this
5633 modes the developers can control in which directions the widget
5634 can scroll. They can also connect to signals in order to do
5635 something when that happens, allowing applications scroll. There
5636 is an example uploaded showing how to use it.
5638 * examples/Makefile.am:
5639 * examples/hildon-pannable-area-example-4.c: Added this example of
5640 an application using the modes.
5642 * src/hildon-marshalers.list: Added a new marshaller for the new
5645 * src/hildon-pannable-area.h: Added new enumerations and flags in
5646 order to control the movement modes and the new signals to warn
5647 about the movements in the area.
5649 * src/hildon-pannable-area.c:
5650 (hildon_pannable_axis_scroll),
5651 (hildon_pannable_area_scroll),
5652 (hildon_pannable_area_motion_notify_cb),
5653 (hildon_pannable_area_get_property),
5654 (hildon_pannable_area_set_property),
5655 (hildon_pannable_area_map),
5656 (hildon_pannable_area_class_init),
5657 (hildon_pannable_area_init),
5658 (hildon_pannable_area_jump_to): Added the modes to control the
5659 movement in the widget. We have added properties to control it,
5660 signals to warn about the movements and refactored some code.
5662 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5664 Changes required in order to allow vfast_factor set to zero to
5667 * src/hildon-pannable-area.c:
5668 (hildon_pannable_area_button_press_cb): Changed the condition, it
5669 is required for not allowing click when vfast_factor is zero.
5670 (hildon_pannable_area_timeout): Initialized velocity variables
5671 when we stop moving, it was less than 1 but not zero and we need
5672 to check zero in some situations.
5673 (hildon_pannable_area_class_init): Changed the default value of
5674 the speed factor, now the button_press is just sent in case the
5675 speed is 2 per cent of the max speed.
5676 (hildon_pannable_area_init): Initialization with 0.
5678 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5680 * src/hildon-pannable-area.c,
5681 (hildon_pannable_area_get_topmost): replaced
5682 gdk_window_get_children with gdk_window_peek_children, this way we
5683 do not have to free the list because it is not a copy.
5685 (hildon_pannable_axis_scroll),
5686 (hildon_pannable_area_scroll),
5687 (hildon_pannable_area_timeout),
5688 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5689 two parameters that were only used inside the
5690 hildon_pannable_area_scroll function.
5692 * examples/hildon-pannable-area-example.c,
5693 (get_sawtooth_label): Fixed small memory leak.
5695 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5697 More checks for the case where the overshoot is bigger than the
5700 * src/hildon-pannable-area.c:
5701 (hildon_pannable_draw_vscroll),
5702 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5703 to draw the slider of the scrollbar under the other scrollbar.
5704 (hildon_pannable_area_expose_event): added new checks to control
5705 the drawing of the overshooting area rectangle, in case it is too
5706 big for the area of the widget.
5707 (hildon_pannable_area_size_allocate): add more checks to avoid
5708 setting a position to the child widget outside the area.
5710 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5712 * src/hildon-pannable-area.c
5713 (hildon_pannable_area_size_allocate): Added conditions to control
5714 when overshooting is bigger than the allocated space for the
5715 children, this avoids negative allocations.
5717 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5719 * doc/hildon-docs.sgml
5721 * examples/Makefile.am
5722 * examples/hildon-button-example.c
5724 * src/hildon-button.c
5725 * src/hildon-button.h
5726 * src/hildon.h: Initial version of the new HildonButton widget,
5729 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5731 * src/hildon-pannable-area.c:
5732 (hildon_pannable_area_button_press_cb),
5733 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5734 (hildon_pannable_area_motion_notify_cb),
5735 (hildon_pannable_area_button_release_cb),
5736 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5737 (hildon_pannable_area_jump_to_child):
5739 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5741 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5743 * examples/Makefile.am
5744 * examples/hildon-pannable-area-touch-grid-example.c
5745 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5746 the Hildon Touch List and Hildon Touch Grid using the
5747 HildonPannableArea widget.
5749 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5751 * src/hildon-pannable-area.c,
5752 (hildon_pannable_area_button_press_cb),
5753 (hildon_pannable_area_refresh),
5754 (hildon_pannable_area_scroll),
5755 (hildon_pannable_area_motion_notify_cb),
5756 (hildon_pannable_area_button_release_cb),
5757 (hildon_pannable_area_expose_event),
5758 (hildon_pannable_area_add),
5759 (hildon_pannable_area_remove),
5760 (hildon_pannable_area_realize),
5761 (hildon_pannable_area_size_allocate),
5762 (hildon_pannable_area_class_init),
5763 (hildon_pannable_area_init),
5764 (hildon_pannable_area_scroll_to_child),
5765 (hildon_pannable_area_jump_to_child): Fixed the problem of
5766 removing the child from the GtkBin, we have rearranged the widget
5767 hierarchy, now there is no GtkAlignment which was not doing
5768 anything interesting but breaking some of the assumptions of
5769 GtkContainer. Now developers if they want to add a GtkAlignment
5770 they could, but it is not inside the area.
5772 We had to review the whole allocation/expose process, now it is
5773 improved and we save at least three signals which would be saving
5774 some time when rendering the widget. The allocation of the
5775 scrollbars is now made in the allocate method as usual.
5777 We have also added some conditions in order to control when there
5778 is no child of the pannable area. Maybe we will need more work
5781 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5783 * src/hildon-pannable-area.c,
5784 (hildon_pannable_area_dispose): Released the fade-out timeout when
5785 disposing the widget.
5787 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5789 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5790 zero, we are going to use that property in order to deactivate the
5792 (hildon_pannable_axis_scroll),
5793 (hildon_pannable_area_size_allocate): Added conditions to control
5794 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5795 call, now it is called in all situations and we can remove calls
5796 in the allocate method.
5797 (hildon_pannable_area_map): Control the situation when
5798 overshoot_max is zero, we do not need the timeout.
5799 (hildon_pannable_area_class_init): Added documentation in order to
5800 point out that setting zero to overshoot_max means deactivate
5803 NOTE: removed trailing whitespaces from my previous comments of
5806 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5808 * src/hildon-pannable-area.c
5809 (hildon_pannable_area_get_property),
5810 (hildon_pannable_area_set_property),
5811 (hildon_pannable_area_map),
5812 (hildon_pannable_area_class_init),
5813 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5814 to cause the widget give a hint about its panning abilities upon
5817 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5819 * src/hildon-pannable-area.c: Several documentation improvements.
5821 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-program.c
5824 * src/hildon-stackable-window.c: Update documentation.
5826 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5828 * src/hildon-stackable-window.c (get_previous_window_if_last):
5829 Renamed get_last_window()
5830 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5831 (hildon_stackable_window_unset_program):
5833 (get_previous_window_if_last):
5834 Detect if the window hasn't been added to a HildonProgram.
5836 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5838 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-pannable-area.c
5841 (hildon_pannable_area_button_press_cb),
5842 (hildon_pannable_axis_scroll),
5843 (hildon_pannable_area_scroll),
5844 (hildon_pannable_area_timeout),
5845 (hildon_pannable_calculate_vel_factor),
5846 (hildon_pannable_area_get_property),
5847 (hildon_pannable_area_set_property),
5848 (hildon_pannable_area_class_init),
5849 (hildon_pannable_area_init),
5850 (hildon_pannable_area_scroll_to),
5851 (hildon_pannable_area_jump_to),
5852 (hildon_pannable_area_scroll_to_child),
5853 (hildon_pannable_area_jump_to_child):
5854 * src/hildon-pannable-area.h: Added the new API functions:
5855 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5856 hildon_pannable_area_scroll_to_child,
5857 hildon_pannable_area_jump_to_child
5860 * examples/Makefile.am
5861 * examples/hildon-pannable-area-example-2.c
5862 * examples/hildon-pannable-area-example-3.c: Added these two new
5863 examples in order to test and show how the new APIs work.
5865 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5867 * examples/hildon-stackable-window-example.c (new_window):
5868 * src/Makefile.am (noinst_HEADERS):
5869 * src/hildon-program.c (hildon_program_go_to_root_window):
5870 * src/hildon-program.h:
5871 * src/hildon-stackable-window-private.h:
5872 * src/hildon-stackable-window.c:
5873 * src/hildon-stackable-window.h:
5874 Create hildon-stackable-window-private.h
5875 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5877 * examples/hildon-app-menu-example.c (create_menu):
5878 * examples/hildon-hvolumebar-insensitive-example.c (main):
5879 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5880 * examples/hildon-toolbar-seekbar-example.c (main):
5881 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5882 * src/hildon-banner.c (hildon_banner_set_property):
5883 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5884 Fix compilation warnings
5886 * src/hildon-window.c:
5889 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5891 * src/hildon-stackable-window.c
5892 (hildon_stackable_window_unset_program):
5893 Calculate correctly whether to show the previous window if the
5894 last one is removed from the stack.
5895 (hildon_stackable_window_go_to_root_window):
5896 Send delete events starting from the topmost window.
5897 Stop if one of the windows is not destroyed.
5899 (hildon_stackable_window_delete_event)
5900 (hildon_stackable_window_class_init):
5901 Ignore the delete event if the window is not the topmost one.
5903 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5905 * src/hildon-pannable-area.c
5906 (hildon_pannable_area_expose_event): Fixed a problem when
5907 selecting the background color of the scrollbars.
5909 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5911 * examples/hildon-stackable-window-example.c
5912 * src/hildon-stackable-window.c
5913 * src/hildon-stackable-window.h
5914 hildon_stackable_window_go_home() renamed to
5915 hildon_stackable_window_go_to_root_window()
5916 Send delete events to windows rather than closing them with
5917 gtk_widget_destroy()
5919 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5921 * src/hildon-pannable-area.c
5922 (hildon_pannable_area_button_release_cb): Fix overshooting in
5925 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5927 * src/hildon-pannable-area.c
5928 (hildon_pannable_area_init): Initially show the scroll indicators.
5929 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5931 Add initial effect showing the widget is pannable.
5933 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5935 * src/hildon-pannable-area.c
5936 (hildon_pannable_area_class_init)
5937 (hildon_pannable_area_set_property)
5938 (hildon_pannable_area_get_property)
5939 (hildon_pannable_area_button_press_cb):
5940 New 'velocity_fast_factor' property to decide which velocity is
5943 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5945 * src/hildon-pannable-area.c
5946 (hildon_pannable_draw_hscroll)
5947 (hildon_pannable_draw_vscroll):
5948 Use float variables to calculate the size of the scrollbars to
5949 avoid error propagation and resizing during scrolling.
5951 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-pannable-area.c
5954 (hildon_pannable_draw_vscroll)
5955 (hildon_pannable_draw_hscroll):
5956 Define a minimum size for the scroll bars
5958 * src/hildon-stackable-window.c
5959 (hildon_stackable_window_go_home): Fix compilation warning
5960 (get_last_window): Minor optimizations
5961 (hildon_stackable_window_class_init): Fix initialization of
5964 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-stackable-window.c: Fixed typos in doc
5968 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5970 * src/hildon-pannable-area.c
5971 (hildon_pannable_area_scroll):
5972 Calculate here whether we need to scroll instead of using the booleans
5973 that tell us whether to /draw/ the scrolling bars.
5975 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5977 * src/hildon-app-menu.h
5979 * src/hildon-app-menu.c
5980 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5981 multiple filter groups related code and API. Now we support only
5983 * examples/hildon-app-menu-example.c:
5985 Update to reflect API changes.
5987 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5989 * src/hildon-stackable-window.c
5990 (hildon_stackable_window_class_init):
5991 Add hildon_stackable_window_realize.
5992 (hildon_stackable_window_realize):
5993 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5994 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5995 to apply theming and behavior specific to HildonStackableWindow
5998 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6000 * src/hildon-note.c (hildon_note_button_release):
6001 Close information notes also when tapping on them
6003 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6005 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6006 ELASTICITY, refactor and review, fix some issues with drawing
6009 * src/hildon-pannable-area.c:
6010 (hildon_pannable_area_button_press_cb): removed the conditions to
6011 avoid clicks when overshooting. It is not required
6013 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6014 define. Refatored and reviewed the code, now we do not need to
6015 manage velocity in motion_notify.
6017 (hildon_pannable_area_motion_notify_cb): We have moved the code
6018 that controls the area_scroll to the axis_scroll function and get
6019 rid of duplicated code.
6021 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6023 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6025 (hildon_pannable_draw_vscroll),
6026 (hildon_pannable_draw_hscroll): Fixed the problems with the
6027 scrollbar drawing, now we do not use two surfaces, it is easier
6028 and saves resources.
6030 (hildon_pannable_area_get_property): Style modification.
6032 (hildon_pannable_area_class_init): Changed some default values.
6034 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6036 * src/hildon-stackable-window.c: Fix some typos in the
6039 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6041 * src/hildon-dialog.c:
6042 Change indentation style
6045 (hildon_note_button_release):
6046 Use root coordinates to check if the release event happened
6049 * src/hildon-app-menu.c
6050 (hildon_app_menu_button_release):
6051 Remove unnecessary check
6053 * examples/hildon-app-menu-example.c
6055 Add cast to fix warning
6057 * src/hildon-app-menu.c
6058 (hildon_app_menu_class_init):
6059 New inner-border style property.
6060 Set all default spacings to 16
6061 (hildon_app_menu_init):
6062 Use vertical-spacing to set the space between filter buttons and
6063 regular menu buttons.
6064 Set the default container border using the inner-border value.
6066 * examples/hildon-app-menu-example.c
6068 Don't set the menu border explicitly, now we have the inner-border
6069 style property for that.
6071 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6073 * src/hildon-app-menu.c (hildon_app_menu_init):
6074 Make the window modal
6076 * src/hildon-note.c (hildon_note_map)
6077 * src/hildon-app-menu.c (hildon_app_menu_map):
6078 Destroy the grab window if we're unable to grab the pointer
6080 * src/hildon-app-menu-private.h
6081 * src/hildon-app-menu.c
6082 (hildon_app_menu_init, hildon_app_menu_finalize)
6083 (hildon_app_menu_map, hildon_app_menu_unmap)
6084 (hildon_app_menu_button_release)
6085 (grab_transfer_window_get):
6086 Bring back the grab window
6087 (hildon_app_menu_realize):
6088 Decorate the window, set WM hint for Matchbox
6090 * src/hildon-note.c (hildon_note_realize):
6091 * src/hildon-banner.c (hildon_banner_realize):
6092 Add WM hints for Matchbox
6094 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6096 * src/hildon-app-menu-private.h
6097 * src/hildon-app-menu.c
6098 (hildon_app_menu_init, hildon_app_menu_finalize)
6099 (hildon_app_menu_map, hildon_app_menu_unmap)
6100 (hildon_app_menu_button_release):
6101 Remove the grab window, it's not needed anymore
6103 * src/hildon-program.c
6104 Fixed typo in documentation
6106 * src/hildon-app-menu.h
6107 * src/hildon-app-menu.c
6108 * examples/hildon-app-menu-example.c
6109 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6111 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6114 Added new transfer_window and close_if_pressed_outside private
6116 (hildon_note_rebuild):
6117 Don't add a cancel button to the information note. It will be
6118 closed when tapping outside
6119 Remove the comment about the OK button in the documentation
6120 (hildon_note_realize):
6121 Set the notification type hint
6122 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6123 Grab/ungrab pointer and keyboard if the note has to be closed when
6125 (hildon_note_button_release):
6126 Close the note when tapping outside (if applicable)
6128 * src/hildon-app-menu.c
6129 Grab/ungrab pointer and keyboard on map/unmap
6130 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6131 Close the menu on button release, not button press
6133 * src/hildon-banner.c
6134 (hildon_banner_set_property)
6135 (hildon_banner_check_position):
6136 Make the banner use the full width of the screen
6137 (hildon_banner_show_information)
6138 (hildon_banner_show_information_with_markup):
6139 Don't display an icon by default
6141 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6143 Added fading scrollbars and adapted all the overshooting code to
6144 horizontal scrolling. We have also fixed bugs with overshooting
6145 and current fading implementation.
6147 * src/hildon-pannable-area.c
6148 (hildon_pannable_area_scroll_indicator_fade): Time out function
6149 used to change the transparency of the scrollbars.
6151 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6152 control and fixed a problem with fading, we now remove the fade
6153 timeout before adding a new one.
6155 (hildon_pannable_axis_scroll):
6156 (hildon_pannable_area_scroll):
6157 (hildon_pannable_area_timeout): Added this functions so we can use
6158 the scroll code both for vertical and horizontal.
6160 (hildon_pannable_area_motion_notify_cb):
6161 (hildon_pannable_area_button_release_cb): Added the horizontal
6162 scrolling control, fixed a problem with the overshooting timeout.
6164 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6165 painting of the scrolls.
6167 (hildon_pannable_draw_vscroll):
6168 (hildon_pannable_draw_hscroll):
6169 (hildon_pannable_area_expose_event):
6170 Draw both scrollbars and rectangles in the overshooting area.
6172 (hildon_pannable_area_get_property):
6173 (hildon_pannable_area_set_property):
6174 Modified the overshoot property to overshoot_max
6176 (hildon_pannable_area_map):
6177 Replaced the comments symbols.
6179 (hildon_pannable_area_size_allocate):
6180 (hildon_pannable_area_class_init):
6181 (hildon_pannable_area_init): Added horizontal scroll, fading
6182 effect properties, fixed a problem when overshooting in the bottom
6185 * examples/hildon-pannable-area-example.c:
6186 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6187 looks better in the example.
6189 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-window.c
6192 * src/hildon-window.h
6193 (hildon_window_class_init)
6194 (hildon_window_unset_program)
6195 (hildon_window_unset_program_real):
6196 Make unset_program a virtual function
6198 * src/hildon-stackable-window.c
6199 * src/hildon-stackable-window.h
6200 Added hildon_stackable_window_go_home()
6202 * examples/Makefile.am
6203 * examples/hildon-stackable-window-example.c
6204 HildonStackableWindow example
6206 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6208 * hildon-pannable-area.c: Added the overshoot property and removed
6209 the OVERSHOOT define. Fixed an indent style error.
6210 (hildon_pannable_area_motion_notify_cb):
6211 (hildon_pannable_area_get_property):
6212 (hildon_pannable_area_set_property): Add overshoot property.
6214 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6217 (hildon_pannable_area_class_init): Installed the new property.
6219 * hildon-pannable-area-example.c: Added a sawtooth function, this
6220 way it is easier to check the movement in the pannable.
6221 (get_sawtooth_label): Added this function.
6222 (main): Now we get the labels from the new get_sawtooth_label
6225 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6227 * src/hildon-app-menu.h
6228 * src/hildon-app-menu.c
6229 Renamed API variables for consistency
6231 (hildon_app_menu_popup): Use also the default window size to
6232 decide where to place the menu
6234 (hildon_app_menu_init, hildon_app_menu_class_init): New
6235 external-border style property
6237 2008-05-26 Michael Natterer <mitch@imendio.com>
6239 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6240 widget_class->tap_and_hold_setup signal slot doesn't exist any
6241 longer, stop overriding it.
6243 (hildon_time_editor_init): g_signal_connect() to the
6244 tap-and-hold-setup signal instead.
6246 (hildon_time_editor_entry_keypress): add cast to fix warning.
6248 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6250 * doc/hildon-docs.sgml
6252 * examples/Makefile.am
6253 * examples/hildon-app-menu-example.c
6255 * src/hildon-app-menu-private.h
6256 * src/hildon-app-menu.c
6257 * src/hildon-app-menu.h
6259 New HildonAppMenu widget
6261 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6263 Rearranged the inheritance of the pannable area, now it inherits
6264 from GtkBin. This will allow us to control the event_window and
6265 the allocation process of the widget, required for some effects.
6267 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6268 GtkBin structures. * src/hildon-pannable-area.c: Added the
6269 event_window variable.
6270 (hildon_pannable_area_button_press_cb):
6271 (hildon_pannable_area_button_release_cb):
6272 (hildon_pannable_area_motion_notify_cb):
6273 Changed the signature of the method, now we override the event
6274 callback instead of connecting to the signal.
6276 (hildon_pannable_area_realize):
6277 (hildon_pannable_area_unrealize):
6278 (hildon_pannable_area_map):
6279 (hildon_pannable_area_unmap):
6280 (hildon_pannable_area_size_allocate):
6281 Added functions to control the widget construction. We add a
6282 INPUT_ONLY window and we put it over the widgets inside the
6283 container, this event_window handles the events.
6285 (hildon_pannable_area_class_init):
6286 Replaced the signal connections with overrides of the event
6289 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6291 Bouncing effect added when touching the borders, you can change
6292 the elasticity of the border changing the ELASTICITY define.
6294 * src/hildon-pannable-area.c: Added ELASTICITY define.
6295 (hildon_pannable_area_timeout): Added inverse velocity when
6296 touching the border of the child widget, that causes a bounce.
6298 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6300 Improved performance, we now do not go to the X server in order to
6301 get the list of window children. Apparently the effect is the
6302 same, we have to be careful and check if this breaks something in
6305 * src/hildon-pannable-area.c:
6306 (get_ordered_children): Removed this function.
6307 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6308 the children windows function with gdk_window_get_children.
6310 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6312 * src/hildon-pannable-area.c:
6313 (hildon_pannable_area_dispose): Fixed a crash when closing the
6314 window and kinetics is activated.
6316 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6318 * src/hildon-pannable-area.h
6319 * src/hildon-pannable-area.c
6320 Changed indentation style to meet the one used in Hildon
6322 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6324 Reviewed the interaction of the AUTO mode, now we use the time
6325 attribute of the events and calculate the velocity in the motion,
6326 doing a gimp like calculation. The velocity is calculated in each
6327 motion event using the last velocity and the current one, the
6328 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6330 * src/hildon-pannable-area.c: Replaced the time based algorithm
6332 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6333 timeout for the AUTO mode when we are still moving the cursor. We
6334 added also the velocity calculation in this function.
6335 (hildon_pannable_area_button_release_cb): launch the timeout in
6336 case we are in AUTO mode. There are still some constants here that
6337 come from the old implementation that should be reviewed and
6340 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6342 * doc/hildon-docs.sgml
6345 * src/hildon-stackable-window.c
6346 * src/hildon-stackable-window.h
6348 New HildonStackableWindow widget
6350 * examples/hildon-dialog-example.c
6351 * examples/hildon-pannable-area-example.c
6354 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6356 * src/hildon-dialog.c
6357 (hildon_dialog_new_with_buttons): New constructor.
6359 * examples/hildon-dialog-example.c
6360 (main): Update the example to use the new
6361 hildon_dialog_new_with_buttons().
6363 * examples/hildon-pannable-area-example.c
6364 (main): Update example.
6366 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6368 * doc/hildon-docs.sgml
6370 Added HildonPannableArea to the documentation.
6372 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6374 * doc/visual_index.xml
6375 Fix reference to HildonLoginDialog in documentation
6377 * doc/hildon-docs.sgml
6379 * examples/Makefile.am
6380 * examples/hildon-dialog-example.c
6382 * src/hildon-dialog.c
6383 * src/hildon-dialog.h
6385 New HildonDialog widget.
6387 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6389 * src/hildon-pannable-area.c
6390 Merge latest changes (r4318, r4342) from libmokoui trunk
6392 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6394 * examples/Makefile.am
6395 * examples/hildon-pannable-area-example.c
6397 * src/hildon-pannable-area.c
6398 * src/hildon-pannable-area.h
6400 New HildonPannableArea widget.
6402 2008-04-15 18:05:19 <timj@imendio.com>
6404 * src/hildon-banner.c: revert the recent change, that introduced
6405 gtk_window_present() calls. this reopens:
6406 Bug 78481 - [freetest] information banners are hidden under browser menu
6407 But resolves another variant of:
6408 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6410 2008-04-15 13:21:13 <timj@imendio.com>
6412 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6413 recreated its layout, spotted by Kris. this fixes all remaining
6414 artefacts and stability issues with the banner code. in particular:
6415 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6417 2008-04-14 16:52:59 <timj@imendio.com>
6419 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6420 operating on unrealized widgets, fixes:
6421 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6423 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6425 2008-04-09 Kristian Rietveld <kris@imendio.com>
6427 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6428 makes banner disappear.
6429 Fixes: NB#79182: info banner flickering with certain message lengts.
6431 * src/hildon-banner.c (hildon_banner_constructor),
6432 (hildon_banner_init), (hildon_banner_set_text),
6433 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6434 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6435 FALSE, reset size requests of label and banner,
6436 (force_to_wrap_truncated): when the text is too wide, always enforce
6437 the maximum possible width instead of recalculating it from the
6438 layout; enforce the maximum banner height of 3 lines,
6439 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6440 nicer wrapping and no truncated chars if space gets tight.
6442 * src/hildon-banner-private.h: add has_been_wrapped and
6443 has_been_truncated fields.
6445 2008-04-07 Sven Herzberg <sven@imendio.com>
6447 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6448 local values in hildon_date_editor_size_allocate
6450 * src/hildon-date-editor.c: moved the real allocation code into the
6453 2008-04-07 Sven Herzberg <sven@imendio.com>
6455 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6456 local values in hildon_date_editor_size_allocate
6458 * src/hildon-date-editor.c: merged the two if() branches together
6460 2008-04-07 Sven Herzberg <sven@imendio.com>
6462 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6463 local values in hildon_date_editor_size_allocate
6465 * src/hildon-date-editor.c: changed the arguments of the if()
6468 2008-04-07 Sven Herzberg <sven@imendio.com>
6470 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6471 local values in hildon_date_editor_size_allocate
6473 * src/hildon-date-editor.c: split the calculation of the allocation
6474 from the real allocation
6476 2008-03-27 Michael Natterer <mitch@imendio.com>
6478 Fixes: NB#81696: The passcode is not overwritten even after
6481 * src/hildon-code-dialog.c
6482 (hildon_code_dialog_button_clicked)
6483 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6484 because that doesn't overwrite selected text. Instead, emit the
6485 "commit" signal on the entry's im_context so the entry's normal
6486 insert logic is triggered. Set the cursor to the end of the entry
6487 after each insert operation so that we *only* insert in the middle
6488 of the text if something was selected.
6490 2008-03-27 Michael Natterer <mitch@imendio.com>
6492 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6493 selector cannot be opened
6495 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6496 when the popup color selector is created. Please connect to this
6497 signal in order to set the dialog's help ID.
6499 2008-03-25 Sven Herzberg <sven@imendio.com>
6501 Fixes: MB#1212: Hide info banners (infoprints) on click
6503 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6504 extracted the close event simulation into an extra function
6505 (hildon_banner_button_press_event): simulate a close event and destroy
6506 the widget if the event wasn't handled
6507 (hildon_banner_class_init): added the button_press_event handler
6508 (hildon_banner_init): added button-press events to the widget
6510 2008-03-25 Sven Herzberg <sven@imendio.com>
6512 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6513 Patch from: Mohammad Anwari <mdamt@maemo.org>
6515 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6516 instead of the right in RTL mode
6517 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6518 breadcrumb button list in RTL mode
6519 * src/hildon-caption.c: mirror the appearance of the caption widget in
6521 * src/hildon-date-editor.c: mirror appearance of the date editor in
6523 * src/hildon-time-editor.c: mirror appearance of the time editor in
6525 * src/hildon-window.c: fix the position of the popup in RTL mode
6527 2008-03-25 Sven Herzberg <sven@imendio.com>
6529 Amendment to the fix of NB#22072. Fix compilation.
6531 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6533 2008-03-19 Sven Herzberg <sven@imendio.com>
6535 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6538 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6539 timeout id properly when the timeout will disappear this leaves no
6540 artifacts around in the destroy(); there will only be the timeout
6541 created by hildon_banner_ensure_timeout() and adding a new timeout
6542 will also work if the timeout gets removed because the timeout_handler
6545 2008-03-19 Michael Natterer <mitch@imendio.com>
6547 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6549 * src/hildon-volumebar.c
6550 * src/hildon-vvolumebar.c
6551 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6552 the widget becomes focussable at all.
6554 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6555 set the focus to wither the mute button or the volumebar.
6557 Remove own "can-focus" property and instead listen to
6558 notify::can-focus in order to update the widget's state.
6560 Implement GtkWidget::focus() and make sure we can also *leave* the
6561 widget, not only enter it, depending on volumebar orientation and
6562 requested focus direction.
6564 Clean up set_mute() to cooperate nicely with all the above.
6566 2008-03-04 Michael Natterer <mitch@imendio.com>
6568 Fixes: NB#78481: information banners are hidden under browser menu
6570 * src/hildon-banner.c: call gtk_window_present() on the banners so
6571 they are risen if they are already visible.
6573 2008-03-03 Sven Herzberg <sven@imendio.com>
6575 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6577 * examples/hildon-window-menu-example.c: (main): extended the window
6578 menu example to serve as a testcase for automatically added
6579 accelerator groups, too
6580 * src/hildon-window.c: (hildon_window_add_accel_group),
6581 (hildon_window_set_menu): added patch by Tommi Komulainen
6583 2008-03-03 Sven Herzberg <sven@imendio.com>
6585 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6587 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6588 knowledge about the border allocators used within GTK+
6590 2008-02-26 Sven Herzberg <sven@imendio.com>
6592 Fixes: MB#2981: Build with asserts broken
6594 * src/hildon-date-editor.c,
6595 * src/hildon-number-editor.c,
6596 * src/hildon-time-editor.c,
6597 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6598 the proper GType instance check
6600 2008-02-25 Sven Herzberg <sven@imendio.com>
6602 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6604 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6605 * examples/hildon-window-menu-example.c: (main): explicitly show
6607 * src/hildon-window.c:
6608 (hildon_window_set_main_menu): moved most of the code from set_menu()
6609 to this place; skipped the call to gtk_widget_show_all(); also didn't
6610 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6611 (hildon_window_set_menu): removed most of the code, just keep the
6612 questionable gtk_widget_show_all()
6613 * src/hildon-window.h: added the new function and deprecate the old
6616 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6622 * debian/changelog: Updating.
6624 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6627 * pkgconfig/Makefile.am:
6628 * pkgconfig/hildon.pc.in:
6631 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6632 use newly created API_MAJOR_VERSION.
6634 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6640 * debian/changelog: Updating.
6642 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6644 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6646 Add outer_border style property, we use it but don't define it (!).
6650 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6652 * examples/hildon-bread-crumb-trail-example.c (main):
6656 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6658 Fix logic for the bread crumb trail node removal.
6662 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6668 * debian/changelog: Updating.
6670 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6672 Patch by Alejandro to get/set passwords dialogs accesibility.
6674 * hildon-1/src/hildon-get-password-dialog.c:
6675 * hildon-1/src/hildon-set-password-dialog.c:
6676 Set atk_set_name to the passwd entries in order to allow
6677 accessibility by name on this entries.
6679 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6684 * debian/control: Updating gtk dep.
6686 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6688 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6689 USE_MAEMO_GTK is enabled.
6691 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6693 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6694 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6696 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6702 * debian/changelog: Updating.
6704 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6706 * examples/Makefile.am:
6707 * examples/hildon-logical-color-example.c:
6708 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6709 applied + adding a test case. Fixes: NB#71660.
6711 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6713 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6714 to be visible, fixes warning on map for windows without toolbars.
6716 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6718 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6719 2.11.0, add a check for that besides the MAEMO_GTK check.
6721 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6727 * debian/changelog: Updating.
6729 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6731 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6732 visibility. Fixes: NB#70842 and MB#615.
6734 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6736 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6737 set the separator as no-show-all so it doesn't unintentionally appear when
6738 someone does a show_all.
6740 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6742 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6743 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6744 toplevel item. Fixes: NB#62031
6746 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6748 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6749 fix the name of the function in the docs.
6751 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6757 * debian/changelog: Updating.
6759 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6761 * examples/hildon-banner-long-example.c: Adding a test-case for long
6764 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6766 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6768 * src/hildon-color-chooser-dialog.c:
6769 * src/hildon-color-chooser.c:
6770 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6771 memory leaks in font selector and color selector. Fixes: NB#70499 and
6774 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6776 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6778 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6780 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6781 little bit bigger. Fixes: #NB63694.
6783 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6789 * debian/changelog: Updating.
6791 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6794 * doc/hildon-docs.sgml:
6795 * doc/images/bread-crumb-trail.png:
6796 * doc/images/calendar-popup.png:
6797 * doc/images/caption.png:
6798 * doc/images/code-dialog.png:
6799 * doc/images/color-button.png:
6800 * doc/images/color-chooser-dialog.png:
6801 * doc/images/color-chooser.png:
6802 * doc/images/controlbar.png:
6803 * doc/images/date-editor.png:
6804 * doc/images/font-selection-dialog.png:
6805 * doc/images/get-password-dialog.png:
6806 * doc/images/hvolumebar.png:
6807 * doc/images/login-dialog.png:
6808 * doc/images/note.png:
6809 * doc/images/number-editor.png:
6810 * doc/images/range-editor.png:
6811 * doc/images/seekbar.png:
6812 * doc/images/set-password-dialog.png:
6813 * doc/images/sort-dialog.png:
6814 * doc/images/time-editor.png:
6815 * doc/images/time-picker.png:
6816 * doc/images/vvolumebar.png:
6817 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6818 Adding the bread-crumb-trial and helpers to the documentation.
6820 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6822 * examples/hildon-find-toolbar-example.c:
6823 * src/hildon-find-toolbar.c:
6824 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6825 actually continue firing the other handlers if connected. Adding a new
6827 hildon_find_toolbar_get_last_index that gets the index of the most
6828 recently added (last) item. Fixes: NB#52301.
6830 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6832 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6833 behaviour. Fixes: NB#68610.
6835 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6837 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6840 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6842 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6843 when realizing the banner. Should make the infonbanner effect a bit more
6846 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6848 * src/hildon-volumebar.c:
6849 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6850 hildon_volumebar_set_range_insensitive_message and
6851 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6853 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6855 * src/hildon-window.c: Fixing the border freeing on destroy.
6857 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6859 * src/hildon-code-dialog-private.h:
6860 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6861 kw keyboard support in HildonCodeDialog.
6863 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6869 * debian/changelog: Updating.
6871 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6873 * src/hildon-date-editor.c:
6874 * src/hildon-number-editor.c:
6875 * src/hildon-private.c:
6876 * src/hildon-private.h:
6877 * src/hildon-time-editor.c:
6878 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6879 handling in subclassed composite widgets. Fixes: NB#66628.
6881 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6883 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6884 from destroy_ callback as it introduces problems in async dbus signal
6885 handlers. Fixes NB#66673.
6887 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6889 * examples/hildon-hvolumebar-example.c:
6890 * src/hildon-volumebar.c: Improving the focus handling in the
6891 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6892 set_property accessor so that "mute" property can be actually set. I'm
6893 scared that nobody noticed it's totally broken.
6895 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6897 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6900 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6902 * src/hildon-calendar.c:
6903 * src/hildon-number-editor.c:
6904 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6905 matches the spec of 6 chars per second. Fixes: NB#60489.
6907 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6909 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6910 gtk_style_lookup_color sometime returns FALSE even though color was
6911 found and values were filled properly. Weird. Removing the warning for the
6914 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6916 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6917 expand vertically. Adding some extra space to the find toolbar buttons to
6918 make them thumbable. Fixes NB#66060.
6920 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6922 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6923 popup with "Ok" and "Cancel". Fixes NB#59299.
6925 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6927 * src/hildon-calendar.c: Process all window updates before executing next
6928 timeout. Fixes: NB#54146.
6930 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6936 * debian/changelog: Updating.
6938 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6940 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6941 the client event and ignore it, since we use the delete event to close
6944 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6946 * src/hildon-helper.c: Remove the bogus warning about color not being
6947 found. Fixes NB#58352.
6949 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6951 * examples/Makefile.am:
6952 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6953 HildonSeekbar widget inside a toolbar.
6955 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6957 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6958 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6959 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6960 don't want to be closed by non-temporary windows on map.
6962 Also use G_DEFINE_TYPE instead of manually typed code.
6964 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6971 * debian/rules: Updating.
6973 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6975 * examples/Makefile.am:
6976 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6977 bug NB#61128. Strangely it works.
6979 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6981 * src/hildon-date-editor.c: When the date editor entry has been changed
6982 but the numbers of characters < max, turn off the skip validation flag.
6983 Prevents a situation when we enter first a valid year and later re-write
6984 it with an invalid one. Fixes NB#60154.
6986 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6988 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6989 code dialog. Fixes NB#64355.
6991 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6993 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6994 switching the page. Fixes NB#49374.
6996 * examples/Makefile.am:
6997 * examples/hildon-wizard-dialog-example.c: Adding an example for
6998 HildonWizardDialog that shows how to handle manual sensitivity setting on
7001 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7005 * src/hildon-version.h.in:
7006 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7008 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7010 * src/hildon-volumebar.c: Updating the docs.
7012 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7018 * debian/changelog: Updating.
7020 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7022 * src/hildon-find-toolbar.c:
7023 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7024 selected item: hildon_find_toolbar_set_active,
7025 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7026 hildon_find_toolbar_get_active_iter . They correspond to respective
7027 GtkComboBox functions.
7029 * examples/Makefile.am:
7030 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7033 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7035 * examples/Makefile.am:
7036 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7039 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7040 when font size > 32 and we pack a focusable widget inside. Actually using
7041 the default response would work too, but since we don't show default
7042 response state in any way (no theming) it would not be visible to the
7043 user. Fixes NB#63430.
7045 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7047 * src/hildon-date-editor.c: Adding the missing variable setter in the
7048 set_property handler. Fixes NB#54182.
7050 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7052 * src/hildon-window.h: Changing the long key press time from 1500ms to
7053 800ms as requested in NB#63700. I have a bad feeling about this, let's
7054 see... Fixes NB#63700.
7056 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7058 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7059 hildon_time_picker_map, hildon_time_picker_realize,
7060 hildon_time_picker_style_set): Split the contents of map to more
7061 appropriate functions; set window decorations on realize and update
7062 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7064 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7069 * debian/changelog: Updating.
7071 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7073 * src/Makefile.am: fixed installation of the header files
7075 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7081 * debian/changelog: Updating.
7083 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7085 * configure.ac: Removing some remaining of --enable-xan.
7087 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7089 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7090 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7092 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7093 2.10.12-osso6 because the move-focus signal needs to be available in
7096 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7098 * examples/Makefile.am:
7099 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7100 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7101 fine. Prolly NB#61128 is fixed now.
7103 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7105 * src/hildon-volumebar.c:
7106 * src/hildon-volumebar.h: Adding the
7107 hildon_volumebar_set_range_insensitive_message and
7108 hildon_volumebar_set_range_insensitive_messagef functions to set
7109 insensitive message on the slider of the volumebar. Fixes NB#61129.
7111 * examples/Makefile.am:
7112 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7113 test the new insensitive messsage functionality on HildonVolumebar.
7115 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7117 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7120 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7122 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7123 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7124 button on after clearing the trail.
7126 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7128 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7130 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7132 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7133 by splitting the installed headers in generated and non-generated groups. Use
7134 only the non-generated headers to create the hildon-enum-types.h file.
7136 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7138 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7140 * src/hildon-window.c: Hide the window before performing the destroy.
7141 Should make the app closing a little tiny bit more snappy.
7143 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7145 * src/hildon-seekbar.c: add gtkrange.h header
7146 * src/hildon-caption.c: remove unused variable
7148 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7150 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7153 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7159 * debian/changelog: Updating.
7161 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7163 * src/hildon-window.c (hildon_window_window_state_event,
7164 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7165 escape timeout on focus-out-event rather than notify::is-topmost; the
7166 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7168 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7170 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7171 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7173 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7175 * src/hildon-window: actually, you need to use the macro always, there's
7176 no private pointer in the instance structure. We should have cleaned this up
7177 when we had the chance...
7179 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7181 * src/hildon-window.c: do not get the private date from HildonWindow before
7182 it passes the g_return_if_fail check. Once it's passed the test, there's no
7183 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7184 if you are only going to access the data once. Whitespace cleanups.
7186 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7188 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7189 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7191 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7197 * debian/changelog: Updating.
7199 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7201 * src/hildon-window.c: When destroying the window, remove (if exists) the
7202 escape timeout handler. Fixes #NB59276.
7204 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7206 * src/hildon-banner.c: When realizing the widget, set the window
7207 transiency. Setting the transiency in the gobject constructor is not
7208 good, as the widget is not realized at that point. Fixes: #NB56624.
7210 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7212 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7213 Add padding for future expansions.
7215 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7217 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7218 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7219 will fake an activation on the previous to the last item of the trail, so
7220 the effect can be overrided by the developer as usual.
7221 Also change the callback for the back button to do the same thing, so its
7222 effect can be overrided too. Fixes: NB#58982
7224 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7226 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7227 HildonCaption. Fixes NB#52379.
7229 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7231 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7232 the internal state of the trail after the user has had the chance of executing
7233 his handler for the signal. Specifically, it may happen that the activated button
7234 is removed and the user still lets the default handler run. This would segfault
7237 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7240 scrollbar to the preview dialog. Fixes NB#54147.
7242 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7244 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7245 max/min year properties can be altered, so the client can modify it
7246 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7248 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7250 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7251 hildonlike by default. Fixing a problem with disappearing arrows when
7252 scrolling through months and years. Fixes NB#54127.
7254 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7256 * examples/hildon-date-editor-example.c: Adding error callback to the date
7259 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7265 * configure.ac: Updating.
7267 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7269 * configure.ac: Adding a special '--enable-xan' configure option that
7270 turns off the -Werror compilation setting. Usefull for development.
7272 * src/hildon-calendar.c:
7273 * src/hildon-number-editor.c:
7274 * src/hildon-time-picker.c: Adding the 5* multiplier to
7277 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7279 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7280 instead of g_object_ref + gtk_object_sink.
7282 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7288 * debian/changelog: Updating.
7290 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7292 * src/hildon-color-chooser-dialog.c:
7293 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7294 straight from Tommi labs.
7296 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7298 * examples/hildon-finger-example.c: Correcting the header file path.
7300 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7301 the changed signal. Fixes a small memory leak.
7303 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * src/hildon-banner.c: Importing several usefull fixes from the
7308 ubuntu-mobile branch.
7310 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7312 * examples/Makefile.am:
7313 * examples/hildon-finger-example.c: Adding a finger-checking code
7316 * src/hildon-font-selection-dialog.c: Do not allocate the color
7317 structure using the g_new. Fixes NB#54061.
7319 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7321 * src/hildon-helper.c: Correcting tabs in file.
7323 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7325 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7326 control the visibility of the children.
7328 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7330 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7336 * debian/changelog: Updating.
7338 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7340 * src/hildon-bread-crumb-trail.c:
7341 (hildon_bread_crumb_trail_size_allocate):
7343 Make the back button always a square.
7345 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7347 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7348 from the .c file as it's a private file.
7350 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7352 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7353 uses slightly bigger height.
7355 * src/hildon-font-selection-dialog.c: Adding some checks before
7356 freeing memory in the font selection dialog.
7358 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7360 * src/hildon-font-selection-dialog.c: Adding a small check when
7363 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7364 buttons sensitivity on page switching.
7366 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7368 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7369 internal details of adding a bread crumb to the trail.
7371 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7377 * debian/changelog: Updating.
7379 * src/hildon-bread-crumb-trail.h:
7380 * src/hildon-bread-crumb.h: Changing the API guard to
7381 HILDON_ENABLE_UNSTABLE_API.
7383 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7391 * src/hildon-helper.h: Updating.
7393 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7401 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7405 * src/hildon-helper.h: Small fix to make the package actually compile.
7407 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7409 * src/hildon-bread-crumb-trail.h:
7410 * src/hildon-bread-crumb.h:
7412 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7413 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7415 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7417 * examples/hildon-bread-crumb-trail-example.c:
7419 * src/hildon-bread-crumb-trail.c:
7420 * src/hildon-bread-crumb-trail.h:
7421 * src/hildon-bread-crumb.c:
7422 * src/hildon-bread-crumb.h:
7423 * src/hildon-marshalers.list:
7424 * src/hildon-bread-crumb-widget.c:
7425 * src/hildon-bread-crumb-widget.h:
7427 Slight change in the widget design. The bread crumb trail API is
7428 unchanged, but HildonBreadCrumb is now an interface. A *private*
7429 implementation, hildon-bread-crumb-widget, is provided and used
7430 internally by the trail for the push_text/push_icon functions.
7432 The generic push API is still available, so anyone can implement
7433 and use its own bread crumb widget.
7435 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7437 * debian/rules: Fixing the shlibs.
7439 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7441 * src/hildon-banner.c: Fixing a problem with timed banners having
7442 their parrent destroyed before they are.
7444 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7446 * src/hildon-bread-crumb.c:
7447 * src/hildon-bread-crumb.h:
7449 Make the get_natural_size function a vfunc.
7451 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7453 * src/hildon-bread-crumb.c:
7454 * src/hildon-bread-crumb-trail.c:
7458 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7465 * debian/changelog: Updating for release.
7467 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7469 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7470 don't leak the pango layout.
7472 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7475 * examples/hildon-bread-crumb-trail-example.c:
7479 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7481 * debian/changelog: Removing the bug-fixed entries that were actually
7482 resolved as WONTFIX.
7484 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7487 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7489 * src/hildon-bread-crumb-trail.c:
7490 * src/hildon-bread-crumb-trail.h:
7491 * src/hildon-bread-crumb.c:
7492 * src/hildon-bread-crumb.h:
7496 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7498 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7499 until it's passed the type check.
7501 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7503 * examples/hildon-bread-crumb-trail-example.c
7507 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7509 * examples/Makefile.am
7510 * examples/hildon-bread-crumb-trail-example.c
7512 * src/hildon-bread-crumb-trail.c
7513 * src/hildon-bread-crumb-trail.h
7514 * src/hildon-bread-crumb.c
7515 * src/hildon-bread-crumb.h
7517 New HildonBreadCrumbTrail widget.
7519 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7521 * src/hildon-range-editor.c (hildon_range_editor_init),
7522 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7523 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7524 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7525 hildon_time_editor_class_init, hildon_time_editor_init),
7526 src/hildon-get-password-dialog.c (invalid_input,
7527 hildon_get_password_set_property, hildon_get_password_get_property,
7528 create_contents, hildon_get_password_dialog_set_max_characters),
7529 src/hildon-set-password-dialog.c (create_contents),
7530 src/hildon-date-editor.c (hildon_date_editor_init),
7531 src/hildon-login-dialog.c (hildon_login_dialog_init),
7532 src/hildon-number-editor.c (hildon_number_editor_init),
7533 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7534 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7535 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7536 configure option and adding the respective checks in the code.
7537 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7538 hildon_calendar_drag_data_received): fixed some build warnings.
7540 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7542 * debian/changelog: A 1.0.0 release notes.