1 2009-03-24 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable-area.c,
4 (hildon_pannable_area_realize): Fixed position of the event_window
7 2009-03-24 Alberto Garcia <agarcia@igalia.com>
9 * src/hildon-app-menu-private.h
10 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
11 (hildon_app_menu_map, hildon_app_menu_hide_idle)
12 (hildon_app_menu_key_press, hildon_app_menu_init)
13 (hildon_app_menu_finalize):
14 Make sure that all idle functions are removed when the widget is
17 Fixes: NB#107583 (Hildon app menu crashes in various applications)
19 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
24 * configure.ac: Bump version.
25 * debian/changelog: Updates.
27 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
30 (+hildon_entry_show_placeholder),
31 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
32 that replace hildon_entry_update_contents().
33 (hildon_entry_set_text),
34 (hildon_entry_set_placeholder),
35 (hildon_entry_focus_in_event),
36 (hildon_entry_focus_out_event): Determine when it is needed
37 either to show or hide the placeholder and call the above methods.
39 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
40 when the placeholder text is already set)
42 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
44 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
45 simple GdkPixbufAnim using the new icons for the banner.
46 (hildon_banner_show_animation): Use the above mentioned method to
47 create the animation widget.
49 Fixes: NB#103564 (Make hildon animation banner use individual
50 image files as the animation)
52 2009-03-24 Alejandro G. Castro <alex@igalia.com>
54 * src/hildon-pannable-area.c,
55 (hildon_pannable_leave_notify_event): Check if the child is NULL
56 to avoid sending the leave.
58 2009-03-24 Alejandro G. Castro <alex@igalia.com>
60 * src/hildon-pannable-area.c,
61 (hildon_pannable_area_class_init),
62 (hildon_pannable_leave_notify_event): Added a handler of the
63 leave-notify-signal to consider when no motion notify before
66 Fixes: NB#107494 (Items stay selected when clicking and moving
67 away when inside pannable area)
69 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
74 * configure.ac: Bump version.
75 * debian/changelog: Updates.
77 2009-03-19 Alejandro G. Castro <alex@igalia.com>
79 Patch by Alberto Garcia (agarcia@igalia.com)
81 * src/hildon-date-button.c,
82 (hildon_date_button_class_init),
83 (hildon_date_button_init): Removed the construct property handling
84 and created a default selector in the init method.
85 * src/hildon-picker-button.c,
86 (hildon_picker_button_class_init): Removed the construct flag of the
89 2009-03-18 Alberto Garcia <agarcia@igalia.com>
91 * src/hildon-main.c (hildon_init):
92 Don't allow hildon_init() to be called more than once.
94 Fixes: NB#106607 (hildon_init should issue error message upon
97 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
99 * examples/hildon-pannable-area-touch-list-example.c
100 * examples/hildon-pannagle-area-touch-grid-example.c
101 * examples/hildon-edit-toolbar-example.c
102 * examples/hildon-touch-selector-multi-cells-example.c
103 Removed the call to gtk_rc_parse_string, as it is not required since
106 2009-03-17 Alejandro G. Castro <alex@igalia.com>
108 * src/hildon-pannable-area.c,
109 (hildon_pannable_area_class_init): Modified the default panning
110 threshold of the widget to 6px.
112 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
113 than the threshold value ) within the button is not sending the
116 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
118 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
119 for the treeview in the new column. This way, the touch list will never
122 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
123 be selected manually for the HW keys to work)
125 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
127 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
128 comparison instead of using strcmp(). Fixes a compiler warning as well.
130 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
132 * doc/hildon-docs.sgml: Do not set the library version in the
133 document title, use the releaseinfo tag for that purpose instead.
135 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
137 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
138 Do not jump to the first item if the text in the entry is removed.
140 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
145 * configure.ac: Bump version.
146 * debian/changelog: Updates.
148 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
150 * src/hildon-entry.c (hildon_entry_refresh_contents):
151 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
152 Use "ReversedSecondaryTextColor" for the placeholder text.
154 2009-03-12 Alberto Garcia <agarcia@igalia.com>
156 * src/hildon-text-view.c: Fix compilation warning.
158 2009-03-12 Alberto Garcia <agarcia@igalia.com>
160 * src/hildon-button.c (hildon_button_class_init): Don't make
161 "title" and "value" construction properties, to prevent them from
162 overwriting labels set from derived classes.
164 * src/hildon-picker-button.c
165 (hildon_picker_button_set_selector): Allow setting a NULL selector.
166 (hildon_picker_button_class_init): Make touch-selector a
167 construction property.
169 * src/hildon-date-button.c (hildon_date_button_class_init)
170 (+hildon_date_button_constructed): Add a default date selector if
173 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
175 * src/hildon-touch-selector.c: Small documentation fixes.
177 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
179 Based on a patch by Daniel Borgmann (danielb@openismus.com)
181 * src/hildon-entry.c (hildon_entry_refresh_contents),
182 (hildon_entry_get_text), (hildon_entry_init): Do not use the
183 widget name, set the logical color directly instead and a boolean
184 showing_placeholder instead.
185 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
186 use the widget name here either.
188 Fixes: NB#105678 (HildonTextView should use logical colours
189 instead of setting widget name)
191 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
193 Patch by Daniel Elster (danielk@openismus.com)
195 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
196 Add user_data parameter.
197 (hildon_touch_selector_set_print_func_full): New function akin
198 hildon_touch_selector_set_print_func() but with support for user
199 data and a destroy callback.
200 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
201 to clean up the print function user data.
202 (hildon_touch_selector_class_init): Install dispose function.
203 (HildonTouchSelectorPrivate::print_user_data),
204 (HildonTouchSelectorPrivate::print_destroy_func): New private
206 (hildon_touch_selector_init): Initialize new private members.
207 (hildon_touch_selector_get_current_text): Pass along user data
208 to the print function.
209 (_default_print_func): Add dummy user_data to parameter list.
210 * hildon-date-selector.c (_custom_print_func): ditto,
211 * hildon-time-selector.c (_custom_print_func): ditto,
212 * hildon-touch-selector-entry.c
213 (hildon_touch_selector_entry_print_func): ditto.
215 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
217 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
219 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
221 2009-03-12 Alejandro G. Castro <alex@igalia.com>
223 * src/hildon-pannable-area.c,
224 (hildon_pannable_area_init),
225 (hildon_pannable_area_button_press_cb),
226 (hildon_pannable_area_motion_notify_cb): We have added code to
227 handle the leave and enter events when using the motion events.
229 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
231 2009-03-11 Alberto Garcia <agarcia@igalia.com>
233 * src/hildon-date-button.c (hildon_date_button_get_date)
234 (hildon_date_button_set_date): Make sure that the button has a
237 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
239 2009-03-11 Alejandro G. Castro <alex@igalia.com>
241 * src/hildon-pannable-area.c,
242 (hildon_pannable_area_class_init),
243 (hildon_pannable_area_calculate_velocity): Modify the use of the
244 force and adapt the value.
246 2009-03-10 Alberto Garcia <agarcia@igalia.com>
248 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
249 (hildon_app_menu_class_init): Hide the menu if it receives a
250 delete-event, but don't destroy it
252 Fixes: NB#104485 (Not able to address the call when application
253 menu is opened at background)
255 2009-03-10 Alberto Garcia <agarcia@igalia.com>
257 * src/hildon-app-menu.c
258 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
259 Remove the "external-border" style property, let the menu take its
260 natural size (or the one set by the window manager)
261 (hildon_app_menu_repack_items):
262 Don't reshow the menu, avoid flickers.
264 Partially fixes NB#94957 (Smoothly opened application menu)
266 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
271 * configure.ac: Bump version.
272 * debian/changelog: Updates.
274 2009-03-10 Alejandro G. Castro <alex@igalia.com>
276 * src/hildon-pannable-area.c,
277 (hildon_pannable_area_motion_notify_cb): We control that the
278 direction error margin is used just in case the movement is
279 allowed in the other direction.
281 Fixes: NB#105012 (buttons inside a pannable area not getting
282 release event when dragging/releasing)
284 2009-03-10 Alejandro G. Castro <alex@igalia.com>
286 * src/hildon-pannable-area.c,
287 (hildon_pannable_area_class_init),
288 (hildon_pannable_area_get_property),
289 (hildon_pannable_area_set_property),
290 (hildon_pannable_area_initial_effect),
291 (hildon_pannable_axis_scroll),
292 (hildon_pannable_area_button_release_cb): Reviewed the
293 overshooting effect, now it has its own max
294 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
297 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
302 * configure.ac: Bump version.
303 * debian/changelog: Updates.
305 2009-03-09 Alejandro G. Castro <alex@igalia.com>
307 * src/hildon-pannable-area.c,
308 (hildon_pannable_area_class_init): Changed the max speed, now
309 users can launch the widget very fast. Reduced the default force,
310 that way it is easier to control the launch speed.
312 2009-03-09 Alejandro G. Castro <alex@igalia.com>
314 * src/hildon-pannable-area.c,
315 (hildon_pannable_area_button_release_cb): Removed this check
316 because it causes problems when the device is overloaded.
318 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
320 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
321 add a current_text field to store the text entered in the
322 touch selector entry.
323 (_clean_current_selection): clean up the current text as well.
324 (_save_current_selection), (_restore_current_selection):
325 Save/restore the text in the entry if the selector is a
326 HildonTouchSelectorEntry.
328 Fixes: NB#102541 (value entered in the touch selector entry is not
329 shown when opened for second time)
331 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
333 * doc/hildon-sections.txt:
334 * src/hildon-touch-selector-entry.c
335 (+hildon_touch_selector_entry_get_entry):
336 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
338 Fixes: NB#104815 (I need accessor to the entry inside
339 HildonTouchSelectorEntry)
341 2009-03-06 Alberto Garcia <agarcia@igalia.com>
343 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
344 (hildon_app_menu_class_init):
345 New "filter-vertical-spacing" style property.
347 2009-03-06 Alberto Garcia <agarcia@igalia.com>
349 * src/hildon-find-toolbar.c
350 (hildon_find_toolbar_emit_close)
351 (hildon_find_toolbar_emit_invalid_input)
352 (hildon_find_toolbar_entry_activate):
353 Use g_signal_emit() instead of g_signal_emit_by_name()
355 2009-03-06 Alberto Garcia <agarcia@igalia.com>
357 Patch by Mox Soini (ext-mox.soini@nokia.com)
359 * tests/TEST-CASES.txt
360 * tests/check-hildon-banner.c
361 * tests/check-hildon-note.c
362 * src/hildon-banner.c
363 * src/hildon-code-dialog.c
364 * src/hildon-date-editor.c (real_set_calendar_icon_state)
365 * src/hildon-time-editor.c
366 * examples/hildon-lookup-example.c (main):
367 Replace obsolete icon names with new ones.
369 * src/hildon-find-toolbar-private.h:
370 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
371 (-hildon_find_toolbar_emit_search):
372 Remove find button and change icon of close button.
374 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
376 2009-03-05 Alberto Garcia <agarcia@igalia.com>
378 * src/hildon-time-button.c (hildon_time_button_new_step):
379 Use the "touch-selector" property to set the selector directly
380 when creating the object.
382 2009-03-05 Alejandro G. Castro <alex@igalia.com>
384 Added a new example application that allows tuning the pannable
385 area and replaced defines with properties in order to simplify the
386 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
387 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
388 PROP_DIRECTION_ERROR_MARGIN.
390 * examples/hildon-pannable-area-tuning-example.c: New example
392 * src/hildon-pannable-area.c,
393 (hildon_pannable_area_class_init),
394 (hildon_pannable_area_init),
395 (hildon_pannable_area_get_property),
396 (hildon_pannable_area_set_property),
397 (hildon_pannable_area_launch_fade_timeout),
398 (hildon_pannable_area_adjust_value_changed),
399 (hildon_pannable_axis_scroll),
400 (hildon_pannable_area_motion_notify_cb),
401 (hildon_pannable_area_scroll_cb),
402 (hildon_pannable_area_button_release_cb): We have converted some
403 of the defines that control the widget to properties to simplify
406 2009-03-05 Alberto Garcia <agarcia@igalia.com>
408 * src/hildon-app-menu.c (hildon_app_menu_map)
409 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
410 so it's closed if a new window appears.
412 Fixes: NB#104485 (Not able to address the call when application
413 menu is opened at background)
415 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
417 * src/hildon-color-button.c (hildon_color_button_get_property):Add
418 missing 'break' statement in in 'case' construct to avoid
421 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
423 * src/hildon-touch-selector-entry.c
424 (hildon_touch_selector_entry_get_property),
425 (hildon_touch_selector_entry_set_property): Add missing 'break'
426 statements in in 'case' constructs to avoid incorrect warnings.
428 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
430 * src/hildon-time-editor.c
431 (hildon_time_editor_get_time_separators): Do not crash if
432 the first label is NULL.
434 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
436 * src/hildon-date-selector.c (_month_days): Check for month to be
437 strictly less than 12, since otherwise we may overrun the array.
439 2009-03-04 Alberto Garcia <agarcia@igalia.com>
441 * src/hildon-date-button.c (+hildon_date_button_new_full)
442 (hildon_date_button_new, hildon_date_button_new_with_year_range)
443 (hildon_date_button_init): Set the date selector using a
444 construction property, to make it happen after HildonButton's
445 "value" property is set.
447 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
448 current date by default)
450 2009-03-04 Alberto Garcia <agarcia@igalia.com>
452 * doc/hildon-sections.txt
453 * src/hildon-program.c
454 * src/hildon-stackable-window.c
455 * src/hildon-window.c:
456 Documentation updates
458 2009-03-04 Alberto Garcia <agarcia@igalia.com>
460 * src/hildon-window-stack.c (hildon_window_stack_get_default)
461 (hildon_window_stack_new, +hildon_window_stack_set_property)
462 (+hildon_window_stack_get_property)
463 (hildon_window_stack_class_init)
464 (+hildon_window_stack_set_window_group)
465 (+hildon_window_stack_get_window_group):
466 Make the window group a construction property.
468 2009-03-04 Alberto Garcia <agarcia@igalia.com>
470 * doc/hildon-sections.txt
471 * src/hildon-stackable-window-private.h
472 * src/hildon-stackable-window.h
473 * src/hildon-stackable-window.c
474 (-hildon_stackable_window_set_app_menu)
475 (-hildon_stackable_window_get_app_menu)
476 (-hildon_stackable_window_toggle_menu)
477 (-hildon_stackable_window_finalize)
478 (hildon_stackable_window_class_init)
479 (hildon_stackable_window_init)
480 * src/hildon-window-private.h
481 * src/hildon-window.h
482 * src/hildon-window.c (hildon_window_init)
483 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
484 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
485 (hildon_window_get_main_menu, hildon_window_set_main_menu)
486 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
487 Moved all HildonAppMenu code to HildonWindow. The menu does not
488 require a HildonStackableWindow anymore.
490 * src/hildon-app-menu.c
491 * src/hildon-program.c
492 * examples/hildon-app-menu-example.c (main):
493 Update examples and documentation to reflect HildonAppMenu
496 2009-03-04 Alberto Garcia <agarcia@igalia.com>
498 * src/hildon-remote-texture.c
499 * src/hildon-animation-actor.c:
500 Don't include unused private headers.
502 2009-03-04 Alberto Garcia <agarcia@igalia.com>
504 * src/hildon-program-private.h
505 * src/hildon-program.c
506 (hildon_program_set_common_menu)
507 (hildon_program_get_common_menu)
508 (hildon_program_set_common_app_menu)
509 (hildon_program_get_common_app_menu):
510 Change common menu pointers from GtkWidget* to GtkMenu* and
511 HildonAppMenu* to avoid unnecessary casts.
513 2009-03-03 Alberto Garcia <agarcia@igalia.com>
515 * src/hildon-window.c (hildon_window_set_main_menu):
516 Removed incorrect 'Since:' tag
518 2009-03-03 Alejandro G. Castro <alex@igalia.com>
520 * src/hildon-pannable-area.c,
521 (hildon_pannable_area_calculate_velocity): We use now the
522 RATIO_TOLERANCE here to check the distance, fixed typo in the
524 (hildon_pannable_area_motion_notify_cb): We have to set the type
525 and time even if we are not sending the motion.
527 2009-03-02 Alberto Garcia <agarcia@igalia.com>
529 * doc/hildon-sections.txt
530 * src/hildon-app-menu.h
531 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
532 (+hildon_app_menu_get_filters): New methods to get the contents of
535 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
538 2009-03-02 Alberto Garcia <agarcia@igalia.com>
540 * src/hildon-app-menu.c (hildon_app_menu_popup):
543 2009-03-02 Alberto Garcia <agarcia@igalia.com>
545 * src/hildon-window.h
546 * src/hildon-window.c (+hildon_window_get_main_menu)
547 (hildon_window_get_menu): Created hildon_window_get_main_menu()
548 and deprecated hildon_window_get_menu().
550 * src/hildon-stackable-window.h
551 * src/hildon-stackable-window.c
552 (+hildon_stackable_window_set_app_menu)
553 (+hildon_stackable_window_get_app_menu)
554 (hildon_stackable_window_set_main_menu): Created
555 hildon_stackable_window_{get,set}_app_menu() and deprecated
556 hildon_stackable_window_set_main_menu().
558 * doc/hildon-sections.txt
559 * examples/hildon-app-menu-example.c (main)
560 * src/hildon-app-menu.c
561 * src/hildon-program.c:
562 Updated examples and documentation.
564 Fixes: NB#103758 (No way to obtain a menu from a
565 HildonStackableWindow)
567 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
572 * configure.ac: Bump version.
573 * debian/changelog: Updates.
575 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
577 * examples/hildon-remote-texture-example.c: Include
578 hildon-remote-texture.h explicitely.
579 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
580 applications not defining _XOPEN_SOURCE which don't require this header.
582 2009-02-27 Alberto Garcia <agarcia@igalia.com>
584 * doc/hildon-sections.txt
585 * src/hildon-app-menu.h
586 * src/hildon-app-menu.c (+hildon_app_menu_popup):
587 New function to pop up a HildonAppMenu
589 * src/hildon-stackable-window.c
590 (hildon_stackable_window_toggle_menu):
591 Use hildon_app_menu_popup() to show the menu.
593 2009-02-27 Alberto Garcia <agarcia@igalia.com>
595 * src/hildon-app-menu.c (hildon_app_menu_show)
596 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
597 menu if there's another window between it and its parent window.
599 Fixes: NB#100468 (Application menu window is launched even when a
600 new secondary-window/dialog is pending to be shown/realized)
602 2009-02-27 Alberto Garcia <agarcia@igalia.com>
604 * src/hildon-window-stack.c (hildon_window_stack_push)
605 (hildon_window_stack_pop_and_push):
606 Don't forget to push/pop the first window.
607 Reverse the window list before calling _push_list()
609 2009-02-27 Alberto Garcia <agarcia@igalia.com>
611 * src/hildon-picker-button.h
612 * src/hildon-picker-button.c (hildon_picker_button_class_init):
613 Remove "value_changed" slot to avoid ABI breakage
615 2009-02-26 Alejandro G. Castro <alex@igalia.com>
617 * src/hildon-pannable-area.c,
618 (hildon_pannable_area_realize),
619 (hildon_pannable_area_unrealize),
620 (hildon_pannable_draw_vscroll),
621 (hildon_pannable_draw_hscroll): Changed the method to handle the
622 GC used to draw the transparent scrollbar, this way we avoid
623 creating the GC all the time when drawing the scrollbars.
625 2009-02-26 Alejandro G. Castro <alex@igalia.com>
627 * src/hildon-pannable-area.c,
628 (hildon_pannable_area_init),
629 (hildon_pannable_area_remove): Removed some unnecessary casts.
630 (hildon_pannable_area_dispose): Disconnected some signals before
631 releasing the adjustments.
633 2009-02-26 Alberto Garcia <agarcia@igalia.com>
635 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
636 Make sure that all widgets contained in the toolbar are shown.
638 2009-02-25 Alberto Garcia <agarcia@igalia.com>
640 * doc/hildon-sections.txt
641 * src/hildon-picker-button.h
642 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
643 (_selection_changed, hildon_picker_button_on_dialog_response)
644 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
645 New hildon_picker_button_value_changed() method.
648 * src/hildon-picker-button-private.h
649 * src/hildon-picker-button.c (hildon_picker_button_init)
650 (+hildon_picker_button_disable_value_changed): Add protected
651 function for disabling the "value-changed" signal.
653 * src/hildon-date-button.c (hildon_date_button_set_date):
654 Don't emit "value-changed" for each one of the three columns.
656 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
657 before actual change of values)
659 2009-02-24 Alejandro G. Castro <alex@igalia.com>
661 * src/hildon-pannable-area.c,
662 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
663 for the treeview overshooting.
665 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
667 * src/hildon-banner.c (+hildon_banner_bind_style):
668 Renamed from hildon_banner_bind_label_style(), now naming the
669 banner itself as well.
670 (hildon_banner_show_information),
671 (hildon_banner_show_information_with_markup),
672 (hildon_banner_show_animation), (hildon_banner_show_progress):
673 Name the widgets and labels, based on their type.
675 See NB#98597 (Hildon Note and Hildon Banner should use themeable
678 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
680 * src/hildon-note.c (hildon_note_set_property): call
681 hildon_note_rename() on HildonNote:note-type set.
682 (hildon_note_rename): Name the note and its label, based on the
683 HildonNote:note-type property.
685 See NB#98597 (Hildon Note and Hildon Banner should use themeable
688 2009-02-24 Alejandro G. Castro <alex@igalia.com>
690 * src/hildon-pannable-area.c,
691 (hildon_pannable_area_class_init),
692 (hildon_pannable_area_motion_notify_cb): Reviewed the default
693 panning parameters, increased SPS and deceleration factor. Added
694 also a margin to control fake directions.
696 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
698 Patch by Sven Herzberg (sven@imendio.com)
700 * configure.ac: Add missing AM_PROG_CC_C_0
701 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
703 See NB#101420 (Update unit tests and fix make check)
705 2009-02-23 Alejandro G. Castro <alex@igalia.com>
707 This patch was applied before but reverted because it caused
708 problems, we have changed the main condition and tested the
709 regressions we detected before and they work ok. We have done a
710 complete review of the topmost algorithm in order to get a more
713 * src/hildon-pannable-area.c,
714 (hildon_pannable_area_get_topmost): Added a new parameter to
715 filter the the windows that do not include those events.
716 (hildon_pannable_area_button_press_cb),
717 (hildon_pannable_area_button_release_cb),
718 (hildon_pannable_get_child_widget_at): Reviewed the call the the
719 topmost function, we have added the new parameter.
721 Fixes: NB#97458 (Pannable area prevents propagation of button
724 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
726 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
727 if all columns in the selector have an item selected.
728 (_on_dialog_response): Stop "response" signal emission if there is
729 any selector column without selected items.
731 Fixes: NB#101889 (Picker dialog should not close when nothing is
732 selected in multiple selection list)
734 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
736 * src/hildon-font-selection-dialog.c
737 (hildon_font_selection_dialog_class_init),
738 (hildon_font_selection_dialog_init): Remove the preview
739 button and dialog, since previewing with default theming is likely
740 to be overcomplicated. The :preview property has now no effect.
741 Update documentation blurbs to inform about this.
743 Fixes: NB#92297 (Preview content is not clearly visible for
746 2009-02-20 Alejandro G. Castro <alex@igalia.com>
748 Reviewed the geometry that handles the children size and
749 scrollbar, now it tries a size and reviews the results depending
750 on the scrollbars visibility.
752 * src/hildon-pannable-area.c,
753 (hildon_pannable_area_realize): Fixed a typo.
754 (hildon_pannable_area_child_allocate_calculate): Added this
755 function to calculate the child allocation.
756 (hildon_pannable_area_size_allocate): Reviewed the allocation
758 (hildon_pannable_area_check_scrollbars),
759 (hildon_pannable_area_refresh): Refactored refresh function, this
760 way we can call the code handling the scrollbars without causing a
761 size_request, it is interesting in the allocate.
762 (hildon_pannable_area_init): Replace the callbacks of the
763 value_changed and changed signals to propertly deal with the
765 (hildon_pannable_area_grab_notify),
766 (hildon_pannable_area_initial_effect),
767 (hildon_pannable_area_launch_fade_timeout),
768 (hildon_pannable_area_adjust_changed),
769 (hildon_pannable_area_adjust_value_changed),
770 (hildon_pannable_area_redraw),
771 (hildon_pannable_area_button_press_cb),
772 (hildon_pannable_area_button_release_cb),
773 (hildon_pannable_area_scroll_cb),
774 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
775 code and use the new functions adjust_changed and
776 adjust_value_changed.
778 Fixes: NB#101603 (Focus is not even for the text entry boxes in
779 Contact editor dialog)
781 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
786 * configure.ac: Bump version.
787 * debian/changelog: Updates.
789 2009-02-20 Alejandro G. Castro <alex@igalia.com>
791 * src/hildon-pannable-area.c,
792 (hildon_pannable_area_get_topmost),
793 (hildon_pannable_area_button_press_cb),
794 (hildon_pannable_area_button_release_cb),
795 (hildon_pannable_get_child_widget_at): Reverted the patch for the
796 topmost function adding the event mask. We have to try a
797 differente approach because it is still causing problems (NB#9745,
800 2009-02-19 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-banner.c:
803 Update the maximum width of timed banners.
804 (force_to_wrap_truncated): Enforce the maximum text width if the
807 Fixes: NB#102413 (The text margins (wrapping) in information
808 banner should be HILDON_MARGIN_TRIPLE)
810 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
812 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
814 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
815 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
816 bound when calculating the scroll indicator position.
818 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
819 treat ->lower correctly)
821 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
823 * src/hildon-caption.c (hildon_caption_class_init): Remove the
824 expose event handling, since it is not necessary to draw the focus
827 Fixes: NB#102467 (Do not show highlight on the text in
830 2009-02-18 Alberto Garcia <agarcia@igalia.com>
832 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
833 full height of the toolbar for the button and the label.
835 2009-02-18 Alberto Garcia <agarcia@igalia.com>
837 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
838 padding before the label and after the button.
840 2009-02-18 Alberto Garcia <agarcia@igalia.com>
842 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
844 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
845 Add a GtkVSeparator between the button and the back arrow.
846 Let the button have automatic size.
847 Set a name to the widget for theming handling.
849 Fixes: NB#101793 (Make edit toolbar the same height as window
850 title bar (use title area theming))
852 2009-02-18 Alberto Garcia <agarcia@igalia.com>
854 * src/hildon-helper.c (attach_new_color_element): Fix memory
857 Fixes: NB#102262 (memory leak in hildon_button_set_style())
859 2009-02-18 Alberto Garcia <agarcia@igalia.com>
861 * examples/hildon-button-example.c (common_buttons_window): Don't
864 2009-02-18 Alberto Garcia <agarcia@igalia.com>
866 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
867 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
869 2009-02-18 Alberto Garcia <agarcia@igalia.com>
871 * src/hildon-gtk.c: Check that the window is realized.
873 Fixes: NB#102225 (Crash setting the progress indicator to a non
876 2009-02-17 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
879 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
880 instead of modifying the one in the widget style.
882 Fixes: NB#101043 (Second row of all the command button are
883 displayed in transparent mode.)
885 2009-02-17 Alberto Garcia <agarcia@igalia.com>
887 * src/hildon-date-button.c
888 * src/hildon-time-button.c: Add gettext macros
890 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
892 * src/hildon-date-button.c (hildon_date_button_new):
893 * src/hildon-time-button.c (hildon_time_button_new_step):
894 Use new logical strings to set the button default title.
896 Fixes: NB#99915 (Date and Time options are not localised in Date
899 2009-02-16 Alejandro G. Castro <alex@igalia.com>
901 * src/hildon-pannable-area.c
902 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
903 the PANNING_THRESHOLD.
905 2009-02-16 Alejandro G. Castro <alex@igalia.com>
907 * src/hildon-pannable-area.c,
908 (hildon_pannable_area_class_init): Increased the maximum speed.
909 (hildon_pannable_area_get_property),
910 (hildon_pannable_area_set_property),
911 (hildon_pannable_area_timeout): Added a new low friction mode, it
912 allows the user avoid friction when launching the widget fast
913 enough. It is interesting to traverse long lists.
915 2009-02-16 Alberto Garcia <agarcia@igalia.com>
917 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
918 (+hildon_stackable_window_delete_event): Ignore delete events if
919 the window is not the topmost one.
921 Fixes: NB#101698 (Back button long press and delete-event handling)
923 2009-02-16 Alejandro G. Castro <alex@igalia.com>
925 * src/hildon-pannable-area.c,
926 (hildon_pannable_area_motion_notify_cb): Removed the use of the
927 gtk-dnd-drag-threshold, it was too big. We have defined our own
928 dnd define and set a smaller value: PANNIG_THRESHOLD.
930 2009-02-16 Alberto Garcia <agarcia@igalia.com>
932 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
933 user-defined icons, use always the default one.
935 Fixes: NB#101916 (Do not allow custom icons on animation banner)
937 2009-02-13 Alejandro G. Castro <alex@igalia.com>
939 This patch was applied before but reverted because it caused
940 problems, we have changed the main condition and tested the
941 regressions we detected before and they work ok.
943 * src/hildon-pannable-area.c,
944 (hildon_pannable_area_get_topmost): Added a new parameter to
945 filter the the windows that do not include those events. Added
946 also a condition when finding the window to filter windows that do
947 not ask for those events.
948 (hildon_pannable_area_button_press_cb),
949 (hildon_pannable_area_button_release_cb),
950 (hildon_pannable_get_child_widget_at): Reviewed the call the the
951 topmost function, we have added the new parameter.
953 Fixes: NB#97458 (Pannable area prevents propagation of button
956 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
958 * tests/check-hildon-color-button.c (START_TEST): do not leak
961 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
963 * src/hildon-font-selection-dialog.c
964 (hildon_font_selection_dialog_get_preview_text): Return NULL
965 instead of FALSE on the g_return_val_if_fail().
967 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
969 * src/hildon-time-selector.c (hildon_time_selector_set_time):
970 * src/hildon-date-selector.c
971 (hildon_date_selector_select_current_date):
972 Do not compare unsigned integers to be greater than or equal 0,
973 because it's always TRUE.
975 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
977 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
978 (hildon_date_selector_constructor): Do not select the current
979 date until we are handle the "changed" signal, to avoid having bogus
980 elements in the days model.
982 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
984 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
985 for num_days, since _month_days() can return a negative value.
987 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
989 * src/hildon-caption.c (hildon_caption_size_allocate):
990 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
991 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
993 Initialize allocation variables to 0, to avoid eventually using
994 unitialized variables.
996 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
998 * src/hildon-bread-crumb-trail.c
999 (hildon_bread_crumb_trail_size_allocate):
1000 * src/hildon-calendar.c (hildon_calendar_set_background):
1001 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1002 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1003 * src/hildon-seekbar.c (hildon_seekbar_init):
1004 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1005 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1006 * src/hildon-touch-selector-entry.c
1007 (hildon_touch_selector_get_text_from_model):
1008 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1009 * src/hildon-window.c (hildon_window_finalize):
1011 Remove many unused variables.
1013 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1015 * src/hildon-seekbar.c: (hildon_seekbar_init),
1016 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1018 Remove unnecessary g_assert() calls.
1020 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1022 * src/hildon-caption.c: (hildon_caption_expose),
1023 (hildon_caption_set_property), (hildon_caption_init),
1024 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1025 (hildon_caption_size_request), (hildon_caption_size_allocate),
1026 (hildon_caption_forall), (hildon_caption_set_separator),
1027 (hildon_caption_activate), (hildon_caption_set_child_expand),
1028 (hildon_caption_set_label_text),
1029 (hildon_caption_get_label_alignment):
1031 Remove unnecessary g_assert() calls.
1033 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1035 * src/hildon-banner.c
1036 (hildon_banner_map, hildon_banner_init): Make banner temporary
1037 before mapping it to avoid closing other temporary windows, but
1038 make it non-temporary afterwards to avoid being closed by other
1039 non-temporary windows.
1040 (-hildon_banner_client_event, hildon_banner_init):
1041 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1043 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1046 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1048 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1051 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1053 * src/hildon-remote-texture.c
1054 * src/hildon-remote-texture.h
1055 * src/hildon-remote-texture-private.h
1056 * examples/hildon-remote-texture-example.c:
1057 Updates/fixes to remote-texture and its example.
1059 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1061 Patch by Mox Soini (ext-mox.soini@nokia.com)
1063 * src/hildon-code-dialog.c: Update logical id.
1064 * src/hildon-set-password-dialog.c: Update logical id.
1066 Fixes: NB#100646 (Logical strings is shown for ok in set
1067 password,Password needed dialogs)
1069 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1072 * src/hildon-remote-texture.c
1073 * src/hildon-remote-texture.h
1074 * src/hildon-remote-texture-private.h
1076 Added remote texture widget (for Clutter shared memory textures)
1078 * examples/hildon-remote-texture-example.c
1079 * examples/Makefile.am
1080 Added example file for remote texture usage
1082 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1084 * configure.ac: post release version bump.
1085 * debian/changelog: version bump.
1087 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1092 * configure.ac: Bump version.
1093 * debian/changelog: Updates.
1095 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1097 * src/hildon-date-selector.c (hildon_date_selector_init)
1098 (hildon_date_selector_constructor): Don't connect to the "changed"
1099 signal until the selector is completely constructed.
1101 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1103 * src/hildon-touch-selector.c: (_create_new_column),
1104 (hildon_touch_selector_append_column),
1105 (hildon_touch_selector_set_column_selection_mode),
1106 (hildon_touch_selector_set_active),
1107 (hildon_touch_selector_select_iter):
1108 Emit the HildonTouchSelector::changed signal every time selection
1109 is changed in any of the methods above. This behavior was already
1110 documented but not fully functional.
1112 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1113 selection is programmatically changed)
1115 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1117 * doc/hildon-sections.txt: Remove obsolete icon
1118 sizes from here as well.
1120 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1122 * examples/hildon-stackable-window-example.c (add_window): Remove
1125 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-app-menu.c
1128 (hildon_app_menu_show): Check whether the parent window of a menu
1129 is topmost before popping it up.
1131 Fixes: NB#100468 (Application menu window is launched even when a
1132 new secondary-window/dialog is pending to be shown/realized.)
1134 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1136 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1139 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1141 Patch by Mox Soini (ext-mox.soini@nokia.com)
1143 * src/hildon-banner.c: (hildon_banner_show_animation):
1144 use stylus size instead of obsolete note size.
1145 * src/hildon-defines.h: Update icon sizes.
1147 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1149 * src/hildon-touch-selector-entry.c:
1150 (hildon_touch_selector_entry_init): Disable unsupported
1152 (hildon_touch_selector_entry_get_text_column): Emit a warning
1153 if an unsupported input modes is used and explicitile state
1154 these modes in the documentation.
1156 Fixes: NB#99802 (Hildon touch selector entry not working properly
1157 for some of the input modes)
1159 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1161 * src/hildon-pannable-area.c,
1162 (hildon_pannable_area_init): Added the changed signal handlers of
1165 Fixes: NB#100320 (HildonPannableArea does not listen to
1166 GtkAdjustment "change" signals)
1168 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1170 * doc/hildon-sections.txt
1171 * src/hildon-window-private.h
1172 * src/hildon-window.h
1173 * src/hildon-window.c (hildon_window_init)
1174 (hildon_window_realize, hildon_window_unrealize)
1175 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1176 (hildon_window_size_request, hildon_window_size_allocate)
1177 (hildon_window_forall, hildon_window_show_all)
1178 (hildon_window_destroy, +paint_edit_toolbar)
1179 (+hildon_window_set_edit_toolbar):
1180 New hildon_window_set_edit_toolbar() method, to add a
1181 HildonEditToolbar to a window without having to pack it manually.
1183 Reorganize hildon_window_size_allocate()
1185 * src/hildon-edit-toolbar.c: Update documentation.
1187 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1188 example to use the new API.
1190 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1192 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1194 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1195 Remove from stack before calling parent's hide.
1197 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1199 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1200 window is removed from the middle of the stack, update the
1201 transiency of the previous one.
1203 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1206 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1208 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1209 block/unblock the signal handler if it's not actually being used.
1210 Fixes some critical warnings.
1212 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1214 Based on a patch by Iván Gómez (igomez@igalia.com)
1216 * src/hildon-banner.c
1220 * src/hildon-pannable-area.c
1221 * src/hildon-picker-dialog.c
1222 * src/hildon-wizard-dialog.h
1223 * src/hildon-wizard-dialog.c: Documentation updates.
1225 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1226 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1228 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1230 * configure.ac: post release version bump.
1231 * debian/changelog: version bump.
1233 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1238 * configure.ac: Bump version.
1239 * debian/changelog: Updates.
1241 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1243 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1244 a stock icon nor change the relief of the back arrow.
1246 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1247 graphics from theme)
1249 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-button.c (hildon_button_set_alignment): Use
1252 priv->alignment if the button has no child yet.
1254 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1256 * src/hildon-button.c: (hildon_button_init): Set the
1257 button style during initialization to give it the proper
1260 Fixes: NB#99713 (HildonButton value label color is wrong)
1262 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1264 * src/hildon-touch-selector.c: Document
1265 hildon_touch_selector_center_on_selected()
1267 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1269 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1270 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1271 all menu items, but not the menu itself.
1272 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1273 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1274 items after adding them to the menu so keyboard accelerators work.
1275 (hildon_app_menu_show): Don't show the menu if it contains items
1276 but none of them are visible.
1278 * examples/hildon-app-menu-example.c (create_menu): Use
1279 gtk_widget_show_all() to show all menu items.
1281 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1283 * src/hildon-picker-dialog.c:
1284 (-_update_title_on_selector_changed_cb),
1285 (-_dialog_update_title): Removed.
1286 (_select_on_selector_changed_cb), (_on_dialog_response),
1287 (on_selector_columns_changed): Do not update the dialog title.
1288 (setup_interaction_mode): Do not connect to
1289 HildonTouchSelector::changed signal if there's a "done" button, as
1290 the dialog title doesn't need to be updated.
1292 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1295 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1297 Patch by Kristian Rietveld (kris@imendio.com)
1299 * src/hildon-touch-selector.c: (_create_new_column): Use new
1300 GtkTreeView::hildon-row-tapped signal to react to user interactions
1301 instead of ::changed.
1303 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1304 with some dynamic tree model)
1306 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1308 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1309 (+screen_size_changed, +label_size_request)
1310 (hildon_note_class_init): Make the Hildon information note have a
1311 minimum height, and make its text hvae a maximum width.
1313 Fixes: NB#98614 (Hildon information note (background) should have
1314 minimum height and maximum text width)
1316 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1318 * src/hildon-banner.h
1319 * src/hildon-banner.c (hildon_banner_show_information)
1320 (hildon_banner_show_informationf)
1321 (hildon_banner_show_information_with_markup): Update documentation
1322 to reflect that the icon_name parameter is not used anymore.
1323 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1324 Remove all code from these functions and mark them as deprecated.
1325 (hildon_banner_show_progress): Mark as deprecated.
1327 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1329 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1331 * src/hildon-pannable-area.c,
1332 (hildon_pannable_area_class_init),
1333 (tranparency_color),
1334 (hildon_pannable_draw_vscroll),
1335 (hildon_pannable_draw_hscroll),
1336 (hildon_pannable_area_expose_event): Added a new way to render the
1337 scrollbars of the pannable area avoiding using cairo at all. This
1338 way we improve the performance of the pannable area rendering. The
1339 cairo rendering procedure is still in the code, we can control
1340 which one to use changing the value of the define
1341 USE_CAIRO_SCROLLBARS.
1343 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1345 * configure.ac: post release version bump.
1346 * debian/changelog: version bump.
1348 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1353 * configure.ac: Bump version.
1354 * debian/changelog: Updates.
1356 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1358 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1359 banners instead of destroying them when they receive a button
1362 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1364 Reverted commit 34028, it was causing regressions, probably the
1365 topmost condition is not correct, we have to check it in more
1366 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1367 propagation of button press events)
1369 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1371 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1372 that the selection is not empty before attempting to retrieve the
1373 current ampm selection.
1375 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-picker-button.c:
1378 (hildon_picker_button_on_dialog_response): Directly update the
1379 button contents when required instead of calling _selection_changed.
1381 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1383 * src/hildon-program.c (hildon_program_update_top_most): Update
1384 'is-topmost' property also when wm_hints is not set.
1386 Fixes: NB#98383 (is-topmost signal is not emitted when task
1387 switcher is clicked.)
1389 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1391 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1395 * src/hildon-animation-actor.c,
1396 * src/hildon-animation-actor.h: Added the animation actor class,
1397 this widget represents an animation actor for WM-assisted
1398 animation effects in the Hildon framework.
1400 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-window-stack-private.h
1403 * src/hildon-window-stack.c
1404 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1405 Avoid calling gtk_widget_show() again indirectly from
1406 hildon_stackable_window_show()
1408 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1413 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1415 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1416 (hildon_time_selector_init): Move the construction of the hours and
1417 ampm columns to the constructor to preserve the order the columns
1420 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1422 * src/hildon-picker-dialog.c:
1423 (hildon_picker_dialog_class_init): Connect a realize method.
1424 (+hildon_picker_dialog_realize): Setup the interaction mode here
1426 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1427 yet, do it during the realize instead.
1428 (_on_dialog_response):
1429 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1430 if the widget is not realized, to avoid the dialog response before it
1433 Avoid premature responses in the HildonPickerDialog that can cause it
1434 to be hidden before it's even shown.
1436 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1438 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1439 (on_selector_columns_changed), (requires_done_button),
1440 (+prepare_action_area), (setup_interaction_mode),
1441 (_hildon_picker_dialog_set_selector):
1443 Split the interaction mode setup into preparation of the
1444 action area (prepare_action_area()) and the connection of
1445 the signals in setup_interaction_mode() and update the code to
1448 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1450 * src/hildon-pannable-area.c,
1451 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1452 per second to 15, we will check if this is ok regarding
1455 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1457 * src/hildon-pannable-area.c,
1458 (hildon_pannable_axis_scroll): Avoid resize if we already have
1459 reached overshoot_max.
1461 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1463 * src/hildon-pannable-area.c,
1464 (hildon_pannable_area_init),
1465 (hildon_pannable_area_realize),
1466 (hildon_pannable_area_size_allocate),
1467 (hildon_pannable_area_map),
1468 (hildon_pannable_area_unmap),
1469 (hildon_pannable_draw_vscroll),
1470 (hildon_pannable_draw_hscroll),
1471 (hildon_pannable_area_expose_event),
1472 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1473 pannable are to avoid the expose events go to the window and
1474 redraw the window. We save this way that part of the stack and the
1475 paint_boxes. We had to change the positions of the elements when
1478 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1480 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1481 * src/hildon-color-chooser-dialog.c:
1482 (hildon_color_chooser_dialog_init):
1483 * src/hildon-font-selection-dialog.c:
1484 (hildon_font_selection_dialog_init),
1485 (hildon_font_selection_dialog_show_preview):
1486 * src/hildon-get-password-dialog.c:
1487 * src/hildon-login-dialog.c:
1488 * src/hildon-set-password-dialog.c:
1489 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1490 * src/hildon-time-picker.c: (hildon_time_picker_init):
1492 Remove obsolete logical string IDs and update to the appropriate ones.
1494 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1496 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1499 that happens if the window hasn't been realized yet.
1501 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1502 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1504 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1507 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1510 Fixes: NB#98537 (Device hangs in account settings dialog)
1512 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1514 * configure.ac: post release version bump.
1515 * debian/changelog: version bump
1517 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1522 * configure.ac: Bump version.
1523 * debian/changelog: Updates.
1525 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1527 Added a new function to the HildonTimeButton widget that allows to
1528 change the step of the minutes in the selector associated with the
1529 button: hildon_time_button_new_step
1531 * src/hildon-time-button.c,
1532 (hildon_time_button_init),
1533 (hildon_time_button_new),
1534 (hildon_time_button_new_step):
1535 * src/hildon-time-button.h: Added the new function and refactored
1537 * examples/hildon-time-button-example.c,
1538 (main): We have replaced the function without parameters with the
1539 function with the steps set to 5
1541 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1543 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1545 * src/hildon-time-selector.c,
1546 (hildon_time_selector_class_init),
1547 (hildon_time_selector_constructor),
1548 (hildon_time_selector_get_property),
1549 (hildon_time_selector_set_property),
1550 (_create_minutes_model),
1551 (hildon_time_selector_new_step),
1552 (hildon_time_selector_set_time),
1553 * src/hildon-time-selector.h: Added a new property to the
1554 HildonTimeSelector (minutes-step), we use that property to control
1555 the steps between the minutes in the list of the selector. We have
1556 added a new function to the API to create a widget changing the
1557 step: hildon_time_selector_new_step.
1559 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1561 * src/hildon-time-selector.c,
1562 (hildon_time_selector_class_init),
1563 (hildon_time_selector_constructor),
1564 (hildon_time_selector_init): Overrided the construct function when
1565 creating the time selector object. We have moved the minutes model
1566 handling code from the init to the new construction function:
1567 hildon_time_selector_constructor.
1569 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1571 * examples/hildon-date-button-example.c: (main): Use the new
1572 hildon_date_button_new_with_year_range() method in the example.
1573 * src/hildon-date-button.c:
1574 (+hildon_date_button_new_with_year_range): New public method
1575 to conveniently create a HildonDateButton with a custom year range
1576 in its HildonDateSelector.
1577 * src/hildon-date-button.h: Add the new public method definition.
1579 Fixes: NB#97908 (Not possible to change the year range in
1580 HildonDateSelector/HildonDateButton)
1582 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1584 * src/hildon-date-selector.c:
1585 (+hildon_date_selector_set_property),
1586 (+hildon_date_selector_get_property),
1587 (hildon_date_selector_class_init): Install new properties "min-year"
1588 and "max-year" to define boundaries for the year column.
1589 (_create_year_model): Use the boundary properties to populate the model.
1590 (+hildon_date_selector_new_with_year_range): New public method to
1591 create a HildonDateSelector with a user defined year range.
1592 (hildon_date_selector_select_current_date): Use the new boundaries to
1593 calculate the iterator of current year.
1594 * src/hildon-date-selector.h: Add the new public method definition.
1596 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1598 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1599 Install a constructor method.
1600 (+hildon_date_selector_construct_ui): construct the widget.
1601 (+hildon_date_selector_constructor): new constructor.
1602 (+hildon_date_selector_init): move out widget construction code to
1603 the new constructor.
1605 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1607 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1608 that there's actually a month or year selected before obtaining them.
1609 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1610 of the HildonTouchSelector::changed signal, as it was emitted on every
1611 single item selection.
1613 Fix some warnings and possible crashers due to the selection restoring.
1615 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1617 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1618 the signal handlers only after creating the dialog instead of on every
1621 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-button.c (hildon_button_init)
1624 * src/hildon-check-button.c (hildon_check_button_init)
1625 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1626 focus when clicked by default.
1628 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1630 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1633 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1635 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1636 Alejandro G. Castro (alex@igalia.com)
1638 * src/hildon-picker-dialog.c:
1639 (hildon_picker_dialog_class_init): install new "center-on-show"
1641 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1642 (hildon_picker_dialog_set_property): add setter code for the new
1644 (hildon_picker_dialog_get_property): add getter code for the new
1646 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1647 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1650 Fixes: NB#92849 (Selected item is not always visible when
1651 HildonTouchSelector is shown)
1653 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1655 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1656 Alejandro G. Castro (alex@igalia.com)
1658 * src/hildon-touch-selector.c:
1659 (_create_new_column): Do not connect to the "realize" signal of the
1661 (hildon_touch_selector_append_column): center on the selected items
1662 when a new column is appended.
1663 (hildon_touch_selector_select_iter): Factor out the code to select a
1664 column to hildon_touch_selector_scroll_to().
1665 (+search_nearest_element): Method to retrieve the nearest selected
1666 element to the visible area of the pannable area in a column.
1667 (+on_realize_cb): scroll to the initially selected item.
1668 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1669 the pannable area is realized, otherwise delay this until it is.
1670 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1671 selected items of a given column.
1672 (+hildon_touch_selector_center_on_selected): Public method to center
1673 all columns on the nearest selected item.
1674 * src/hildon-touch-selector.h: Add definition for
1675 hildon_touch_selector_center_on_selected().
1677 Implement public API to ensure visibility of all selected items in
1678 a HildonTouchSelector.
1680 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1682 Fixed a problem in the fading when calling the scroll_to API, and
1683 improve scrollbar fading handling.
1685 * src/hildon-pannable-area.c,
1686 (hildon_pannable_area_grab_notify): avoid the timeout when the
1688 (hildon_pannable_area_button_press_cb),
1689 (hildon_pannable_area_motion_notify_cb): Code style changes.
1690 (hildon_pannable_area_button_release_cb): Review the conditions
1691 when releasing the mouse button to avoid unrequired fading
1693 (hildon_pannable_area_scroll_to): Do not calculate and set the
1694 velocity if the scroll is not required.
1696 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1698 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1699 Don't check whether the new selector is NULL: it cannot be.
1700 Hold a reference to the selector while doing the replacement.
1702 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1704 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1705 unnecessary size_request in a removed widget.
1707 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1710 an unnecessary reference tracking that was leaking.
1712 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1714 Added delayed motion notify event handling, this way we can
1715 discard redrawing if more than 25 events arrive per second.
1717 * src/hildon-pannable-area.c,
1718 (hildon_pannable_area_init): Initialized the new private atributes
1719 controlling this timeout
1720 (hildon_pannable_area_dispose): Remove the timeout that controls
1721 the motion notify events.
1722 (hildon_pannable_area_scroll): Added a condition to control the
1723 use of the acceleration.
1724 (hildon_pannable_area_motion_event_scroll_timeout),
1725 (hildon_pannable_area_motion_event_scroll): Added this two
1726 functions, they handle the motion notify events inside the
1728 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1729 to the scroll method with the new function.
1730 (hildon_pannable_area_button_release_cb): We have to remove the
1731 timeout handler and move to the last position if the last motion
1732 events were not handled.
1734 Fixes: NB#97028 (Pannable area updates on every motion event)
1736 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1738 * src/hildon-pannable-area.c,
1739 (hildon_pannable_area_get_topmost): Added a new parameter to
1740 filter the the windows that do not include those events. Added
1741 also a condition when finding the window to filter windows that do
1742 not ask for those events.
1743 (hildon_pannable_area_button_press_cb),
1744 (hildon_pannable_area_button_release_cb),
1745 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1746 topmost function, we have added the new parameter.
1748 Fixes: NB#97458 (Pannable area prevents propagation of button
1751 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1753 * src/hildon-pannable-area.c,
1754 (hildon_pannable_area_initial_effect): Added controls before
1755 launching the timeout and the idle functions.
1756 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1757 of the method, in some situations it can return with TRUE and 0 in
1759 (hildon_pannable_area_button_press_cb): We do not need to set
1760 DELAY for fading out here.
1762 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1764 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1767 post-cleaning if the selection is not NULL.
1769 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1772 all items before restoring the selection.
1774 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-touch-selector.c:
1777 (+hildon_touch_selector_unselect_all):
1778 * src/hildon-touch-selector.h: New API to unselect all items in a
1779 column of the touch selector.
1781 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1783 * src/hildon-pannable-area.c,
1784 (hildon_pannable_area_redraw): Added a call to the refresh
1785 function inside the redraw because apparently in some cases the
1786 change in the adjustment does not imply a size allocate.
1788 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1789 despite the view not being scrollable)
1791 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1793 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1794 leak. Check for NULL before attempting to set the window title.
1796 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1798 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1799 whether to show or not the 'Done' button each time the dialog is
1800 shown, as it depends on the HildonTouchSelector selection mode.
1802 Fixes: NB#96226 (In multiple selection mode Done button is shown
1803 sometimes in listpicker)
1805 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1807 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1808 for the number of columns in the HildonTouchSelector more than once.
1810 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1812 * src/hildon-touch-selector.c: Minor documentation fixes.
1814 * src/hildon-picker-dialog.c (+_dialog_update_title)
1815 (_select_on_selector_changed_cb)
1816 (_update_title_on_selector_changed_cb)
1817 (on_selector_columns_changed): Update dialog title when there's no
1818 'Done' button and also when the number of columns in the selector
1822 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1823 (+_selection_changed, hildon_picker_button_on_dialog_response)
1824 (hildon_picker_button_selector_selection_changed)
1825 (+hildon_picker_button_selector_columns_changed)
1826 (hildon_picker_button_set_selector): Update button value and emit
1827 'value-changed' when the number of columns in the selector
1831 Fixes: NB#96225 (Dialog titles are not shown according to the
1832 values selected in the list picker)
1834 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1836 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1837 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1838 New "arrow-width" and "arrow-height" style properties to set the
1839 size of the arrow button.
1840 Set name of arrow button ("hildon-edit-toolbar-arrow").
1842 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1843 graphics from theme)
1845 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1847 * src/hildon-picker-button.c:
1848 (hildon_picker_button_selector_selection_changed): Use
1849 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1850 the dialog is present.
1852 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1853 the selection is accepted in the dialog)
1855 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-color-chooser.h
1858 * src/hildon-color-chooser-dialog.h:
1859 Added G_BEGIN_DECLS and G_END_DECLS
1861 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1863 (_clean_current_selection): plug a leak in the list.
1865 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1867 * src/hildon-picker-dialog.c:
1868 (+free_path_list): Method to free a GList of GtkTreePaths.
1869 (_clean_current_selection), (_save_current_selection),
1870 (_restore_current_selection): Save the current selection in
1871 as a list of lists, to support multiple selection properly.
1873 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1875 patch by Claudio Saavedra (csaavedra@igalia.com)
1877 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1878 Store the press position.
1879 (+hildon_text_view_button_release_event): If the release position is
1880 close enough to the press position, move the cursor here. Otherwise,
1882 (hildon_text_view_class_init): Override GtkTextView press, release, and
1883 motion event handlers, disabling this way text selection through
1884 pointer interaction, and allowing the container widget to handle the
1887 Fixes: NB#95828 (HildonTextView functionality)
1889 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1891 Based on a patch by Iván Gómez (igomez@igalia.com)
1893 * src/hildon-button.[ch]
1894 * src/hildon-calendar.c
1895 * src/hildon-check-button.c
1896 * src/hildon-date-editor.c
1897 * src/hildon-date-selector.c
1898 * src/hildon-picker-button.c
1899 * src/hildon-time-editor.c
1900 * src/hildon-time-selector.c
1901 * src/hildon-touch-selector.[ch]:
1902 Documentation updates
1904 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-pannable-area.c,
1907 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1908 threshold, it was required due to X events handling.
1910 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1912 * src/hildon-pannable-area.c,
1913 (hildon_pannable_area_grab_notify),
1914 (hildon_pannable_area_initial_effect),
1915 (hildon_pannable_area_button_press_cb),
1916 (hildon_pannable_area_button_release_cb),
1917 (hildon_pannable_area_scroll_cb),
1918 (hildon_pannable_area_scroll_to): Review the timeout management of
1919 the scrollbar, the frecuency was incorrectly set.
1921 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-picker-button.c:
1924 (+hildon_picker_button_on_dialog_response),
1925 (hildon_picker_button_clicked): Present the dialog instead of
1926 running it with gtk_dialog_run().
1928 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1931 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1933 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1934 (hildon_app_menu_finalize): When a window is hidden it doesn't
1935 emit notify::is-topmost, so make sure than the menu also
1936 disappears in that case.
1937 (parent_window_topmost_notify): Renamed from parent_window_hidden
1939 Fixes: NB#94460 (stackable window's menu is not closed when its
1942 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/hildon-touch-selector-entry.c:
1945 (+hildon_touch_selector_entry_set_input_mode),
1946 (+hildon_touch_selector_entry_get_input_mode):
1947 * src/hildon-touch-selector-entry.h: New methods to access the input
1948 mode in the selector's entry.
1950 Fixes: NB#93410 (API required for setting IM mode in
1951 HildonTouchSelectorEntry)
1953 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1955 * configure.ac: post release version bump.
1956 * debian/changelog: version bump
1958 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1963 * configure.ac: Bump version.
1964 * debian/changelog: Updates.
1966 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1968 * src/hildon-touch-selector.c:
1969 (_hildon_touch_selector_has_multiple_selection): No need
1970 to initialize the variables here.
1972 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-note-private.h
1975 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1976 (hildon_note_finalize, hildon_note_rebuild): Close information
1977 notes when they receive a button press.
1979 Fixes: NB#89890 (Information notes does not get disappeared after
1982 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1984 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1985 mark from the wizard title, as it's not really necessary. Also,
1986 do not display the page title if not set.
1988 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1990 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1991 (parent_window_hidden): Use the window's "is-topmost" property to
1992 detect when to hide the menu.
1994 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1996 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1997 (hildon_app_menu_finalize): If the parent window of the menu is
1998 hidden, hide the menu too.
2000 Fixes: NB#94460 (stackable window's menu is not closed when its
2003 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2006 * debian/libhildon1-examples.install
2008 * examples/Makefile.am:
2009 Use dh_install to install all examples.
2010 Use DEB_SRCDIR instead of defining SOURCE_DIR
2012 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2014 * configure.ac: post release version bump.
2015 * debian/changelog: version bump
2017 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2022 * configure.ac: bump version
2023 * debian/changelog: updates
2024 * debian/control: bump gtk+ dependency
2026 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2028 patch by Christian Dywan (christian@imendio.com)
2030 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2031 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2033 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-check-button.c (hildon_check_button_init)
2036 (hildon_check_button_class_init, hildon_check_button_style_set)
2037 (hildon_check_button_apply_style):
2038 New "checkbox-size" style property.
2040 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2041 larger / configurable size)
2043 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2045 * configure.ac: post release version bump.
2046 * debian/changelog: version bump
2048 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2053 * configure.ac: bump version
2054 * debian/changelog: updates
2056 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2058 * doc/hildon-sections.txt
2059 * src/hildon-pannable-area.c
2060 * src/hildon-program.c
2061 * src/hildon-time-editor.c
2062 * src/hildon-touch-selector-entry.c:
2064 More documentation updates.
2066 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2068 * doc/hildon-sections.txt
2069 * src/hildon-caption.c
2070 * src/hildon-code-dialog.c
2071 * src/hildon-color-button.c
2072 * src/hildon-controlbar.c
2073 * src/hildon-date-editor.c
2074 * src/hildon-date-selector.c
2075 * src/hildon-edit-toolbar.c
2076 * src/hildon-find-toolbar.c
2077 * src/hildon-font-selection-dialog.c
2079 * src/hildon-program.c
2080 * src/hildon-range-editor.c
2081 * src/hildon-seekbar.c
2082 * src/hildon-time-editor.c
2083 * src/hildon-time-selector.c
2084 * src/hildon-volumebar-range.c
2085 * src/hildon-volumebar.c
2086 * src/hildon-vvolumebar.c
2087 * src/hildon-weekday-picker.c
2088 * src/hildon-window.c
2089 * src/hildon-wizard-dialog.c:
2091 Lots of documentation fixes.
2093 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2095 Patch contributed by Iván Gómez (igomez@igalia.com)
2097 * src/hildon-check-button.c:
2098 * src/hildon-date-button.c:
2099 * src/hildon-date-selector.c:
2100 * src/hildon-dialog.c:
2101 * src/hildon-edit-toolbar.c:
2102 * src/hildon-entry.c:
2103 * src/hildon-picker-button.c:
2104 * src/hildon-program.c:
2105 * src/hildon-text-view.c:
2106 * src/hildon-time-button.c:
2107 * src/hildon-touch-selector-entry.c:
2108 * src/hildon-window-stack.c:
2110 Add more "since" tags to the new API.
2112 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2114 * doc/hildon-sections.txt: Add below method.
2115 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2116 version for the hildonized scale.
2117 * src/hildon-gtk.h: Add the definition.
2119 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2121 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2123 * doc/hildon-sections.txt: Add missing entries for new methods.
2125 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2127 Added API to pannable are in order to get its adjustments. We
2128 added two properties to manage the values we had in the private
2131 * src/hildon-pannable-area.c:
2132 (hildon_pannable_area_class_init): Added hadjustment and
2133 vadjustment properties in order to expose horizontal and vertical
2135 (hildon_pannable_area_get_property),
2136 (hildon_pannable_area_set_property): Added code to handle the new
2138 (hildon_pannable_area_get_hadjustment),
2139 (hildon_pannable_area_get_vadjustment): API functions to get the
2141 * src/hildon-pannable-area.h:
2142 (hildon_pannable_area_get_hadjustment),
2143 (hildon_pannable_area_get_vadjustment): API functions to get the
2146 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2148 Fixed some leaks, after valgrinding.
2150 * src/hildon-touch-selector.c:
2151 (_default_print_func): Fixed a leak.
2152 (hildon_touch_selector_append_column): Fixed a leak.
2153 * src/hildon-date-button.c:
2154 (hildon_date_button_init): Fixed a leak.
2155 * src/hildon-date-selector.c
2156 (hildon_date_selector_finalize): Fixed a leak.
2158 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2160 Based on a patch by Christian Dywan (christian@imendio.com)
2162 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2164 * src/hildon-gtk.h: Add definition.
2166 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2168 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2170 * src/hildon-picker-button.c: (hildon_picker_button_init),
2171 (hildon_picker_button_new): Set the HildonButton::style property
2172 in the init method, to propagate the value to the derived classes.
2174 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2176 * src/hildon-button.c: (hildon_button_class_init): Do not make
2177 the "style" property a construct property.
2179 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-wizard-dialog.h
2182 * src/hildon-wizard-dialog.c
2183 (hildon_wizard_dialog_set_forward_page_func)
2184 * src/hildon-pannable-area.h
2185 * src/hildon-pannable-area.c
2186 (hildon_pannable_area_set_size_request_policy):
2187 Documentation fixes.
2189 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2191 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2193 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2195 * doc/hildon-sections.txt: Added sections file.
2197 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2200 * src/*.[ch]: Updates.
2202 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2204 * examples/hildon-progress-indicator-example.c: new file
2205 * examples/Makefile.am: include the new example program
2207 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2209 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2211 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2213 * configure.ac: post release version bump
2214 * debian/changelog: version bump
2216 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2221 * configure.ac: bump version
2222 * debian/changelog: updates
2223 * debian/control: bump gtk+ dependency
2225 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2227 * src/hildon-dialog.c: Mark as deprecated.
2228 * src/hildon-dialog.h: Mark as deprecated.
2229 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2230 from HildonDialog and still work, even if
2231 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2232 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2234 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2235 maemo changes) instead)
2237 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2239 * src/hildon-pannable_area.h:
2240 * src/hildon-pannable_area.c:
2241 (hildon_pannable_area_class_init),
2242 (hildon_pannable_area_set_property),
2243 (hildon_pannable_area_get_property),
2244 (hildon_pannable_area_size_request),
2245 (hildon_pannable_area_get_size_request_policy),
2246 (hildon_pannable_area_set_size_request_policy): Added new API
2247 allowing applications to control the request policy. Now they can
2248 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2249 children allocation (HILDON_MOVEMENT_CHILDREN).
2251 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2255 (hildon_gtk_tree_view_set_ui_mode)
2256 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2257 mode of treeviews and iconviews.
2259 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2261 * src/hildon-touch-selector-entry.c:
2262 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2263 of a GtkEntry to get proper theming.
2265 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2266 widget, not GtkEntry)
2268 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2270 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2271 no HildonWizardDialogPageFunc.
2273 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2275 Patch contributed by Iván Gómez (igomez@igalia.com)
2277 * src/hildon-app-menu.c:
2278 * src/hildon-button.c:
2279 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2280 * src/hildon-stackable-window.c:
2281 * src/hildon-time-selector.c:
2282 * src/hildon-touch-selector.c:
2283 * src/hildon-window.c:
2285 Add more "since" tags to the new API in hildon 2.2.
2287 2008-12-05 Tim Janik <timj@imendio.com>
2289 Patch contributed by Christian Dywan (christian@imendio.com)
2291 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2292 HildonSizeType, which are supplied by Gtk+ now.
2294 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2296 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2297 (with maemo changes) instead)
2299 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2301 Patch contributed by Iván Gómez (igomez@igalia.com)
2303 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2306 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2308 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2309 (some_page_func), (main): Update the example to use a
2310 HildonWizardDialogPageFunc function.
2312 * src/hildon-wizard-dialog-private.h: Add private data for
2313 the HildonWizardDialogPageFunc function usage.
2315 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2316 (destroy), (hildon_wizard_dialog_init), (response),
2317 (hildon_wizard_dialog_set_forward_page_func):
2318 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2319 that applications can use to stop a HildonWizardDialog to jump to
2322 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2325 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-program.h
2328 * src/hildon-program-private.h
2329 * src/hildon-program.c (hildon_program_init)
2330 (hildon_program_set_common_app_menu)
2331 (hildon_program_get_common_app_menu):
2332 New API for setting a common HildonAppMenu for all
2333 HildonStackableWindows registered with the HildonProgram.
2335 * src/hildon-stackable-window.c
2336 (hildon_stackable_window_toggle_menu):
2337 Use the common HildonAppMenu if a window doesn't have a specific
2340 * src/hildon-app-menu-private.h
2341 * src/hildon-app-menu.c
2342 (hildon_app_menu_get_parent_window):
2343 Function to obtain the window a HildonAppMenu is attached to.
2344 (hildon_app_menu_set_parent_window):
2345 Hide the menu if the parent window is set to NULL.
2347 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2349 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2350 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2351 search widget to popup.
2353 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2355 * configure.ac: post release version bump
2356 * debian/changelog: version bump
2358 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2363 * configure.ac: bump version
2364 * debian/changelog: updates
2366 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2368 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2370 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2371 (hildon_window_stack_window_realized)
2372 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2373 Set the leader GdkWindow when a window is stacked and realized,
2374 unset it when it's unstacked.
2375 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2377 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2379 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2381 * src/hildon-stackable-window.h
2382 * src/hildon-window-stack.h:
2383 Protect definition of HildonWindowStack using the preprocessor.
2385 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2387 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2388 Fix warning if all menu items are hidden.
2390 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2392 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2394 * src/hildon-controlbar.c:
2395 * src/hildon-hvolumebar.c:
2396 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2397 Multiple scale size defines updates.
2399 Fixes: NB#94322 (Scale Updates)
2401 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2403 * examples/hildon-app-menu-example.c (create_menu)
2404 Show items after adding them to the menu, as in the future the
2405 menu will no longer call gtk_widget_show() on the added items.
2407 * src/hildon-app-menu.c:
2408 Update example as explained above.
2410 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-app-menu.c
2413 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2414 Make sure that all menu items have finger height.
2416 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2418 * src/hildon-picker-dialog.c:
2419 (_on_dialog_response), (_save_current_selection),
2420 (_restore_current_selection), (_clean_current_selection),
2421 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2422 Defined new functions in order to save the current internal selector
2423 selection previous open the dialog, in case that the use cancel the
2424 interaction, so the widget restores the previous selection.
2426 Fixes: NB#92032 (In calendar application, date values in 'new event'
2429 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2431 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-button.c: Add a reference to the button examples in
2434 hildon-button-example.c
2436 * examples/hildon-button-example.c: Added examples of the most
2437 common button layouts.
2439 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-app-menu.c (hildon_app_menu_show)
2442 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2444 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2446 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-picker-dialog.c:
2449 (hildon_picker_dialog_init): Initialize the signal id for
2450 HildonTouchSelector::columns-changed.
2451 (+on_selector_columns_changed): Set up the interaction mode everytime a
2452 column is added or removed from the HildonTouchSelector.
2453 (_hildon_picker_dialog_set_selector): Connect to
2454 HildonTouchSelector::columns-changed and keep track of it.
2456 Make sure to update the interaction mode of the dialog everytime a
2457 column is added or removed in the HildonTouchSelector.
2459 Fixes: NB#93228 (Done button is not shown always in listpicker)
2461 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2463 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2464 a new ::columns-changed signal.
2465 (hildon_touch_selector_append_column): Emit ::columns-changed.
2466 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2468 Add a ::columns-changed signal, emitted when the number of columns in a
2469 HildonTouchSelector changes.
2471 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2473 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2474 (_hildon_picker_dialog_set_selector): Factor out the code
2475 to set up the dialog interaction mode.
2477 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2479 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2480 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2481 to signal_changed_id.
2483 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2485 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2488 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2490 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2491 Updated the logical ids related to ampm format, as now it is required to
2492 show it correctly localized even on languages with no default
2493 abbreviations for am or pm
2494 (_check_am_pm_format): check correctly the 24h format gconf property
2496 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2498 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2500 * src/hildon-button.c: Documentation updates.
2502 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2504 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2505 * src/hildon-caption.c: (hildon_caption_class_init):
2506 * src/hildon-color-button.c: (hildon_color_button_class_init):
2507 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2508 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2509 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2510 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2512 Remove deprecated GTK+ marshalers and replace them with the ones
2513 provided by GLib, for those available, add a marshaler for
2514 BOOLEAN:VOID, which is not available in GLib, and use it.
2516 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2519 the text from the previous column if there is no
2520 HildonTouchSelectorColumn::text-property set.
2522 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-button.h
2525 * src/hildon-button.c (hildon_button_set_property)
2526 (hildon_button_get_property, hildon_button_class_init)
2527 (hildon_button_set_style, hildon_button_get_style):
2528 New "style" property to change the visual appearance of the
2531 * src/hildon-picker-button.c (hildon_picker_button_new):
2532 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2534 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2535 HildonButton look like PickerButton)
2537 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2539 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2540 column while building the default string.
2542 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2544 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2545 scroll indicator by default.
2547 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2549 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2551 * src/hildon-main.c: Fix the documentation for hildon_init()
2553 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2555 * doc/hildon-docs.sgml
2559 * src/hildon-window-stack-private.h
2560 * src/hildon-window-stack.h
2561 * src/hildon-window-stack.c:
2562 New HildonWindowStack object, that adds support for multiple
2563 stacks of windows per process.
2565 * src/hildon-stackable-window-private.h
2566 * src/hildon-stackable-window.h
2567 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2568 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2569 (hildon_stackable_window_show, hildon_stackable_window_hide)
2570 (hildon_stackable_window_class_init)
2571 (hildon_stackable_window_init):
2572 Use HildonWindowStack for stack management.
2574 * src/hildon-program.c (hildon_program_pop_window_stack)
2575 (hildon_program_peek_window_stack)
2576 (hildon_program_go_to_root_window):
2577 Add a fallback implementation to the deprecated functions using
2580 * examples/hildon-stackable-window-example.c:
2581 Use the new HildonWindowStack API.
2583 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2585 * src/hildon-stackable-window-private.h
2586 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2587 (hildon_stackable_window_hide, hildon_stackable_window_init):
2588 Remove all window stack management.
2590 * src/hildon-program-private.h
2591 * src/hildon-program.h
2592 * src/hildon-program.c (hildon_program_init)
2593 (hildon_program_pop_window_stack)
2594 (hildon_program_peek_window_stack)
2595 (hildon_program_go_to_root_window):
2596 Remove all window stack management and mark functions as
2599 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2601 * src/hildon-app-menu.c (hildon_app_menu_realize):
2602 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2604 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2606 * configure.ac: post release version bump
2607 * debian/changelog: version bump
2609 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2614 * configure.ac: bump version
2615 * debian/changelog: updates
2617 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2619 Based on initial code by Christian Dywan (christian@imendio.com)
2621 * doc/hildon-docs.sgml: Add section for hildon-main.
2622 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2623 * src/Makefile.am: Add new hildon-main.[ch]
2624 * src/hildon-defines.h: Update the icon sizes.
2625 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2626 new library initialization files and register icon sizes.
2627 * src/hildon-main.h: New declarations.
2628 * src/hildon.h: Include hildon-main.h
2630 Add new initialization functions to the library. These methods
2631 will register the hildon specific icon sizes and can be used in the
2632 future for other hildon specific bits.
2634 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2636 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2638 * src/hildon-window.c: (hildon_window_realize),
2639 (hildon_window_notify), (-hildon_window_update_title): Do not set
2640 the application name in the window title.
2642 Fixes: NB#89754 (Applications shouldn't display their names in the
2645 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-note-private.h:
2648 * src/hildon-note.c: (hildon_note_set_property),
2649 (hildon_note_get_property), (hildon_note_class_init),
2650 (hildon_note_init), (hildon_note_finalize),
2651 (hildon_note_new_confirmation_with_icon_name),
2652 (hildon_note_new_information_with_icon_name):
2654 No need to mark as deprecated the actual code. Revert
2655 to avoid missing symbols in widgets using deprecated API.
2657 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2659 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2661 * src/hildon-volumebar.h
2662 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2663 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2665 * src/hildon-helper.h
2666 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2667 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2669 * examples/Makefile.am:
2670 Deprecate hildon-insensitive-example
2672 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2674 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2676 * examples/hildon-pannable-area-buttons-scroll-example.c:
2677 Make all buttons finger height
2679 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2681 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2683 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2684 update the day model only if it is really required, and to avoid the
2685 full-reconstruction aproach. Now it only add or remove the required days.
2687 The purpose of this is avoid superfluous HildonTouchSelector::changed
2690 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2691 with strange parameters)
2693 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2695 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2697 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2698 the WINDOW_TYPE property.
2700 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2702 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2705 Fix dependency to allow parallel compilation with make -jX
2707 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2709 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2710 color frame and some minor tweaks to make it more consistent with
2713 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2714 highlighted but not visible)
2716 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2718 * examples/Makefile.am: Fixed typo in the Makefile.am.
2720 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2722 Reviewed the use of MAEMO_GTK define, now we add the define in the
2723 compilation line, and we also add it to the pc file.
2725 * configure.ac: Added MAEMO_GTK define to the compilation command
2726 and removed it from the config.h.
2728 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2729 do not have to take care about this define if the library was
2733 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2735 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2737 * examples/Makefile.am,
2738 * examples/hildon-pannable-area-buttons-scroll-example.c,
2739 * examples/hildon-pannable-area-gesture-signals-example.c,
2740 * examples/hildon-pannable-area-scroll-jump-example.c,
2741 * examples/hildon-pannable-area-tree-view-example.c:
2742 Renamed the pannable area examples, now they have more meaningful
2745 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2747 * src/hildon-touch-selector.c:
2748 (hildon_touch_selector_set_column_selection_mode): Used of
2749 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2750 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2751 to avoid re-seting the same selection mode.
2753 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2754 breaks HildonPickerDialog)
2756 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2758 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2759 conditional in the Makefile.am
2761 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2763 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2764 Remove unused methods.
2766 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-button.c (hildon_button_init):
2769 Make button images center-aligned by default
2771 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2774 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2775 activated, we have to think about how to deal with both defines
2776 MAEMO_GTK and MAEMO_CHANGES.
2778 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2780 * examples/hildon-app-menu-example.c (create_menu): Make all
2781 buttons finger size.
2783 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2785 Fixed the compilation without maemo gtk adding ifdefs with
2786 MAEMO_GTK define to the code, we have to check this version more
2789 * examples/Makefile.am: Added control to avoid some examples that
2790 just make sense with maemo gtk.
2793 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2794 hildon modes with the define.
2796 * examples/hildon-edit-toolbar-example.c,
2797 (create_icon_view): Create the icon view without hildon-gtk
2798 helpers if we are not using maemo gtk.
2800 * src/hildon-touch-selector.c,
2801 (_create_new_column): Create the treeview without hildon-gtk
2802 helpers if we are not using maemo gtk.
2804 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2806 * src/hildon-pnnable-area.c,
2807 (hildon_pannable_area_dispose),
2808 (hildon_pannable_area_button_press_cb),
2809 (hildon_pannable_area_child_mapped),
2810 (hildon_pannable_area_add),
2811 (hildon_pannable_area_remove): Added code to control the position
2812 of the event_window when adding and removing children from the
2813 pannable. We have to raise the event window when the child is
2816 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2817 selection mode using custom widget inside pannable)
2819 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2821 * configure.ac: post release version bump
2822 * debian/changelog: version bump
2824 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2829 * configure.ac: bump version
2830 * debian/changelog: updates
2832 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2834 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2835 search mode, in order to avoid lose the focus on the treeview when
2836 a hw key (like enter) is pressed.
2838 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2839 in HildonDateSelector dialog)
2841 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2843 * debian/rules: Added --enable-maintainer-mode
2844 * Makefile.am: Added ACLOCAL_AMFLAGS
2846 This allows to properly regenerate the Makefiles if you modify the
2847 configure.ac or any Makefile.am.
2849 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2851 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2852 properties, not needed at all.
2854 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2858 * src/hildon-note.c: (hildon_note_set_property),
2859 (hildon_note_get_property), (hildon_note_class_init),
2860 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2861 (hildon_note_new_confirmation_add_buttons): Remove icons.
2862 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2863 (hildon_note_new_information_with_icon_name): Deprecate.
2864 (hildon_note_new_confirmation): Act directly, without calling
2865 the deprecated constructor.
2866 (hildon_note_new_information): Act directly, without calling
2867 the deprecated constructor.
2868 * src/hildon-note.h: Mark deprecate methods as such.
2869 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2870 not run tests on the deprecated methods if built with deprecation
2873 Fixes: NB#91688 (Never show icons in information notes/confirmation
2876 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2878 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2879 (hildon_app_menu_key_press): Remove leftover usage of the
2880 private structure in HildonAppMenu struct.
2881 * src/hildon-app-menu.h: Remove leftover private structure
2882 from the HildonAppMenu struct.
2884 Fixes a crasher when using the HildonAppMenu.
2886 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2888 * src/hildon-picker-dialog.c: Use appropriate logical id
2889 for the default "Done" text.
2891 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2893 * configure.ac: post release version bump
2894 * debian/changelog: version bump
2896 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2898 Modified the way to scroll to the current selection just when the touch
2899 selector is shown on the screen, avoiding a g_idle. Added too a property
2900 to configure this behaviour. See hildon_pannable_area_jump_to_child
2901 documentation for more information.
2903 * src/hildon-touch-selector.c
2904 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2905 Added 'initial-scroll' property
2906 (hildon_touch_selector_set_property): Added
2907 (hildon_touch_selector_map): Removed as not required anymore
2908 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2909 only a concrete column, instead of iterate along all the columns
2911 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2916 * configure.ac: bump version
2917 * debian/changelog: updates
2919 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2921 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2922 compilation time warnings.
2924 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2926 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2927 the default value for HildonPannableArea::mov-mode to
2928 HILDON_PANNABLE_AREA_MODE_VERT.
2930 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2932 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2934 Reverting following commit:
2936 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-app-menu-private.h
2939 * src/hildon-app-menu.[ch]
2940 * src/hildon-button.[ch]
2941 * src/hildon-check-button.[ch]
2942 * src/hildon-entry.[ch]
2943 * src/hildon-pannable-area.[ch]
2944 * src/hildon-text-view.[ch]:
2945 Added private field to the object's structure.
2947 because it causes an ABI breakage. We will need to introduce these
2948 changes later at some point. See NB#91636 for an extensive
2949 explanation and status.
2951 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2953 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2955 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2956 remove special cases that are no longer necessary.
2958 Fixes: NB#91016 (Change toolbar sizes, simplification)
2960 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2962 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2963 is shown in the cancel note.
2965 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2968 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2969 (hildon_seekbar_init): Remove steppers, remove expose event.
2970 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2972 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2974 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2976 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2977 label font to "SmallSystemFont" for vertically arranged buttons.
2979 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2982 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-check-button.c
2985 (hildon_check_button_set_active, hildon_check_button_clicked):
2986 Don't access private parts directly, use getters instead.
2988 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2990 * src/hildon-check-button.c (hildon_check_button_new):
2991 Align the contents of the check button to the left.
2993 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2995 * src/hildon-pannable-area.c,
2996 (hildon_pannable_area_scroll_to),
2997 (hildon_pannable_area_jump_to),
2998 (hildon_pannable_area_scroll_to_child),
2999 (hildon_pannable_area_jump_to_child): Replace the mapped
3000 precondition of these functions with the realized, it is the
3001 correct state of the widget in this case. Changed the
3002 documentation according to this modification.
3004 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3006 Added a new EXTRA_CFLAGS option to add the deprecated define to
3007 the compilation command. This way we can avoid using the define in
3008 the documentation compilation.
3010 * configure.ac: Defined EXTRA_CFLAGS.
3012 * examples/Makefile.am:
3014 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3016 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3018 * src/hildon-picker-dialog.c:
3019 Defined a utility macro with the desired touch selector height
3020 Removed currently unused separator, and title_label variables from
3022 (hildon_picker_dialog_init): Removed code related to the creation
3023 of unused private variables title_label and separator.
3024 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3025 to ensure correct visualization of the touch selector inside the dialog.
3026 * src/hildon-touch-selector.c
3027 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3028 ensure a concrete height of the widget.
3030 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3033 * tests/Makefile.am:
3035 Remove spurious whitespaces.
3037 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3040 compilation warning after the cancel button removal.
3042 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3044 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3046 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3047 Makefile.am, that way we can choose not to compile some examples
3048 and tests of the deprecated widgets.
3050 * examples/Makefile.am: Divided the sources in deprecated and
3053 * src/Makefile.am: Added undef statement of the deprecated
3054 symbol to the enums file generation process.
3056 * src/hildon-color-chooser-dialog.c
3057 * src/hildon-color-chooser-dialog.h
3058 * src/hildon-color-button.c
3059 * src/hildon-color-button.h
3060 * src/hildon-color-chooser.c
3061 * src/hildon-color-chooser.h
3062 * src/hildon-controlbar.c
3063 * src/hildon-controlbar.h
3064 * src/hildon-date-editor.c
3065 * src/hildon-date-editor.h
3066 * src/hildon-hvolumebar.c
3067 * src/hildon-hvolumebar.h
3068 * src/hildon-private.c
3069 * src/hildon-private.h
3070 * src/hildon-range-editor.c
3071 * src/hildon-range-editor.h
3072 * src/hildon-seekbar.c
3073 * src/hildon-seekbar.h
3074 * src/hildon-time-editor.c
3075 * src/hildon-time-editor.h
3076 * src/hildon-time-picker.c
3077 * src/hildon-time-picker.h
3078 * src/hildon-volumebar.c
3079 * src/hildon-volumebar.h
3080 * src/hildon-vvolumebar.c
3081 * src/hildon-vvolumebar.h
3082 * src/hildon-bread-crumb-trail.h
3083 * src/hildon-bread-crumb-trail.c
3084 * src/hildon-calendar-popup.c
3085 * src/hildon-calendar-popup.h
3086 * src/hildon-weekday-picker.c:
3087 * src/hildon-weekday-picker.h:
3088 * src/hildon-bread-crumb-widget.c:
3089 * src/hildon-bread-crumb-widget.h:
3090 * src/hildon-bread-crumb.c:
3091 * src/hildon-bread-crumb.h:
3092 * src/hildon-calendar.c:
3093 * src/hildon-calendar.h:
3094 * src/hildon-caption.c:
3095 * src/hildon-code-dialog.c:
3096 * src/hildon-code-dialog.h:
3097 * src/hildon-font-selection-dialog.c:
3098 * src/hildon-font-selection-dialog.h:
3099 * src/hildon-get-password-dialog.c:
3100 * src/hildon-get-password-dialog.h:
3101 * src/hildon-login-dialog.c:
3102 * src/hildon-login-dialog.h:
3103 * src/hildon-number-editor.c:
3104 * src/hildon-number-editor.h:
3105 * src/hildon-set-password-dialog.c:
3106 * src/hildon-set-password-dialog.h:
3107 * src/hildon-sort-dialog.c:
3108 * src/hildon-sort-dialog.h: This is the list of deprecated
3111 * src/hildon-touch-selector.c:
3112 * src/hildon-window.c: Added undef statement to avoid compilation
3115 * tests/Makefile.am: Divided the sources in deprecated and
3118 * tests/check_test.c,
3119 (configure_tests): Marked the deprecated code that was adding
3120 suites with deprecated tests.
3122 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3124 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3126 * src/hildon-touch-selector.c: (_default_print_func): Do not
3127 duplicate a string returned by gtk_tree_model_get(), it is already
3130 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3133 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3135 * src/hildon-pannable-area.c
3136 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3137 method, it had problems when adding a widget with viewport the
3138 second time. Now checks if it already has a viewport and uses it.
3140 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3143 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3145 * src/hildon-pannable-area.c,
3146 (hildon_pannable_area_scroll_to),
3147 (hildon_pannable_area_jump_to),
3148 (hildon_pannable_area_scroll_to_child),
3149 (hildon_pannable_area_jump_to_child): Added a precondition to the
3150 scroll and jump to functions: the widget must be mapped before we
3151 can safely call these functions. We have also added documentation
3152 to the functions to explain how to use them in this situation.
3155 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3157 Reviewed the threading handling of the pannable widget, we have
3158 used the gdk_threads_add_timeout function instead of the usual
3159 glib handlers. This avoids some problems with the threads.
3161 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3162 (hildon_pannable_area_initial_effect),
3163 (hildon_pannable_area_scroll_indicator_fade),
3164 (hildon_pannable_area_button_press_cb),
3165 (hildon_pannable_area_timeout),
3166 (hildon_pannable_area_motion_notify_cb),
3167 (hildon_pannable_area_button_release_cb),
3168 (hildon_pannable_area_scroll_cb),
3169 (hildon_pannable_area_scroll_to): Removed the
3170 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3171 gdk_threads_add_timeout.
3173 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3175 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3180 * configure.ac: bump version
3181 * debian/changelog: updates
3183 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3186 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3187 * src/hildon-color-chooser-dialog.c:
3188 (hildon_color_chooser_dialog_init):
3189 * src/hildon-font-selection-dialog.c:
3190 (hildon_font_selection_dialog_init):
3191 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3193 Remove all cancel/close-like dialogs, as these are not going to be
3196 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3198 * src/hildon-note.c: (hildon_note_rebuild),
3199 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3202 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3204 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3207 sure all buttons are shown, even the Cancel/Close-like ones.
3209 Fixes: NB#90861 (Custom Confirmation dialogs should be
3210 protected from cancel button removal)
3212 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3214 * debian/control: Change libhildon1-examples dependency from libhildon1
3216 * debian/libhildon1-examples.install
3218 * Makefile.am: Modified the final install directory for the examples on
3219 package libhildon1-examples
3220 * Makefile.static: Update clean target in order to remove all the binary
3223 Changes suggested by Claudio after review new libhildon1-examples package
3225 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3227 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3228 * src/hildon-touch-selector.c: Ditto.
3230 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3232 * debian/control: Added new package libhildon1-examples, in order to pack
3233 the current hildon examples as documentation
3234 * debian/rules: Not to compress .c files, modify some includes on the
3235 examples (as normally are compiled locally, but when installed it will
3236 require to include the installed libhildon1 library), and rename
3238 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3239 install all the example files on the new example package
3240 * examples/Makefile.static: Added static makefile that can be used to
3241 compile the examples, once installed the new example package
3242 * examples: Most of the examples were modified in order to grant that
3243 all use only '#include "hildon.h"', in order to be easy to prepare
3244 it on the example package
3246 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3249 * debian/libhildon1-dev.install
3250 * debian/libhildon1-doc.install:
3251 Move all gtk-doc files to a separate libhildon1-doc package.
3253 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3255 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3257 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3259 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3261 * debian/rules: Fixed a error in order to avoid unnecessary calls
3262 to autogen.sh on package building
3264 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3266 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3268 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3270 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3273 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-picker-button.c
3276 (hildon_picker_button_finalize):
3277 Free priv->done_button_text
3279 * src/hildon-time-button.c
3280 (hildon_time_button_set_time)
3281 * src/hildon-picker-button.c
3282 (hildon_picker_button_clicked)
3283 (hildon_picker_button_selector_selection_changed)
3284 (hildon_picker_button_set_selector)
3285 * src/hildon-date-button.c
3286 (hildon_date_button_set_date):
3287 Free strings returned by hildon_touch_selector_get_current_text()
3289 * src/hildon-button.c (hildon_button_construct_child):
3290 Fix leaks in priv->image and priv->label_box
3292 Fixes: NB#90535 (Memory leak in picker button)
3294 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-button.c: (hildon_button_get_property): Do not access
3297 private elements directly, use getters instead.
3299 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3301 * src/hildon-app-menu-private.h
3302 * src/hildon-app-menu.c
3303 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3304 Store the menu's parent window.
3306 * src/hildon-stackable-window.c
3307 (hildon_stackable_window_toggle_menu)
3308 (hildon_stackable_window_finalize):
3309 Set the menu's parent window when the menu is shown, unset it when
3312 * src/hildon-app-menu.c
3313 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3314 (hildon_app_menu_class_init):
3315 Send unhandled keyboard accelerators to the parent window.
3317 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-stackable-window.c
3320 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3322 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3324 * configure.ac: post release version bump
3326 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3329 * configure.ac: Bump version
3330 * debian/changelog: Updates
3331 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3334 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3336 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3339 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3340 GtkMenu with Hildon style.
3342 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3344 * src/hildon-picker-button.c:
3345 (hildon_picker_button_set_done_button_text): Set the dialog's
3346 done button text here as well.
3348 Fixes: NB#90232 (Picker button does not set the label on done button
3349 for the second time)
3351 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3353 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3356 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-app-menu.c (hildon_app_menu_insert)
3359 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3360 the HildonAppMenu to be activatable using keyboard accelerators
3361 when the menu is not being shown.
3363 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3365 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-stackable-window.c
3368 (hildon_stackable_window_show):
3369 Don't hide old windows automatically when new windows are shown:
3370 this is now a task for the window manager.
3371 (hildon_stackable_window_class_init)
3372 (hildon_stackable_window_hide):
3373 Remove windows from the stack everytime they're hidden.
3374 (hildon_stackable_window_realize):
3375 Don't change the _NET_WM_WINDOW_TYPE property. Use
3376 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3377 it as a stackable window.
3379 * src/hildon-program.c
3380 (hildon_program_pop_window_stack):
3381 Just hide the window to remove it from the stack.
3382 (hildon_program_go_to_root_window):
3383 Don't call gtk_widget_show(), this is now a task for the window
3386 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3388 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3390 * src/hildon-button.c
3391 (hildon_button_construct_child):
3392 Don't pack anything in the button until text or image are
3393 set. This allows adding a custom child after creating the button
3394 with hildon_button_new().
3395 (hildon_button_finalize, hildon_button_class_init)
3396 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3397 alignment and the label box even when they're not packed in the
3400 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3402 * src/hildon-touch-selector.h:
3403 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3404 currently the type definition was using GTK_TYPE_VBOX
3405 * src/hildon-touch-selector.c:
3406 Added some implementation notes in order to clarify that any other widget
3407 added without the column related API will not be included on the
3408 selection logic, and how the widget is freed, as some people ask about
3410 (hildon_touch_selector_remove): Reimplemented in order to free properly
3411 the column related data when you remove the private hbox.
3412 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3413 to get a proper HildonTouchSelectorColumn documentation
3415 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3417 * src/hildon-touch-selector-entry.c:
3418 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3419 text in the GtkEntry and there is no item selected. Fixes a
3422 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-app-menu-private.h
3425 * src/hildon-app-menu.[ch]
3426 * src/hildon-button.[ch]
3427 * src/hildon-check-button.[ch]
3428 * src/hildon-entry.[ch]
3429 * src/hildon-pannable-area.[ch]
3430 * src/hildon-text-view.[ch]:
3431 Added private field to the object's structure.
3433 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3435 * configure.ac: post-release version bump
3437 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3441 * configure.ac: pre-release version bump
3443 * debian/changelog: updates.
3445 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3447 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3448 Disconnect the handler for HildonTouchSelector::changed.
3450 (hildon_picker_button_selector_selection_changed): Update the button
3451 value if the selection change was not triggered by the
3454 (hildon_picker_button_set_selector): connect to
3455 HildonTouchSelector::changed.
3457 Fixes: NB#89650 (Picker button is not updated, when selection in
3458 selector has changed)
3460 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3462 * src/hildon-picker-dialog.c
3463 (hildon_picker_dialog_realize): Removed as not required
3464 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3465 * src/hildon-picker-button.c
3466 (_current_selector_empty): New function, checks if the selector is empty
3467 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3468 if the current selector is empty, in order to avoid to show the dialog
3469 close the dialog in this case (and shows a g_warning).
3471 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3473 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3475 * src/hildon-pannable-area.c,
3476 (hildon_pannable_area_scroll): Added clause to stop movement when
3477 the child of pannable is smaller than one page.
3478 (hildon_pannable_area_scroll_to): Added conditions to avoid
3479 starting the scrolling movement if the child is smaller than one
3480 page, the complete child is in the screen, we do not have to move.
3482 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3484 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3487 this is managed automatically by the widget when the size of the
3490 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-picker-button.c
3493 (hildon_picker_button_set_done_button_text): Make a copy of the
3494 text, and free the previous value.
3496 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-touch-selector-entry.c:
3499 (hildon_touch_selector_entry_print_func): Return the selected row's
3500 text if the entry is empty.
3502 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3505 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3507 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3509 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-check-button.h
3513 * src/hildon-check-button.c
3514 * examples/hildon-check-button-example.c:
3515 HildonCheckButton is now a new widget. 'toggled' signal added.
3517 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3519 * src/hildon-program-private.h
3520 * src/hildon-program.c (hildon_program_init)
3521 (hildon_program_finalize): Removed unused variables group_leader
3522 and name from HildonProgramPrivate.
3524 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-check-button.c (hildon_check_button_set_active)
3527 (hildon_check_button_get_active, hildon_check_button_new): Use
3528 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3530 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3532 * src/hildon-touch-selector.h
3533 (hildon_touch_selector_set_column_attributes): added deprecation
3534 guard HILDON_DISABLE_DEPRECATED
3535 * src/hildon-time-selector.c
3536 (hildon_time_selector_set_time)
3537 (hildon_time_selector_get_time): Fixed a typo on documentation
3538 * src/hildon-touch-selector.c: update HildonTouchSelector and
3539 HildonTouchSelectorColumn documentation
3540 * src/hildon-touch-selector-entry.c: update "text-column" property
3542 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3543 to be added to the general documentation.
3545 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3547 * examples/hildon-pannable-area-example-4.c,
3549 * examples/hildon-pannable-area-example.c,
3550 (main): Modified the code in order to use the container add, with
3551 viewport treeviews could have problems if they are really big.
3553 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3555 * src/hildon-weekday-picker.c,
3556 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3557 the agreement regarding deprecation in the library.
3559 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3561 * examples/hildon-picker-button-multicolumn-example.c:
3562 (main): Use custom "done" button text.
3564 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3565 (hildon_picker_button_set_property),
3566 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3567 (hildon_picker_button_init),
3568 (+hildon_picker_button_get_done_button_text),
3569 (+hildon_picker_button_set_done_button_text): New methods to customize
3570 the "done" button label in the launched HildonPickerDialog. Also,
3573 * src/hildon-picker-button.h: add the public API.
3575 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3577 * src/hildon-date-selector.h:
3578 * src/hildon-picker-dialog.h:
3579 * src/hildon-time-selector.h:
3580 * src/hildon-touch-selector-column.h:
3581 * src/hildon-touch-selector.h:
3583 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3584 declarations. Fixes gtk-doc warnings.
3586 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-picker-dialog.h
3589 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3590 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3592 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3593 long text is set as label for done button)
3595 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3597 * src/hildon-dialog.c (hildon_dialog_add_button):
3598 Set fixed width to all buttons in the HildonDialog.
3600 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3602 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3604 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3605 Set widget name using class name plus "-finger" or "-thumb".
3607 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3609 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3610 'clicked' when the state of the button is manually changed.
3612 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3614 * src/hildon-app-menu.c (hildon_app_menu_realize)
3615 (hildon_app_menu_unrealize, hildon_app_menu_init)
3616 (hildon_app_menu_class_init, item_visibility_changed):
3617 Change the menu layout when the size of the screen changes.
3618 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3619 Show warning only when changing the number of colums using the
3622 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3624 * debian/compat: Set to 5
3625 * debian/control: Update dependencies.
3626 * debian/libhildon1-dbg.install: Remove.
3627 * debian/libhildon1-dev.install: Update according to cdbs paths.
3628 * debian/libhildon1.install: Update according to cdbs paths.
3629 * debian/rules: Switch to cdbs.
3631 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3633 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3634 'item' variable renamed to 'filter'
3636 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3638 * src/hildon-app-menu.c (hildon_app_menu_insert)
3639 (hildon_app_menu_add_filter, remove_item_from_list)
3640 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3641 Don't leak hidden items when the menu is destroyed.
3643 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3645 * src/hildon-app-menu.c (hildon_app_menu_insert)
3646 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3647 (hildon_app_menu_set_columns, item_visibility_changed)
3648 (filter_visibility_changed, hildon_app_menu_repack_filters)
3649 (hildon_app_menu_repack_items):
3650 Repack items and filters separately.
3652 Don't repack all items, change only the ones that are needed to
3655 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3657 * src/Makefile.am: added hildon-touch-selector-column.h
3659 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3661 * src/hildon-touch-selector.c: added the property "text-column" to the
3662 class HildonTouchSelectorColumn, and related get/set functions
3663 (_default_printf_func): updated to use "text-column" property
3664 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3665 "text-column" in his documentation, as this is now included on
3666 HildonTouchSelectorColumn. The get/set_property can still be used,
3667 working as a wrapper to the concrete column "text-column" property
3668 (_text_column_modified): callback added in order to handle the signal
3669 "notify::text-column" of the concrete HildonTouchSelectorColumn
3670 (hildon_touch_selector_entry_get_text_column)
3671 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3672 modified in order to use the HildonTouchSelectorColumn "text-column"
3674 * src/hildon-time-selector.c:
3675 * src/hildon-date-selector.c:
3676 * examples/hildon-touch-selector-example.c
3677 * examples/hildon-touch-selector-multi-cells-example.c
3678 * examples/hildon-picker-button-multicolumn-example.c
3679 Set the right value to "text-column" property on the creation of a new
3680 column using hildon_touch_selector_append_column()
3682 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3684 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3686 * src/hildon-app-menu.c
3687 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3688 updating the layout of the menu, don't create all widgets again,
3689 just repack the items in their new places.
3691 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3693 * src/hildon-time-selector.c
3694 (hildon_time_selector_get_time)
3695 (hildon_time_selector_set_time)
3696 Added documentation of these public methods
3698 * src/hildon-date-button.h
3699 * src/hildon-touch-selector-column.h
3700 * src/hildon-time-button.h
3701 * src/hildon-picker-dialog.h
3702 * src/hildon-time-selector.h
3703 * src/hildon-picker-button.h
3704 * src/hildon-touch-selector.h
3705 * src/hildon-time-picker.h
3706 * src/hildon-date-selector.h
3707 * src/hildon-touch-selector-entry.h
3708 Modified in order to use hildon-widgets code style
3710 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3712 Added deprecated support to the compilation process using
3713 HILDON_DISABLE_DEPRECATED
3715 * configure.ac: Added the --disable-deprecated to the configure
3718 * src/hildon-weekday-picker.c:
3719 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3720 to use the deprecated support. We will update the other deprecated
3721 widgets status in a new patch.
3723 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3725 * configure.ac: Fixed typo with fatal warnings support, the
3726 variable name was not correct
3728 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3730 * src/hildon-app-menu.c
3731 * src/hildon-program.c: Update documentation.
3733 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3735 * configure.ac: Post-release version bump.
3737 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3742 * configure.ac: Pre-release version bump.
3743 * debian/changelog: Updates.
3745 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3747 * NEWS: Update news for previous releases.
3749 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3751 * examples/hildon-touch-selector-multi-cells-example.c:
3752 (create_selector): Update the example to use
3753 hildon_touch_selector_append_column() with a NULL renderer and set
3754 the renderers later.
3755 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3756 passed a NULL renderer. This is documented behavior now.
3758 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3759 This must be used if the developer wants full control on the layout of
3760 the renderers to be added to the column.
3762 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3764 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-touch-selector.c: Documentation fixes.
3768 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-wizard-dialog-private.h: Remove image and box.
3771 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3772 (hildon_wizard_dialog_set_property), (response): Completely remove
3773 image/icon support, and the containers required for the layout.
3775 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3777 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-app-menu.c: Updated documentation.
3781 * src/hildon-stackable-window.c
3782 (hildon_stackable_window_set_main_menu): Unref the old menu after
3783 ref'ing the new one.
3785 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-stackable-window.c
3788 (hildon_stackable_window_set_main_menu): Unref the previous menu
3789 instead of destroying it.
3791 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3792 floating reference and set has_user_ref_count to FALSE to make
3793 HildonAppMenu act like a normal ref-counted widget and not a
3796 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3799 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3801 * src/hildon-touch-selector-column.h: new file
3802 * src/hildon-touch-selector.h
3803 * src/hildon-touch-selector.c
3804 Implemented GtkCellLayout interface, in order to allow to configure
3805 the cell layout on each individual selector column
3806 (hildon_touch_selector_set_column_attributes): marked as deprecated
3807 * examples/hildon-touch-selector-multi-cells-example.c
3808 Example of how to use the GtkCellLayout interface on the selector
3810 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3812 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3814 * src/hildon-app-menu.h
3815 * src/hildon-app-menu.c
3816 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3817 (hildon_app_menu_append, hildon_app_menu_prepend):
3818 New methods to prepend, insert and move items in the menu.
3820 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-wizard-dialog.c:
3824 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3826 (create_title): Update logical IDs and related code.
3827 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3829 * src/hildon-wizard-dialog.h: Note that
3830 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3831 point, as it is not used anymore.
3833 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3835 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3837 * src/hildon-note.c:
3838 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3839 shown. Do not display an icon in confirmation notes nor information
3841 (hildon_note_set_button_text): Update logical ID for cancel button.
3843 Fixes: NB#88850 (Update HildonNote button strings + signals)
3845 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-stackable-window.c
3848 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3850 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3852 * src/hildon-app-menu-private.h
3853 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3854 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3855 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3856 temporary property 'columns' to change the number of columns.
3858 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3860 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3862 * examples/hildon-note-example.c: (on_information_clicked),
3863 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3864 debugging information.
3865 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3867 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3868 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3869 in order to close: this will be handled by the WM from now on.
3871 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3873 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3875 * src/hildon-app-menu-private.h
3876 * src/hildon-app-menu.c
3877 (hildon_app_menu_append, hildon_app_menu_add_filter)
3878 (button_visibility_changed, hildon_app_menu_apply_style)
3879 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3880 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3881 layout everytime a button (item or filter) is shown or hidden.
3883 * src/hildon-stackable-window.c
3884 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3887 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3889 * src/hildon-touch-selector.c:
3890 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3891 that the treeview inside the touch selector is in fremantle hildon mode
3892 * examples/hildon-date-button-example.c
3893 * examples/hildon-picker-button-multicolumn-example.c
3894 * examples/hildon-touch-selector-entry-example.c
3895 * examples/hildon-touch-selector-example.c
3896 * examples/hildon-time-button-example.c
3897 * examples/hildon-picker-button-example.c:
3898 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3900 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3902 * examples/hildon-text-view-example.c: (main): Remove the
3903 gtkrc bits, now handled by the theme.
3905 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3910 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3912 * po/Makefile.am: Install properly the mo files.
3913 * po/en_GB.po: Update translation, to ease testing purposes.
3915 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3917 * examples/hildon-picker-button-example.c: (main): Select an item
3918 in the selector before setting it to the button.
3920 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3922 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3923 Update button's value if the selector has an item active.
3925 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3926 'value' with the selector)
3928 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3930 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3931 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3932 (hildon_picker_button_class_init): Plug the finalize method.
3933 (hildon_picker_button_set_selector): If there's a previously set
3934 selector, unref'it before setting a new one.
3936 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3937 HildonTouchSelector)
3939 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3941 * src/hildon-touch-selector-entry.c:
3942 (hildon_touch_selector_entry_changed): Check if there is no text
3943 selected before setting the entry text.
3946 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3948 * src/hildon-touch-selector.h
3949 * src/hildon-touch-selector.c
3950 (hildon_touch_selector_get_active)
3951 (hildon_touch_selector_set_active): New methods to set/get the
3952 index of the selected item.
3954 * src/hildon-picker-button.h
3955 * src/hildon-picker-button.c
3956 (hildon_picker_button_get_active)
3957 (hildon_picker_button_set_active): New methods to set/get the
3958 index of the selected item.
3960 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3962 * configure.ac: post-release version bump.
3964 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3968 * configure.ac: Pre-release version bump.
3969 * debian/changelog: Updates.
3970 * debian/control: Add myself as maintainer and depend on l10n
3973 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3975 * src/hildon-window.c
3976 (hildon_window_set_main_menu)
3977 * src/hildon-stackable-window.c
3978 (hildon_stackable_window_set_main_menu):
3979 Updated documentation.
3981 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3984 Don't free selector->priv manually.
3987 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3990 (hildon_gtk_window_set_progress_indicator):
3991 * src/hildon-gtk.h: Added the new API
3992 hildon_gtk_window_set_progress_indicator, it changes the state of
3993 the window progress hint.
3995 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3997 * src/hildon-button.c
3998 * src/hildon-stackable-window.c: Minor documentation updates.
4000 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4002 * src/hildon-stackable-window.c: Updated documentation.
4004 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4006 * src/hildon-defines.h: Update margins definitions
4007 to the Fremantle sizes.
4010 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4012 * src/hildon-touch-selector.c,
4013 (_hildon_touch_selector_set_model): Cleaning the code after
4014 review, removed g_print and #if 0 from the code.
4016 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4018 * src/hildon-edit-toolbar.c: Update documentation.
4020 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4022 * src/hildon-check-button.h
4023 * src/hildon-check-button.c
4024 (hildon_check_button_set_label, hildon_check_button_get_label)
4025 * examples/hildon-check-button-example.c
4026 (button_clicked_cb):
4027 Removed deprecated methods.
4029 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4031 * src/hildon-text-view.c:
4032 Add sample code to the documentation.
4034 * src/hildon-entry.h
4035 * src/hildon-text-view.h:
4036 Minor cosmetic changes.
4038 * src/hildon-entry.c:
4039 Add sample code to the documentation.
4040 (hildon_entry_init, hildon_entry_refresh_contents):
4041 Don't allow NULL values in the placeholder.
4043 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4045 * doc/hildon-docs.sgml
4047 * examples/Makefile.am
4048 * examples/hildon-text-view-example.c
4050 * src/hildon-text-view.c
4051 * src/hildon-text-view.h
4053 New HildonTextView widget, with example.
4055 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4057 * po/POTFILES.in: Add missing files with translatable strings.
4058 Partially fixes NB#88287.
4060 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4062 * examples/hildon-pannable-area-example-2.c: (main): No need to
4063 set the cellrenderer height inside hildon touch lists, the theme does
4066 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4068 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4069 they are integrated in the theme.
4071 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4073 * examples/hildon-entry-example.c: Update the example adding
4074 widgets to modify the text and the placeholder of the HildonEntry.
4076 * src/hildon-entry.c: Show the placeholder everytime the widget
4077 is empty and loses the focus.
4079 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4081 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4083 * src/hildon-pannable-area.c,
4084 (hildon_pannable_area_size_request): Fixed bug in height
4085 requisition, avoid increasing size and add border twice.
4087 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4089 * configure.ac: postrelease version bump.
4091 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4095 * configure.ac: Prerelease version bump.
4096 * debian/changelog: update.
4097 * debian/rules: make -dbg package contain useful debugging symbols.
4099 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4101 * src/hildon-dialog.h
4102 * src/hildon-dialog.c
4103 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4104 New methods to add buttons with finger size.
4105 (hildon_dialog_new_with_buttons):
4106 Create buttons with finger size.
4108 * examples/hildon-dialog-example.c (main): Use HildonDialog
4109 methods to add buttons.
4111 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4113 * src/hildon-entry.c: Updated HildonButton documentation.
4115 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4118 button value label with (FALSE, FALSE) to prevent NB#88126 from
4121 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4123 * examples/hildon-pannable-area-example.c,
4124 (main): Removed examples panning a vbox inside a pannable
4125 area. Check bug NB#87965
4127 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4129 Patch contributed by Kris Rietveld (kris@imendio.com)
4131 * src/hildon-pannable-area.c,
4132 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4133 get_size and get_position, this saves an X server roundtrip.
4135 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4137 * doc/hildon-docs.sgml
4139 * examples/Makefile.am
4140 * examples/hildon-entry-example.c
4142 * src/hildon-entry.c
4143 * src/hildon-entry.h
4145 New HildonEntry widget, with example.
4147 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4149 * src/hildon-button.c (hildon_button_construct_child): Pack the
4150 image with expand == fill == FALSE. This is a workaround for a bug
4153 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4155 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4156 labels for the text column, to make it more look more dynamic.
4158 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4160 * src/hildon-time-selector.c
4161 Define gettext auxiliar macro N_
4162 (_create_minutes_model)
4163 (_create_hours_model)
4164 (_create_ampm_model): use of strftime in order to fill the model
4165 * src/hildon-date-selector.c
4166 (hildon_date_selector_finalize):
4167 (_locales_init): remove the logic related to get the name of the months
4168 using nl_langinfo, as it is not required anymore
4170 (_create_year_model)
4171 (_create_month_model)
4172 (_update_day_model): use of strftime in order to fill the model properly
4175 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4177 * src/hildon-button.h
4178 * src/hildon-button.c (hildon_button_get_image): New method to
4181 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4183 * src/hildon-touch-selector.c:
4184 (hildon_touch_selector_remove_column): Remove from the correct parent
4185 and also remove the list element and free it.
4188 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4190 * src/hildon-time-selector.c
4191 (_create_hours_model): change the range on 12h ampm format in order to use
4192 a 12-11 range instead of previous 01-12 range
4193 (hildon_time_selector_set_time): change the way to select the current time
4194 on 12h ampm format, due the change on the range
4195 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4198 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4200 * src/hildon-touch-selector.c
4201 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4202 in order to allow use this function on multiple row selection mode if
4203 the column is different that the first one
4206 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4208 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4209 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4211 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4213 * src/hildon-date-selector.h: clean some comments, now on the .c
4214 * src/hildon-date-selector.c
4215 (hildon_date_selector_select_month): first implementation
4216 (hildon_date_selector_select_day): added documentation, reimplemented
4217 using hildon_date_selector_select_current_date to avoid repeat code
4220 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4222 Reviewed interaction logic based on device experiences, refactored
4225 * src/hildon-pannable-area.c,
4226 (hildon_pannable_area_class_init): Updated default vmax speed.
4227 (hildon_pannable_area_calculate_velocity): Added this function, it
4228 avoids duplicate valocity calculation. Adjusted calculation to
4229 avoid problems with zero dist events.
4231 (hildon_pannable_area_motion_notify_cb): Now we use the
4232 calculate_velocity function.
4234 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4236 * src/hildon-date-selector.c
4237 (hildon_date_selector_select_current_date): fix the day range check
4238 as it failed using the last day of the current month
4241 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4243 * src/hildon-touch-selector.c
4244 (hildon_touch_selector_get_num_columns): added a parameter validation
4247 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4249 * examples/Makefile.am
4250 * examples/hildon-edit-toolbar-example.c: Example of the
4251 HildonEditToolbar widget.
4253 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4255 * configure.ac: postrelease version bump.
4257 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4261 * configure.ac: prerelease version bump.
4262 * debian/changelog: update.
4264 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4266 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4267 renderer to display stock icons in the touch list. Also, set the sizes
4268 to the recommended in the style guide.
4270 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4271 * src/hildon-touch-selector.h
4272 (hildon_touch_selector_set_active_iter): renamed, now is
4273 hildon_touch_selector_select_iter
4274 (hildon_touch_selector_get_active_iter): renamed, now is
4275 hildon_touch_selector_get_selected
4276 (hildon_touch_selector_unselect_iter): added
4277 * src/hildon-touch-selector.c
4278 Update after API modification (methods renamed)
4279 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4280 order to avoid problems selecting multiple elements on the column
4281 (hildon_touch_selector_unselect_iter): added the implementation
4282 * src/hildon-time-selector.c
4283 * src/hildon-date-selector.c
4284 * src/hildon-touch-selector-entry.c
4285 Update methods calls after hildon-touch-selector.h API modification (methods
4288 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4290 * src/hildon-stackable-window.c
4291 (hildon_stackable_window_finalize): Call the parent class's finalize.
4293 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4295 * examples/hildon-touch-selector-example.c: (create_selector): Use
4296 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4299 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4301 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4302 set a cell background color, to respect theming.
4304 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4306 * doc/hildon-docs.sgml
4309 * src/hildon-edit-toolbar.c
4310 * src/hildon-edit-toolbar.h
4311 * src/hildon.h: New HildonEditToolbar widget.
4313 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4315 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4318 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4319 * src/hildon-touch-selector.c
4320 (_create_new_column): use g_object_set instead of two g_object_set_property
4322 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4323 * src/hildon-touch-selector.c
4324 (_create_new_column): use of hildon_gtk_tree_view_new to create
4325 the treeview, instead of use directly g_object_new
4326 (_create_new_column): update the property name "vindicator-mode" for the
4327 new one "vscrollbar-policy"
4328 * examples/hildon-date-button-example.c
4329 * examples/hildon-picker-button-multicolumn-example.c
4330 * examples/hildon-touch-selector-entry-example.c
4331 * examples/hildon-touch-selector-example.c
4332 * examples/hildon-time-button-example.c
4333 * examples/hildon-picker-button-example.c
4334 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4335 to all the treeviews inside a pannable area.
4337 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4339 * src/hildon-button.h
4340 * src/hildon-button.c (hildon_button_init)
4341 (hildon_button_set_arrangement, hildon_button_set_alignment)
4342 (hildon_button_set_title_alignment)
4343 (hildon_button_set_value_alignment)
4344 (hildon_button_set_image_alignment)
4345 (hildon_button_construct_child): New methods to set the alignment
4346 of the individual components of the button (title, value,
4347 image). Also, new method to alter the xscale and yscale properties
4348 of the GtkAlignment inside the button, so more complex layouts can
4351 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4353 * src/hildon-button.c (hildon_button_style_set)
4354 (hildon_button_class_init, hildon_button_set_arrangement)
4355 (hildon_button_construct_child): Apply style properties
4356 correctly. Use the 'image-spacing' style property too.
4358 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4360 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4361 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4364 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4366 * src/hildon-pannable-area.c,
4367 (hildon_pannable_area_size_request): Fixed problem with
4368 pannable-area size_request.
4370 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4372 Added management for the grab-focus to a child widget, like a
4373 range, we need to fade out the scrollbar when releasing.
4375 * src/hildon-pannable-area.c,
4376 (hildon_pannable_area_init): Connected the grab-focus signal to
4378 (hildon_pannable_area_grab_notify): Added this function in order
4379 to manage the situation when the grab-focus ends. We have to
4380 fade-out the scrollbar.
4382 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-app-menu.c: Minor documentation update.
4386 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4388 * src/hildon-app-menu.c
4389 * examples/hildon-app-menu-example.c (create_menu): Update
4390 examples and documentation to explain how to connect callbacks.
4392 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4394 * examples/hildon-button-example.c
4395 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4396 hildon_stackable_window_new instead of gtk_window_new
4398 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4400 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4401 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4402 (hildon_pannable_area_set_property),
4403 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4404 (hildon_pannable_area_unrealize),
4405 (hildon_pannable_area_size_request),
4406 (hildon_pannable_area_size_allocate),
4407 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4408 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4409 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4410 (hildon_pannable_area_initial_effect),
4411 (hildon_pannable_area_redraw),
4412 (hildon_pannable_area_scroll_indicator_fade),
4413 (hildon_pannable_area_expose_event),
4414 (hildon_pannable_area_get_topmost), (synth_crossing),
4415 (hildon_pannable_area_button_press_cb),
4416 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4417 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4418 (hildon_pannable_area_motion_notify_cb),
4419 (hildon_pannable_area_button_release_cb),
4420 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4421 (hildon_pannable_area_remove),
4422 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4423 chage the code layout to a more GtkWidget like. Review the use of
4426 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4428 * examples/hildon-pannable-area-example-4.c,
4429 (main): Modified the name of the hindicator_mode to
4432 * src/hildon-pannable-area.c,
4433 (hildon_pannable_area_class_init),
4434 (hildon_pannable_area_motion_notify_cb),
4435 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4436 we have reduced the amount of signals and managed reviewed its
4437 rationale. Changed the default decelerate value.
4439 (hildon_pannable_area_add),
4440 (hildon_pannable_area_redraw): Refactored functions.
4442 (hildon_pannable_area_init),
4443 (hildon_pannable_area_get_property),
4444 (hildon_pannable_area_set_property):
4445 (hildon_pannable_draw_vscroll),
4446 (hildon_pannable_draw_hscroll),
4447 (hildon_pannable_area_initial_effect),
4448 (hildon_pannable_area_expose_event),
4449 (hildon_pannable_area_scroll),
4450 (hildon_pannable_area_button_press_cb),
4451 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4452 and vindicator_mode with hscrollbar_policy and
4453 vscrollbar_policy. Replaced hscroll and vscroll with
4454 hscroll_visible and vscroll_visible.
4456 (hildon_pannable_area_refresh): Refactor the function, remove
4457 variables and check the calls to this function, added resize
4458 conditions in case the children change their layout.
4460 (hildon_pannable_area_size_request): Added more detailed
4461 size_request calculation.
4464 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4466 * src/hildon-color-chooser.c
4467 (init_borders): use the correct gtk_border_free instead of g_free, to
4468 avoid a crash when this widget is used (ie: the three color selection
4471 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4473 * src/hildon-check-button.c,
4474 (hildon_check_button_set_active): Fixed problem when setting the
4475 active value, the widget was not redrawn.
4477 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4479 * src/hildon-pannable-area.c,
4480 (hildon_pannable_area_refresh),
4481 (hildon_pannable_area_scroll),
4482 (hildon_pannable_area_motion_notify_cb): Small code style change.
4484 (hildon_pannable_area_class_init): Default initial_hint set to
4485 FALSE, it is not in the specs.
4487 (hildon_pannable_area_initial_effect),
4488 (hildon_pannable_area_expose_event),
4489 (hildon_pannable_area_map),
4490 (hildon_pannable_area_init): Moved the launching point of the
4491 initial effect, it was in map but the sizes where not correct in
4492 that method so we do not know if we have the reproduce it. Now it
4493 is placed in the expose_event method and uses a variable to
4494 reproduce it just once.
4496 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4498 * src/hildon-pannable-area.c,
4499 (hildon_pannable_draw_vscroll),
4500 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4501 position allowed for the scrollbars.
4503 (hildon_pannable_area_size_allocate): Small style change.
4505 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4507 * src/hildon-pannable-area.c,
4508 (hildon_pannable_area_scroll_indicator_fade),
4509 (hildon_pannable_area_button_press_cb),
4510 (hildon_pannable_area_button_release_cb),
4511 (hildon_pannable_area_scroll_cb),
4512 (hildon_pannable_area_expose_event),
4513 (hildon_pannable_area_init): Added the define parameter
4514 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4515 and refactor the fade variable.
4517 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4519 * src/hildon-pannable-area.c,
4520 (hildon_pannable_area_redraw),
4521 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4522 lines, we were reimplemeting the redraw code.
4524 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4526 * src/hildon-pannable-area.c,
4527 (hildon_pannable_area_scroll_cb),
4528 (hildon_pannable_area_realize),
4529 (hildon_pannable_area_class_init): Added scroll_event management
4530 for pannable area, now we can scroll the usual desktop method.
4532 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4533 initialization of the parameters should depend on idle_id.
4535 (hildon_pannable_area_init),
4536 (hildon_pannable_area_map): Small code style modifications
4538 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4540 * src/hildon-pannable-area.c
4541 (hildon_pannable_area_button_press_cb),
4542 (hildon_pannable_area_motion_notify_cb),
4543 (hildon_pannable_area_button_release_cb),
4544 (hildon_pannable_area_size_allocate),
4545 (hildon_pannable_area_scroll_to): Improved the timeouts
4546 management, we avoid creating them each time.
4548 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4550 * src/hildon-pannable-area.c:
4551 (hildon_pannable_area_refresh),
4552 (hildon_pannable_area_motion_notify_cb),
4553 (hildon_pannable_area_class_init):
4554 * src/hildon-pannable-area.h:
4555 * src/hildon-touch-selector.c
4556 (_create_new_column):
4557 * examples/hildon-pannable-area-example-4.c:
4558 (horizontal_movement),
4559 (vertical_movement),
4561 Replaced the names of enums in the HildonPannableArea:
4562 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4563 HILDON_MOVEMENT_MODE_*
4564 - HILDON_PANNABLE_AREA_MOV_* ->
4566 - Removed HildonPannableAreaIndicatorMode, now we
4569 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4571 * examples/hildon-pannable-area-touch-grid-example.c
4572 * examples/hildon-pannable-area-touch-list-example.c: Fix
4573 compilation warnings.
4575 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4577 * src/hildon-gtk.c (hildon_gtk_button_new)
4578 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4579 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4580 images overriding the value of the "gtk-button-images" setting.
4582 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4584 * src/hildon-check-button.c (hildon_check_button_new):
4585 Instead of using a custom container, display the label and the
4586 checkbox using the standard GtkButton API.
4588 * examples/hildon-check-button-example.c (main): Don't use
4589 hildon_check_button_set_label() anymore
4591 * src/hildon-check-button.h
4592 * src/hildon-check-button.c
4593 (hildon_check_button_set_label, hildon_check_button_get_label):
4594 Set as deprecated, now we're using gtk_button_{get,set}_label()
4596 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4598 * src/hildon-pannable-area.c,
4599 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4600 GtkTreeview first line we detected it after the inclusion of the
4601 GtkWindowImpl in gtk+. We now check if the window is visible, not
4602 just if the pointer is over the window.
4603 (hildon_pannable_axis_scroll),
4604 (hildon_pannable_area_expose_event): Small style changes.
4606 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4608 * src/hildon-button.c: Update documentation.
4610 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4612 * examples/hildon-button-example.c: Add a switch to show images in
4615 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4617 * doc/hildon-docs.sgml: Some docs reorganization.
4619 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4621 * examples/hildon-pannable-area-touch-list-example.c
4623 * examples/hildon-pannable-area-touch-grid-example.c
4624 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4625 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4626 Fix memory leak when setting the tree model.
4628 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4632 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4634 * doc/hildon.types: Remove duplicated hildon_window_get_type
4635 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4636 documentation comment.
4638 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4640 * doc/Makefile.am: Complete list of private headers.
4642 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4644 * doc/hildon-docs.sgml
4645 * src/hildon-app-menu.c
4646 * src/hildon-bread-crumb.c
4647 * src/hildon-button.c
4649 * src/hildon-program.c
4650 * src/hildon-stackable-window.c
4651 * src/hildon-window.c: Lots of documentation updates.
4653 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4655 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4657 * configure.ac: Require Gtk+ 2.12.9 at least
4659 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4661 * src/hildon-pannable-area.c
4662 (hildon_pannable_area_scroll_indicator_fade),
4663 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4664 to protect the return of this timeout callbacks, avoiding deadlocks.
4666 2008-08-12 Christian Dywan <christian@imendio.com>
4669 * src/hildon-*.h: Ensure a consistent include order,
4670 include <gtk/gtk.h> instead of particular files and
4671 only include the topmost header in the gtk stack. See NB #39857
4673 2008-08-12 Christian Dywan <christian@imendio.com>
4675 * src/hildon-picker-dialog.c
4676 * src/hildon-touch-selector.c: Fix warnings about unused and
4677 uninitialized variables.
4679 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4681 * examples/Makefile.am
4682 * examples/hildon-check-button-example.c: Example of the hildon
4685 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4687 * src/hildon-window.h
4688 * src/hildon-window.c (hildon_window_class_init)
4689 (hildon_window_unset_program): Don't make
4690 hildon_window_unset_program a virtual function anymore.
4692 * src/hildon-stackable-window.c: Update documentation
4694 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4697 * doc/hildon-docs.sgml
4698 * doc/visual_index.xml
4699 * src/hildon-defines.c
4701 * src/hildon-helper.c
4702 * src/hildon-range-editor.c: Lots of documentation fixes.
4704 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4706 * examples/hildon-picker-button-multicolumn-example.c
4707 (create_touch_selector): Fix compilation warning.
4709 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4712 (hildon_pannable_area_button_release_cb)
4713 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4715 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4717 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4720 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-bread-crumb-trail.h
4723 * src/hildon-date-editor.c
4724 * src/hildon-date-selector.c
4725 * src/hildon-pannable-area.c
4726 * src/hildon-picker-dialog.c
4727 * src/hildon-time-selector.c
4728 * src/hildon-touch-selector-entry.c
4729 * src/hildon-touch-selector.c
4730 * src/hildon-touch-selector.h: Misc documentation fixes
4732 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4734 * examples/hildon-date-editor-example.c (main): Updated date
4737 * examples/hildon-note-example.c (on_confirmation_clicked):
4738 Updated confirmation note example.
4740 * src/hildon-date-editor.c
4741 * src/hildon-note.c: Updated sample programs in documentation.
4744 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4746 * src/hildon-date-button.h:
4747 * src/hildon-picker-button.h:
4748 * src/hildon-time-button.c:
4749 * src/hildon-time-button.h:
4751 Some declarations changes to allow gtk-doc to document the widgets
4754 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4756 * src/hildon-date-button.c: Document the widget.
4757 * src/hildon-time-button.c: Document the widget.
4759 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4761 * src/hildon-picker-button.c: Document the widget.
4762 * src/hildon-touch-selector-entry.c: Document the widget.
4764 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4766 * doc/hildon-docs.sgml
4769 * src/hildon-check-button.h
4770 * src/hildon-check-button.c: New functions to create the Hildon
4774 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4776 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4778 * src/hildon-button.h
4779 * src/hildon-button.c
4780 (hildon_button_add_title_size_group)
4781 (hildon_button_add_value_size_group)
4782 (hildon_button_add_image_size_group)
4783 (hildon_button_add_size_groups): New functions to set size groups
4784 for the button labels and image.
4785 (hildon_button_new_full): Removed
4787 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4789 * src/hildon-time-selector.c
4790 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4791 in order to avoid a crash if gconf is not available
4793 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4795 * src/hildon-button.c (hildon_button_set_arrangement)
4796 (hildon_button_construct_child): Don't construct the button child
4797 before setting the arrangement.
4799 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4801 * src/hildon-program-private.h
4802 * src/hildon-program.c
4803 * src/hildon-program.h
4804 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4805 (hildon_program_peek_window_stack)
4806 (hildon_program_pop_window_stack)
4807 (hildon_program_go_to_root_window): HildonProgram now has a
4808 separate list for stackable windows. Functions are provided to
4809 manage that list with a stack-like API.
4811 * src/hildon-stackable-window.c: Stackable window management is
4812 now much simpler with the new HildonProgram API. Windows no
4813 longer need to be manually added to the program, they're
4814 automatically pushed to the top of the stack when shown.
4816 * examples/hildon-stackable-window-example.c: Updated example to
4817 reflect the API changes.
4819 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/hildon-touch-selector.c: Comment out unimplemented
4822 hildon_touch_selector_insert_column() to avoid a compile warning.
4824 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4826 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4827 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4828 (hildon_touch_selector_set_column_selection_mode),
4829 (_hildon_touch_selector_set_model),
4830 (hildon_touch_selector_set_model):
4832 Complete review of HildonTouchSelector documentation.
4834 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4836 * doc/hildon-docs.sgml
4840 * src/hildon-gtk.c: Convenience functions for standard Gtk
4841 widgets, used to easily perform frequent operations.
4843 * src/hildon-button-helpers.h
4844 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4846 * src/hildon-helper.h
4847 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4848 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4850 * src/hildon-button.h
4851 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4853 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4855 * src/hildon-button.c (hildon_button_init)
4856 (hildon_button_set_arrangement, hildon_button_construct_child):
4857 Pack the image and the labels inside the same GtkAlignment so
4858 gtk_button_set_alignment() can be used
4860 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4862 * src/hildon-button.h
4863 * src/hildon-button.c
4864 (hildon_button_init, hildon_button_set_image)
4865 (hildon_button_set_image_position)
4866 (hildon_button_construct_child): New functions to add an image to
4869 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4871 * src/hildon-date-button.c
4872 * src/hildon-picker-button.c
4873 * src/hildon-time-button.c
4874 * src/hildon-button.c:
4875 (hildon_button_class_init): "size-flags" renamed to "size"
4876 (hildon_button_set_title): Hide the title label if set to NULL.
4878 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4880 HildonButtonFlags split into HildonButtonArrangement (to set the
4881 button layout) and HildonSizeType (which can be used for any
4884 * src/hildon-button.h
4885 * src/hildon-button.c
4886 (hildon_button_class_init)
4887 (hildon_button_set_arrangement)
4888 (hildon_button_set_property): New "size-flags"
4889 property. "arrangement-flags" renamed to "arrangement".
4890 (hildon_button_new, hildon_button_new_with_text)
4891 (hildon_button_new_full): Constructors updated to reflect type changes.
4893 * src/hildon-helper.h
4894 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4895 to set the size of a widget.
4899 * src/hildon-button-helpers.c
4900 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4902 * src/hildon-date-button.c
4903 * src/hildon-date-button.h
4904 * src/hildon-picker-button.c
4905 * src/hildon-picker-button.h
4906 * src/hildon-time-button.c
4907 * src/hildon-time-button.h: Updated widgets to reflect
4908 HildonButton API changes.
4910 * examples/hildon-button-example.c
4911 * examples/hildon-date-button-example.c
4912 * examples/hildon-picker-button-example.c
4913 * examples/hildon-picker-button-multicolumn-example.c
4914 * examples/hildon-time-button-example.c
4915 * examples/hildon-touch-selector-entry-example.c
4916 * examples/hildon-touch-selector-example.c: Updated examples to
4917 reflect HildonButton API changes.
4919 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4921 * doc/hildon-docs.sgml:
4923 * examples/Makefile.am:
4924 * examples/hildon-touch-selector-entry-example.c:
4926 * src/hildon-touch-selector-entry.c:
4927 * src/hildon-touch-selector-entry.h:
4930 Moved HildonTouchSelectorEntry from sandbox. Added its
4931 documentation and examples.
4933 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-touch-selector.h:
4936 * examples/hildon-picker-button-multicolumn-example.c:
4937 (hildon_touch_selector_append_text_column): Add a gboolean
4938 parameter to determine if text must be centered in the column.
4940 * src/hildon-date-selector.c: (hildon_date_selector_init):
4941 * src/hildon-time-selector.c: (hildon_time_selector_init):
4942 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4943 (create_touch_selector): Update widgets and example to reflect
4946 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4948 * src/hildon-touch-selector.c:
4949 (hildon_touch_selector_set_active_iter): Set also the cursor in
4952 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4954 * doc/hildon-docs.sgml
4957 * src/hildon-toggle-button.c
4958 * src/hildon-toggle-button.h
4959 * src/hildon.h: Removed HildonToggleButton widget, a derived
4960 class is not necessary for this.
4962 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4964 * src/hildon-pannable-area.c,
4965 (hildon_pannable_area_realize),
4966 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4969 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4971 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4972 "done" button the default widget for the dialog.
4974 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4976 * src/hildon-touch-selector.c:
4977 (hildon_touch_selector_class_init),
4978 (hildon_touch_selector_get_property),
4979 (_hildon_touch_selector_set_model),
4980 (_hildon_touch_selector_has_multiple_selection),
4981 (hildon_touch_selector_has_multiple_selection):
4982 Add a "has-multiple-selection" property with a virtual
4983 has_multiple_selection() method to allow derived classes to
4984 override the default value for it. See the method and property
4985 documentation for details.
4987 * src/hildon-touch-selector.h: Add the new API.
4989 * src/hildon-picker-dialog.c: (requires_done_button): Call
4990 hildon_touch_selector_has_multiple_selection() instead of
4991 determining the need for a button itself.
4993 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4995 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4996 (_hildon_touch_selector_set_model),
4997 (hildon_touch_selector_set_model): Move working code to
4998 _hildon_touch_selector_set_mode(). Call the class method instead.
5000 * src/hildon-touch-selector.h: Add (*set_model) to
5001 HildonTouchSelectorClass.
5003 Make hildon_touch_selector_set_model() a virtual method, so that
5004 derived classes can extend it and do fancy stuff with the model.
5006 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5008 * configure.ac: Set back the tarname in AC_INIT to hildon.
5010 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5014 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5015 instead of libesd (NB#86876). Volume handling is still an open issue.
5017 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5020 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5022 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5023 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5024 derived class to ease placement of an entry widget in
5025 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5026 end, where the selector columns are packed now.
5028 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5030 * src/hildon-picker-button.c: Removed the simple _text() API.
5031 * src/hildon-picker-button.h: Likewise.
5033 * src/hildon-touch-selector.h:
5034 * src/hildon-touch-selector.c:
5035 (hildon_touch_selector_new_text),
5036 (hildon_touch_selector_append_text),
5037 (hildon_touch_selector_prepend_text),
5038 (hildon_touch_selector_insert_text):
5040 Moved the simple _text() API from HildonPickerButton to
5041 HildonTouchPicker, to provide better escalability and not to tie
5042 that API to HildonPickerButton.
5044 * examples/hildon-picker-button-example.c: (main): Example updated.
5046 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5048 * src/hildon-button.c: Updated documentation.
5050 * examples/hildon-button-example.c: Add the posibility to create
5051 the buttons using horizontal layout for title and value.
5053 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-app-menu-private.h
5056 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5057 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5058 GtkSizeGroup for the filters, use the 'homogeneous' property of
5061 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5063 * examples/hildon-button-example.c: Updated example.
5065 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5067 * doc/hildon-docs.sgml:
5070 Update documentation.
5072 * examples/Makefile.am: Update renamed examples.
5074 * examples/hildon-picker-button-multicolumn-example.c:
5075 (create_touch_selector), (main): Update after the rename.
5077 * examples/hildon-touch-picker-example.c: Removed.
5078 * examples/hildon-touch-selector-example.c: (value_changed),
5079 (create_selector), (get_visible_content), (main): Renamed from
5080 hildon-touch-picker-example.c
5082 * src/Makefile.am: Updated renamed files.
5084 * src/hildon-date-button.c: (hildon_date_button_init),
5085 (hildon_date_button_get_date), (hildon_date_button_set_date):
5086 * src/hildon-date-selector.c: (hildon_date_selector_init),
5087 (_custom_print_func), (_update_day_model),
5088 (_manage_selector_change_cb),
5089 (hildon_date_selector_select_current_date),
5090 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5091 * src/hildon-date-selector.h:
5092 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5093 (hildon_picker_button_set_property),
5094 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5095 (hildon_picker_button_init), (hildon_picker_button_new_text),
5096 (hildon_picker_button_append_text),
5097 (hildon_picker_button_prepend_text),
5098 (hildon_picker_button_insert_text),
5099 (hildon_picker_button_set_selector),
5100 (hildon_picker_button_get_selector):
5101 * src/hildon-picker-button.h:
5102 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5103 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5104 (_update_title_on_selector_changed_cb), (requires_done_button),
5105 (_hildon_picker_dialog_set_selector),
5106 (hildon_picker_dialog_set_selector),
5107 (hildon_picker_dialog_get_selector):
5108 * src/hildon-picker-dialog.h:
5109 * src/hildon-time-button.c: (hildon_time_button_init),
5110 (hildon_time_button_get_time), (hildon_time_button_set_time):
5111 * src/hildon-time-selector.c: (hildon_time_selector_init),
5112 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5113 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5114 * src/hildon-time-selector.h:
5117 Massive code updates after the rename.
5119 * src/hildon-touch-picker.c: Removed.
5120 * src/hildon-touch-picker.h: Removed.
5122 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5123 (hildon_touch_selector_init), (hildon_touch_selector_map),
5124 (hildon_touch_selector_remove), (_default_print_func),
5125 (_selection_changed_cb), (_create_new_column),
5126 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5127 (hildon_touch_selector_append_text_column),
5128 (hildon_touch_selector_remove_column),
5129 (hildon_touch_selector_set_column_attributes),
5130 (hildon_touch_selector_insert_column),
5131 (hildon_touch_selector_get_num_columns),
5132 (hildon_touch_selector_get_column_selection_mode),
5133 (hildon_touch_selector_set_column_selection_mode),
5134 (hildon_touch_selector_set_print_func),
5135 (hildon_touch_selector_get_print_func),
5136 (hildon_touch_selector_get_active_iter),
5137 (hildon_touch_selector_set_active_iter),
5138 (hildon_touch_selector_get_selected_rows),
5139 (hildon_touch_selector_get_model),
5140 (hildon_touch_selector_set_model),
5141 (hildon_touch_selector_get_current_text),
5142 (_hildon_touch_selector_center_on_selected_items):
5143 * src/hildon-touch-selector.h: Renamed from
5144 hildon-touch-picker.[ch]
5146 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5147 references, code examples, and related documentation.
5149 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5151 * doc/hildon-docs.sgml
5154 * src/hildon-toggle-button.c
5155 * src/hildon-toggle-button.h
5156 * src/hildon.h: New HildonToggleButton widget.
5158 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-button.c: Add API documentation.
5161 (hildon_button_set_size_groups): Check input parameters
5163 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5165 * src/hildon-pannable-area.c
5166 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5167 effect after reaching the movement thredshold. This way we start
5168 using the distance after passing the thredshold.
5170 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5172 * src/hildon-button.c: (hildon_button_set_property): Use the
5173 appropriate g_value_get_flags() method.
5175 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5177 * doc/hildon-docs.sgml:
5180 Add the touch pickers, picker dialogs, and picker button widgets
5181 to the documentation.
5183 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5185 * src/hildon-button.c: (hildon_button_set_property),
5186 (hildon_button_class_init): Make "arrangement-flags" a proper
5187 G_TYPE_FLAGS derived property.
5189 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5191 * examples/Makefile.am: Add below examples.
5192 * examples/hildon-date-button-example.c:
5193 * examples/hildon-picker-button-example.c:
5194 * examples/hildon-picker-button-multicolumn-example.c:
5195 * examples/hildon-time-button-example.c:
5196 * examples/hildon-touch-picker-example.c:
5198 Add examples for the recently added touch pickers,
5199 picker dialogs, and picker button widgets.
5201 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5203 * src/hildon-button.c: Add some API documentation
5205 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5207 * src/hildon-button.h
5208 * src/hildon-button.c
5210 (hildon_button_new_with_text): New constructor to create a button
5211 with no text at all.
5212 (hildon_button_init, hildon_button_set_arrangement)
5213 (hildon_button_set_title, hildon_button_set_value)
5214 (hildon_button_set_text)
5215 (hildon_button_construct_child): Hide the value when it's not used
5216 so the rest of the text is properly aligned.
5217 Allow creating buttons with arbitrary widgets inside (not just
5218 title/value labels).
5220 * examples/hildon-button-example.c (vertical_buttons_window)
5221 (horizontal_buttons_window): Update example to use new API.
5223 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5225 * src/Makefile.am: Added HildonTimeButton.
5226 * src/hildon-time-button.c: Added missing LGPL header.
5227 * src/hildon-time-button.h: Added missing LGPL header.
5228 * src/hildon.h: Add hildon-time-button.h
5230 Copied HildonTimeButton from sandbox to trunk. Future work on this
5231 widget must take place in trunk.
5233 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5235 * src/Makefile.am: Added HildonDateButton.
5236 * src/hildon-date-button.c: Update includes.
5237 * src/hildon.h: Add hildon-date-button.h
5239 Copied HildonDateButton from sandbox to trunk. Future work on this
5240 widget must take place in trunk.
5242 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5244 * src/Makefile.am: Added HildonPickerButton.
5245 * src/hildon-picker-button.h: Update includes.
5246 * src/hildon.h: Add hildon-picker-button.h
5248 Copied HildonPickerButton from sandbox to trunk. Future work on
5249 this widget must take place in trunk.
5251 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5253 * src/Makefile.am: Added HildonPickerDialog.
5254 * src/hildon-picker-dialog.c: Update includes.
5255 * src/hildon.h: Add hildon-picker-dialog.h
5257 Copied HildonPickerDialog from sandbox to trunk. Future work
5258 on this widget must take place in trunk.
5260 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5262 * src/Makefile.am: Added HildonTimeSelector.
5263 * src/hildon.h: Add hildon-time-selector.h
5265 Copied HildonTimeSelector widget from sandbox to trunk. Future
5266 work on this widget must happen in trunk.
5268 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5270 * src/Makefile.am: Added HildonDateSelector.
5271 * src/hildon.h: Add hildon-date-selector.h
5273 Copied HildonDateSelector widget from sandbox to trunk. Future
5274 work on this widget must happen in trunk.
5276 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5278 * src/Makefile.am: Added HildonTouchPicker.
5279 * src/hildon-touch-picker.c: Update includes.
5280 * src/hildon.h: Add hildon-touch-picker.h
5282 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5283 on this widget must happen in trunk.
5285 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-pannable-area.c:
5288 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5290 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5292 * examples/hildon-app-menu-example.c (main): Let the window
5295 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5297 * src/hildon-pannable-area.c
5298 (hildon_pannable_area_class_init): Set the min value of the
5299 overshoot properties to zero, which points out that not
5300 overshooting allowed.
5302 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5304 Modified the procedure to get the widget at a point inside the
5305 pannable area when using the movement type signals. Now the user
5306 has to call a function to get the child, that way we just
5307 calculate the child in case the user really want to use it and not
5310 * src/hildon-marshalers.list: Modified the marshallers, now we do
5311 not have the widget as a parameter.
5313 * src/hildon-pannable-area.c
5314 (hildon_pannable_area_motion_notify_cb),
5315 (hildon_pannable_area_class_init),
5316 (hildon_pannable_get_child_widget_at): Removed the widget
5317 parameter from the signal callback. We have also refactored the
5318 emission of the signals.
5320 * src/hildon-pannable-area.h: Added a new method to the API to
5321 calculate a widget at a point inside the pannable area,
5322 hildon_pannable_get_child_widget_at.
5324 * examples/hildon-pannable-area-example-4.c
5325 (horizontal_movement): Modified the example to use the new API,
5326 added condition to control which widget is under the event. This
5327 way we can avoid scrolling laterally over other widgets.
5329 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5331 * src/hildon-pannable-area.c
5332 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5333 modes, we stop getting the pointer events due to returning the
5334 callback without properly calling the get pointer again. Fixed
5335 also an error using the hscroll and vscroll.
5337 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5339 * src/hildon-app-menu-private.h
5340 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5341 (hildon_app_menu_button_release, hildon_app_menu_init)
5342 (hildon_app_menu_class_init): Don't hide the menu on button
5343 release if the user didn't press outside first.
5345 * src/hildon-window.h
5346 * src/hildon-window.c (hildon_window_toggle_menu)
5347 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5348 hildon_window_toggle_menu a virtual function for the stackable
5349 window to override it.
5351 * src/hildon-stackable-window.h
5352 * src/hildon-stackable-window-private.h
5353 * src/hildon-stackable-window.c
5354 (hildon_stackable_window_realize)
5355 (hildon_stackable_window_finalize)
5356 (hildon_stackable_window_class_init)
5357 (hildon_stackable_window_init)
5358 (hildon_stackable_window_set_main_menu): New function to set the
5359 app menu of a HildonStackableWindow.
5361 * examples/hildon-app-menu-example.c: Remove the button to show
5362 the app menu, now it'll be shown when clicking on the title bar
5365 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5367 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5368 set the widget name if the arrangement flags do not specify
5371 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5373 * src/hildon-button.c: (hildon_button_set_property),
5374 (hildon_button_class_init), (hildon_button_new_full),
5375 (hildon_button_set_arrangement): Added "arrangement-flags"
5378 Make the HildonButtonFlags a construction-only property, to allow
5379 subclasses to set them properly.
5381 2008-07-21 Tim Janik <timj@imendio.com>
5383 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5384 insertion position after backspace, so additional digits are appended,
5387 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5389 * src/hildon-pannable-area.c,
5390 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5391 TODO list, it was complete and removed the g_debug and g_print
5394 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5396 Added the movement modes to the hildon-pannable-area, with this
5397 modes the developers can control in which directions the widget
5398 can scroll. They can also connect to signals in order to do
5399 something when that happens, allowing applications scroll. There
5400 is an example uploaded showing how to use it.
5402 * examples/Makefile.am:
5403 * examples/hildon-pannable-area-example-4.c: Added this example of
5404 an application using the modes.
5406 * src/hildon-marshalers.list: Added a new marshaller for the new
5409 * src/hildon-pannable-area.h: Added new enumerations and flags in
5410 order to control the movement modes and the new signals to warn
5411 about the movements in the area.
5413 * src/hildon-pannable-area.c:
5414 (hildon_pannable_axis_scroll),
5415 (hildon_pannable_area_scroll),
5416 (hildon_pannable_area_motion_notify_cb),
5417 (hildon_pannable_area_get_property),
5418 (hildon_pannable_area_set_property),
5419 (hildon_pannable_area_map),
5420 (hildon_pannable_area_class_init),
5421 (hildon_pannable_area_init),
5422 (hildon_pannable_area_jump_to): Added the modes to control the
5423 movement in the widget. We have added properties to control it,
5424 signals to warn about the movements and refactored some code.
5426 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5428 Changes required in order to allow vfast_factor set to zero to
5431 * src/hildon-pannable-area.c:
5432 (hildon_pannable_area_button_press_cb): Changed the condition, it
5433 is required for not allowing click when vfast_factor is zero.
5434 (hildon_pannable_area_timeout): Initialized velocity variables
5435 when we stop moving, it was less than 1 but not zero and we need
5436 to check zero in some situations.
5437 (hildon_pannable_area_class_init): Changed the default value of
5438 the speed factor, now the button_press is just sent in case the
5439 speed is 2 per cent of the max speed.
5440 (hildon_pannable_area_init): Initialization with 0.
5442 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5444 * src/hildon-pannable-area.c,
5445 (hildon_pannable_area_get_topmost): replaced
5446 gdk_window_get_children with gdk_window_peek_children, this way we
5447 do not have to free the list because it is not a copy.
5449 (hildon_pannable_axis_scroll),
5450 (hildon_pannable_area_scroll),
5451 (hildon_pannable_area_timeout),
5452 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5453 two parameters that were only used inside the
5454 hildon_pannable_area_scroll function.
5456 * examples/hildon-pannable-area-example.c,
5457 (get_sawtooth_label): Fixed small memory leak.
5459 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5461 More checks for the case where the overshoot is bigger than the
5464 * src/hildon-pannable-area.c:
5465 (hildon_pannable_draw_vscroll),
5466 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5467 to draw the slider of the scrollbar under the other scrollbar.
5468 (hildon_pannable_area_expose_event): added new checks to control
5469 the drawing of the overshooting area rectangle, in case it is too
5470 big for the area of the widget.
5471 (hildon_pannable_area_size_allocate): add more checks to avoid
5472 setting a position to the child widget outside the area.
5474 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5476 * src/hildon-pannable-area.c
5477 (hildon_pannable_area_size_allocate): Added conditions to control
5478 when overshooting is bigger than the allocated space for the
5479 children, this avoids negative allocations.
5481 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5483 * doc/hildon-docs.sgml
5485 * examples/Makefile.am
5486 * examples/hildon-button-example.c
5488 * src/hildon-button.c
5489 * src/hildon-button.h
5490 * src/hildon.h: Initial version of the new HildonButton widget,
5493 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5495 * src/hildon-pannable-area.c:
5496 (hildon_pannable_area_button_press_cb),
5497 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5498 (hildon_pannable_area_motion_notify_cb),
5499 (hildon_pannable_area_button_release_cb),
5500 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5501 (hildon_pannable_area_jump_to_child):
5503 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5505 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5507 * examples/Makefile.am
5508 * examples/hildon-pannable-area-touch-grid-example.c
5509 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5510 the Hildon Touch List and Hildon Touch Grid using the
5511 HildonPannableArea widget.
5513 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5515 * src/hildon-pannable-area.c,
5516 (hildon_pannable_area_button_press_cb),
5517 (hildon_pannable_area_refresh),
5518 (hildon_pannable_area_scroll),
5519 (hildon_pannable_area_motion_notify_cb),
5520 (hildon_pannable_area_button_release_cb),
5521 (hildon_pannable_area_expose_event),
5522 (hildon_pannable_area_add),
5523 (hildon_pannable_area_remove),
5524 (hildon_pannable_area_realize),
5525 (hildon_pannable_area_size_allocate),
5526 (hildon_pannable_area_class_init),
5527 (hildon_pannable_area_init),
5528 (hildon_pannable_area_scroll_to_child),
5529 (hildon_pannable_area_jump_to_child): Fixed the problem of
5530 removing the child from the GtkBin, we have rearranged the widget
5531 hierarchy, now there is no GtkAlignment which was not doing
5532 anything interesting but breaking some of the assumptions of
5533 GtkContainer. Now developers if they want to add a GtkAlignment
5534 they could, but it is not inside the area.
5536 We had to review the whole allocation/expose process, now it is
5537 improved and we save at least three signals which would be saving
5538 some time when rendering the widget. The allocation of the
5539 scrollbars is now made in the allocate method as usual.
5541 We have also added some conditions in order to control when there
5542 is no child of the pannable area. Maybe we will need more work
5545 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5547 * src/hildon-pannable-area.c,
5548 (hildon_pannable_area_dispose): Released the fade-out timeout when
5549 disposing the widget.
5551 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5553 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5554 zero, we are going to use that property in order to deactivate the
5556 (hildon_pannable_axis_scroll),
5557 (hildon_pannable_area_size_allocate): Added conditions to control
5558 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5559 call, now it is called in all situations and we can remove calls
5560 in the allocate method.
5561 (hildon_pannable_area_map): Control the situation when
5562 overshoot_max is zero, we do not need the timeout.
5563 (hildon_pannable_area_class_init): Added documentation in order to
5564 point out that setting zero to overshoot_max means deactivate
5567 NOTE: removed trailing whitespaces from my previous comments of
5570 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5572 * src/hildon-pannable-area.c
5573 (hildon_pannable_area_get_property),
5574 (hildon_pannable_area_set_property),
5575 (hildon_pannable_area_map),
5576 (hildon_pannable_area_class_init),
5577 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5578 to cause the widget give a hint about its panning abilities upon
5581 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5583 * src/hildon-pannable-area.c: Several documentation improvements.
5585 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5587 * src/hildon-program.c
5588 * src/hildon-stackable-window.c: Update documentation.
5590 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5592 * src/hildon-stackable-window.c (get_previous_window_if_last):
5593 Renamed get_last_window()
5594 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5595 (hildon_stackable_window_unset_program):
5597 (get_previous_window_if_last):
5598 Detect if the window hasn't been added to a HildonProgram.
5600 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5602 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5604 * src/hildon-pannable-area.c
5605 (hildon_pannable_area_button_press_cb),
5606 (hildon_pannable_axis_scroll),
5607 (hildon_pannable_area_scroll),
5608 (hildon_pannable_area_timeout),
5609 (hildon_pannable_calculate_vel_factor),
5610 (hildon_pannable_area_get_property),
5611 (hildon_pannable_area_set_property),
5612 (hildon_pannable_area_class_init),
5613 (hildon_pannable_area_init),
5614 (hildon_pannable_area_scroll_to),
5615 (hildon_pannable_area_jump_to),
5616 (hildon_pannable_area_scroll_to_child),
5617 (hildon_pannable_area_jump_to_child):
5618 * src/hildon-pannable-area.h: Added the new API functions:
5619 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5620 hildon_pannable_area_scroll_to_child,
5621 hildon_pannable_area_jump_to_child
5624 * examples/Makefile.am
5625 * examples/hildon-pannable-area-example-2.c
5626 * examples/hildon-pannable-area-example-3.c: Added these two new
5627 examples in order to test and show how the new APIs work.
5629 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5631 * examples/hildon-stackable-window-example.c (new_window):
5632 * src/Makefile.am (noinst_HEADERS):
5633 * src/hildon-program.c (hildon_program_go_to_root_window):
5634 * src/hildon-program.h:
5635 * src/hildon-stackable-window-private.h:
5636 * src/hildon-stackable-window.c:
5637 * src/hildon-stackable-window.h:
5638 Create hildon-stackable-window-private.h
5639 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5641 * examples/hildon-app-menu-example.c (create_menu):
5642 * examples/hildon-hvolumebar-insensitive-example.c (main):
5643 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5644 * examples/hildon-toolbar-seekbar-example.c (main):
5645 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5646 * src/hildon-banner.c (hildon_banner_set_property):
5647 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5648 Fix compilation warnings
5650 * src/hildon-window.c:
5653 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5655 * src/hildon-stackable-window.c
5656 (hildon_stackable_window_unset_program):
5657 Calculate correctly whether to show the previous window if the
5658 last one is removed from the stack.
5659 (hildon_stackable_window_go_to_root_window):
5660 Send delete events starting from the topmost window.
5661 Stop if one of the windows is not destroyed.
5663 (hildon_stackable_window_delete_event)
5664 (hildon_stackable_window_class_init):
5665 Ignore the delete event if the window is not the topmost one.
5667 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5669 * src/hildon-pannable-area.c
5670 (hildon_pannable_area_expose_event): Fixed a problem when
5671 selecting the background color of the scrollbars.
5673 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5675 * examples/hildon-stackable-window-example.c
5676 * src/hildon-stackable-window.c
5677 * src/hildon-stackable-window.h
5678 hildon_stackable_window_go_home() renamed to
5679 hildon_stackable_window_go_to_root_window()
5680 Send delete events to windows rather than closing them with
5681 gtk_widget_destroy()
5683 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5685 * src/hildon-pannable-area.c
5686 (hildon_pannable_area_button_release_cb): Fix overshooting in
5689 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5691 * src/hildon-pannable-area.c
5692 (hildon_pannable_area_init): Initially show the scroll indicators.
5693 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5695 Add initial effect showing the widget is pannable.
5697 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5699 * src/hildon-pannable-area.c
5700 (hildon_pannable_area_class_init)
5701 (hildon_pannable_area_set_property)
5702 (hildon_pannable_area_get_property)
5703 (hildon_pannable_area_button_press_cb):
5704 New 'velocity_fast_factor' property to decide which velocity is
5707 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5709 * src/hildon-pannable-area.c
5710 (hildon_pannable_draw_hscroll)
5711 (hildon_pannable_draw_vscroll):
5712 Use float variables to calculate the size of the scrollbars to
5713 avoid error propagation and resizing during scrolling.
5715 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5717 * src/hildon-pannable-area.c
5718 (hildon_pannable_draw_vscroll)
5719 (hildon_pannable_draw_hscroll):
5720 Define a minimum size for the scroll bars
5722 * src/hildon-stackable-window.c
5723 (hildon_stackable_window_go_home): Fix compilation warning
5724 (get_last_window): Minor optimizations
5725 (hildon_stackable_window_class_init): Fix initialization of
5728 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5730 * src/hildon-stackable-window.c: Fixed typos in doc
5732 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5734 * src/hildon-pannable-area.c
5735 (hildon_pannable_area_scroll):
5736 Calculate here whether we need to scroll instead of using the booleans
5737 that tell us whether to /draw/ the scrolling bars.
5739 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5741 * src/hildon-app-menu.h
5743 * src/hildon-app-menu.c
5744 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5745 multiple filter groups related code and API. Now we support only
5747 * examples/hildon-app-menu-example.c:
5749 Update to reflect API changes.
5751 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5753 * src/hildon-stackable-window.c
5754 (hildon_stackable_window_class_init):
5755 Add hildon_stackable_window_realize.
5756 (hildon_stackable_window_realize):
5757 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5758 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5759 to apply theming and behavior specific to HildonStackableWindow
5762 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5764 * src/hildon-note.c (hildon_note_button_release):
5765 Close information notes also when tapping on them
5767 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5769 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5770 ELASTICITY, refactor and review, fix some issues with drawing
5773 * src/hildon-pannable-area.c:
5774 (hildon_pannable_area_button_press_cb): removed the conditions to
5775 avoid clicks when overshooting. It is not required
5777 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5778 define. Refatored and reviewed the code, now we do not need to
5779 manage velocity in motion_notify.
5781 (hildon_pannable_area_motion_notify_cb): We have moved the code
5782 that controls the area_scroll to the axis_scroll function and get
5783 rid of duplicated code.
5785 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5787 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5789 (hildon_pannable_draw_vscroll),
5790 (hildon_pannable_draw_hscroll): Fixed the problems with the
5791 scrollbar drawing, now we do not use two surfaces, it is easier
5792 and saves resources.
5794 (hildon_pannable_area_get_property): Style modification.
5796 (hildon_pannable_area_class_init): Changed some default values.
5798 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5800 * src/hildon-stackable-window.c: Fix some typos in the
5803 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-dialog.c:
5806 Change indentation style
5809 (hildon_note_button_release):
5810 Use root coordinates to check if the release event happened
5813 * src/hildon-app-menu.c
5814 (hildon_app_menu_button_release):
5815 Remove unnecessary check
5817 * examples/hildon-app-menu-example.c
5819 Add cast to fix warning
5821 * src/hildon-app-menu.c
5822 (hildon_app_menu_class_init):
5823 New inner-border style property.
5824 Set all default spacings to 16
5825 (hildon_app_menu_init):
5826 Use vertical-spacing to set the space between filter buttons and
5827 regular menu buttons.
5828 Set the default container border using the inner-border value.
5830 * examples/hildon-app-menu-example.c
5832 Don't set the menu border explicitly, now we have the inner-border
5833 style property for that.
5835 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5837 * src/hildon-app-menu.c (hildon_app_menu_init):
5838 Make the window modal
5840 * src/hildon-note.c (hildon_note_map)
5841 * src/hildon-app-menu.c (hildon_app_menu_map):
5842 Destroy the grab window if we're unable to grab the pointer
5844 * src/hildon-app-menu-private.h
5845 * src/hildon-app-menu.c
5846 (hildon_app_menu_init, hildon_app_menu_finalize)
5847 (hildon_app_menu_map, hildon_app_menu_unmap)
5848 (hildon_app_menu_button_release)
5849 (grab_transfer_window_get):
5850 Bring back the grab window
5851 (hildon_app_menu_realize):
5852 Decorate the window, set WM hint for Matchbox
5854 * src/hildon-note.c (hildon_note_realize):
5855 * src/hildon-banner.c (hildon_banner_realize):
5856 Add WM hints for Matchbox
5858 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-app-menu-private.h
5861 * src/hildon-app-menu.c
5862 (hildon_app_menu_init, hildon_app_menu_finalize)
5863 (hildon_app_menu_map, hildon_app_menu_unmap)
5864 (hildon_app_menu_button_release):
5865 Remove the grab window, it's not needed anymore
5867 * src/hildon-program.c
5868 Fixed typo in documentation
5870 * src/hildon-app-menu.h
5871 * src/hildon-app-menu.c
5872 * examples/hildon-app-menu-example.c
5873 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5875 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5878 Added new transfer_window and close_if_pressed_outside private
5880 (hildon_note_rebuild):
5881 Don't add a cancel button to the information note. It will be
5882 closed when tapping outside
5883 Remove the comment about the OK button in the documentation
5884 (hildon_note_realize):
5885 Set the notification type hint
5886 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5887 Grab/ungrab pointer and keyboard if the note has to be closed when
5889 (hildon_note_button_release):
5890 Close the note when tapping outside (if applicable)
5892 * src/hildon-app-menu.c
5893 Grab/ungrab pointer and keyboard on map/unmap
5894 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5895 Close the menu on button release, not button press
5897 * src/hildon-banner.c
5898 (hildon_banner_set_property)
5899 (hildon_banner_check_position):
5900 Make the banner use the full width of the screen
5901 (hildon_banner_show_information)
5902 (hildon_banner_show_information_with_markup):
5903 Don't display an icon by default
5905 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5907 Added fading scrollbars and adapted all the overshooting code to
5908 horizontal scrolling. We have also fixed bugs with overshooting
5909 and current fading implementation.
5911 * src/hildon-pannable-area.c
5912 (hildon_pannable_area_scroll_indicator_fade): Time out function
5913 used to change the transparency of the scrollbars.
5915 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5916 control and fixed a problem with fading, we now remove the fade
5917 timeout before adding a new one.
5919 (hildon_pannable_axis_scroll):
5920 (hildon_pannable_area_scroll):
5921 (hildon_pannable_area_timeout): Added this functions so we can use
5922 the scroll code both for vertical and horizontal.
5924 (hildon_pannable_area_motion_notify_cb):
5925 (hildon_pannable_area_button_release_cb): Added the horizontal
5926 scrolling control, fixed a problem with the overshooting timeout.
5928 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5929 painting of the scrolls.
5931 (hildon_pannable_draw_vscroll):
5932 (hildon_pannable_draw_hscroll):
5933 (hildon_pannable_area_expose_event):
5934 Draw both scrollbars and rectangles in the overshooting area.
5936 (hildon_pannable_area_get_property):
5937 (hildon_pannable_area_set_property):
5938 Modified the overshoot property to overshoot_max
5940 (hildon_pannable_area_map):
5941 Replaced the comments symbols.
5943 (hildon_pannable_area_size_allocate):
5944 (hildon_pannable_area_class_init):
5945 (hildon_pannable_area_init): Added horizontal scroll, fading
5946 effect properties, fixed a problem when overshooting in the bottom
5949 * examples/hildon-pannable-area-example.c:
5950 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5951 looks better in the example.
5953 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-window.c
5956 * src/hildon-window.h
5957 (hildon_window_class_init)
5958 (hildon_window_unset_program)
5959 (hildon_window_unset_program_real):
5960 Make unset_program a virtual function
5962 * src/hildon-stackable-window.c
5963 * src/hildon-stackable-window.h
5964 Added hildon_stackable_window_go_home()
5966 * examples/Makefile.am
5967 * examples/hildon-stackable-window-example.c
5968 HildonStackableWindow example
5970 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5972 * hildon-pannable-area.c: Added the overshoot property and removed
5973 the OVERSHOOT define. Fixed an indent style error.
5974 (hildon_pannable_area_motion_notify_cb):
5975 (hildon_pannable_area_get_property):
5976 (hildon_pannable_area_set_property): Add overshoot property.
5978 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5981 (hildon_pannable_area_class_init): Installed the new property.
5983 * hildon-pannable-area-example.c: Added a sawtooth function, this
5984 way it is easier to check the movement in the pannable.
5985 (get_sawtooth_label): Added this function.
5986 (main): Now we get the labels from the new get_sawtooth_label
5989 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5991 * src/hildon-app-menu.h
5992 * src/hildon-app-menu.c
5993 Renamed API variables for consistency
5995 (hildon_app_menu_popup): Use also the default window size to
5996 decide where to place the menu
5998 (hildon_app_menu_init, hildon_app_menu_class_init): New
5999 external-border style property
6001 2008-05-26 Michael Natterer <mitch@imendio.com>
6003 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6004 widget_class->tap_and_hold_setup signal slot doesn't exist any
6005 longer, stop overriding it.
6007 (hildon_time_editor_init): g_signal_connect() to the
6008 tap-and-hold-setup signal instead.
6010 (hildon_time_editor_entry_keypress): add cast to fix warning.
6012 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6014 * doc/hildon-docs.sgml
6016 * examples/Makefile.am
6017 * examples/hildon-app-menu-example.c
6019 * src/hildon-app-menu-private.h
6020 * src/hildon-app-menu.c
6021 * src/hildon-app-menu.h
6023 New HildonAppMenu widget
6025 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6027 Rearranged the inheritance of the pannable area, now it inherits
6028 from GtkBin. This will allow us to control the event_window and
6029 the allocation process of the widget, required for some effects.
6031 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6032 GtkBin structures. * src/hildon-pannable-area.c: Added the
6033 event_window variable.
6034 (hildon_pannable_area_button_press_cb):
6035 (hildon_pannable_area_button_release_cb):
6036 (hildon_pannable_area_motion_notify_cb):
6037 Changed the signature of the method, now we override the event
6038 callback instead of connecting to the signal.
6040 (hildon_pannable_area_realize):
6041 (hildon_pannable_area_unrealize):
6042 (hildon_pannable_area_map):
6043 (hildon_pannable_area_unmap):
6044 (hildon_pannable_area_size_allocate):
6045 Added functions to control the widget construction. We add a
6046 INPUT_ONLY window and we put it over the widgets inside the
6047 container, this event_window handles the events.
6049 (hildon_pannable_area_class_init):
6050 Replaced the signal connections with overrides of the event
6053 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6055 Bouncing effect added when touching the borders, you can change
6056 the elasticity of the border changing the ELASTICITY define.
6058 * src/hildon-pannable-area.c: Added ELASTICITY define.
6059 (hildon_pannable_area_timeout): Added inverse velocity when
6060 touching the border of the child widget, that causes a bounce.
6062 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6064 Improved performance, we now do not go to the X server in order to
6065 get the list of window children. Apparently the effect is the
6066 same, we have to be careful and check if this breaks something in
6069 * src/hildon-pannable-area.c:
6070 (get_ordered_children): Removed this function.
6071 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6072 the children windows function with gdk_window_get_children.
6074 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6076 * src/hildon-pannable-area.c:
6077 (hildon_pannable_area_dispose): Fixed a crash when closing the
6078 window and kinetics is activated.
6080 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6082 * src/hildon-pannable-area.h
6083 * src/hildon-pannable-area.c
6084 Changed indentation style to meet the one used in Hildon
6086 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6088 Reviewed the interaction of the AUTO mode, now we use the time
6089 attribute of the events and calculate the velocity in the motion,
6090 doing a gimp like calculation. The velocity is calculated in each
6091 motion event using the last velocity and the current one, the
6092 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6094 * src/hildon-pannable-area.c: Replaced the time based algorithm
6096 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6097 timeout for the AUTO mode when we are still moving the cursor. We
6098 added also the velocity calculation in this function.
6099 (hildon_pannable_area_button_release_cb): launch the timeout in
6100 case we are in AUTO mode. There are still some constants here that
6101 come from the old implementation that should be reviewed and
6104 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6106 * doc/hildon-docs.sgml
6109 * src/hildon-stackable-window.c
6110 * src/hildon-stackable-window.h
6112 New HildonStackableWindow widget
6114 * examples/hildon-dialog-example.c
6115 * examples/hildon-pannable-area-example.c
6118 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6120 * src/hildon-dialog.c
6121 (hildon_dialog_new_with_buttons): New constructor.
6123 * examples/hildon-dialog-example.c
6124 (main): Update the example to use the new
6125 hildon_dialog_new_with_buttons().
6127 * examples/hildon-pannable-area-example.c
6128 (main): Update example.
6130 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6132 * doc/hildon-docs.sgml
6134 Added HildonPannableArea to the documentation.
6136 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6138 * doc/visual_index.xml
6139 Fix reference to HildonLoginDialog in documentation
6141 * doc/hildon-docs.sgml
6143 * examples/Makefile.am
6144 * examples/hildon-dialog-example.c
6146 * src/hildon-dialog.c
6147 * src/hildon-dialog.h
6149 New HildonDialog widget.
6151 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6153 * src/hildon-pannable-area.c
6154 Merge latest changes (r4318, r4342) from libmokoui trunk
6156 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6158 * examples/Makefile.am
6159 * examples/hildon-pannable-area-example.c
6161 * src/hildon-pannable-area.c
6162 * src/hildon-pannable-area.h
6164 New HildonPannableArea widget.
6166 2008-04-15 18:05:19 <timj@imendio.com>
6168 * src/hildon-banner.c: revert the recent change, that introduced
6169 gtk_window_present() calls. this reopens:
6170 Bug 78481 - [freetest] information banners are hidden under browser menu
6171 But resolves another variant of:
6172 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6174 2008-04-15 13:21:13 <timj@imendio.com>
6176 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6177 recreated its layout, spotted by Kris. this fixes all remaining
6178 artefacts and stability issues with the banner code. in particular:
6179 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6181 2008-04-14 16:52:59 <timj@imendio.com>
6183 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6184 operating on unrealized widgets, fixes:
6185 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6187 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6189 2008-04-09 Kristian Rietveld <kris@imendio.com>
6191 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6192 makes banner disappear.
6193 Fixes: NB#79182: info banner flickering with certain message lengts.
6195 * src/hildon-banner.c (hildon_banner_constructor),
6196 (hildon_banner_init), (hildon_banner_set_text),
6197 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6198 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6199 FALSE, reset size requests of label and banner,
6200 (force_to_wrap_truncated): when the text is too wide, always enforce
6201 the maximum possible width instead of recalculating it from the
6202 layout; enforce the maximum banner height of 3 lines,
6203 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6204 nicer wrapping and no truncated chars if space gets tight.
6206 * src/hildon-banner-private.h: add has_been_wrapped and
6207 has_been_truncated fields.
6209 2008-04-07 Sven Herzberg <sven@imendio.com>
6211 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6212 local values in hildon_date_editor_size_allocate
6214 * src/hildon-date-editor.c: moved the real allocation code into the
6217 2008-04-07 Sven Herzberg <sven@imendio.com>
6219 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6220 local values in hildon_date_editor_size_allocate
6222 * src/hildon-date-editor.c: merged the two if() branches together
6224 2008-04-07 Sven Herzberg <sven@imendio.com>
6226 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6227 local values in hildon_date_editor_size_allocate
6229 * src/hildon-date-editor.c: changed the arguments of the if()
6232 2008-04-07 Sven Herzberg <sven@imendio.com>
6234 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6235 local values in hildon_date_editor_size_allocate
6237 * src/hildon-date-editor.c: split the calculation of the allocation
6238 from the real allocation
6240 2008-03-27 Michael Natterer <mitch@imendio.com>
6242 Fixes: NB#81696: The passcode is not overwritten even after
6245 * src/hildon-code-dialog.c
6246 (hildon_code_dialog_button_clicked)
6247 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6248 because that doesn't overwrite selected text. Instead, emit the
6249 "commit" signal on the entry's im_context so the entry's normal
6250 insert logic is triggered. Set the cursor to the end of the entry
6251 after each insert operation so that we *only* insert in the middle
6252 of the text if something was selected.
6254 2008-03-27 Michael Natterer <mitch@imendio.com>
6256 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6257 selector cannot be opened
6259 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6260 when the popup color selector is created. Please connect to this
6261 signal in order to set the dialog's help ID.
6263 2008-03-25 Sven Herzberg <sven@imendio.com>
6265 Fixes: MB#1212: Hide info banners (infoprints) on click
6267 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6268 extracted the close event simulation into an extra function
6269 (hildon_banner_button_press_event): simulate a close event and destroy
6270 the widget if the event wasn't handled
6271 (hildon_banner_class_init): added the button_press_event handler
6272 (hildon_banner_init): added button-press events to the widget
6274 2008-03-25 Sven Herzberg <sven@imendio.com>
6276 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6277 Patch from: Mohammad Anwari <mdamt@maemo.org>
6279 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6280 instead of the right in RTL mode
6281 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6282 breadcrumb button list in RTL mode
6283 * src/hildon-caption.c: mirror the appearance of the caption widget in
6285 * src/hildon-date-editor.c: mirror appearance of the date editor in
6287 * src/hildon-time-editor.c: mirror appearance of the time editor in
6289 * src/hildon-window.c: fix the position of the popup in RTL mode
6291 2008-03-25 Sven Herzberg <sven@imendio.com>
6293 Amendment to the fix of NB#22072. Fix compilation.
6295 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6297 2008-03-19 Sven Herzberg <sven@imendio.com>
6299 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6302 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6303 timeout id properly when the timeout will disappear this leaves no
6304 artifacts around in the destroy(); there will only be the timeout
6305 created by hildon_banner_ensure_timeout() and adding a new timeout
6306 will also work if the timeout gets removed because the timeout_handler
6309 2008-03-19 Michael Natterer <mitch@imendio.com>
6311 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6313 * src/hildon-volumebar.c
6314 * src/hildon-vvolumebar.c
6315 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6316 the widget becomes focussable at all.
6318 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6319 set the focus to wither the mute button or the volumebar.
6321 Remove own "can-focus" property and instead listen to
6322 notify::can-focus in order to update the widget's state.
6324 Implement GtkWidget::focus() and make sure we can also *leave* the
6325 widget, not only enter it, depending on volumebar orientation and
6326 requested focus direction.
6328 Clean up set_mute() to cooperate nicely with all the above.
6330 2008-03-04 Michael Natterer <mitch@imendio.com>
6332 Fixes: NB#78481: information banners are hidden under browser menu
6334 * src/hildon-banner.c: call gtk_window_present() on the banners so
6335 they are risen if they are already visible.
6337 2008-03-03 Sven Herzberg <sven@imendio.com>
6339 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6341 * examples/hildon-window-menu-example.c: (main): extended the window
6342 menu example to serve as a testcase for automatically added
6343 accelerator groups, too
6344 * src/hildon-window.c: (hildon_window_add_accel_group),
6345 (hildon_window_set_menu): added patch by Tommi Komulainen
6347 2008-03-03 Sven Herzberg <sven@imendio.com>
6349 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6351 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6352 knowledge about the border allocators used within GTK+
6354 2008-02-26 Sven Herzberg <sven@imendio.com>
6356 Fixes: MB#2981: Build with asserts broken
6358 * src/hildon-date-editor.c,
6359 * src/hildon-number-editor.c,
6360 * src/hildon-time-editor.c,
6361 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6362 the proper GType instance check
6364 2008-02-25 Sven Herzberg <sven@imendio.com>
6366 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6368 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6369 * examples/hildon-window-menu-example.c: (main): explicitly show
6371 * src/hildon-window.c:
6372 (hildon_window_set_main_menu): moved most of the code from set_menu()
6373 to this place; skipped the call to gtk_widget_show_all(); also didn't
6374 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6375 (hildon_window_set_menu): removed most of the code, just keep the
6376 questionable gtk_widget_show_all()
6377 * src/hildon-window.h: added the new function and deprecate the old
6380 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6386 * debian/changelog: Updating.
6388 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6391 * pkgconfig/Makefile.am:
6392 * pkgconfig/hildon.pc.in:
6395 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6396 use newly created API_MAJOR_VERSION.
6398 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6404 * debian/changelog: Updating.
6406 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6408 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6410 Add outer_border style property, we use it but don't define it (!).
6414 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6416 * examples/hildon-bread-crumb-trail-example.c (main):
6420 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6422 Fix logic for the bread crumb trail node removal.
6426 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6432 * debian/changelog: Updating.
6434 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6436 Patch by Alejandro to get/set passwords dialogs accesibility.
6438 * hildon-1/src/hildon-get-password-dialog.c:
6439 * hildon-1/src/hildon-set-password-dialog.c:
6440 Set atk_set_name to the passwd entries in order to allow
6441 accessibility by name on this entries.
6443 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6448 * debian/control: Updating gtk dep.
6450 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6452 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6453 USE_MAEMO_GTK is enabled.
6455 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6457 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6458 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6460 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6466 * debian/changelog: Updating.
6468 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6470 * examples/Makefile.am:
6471 * examples/hildon-logical-color-example.c:
6472 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6473 applied + adding a test case. Fixes: NB#71660.
6475 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6477 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6478 to be visible, fixes warning on map for windows without toolbars.
6480 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6482 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6483 2.11.0, add a check for that besides the MAEMO_GTK check.
6485 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6491 * debian/changelog: Updating.
6493 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6495 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6496 visibility. Fixes: NB#70842 and MB#615.
6498 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6500 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6501 set the separator as no-show-all so it doesn't unintentionally appear when
6502 someone does a show_all.
6504 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6506 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6507 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6508 toplevel item. Fixes: NB#62031
6510 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6512 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6513 fix the name of the function in the docs.
6515 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6521 * debian/changelog: Updating.
6523 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6525 * examples/hildon-banner-long-example.c: Adding a test-case for long
6528 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6530 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6532 * src/hildon-color-chooser-dialog.c:
6533 * src/hildon-color-chooser.c:
6534 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6535 memory leaks in font selector and color selector. Fixes: NB#70499 and
6538 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6540 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6542 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6544 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6545 little bit bigger. Fixes: #NB63694.
6547 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6553 * debian/changelog: Updating.
6555 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6558 * doc/hildon-docs.sgml:
6559 * doc/images/bread-crumb-trail.png:
6560 * doc/images/calendar-popup.png:
6561 * doc/images/caption.png:
6562 * doc/images/code-dialog.png:
6563 * doc/images/color-button.png:
6564 * doc/images/color-chooser-dialog.png:
6565 * doc/images/color-chooser.png:
6566 * doc/images/controlbar.png:
6567 * doc/images/date-editor.png:
6568 * doc/images/font-selection-dialog.png:
6569 * doc/images/get-password-dialog.png:
6570 * doc/images/hvolumebar.png:
6571 * doc/images/login-dialog.png:
6572 * doc/images/note.png:
6573 * doc/images/number-editor.png:
6574 * doc/images/range-editor.png:
6575 * doc/images/seekbar.png:
6576 * doc/images/set-password-dialog.png:
6577 * doc/images/sort-dialog.png:
6578 * doc/images/time-editor.png:
6579 * doc/images/time-picker.png:
6580 * doc/images/vvolumebar.png:
6581 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6582 Adding the bread-crumb-trial and helpers to the documentation.
6584 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6586 * examples/hildon-find-toolbar-example.c:
6587 * src/hildon-find-toolbar.c:
6588 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6589 actually continue firing the other handlers if connected. Adding a new
6591 hildon_find_toolbar_get_last_index that gets the index of the most
6592 recently added (last) item. Fixes: NB#52301.
6594 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6596 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6597 behaviour. Fixes: NB#68610.
6599 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6601 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6604 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6606 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6607 when realizing the banner. Should make the infonbanner effect a bit more
6610 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6612 * src/hildon-volumebar.c:
6613 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6614 hildon_volumebar_set_range_insensitive_message and
6615 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6617 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6619 * src/hildon-window.c: Fixing the border freeing on destroy.
6621 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6623 * src/hildon-code-dialog-private.h:
6624 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6625 kw keyboard support in HildonCodeDialog.
6627 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6633 * debian/changelog: Updating.
6635 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6637 * src/hildon-date-editor.c:
6638 * src/hildon-number-editor.c:
6639 * src/hildon-private.c:
6640 * src/hildon-private.h:
6641 * src/hildon-time-editor.c:
6642 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6643 handling in subclassed composite widgets. Fixes: NB#66628.
6645 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6647 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6648 from destroy_ callback as it introduces problems in async dbus signal
6649 handlers. Fixes NB#66673.
6651 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6653 * examples/hildon-hvolumebar-example.c:
6654 * src/hildon-volumebar.c: Improving the focus handling in the
6655 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6656 set_property accessor so that "mute" property can be actually set. I'm
6657 scared that nobody noticed it's totally broken.
6659 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6661 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6664 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6666 * src/hildon-calendar.c:
6667 * src/hildon-number-editor.c:
6668 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6669 matches the spec of 6 chars per second. Fixes: NB#60489.
6671 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6673 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6674 gtk_style_lookup_color sometime returns FALSE even though color was
6675 found and values were filled properly. Weird. Removing the warning for the
6678 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6680 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6681 expand vertically. Adding some extra space to the find toolbar buttons to
6682 make them thumbable. Fixes NB#66060.
6684 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6686 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6687 popup with "Ok" and "Cancel". Fixes NB#59299.
6689 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6691 * src/hildon-calendar.c: Process all window updates before executing next
6692 timeout. Fixes: NB#54146.
6694 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6700 * debian/changelog: Updating.
6702 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6704 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6705 the client event and ignore it, since we use the delete event to close
6708 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6710 * src/hildon-helper.c: Remove the bogus warning about color not being
6711 found. Fixes NB#58352.
6713 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6715 * examples/Makefile.am:
6716 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6717 HildonSeekbar widget inside a toolbar.
6719 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6721 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6722 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6723 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6724 don't want to be closed by non-temporary windows on map.
6726 Also use G_DEFINE_TYPE instead of manually typed code.
6728 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6735 * debian/rules: Updating.
6737 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6739 * examples/Makefile.am:
6740 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6741 bug NB#61128. Strangely it works.
6743 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6745 * src/hildon-date-editor.c: When the date editor entry has been changed
6746 but the numbers of characters < max, turn off the skip validation flag.
6747 Prevents a situation when we enter first a valid year and later re-write
6748 it with an invalid one. Fixes NB#60154.
6750 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6752 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6753 code dialog. Fixes NB#64355.
6755 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6757 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6758 switching the page. Fixes NB#49374.
6760 * examples/Makefile.am:
6761 * examples/hildon-wizard-dialog-example.c: Adding an example for
6762 HildonWizardDialog that shows how to handle manual sensitivity setting on
6765 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6769 * src/hildon-version.h.in:
6770 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6772 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6774 * src/hildon-volumebar.c: Updating the docs.
6776 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6782 * debian/changelog: Updating.
6784 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6786 * src/hildon-find-toolbar.c:
6787 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6788 selected item: hildon_find_toolbar_set_active,
6789 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6790 hildon_find_toolbar_get_active_iter . They correspond to respective
6791 GtkComboBox functions.
6793 * examples/Makefile.am:
6794 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6797 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6799 * examples/Makefile.am:
6800 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6803 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6804 when font size > 32 and we pack a focusable widget inside. Actually using
6805 the default response would work too, but since we don't show default
6806 response state in any way (no theming) it would not be visible to the
6807 user. Fixes NB#63430.
6809 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6811 * src/hildon-date-editor.c: Adding the missing variable setter in the
6812 set_property handler. Fixes NB#54182.
6814 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6816 * src/hildon-window.h: Changing the long key press time from 1500ms to
6817 800ms as requested in NB#63700. I have a bad feeling about this, let's
6818 see... Fixes NB#63700.
6820 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6822 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6823 hildon_time_picker_map, hildon_time_picker_realize,
6824 hildon_time_picker_style_set): Split the contents of map to more
6825 appropriate functions; set window decorations on realize and update
6826 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6828 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6833 * debian/changelog: Updating.
6835 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6837 * src/Makefile.am: fixed installation of the header files
6839 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6845 * debian/changelog: Updating.
6847 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6849 * configure.ac: Removing some remaining of --enable-xan.
6851 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6853 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6854 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6856 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6857 2.10.12-osso6 because the move-focus signal needs to be available in
6860 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6862 * examples/Makefile.am:
6863 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6864 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6865 fine. Prolly NB#61128 is fixed now.
6867 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6869 * src/hildon-volumebar.c:
6870 * src/hildon-volumebar.h: Adding the
6871 hildon_volumebar_set_range_insensitive_message and
6872 hildon_volumebar_set_range_insensitive_messagef functions to set
6873 insensitive message on the slider of the volumebar. Fixes NB#61129.
6875 * examples/Makefile.am:
6876 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6877 test the new insensitive messsage functionality on HildonVolumebar.
6879 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6881 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6884 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6886 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6887 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6888 button on after clearing the trail.
6890 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6892 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6894 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6896 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6897 by splitting the installed headers in generated and non-generated groups. Use
6898 only the non-generated headers to create the hildon-enum-types.h file.
6900 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6902 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6904 * src/hildon-window.c: Hide the window before performing the destroy.
6905 Should make the app closing a little tiny bit more snappy.
6907 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6909 * src/hildon-seekbar.c: add gtkrange.h header
6910 * src/hildon-caption.c: remove unused variable
6912 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6914 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6917 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6923 * debian/changelog: Updating.
6925 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6927 * src/hildon-window.c (hildon_window_window_state_event,
6928 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6929 escape timeout on focus-out-event rather than notify::is-topmost; the
6930 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6932 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6934 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6935 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6937 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6939 * src/hildon-window: actually, you need to use the macro always, there's
6940 no private pointer in the instance structure. We should have cleaned this up
6941 when we had the chance...
6943 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6945 * src/hildon-window.c: do not get the private date from HildonWindow before
6946 it passes the g_return_if_fail check. Once it's passed the test, there's no
6947 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6948 if you are only going to access the data once. Whitespace cleanups.
6950 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6952 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6953 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6955 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6961 * debian/changelog: Updating.
6963 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6965 * src/hildon-window.c: When destroying the window, remove (if exists) the
6966 escape timeout handler. Fixes #NB59276.
6968 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6970 * src/hildon-banner.c: When realizing the widget, set the window
6971 transiency. Setting the transiency in the gobject constructor is not
6972 good, as the widget is not realized at that point. Fixes: #NB56624.
6974 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6976 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6977 Add padding for future expansions.
6979 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6981 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6982 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6983 will fake an activation on the previous to the last item of the trail, so
6984 the effect can be overrided by the developer as usual.
6985 Also change the callback for the back button to do the same thing, so its
6986 effect can be overrided too. Fixes: NB#58982
6988 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6990 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6991 HildonCaption. Fixes NB#52379.
6993 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6995 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6996 the internal state of the trail after the user has had the chance of executing
6997 his handler for the signal. Specifically, it may happen that the activated button
6998 is removed and the user still lets the default handler run. This would segfault
7001 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7003 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7004 scrollbar to the preview dialog. Fixes NB#54147.
7006 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7008 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7009 max/min year properties can be altered, so the client can modify it
7010 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7012 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7014 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7015 hildonlike by default. Fixing a problem with disappearing arrows when
7016 scrolling through months and years. Fixes NB#54127.
7018 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7020 * examples/hildon-date-editor-example.c: Adding error callback to the date
7023 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7029 * configure.ac: Updating.
7031 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7033 * configure.ac: Adding a special '--enable-xan' configure option that
7034 turns off the -Werror compilation setting. Usefull for development.
7036 * src/hildon-calendar.c:
7037 * src/hildon-number-editor.c:
7038 * src/hildon-time-picker.c: Adding the 5* multiplier to
7041 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7043 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7044 instead of g_object_ref + gtk_object_sink.
7046 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7052 * debian/changelog: Updating.
7054 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7056 * src/hildon-color-chooser-dialog.c:
7057 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7058 straight from Tommi labs.
7060 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7062 * examples/hildon-finger-example.c: Correcting the header file path.
7064 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7065 the changed signal. Fixes a small memory leak.
7067 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7071 * src/hildon-banner.c: Importing several usefull fixes from the
7072 ubuntu-mobile branch.
7074 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7076 * examples/Makefile.am:
7077 * examples/hildon-finger-example.c: Adding a finger-checking code
7080 * src/hildon-font-selection-dialog.c: Do not allocate the color
7081 structure using the g_new. Fixes NB#54061.
7083 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7085 * src/hildon-helper.c: Correcting tabs in file.
7087 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7089 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7090 control the visibility of the children.
7092 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7094 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7100 * debian/changelog: Updating.
7102 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7104 * src/hildon-bread-crumb-trail.c:
7105 (hildon_bread_crumb_trail_size_allocate):
7107 Make the back button always a square.
7109 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7111 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7112 from the .c file as it's a private file.
7114 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7116 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7117 uses slightly bigger height.
7119 * src/hildon-font-selection-dialog.c: Adding some checks before
7120 freeing memory in the font selection dialog.
7122 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7124 * src/hildon-font-selection-dialog.c: Adding a small check when
7127 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7128 buttons sensitivity on page switching.
7130 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7132 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7133 internal details of adding a bread crumb to the trail.
7135 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7141 * debian/changelog: Updating.
7143 * src/hildon-bread-crumb-trail.h:
7144 * src/hildon-bread-crumb.h: Changing the API guard to
7145 HILDON_ENABLE_UNSTABLE_API.
7147 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7155 * src/hildon-helper.h: Updating.
7157 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7165 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7169 * src/hildon-helper.h: Small fix to make the package actually compile.
7171 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7173 * src/hildon-bread-crumb-trail.h:
7174 * src/hildon-bread-crumb.h:
7176 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7177 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7179 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7181 * examples/hildon-bread-crumb-trail-example.c:
7183 * src/hildon-bread-crumb-trail.c:
7184 * src/hildon-bread-crumb-trail.h:
7185 * src/hildon-bread-crumb.c:
7186 * src/hildon-bread-crumb.h:
7187 * src/hildon-marshalers.list:
7188 * src/hildon-bread-crumb-widget.c:
7189 * src/hildon-bread-crumb-widget.h:
7191 Slight change in the widget design. The bread crumb trail API is
7192 unchanged, but HildonBreadCrumb is now an interface. A *private*
7193 implementation, hildon-bread-crumb-widget, is provided and used
7194 internally by the trail for the push_text/push_icon functions.
7196 The generic push API is still available, so anyone can implement
7197 and use its own bread crumb widget.
7199 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7201 * debian/rules: Fixing the shlibs.
7203 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7205 * src/hildon-banner.c: Fixing a problem with timed banners having
7206 their parrent destroyed before they are.
7208 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7210 * src/hildon-bread-crumb.c:
7211 * src/hildon-bread-crumb.h:
7213 Make the get_natural_size function a vfunc.
7215 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7217 * src/hildon-bread-crumb.c:
7218 * src/hildon-bread-crumb-trail.c:
7222 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7229 * debian/changelog: Updating for release.
7231 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7233 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7234 don't leak the pango layout.
7236 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7239 * examples/hildon-bread-crumb-trail-example.c:
7243 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7245 * debian/changelog: Removing the bug-fixed entries that were actually
7246 resolved as WONTFIX.
7248 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7251 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7253 * src/hildon-bread-crumb-trail.c:
7254 * src/hildon-bread-crumb-trail.h:
7255 * src/hildon-bread-crumb.c:
7256 * src/hildon-bread-crumb.h:
7260 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7262 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7263 until it's passed the type check.
7265 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7267 * examples/hildon-bread-crumb-trail-example.c
7271 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7273 * examples/Makefile.am
7274 * examples/hildon-bread-crumb-trail-example.c
7276 * src/hildon-bread-crumb-trail.c
7277 * src/hildon-bread-crumb-trail.h
7278 * src/hildon-bread-crumb.c
7279 * src/hildon-bread-crumb.h
7281 New HildonBreadCrumbTrail widget.
7283 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7285 * src/hildon-range-editor.c (hildon_range_editor_init),
7286 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7287 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7288 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7289 hildon_time_editor_class_init, hildon_time_editor_init),
7290 src/hildon-get-password-dialog.c (invalid_input,
7291 hildon_get_password_set_property, hildon_get_password_get_property,
7292 create_contents, hildon_get_password_dialog_set_max_characters),
7293 src/hildon-set-password-dialog.c (create_contents),
7294 src/hildon-date-editor.c (hildon_date_editor_init),
7295 src/hildon-login-dialog.c (hildon_login_dialog_init),
7296 src/hildon-number-editor.c (hildon_number_editor_init),
7297 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7298 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7299 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7300 configure option and adding the respective checks in the code.
7301 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7302 hildon_calendar_drag_data_received): fixed some build warnings.
7304 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7306 * debian/changelog: A 1.0.0 release notes.