1 2009-04-01 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-app-menu-private.h
4 * src/hildon-app-menu.c
5 (hildon_app_menu_class_init):
6 Bring back the 'external-border' style property
7 (hildon_app_menu_class_init, hildon_app_menu_init)
8 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
9 Set a fixed width-request for the menu, independent of the number
12 Fixes: NB#94957 (Smoothly opened application menu)
14 2009-03-30 Alberto Garcia <agarcia@igalia.com>
16 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
19 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
21 Make sure that the banner is correctly placed the first time it's
23 (hildon_banner_check_position, -check_fullscreen_state):
24 Show the banner in the same place no matter if the window is in
25 fullscreen mode or not.
27 Fixes: NB#107386 (Odd stacking behaviour for information banners)
29 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
31 * src/hildon-touch-selector.c (_default_print_func): reorder
32 concatenation for clarity.
34 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
36 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
37 for multicolumn selectors.
39 Fixes: NB#109099 (Memory leak in Hildon touch selector)
41 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
46 * configure.ac: Bump version.
47 * debian/changelog: Updates.
49 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
51 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
54 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
56 * configure.ac: removed libcangerra-gtk dependency
57 * debian/control: removed libcanberra-gtk dependency
58 * src/Makefile.am: removed libcanberra gtk related flags
59 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
60 context, and manage a global canberra context instead
62 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
64 2009-03-26 Alberto Garcia <agarcia@igalia.com>
66 Patch by Daniel Borgmann (danielb@openismus.com)
68 * src/hildon-edit-toolbar.c:
69 Adjust the left padding.
70 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
71 Paint background of the edit toolbar.
73 Fixes: NB#107897 (Patch to make editmodetoolbar background
74 themeable and adjust margin)
76 2009-03-25 Alberto Garcia <agarcia@igalia.com>
78 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
80 * src/hildon-program.c (hildon_program_update_top_most):
81 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
83 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
84 change when the user tasks in/out of an application)
86 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
88 * configure.ac: added libcangerra-gtk dependency
89 * debian/control: added libcanberra-gtk dependency
90 * src/Makefile.am: added libcanberra gtk related flags
91 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
94 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
96 2009-03-25 Alberto Garcia <agarcia@igalia.com>
98 * src/hildon-program.c (hildon_program_remove_window)
99 (hildon_program_add_window): Add checks for the window
100 parameter. Don't decrease the window counter if the window is not
103 2009-03-24 Alejandro G. Castro <alex@igalia.com>
105 * src/hildon-pannable-area.c,
106 (hildon_pannable_area_realize): Fixed position of the event_window
107 in the realize method.
109 2009-03-24 Alberto Garcia <agarcia@igalia.com>
111 * src/hildon-app-menu-private.h
112 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
113 (hildon_app_menu_map, hildon_app_menu_hide_idle)
114 (hildon_app_menu_key_press, hildon_app_menu_init)
115 (hildon_app_menu_finalize):
116 Make sure that all idle functions are removed when the widget is
119 Fixes: NB#107583 (Hildon app menu crashes in various applications)
121 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
126 * configure.ac: Bump version.
127 * debian/changelog: Updates.
129 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
132 (+hildon_entry_show_placeholder),
133 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
134 that replace hildon_entry_update_contents().
135 (hildon_entry_set_text),
136 (hildon_entry_set_placeholder),
137 (hildon_entry_focus_in_event),
138 (hildon_entry_focus_out_event): Determine when it is needed
139 either to show or hide the placeholder and call the above methods.
141 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
142 when the placeholder text is already set)
144 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
146 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
147 simple GdkPixbufAnim using the new icons for the banner.
148 (hildon_banner_show_animation): Use the above mentioned method to
149 create the animation widget.
151 Fixes: NB#103564 (Make hildon animation banner use individual
152 image files as the animation)
154 2009-03-24 Alejandro G. Castro <alex@igalia.com>
156 * src/hildon-pannable-area.c,
157 (hildon_pannable_leave_notify_event): Check if the child is NULL
158 to avoid sending the leave.
160 2009-03-24 Alejandro G. Castro <alex@igalia.com>
162 * src/hildon-pannable-area.c,
163 (hildon_pannable_area_class_init),
164 (hildon_pannable_leave_notify_event): Added a handler of the
165 leave-notify-signal to consider when no motion notify before
168 Fixes: NB#107494 (Items stay selected when clicking and moving
169 away when inside pannable area)
171 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
176 * configure.ac: Bump version.
177 * debian/changelog: Updates.
179 2009-03-19 Alejandro G. Castro <alex@igalia.com>
181 Patch by Alberto Garcia (agarcia@igalia.com)
183 * src/hildon-date-button.c,
184 (hildon_date_button_class_init),
185 (hildon_date_button_init): Removed the construct property handling
186 and created a default selector in the init method.
187 * src/hildon-picker-button.c,
188 (hildon_picker_button_class_init): Removed the construct flag of the
191 2009-03-18 Alberto Garcia <agarcia@igalia.com>
193 * src/hildon-main.c (hildon_init):
194 Don't allow hildon_init() to be called more than once.
196 Fixes: NB#106607 (hildon_init should issue error message upon
199 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
201 * examples/hildon-pannable-area-touch-list-example.c
202 * examples/hildon-pannagle-area-touch-grid-example.c
203 * examples/hildon-edit-toolbar-example.c
204 * examples/hildon-touch-selector-multi-cells-example.c
205 Removed the call to gtk_rc_parse_string, as it is not required since
208 2009-03-17 Alejandro G. Castro <alex@igalia.com>
210 * src/hildon-pannable-area.c,
211 (hildon_pannable_area_class_init): Modified the default panning
212 threshold of the widget to 6px.
214 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
215 than the threshold value ) within the button is not sending the
218 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
220 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
221 for the treeview in the new column. This way, the touch list will never
224 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
225 be selected manually for the HW keys to work)
227 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
229 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
230 comparison instead of using strcmp(). Fixes a compiler warning as well.
232 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
234 * doc/hildon-docs.sgml: Do not set the library version in the
235 document title, use the releaseinfo tag for that purpose instead.
237 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
239 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
240 Do not jump to the first item if the text in the entry is removed.
242 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
247 * configure.ac: Bump version.
248 * debian/changelog: Updates.
250 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
252 * src/hildon-entry.c (hildon_entry_refresh_contents):
253 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
254 Use "ReversedSecondaryTextColor" for the placeholder text.
256 2009-03-12 Alberto Garcia <agarcia@igalia.com>
258 * src/hildon-text-view.c: Fix compilation warning.
260 2009-03-12 Alberto Garcia <agarcia@igalia.com>
262 * src/hildon-button.c (hildon_button_class_init): Don't make
263 "title" and "value" construction properties, to prevent them from
264 overwriting labels set from derived classes.
266 * src/hildon-picker-button.c
267 (hildon_picker_button_set_selector): Allow setting a NULL selector.
268 (hildon_picker_button_class_init): Make touch-selector a
269 construction property.
271 * src/hildon-date-button.c (hildon_date_button_class_init)
272 (+hildon_date_button_constructed): Add a default date selector if
275 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
277 * src/hildon-touch-selector.c: Small documentation fixes.
279 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
281 Based on a patch by Daniel Borgmann (danielb@openismus.com)
283 * src/hildon-entry.c (hildon_entry_refresh_contents),
284 (hildon_entry_get_text), (hildon_entry_init): Do not use the
285 widget name, set the logical color directly instead and a boolean
286 showing_placeholder instead.
287 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
288 use the widget name here either.
290 Fixes: NB#105678 (HildonTextView should use logical colours
291 instead of setting widget name)
293 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
295 Patch by Daniel Elster (danielk@openismus.com)
297 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
298 Add user_data parameter.
299 (hildon_touch_selector_set_print_func_full): New function akin
300 hildon_touch_selector_set_print_func() but with support for user
301 data and a destroy callback.
302 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
303 to clean up the print function user data.
304 (hildon_touch_selector_class_init): Install dispose function.
305 (HildonTouchSelectorPrivate::print_user_data),
306 (HildonTouchSelectorPrivate::print_destroy_func): New private
308 (hildon_touch_selector_init): Initialize new private members.
309 (hildon_touch_selector_get_current_text): Pass along user data
310 to the print function.
311 (_default_print_func): Add dummy user_data to parameter list.
312 * hildon-date-selector.c (_custom_print_func): ditto,
313 * hildon-time-selector.c (_custom_print_func): ditto,
314 * hildon-touch-selector-entry.c
315 (hildon_touch_selector_entry_print_func): ditto.
317 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
319 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
321 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
323 2009-03-12 Alejandro G. Castro <alex@igalia.com>
325 * src/hildon-pannable-area.c,
326 (hildon_pannable_area_init),
327 (hildon_pannable_area_button_press_cb),
328 (hildon_pannable_area_motion_notify_cb): We have added code to
329 handle the leave and enter events when using the motion events.
331 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
333 2009-03-11 Alberto Garcia <agarcia@igalia.com>
335 * src/hildon-date-button.c (hildon_date_button_get_date)
336 (hildon_date_button_set_date): Make sure that the button has a
339 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
341 2009-03-11 Alejandro G. Castro <alex@igalia.com>
343 * src/hildon-pannable-area.c,
344 (hildon_pannable_area_class_init),
345 (hildon_pannable_area_calculate_velocity): Modify the use of the
346 force and adapt the value.
348 2009-03-10 Alberto Garcia <agarcia@igalia.com>
350 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
351 (hildon_app_menu_class_init): Hide the menu if it receives a
352 delete-event, but don't destroy it
354 Fixes: NB#104485 (Not able to address the call when application
355 menu is opened at background)
357 2009-03-10 Alberto Garcia <agarcia@igalia.com>
359 * src/hildon-app-menu.c
360 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
361 Remove the "external-border" style property, let the menu take its
362 natural size (or the one set by the window manager)
363 (hildon_app_menu_repack_items):
364 Don't reshow the menu, avoid flickers.
366 Partially fixes NB#94957 (Smoothly opened application menu)
368 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
373 * configure.ac: Bump version.
374 * debian/changelog: Updates.
376 2009-03-10 Alejandro G. Castro <alex@igalia.com>
378 * src/hildon-pannable-area.c,
379 (hildon_pannable_area_motion_notify_cb): We control that the
380 direction error margin is used just in case the movement is
381 allowed in the other direction.
383 Fixes: NB#105012 (buttons inside a pannable area not getting
384 release event when dragging/releasing)
386 2009-03-10 Alejandro G. Castro <alex@igalia.com>
388 * src/hildon-pannable-area.c,
389 (hildon_pannable_area_class_init),
390 (hildon_pannable_area_get_property),
391 (hildon_pannable_area_set_property),
392 (hildon_pannable_area_initial_effect),
393 (hildon_pannable_axis_scroll),
394 (hildon_pannable_area_button_release_cb): Reviewed the
395 overshooting effect, now it has its own max
396 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
399 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
404 * configure.ac: Bump version.
405 * debian/changelog: Updates.
407 2009-03-09 Alejandro G. Castro <alex@igalia.com>
409 * src/hildon-pannable-area.c,
410 (hildon_pannable_area_class_init): Changed the max speed, now
411 users can launch the widget very fast. Reduced the default force,
412 that way it is easier to control the launch speed.
414 2009-03-09 Alejandro G. Castro <alex@igalia.com>
416 * src/hildon-pannable-area.c,
417 (hildon_pannable_area_button_release_cb): Removed this check
418 because it causes problems when the device is overloaded.
420 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
422 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
423 add a current_text field to store the text entered in the
424 touch selector entry.
425 (_clean_current_selection): clean up the current text as well.
426 (_save_current_selection), (_restore_current_selection):
427 Save/restore the text in the entry if the selector is a
428 HildonTouchSelectorEntry.
430 Fixes: NB#102541 (value entered in the touch selector entry is not
431 shown when opened for second time)
433 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
435 * doc/hildon-sections.txt:
436 * src/hildon-touch-selector-entry.c
437 (+hildon_touch_selector_entry_get_entry):
438 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
440 Fixes: NB#104815 (I need accessor to the entry inside
441 HildonTouchSelectorEntry)
443 2009-03-06 Alberto Garcia <agarcia@igalia.com>
445 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
446 (hildon_app_menu_class_init):
447 New "filter-vertical-spacing" style property.
449 2009-03-06 Alberto Garcia <agarcia@igalia.com>
451 * src/hildon-find-toolbar.c
452 (hildon_find_toolbar_emit_close)
453 (hildon_find_toolbar_emit_invalid_input)
454 (hildon_find_toolbar_entry_activate):
455 Use g_signal_emit() instead of g_signal_emit_by_name()
457 2009-03-06 Alberto Garcia <agarcia@igalia.com>
459 Patch by Mox Soini (ext-mox.soini@nokia.com)
461 * tests/TEST-CASES.txt
462 * tests/check-hildon-banner.c
463 * tests/check-hildon-note.c
464 * src/hildon-banner.c
465 * src/hildon-code-dialog.c
466 * src/hildon-date-editor.c (real_set_calendar_icon_state)
467 * src/hildon-time-editor.c
468 * examples/hildon-lookup-example.c (main):
469 Replace obsolete icon names with new ones.
471 * src/hildon-find-toolbar-private.h:
472 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
473 (-hildon_find_toolbar_emit_search):
474 Remove find button and change icon of close button.
476 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
478 2009-03-05 Alberto Garcia <agarcia@igalia.com>
480 * src/hildon-time-button.c (hildon_time_button_new_step):
481 Use the "touch-selector" property to set the selector directly
482 when creating the object.
484 2009-03-05 Alejandro G. Castro <alex@igalia.com>
486 Added a new example application that allows tuning the pannable
487 area and replaced defines with properties in order to simplify the
488 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
489 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
490 PROP_DIRECTION_ERROR_MARGIN.
492 * examples/hildon-pannable-area-tuning-example.c: New example
494 * src/hildon-pannable-area.c,
495 (hildon_pannable_area_class_init),
496 (hildon_pannable_area_init),
497 (hildon_pannable_area_get_property),
498 (hildon_pannable_area_set_property),
499 (hildon_pannable_area_launch_fade_timeout),
500 (hildon_pannable_area_adjust_value_changed),
501 (hildon_pannable_axis_scroll),
502 (hildon_pannable_area_motion_notify_cb),
503 (hildon_pannable_area_scroll_cb),
504 (hildon_pannable_area_button_release_cb): We have converted some
505 of the defines that control the widget to properties to simplify
508 2009-03-05 Alberto Garcia <agarcia@igalia.com>
510 * src/hildon-app-menu.c (hildon_app_menu_map)
511 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
512 so it's closed if a new window appears.
514 Fixes: NB#104485 (Not able to address the call when application
515 menu is opened at background)
517 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
519 * src/hildon-color-button.c (hildon_color_button_get_property):Add
520 missing 'break' statement in in 'case' construct to avoid
523 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
525 * src/hildon-touch-selector-entry.c
526 (hildon_touch_selector_entry_get_property),
527 (hildon_touch_selector_entry_set_property): Add missing 'break'
528 statements in in 'case' constructs to avoid incorrect warnings.
530 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
532 * src/hildon-time-editor.c
533 (hildon_time_editor_get_time_separators): Do not crash if
534 the first label is NULL.
536 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
538 * src/hildon-date-selector.c (_month_days): Check for month to be
539 strictly less than 12, since otherwise we may overrun the array.
541 2009-03-04 Alberto Garcia <agarcia@igalia.com>
543 * src/hildon-date-button.c (+hildon_date_button_new_full)
544 (hildon_date_button_new, hildon_date_button_new_with_year_range)
545 (hildon_date_button_init): Set the date selector using a
546 construction property, to make it happen after HildonButton's
547 "value" property is set.
549 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
550 current date by default)
552 2009-03-04 Alberto Garcia <agarcia@igalia.com>
554 * doc/hildon-sections.txt
555 * src/hildon-program.c
556 * src/hildon-stackable-window.c
557 * src/hildon-window.c:
558 Documentation updates
560 2009-03-04 Alberto Garcia <agarcia@igalia.com>
562 * src/hildon-window-stack.c (hildon_window_stack_get_default)
563 (hildon_window_stack_new, +hildon_window_stack_set_property)
564 (+hildon_window_stack_get_property)
565 (hildon_window_stack_class_init)
566 (+hildon_window_stack_set_window_group)
567 (+hildon_window_stack_get_window_group):
568 Make the window group a construction property.
570 2009-03-04 Alberto Garcia <agarcia@igalia.com>
572 * doc/hildon-sections.txt
573 * src/hildon-stackable-window-private.h
574 * src/hildon-stackable-window.h
575 * src/hildon-stackable-window.c
576 (-hildon_stackable_window_set_app_menu)
577 (-hildon_stackable_window_get_app_menu)
578 (-hildon_stackable_window_toggle_menu)
579 (-hildon_stackable_window_finalize)
580 (hildon_stackable_window_class_init)
581 (hildon_stackable_window_init)
582 * src/hildon-window-private.h
583 * src/hildon-window.h
584 * src/hildon-window.c (hildon_window_init)
585 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
586 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
587 (hildon_window_get_main_menu, hildon_window_set_main_menu)
588 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
589 Moved all HildonAppMenu code to HildonWindow. The menu does not
590 require a HildonStackableWindow anymore.
592 * src/hildon-app-menu.c
593 * src/hildon-program.c
594 * examples/hildon-app-menu-example.c (main):
595 Update examples and documentation to reflect HildonAppMenu
598 2009-03-04 Alberto Garcia <agarcia@igalia.com>
600 * src/hildon-remote-texture.c
601 * src/hildon-animation-actor.c:
602 Don't include unused private headers.
604 2009-03-04 Alberto Garcia <agarcia@igalia.com>
606 * src/hildon-program-private.h
607 * src/hildon-program.c
608 (hildon_program_set_common_menu)
609 (hildon_program_get_common_menu)
610 (hildon_program_set_common_app_menu)
611 (hildon_program_get_common_app_menu):
612 Change common menu pointers from GtkWidget* to GtkMenu* and
613 HildonAppMenu* to avoid unnecessary casts.
615 2009-03-03 Alberto Garcia <agarcia@igalia.com>
617 * src/hildon-window.c (hildon_window_set_main_menu):
618 Removed incorrect 'Since:' tag
620 2009-03-03 Alejandro G. Castro <alex@igalia.com>
622 * src/hildon-pannable-area.c,
623 (hildon_pannable_area_calculate_velocity): We use now the
624 RATIO_TOLERANCE here to check the distance, fixed typo in the
626 (hildon_pannable_area_motion_notify_cb): We have to set the type
627 and time even if we are not sending the motion.
629 2009-03-02 Alberto Garcia <agarcia@igalia.com>
631 * doc/hildon-sections.txt
632 * src/hildon-app-menu.h
633 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
634 (+hildon_app_menu_get_filters): New methods to get the contents of
637 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
640 2009-03-02 Alberto Garcia <agarcia@igalia.com>
642 * src/hildon-app-menu.c (hildon_app_menu_popup):
645 2009-03-02 Alberto Garcia <agarcia@igalia.com>
647 * src/hildon-window.h
648 * src/hildon-window.c (+hildon_window_get_main_menu)
649 (hildon_window_get_menu): Created hildon_window_get_main_menu()
650 and deprecated hildon_window_get_menu().
652 * src/hildon-stackable-window.h
653 * src/hildon-stackable-window.c
654 (+hildon_stackable_window_set_app_menu)
655 (+hildon_stackable_window_get_app_menu)
656 (hildon_stackable_window_set_main_menu): Created
657 hildon_stackable_window_{get,set}_app_menu() and deprecated
658 hildon_stackable_window_set_main_menu().
660 * doc/hildon-sections.txt
661 * examples/hildon-app-menu-example.c (main)
662 * src/hildon-app-menu.c
663 * src/hildon-program.c:
664 Updated examples and documentation.
666 Fixes: NB#103758 (No way to obtain a menu from a
667 HildonStackableWindow)
669 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
674 * configure.ac: Bump version.
675 * debian/changelog: Updates.
677 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
679 * examples/hildon-remote-texture-example.c: Include
680 hildon-remote-texture.h explicitely.
681 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
682 applications not defining _XOPEN_SOURCE which don't require this header.
684 2009-02-27 Alberto Garcia <agarcia@igalia.com>
686 * doc/hildon-sections.txt
687 * src/hildon-app-menu.h
688 * src/hildon-app-menu.c (+hildon_app_menu_popup):
689 New function to pop up a HildonAppMenu
691 * src/hildon-stackable-window.c
692 (hildon_stackable_window_toggle_menu):
693 Use hildon_app_menu_popup() to show the menu.
695 2009-02-27 Alberto Garcia <agarcia@igalia.com>
697 * src/hildon-app-menu.c (hildon_app_menu_show)
698 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
699 menu if there's another window between it and its parent window.
701 Fixes: NB#100468 (Application menu window is launched even when a
702 new secondary-window/dialog is pending to be shown/realized)
704 2009-02-27 Alberto Garcia <agarcia@igalia.com>
706 * src/hildon-window-stack.c (hildon_window_stack_push)
707 (hildon_window_stack_pop_and_push):
708 Don't forget to push/pop the first window.
709 Reverse the window list before calling _push_list()
711 2009-02-27 Alberto Garcia <agarcia@igalia.com>
713 * src/hildon-picker-button.h
714 * src/hildon-picker-button.c (hildon_picker_button_class_init):
715 Remove "value_changed" slot to avoid ABI breakage
717 2009-02-26 Alejandro G. Castro <alex@igalia.com>
719 * src/hildon-pannable-area.c,
720 (hildon_pannable_area_realize),
721 (hildon_pannable_area_unrealize),
722 (hildon_pannable_draw_vscroll),
723 (hildon_pannable_draw_hscroll): Changed the method to handle the
724 GC used to draw the transparent scrollbar, this way we avoid
725 creating the GC all the time when drawing the scrollbars.
727 2009-02-26 Alejandro G. Castro <alex@igalia.com>
729 * src/hildon-pannable-area.c,
730 (hildon_pannable_area_init),
731 (hildon_pannable_area_remove): Removed some unnecessary casts.
732 (hildon_pannable_area_dispose): Disconnected some signals before
733 releasing the adjustments.
735 2009-02-26 Alberto Garcia <agarcia@igalia.com>
737 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
738 Make sure that all widgets contained in the toolbar are shown.
740 2009-02-25 Alberto Garcia <agarcia@igalia.com>
742 * doc/hildon-sections.txt
743 * src/hildon-picker-button.h
744 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
745 (_selection_changed, hildon_picker_button_on_dialog_response)
746 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
747 New hildon_picker_button_value_changed() method.
750 * src/hildon-picker-button-private.h
751 * src/hildon-picker-button.c (hildon_picker_button_init)
752 (+hildon_picker_button_disable_value_changed): Add protected
753 function for disabling the "value-changed" signal.
755 * src/hildon-date-button.c (hildon_date_button_set_date):
756 Don't emit "value-changed" for each one of the three columns.
758 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
759 before actual change of values)
761 2009-02-24 Alejandro G. Castro <alex@igalia.com>
763 * src/hildon-pannable-area.c,
764 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
765 for the treeview overshooting.
767 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
769 * src/hildon-banner.c (+hildon_banner_bind_style):
770 Renamed from hildon_banner_bind_label_style(), now naming the
771 banner itself as well.
772 (hildon_banner_show_information),
773 (hildon_banner_show_information_with_markup),
774 (hildon_banner_show_animation), (hildon_banner_show_progress):
775 Name the widgets and labels, based on their type.
777 See NB#98597 (Hildon Note and Hildon Banner should use themeable
780 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-note.c (hildon_note_set_property): call
783 hildon_note_rename() on HildonNote:note-type set.
784 (hildon_note_rename): Name the note and its label, based on the
785 HildonNote:note-type property.
787 See NB#98597 (Hildon Note and Hildon Banner should use themeable
790 2009-02-24 Alejandro G. Castro <alex@igalia.com>
792 * src/hildon-pannable-area.c,
793 (hildon_pannable_area_class_init),
794 (hildon_pannable_area_motion_notify_cb): Reviewed the default
795 panning parameters, increased SPS and deceleration factor. Added
796 also a margin to control fake directions.
798 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
800 Patch by Sven Herzberg (sven@imendio.com)
802 * configure.ac: Add missing AM_PROG_CC_C_0
803 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
805 See NB#101420 (Update unit tests and fix make check)
807 2009-02-23 Alejandro G. Castro <alex@igalia.com>
809 This patch was applied before but reverted because it caused
810 problems, we have changed the main condition and tested the
811 regressions we detected before and they work ok. We have done a
812 complete review of the topmost algorithm in order to get a more
815 * src/hildon-pannable-area.c,
816 (hildon_pannable_area_get_topmost): Added a new parameter to
817 filter the the windows that do not include those events.
818 (hildon_pannable_area_button_press_cb),
819 (hildon_pannable_area_button_release_cb),
820 (hildon_pannable_get_child_widget_at): Reviewed the call the the
821 topmost function, we have added the new parameter.
823 Fixes: NB#97458 (Pannable area prevents propagation of button
826 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
828 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
829 if all columns in the selector have an item selected.
830 (_on_dialog_response): Stop "response" signal emission if there is
831 any selector column without selected items.
833 Fixes: NB#101889 (Picker dialog should not close when nothing is
834 selected in multiple selection list)
836 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
838 * src/hildon-font-selection-dialog.c
839 (hildon_font_selection_dialog_class_init),
840 (hildon_font_selection_dialog_init): Remove the preview
841 button and dialog, since previewing with default theming is likely
842 to be overcomplicated. The :preview property has now no effect.
843 Update documentation blurbs to inform about this.
845 Fixes: NB#92297 (Preview content is not clearly visible for
848 2009-02-20 Alejandro G. Castro <alex@igalia.com>
850 Reviewed the geometry that handles the children size and
851 scrollbar, now it tries a size and reviews the results depending
852 on the scrollbars visibility.
854 * src/hildon-pannable-area.c,
855 (hildon_pannable_area_realize): Fixed a typo.
856 (hildon_pannable_area_child_allocate_calculate): Added this
857 function to calculate the child allocation.
858 (hildon_pannable_area_size_allocate): Reviewed the allocation
860 (hildon_pannable_area_check_scrollbars),
861 (hildon_pannable_area_refresh): Refactored refresh function, this
862 way we can call the code handling the scrollbars without causing a
863 size_request, it is interesting in the allocate.
864 (hildon_pannable_area_init): Replace the callbacks of the
865 value_changed and changed signals to propertly deal with the
867 (hildon_pannable_area_grab_notify),
868 (hildon_pannable_area_initial_effect),
869 (hildon_pannable_area_launch_fade_timeout),
870 (hildon_pannable_area_adjust_changed),
871 (hildon_pannable_area_adjust_value_changed),
872 (hildon_pannable_area_redraw),
873 (hildon_pannable_area_button_press_cb),
874 (hildon_pannable_area_button_release_cb),
875 (hildon_pannable_area_scroll_cb),
876 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
877 code and use the new functions adjust_changed and
878 adjust_value_changed.
880 Fixes: NB#101603 (Focus is not even for the text entry boxes in
881 Contact editor dialog)
883 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
888 * configure.ac: Bump version.
889 * debian/changelog: Updates.
891 2009-02-20 Alejandro G. Castro <alex@igalia.com>
893 * src/hildon-pannable-area.c,
894 (hildon_pannable_area_get_topmost),
895 (hildon_pannable_area_button_press_cb),
896 (hildon_pannable_area_button_release_cb),
897 (hildon_pannable_get_child_widget_at): Reverted the patch for the
898 topmost function adding the event mask. We have to try a
899 differente approach because it is still causing problems (NB#9745,
902 2009-02-19 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-banner.c:
905 Update the maximum width of timed banners.
906 (force_to_wrap_truncated): Enforce the maximum text width if the
909 Fixes: NB#102413 (The text margins (wrapping) in information
910 banner should be HILDON_MARGIN_TRIPLE)
912 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
914 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
916 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
917 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
918 bound when calculating the scroll indicator position.
920 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
921 treat ->lower correctly)
923 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
925 * src/hildon-caption.c (hildon_caption_class_init): Remove the
926 expose event handling, since it is not necessary to draw the focus
929 Fixes: NB#102467 (Do not show highlight on the text in
932 2009-02-18 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
935 full height of the toolbar for the button and the label.
937 2009-02-18 Alberto Garcia <agarcia@igalia.com>
939 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
940 padding before the label and after the button.
942 2009-02-18 Alberto Garcia <agarcia@igalia.com>
944 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
946 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
947 Add a GtkVSeparator between the button and the back arrow.
948 Let the button have automatic size.
949 Set a name to the widget for theming handling.
951 Fixes: NB#101793 (Make edit toolbar the same height as window
952 title bar (use title area theming))
954 2009-02-18 Alberto Garcia <agarcia@igalia.com>
956 * src/hildon-helper.c (attach_new_color_element): Fix memory
959 Fixes: NB#102262 (memory leak in hildon_button_set_style())
961 2009-02-18 Alberto Garcia <agarcia@igalia.com>
963 * examples/hildon-button-example.c (common_buttons_window): Don't
966 2009-02-18 Alberto Garcia <agarcia@igalia.com>
968 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
969 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
971 2009-02-18 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-gtk.c: Check that the window is realized.
975 Fixes: NB#102225 (Crash setting the progress indicator to a non
978 2009-02-17 Alberto Garcia <agarcia@igalia.com>
980 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
981 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
982 instead of modifying the one in the widget style.
984 Fixes: NB#101043 (Second row of all the command button are
985 displayed in transparent mode.)
987 2009-02-17 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-date-button.c
990 * src/hildon-time-button.c: Add gettext macros
992 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
994 * src/hildon-date-button.c (hildon_date_button_new):
995 * src/hildon-time-button.c (hildon_time_button_new_step):
996 Use new logical strings to set the button default title.
998 Fixes: NB#99915 (Date and Time options are not localised in Date
1001 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1003 * src/hildon-pannable-area.c
1004 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1005 the PANNING_THRESHOLD.
1007 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1009 * src/hildon-pannable-area.c,
1010 (hildon_pannable_area_class_init): Increased the maximum speed.
1011 (hildon_pannable_area_get_property),
1012 (hildon_pannable_area_set_property),
1013 (hildon_pannable_area_timeout): Added a new low friction mode, it
1014 allows the user avoid friction when launching the widget fast
1015 enough. It is interesting to traverse long lists.
1017 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1019 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1020 (+hildon_stackable_window_delete_event): Ignore delete events if
1021 the window is not the topmost one.
1023 Fixes: NB#101698 (Back button long press and delete-event handling)
1025 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1027 * src/hildon-pannable-area.c,
1028 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1029 gtk-dnd-drag-threshold, it was too big. We have defined our own
1030 dnd define and set a smaller value: PANNIG_THRESHOLD.
1032 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1034 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1035 user-defined icons, use always the default one.
1037 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1039 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1041 This patch was applied before but reverted because it caused
1042 problems, we have changed the main condition and tested the
1043 regressions we detected before and they work ok.
1045 * src/hildon-pannable-area.c,
1046 (hildon_pannable_area_get_topmost): Added a new parameter to
1047 filter the the windows that do not include those events. Added
1048 also a condition when finding the window to filter windows that do
1049 not ask for those events.
1050 (hildon_pannable_area_button_press_cb),
1051 (hildon_pannable_area_button_release_cb),
1052 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1053 topmost function, we have added the new parameter.
1055 Fixes: NB#97458 (Pannable area prevents propagation of button
1058 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1060 * tests/check-hildon-color-button.c (START_TEST): do not leak
1063 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1065 * src/hildon-font-selection-dialog.c
1066 (hildon_font_selection_dialog_get_preview_text): Return NULL
1067 instead of FALSE on the g_return_val_if_fail().
1069 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1071 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1072 * src/hildon-date-selector.c
1073 (hildon_date_selector_select_current_date):
1074 Do not compare unsigned integers to be greater than or equal 0,
1075 because it's always TRUE.
1077 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1079 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1080 (hildon_date_selector_constructor): Do not select the current
1081 date until we are handle the "changed" signal, to avoid having bogus
1082 elements in the days model.
1084 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1086 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1087 for num_days, since _month_days() can return a negative value.
1089 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1091 * src/hildon-caption.c (hildon_caption_size_allocate):
1092 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1093 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1095 Initialize allocation variables to 0, to avoid eventually using
1096 unitialized variables.
1098 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1100 * src/hildon-bread-crumb-trail.c
1101 (hildon_bread_crumb_trail_size_allocate):
1102 * src/hildon-calendar.c (hildon_calendar_set_background):
1103 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1104 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1105 * src/hildon-seekbar.c (hildon_seekbar_init):
1106 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1107 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1108 * src/hildon-touch-selector-entry.c
1109 (hildon_touch_selector_get_text_from_model):
1110 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1111 * src/hildon-window.c (hildon_window_finalize):
1113 Remove many unused variables.
1115 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1117 * src/hildon-seekbar.c: (hildon_seekbar_init),
1118 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1120 Remove unnecessary g_assert() calls.
1122 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1124 * src/hildon-caption.c: (hildon_caption_expose),
1125 (hildon_caption_set_property), (hildon_caption_init),
1126 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1127 (hildon_caption_size_request), (hildon_caption_size_allocate),
1128 (hildon_caption_forall), (hildon_caption_set_separator),
1129 (hildon_caption_activate), (hildon_caption_set_child_expand),
1130 (hildon_caption_set_label_text),
1131 (hildon_caption_get_label_alignment):
1133 Remove unnecessary g_assert() calls.
1135 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1137 * src/hildon-banner.c
1138 (hildon_banner_map, hildon_banner_init): Make banner temporary
1139 before mapping it to avoid closing other temporary windows, but
1140 make it non-temporary afterwards to avoid being closed by other
1141 non-temporary windows.
1142 (-hildon_banner_client_event, hildon_banner_init):
1143 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1145 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1148 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1150 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1153 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1155 * src/hildon-remote-texture.c
1156 * src/hildon-remote-texture.h
1157 * src/hildon-remote-texture-private.h
1158 * examples/hildon-remote-texture-example.c:
1159 Updates/fixes to remote-texture and its example.
1161 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1163 Patch by Mox Soini (ext-mox.soini@nokia.com)
1165 * src/hildon-code-dialog.c: Update logical id.
1166 * src/hildon-set-password-dialog.c: Update logical id.
1168 Fixes: NB#100646 (Logical strings is shown for ok in set
1169 password,Password needed dialogs)
1171 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1174 * src/hildon-remote-texture.c
1175 * src/hildon-remote-texture.h
1176 * src/hildon-remote-texture-private.h
1178 Added remote texture widget (for Clutter shared memory textures)
1180 * examples/hildon-remote-texture-example.c
1181 * examples/Makefile.am
1182 Added example file for remote texture usage
1184 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1186 * configure.ac: post release version bump.
1187 * debian/changelog: version bump.
1189 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1194 * configure.ac: Bump version.
1195 * debian/changelog: Updates.
1197 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1199 * src/hildon-date-selector.c (hildon_date_selector_init)
1200 (hildon_date_selector_constructor): Don't connect to the "changed"
1201 signal until the selector is completely constructed.
1203 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1205 * src/hildon-touch-selector.c: (_create_new_column),
1206 (hildon_touch_selector_append_column),
1207 (hildon_touch_selector_set_column_selection_mode),
1208 (hildon_touch_selector_set_active),
1209 (hildon_touch_selector_select_iter):
1210 Emit the HildonTouchSelector::changed signal every time selection
1211 is changed in any of the methods above. This behavior was already
1212 documented but not fully functional.
1214 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1215 selection is programmatically changed)
1217 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1219 * doc/hildon-sections.txt: Remove obsolete icon
1220 sizes from here as well.
1222 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1224 * examples/hildon-stackable-window-example.c (add_window): Remove
1227 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1229 * src/hildon-app-menu.c
1230 (hildon_app_menu_show): Check whether the parent window of a menu
1231 is topmost before popping it up.
1233 Fixes: NB#100468 (Application menu window is launched even when a
1234 new secondary-window/dialog is pending to be shown/realized.)
1236 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1238 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1241 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1243 Patch by Mox Soini (ext-mox.soini@nokia.com)
1245 * src/hildon-banner.c: (hildon_banner_show_animation):
1246 use stylus size instead of obsolete note size.
1247 * src/hildon-defines.h: Update icon sizes.
1249 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1251 * src/hildon-touch-selector-entry.c:
1252 (hildon_touch_selector_entry_init): Disable unsupported
1254 (hildon_touch_selector_entry_get_text_column): Emit a warning
1255 if an unsupported input modes is used and explicitile state
1256 these modes in the documentation.
1258 Fixes: NB#99802 (Hildon touch selector entry not working properly
1259 for some of the input modes)
1261 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1263 * src/hildon-pannable-area.c,
1264 (hildon_pannable_area_init): Added the changed signal handlers of
1267 Fixes: NB#100320 (HildonPannableArea does not listen to
1268 GtkAdjustment "change" signals)
1270 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1272 * doc/hildon-sections.txt
1273 * src/hildon-window-private.h
1274 * src/hildon-window.h
1275 * src/hildon-window.c (hildon_window_init)
1276 (hildon_window_realize, hildon_window_unrealize)
1277 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1278 (hildon_window_size_request, hildon_window_size_allocate)
1279 (hildon_window_forall, hildon_window_show_all)
1280 (hildon_window_destroy, +paint_edit_toolbar)
1281 (+hildon_window_set_edit_toolbar):
1282 New hildon_window_set_edit_toolbar() method, to add a
1283 HildonEditToolbar to a window without having to pack it manually.
1285 Reorganize hildon_window_size_allocate()
1287 * src/hildon-edit-toolbar.c: Update documentation.
1289 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1290 example to use the new API.
1292 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1294 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1296 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1297 Remove from stack before calling parent's hide.
1299 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1301 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1302 window is removed from the middle of the stack, update the
1303 transiency of the previous one.
1305 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1308 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1311 block/unblock the signal handler if it's not actually being used.
1312 Fixes some critical warnings.
1314 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1316 Based on a patch by Iván Gómez (igomez@igalia.com)
1318 * src/hildon-banner.c
1322 * src/hildon-pannable-area.c
1323 * src/hildon-picker-dialog.c
1324 * src/hildon-wizard-dialog.h
1325 * src/hildon-wizard-dialog.c: Documentation updates.
1327 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1328 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1330 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1332 * configure.ac: post release version bump.
1333 * debian/changelog: version bump.
1335 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1340 * configure.ac: Bump version.
1341 * debian/changelog: Updates.
1343 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1346 a stock icon nor change the relief of the back arrow.
1348 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1349 graphics from theme)
1351 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1353 * src/hildon-button.c (hildon_button_set_alignment): Use
1354 priv->alignment if the button has no child yet.
1356 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1358 * src/hildon-button.c: (hildon_button_init): Set the
1359 button style during initialization to give it the proper
1362 Fixes: NB#99713 (HildonButton value label color is wrong)
1364 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1366 * src/hildon-touch-selector.c: Document
1367 hildon_touch_selector_center_on_selected()
1369 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1371 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1372 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1373 all menu items, but not the menu itself.
1374 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1375 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1376 items after adding them to the menu so keyboard accelerators work.
1377 (hildon_app_menu_show): Don't show the menu if it contains items
1378 but none of them are visible.
1380 * examples/hildon-app-menu-example.c (create_menu): Use
1381 gtk_widget_show_all() to show all menu items.
1383 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1385 * src/hildon-picker-dialog.c:
1386 (-_update_title_on_selector_changed_cb),
1387 (-_dialog_update_title): Removed.
1388 (_select_on_selector_changed_cb), (_on_dialog_response),
1389 (on_selector_columns_changed): Do not update the dialog title.
1390 (setup_interaction_mode): Do not connect to
1391 HildonTouchSelector::changed signal if there's a "done" button, as
1392 the dialog title doesn't need to be updated.
1394 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1397 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1399 Patch by Kristian Rietveld (kris@imendio.com)
1401 * src/hildon-touch-selector.c: (_create_new_column): Use new
1402 GtkTreeView::hildon-row-tapped signal to react to user interactions
1403 instead of ::changed.
1405 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1406 with some dynamic tree model)
1408 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1411 (+screen_size_changed, +label_size_request)
1412 (hildon_note_class_init): Make the Hildon information note have a
1413 minimum height, and make its text hvae a maximum width.
1415 Fixes: NB#98614 (Hildon information note (background) should have
1416 minimum height and maximum text width)
1418 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-banner.h
1421 * src/hildon-banner.c (hildon_banner_show_information)
1422 (hildon_banner_show_informationf)
1423 (hildon_banner_show_information_with_markup): Update documentation
1424 to reflect that the icon_name parameter is not used anymore.
1425 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1426 Remove all code from these functions and mark them as deprecated.
1427 (hildon_banner_show_progress): Mark as deprecated.
1429 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1431 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1433 * src/hildon-pannable-area.c,
1434 (hildon_pannable_area_class_init),
1435 (tranparency_color),
1436 (hildon_pannable_draw_vscroll),
1437 (hildon_pannable_draw_hscroll),
1438 (hildon_pannable_area_expose_event): Added a new way to render the
1439 scrollbars of the pannable area avoiding using cairo at all. This
1440 way we improve the performance of the pannable area rendering. The
1441 cairo rendering procedure is still in the code, we can control
1442 which one to use changing the value of the define
1443 USE_CAIRO_SCROLLBARS.
1445 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1447 * configure.ac: post release version bump.
1448 * debian/changelog: version bump.
1450 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1455 * configure.ac: Bump version.
1456 * debian/changelog: Updates.
1458 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1460 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1461 banners instead of destroying them when they receive a button
1464 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1466 Reverted commit 34028, it was causing regressions, probably the
1467 topmost condition is not correct, we have to check it in more
1468 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1469 propagation of button press events)
1471 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1473 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1474 that the selection is not empty before attempting to retrieve the
1475 current ampm selection.
1477 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/hildon-picker-button.c:
1480 (hildon_picker_button_on_dialog_response): Directly update the
1481 button contents when required instead of calling _selection_changed.
1483 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1485 * src/hildon-program.c (hildon_program_update_top_most): Update
1486 'is-topmost' property also when wm_hints is not set.
1488 Fixes: NB#98383 (is-topmost signal is not emitted when task
1489 switcher is clicked.)
1491 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1493 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1497 * src/hildon-animation-actor.c,
1498 * src/hildon-animation-actor.h: Added the animation actor class,
1499 this widget represents an animation actor for WM-assisted
1500 animation effects in the Hildon framework.
1502 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1504 * src/hildon-window-stack-private.h
1505 * src/hildon-window-stack.c
1506 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1507 Avoid calling gtk_widget_show() again indirectly from
1508 hildon_stackable_window_show()
1510 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1512 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1515 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1517 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1518 (hildon_time_selector_init): Move the construction of the hours and
1519 ampm columns to the constructor to preserve the order the columns
1522 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1524 * src/hildon-picker-dialog.c:
1525 (hildon_picker_dialog_class_init): Connect a realize method.
1526 (+hildon_picker_dialog_realize): Setup the interaction mode here
1528 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1529 yet, do it during the realize instead.
1530 (_on_dialog_response):
1531 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1532 if the widget is not realized, to avoid the dialog response before it
1535 Avoid premature responses in the HildonPickerDialog that can cause it
1536 to be hidden before it's even shown.
1538 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1540 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1541 (on_selector_columns_changed), (requires_done_button),
1542 (+prepare_action_area), (setup_interaction_mode),
1543 (_hildon_picker_dialog_set_selector):
1545 Split the interaction mode setup into preparation of the
1546 action area (prepare_action_area()) and the connection of
1547 the signals in setup_interaction_mode() and update the code to
1550 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1552 * src/hildon-pannable-area.c,
1553 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1554 per second to 15, we will check if this is ok regarding
1557 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1559 * src/hildon-pannable-area.c,
1560 (hildon_pannable_axis_scroll): Avoid resize if we already have
1561 reached overshoot_max.
1563 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1565 * src/hildon-pannable-area.c,
1566 (hildon_pannable_area_init),
1567 (hildon_pannable_area_realize),
1568 (hildon_pannable_area_size_allocate),
1569 (hildon_pannable_area_map),
1570 (hildon_pannable_area_unmap),
1571 (hildon_pannable_draw_vscroll),
1572 (hildon_pannable_draw_hscroll),
1573 (hildon_pannable_area_expose_event),
1574 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1575 pannable are to avoid the expose events go to the window and
1576 redraw the window. We save this way that part of the stack and the
1577 paint_boxes. We had to change the positions of the elements when
1580 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1582 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1583 * src/hildon-color-chooser-dialog.c:
1584 (hildon_color_chooser_dialog_init):
1585 * src/hildon-font-selection-dialog.c:
1586 (hildon_font_selection_dialog_init),
1587 (hildon_font_selection_dialog_show_preview):
1588 * src/hildon-get-password-dialog.c:
1589 * src/hildon-login-dialog.c:
1590 * src/hildon-set-password-dialog.c:
1591 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1592 * src/hildon-time-picker.c: (hildon_time_picker_init):
1594 Remove obsolete logical string IDs and update to the appropriate ones.
1596 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1598 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1600 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1601 that happens if the window hasn't been realized yet.
1603 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1604 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1606 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1608 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1609 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1612 Fixes: NB#98537 (Device hangs in account settings dialog)
1614 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1616 * configure.ac: post release version bump.
1617 * debian/changelog: version bump
1619 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1624 * configure.ac: Bump version.
1625 * debian/changelog: Updates.
1627 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1629 Added a new function to the HildonTimeButton widget that allows to
1630 change the step of the minutes in the selector associated with the
1631 button: hildon_time_button_new_step
1633 * src/hildon-time-button.c,
1634 (hildon_time_button_init),
1635 (hildon_time_button_new),
1636 (hildon_time_button_new_step):
1637 * src/hildon-time-button.h: Added the new function and refactored
1639 * examples/hildon-time-button-example.c,
1640 (main): We have replaced the function without parameters with the
1641 function with the steps set to 5
1643 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1645 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1647 * src/hildon-time-selector.c,
1648 (hildon_time_selector_class_init),
1649 (hildon_time_selector_constructor),
1650 (hildon_time_selector_get_property),
1651 (hildon_time_selector_set_property),
1652 (_create_minutes_model),
1653 (hildon_time_selector_new_step),
1654 (hildon_time_selector_set_time),
1655 * src/hildon-time-selector.h: Added a new property to the
1656 HildonTimeSelector (minutes-step), we use that property to control
1657 the steps between the minutes in the list of the selector. We have
1658 added a new function to the API to create a widget changing the
1659 step: hildon_time_selector_new_step.
1661 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1663 * src/hildon-time-selector.c,
1664 (hildon_time_selector_class_init),
1665 (hildon_time_selector_constructor),
1666 (hildon_time_selector_init): Overrided the construct function when
1667 creating the time selector object. We have moved the minutes model
1668 handling code from the init to the new construction function:
1669 hildon_time_selector_constructor.
1671 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1673 * examples/hildon-date-button-example.c: (main): Use the new
1674 hildon_date_button_new_with_year_range() method in the example.
1675 * src/hildon-date-button.c:
1676 (+hildon_date_button_new_with_year_range): New public method
1677 to conveniently create a HildonDateButton with a custom year range
1678 in its HildonDateSelector.
1679 * src/hildon-date-button.h: Add the new public method definition.
1681 Fixes: NB#97908 (Not possible to change the year range in
1682 HildonDateSelector/HildonDateButton)
1684 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-date-selector.c:
1687 (+hildon_date_selector_set_property),
1688 (+hildon_date_selector_get_property),
1689 (hildon_date_selector_class_init): Install new properties "min-year"
1690 and "max-year" to define boundaries for the year column.
1691 (_create_year_model): Use the boundary properties to populate the model.
1692 (+hildon_date_selector_new_with_year_range): New public method to
1693 create a HildonDateSelector with a user defined year range.
1694 (hildon_date_selector_select_current_date): Use the new boundaries to
1695 calculate the iterator of current year.
1696 * src/hildon-date-selector.h: Add the new public method definition.
1698 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1700 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1701 Install a constructor method.
1702 (+hildon_date_selector_construct_ui): construct the widget.
1703 (+hildon_date_selector_constructor): new constructor.
1704 (+hildon_date_selector_init): move out widget construction code to
1705 the new constructor.
1707 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1710 that there's actually a month or year selected before obtaining them.
1711 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1712 of the HildonTouchSelector::changed signal, as it was emitted on every
1713 single item selection.
1715 Fix some warnings and possible crashers due to the selection restoring.
1717 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1720 the signal handlers only after creating the dialog instead of on every
1723 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-button.c (hildon_button_init)
1726 * src/hildon-check-button.c (hildon_check_button_init)
1727 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1728 focus when clicked by default.
1730 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1735 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1737 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1738 Alejandro G. Castro (alex@igalia.com)
1740 * src/hildon-picker-dialog.c:
1741 (hildon_picker_dialog_class_init): install new "center-on-show"
1743 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1744 (hildon_picker_dialog_set_property): add setter code for the new
1746 (hildon_picker_dialog_get_property): add getter code for the new
1748 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1749 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1752 Fixes: NB#92849 (Selected item is not always visible when
1753 HildonTouchSelector is shown)
1755 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1757 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1758 Alejandro G. Castro (alex@igalia.com)
1760 * src/hildon-touch-selector.c:
1761 (_create_new_column): Do not connect to the "realize" signal of the
1763 (hildon_touch_selector_append_column): center on the selected items
1764 when a new column is appended.
1765 (hildon_touch_selector_select_iter): Factor out the code to select a
1766 column to hildon_touch_selector_scroll_to().
1767 (+search_nearest_element): Method to retrieve the nearest selected
1768 element to the visible area of the pannable area in a column.
1769 (+on_realize_cb): scroll to the initially selected item.
1770 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1771 the pannable area is realized, otherwise delay this until it is.
1772 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1773 selected items of a given column.
1774 (+hildon_touch_selector_center_on_selected): Public method to center
1775 all columns on the nearest selected item.
1776 * src/hildon-touch-selector.h: Add definition for
1777 hildon_touch_selector_center_on_selected().
1779 Implement public API to ensure visibility of all selected items in
1780 a HildonTouchSelector.
1782 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1784 Fixed a problem in the fading when calling the scroll_to API, and
1785 improve scrollbar fading handling.
1787 * src/hildon-pannable-area.c,
1788 (hildon_pannable_area_grab_notify): avoid the timeout when the
1790 (hildon_pannable_area_button_press_cb),
1791 (hildon_pannable_area_motion_notify_cb): Code style changes.
1792 (hildon_pannable_area_button_release_cb): Review the conditions
1793 when releasing the mouse button to avoid unrequired fading
1795 (hildon_pannable_area_scroll_to): Do not calculate and set the
1796 velocity if the scroll is not required.
1798 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1800 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1801 Don't check whether the new selector is NULL: it cannot be.
1802 Hold a reference to the selector while doing the replacement.
1804 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1806 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1807 unnecessary size_request in a removed widget.
1809 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1812 an unnecessary reference tracking that was leaking.
1814 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1816 Added delayed motion notify event handling, this way we can
1817 discard redrawing if more than 25 events arrive per second.
1819 * src/hildon-pannable-area.c,
1820 (hildon_pannable_area_init): Initialized the new private atributes
1821 controlling this timeout
1822 (hildon_pannable_area_dispose): Remove the timeout that controls
1823 the motion notify events.
1824 (hildon_pannable_area_scroll): Added a condition to control the
1825 use of the acceleration.
1826 (hildon_pannable_area_motion_event_scroll_timeout),
1827 (hildon_pannable_area_motion_event_scroll): Added this two
1828 functions, they handle the motion notify events inside the
1830 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1831 to the scroll method with the new function.
1832 (hildon_pannable_area_button_release_cb): We have to remove the
1833 timeout handler and move to the last position if the last motion
1834 events were not handled.
1836 Fixes: NB#97028 (Pannable area updates on every motion event)
1838 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1840 * src/hildon-pannable-area.c,
1841 (hildon_pannable_area_get_topmost): Added a new parameter to
1842 filter the the windows that do not include those events. Added
1843 also a condition when finding the window to filter windows that do
1844 not ask for those events.
1845 (hildon_pannable_area_button_press_cb),
1846 (hildon_pannable_area_button_release_cb),
1847 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1848 topmost function, we have added the new parameter.
1850 Fixes: NB#97458 (Pannable area prevents propagation of button
1853 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1855 * src/hildon-pannable-area.c,
1856 (hildon_pannable_area_initial_effect): Added controls before
1857 launching the timeout and the idle functions.
1858 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1859 of the method, in some situations it can return with TRUE and 0 in
1861 (hildon_pannable_area_button_press_cb): We do not need to set
1862 DELAY for fading out here.
1864 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1866 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1868 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1869 post-cleaning if the selection is not NULL.
1871 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1873 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1874 all items before restoring the selection.
1876 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1878 * src/hildon-touch-selector.c:
1879 (+hildon_touch_selector_unselect_all):
1880 * src/hildon-touch-selector.h: New API to unselect all items in a
1881 column of the touch selector.
1883 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1885 * src/hildon-pannable-area.c,
1886 (hildon_pannable_area_redraw): Added a call to the refresh
1887 function inside the redraw because apparently in some cases the
1888 change in the adjustment does not imply a size allocate.
1890 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1891 despite the view not being scrollable)
1893 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1895 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1896 leak. Check for NULL before attempting to set the window title.
1898 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1900 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1901 whether to show or not the 'Done' button each time the dialog is
1902 shown, as it depends on the HildonTouchSelector selection mode.
1904 Fixes: NB#96226 (In multiple selection mode Done button is shown
1905 sometimes in listpicker)
1907 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1910 for the number of columns in the HildonTouchSelector more than once.
1912 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-touch-selector.c: Minor documentation fixes.
1916 * src/hildon-picker-dialog.c (+_dialog_update_title)
1917 (_select_on_selector_changed_cb)
1918 (_update_title_on_selector_changed_cb)
1919 (on_selector_columns_changed): Update dialog title when there's no
1920 'Done' button and also when the number of columns in the selector
1924 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1925 (+_selection_changed, hildon_picker_button_on_dialog_response)
1926 (hildon_picker_button_selector_selection_changed)
1927 (+hildon_picker_button_selector_columns_changed)
1928 (hildon_picker_button_set_selector): Update button value and emit
1929 'value-changed' when the number of columns in the selector
1933 Fixes: NB#96225 (Dialog titles are not shown according to the
1934 values selected in the list picker)
1936 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1939 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1940 New "arrow-width" and "arrow-height" style properties to set the
1941 size of the arrow button.
1942 Set name of arrow button ("hildon-edit-toolbar-arrow").
1944 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1945 graphics from theme)
1947 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1949 * src/hildon-picker-button.c:
1950 (hildon_picker_button_selector_selection_changed): Use
1951 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1952 the dialog is present.
1954 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1955 the selection is accepted in the dialog)
1957 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-color-chooser.h
1960 * src/hildon-color-chooser-dialog.h:
1961 Added G_BEGIN_DECLS and G_END_DECLS
1963 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1965 (_clean_current_selection): plug a leak in the list.
1967 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1969 * src/hildon-picker-dialog.c:
1970 (+free_path_list): Method to free a GList of GtkTreePaths.
1971 (_clean_current_selection), (_save_current_selection),
1972 (_restore_current_selection): Save the current selection in
1973 as a list of lists, to support multiple selection properly.
1975 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1977 patch by Claudio Saavedra (csaavedra@igalia.com)
1979 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1980 Store the press position.
1981 (+hildon_text_view_button_release_event): If the release position is
1982 close enough to the press position, move the cursor here. Otherwise,
1984 (hildon_text_view_class_init): Override GtkTextView press, release, and
1985 motion event handlers, disabling this way text selection through
1986 pointer interaction, and allowing the container widget to handle the
1989 Fixes: NB#95828 (HildonTextView functionality)
1991 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1993 Based on a patch by Iván Gómez (igomez@igalia.com)
1995 * src/hildon-button.[ch]
1996 * src/hildon-calendar.c
1997 * src/hildon-check-button.c
1998 * src/hildon-date-editor.c
1999 * src/hildon-date-selector.c
2000 * src/hildon-picker-button.c
2001 * src/hildon-time-editor.c
2002 * src/hildon-time-selector.c
2003 * src/hildon-touch-selector.[ch]:
2004 Documentation updates
2006 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2008 * src/hildon-pannable-area.c,
2009 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2010 threshold, it was required due to X events handling.
2012 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2014 * src/hildon-pannable-area.c,
2015 (hildon_pannable_area_grab_notify),
2016 (hildon_pannable_area_initial_effect),
2017 (hildon_pannable_area_button_press_cb),
2018 (hildon_pannable_area_button_release_cb),
2019 (hildon_pannable_area_scroll_cb),
2020 (hildon_pannable_area_scroll_to): Review the timeout management of
2021 the scrollbar, the frecuency was incorrectly set.
2023 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2025 * src/hildon-picker-button.c:
2026 (+hildon_picker_button_on_dialog_response),
2027 (hildon_picker_button_clicked): Present the dialog instead of
2028 running it with gtk_dialog_run().
2030 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2033 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2036 (hildon_app_menu_finalize): When a window is hidden it doesn't
2037 emit notify::is-topmost, so make sure than the menu also
2038 disappears in that case.
2039 (parent_window_topmost_notify): Renamed from parent_window_hidden
2041 Fixes: NB#94460 (stackable window's menu is not closed when its
2044 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2046 * src/hildon-touch-selector-entry.c:
2047 (+hildon_touch_selector_entry_set_input_mode),
2048 (+hildon_touch_selector_entry_get_input_mode):
2049 * src/hildon-touch-selector-entry.h: New methods to access the input
2050 mode in the selector's entry.
2052 Fixes: NB#93410 (API required for setting IM mode in
2053 HildonTouchSelectorEntry)
2055 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2057 * configure.ac: post release version bump.
2058 * debian/changelog: version bump
2060 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2065 * configure.ac: Bump version.
2066 * debian/changelog: Updates.
2068 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2070 * src/hildon-touch-selector.c:
2071 (_hildon_touch_selector_has_multiple_selection): No need
2072 to initialize the variables here.
2074 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2076 * src/hildon-note-private.h
2077 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2078 (hildon_note_finalize, hildon_note_rebuild): Close information
2079 notes when they receive a button press.
2081 Fixes: NB#89890 (Information notes does not get disappeared after
2084 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2086 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2087 mark from the wizard title, as it's not really necessary. Also,
2088 do not display the page title if not set.
2090 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2092 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2093 (parent_window_hidden): Use the window's "is-topmost" property to
2094 detect when to hide the menu.
2096 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2098 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2099 (hildon_app_menu_finalize): If the parent window of the menu is
2100 hidden, hide the menu too.
2102 Fixes: NB#94460 (stackable window's menu is not closed when its
2105 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2108 * debian/libhildon1-examples.install
2110 * examples/Makefile.am:
2111 Use dh_install to install all examples.
2112 Use DEB_SRCDIR instead of defining SOURCE_DIR
2114 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2116 * configure.ac: post release version bump.
2117 * debian/changelog: version bump
2119 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2124 * configure.ac: bump version
2125 * debian/changelog: updates
2126 * debian/control: bump gtk+ dependency
2128 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2130 patch by Christian Dywan (christian@imendio.com)
2132 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2133 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2135 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2137 * src/hildon-check-button.c (hildon_check_button_init)
2138 (hildon_check_button_class_init, hildon_check_button_style_set)
2139 (hildon_check_button_apply_style):
2140 New "checkbox-size" style property.
2142 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2143 larger / configurable size)
2145 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2147 * configure.ac: post release version bump.
2148 * debian/changelog: version bump
2150 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2155 * configure.ac: bump version
2156 * debian/changelog: updates
2158 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2160 * doc/hildon-sections.txt
2161 * src/hildon-pannable-area.c
2162 * src/hildon-program.c
2163 * src/hildon-time-editor.c
2164 * src/hildon-touch-selector-entry.c:
2166 More documentation updates.
2168 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2170 * doc/hildon-sections.txt
2171 * src/hildon-caption.c
2172 * src/hildon-code-dialog.c
2173 * src/hildon-color-button.c
2174 * src/hildon-controlbar.c
2175 * src/hildon-date-editor.c
2176 * src/hildon-date-selector.c
2177 * src/hildon-edit-toolbar.c
2178 * src/hildon-find-toolbar.c
2179 * src/hildon-font-selection-dialog.c
2181 * src/hildon-program.c
2182 * src/hildon-range-editor.c
2183 * src/hildon-seekbar.c
2184 * src/hildon-time-editor.c
2185 * src/hildon-time-selector.c
2186 * src/hildon-volumebar-range.c
2187 * src/hildon-volumebar.c
2188 * src/hildon-vvolumebar.c
2189 * src/hildon-weekday-picker.c
2190 * src/hildon-window.c
2191 * src/hildon-wizard-dialog.c:
2193 Lots of documentation fixes.
2195 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2197 Patch contributed by Iván Gómez (igomez@igalia.com)
2199 * src/hildon-check-button.c:
2200 * src/hildon-date-button.c:
2201 * src/hildon-date-selector.c:
2202 * src/hildon-dialog.c:
2203 * src/hildon-edit-toolbar.c:
2204 * src/hildon-entry.c:
2205 * src/hildon-picker-button.c:
2206 * src/hildon-program.c:
2207 * src/hildon-text-view.c:
2208 * src/hildon-time-button.c:
2209 * src/hildon-touch-selector-entry.c:
2210 * src/hildon-window-stack.c:
2212 Add more "since" tags to the new API.
2214 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2216 * doc/hildon-sections.txt: Add below method.
2217 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2218 version for the hildonized scale.
2219 * src/hildon-gtk.h: Add the definition.
2221 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2223 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2225 * doc/hildon-sections.txt: Add missing entries for new methods.
2227 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2229 Added API to pannable are in order to get its adjustments. We
2230 added two properties to manage the values we had in the private
2233 * src/hildon-pannable-area.c:
2234 (hildon_pannable_area_class_init): Added hadjustment and
2235 vadjustment properties in order to expose horizontal and vertical
2237 (hildon_pannable_area_get_property),
2238 (hildon_pannable_area_set_property): Added code to handle the new
2240 (hildon_pannable_area_get_hadjustment),
2241 (hildon_pannable_area_get_vadjustment): API functions to get the
2243 * src/hildon-pannable-area.h:
2244 (hildon_pannable_area_get_hadjustment),
2245 (hildon_pannable_area_get_vadjustment): API functions to get the
2248 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2250 Fixed some leaks, after valgrinding.
2252 * src/hildon-touch-selector.c:
2253 (_default_print_func): Fixed a leak.
2254 (hildon_touch_selector_append_column): Fixed a leak.
2255 * src/hildon-date-button.c:
2256 (hildon_date_button_init): Fixed a leak.
2257 * src/hildon-date-selector.c
2258 (hildon_date_selector_finalize): Fixed a leak.
2260 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2262 Based on a patch by Christian Dywan (christian@imendio.com)
2264 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2266 * src/hildon-gtk.h: Add definition.
2268 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2270 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2272 * src/hildon-picker-button.c: (hildon_picker_button_init),
2273 (hildon_picker_button_new): Set the HildonButton::style property
2274 in the init method, to propagate the value to the derived classes.
2276 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-button.c: (hildon_button_class_init): Do not make
2279 the "style" property a construct property.
2281 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2283 * src/hildon-wizard-dialog.h
2284 * src/hildon-wizard-dialog.c
2285 (hildon_wizard_dialog_set_forward_page_func)
2286 * src/hildon-pannable-area.h
2287 * src/hildon-pannable-area.c
2288 (hildon_pannable_area_set_size_request_policy):
2289 Documentation fixes.
2291 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2293 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2295 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2297 * doc/hildon-sections.txt: Added sections file.
2299 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2302 * src/*.[ch]: Updates.
2304 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2306 * examples/hildon-progress-indicator-example.c: new file
2307 * examples/Makefile.am: include the new example program
2309 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2311 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2313 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2315 * configure.ac: post release version bump
2316 * debian/changelog: version bump
2318 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2323 * configure.ac: bump version
2324 * debian/changelog: updates
2325 * debian/control: bump gtk+ dependency
2327 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2329 * src/hildon-dialog.c: Mark as deprecated.
2330 * src/hildon-dialog.h: Mark as deprecated.
2331 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2332 from HildonDialog and still work, even if
2333 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2334 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2336 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2337 maemo changes) instead)
2339 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2341 * src/hildon-pannable_area.h:
2342 * src/hildon-pannable_area.c:
2343 (hildon_pannable_area_class_init),
2344 (hildon_pannable_area_set_property),
2345 (hildon_pannable_area_get_property),
2346 (hildon_pannable_area_size_request),
2347 (hildon_pannable_area_get_size_request_policy),
2348 (hildon_pannable_area_set_size_request_policy): Added new API
2349 allowing applications to control the request policy. Now they can
2350 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2351 children allocation (HILDON_MOVEMENT_CHILDREN).
2353 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2357 (hildon_gtk_tree_view_set_ui_mode)
2358 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2359 mode of treeviews and iconviews.
2361 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2363 * src/hildon-touch-selector-entry.c:
2364 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2365 of a GtkEntry to get proper theming.
2367 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2368 widget, not GtkEntry)
2370 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2372 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2373 no HildonWizardDialogPageFunc.
2375 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2377 Patch contributed by Iván Gómez (igomez@igalia.com)
2379 * src/hildon-app-menu.c:
2380 * src/hildon-button.c:
2381 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2382 * src/hildon-stackable-window.c:
2383 * src/hildon-time-selector.c:
2384 * src/hildon-touch-selector.c:
2385 * src/hildon-window.c:
2387 Add more "since" tags to the new API in hildon 2.2.
2389 2008-12-05 Tim Janik <timj@imendio.com>
2391 Patch contributed by Christian Dywan (christian@imendio.com)
2393 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2394 HildonSizeType, which are supplied by Gtk+ now.
2396 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2398 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2399 (with maemo changes) instead)
2401 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2403 Patch contributed by Iván Gómez (igomez@igalia.com)
2405 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2408 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2410 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2411 (some_page_func), (main): Update the example to use a
2412 HildonWizardDialogPageFunc function.
2414 * src/hildon-wizard-dialog-private.h: Add private data for
2415 the HildonWizardDialogPageFunc function usage.
2417 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2418 (destroy), (hildon_wizard_dialog_init), (response),
2419 (hildon_wizard_dialog_set_forward_page_func):
2420 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2421 that applications can use to stop a HildonWizardDialog to jump to
2424 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2427 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2429 * src/hildon-program.h
2430 * src/hildon-program-private.h
2431 * src/hildon-program.c (hildon_program_init)
2432 (hildon_program_set_common_app_menu)
2433 (hildon_program_get_common_app_menu):
2434 New API for setting a common HildonAppMenu for all
2435 HildonStackableWindows registered with the HildonProgram.
2437 * src/hildon-stackable-window.c
2438 (hildon_stackable_window_toggle_menu):
2439 Use the common HildonAppMenu if a window doesn't have a specific
2442 * src/hildon-app-menu-private.h
2443 * src/hildon-app-menu.c
2444 (hildon_app_menu_get_parent_window):
2445 Function to obtain the window a HildonAppMenu is attached to.
2446 (hildon_app_menu_set_parent_window):
2447 Hide the menu if the parent window is set to NULL.
2449 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2451 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2452 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2453 search widget to popup.
2455 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2457 * configure.ac: post release version bump
2458 * debian/changelog: version bump
2460 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2465 * configure.ac: bump version
2466 * debian/changelog: updates
2468 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2470 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2472 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2473 (hildon_window_stack_window_realized)
2474 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2475 Set the leader GdkWindow when a window is stacked and realized,
2476 unset it when it's unstacked.
2477 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2479 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2481 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-stackable-window.h
2484 * src/hildon-window-stack.h:
2485 Protect definition of HildonWindowStack using the preprocessor.
2487 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2490 Fix warning if all menu items are hidden.
2492 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2494 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2496 * src/hildon-controlbar.c:
2497 * src/hildon-hvolumebar.c:
2498 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2499 Multiple scale size defines updates.
2501 Fixes: NB#94322 (Scale Updates)
2503 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2505 * examples/hildon-app-menu-example.c (create_menu)
2506 Show items after adding them to the menu, as in the future the
2507 menu will no longer call gtk_widget_show() on the added items.
2509 * src/hildon-app-menu.c:
2510 Update example as explained above.
2512 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-app-menu.c
2515 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2516 Make sure that all menu items have finger height.
2518 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2520 * src/hildon-picker-dialog.c:
2521 (_on_dialog_response), (_save_current_selection),
2522 (_restore_current_selection), (_clean_current_selection),
2523 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2524 Defined new functions in order to save the current internal selector
2525 selection previous open the dialog, in case that the use cancel the
2526 interaction, so the widget restores the previous selection.
2528 Fixes: NB#92032 (In calendar application, date values in 'new event'
2531 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2533 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2535 * src/hildon-button.c: Add a reference to the button examples in
2536 hildon-button-example.c
2538 * examples/hildon-button-example.c: Added examples of the most
2539 common button layouts.
2541 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2543 * src/hildon-app-menu.c (hildon_app_menu_show)
2544 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2546 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2548 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-picker-dialog.c:
2551 (hildon_picker_dialog_init): Initialize the signal id for
2552 HildonTouchSelector::columns-changed.
2553 (+on_selector_columns_changed): Set up the interaction mode everytime a
2554 column is added or removed from the HildonTouchSelector.
2555 (_hildon_picker_dialog_set_selector): Connect to
2556 HildonTouchSelector::columns-changed and keep track of it.
2558 Make sure to update the interaction mode of the dialog everytime a
2559 column is added or removed in the HildonTouchSelector.
2561 Fixes: NB#93228 (Done button is not shown always in listpicker)
2563 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2566 a new ::columns-changed signal.
2567 (hildon_touch_selector_append_column): Emit ::columns-changed.
2568 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2570 Add a ::columns-changed signal, emitted when the number of columns in a
2571 HildonTouchSelector changes.
2573 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2575 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2576 (_hildon_picker_dialog_set_selector): Factor out the code
2577 to set up the dialog interaction mode.
2579 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2581 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2582 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2583 to signal_changed_id.
2585 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2587 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2590 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2592 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2593 Updated the logical ids related to ampm format, as now it is required to
2594 show it correctly localized even on languages with no default
2595 abbreviations for am or pm
2596 (_check_am_pm_format): check correctly the 24h format gconf property
2598 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2600 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2602 * src/hildon-button.c: Documentation updates.
2604 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2607 * src/hildon-caption.c: (hildon_caption_class_init):
2608 * src/hildon-color-button.c: (hildon_color_button_class_init):
2609 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2610 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2611 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2612 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2614 Remove deprecated GTK+ marshalers and replace them with the ones
2615 provided by GLib, for those available, add a marshaler for
2616 BOOLEAN:VOID, which is not available in GLib, and use it.
2618 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2621 the text from the previous column if there is no
2622 HildonTouchSelectorColumn::text-property set.
2624 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-button.h
2627 * src/hildon-button.c (hildon_button_set_property)
2628 (hildon_button_get_property, hildon_button_class_init)
2629 (hildon_button_set_style, hildon_button_get_style):
2630 New "style" property to change the visual appearance of the
2633 * src/hildon-picker-button.c (hildon_picker_button_new):
2634 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2636 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2637 HildonButton look like PickerButton)
2639 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2642 column while building the default string.
2644 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2647 scroll indicator by default.
2649 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2651 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2653 * src/hildon-main.c: Fix the documentation for hildon_init()
2655 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2657 * doc/hildon-docs.sgml
2661 * src/hildon-window-stack-private.h
2662 * src/hildon-window-stack.h
2663 * src/hildon-window-stack.c:
2664 New HildonWindowStack object, that adds support for multiple
2665 stacks of windows per process.
2667 * src/hildon-stackable-window-private.h
2668 * src/hildon-stackable-window.h
2669 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2670 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2671 (hildon_stackable_window_show, hildon_stackable_window_hide)
2672 (hildon_stackable_window_class_init)
2673 (hildon_stackable_window_init):
2674 Use HildonWindowStack for stack management.
2676 * src/hildon-program.c (hildon_program_pop_window_stack)
2677 (hildon_program_peek_window_stack)
2678 (hildon_program_go_to_root_window):
2679 Add a fallback implementation to the deprecated functions using
2682 * examples/hildon-stackable-window-example.c:
2683 Use the new HildonWindowStack API.
2685 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-stackable-window-private.h
2688 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2689 (hildon_stackable_window_hide, hildon_stackable_window_init):
2690 Remove all window stack management.
2692 * src/hildon-program-private.h
2693 * src/hildon-program.h
2694 * src/hildon-program.c (hildon_program_init)
2695 (hildon_program_pop_window_stack)
2696 (hildon_program_peek_window_stack)
2697 (hildon_program_go_to_root_window):
2698 Remove all window stack management and mark functions as
2701 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2703 * src/hildon-app-menu.c (hildon_app_menu_realize):
2704 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2706 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2708 * configure.ac: post release version bump
2709 * debian/changelog: version bump
2711 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2716 * configure.ac: bump version
2717 * debian/changelog: updates
2719 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2721 Based on initial code by Christian Dywan (christian@imendio.com)
2723 * doc/hildon-docs.sgml: Add section for hildon-main.
2724 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2725 * src/Makefile.am: Add new hildon-main.[ch]
2726 * src/hildon-defines.h: Update the icon sizes.
2727 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2728 new library initialization files and register icon sizes.
2729 * src/hildon-main.h: New declarations.
2730 * src/hildon.h: Include hildon-main.h
2732 Add new initialization functions to the library. These methods
2733 will register the hildon specific icon sizes and can be used in the
2734 future for other hildon specific bits.
2736 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2738 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2740 * src/hildon-window.c: (hildon_window_realize),
2741 (hildon_window_notify), (-hildon_window_update_title): Do not set
2742 the application name in the window title.
2744 Fixes: NB#89754 (Applications shouldn't display their names in the
2747 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2749 * src/hildon-note-private.h:
2750 * src/hildon-note.c: (hildon_note_set_property),
2751 (hildon_note_get_property), (hildon_note_class_init),
2752 (hildon_note_init), (hildon_note_finalize),
2753 (hildon_note_new_confirmation_with_icon_name),
2754 (hildon_note_new_information_with_icon_name):
2756 No need to mark as deprecated the actual code. Revert
2757 to avoid missing symbols in widgets using deprecated API.
2759 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2761 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2763 * src/hildon-volumebar.h
2764 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2765 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2767 * src/hildon-helper.h
2768 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2769 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2771 * examples/Makefile.am:
2772 Deprecate hildon-insensitive-example
2774 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2776 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2778 * examples/hildon-pannable-area-buttons-scroll-example.c:
2779 Make all buttons finger height
2781 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2783 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2785 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2786 update the day model only if it is really required, and to avoid the
2787 full-reconstruction aproach. Now it only add or remove the required days.
2789 The purpose of this is avoid superfluous HildonTouchSelector::changed
2792 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2793 with strange parameters)
2795 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2797 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2799 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2800 the WINDOW_TYPE property.
2802 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2804 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2807 Fix dependency to allow parallel compilation with make -jX
2809 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2812 color frame and some minor tweaks to make it more consistent with
2815 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2816 highlighted but not visible)
2818 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2820 * examples/Makefile.am: Fixed typo in the Makefile.am.
2822 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2824 Reviewed the use of MAEMO_GTK define, now we add the define in the
2825 compilation line, and we also add it to the pc file.
2827 * configure.ac: Added MAEMO_GTK define to the compilation command
2828 and removed it from the config.h.
2830 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2831 do not have to take care about this define if the library was
2835 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2837 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2839 * examples/Makefile.am,
2840 * examples/hildon-pannable-area-buttons-scroll-example.c,
2841 * examples/hildon-pannable-area-gesture-signals-example.c,
2842 * examples/hildon-pannable-area-scroll-jump-example.c,
2843 * examples/hildon-pannable-area-tree-view-example.c:
2844 Renamed the pannable area examples, now they have more meaningful
2847 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2849 * src/hildon-touch-selector.c:
2850 (hildon_touch_selector_set_column_selection_mode): Used of
2851 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2852 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2853 to avoid re-seting the same selection mode.
2855 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2856 breaks HildonPickerDialog)
2858 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2860 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2861 conditional in the Makefile.am
2863 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2865 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2866 Remove unused methods.
2868 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-button.c (hildon_button_init):
2871 Make button images center-aligned by default
2873 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2876 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2877 activated, we have to think about how to deal with both defines
2878 MAEMO_GTK and MAEMO_CHANGES.
2880 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2882 * examples/hildon-app-menu-example.c (create_menu): Make all
2883 buttons finger size.
2885 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2887 Fixed the compilation without maemo gtk adding ifdefs with
2888 MAEMO_GTK define to the code, we have to check this version more
2891 * examples/Makefile.am: Added control to avoid some examples that
2892 just make sense with maemo gtk.
2895 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2896 hildon modes with the define.
2898 * examples/hildon-edit-toolbar-example.c,
2899 (create_icon_view): Create the icon view without hildon-gtk
2900 helpers if we are not using maemo gtk.
2902 * src/hildon-touch-selector.c,
2903 (_create_new_column): Create the treeview without hildon-gtk
2904 helpers if we are not using maemo gtk.
2906 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2908 * src/hildon-pnnable-area.c,
2909 (hildon_pannable_area_dispose),
2910 (hildon_pannable_area_button_press_cb),
2911 (hildon_pannable_area_child_mapped),
2912 (hildon_pannable_area_add),
2913 (hildon_pannable_area_remove): Added code to control the position
2914 of the event_window when adding and removing children from the
2915 pannable. We have to raise the event window when the child is
2918 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2919 selection mode using custom widget inside pannable)
2921 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2923 * configure.ac: post release version bump
2924 * debian/changelog: version bump
2926 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2931 * configure.ac: bump version
2932 * debian/changelog: updates
2934 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2936 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2937 search mode, in order to avoid lose the focus on the treeview when
2938 a hw key (like enter) is pressed.
2940 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2941 in HildonDateSelector dialog)
2943 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2945 * debian/rules: Added --enable-maintainer-mode
2946 * Makefile.am: Added ACLOCAL_AMFLAGS
2948 This allows to properly regenerate the Makefiles if you modify the
2949 configure.ac or any Makefile.am.
2951 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2953 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2954 properties, not needed at all.
2956 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2960 * src/hildon-note.c: (hildon_note_set_property),
2961 (hildon_note_get_property), (hildon_note_class_init),
2962 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2963 (hildon_note_new_confirmation_add_buttons): Remove icons.
2964 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2965 (hildon_note_new_information_with_icon_name): Deprecate.
2966 (hildon_note_new_confirmation): Act directly, without calling
2967 the deprecated constructor.
2968 (hildon_note_new_information): Act directly, without calling
2969 the deprecated constructor.
2970 * src/hildon-note.h: Mark deprecate methods as such.
2971 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2972 not run tests on the deprecated methods if built with deprecation
2975 Fixes: NB#91688 (Never show icons in information notes/confirmation
2978 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2980 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2981 (hildon_app_menu_key_press): Remove leftover usage of the
2982 private structure in HildonAppMenu struct.
2983 * src/hildon-app-menu.h: Remove leftover private structure
2984 from the HildonAppMenu struct.
2986 Fixes a crasher when using the HildonAppMenu.
2988 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2990 * src/hildon-picker-dialog.c: Use appropriate logical id
2991 for the default "Done" text.
2993 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2995 * configure.ac: post release version bump
2996 * debian/changelog: version bump
2998 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3000 Modified the way to scroll to the current selection just when the touch
3001 selector is shown on the screen, avoiding a g_idle. Added too a property
3002 to configure this behaviour. See hildon_pannable_area_jump_to_child
3003 documentation for more information.
3005 * src/hildon-touch-selector.c
3006 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3007 Added 'initial-scroll' property
3008 (hildon_touch_selector_set_property): Added
3009 (hildon_touch_selector_map): Removed as not required anymore
3010 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3011 only a concrete column, instead of iterate along all the columns
3013 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3018 * configure.ac: bump version
3019 * debian/changelog: updates
3021 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3023 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3024 compilation time warnings.
3026 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3028 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3029 the default value for HildonPannableArea::mov-mode to
3030 HILDON_PANNABLE_AREA_MODE_VERT.
3032 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3034 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3036 Reverting following commit:
3038 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-app-menu-private.h
3041 * src/hildon-app-menu.[ch]
3042 * src/hildon-button.[ch]
3043 * src/hildon-check-button.[ch]
3044 * src/hildon-entry.[ch]
3045 * src/hildon-pannable-area.[ch]
3046 * src/hildon-text-view.[ch]:
3047 Added private field to the object's structure.
3049 because it causes an ABI breakage. We will need to introduce these
3050 changes later at some point. See NB#91636 for an extensive
3051 explanation and status.
3053 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3055 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3057 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3058 remove special cases that are no longer necessary.
3060 Fixes: NB#91016 (Change toolbar sizes, simplification)
3062 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3064 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3065 is shown in the cancel note.
3067 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3069 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3070 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3071 (hildon_seekbar_init): Remove steppers, remove expose event.
3072 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3074 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3076 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3078 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3079 label font to "SmallSystemFont" for vertically arranged buttons.
3081 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3084 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3086 * src/hildon-check-button.c
3087 (hildon_check_button_set_active, hildon_check_button_clicked):
3088 Don't access private parts directly, use getters instead.
3090 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-check-button.c (hildon_check_button_new):
3093 Align the contents of the check button to the left.
3095 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3097 * src/hildon-pannable-area.c,
3098 (hildon_pannable_area_scroll_to),
3099 (hildon_pannable_area_jump_to),
3100 (hildon_pannable_area_scroll_to_child),
3101 (hildon_pannable_area_jump_to_child): Replace the mapped
3102 precondition of these functions with the realized, it is the
3103 correct state of the widget in this case. Changed the
3104 documentation according to this modification.
3106 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3108 Added a new EXTRA_CFLAGS option to add the deprecated define to
3109 the compilation command. This way we can avoid using the define in
3110 the documentation compilation.
3112 * configure.ac: Defined EXTRA_CFLAGS.
3114 * examples/Makefile.am:
3116 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3118 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3120 * src/hildon-picker-dialog.c:
3121 Defined a utility macro with the desired touch selector height
3122 Removed currently unused separator, and title_label variables from
3124 (hildon_picker_dialog_init): Removed code related to the creation
3125 of unused private variables title_label and separator.
3126 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3127 to ensure correct visualization of the touch selector inside the dialog.
3128 * src/hildon-touch-selector.c
3129 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3130 ensure a concrete height of the widget.
3132 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3135 * tests/Makefile.am:
3137 Remove spurious whitespaces.
3139 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3141 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3142 compilation warning after the cancel button removal.
3144 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3146 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3148 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3149 Makefile.am, that way we can choose not to compile some examples
3150 and tests of the deprecated widgets.
3152 * examples/Makefile.am: Divided the sources in deprecated and
3155 * src/Makefile.am: Added undef statement of the deprecated
3156 symbol to the enums file generation process.
3158 * src/hildon-color-chooser-dialog.c
3159 * src/hildon-color-chooser-dialog.h
3160 * src/hildon-color-button.c
3161 * src/hildon-color-button.h
3162 * src/hildon-color-chooser.c
3163 * src/hildon-color-chooser.h
3164 * src/hildon-controlbar.c
3165 * src/hildon-controlbar.h
3166 * src/hildon-date-editor.c
3167 * src/hildon-date-editor.h
3168 * src/hildon-hvolumebar.c
3169 * src/hildon-hvolumebar.h
3170 * src/hildon-private.c
3171 * src/hildon-private.h
3172 * src/hildon-range-editor.c
3173 * src/hildon-range-editor.h
3174 * src/hildon-seekbar.c
3175 * src/hildon-seekbar.h
3176 * src/hildon-time-editor.c
3177 * src/hildon-time-editor.h
3178 * src/hildon-time-picker.c
3179 * src/hildon-time-picker.h
3180 * src/hildon-volumebar.c
3181 * src/hildon-volumebar.h
3182 * src/hildon-vvolumebar.c
3183 * src/hildon-vvolumebar.h
3184 * src/hildon-bread-crumb-trail.h
3185 * src/hildon-bread-crumb-trail.c
3186 * src/hildon-calendar-popup.c
3187 * src/hildon-calendar-popup.h
3188 * src/hildon-weekday-picker.c:
3189 * src/hildon-weekday-picker.h:
3190 * src/hildon-bread-crumb-widget.c:
3191 * src/hildon-bread-crumb-widget.h:
3192 * src/hildon-bread-crumb.c:
3193 * src/hildon-bread-crumb.h:
3194 * src/hildon-calendar.c:
3195 * src/hildon-calendar.h:
3196 * src/hildon-caption.c:
3197 * src/hildon-code-dialog.c:
3198 * src/hildon-code-dialog.h:
3199 * src/hildon-font-selection-dialog.c:
3200 * src/hildon-font-selection-dialog.h:
3201 * src/hildon-get-password-dialog.c:
3202 * src/hildon-get-password-dialog.h:
3203 * src/hildon-login-dialog.c:
3204 * src/hildon-login-dialog.h:
3205 * src/hildon-number-editor.c:
3206 * src/hildon-number-editor.h:
3207 * src/hildon-set-password-dialog.c:
3208 * src/hildon-set-password-dialog.h:
3209 * src/hildon-sort-dialog.c:
3210 * src/hildon-sort-dialog.h: This is the list of deprecated
3213 * src/hildon-touch-selector.c:
3214 * src/hildon-window.c: Added undef statement to avoid compilation
3217 * tests/Makefile.am: Divided the sources in deprecated and
3220 * tests/check_test.c,
3221 (configure_tests): Marked the deprecated code that was adding
3222 suites with deprecated tests.
3224 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3226 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3228 * src/hildon-touch-selector.c: (_default_print_func): Do not
3229 duplicate a string returned by gtk_tree_model_get(), it is already
3232 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3235 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3237 * src/hildon-pannable-area.c
3238 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3239 method, it had problems when adding a widget with viewport the
3240 second time. Now checks if it already has a viewport and uses it.
3242 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3245 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3247 * src/hildon-pannable-area.c,
3248 (hildon_pannable_area_scroll_to),
3249 (hildon_pannable_area_jump_to),
3250 (hildon_pannable_area_scroll_to_child),
3251 (hildon_pannable_area_jump_to_child): Added a precondition to the
3252 scroll and jump to functions: the widget must be mapped before we
3253 can safely call these functions. We have also added documentation
3254 to the functions to explain how to use them in this situation.
3257 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3259 Reviewed the threading handling of the pannable widget, we have
3260 used the gdk_threads_add_timeout function instead of the usual
3261 glib handlers. This avoids some problems with the threads.
3263 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3264 (hildon_pannable_area_initial_effect),
3265 (hildon_pannable_area_scroll_indicator_fade),
3266 (hildon_pannable_area_button_press_cb),
3267 (hildon_pannable_area_timeout),
3268 (hildon_pannable_area_motion_notify_cb),
3269 (hildon_pannable_area_button_release_cb),
3270 (hildon_pannable_area_scroll_cb),
3271 (hildon_pannable_area_scroll_to): Removed the
3272 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3273 gdk_threads_add_timeout.
3275 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3277 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3282 * configure.ac: bump version
3283 * debian/changelog: updates
3285 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3287 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3288 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3289 * src/hildon-color-chooser-dialog.c:
3290 (hildon_color_chooser_dialog_init):
3291 * src/hildon-font-selection-dialog.c:
3292 (hildon_font_selection_dialog_init):
3293 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3295 Remove all cancel/close-like dialogs, as these are not going to be
3298 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-note.c: (hildon_note_rebuild),
3301 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3304 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3306 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3308 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3309 sure all buttons are shown, even the Cancel/Close-like ones.
3311 Fixes: NB#90861 (Custom Confirmation dialogs should be
3312 protected from cancel button removal)
3314 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3316 * debian/control: Change libhildon1-examples dependency from libhildon1
3318 * debian/libhildon1-examples.install
3320 * Makefile.am: Modified the final install directory for the examples on
3321 package libhildon1-examples
3322 * Makefile.static: Update clean target in order to remove all the binary
3325 Changes suggested by Claudio after review new libhildon1-examples package
3327 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3329 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3330 * src/hildon-touch-selector.c: Ditto.
3332 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3334 * debian/control: Added new package libhildon1-examples, in order to pack
3335 the current hildon examples as documentation
3336 * debian/rules: Not to compress .c files, modify some includes on the
3337 examples (as normally are compiled locally, but when installed it will
3338 require to include the installed libhildon1 library), and rename
3340 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3341 install all the example files on the new example package
3342 * examples/Makefile.static: Added static makefile that can be used to
3343 compile the examples, once installed the new example package
3344 * examples: Most of the examples were modified in order to grant that
3345 all use only '#include "hildon.h"', in order to be easy to prepare
3346 it on the example package
3348 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3351 * debian/libhildon1-dev.install
3352 * debian/libhildon1-doc.install:
3353 Move all gtk-doc files to a separate libhildon1-doc package.
3355 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3357 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3359 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3361 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3363 * debian/rules: Fixed a error in order to avoid unnecessary calls
3364 to autogen.sh on package building
3366 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3368 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3370 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3372 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3375 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3377 * src/hildon-picker-button.c
3378 (hildon_picker_button_finalize):
3379 Free priv->done_button_text
3381 * src/hildon-time-button.c
3382 (hildon_time_button_set_time)
3383 * src/hildon-picker-button.c
3384 (hildon_picker_button_clicked)
3385 (hildon_picker_button_selector_selection_changed)
3386 (hildon_picker_button_set_selector)
3387 * src/hildon-date-button.c
3388 (hildon_date_button_set_date):
3389 Free strings returned by hildon_touch_selector_get_current_text()
3391 * src/hildon-button.c (hildon_button_construct_child):
3392 Fix leaks in priv->image and priv->label_box
3394 Fixes: NB#90535 (Memory leak in picker button)
3396 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3398 * src/hildon-button.c: (hildon_button_get_property): Do not access
3399 private elements directly, use getters instead.
3401 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-app-menu-private.h
3404 * src/hildon-app-menu.c
3405 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3406 Store the menu's parent window.
3408 * src/hildon-stackable-window.c
3409 (hildon_stackable_window_toggle_menu)
3410 (hildon_stackable_window_finalize):
3411 Set the menu's parent window when the menu is shown, unset it when
3414 * src/hildon-app-menu.c
3415 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3416 (hildon_app_menu_class_init):
3417 Send unhandled keyboard accelerators to the parent window.
3419 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-stackable-window.c
3422 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3424 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3426 * configure.ac: post release version bump
3428 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3431 * configure.ac: Bump version
3432 * debian/changelog: Updates
3433 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3436 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3438 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3441 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3442 GtkMenu with Hildon style.
3444 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3446 * src/hildon-picker-button.c:
3447 (hildon_picker_button_set_done_button_text): Set the dialog's
3448 done button text here as well.
3450 Fixes: NB#90232 (Picker button does not set the label on done button
3451 for the second time)
3453 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3455 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3458 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3460 * src/hildon-app-menu.c (hildon_app_menu_insert)
3461 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3462 the HildonAppMenu to be activatable using keyboard accelerators
3463 when the menu is not being shown.
3465 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3467 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3469 * src/hildon-stackable-window.c
3470 (hildon_stackable_window_show):
3471 Don't hide old windows automatically when new windows are shown:
3472 this is now a task for the window manager.
3473 (hildon_stackable_window_class_init)
3474 (hildon_stackable_window_hide):
3475 Remove windows from the stack everytime they're hidden.
3476 (hildon_stackable_window_realize):
3477 Don't change the _NET_WM_WINDOW_TYPE property. Use
3478 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3479 it as a stackable window.
3481 * src/hildon-program.c
3482 (hildon_program_pop_window_stack):
3483 Just hide the window to remove it from the stack.
3484 (hildon_program_go_to_root_window):
3485 Don't call gtk_widget_show(), this is now a task for the window
3488 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3490 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-button.c
3493 (hildon_button_construct_child):
3494 Don't pack anything in the button until text or image are
3495 set. This allows adding a custom child after creating the button
3496 with hildon_button_new().
3497 (hildon_button_finalize, hildon_button_class_init)
3498 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3499 alignment and the label box even when they're not packed in the
3502 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3504 * src/hildon-touch-selector.h:
3505 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3506 currently the type definition was using GTK_TYPE_VBOX
3507 * src/hildon-touch-selector.c:
3508 Added some implementation notes in order to clarify that any other widget
3509 added without the column related API will not be included on the
3510 selection logic, and how the widget is freed, as some people ask about
3512 (hildon_touch_selector_remove): Reimplemented in order to free properly
3513 the column related data when you remove the private hbox.
3514 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3515 to get a proper HildonTouchSelectorColumn documentation
3517 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3519 * src/hildon-touch-selector-entry.c:
3520 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3521 text in the GtkEntry and there is no item selected. Fixes a
3524 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-app-menu-private.h
3527 * src/hildon-app-menu.[ch]
3528 * src/hildon-button.[ch]
3529 * src/hildon-check-button.[ch]
3530 * src/hildon-entry.[ch]
3531 * src/hildon-pannable-area.[ch]
3532 * src/hildon-text-view.[ch]:
3533 Added private field to the object's structure.
3535 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3537 * configure.ac: post-release version bump
3539 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3543 * configure.ac: pre-release version bump
3545 * debian/changelog: updates.
3547 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3550 Disconnect the handler for HildonTouchSelector::changed.
3552 (hildon_picker_button_selector_selection_changed): Update the button
3553 value if the selection change was not triggered by the
3556 (hildon_picker_button_set_selector): connect to
3557 HildonTouchSelector::changed.
3559 Fixes: NB#89650 (Picker button is not updated, when selection in
3560 selector has changed)
3562 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3564 * src/hildon-picker-dialog.c
3565 (hildon_picker_dialog_realize): Removed as not required
3566 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3567 * src/hildon-picker-button.c
3568 (_current_selector_empty): New function, checks if the selector is empty
3569 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3570 if the current selector is empty, in order to avoid to show the dialog
3571 close the dialog in this case (and shows a g_warning).
3573 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3575 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3577 * src/hildon-pannable-area.c,
3578 (hildon_pannable_area_scroll): Added clause to stop movement when
3579 the child of pannable is smaller than one page.
3580 (hildon_pannable_area_scroll_to): Added conditions to avoid
3581 starting the scrolling movement if the child is smaller than one
3582 page, the complete child is in the screen, we do not have to move.
3584 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3586 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3589 this is managed automatically by the widget when the size of the
3592 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3594 * src/hildon-picker-button.c
3595 (hildon_picker_button_set_done_button_text): Make a copy of the
3596 text, and free the previous value.
3598 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3600 * src/hildon-touch-selector-entry.c:
3601 (hildon_touch_selector_entry_print_func): Return the selected row's
3602 text if the entry is empty.
3604 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3607 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3609 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3611 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3614 * src/hildon-check-button.h
3615 * src/hildon-check-button.c
3616 * examples/hildon-check-button-example.c:
3617 HildonCheckButton is now a new widget. 'toggled' signal added.
3619 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3621 * src/hildon-program-private.h
3622 * src/hildon-program.c (hildon_program_init)
3623 (hildon_program_finalize): Removed unused variables group_leader
3624 and name from HildonProgramPrivate.
3626 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3628 * src/hildon-check-button.c (hildon_check_button_set_active)
3629 (hildon_check_button_get_active, hildon_check_button_new): Use
3630 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3632 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3634 * src/hildon-touch-selector.h
3635 (hildon_touch_selector_set_column_attributes): added deprecation
3636 guard HILDON_DISABLE_DEPRECATED
3637 * src/hildon-time-selector.c
3638 (hildon_time_selector_set_time)
3639 (hildon_time_selector_get_time): Fixed a typo on documentation
3640 * src/hildon-touch-selector.c: update HildonTouchSelector and
3641 HildonTouchSelectorColumn documentation
3642 * src/hildon-touch-selector-entry.c: update "text-column" property
3644 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3645 to be added to the general documentation.
3647 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3649 * examples/hildon-pannable-area-example-4.c,
3651 * examples/hildon-pannable-area-example.c,
3652 (main): Modified the code in order to use the container add, with
3653 viewport treeviews could have problems if they are really big.
3655 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3657 * src/hildon-weekday-picker.c,
3658 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3659 the agreement regarding deprecation in the library.
3661 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3663 * examples/hildon-picker-button-multicolumn-example.c:
3664 (main): Use custom "done" button text.
3666 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3667 (hildon_picker_button_set_property),
3668 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3669 (hildon_picker_button_init),
3670 (+hildon_picker_button_get_done_button_text),
3671 (+hildon_picker_button_set_done_button_text): New methods to customize
3672 the "done" button label in the launched HildonPickerDialog. Also,
3675 * src/hildon-picker-button.h: add the public API.
3677 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-date-selector.h:
3680 * src/hildon-picker-dialog.h:
3681 * src/hildon-time-selector.h:
3682 * src/hildon-touch-selector-column.h:
3683 * src/hildon-touch-selector.h:
3685 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3686 declarations. Fixes gtk-doc warnings.
3688 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3690 * src/hildon-picker-dialog.h
3691 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3692 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3694 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3695 long text is set as label for done button)
3697 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3699 * src/hildon-dialog.c (hildon_dialog_add_button):
3700 Set fixed width to all buttons in the HildonDialog.
3702 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3704 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3706 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3707 Set widget name using class name plus "-finger" or "-thumb".
3709 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3712 'clicked' when the state of the button is manually changed.
3714 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-app-menu.c (hildon_app_menu_realize)
3717 (hildon_app_menu_unrealize, hildon_app_menu_init)
3718 (hildon_app_menu_class_init, item_visibility_changed):
3719 Change the menu layout when the size of the screen changes.
3720 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3721 Show warning only when changing the number of colums using the
3724 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3726 * debian/compat: Set to 5
3727 * debian/control: Update dependencies.
3728 * debian/libhildon1-dbg.install: Remove.
3729 * debian/libhildon1-dev.install: Update according to cdbs paths.
3730 * debian/libhildon1.install: Update according to cdbs paths.
3731 * debian/rules: Switch to cdbs.
3733 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3735 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3736 'item' variable renamed to 'filter'
3738 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3740 * src/hildon-app-menu.c (hildon_app_menu_insert)
3741 (hildon_app_menu_add_filter, remove_item_from_list)
3742 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3743 Don't leak hidden items when the menu is destroyed.
3745 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3747 * src/hildon-app-menu.c (hildon_app_menu_insert)
3748 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3749 (hildon_app_menu_set_columns, item_visibility_changed)
3750 (filter_visibility_changed, hildon_app_menu_repack_filters)
3751 (hildon_app_menu_repack_items):
3752 Repack items and filters separately.
3754 Don't repack all items, change only the ones that are needed to
3757 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3759 * src/Makefile.am: added hildon-touch-selector-column.h
3761 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3763 * src/hildon-touch-selector.c: added the property "text-column" to the
3764 class HildonTouchSelectorColumn, and related get/set functions
3765 (_default_printf_func): updated to use "text-column" property
3766 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3767 "text-column" in his documentation, as this is now included on
3768 HildonTouchSelectorColumn. The get/set_property can still be used,
3769 working as a wrapper to the concrete column "text-column" property
3770 (_text_column_modified): callback added in order to handle the signal
3771 "notify::text-column" of the concrete HildonTouchSelectorColumn
3772 (hildon_touch_selector_entry_get_text_column)
3773 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3774 modified in order to use the HildonTouchSelectorColumn "text-column"
3776 * src/hildon-time-selector.c:
3777 * src/hildon-date-selector.c:
3778 * examples/hildon-touch-selector-example.c
3779 * examples/hildon-touch-selector-multi-cells-example.c
3780 * examples/hildon-picker-button-multicolumn-example.c
3781 Set the right value to "text-column" property on the creation of a new
3782 column using hildon_touch_selector_append_column()
3784 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3786 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3788 * src/hildon-app-menu.c
3789 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3790 updating the layout of the menu, don't create all widgets again,
3791 just repack the items in their new places.
3793 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3795 * src/hildon-time-selector.c
3796 (hildon_time_selector_get_time)
3797 (hildon_time_selector_set_time)
3798 Added documentation of these public methods
3800 * src/hildon-date-button.h
3801 * src/hildon-touch-selector-column.h
3802 * src/hildon-time-button.h
3803 * src/hildon-picker-dialog.h
3804 * src/hildon-time-selector.h
3805 * src/hildon-picker-button.h
3806 * src/hildon-touch-selector.h
3807 * src/hildon-time-picker.h
3808 * src/hildon-date-selector.h
3809 * src/hildon-touch-selector-entry.h
3810 Modified in order to use hildon-widgets code style
3812 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3814 Added deprecated support to the compilation process using
3815 HILDON_DISABLE_DEPRECATED
3817 * configure.ac: Added the --disable-deprecated to the configure
3820 * src/hildon-weekday-picker.c:
3821 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3822 to use the deprecated support. We will update the other deprecated
3823 widgets status in a new patch.
3825 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3827 * configure.ac: Fixed typo with fatal warnings support, the
3828 variable name was not correct
3830 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-app-menu.c
3833 * src/hildon-program.c: Update documentation.
3835 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3837 * configure.ac: Post-release version bump.
3839 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3844 * configure.ac: Pre-release version bump.
3845 * debian/changelog: Updates.
3847 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3849 * NEWS: Update news for previous releases.
3851 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3853 * examples/hildon-touch-selector-multi-cells-example.c:
3854 (create_selector): Update the example to use
3855 hildon_touch_selector_append_column() with a NULL renderer and set
3856 the renderers later.
3857 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3858 passed a NULL renderer. This is documented behavior now.
3860 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3861 This must be used if the developer wants full control on the layout of
3862 the renderers to be added to the column.
3864 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3866 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3868 * src/hildon-touch-selector.c: Documentation fixes.
3870 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-wizard-dialog-private.h: Remove image and box.
3873 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3874 (hildon_wizard_dialog_set_property), (response): Completely remove
3875 image/icon support, and the containers required for the layout.
3877 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3879 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3881 * src/hildon-app-menu.c: Updated documentation.
3883 * src/hildon-stackable-window.c
3884 (hildon_stackable_window_set_main_menu): Unref the old menu after
3885 ref'ing the new one.
3887 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-stackable-window.c
3890 (hildon_stackable_window_set_main_menu): Unref the previous menu
3891 instead of destroying it.
3893 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3894 floating reference and set has_user_ref_count to FALSE to make
3895 HildonAppMenu act like a normal ref-counted widget and not a
3898 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3901 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3903 * src/hildon-touch-selector-column.h: new file
3904 * src/hildon-touch-selector.h
3905 * src/hildon-touch-selector.c
3906 Implemented GtkCellLayout interface, in order to allow to configure
3907 the cell layout on each individual selector column
3908 (hildon_touch_selector_set_column_attributes): marked as deprecated
3909 * examples/hildon-touch-selector-multi-cells-example.c
3910 Example of how to use the GtkCellLayout interface on the selector
3912 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3914 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3916 * src/hildon-app-menu.h
3917 * src/hildon-app-menu.c
3918 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3919 (hildon_app_menu_append, hildon_app_menu_prepend):
3920 New methods to prepend, insert and move items in the menu.
3922 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3924 * src/hildon-wizard-dialog.c:
3926 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3928 (create_title): Update logical IDs and related code.
3929 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3931 * src/hildon-wizard-dialog.h: Note that
3932 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3933 point, as it is not used anymore.
3935 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3937 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3939 * src/hildon-note.c:
3940 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3941 shown. Do not display an icon in confirmation notes nor information
3943 (hildon_note_set_button_text): Update logical ID for cancel button.
3945 Fixes: NB#88850 (Update HildonNote button strings + signals)
3947 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3949 * src/hildon-stackable-window.c
3950 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3952 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3954 * src/hildon-app-menu-private.h
3955 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3956 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3957 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3958 temporary property 'columns' to change the number of columns.
3960 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3962 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3964 * examples/hildon-note-example.c: (on_information_clicked),
3965 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3966 debugging information.
3967 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3969 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3970 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3971 in order to close: this will be handled by the WM from now on.
3973 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3975 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3977 * src/hildon-app-menu-private.h
3978 * src/hildon-app-menu.c
3979 (hildon_app_menu_append, hildon_app_menu_add_filter)
3980 (button_visibility_changed, hildon_app_menu_apply_style)
3981 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3982 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3983 layout everytime a button (item or filter) is shown or hidden.
3985 * src/hildon-stackable-window.c
3986 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3989 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3991 * src/hildon-touch-selector.c:
3992 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3993 that the treeview inside the touch selector is in fremantle hildon mode
3994 * examples/hildon-date-button-example.c
3995 * examples/hildon-picker-button-multicolumn-example.c
3996 * examples/hildon-touch-selector-entry-example.c
3997 * examples/hildon-touch-selector-example.c
3998 * examples/hildon-time-button-example.c
3999 * examples/hildon-picker-button-example.c:
4000 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4002 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4004 * examples/hildon-text-view-example.c: (main): Remove the
4005 gtkrc bits, now handled by the theme.
4007 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4009 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4012 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4014 * po/Makefile.am: Install properly the mo files.
4015 * po/en_GB.po: Update translation, to ease testing purposes.
4017 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4019 * examples/hildon-picker-button-example.c: (main): Select an item
4020 in the selector before setting it to the button.
4022 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4024 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4025 Update button's value if the selector has an item active.
4027 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4028 'value' with the selector)
4030 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4032 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4033 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4034 (hildon_picker_button_class_init): Plug the finalize method.
4035 (hildon_picker_button_set_selector): If there's a previously set
4036 selector, unref'it before setting a new one.
4038 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4039 HildonTouchSelector)
4041 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4043 * src/hildon-touch-selector-entry.c:
4044 (hildon_touch_selector_entry_changed): Check if there is no text
4045 selected before setting the entry text.
4048 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4050 * src/hildon-touch-selector.h
4051 * src/hildon-touch-selector.c
4052 (hildon_touch_selector_get_active)
4053 (hildon_touch_selector_set_active): New methods to set/get the
4054 index of the selected item.
4056 * src/hildon-picker-button.h
4057 * src/hildon-picker-button.c
4058 (hildon_picker_button_get_active)
4059 (hildon_picker_button_set_active): New methods to set/get the
4060 index of the selected item.
4062 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4064 * configure.ac: post-release version bump.
4066 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4070 * configure.ac: Pre-release version bump.
4071 * debian/changelog: Updates.
4072 * debian/control: Add myself as maintainer and depend on l10n
4075 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4077 * src/hildon-window.c
4078 (hildon_window_set_main_menu)
4079 * src/hildon-stackable-window.c
4080 (hildon_stackable_window_set_main_menu):
4081 Updated documentation.
4083 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4085 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4086 Don't free selector->priv manually.
4089 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4092 (hildon_gtk_window_set_progress_indicator):
4093 * src/hildon-gtk.h: Added the new API
4094 hildon_gtk_window_set_progress_indicator, it changes the state of
4095 the window progress hint.
4097 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4099 * src/hildon-button.c
4100 * src/hildon-stackable-window.c: Minor documentation updates.
4102 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4104 * src/hildon-stackable-window.c: Updated documentation.
4106 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4108 * src/hildon-defines.h: Update margins definitions
4109 to the Fremantle sizes.
4112 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4114 * src/hildon-touch-selector.c,
4115 (_hildon_touch_selector_set_model): Cleaning the code after
4116 review, removed g_print and #if 0 from the code.
4118 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4120 * src/hildon-edit-toolbar.c: Update documentation.
4122 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4124 * src/hildon-check-button.h
4125 * src/hildon-check-button.c
4126 (hildon_check_button_set_label, hildon_check_button_get_label)
4127 * examples/hildon-check-button-example.c
4128 (button_clicked_cb):
4129 Removed deprecated methods.
4131 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4133 * src/hildon-text-view.c:
4134 Add sample code to the documentation.
4136 * src/hildon-entry.h
4137 * src/hildon-text-view.h:
4138 Minor cosmetic changes.
4140 * src/hildon-entry.c:
4141 Add sample code to the documentation.
4142 (hildon_entry_init, hildon_entry_refresh_contents):
4143 Don't allow NULL values in the placeholder.
4145 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4147 * doc/hildon-docs.sgml
4149 * examples/Makefile.am
4150 * examples/hildon-text-view-example.c
4152 * src/hildon-text-view.c
4153 * src/hildon-text-view.h
4155 New HildonTextView widget, with example.
4157 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4159 * po/POTFILES.in: Add missing files with translatable strings.
4160 Partially fixes NB#88287.
4162 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4164 * examples/hildon-pannable-area-example-2.c: (main): No need to
4165 set the cellrenderer height inside hildon touch lists, the theme does
4168 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4170 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4171 they are integrated in the theme.
4173 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4175 * examples/hildon-entry-example.c: Update the example adding
4176 widgets to modify the text and the placeholder of the HildonEntry.
4178 * src/hildon-entry.c: Show the placeholder everytime the widget
4179 is empty and loses the focus.
4181 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4183 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4185 * src/hildon-pannable-area.c,
4186 (hildon_pannable_area_size_request): Fixed bug in height
4187 requisition, avoid increasing size and add border twice.
4189 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4191 * configure.ac: postrelease version bump.
4193 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4197 * configure.ac: Prerelease version bump.
4198 * debian/changelog: update.
4199 * debian/rules: make -dbg package contain useful debugging symbols.
4201 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4203 * src/hildon-dialog.h
4204 * src/hildon-dialog.c
4205 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4206 New methods to add buttons with finger size.
4207 (hildon_dialog_new_with_buttons):
4208 Create buttons with finger size.
4210 * examples/hildon-dialog-example.c (main): Use HildonDialog
4211 methods to add buttons.
4213 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-entry.c: Updated HildonButton documentation.
4217 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4219 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4220 button value label with (FALSE, FALSE) to prevent NB#88126 from
4223 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4225 * examples/hildon-pannable-area-example.c,
4226 (main): Removed examples panning a vbox inside a pannable
4227 area. Check bug NB#87965
4229 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4231 Patch contributed by Kris Rietveld (kris@imendio.com)
4233 * src/hildon-pannable-area.c,
4234 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4235 get_size and get_position, this saves an X server roundtrip.
4237 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4239 * doc/hildon-docs.sgml
4241 * examples/Makefile.am
4242 * examples/hildon-entry-example.c
4244 * src/hildon-entry.c
4245 * src/hildon-entry.h
4247 New HildonEntry widget, with example.
4249 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-button.c (hildon_button_construct_child): Pack the
4252 image with expand == fill == FALSE. This is a workaround for a bug
4255 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4257 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4258 labels for the text column, to make it more look more dynamic.
4260 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4262 * src/hildon-time-selector.c
4263 Define gettext auxiliar macro N_
4264 (_create_minutes_model)
4265 (_create_hours_model)
4266 (_create_ampm_model): use of strftime in order to fill the model
4267 * src/hildon-date-selector.c
4268 (hildon_date_selector_finalize):
4269 (_locales_init): remove the logic related to get the name of the months
4270 using nl_langinfo, as it is not required anymore
4272 (_create_year_model)
4273 (_create_month_model)
4274 (_update_day_model): use of strftime in order to fill the model properly
4277 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4279 * src/hildon-button.h
4280 * src/hildon-button.c (hildon_button_get_image): New method to
4283 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4285 * src/hildon-touch-selector.c:
4286 (hildon_touch_selector_remove_column): Remove from the correct parent
4287 and also remove the list element and free it.
4290 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4292 * src/hildon-time-selector.c
4293 (_create_hours_model): change the range on 12h ampm format in order to use
4294 a 12-11 range instead of previous 01-12 range
4295 (hildon_time_selector_set_time): change the way to select the current time
4296 on 12h ampm format, due the change on the range
4297 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4300 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4302 * src/hildon-touch-selector.c
4303 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4304 in order to allow use this function on multiple row selection mode if
4305 the column is different that the first one
4308 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4310 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4311 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4313 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4315 * src/hildon-date-selector.h: clean some comments, now on the .c
4316 * src/hildon-date-selector.c
4317 (hildon_date_selector_select_month): first implementation
4318 (hildon_date_selector_select_day): added documentation, reimplemented
4319 using hildon_date_selector_select_current_date to avoid repeat code
4322 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4324 Reviewed interaction logic based on device experiences, refactored
4327 * src/hildon-pannable-area.c,
4328 (hildon_pannable_area_class_init): Updated default vmax speed.
4329 (hildon_pannable_area_calculate_velocity): Added this function, it
4330 avoids duplicate valocity calculation. Adjusted calculation to
4331 avoid problems with zero dist events.
4333 (hildon_pannable_area_motion_notify_cb): Now we use the
4334 calculate_velocity function.
4336 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4338 * src/hildon-date-selector.c
4339 (hildon_date_selector_select_current_date): fix the day range check
4340 as it failed using the last day of the current month
4343 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4345 * src/hildon-touch-selector.c
4346 (hildon_touch_selector_get_num_columns): added a parameter validation
4349 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4351 * examples/Makefile.am
4352 * examples/hildon-edit-toolbar-example.c: Example of the
4353 HildonEditToolbar widget.
4355 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4357 * configure.ac: postrelease version bump.
4359 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4363 * configure.ac: prerelease version bump.
4364 * debian/changelog: update.
4366 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4368 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4369 renderer to display stock icons in the touch list. Also, set the sizes
4370 to the recommended in the style guide.
4372 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4373 * src/hildon-touch-selector.h
4374 (hildon_touch_selector_set_active_iter): renamed, now is
4375 hildon_touch_selector_select_iter
4376 (hildon_touch_selector_get_active_iter): renamed, now is
4377 hildon_touch_selector_get_selected
4378 (hildon_touch_selector_unselect_iter): added
4379 * src/hildon-touch-selector.c
4380 Update after API modification (methods renamed)
4381 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4382 order to avoid problems selecting multiple elements on the column
4383 (hildon_touch_selector_unselect_iter): added the implementation
4384 * src/hildon-time-selector.c
4385 * src/hildon-date-selector.c
4386 * src/hildon-touch-selector-entry.c
4387 Update methods calls after hildon-touch-selector.h API modification (methods
4390 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4392 * src/hildon-stackable-window.c
4393 (hildon_stackable_window_finalize): Call the parent class's finalize.
4395 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4397 * examples/hildon-touch-selector-example.c: (create_selector): Use
4398 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4401 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4403 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4404 set a cell background color, to respect theming.
4406 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4408 * doc/hildon-docs.sgml
4411 * src/hildon-edit-toolbar.c
4412 * src/hildon-edit-toolbar.h
4413 * src/hildon.h: New HildonEditToolbar widget.
4415 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4417 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4420 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4421 * src/hildon-touch-selector.c
4422 (_create_new_column): use g_object_set instead of two g_object_set_property
4424 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4425 * src/hildon-touch-selector.c
4426 (_create_new_column): use of hildon_gtk_tree_view_new to create
4427 the treeview, instead of use directly g_object_new
4428 (_create_new_column): update the property name "vindicator-mode" for the
4429 new one "vscrollbar-policy"
4430 * examples/hildon-date-button-example.c
4431 * examples/hildon-picker-button-multicolumn-example.c
4432 * examples/hildon-touch-selector-entry-example.c
4433 * examples/hildon-touch-selector-example.c
4434 * examples/hildon-time-button-example.c
4435 * examples/hildon-picker-button-example.c
4436 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4437 to all the treeviews inside a pannable area.
4439 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4441 * src/hildon-button.h
4442 * src/hildon-button.c (hildon_button_init)
4443 (hildon_button_set_arrangement, hildon_button_set_alignment)
4444 (hildon_button_set_title_alignment)
4445 (hildon_button_set_value_alignment)
4446 (hildon_button_set_image_alignment)
4447 (hildon_button_construct_child): New methods to set the alignment
4448 of the individual components of the button (title, value,
4449 image). Also, new method to alter the xscale and yscale properties
4450 of the GtkAlignment inside the button, so more complex layouts can
4453 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-button.c (hildon_button_style_set)
4456 (hildon_button_class_init, hildon_button_set_arrangement)
4457 (hildon_button_construct_child): Apply style properties
4458 correctly. Use the 'image-spacing' style property too.
4460 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4462 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4463 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4466 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4468 * src/hildon-pannable-area.c,
4469 (hildon_pannable_area_size_request): Fixed problem with
4470 pannable-area size_request.
4472 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4474 Added management for the grab-focus to a child widget, like a
4475 range, we need to fade out the scrollbar when releasing.
4477 * src/hildon-pannable-area.c,
4478 (hildon_pannable_area_init): Connected the grab-focus signal to
4480 (hildon_pannable_area_grab_notify): Added this function in order
4481 to manage the situation when the grab-focus ends. We have to
4482 fade-out the scrollbar.
4484 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4486 * src/hildon-app-menu.c: Minor documentation update.
4488 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4490 * src/hildon-app-menu.c
4491 * examples/hildon-app-menu-example.c (create_menu): Update
4492 examples and documentation to explain how to connect callbacks.
4494 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4496 * examples/hildon-button-example.c
4497 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4498 hildon_stackable_window_new instead of gtk_window_new
4500 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4502 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4503 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4504 (hildon_pannable_area_set_property),
4505 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4506 (hildon_pannable_area_unrealize),
4507 (hildon_pannable_area_size_request),
4508 (hildon_pannable_area_size_allocate),
4509 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4510 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4511 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4512 (hildon_pannable_area_initial_effect),
4513 (hildon_pannable_area_redraw),
4514 (hildon_pannable_area_scroll_indicator_fade),
4515 (hildon_pannable_area_expose_event),
4516 (hildon_pannable_area_get_topmost), (synth_crossing),
4517 (hildon_pannable_area_button_press_cb),
4518 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4519 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4520 (hildon_pannable_area_motion_notify_cb),
4521 (hildon_pannable_area_button_release_cb),
4522 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4523 (hildon_pannable_area_remove),
4524 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4525 chage the code layout to a more GtkWidget like. Review the use of
4528 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4530 * examples/hildon-pannable-area-example-4.c,
4531 (main): Modified the name of the hindicator_mode to
4534 * src/hildon-pannable-area.c,
4535 (hildon_pannable_area_class_init),
4536 (hildon_pannable_area_motion_notify_cb),
4537 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4538 we have reduced the amount of signals and managed reviewed its
4539 rationale. Changed the default decelerate value.
4541 (hildon_pannable_area_add),
4542 (hildon_pannable_area_redraw): Refactored functions.
4544 (hildon_pannable_area_init),
4545 (hildon_pannable_area_get_property),
4546 (hildon_pannable_area_set_property):
4547 (hildon_pannable_draw_vscroll),
4548 (hildon_pannable_draw_hscroll),
4549 (hildon_pannable_area_initial_effect),
4550 (hildon_pannable_area_expose_event),
4551 (hildon_pannable_area_scroll),
4552 (hildon_pannable_area_button_press_cb),
4553 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4554 and vindicator_mode with hscrollbar_policy and
4555 vscrollbar_policy. Replaced hscroll and vscroll with
4556 hscroll_visible and vscroll_visible.
4558 (hildon_pannable_area_refresh): Refactor the function, remove
4559 variables and check the calls to this function, added resize
4560 conditions in case the children change their layout.
4562 (hildon_pannable_area_size_request): Added more detailed
4563 size_request calculation.
4566 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4568 * src/hildon-color-chooser.c
4569 (init_borders): use the correct gtk_border_free instead of g_free, to
4570 avoid a crash when this widget is used (ie: the three color selection
4573 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4575 * src/hildon-check-button.c,
4576 (hildon_check_button_set_active): Fixed problem when setting the
4577 active value, the widget was not redrawn.
4579 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4581 * src/hildon-pannable-area.c,
4582 (hildon_pannable_area_refresh),
4583 (hildon_pannable_area_scroll),
4584 (hildon_pannable_area_motion_notify_cb): Small code style change.
4586 (hildon_pannable_area_class_init): Default initial_hint set to
4587 FALSE, it is not in the specs.
4589 (hildon_pannable_area_initial_effect),
4590 (hildon_pannable_area_expose_event),
4591 (hildon_pannable_area_map),
4592 (hildon_pannable_area_init): Moved the launching point of the
4593 initial effect, it was in map but the sizes where not correct in
4594 that method so we do not know if we have the reproduce it. Now it
4595 is placed in the expose_event method and uses a variable to
4596 reproduce it just once.
4598 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4600 * src/hildon-pannable-area.c,
4601 (hildon_pannable_draw_vscroll),
4602 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4603 position allowed for the scrollbars.
4605 (hildon_pannable_area_size_allocate): Small style change.
4607 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4609 * src/hildon-pannable-area.c,
4610 (hildon_pannable_area_scroll_indicator_fade),
4611 (hildon_pannable_area_button_press_cb),
4612 (hildon_pannable_area_button_release_cb),
4613 (hildon_pannable_area_scroll_cb),
4614 (hildon_pannable_area_expose_event),
4615 (hildon_pannable_area_init): Added the define parameter
4616 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4617 and refactor the fade variable.
4619 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4621 * src/hildon-pannable-area.c,
4622 (hildon_pannable_area_redraw),
4623 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4624 lines, we were reimplemeting the redraw code.
4626 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4628 * src/hildon-pannable-area.c,
4629 (hildon_pannable_area_scroll_cb),
4630 (hildon_pannable_area_realize),
4631 (hildon_pannable_area_class_init): Added scroll_event management
4632 for pannable area, now we can scroll the usual desktop method.
4634 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4635 initialization of the parameters should depend on idle_id.
4637 (hildon_pannable_area_init),
4638 (hildon_pannable_area_map): Small code style modifications
4640 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4642 * src/hildon-pannable-area.c
4643 (hildon_pannable_area_button_press_cb),
4644 (hildon_pannable_area_motion_notify_cb),
4645 (hildon_pannable_area_button_release_cb),
4646 (hildon_pannable_area_size_allocate),
4647 (hildon_pannable_area_scroll_to): Improved the timeouts
4648 management, we avoid creating them each time.
4650 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4652 * src/hildon-pannable-area.c:
4653 (hildon_pannable_area_refresh),
4654 (hildon_pannable_area_motion_notify_cb),
4655 (hildon_pannable_area_class_init):
4656 * src/hildon-pannable-area.h:
4657 * src/hildon-touch-selector.c
4658 (_create_new_column):
4659 * examples/hildon-pannable-area-example-4.c:
4660 (horizontal_movement),
4661 (vertical_movement),
4663 Replaced the names of enums in the HildonPannableArea:
4664 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4665 HILDON_MOVEMENT_MODE_*
4666 - HILDON_PANNABLE_AREA_MOV_* ->
4668 - Removed HildonPannableAreaIndicatorMode, now we
4671 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4673 * examples/hildon-pannable-area-touch-grid-example.c
4674 * examples/hildon-pannable-area-touch-list-example.c: Fix
4675 compilation warnings.
4677 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4679 * src/hildon-gtk.c (hildon_gtk_button_new)
4680 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4681 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4682 images overriding the value of the "gtk-button-images" setting.
4684 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4686 * src/hildon-check-button.c (hildon_check_button_new):
4687 Instead of using a custom container, display the label and the
4688 checkbox using the standard GtkButton API.
4690 * examples/hildon-check-button-example.c (main): Don't use
4691 hildon_check_button_set_label() anymore
4693 * src/hildon-check-button.h
4694 * src/hildon-check-button.c
4695 (hildon_check_button_set_label, hildon_check_button_get_label):
4696 Set as deprecated, now we're using gtk_button_{get,set}_label()
4698 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4700 * src/hildon-pannable-area.c,
4701 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4702 GtkTreeview first line we detected it after the inclusion of the
4703 GtkWindowImpl in gtk+. We now check if the window is visible, not
4704 just if the pointer is over the window.
4705 (hildon_pannable_axis_scroll),
4706 (hildon_pannable_area_expose_event): Small style changes.
4708 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4710 * src/hildon-button.c: Update documentation.
4712 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4714 * examples/hildon-button-example.c: Add a switch to show images in
4717 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4719 * doc/hildon-docs.sgml: Some docs reorganization.
4721 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4723 * examples/hildon-pannable-area-touch-list-example.c
4725 * examples/hildon-pannable-area-touch-grid-example.c
4726 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4727 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4728 Fix memory leak when setting the tree model.
4730 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4734 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4736 * doc/hildon.types: Remove duplicated hildon_window_get_type
4737 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4738 documentation comment.
4740 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4742 * doc/Makefile.am: Complete list of private headers.
4744 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4746 * doc/hildon-docs.sgml
4747 * src/hildon-app-menu.c
4748 * src/hildon-bread-crumb.c
4749 * src/hildon-button.c
4751 * src/hildon-program.c
4752 * src/hildon-stackable-window.c
4753 * src/hildon-window.c: Lots of documentation updates.
4755 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4757 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4759 * configure.ac: Require Gtk+ 2.12.9 at least
4761 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4763 * src/hildon-pannable-area.c
4764 (hildon_pannable_area_scroll_indicator_fade),
4765 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4766 to protect the return of this timeout callbacks, avoiding deadlocks.
4768 2008-08-12 Christian Dywan <christian@imendio.com>
4771 * src/hildon-*.h: Ensure a consistent include order,
4772 include <gtk/gtk.h> instead of particular files and
4773 only include the topmost header in the gtk stack. See NB #39857
4775 2008-08-12 Christian Dywan <christian@imendio.com>
4777 * src/hildon-picker-dialog.c
4778 * src/hildon-touch-selector.c: Fix warnings about unused and
4779 uninitialized variables.
4781 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4783 * examples/Makefile.am
4784 * examples/hildon-check-button-example.c: Example of the hildon
4787 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-window.h
4790 * src/hildon-window.c (hildon_window_class_init)
4791 (hildon_window_unset_program): Don't make
4792 hildon_window_unset_program a virtual function anymore.
4794 * src/hildon-stackable-window.c: Update documentation
4796 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4799 * doc/hildon-docs.sgml
4800 * doc/visual_index.xml
4801 * src/hildon-defines.c
4803 * src/hildon-helper.c
4804 * src/hildon-range-editor.c: Lots of documentation fixes.
4806 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4808 * examples/hildon-picker-button-multicolumn-example.c
4809 (create_touch_selector): Fix compilation warning.
4811 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4814 (hildon_pannable_area_button_release_cb)
4815 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4817 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4819 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4822 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4824 * src/hildon-bread-crumb-trail.h
4825 * src/hildon-date-editor.c
4826 * src/hildon-date-selector.c
4827 * src/hildon-pannable-area.c
4828 * src/hildon-picker-dialog.c
4829 * src/hildon-time-selector.c
4830 * src/hildon-touch-selector-entry.c
4831 * src/hildon-touch-selector.c
4832 * src/hildon-touch-selector.h: Misc documentation fixes
4834 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4836 * examples/hildon-date-editor-example.c (main): Updated date
4839 * examples/hildon-note-example.c (on_confirmation_clicked):
4840 Updated confirmation note example.
4842 * src/hildon-date-editor.c
4843 * src/hildon-note.c: Updated sample programs in documentation.
4846 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4848 * src/hildon-date-button.h:
4849 * src/hildon-picker-button.h:
4850 * src/hildon-time-button.c:
4851 * src/hildon-time-button.h:
4853 Some declarations changes to allow gtk-doc to document the widgets
4856 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4858 * src/hildon-date-button.c: Document the widget.
4859 * src/hildon-time-button.c: Document the widget.
4861 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4863 * src/hildon-picker-button.c: Document the widget.
4864 * src/hildon-touch-selector-entry.c: Document the widget.
4866 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4868 * doc/hildon-docs.sgml
4871 * src/hildon-check-button.h
4872 * src/hildon-check-button.c: New functions to create the Hildon
4876 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4878 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4880 * src/hildon-button.h
4881 * src/hildon-button.c
4882 (hildon_button_add_title_size_group)
4883 (hildon_button_add_value_size_group)
4884 (hildon_button_add_image_size_group)
4885 (hildon_button_add_size_groups): New functions to set size groups
4886 for the button labels and image.
4887 (hildon_button_new_full): Removed
4889 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4891 * src/hildon-time-selector.c
4892 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4893 in order to avoid a crash if gconf is not available
4895 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4897 * src/hildon-button.c (hildon_button_set_arrangement)
4898 (hildon_button_construct_child): Don't construct the button child
4899 before setting the arrangement.
4901 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4903 * src/hildon-program-private.h
4904 * src/hildon-program.c
4905 * src/hildon-program.h
4906 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4907 (hildon_program_peek_window_stack)
4908 (hildon_program_pop_window_stack)
4909 (hildon_program_go_to_root_window): HildonProgram now has a
4910 separate list for stackable windows. Functions are provided to
4911 manage that list with a stack-like API.
4913 * src/hildon-stackable-window.c: Stackable window management is
4914 now much simpler with the new HildonProgram API. Windows no
4915 longer need to be manually added to the program, they're
4916 automatically pushed to the top of the stack when shown.
4918 * examples/hildon-stackable-window-example.c: Updated example to
4919 reflect the API changes.
4921 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4923 * src/hildon-touch-selector.c: Comment out unimplemented
4924 hildon_touch_selector_insert_column() to avoid a compile warning.
4926 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4928 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4929 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4930 (hildon_touch_selector_set_column_selection_mode),
4931 (_hildon_touch_selector_set_model),
4932 (hildon_touch_selector_set_model):
4934 Complete review of HildonTouchSelector documentation.
4936 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4938 * doc/hildon-docs.sgml
4942 * src/hildon-gtk.c: Convenience functions for standard Gtk
4943 widgets, used to easily perform frequent operations.
4945 * src/hildon-button-helpers.h
4946 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4948 * src/hildon-helper.h
4949 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4950 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4952 * src/hildon-button.h
4953 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4955 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4957 * src/hildon-button.c (hildon_button_init)
4958 (hildon_button_set_arrangement, hildon_button_construct_child):
4959 Pack the image and the labels inside the same GtkAlignment so
4960 gtk_button_set_alignment() can be used
4962 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4964 * src/hildon-button.h
4965 * src/hildon-button.c
4966 (hildon_button_init, hildon_button_set_image)
4967 (hildon_button_set_image_position)
4968 (hildon_button_construct_child): New functions to add an image to
4971 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4973 * src/hildon-date-button.c
4974 * src/hildon-picker-button.c
4975 * src/hildon-time-button.c
4976 * src/hildon-button.c:
4977 (hildon_button_class_init): "size-flags" renamed to "size"
4978 (hildon_button_set_title): Hide the title label if set to NULL.
4980 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4982 HildonButtonFlags split into HildonButtonArrangement (to set the
4983 button layout) and HildonSizeType (which can be used for any
4986 * src/hildon-button.h
4987 * src/hildon-button.c
4988 (hildon_button_class_init)
4989 (hildon_button_set_arrangement)
4990 (hildon_button_set_property): New "size-flags"
4991 property. "arrangement-flags" renamed to "arrangement".
4992 (hildon_button_new, hildon_button_new_with_text)
4993 (hildon_button_new_full): Constructors updated to reflect type changes.
4995 * src/hildon-helper.h
4996 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4997 to set the size of a widget.
5001 * src/hildon-button-helpers.c
5002 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5004 * src/hildon-date-button.c
5005 * src/hildon-date-button.h
5006 * src/hildon-picker-button.c
5007 * src/hildon-picker-button.h
5008 * src/hildon-time-button.c
5009 * src/hildon-time-button.h: Updated widgets to reflect
5010 HildonButton API changes.
5012 * examples/hildon-button-example.c
5013 * examples/hildon-date-button-example.c
5014 * examples/hildon-picker-button-example.c
5015 * examples/hildon-picker-button-multicolumn-example.c
5016 * examples/hildon-time-button-example.c
5017 * examples/hildon-touch-selector-entry-example.c
5018 * examples/hildon-touch-selector-example.c: Updated examples to
5019 reflect HildonButton API changes.
5021 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5023 * doc/hildon-docs.sgml:
5025 * examples/Makefile.am:
5026 * examples/hildon-touch-selector-entry-example.c:
5028 * src/hildon-touch-selector-entry.c:
5029 * src/hildon-touch-selector-entry.h:
5032 Moved HildonTouchSelectorEntry from sandbox. Added its
5033 documentation and examples.
5035 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-touch-selector.h:
5038 * examples/hildon-picker-button-multicolumn-example.c:
5039 (hildon_touch_selector_append_text_column): Add a gboolean
5040 parameter to determine if text must be centered in the column.
5042 * src/hildon-date-selector.c: (hildon_date_selector_init):
5043 * src/hildon-time-selector.c: (hildon_time_selector_init):
5044 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5045 (create_touch_selector): Update widgets and example to reflect
5048 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5050 * src/hildon-touch-selector.c:
5051 (hildon_touch_selector_set_active_iter): Set also the cursor in
5054 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5056 * doc/hildon-docs.sgml
5059 * src/hildon-toggle-button.c
5060 * src/hildon-toggle-button.h
5061 * src/hildon.h: Removed HildonToggleButton widget, a derived
5062 class is not necessary for this.
5064 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5066 * src/hildon-pannable-area.c,
5067 (hildon_pannable_area_realize),
5068 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5071 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5073 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5074 "done" button the default widget for the dialog.
5076 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/hildon-touch-selector.c:
5079 (hildon_touch_selector_class_init),
5080 (hildon_touch_selector_get_property),
5081 (_hildon_touch_selector_set_model),
5082 (_hildon_touch_selector_has_multiple_selection),
5083 (hildon_touch_selector_has_multiple_selection):
5084 Add a "has-multiple-selection" property with a virtual
5085 has_multiple_selection() method to allow derived classes to
5086 override the default value for it. See the method and property
5087 documentation for details.
5089 * src/hildon-touch-selector.h: Add the new API.
5091 * src/hildon-picker-dialog.c: (requires_done_button): Call
5092 hildon_touch_selector_has_multiple_selection() instead of
5093 determining the need for a button itself.
5095 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5098 (_hildon_touch_selector_set_model),
5099 (hildon_touch_selector_set_model): Move working code to
5100 _hildon_touch_selector_set_mode(). Call the class method instead.
5102 * src/hildon-touch-selector.h: Add (*set_model) to
5103 HildonTouchSelectorClass.
5105 Make hildon_touch_selector_set_model() a virtual method, so that
5106 derived classes can extend it and do fancy stuff with the model.
5108 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5110 * configure.ac: Set back the tarname in AC_INIT to hildon.
5112 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5116 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5117 instead of libesd (NB#86876). Volume handling is still an open issue.
5119 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5122 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5124 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5125 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5126 derived class to ease placement of an entry widget in
5127 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5128 end, where the selector columns are packed now.
5130 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5132 * src/hildon-picker-button.c: Removed the simple _text() API.
5133 * src/hildon-picker-button.h: Likewise.
5135 * src/hildon-touch-selector.h:
5136 * src/hildon-touch-selector.c:
5137 (hildon_touch_selector_new_text),
5138 (hildon_touch_selector_append_text),
5139 (hildon_touch_selector_prepend_text),
5140 (hildon_touch_selector_insert_text):
5142 Moved the simple _text() API from HildonPickerButton to
5143 HildonTouchPicker, to provide better escalability and not to tie
5144 that API to HildonPickerButton.
5146 * examples/hildon-picker-button-example.c: (main): Example updated.
5148 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5150 * src/hildon-button.c: Updated documentation.
5152 * examples/hildon-button-example.c: Add the posibility to create
5153 the buttons using horizontal layout for title and value.
5155 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5157 * src/hildon-app-menu-private.h
5158 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5159 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5160 GtkSizeGroup for the filters, use the 'homogeneous' property of
5163 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5165 * examples/hildon-button-example.c: Updated example.
5167 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5169 * doc/hildon-docs.sgml:
5172 Update documentation.
5174 * examples/Makefile.am: Update renamed examples.
5176 * examples/hildon-picker-button-multicolumn-example.c:
5177 (create_touch_selector), (main): Update after the rename.
5179 * examples/hildon-touch-picker-example.c: Removed.
5180 * examples/hildon-touch-selector-example.c: (value_changed),
5181 (create_selector), (get_visible_content), (main): Renamed from
5182 hildon-touch-picker-example.c
5184 * src/Makefile.am: Updated renamed files.
5186 * src/hildon-date-button.c: (hildon_date_button_init),
5187 (hildon_date_button_get_date), (hildon_date_button_set_date):
5188 * src/hildon-date-selector.c: (hildon_date_selector_init),
5189 (_custom_print_func), (_update_day_model),
5190 (_manage_selector_change_cb),
5191 (hildon_date_selector_select_current_date),
5192 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5193 * src/hildon-date-selector.h:
5194 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5195 (hildon_picker_button_set_property),
5196 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5197 (hildon_picker_button_init), (hildon_picker_button_new_text),
5198 (hildon_picker_button_append_text),
5199 (hildon_picker_button_prepend_text),
5200 (hildon_picker_button_insert_text),
5201 (hildon_picker_button_set_selector),
5202 (hildon_picker_button_get_selector):
5203 * src/hildon-picker-button.h:
5204 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5205 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5206 (_update_title_on_selector_changed_cb), (requires_done_button),
5207 (_hildon_picker_dialog_set_selector),
5208 (hildon_picker_dialog_set_selector),
5209 (hildon_picker_dialog_get_selector):
5210 * src/hildon-picker-dialog.h:
5211 * src/hildon-time-button.c: (hildon_time_button_init),
5212 (hildon_time_button_get_time), (hildon_time_button_set_time):
5213 * src/hildon-time-selector.c: (hildon_time_selector_init),
5214 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5215 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5216 * src/hildon-time-selector.h:
5219 Massive code updates after the rename.
5221 * src/hildon-touch-picker.c: Removed.
5222 * src/hildon-touch-picker.h: Removed.
5224 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5225 (hildon_touch_selector_init), (hildon_touch_selector_map),
5226 (hildon_touch_selector_remove), (_default_print_func),
5227 (_selection_changed_cb), (_create_new_column),
5228 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5229 (hildon_touch_selector_append_text_column),
5230 (hildon_touch_selector_remove_column),
5231 (hildon_touch_selector_set_column_attributes),
5232 (hildon_touch_selector_insert_column),
5233 (hildon_touch_selector_get_num_columns),
5234 (hildon_touch_selector_get_column_selection_mode),
5235 (hildon_touch_selector_set_column_selection_mode),
5236 (hildon_touch_selector_set_print_func),
5237 (hildon_touch_selector_get_print_func),
5238 (hildon_touch_selector_get_active_iter),
5239 (hildon_touch_selector_set_active_iter),
5240 (hildon_touch_selector_get_selected_rows),
5241 (hildon_touch_selector_get_model),
5242 (hildon_touch_selector_set_model),
5243 (hildon_touch_selector_get_current_text),
5244 (_hildon_touch_selector_center_on_selected_items):
5245 * src/hildon-touch-selector.h: Renamed from
5246 hildon-touch-picker.[ch]
5248 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5249 references, code examples, and related documentation.
5251 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5253 * doc/hildon-docs.sgml
5256 * src/hildon-toggle-button.c
5257 * src/hildon-toggle-button.h
5258 * src/hildon.h: New HildonToggleButton widget.
5260 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5262 * src/hildon-button.c: Add API documentation.
5263 (hildon_button_set_size_groups): Check input parameters
5265 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5267 * src/hildon-pannable-area.c
5268 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5269 effect after reaching the movement thredshold. This way we start
5270 using the distance after passing the thredshold.
5272 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5274 * src/hildon-button.c: (hildon_button_set_property): Use the
5275 appropriate g_value_get_flags() method.
5277 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5279 * doc/hildon-docs.sgml:
5282 Add the touch pickers, picker dialogs, and picker button widgets
5283 to the documentation.
5285 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-button.c: (hildon_button_set_property),
5288 (hildon_button_class_init): Make "arrangement-flags" a proper
5289 G_TYPE_FLAGS derived property.
5291 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5293 * examples/Makefile.am: Add below examples.
5294 * examples/hildon-date-button-example.c:
5295 * examples/hildon-picker-button-example.c:
5296 * examples/hildon-picker-button-multicolumn-example.c:
5297 * examples/hildon-time-button-example.c:
5298 * examples/hildon-touch-picker-example.c:
5300 Add examples for the recently added touch pickers,
5301 picker dialogs, and picker button widgets.
5303 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5305 * src/hildon-button.c: Add some API documentation
5307 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-button.h
5310 * src/hildon-button.c
5312 (hildon_button_new_with_text): New constructor to create a button
5313 with no text at all.
5314 (hildon_button_init, hildon_button_set_arrangement)
5315 (hildon_button_set_title, hildon_button_set_value)
5316 (hildon_button_set_text)
5317 (hildon_button_construct_child): Hide the value when it's not used
5318 so the rest of the text is properly aligned.
5319 Allow creating buttons with arbitrary widgets inside (not just
5320 title/value labels).
5322 * examples/hildon-button-example.c (vertical_buttons_window)
5323 (horizontal_buttons_window): Update example to use new API.
5325 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5327 * src/Makefile.am: Added HildonTimeButton.
5328 * src/hildon-time-button.c: Added missing LGPL header.
5329 * src/hildon-time-button.h: Added missing LGPL header.
5330 * src/hildon.h: Add hildon-time-button.h
5332 Copied HildonTimeButton from sandbox to trunk. Future work on this
5333 widget must take place in trunk.
5335 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5337 * src/Makefile.am: Added HildonDateButton.
5338 * src/hildon-date-button.c: Update includes.
5339 * src/hildon.h: Add hildon-date-button.h
5341 Copied HildonDateButton from sandbox to trunk. Future work on this
5342 widget must take place in trunk.
5344 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5346 * src/Makefile.am: Added HildonPickerButton.
5347 * src/hildon-picker-button.h: Update includes.
5348 * src/hildon.h: Add hildon-picker-button.h
5350 Copied HildonPickerButton from sandbox to trunk. Future work on
5351 this widget must take place in trunk.
5353 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5355 * src/Makefile.am: Added HildonPickerDialog.
5356 * src/hildon-picker-dialog.c: Update includes.
5357 * src/hildon.h: Add hildon-picker-dialog.h
5359 Copied HildonPickerDialog from sandbox to trunk. Future work
5360 on this widget must take place in trunk.
5362 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5364 * src/Makefile.am: Added HildonTimeSelector.
5365 * src/hildon.h: Add hildon-time-selector.h
5367 Copied HildonTimeSelector widget from sandbox to trunk. Future
5368 work on this widget must happen in trunk.
5370 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5372 * src/Makefile.am: Added HildonDateSelector.
5373 * src/hildon.h: Add hildon-date-selector.h
5375 Copied HildonDateSelector widget from sandbox to trunk. Future
5376 work on this widget must happen in trunk.
5378 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5380 * src/Makefile.am: Added HildonTouchPicker.
5381 * src/hildon-touch-picker.c: Update includes.
5382 * src/hildon.h: Add hildon-touch-picker.h
5384 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5385 on this widget must happen in trunk.
5387 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5389 * src/hildon-pannable-area.c:
5390 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5392 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5394 * examples/hildon-app-menu-example.c (main): Let the window
5397 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5399 * src/hildon-pannable-area.c
5400 (hildon_pannable_area_class_init): Set the min value of the
5401 overshoot properties to zero, which points out that not
5402 overshooting allowed.
5404 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5406 Modified the procedure to get the widget at a point inside the
5407 pannable area when using the movement type signals. Now the user
5408 has to call a function to get the child, that way we just
5409 calculate the child in case the user really want to use it and not
5412 * src/hildon-marshalers.list: Modified the marshallers, now we do
5413 not have the widget as a parameter.
5415 * src/hildon-pannable-area.c
5416 (hildon_pannable_area_motion_notify_cb),
5417 (hildon_pannable_area_class_init),
5418 (hildon_pannable_get_child_widget_at): Removed the widget
5419 parameter from the signal callback. We have also refactored the
5420 emission of the signals.
5422 * src/hildon-pannable-area.h: Added a new method to the API to
5423 calculate a widget at a point inside the pannable area,
5424 hildon_pannable_get_child_widget_at.
5426 * examples/hildon-pannable-area-example-4.c
5427 (horizontal_movement): Modified the example to use the new API,
5428 added condition to control which widget is under the event. This
5429 way we can avoid scrolling laterally over other widgets.
5431 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5433 * src/hildon-pannable-area.c
5434 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5435 modes, we stop getting the pointer events due to returning the
5436 callback without properly calling the get pointer again. Fixed
5437 also an error using the hscroll and vscroll.
5439 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5441 * src/hildon-app-menu-private.h
5442 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5443 (hildon_app_menu_button_release, hildon_app_menu_init)
5444 (hildon_app_menu_class_init): Don't hide the menu on button
5445 release if the user didn't press outside first.
5447 * src/hildon-window.h
5448 * src/hildon-window.c (hildon_window_toggle_menu)
5449 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5450 hildon_window_toggle_menu a virtual function for the stackable
5451 window to override it.
5453 * src/hildon-stackable-window.h
5454 * src/hildon-stackable-window-private.h
5455 * src/hildon-stackable-window.c
5456 (hildon_stackable_window_realize)
5457 (hildon_stackable_window_finalize)
5458 (hildon_stackable_window_class_init)
5459 (hildon_stackable_window_init)
5460 (hildon_stackable_window_set_main_menu): New function to set the
5461 app menu of a HildonStackableWindow.
5463 * examples/hildon-app-menu-example.c: Remove the button to show
5464 the app menu, now it'll be shown when clicking on the title bar
5467 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5469 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5470 set the widget name if the arrangement flags do not specify
5473 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5475 * src/hildon-button.c: (hildon_button_set_property),
5476 (hildon_button_class_init), (hildon_button_new_full),
5477 (hildon_button_set_arrangement): Added "arrangement-flags"
5480 Make the HildonButtonFlags a construction-only property, to allow
5481 subclasses to set them properly.
5483 2008-07-21 Tim Janik <timj@imendio.com>
5485 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5486 insertion position after backspace, so additional digits are appended,
5489 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5491 * src/hildon-pannable-area.c,
5492 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5493 TODO list, it was complete and removed the g_debug and g_print
5496 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5498 Added the movement modes to the hildon-pannable-area, with this
5499 modes the developers can control in which directions the widget
5500 can scroll. They can also connect to signals in order to do
5501 something when that happens, allowing applications scroll. There
5502 is an example uploaded showing how to use it.
5504 * examples/Makefile.am:
5505 * examples/hildon-pannable-area-example-4.c: Added this example of
5506 an application using the modes.
5508 * src/hildon-marshalers.list: Added a new marshaller for the new
5511 * src/hildon-pannable-area.h: Added new enumerations and flags in
5512 order to control the movement modes and the new signals to warn
5513 about the movements in the area.
5515 * src/hildon-pannable-area.c:
5516 (hildon_pannable_axis_scroll),
5517 (hildon_pannable_area_scroll),
5518 (hildon_pannable_area_motion_notify_cb),
5519 (hildon_pannable_area_get_property),
5520 (hildon_pannable_area_set_property),
5521 (hildon_pannable_area_map),
5522 (hildon_pannable_area_class_init),
5523 (hildon_pannable_area_init),
5524 (hildon_pannable_area_jump_to): Added the modes to control the
5525 movement in the widget. We have added properties to control it,
5526 signals to warn about the movements and refactored some code.
5528 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5530 Changes required in order to allow vfast_factor set to zero to
5533 * src/hildon-pannable-area.c:
5534 (hildon_pannable_area_button_press_cb): Changed the condition, it
5535 is required for not allowing click when vfast_factor is zero.
5536 (hildon_pannable_area_timeout): Initialized velocity variables
5537 when we stop moving, it was less than 1 but not zero and we need
5538 to check zero in some situations.
5539 (hildon_pannable_area_class_init): Changed the default value of
5540 the speed factor, now the button_press is just sent in case the
5541 speed is 2 per cent of the max speed.
5542 (hildon_pannable_area_init): Initialization with 0.
5544 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5546 * src/hildon-pannable-area.c,
5547 (hildon_pannable_area_get_topmost): replaced
5548 gdk_window_get_children with gdk_window_peek_children, this way we
5549 do not have to free the list because it is not a copy.
5551 (hildon_pannable_axis_scroll),
5552 (hildon_pannable_area_scroll),
5553 (hildon_pannable_area_timeout),
5554 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5555 two parameters that were only used inside the
5556 hildon_pannable_area_scroll function.
5558 * examples/hildon-pannable-area-example.c,
5559 (get_sawtooth_label): Fixed small memory leak.
5561 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5563 More checks for the case where the overshoot is bigger than the
5566 * src/hildon-pannable-area.c:
5567 (hildon_pannable_draw_vscroll),
5568 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5569 to draw the slider of the scrollbar under the other scrollbar.
5570 (hildon_pannable_area_expose_event): added new checks to control
5571 the drawing of the overshooting area rectangle, in case it is too
5572 big for the area of the widget.
5573 (hildon_pannable_area_size_allocate): add more checks to avoid
5574 setting a position to the child widget outside the area.
5576 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5578 * src/hildon-pannable-area.c
5579 (hildon_pannable_area_size_allocate): Added conditions to control
5580 when overshooting is bigger than the allocated space for the
5581 children, this avoids negative allocations.
5583 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5585 * doc/hildon-docs.sgml
5587 * examples/Makefile.am
5588 * examples/hildon-button-example.c
5590 * src/hildon-button.c
5591 * src/hildon-button.h
5592 * src/hildon.h: Initial version of the new HildonButton widget,
5595 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5597 * src/hildon-pannable-area.c:
5598 (hildon_pannable_area_button_press_cb),
5599 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5600 (hildon_pannable_area_motion_notify_cb),
5601 (hildon_pannable_area_button_release_cb),
5602 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5603 (hildon_pannable_area_jump_to_child):
5605 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5607 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5609 * examples/Makefile.am
5610 * examples/hildon-pannable-area-touch-grid-example.c
5611 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5612 the Hildon Touch List and Hildon Touch Grid using the
5613 HildonPannableArea widget.
5615 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5617 * src/hildon-pannable-area.c,
5618 (hildon_pannable_area_button_press_cb),
5619 (hildon_pannable_area_refresh),
5620 (hildon_pannable_area_scroll),
5621 (hildon_pannable_area_motion_notify_cb),
5622 (hildon_pannable_area_button_release_cb),
5623 (hildon_pannable_area_expose_event),
5624 (hildon_pannable_area_add),
5625 (hildon_pannable_area_remove),
5626 (hildon_pannable_area_realize),
5627 (hildon_pannable_area_size_allocate),
5628 (hildon_pannable_area_class_init),
5629 (hildon_pannable_area_init),
5630 (hildon_pannable_area_scroll_to_child),
5631 (hildon_pannable_area_jump_to_child): Fixed the problem of
5632 removing the child from the GtkBin, we have rearranged the widget
5633 hierarchy, now there is no GtkAlignment which was not doing
5634 anything interesting but breaking some of the assumptions of
5635 GtkContainer. Now developers if they want to add a GtkAlignment
5636 they could, but it is not inside the area.
5638 We had to review the whole allocation/expose process, now it is
5639 improved and we save at least three signals which would be saving
5640 some time when rendering the widget. The allocation of the
5641 scrollbars is now made in the allocate method as usual.
5643 We have also added some conditions in order to control when there
5644 is no child of the pannable area. Maybe we will need more work
5647 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5649 * src/hildon-pannable-area.c,
5650 (hildon_pannable_area_dispose): Released the fade-out timeout when
5651 disposing the widget.
5653 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5655 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5656 zero, we are going to use that property in order to deactivate the
5658 (hildon_pannable_axis_scroll),
5659 (hildon_pannable_area_size_allocate): Added conditions to control
5660 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5661 call, now it is called in all situations and we can remove calls
5662 in the allocate method.
5663 (hildon_pannable_area_map): Control the situation when
5664 overshoot_max is zero, we do not need the timeout.
5665 (hildon_pannable_area_class_init): Added documentation in order to
5666 point out that setting zero to overshoot_max means deactivate
5669 NOTE: removed trailing whitespaces from my previous comments of
5672 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5674 * src/hildon-pannable-area.c
5675 (hildon_pannable_area_get_property),
5676 (hildon_pannable_area_set_property),
5677 (hildon_pannable_area_map),
5678 (hildon_pannable_area_class_init),
5679 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5680 to cause the widget give a hint about its panning abilities upon
5683 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5685 * src/hildon-pannable-area.c: Several documentation improvements.
5687 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5689 * src/hildon-program.c
5690 * src/hildon-stackable-window.c: Update documentation.
5692 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5694 * src/hildon-stackable-window.c (get_previous_window_if_last):
5695 Renamed get_last_window()
5696 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5697 (hildon_stackable_window_unset_program):
5699 (get_previous_window_if_last):
5700 Detect if the window hasn't been added to a HildonProgram.
5702 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5704 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5706 * src/hildon-pannable-area.c
5707 (hildon_pannable_area_button_press_cb),
5708 (hildon_pannable_axis_scroll),
5709 (hildon_pannable_area_scroll),
5710 (hildon_pannable_area_timeout),
5711 (hildon_pannable_calculate_vel_factor),
5712 (hildon_pannable_area_get_property),
5713 (hildon_pannable_area_set_property),
5714 (hildon_pannable_area_class_init),
5715 (hildon_pannable_area_init),
5716 (hildon_pannable_area_scroll_to),
5717 (hildon_pannable_area_jump_to),
5718 (hildon_pannable_area_scroll_to_child),
5719 (hildon_pannable_area_jump_to_child):
5720 * src/hildon-pannable-area.h: Added the new API functions:
5721 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5722 hildon_pannable_area_scroll_to_child,
5723 hildon_pannable_area_jump_to_child
5726 * examples/Makefile.am
5727 * examples/hildon-pannable-area-example-2.c
5728 * examples/hildon-pannable-area-example-3.c: Added these two new
5729 examples in order to test and show how the new APIs work.
5731 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5733 * examples/hildon-stackable-window-example.c (new_window):
5734 * src/Makefile.am (noinst_HEADERS):
5735 * src/hildon-program.c (hildon_program_go_to_root_window):
5736 * src/hildon-program.h:
5737 * src/hildon-stackable-window-private.h:
5738 * src/hildon-stackable-window.c:
5739 * src/hildon-stackable-window.h:
5740 Create hildon-stackable-window-private.h
5741 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5743 * examples/hildon-app-menu-example.c (create_menu):
5744 * examples/hildon-hvolumebar-insensitive-example.c (main):
5745 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5746 * examples/hildon-toolbar-seekbar-example.c (main):
5747 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5748 * src/hildon-banner.c (hildon_banner_set_property):
5749 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5750 Fix compilation warnings
5752 * src/hildon-window.c:
5755 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5757 * src/hildon-stackable-window.c
5758 (hildon_stackable_window_unset_program):
5759 Calculate correctly whether to show the previous window if the
5760 last one is removed from the stack.
5761 (hildon_stackable_window_go_to_root_window):
5762 Send delete events starting from the topmost window.
5763 Stop if one of the windows is not destroyed.
5765 (hildon_stackable_window_delete_event)
5766 (hildon_stackable_window_class_init):
5767 Ignore the delete event if the window is not the topmost one.
5769 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5771 * src/hildon-pannable-area.c
5772 (hildon_pannable_area_expose_event): Fixed a problem when
5773 selecting the background color of the scrollbars.
5775 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5777 * examples/hildon-stackable-window-example.c
5778 * src/hildon-stackable-window.c
5779 * src/hildon-stackable-window.h
5780 hildon_stackable_window_go_home() renamed to
5781 hildon_stackable_window_go_to_root_window()
5782 Send delete events to windows rather than closing them with
5783 gtk_widget_destroy()
5785 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-pannable-area.c
5788 (hildon_pannable_area_button_release_cb): Fix overshooting in
5791 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5793 * src/hildon-pannable-area.c
5794 (hildon_pannable_area_init): Initially show the scroll indicators.
5795 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5797 Add initial effect showing the widget is pannable.
5799 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5801 * src/hildon-pannable-area.c
5802 (hildon_pannable_area_class_init)
5803 (hildon_pannable_area_set_property)
5804 (hildon_pannable_area_get_property)
5805 (hildon_pannable_area_button_press_cb):
5806 New 'velocity_fast_factor' property to decide which velocity is
5809 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5811 * src/hildon-pannable-area.c
5812 (hildon_pannable_draw_hscroll)
5813 (hildon_pannable_draw_vscroll):
5814 Use float variables to calculate the size of the scrollbars to
5815 avoid error propagation and resizing during scrolling.
5817 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-pannable-area.c
5820 (hildon_pannable_draw_vscroll)
5821 (hildon_pannable_draw_hscroll):
5822 Define a minimum size for the scroll bars
5824 * src/hildon-stackable-window.c
5825 (hildon_stackable_window_go_home): Fix compilation warning
5826 (get_last_window): Minor optimizations
5827 (hildon_stackable_window_class_init): Fix initialization of
5830 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5832 * src/hildon-stackable-window.c: Fixed typos in doc
5834 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5836 * src/hildon-pannable-area.c
5837 (hildon_pannable_area_scroll):
5838 Calculate here whether we need to scroll instead of using the booleans
5839 that tell us whether to /draw/ the scrolling bars.
5841 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-app-menu.h
5845 * src/hildon-app-menu.c
5846 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5847 multiple filter groups related code and API. Now we support only
5849 * examples/hildon-app-menu-example.c:
5851 Update to reflect API changes.
5853 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5855 * src/hildon-stackable-window.c
5856 (hildon_stackable_window_class_init):
5857 Add hildon_stackable_window_realize.
5858 (hildon_stackable_window_realize):
5859 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5860 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5861 to apply theming and behavior specific to HildonStackableWindow
5864 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5866 * src/hildon-note.c (hildon_note_button_release):
5867 Close information notes also when tapping on them
5869 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5871 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5872 ELASTICITY, refactor and review, fix some issues with drawing
5875 * src/hildon-pannable-area.c:
5876 (hildon_pannable_area_button_press_cb): removed the conditions to
5877 avoid clicks when overshooting. It is not required
5879 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5880 define. Refatored and reviewed the code, now we do not need to
5881 manage velocity in motion_notify.
5883 (hildon_pannable_area_motion_notify_cb): We have moved the code
5884 that controls the area_scroll to the axis_scroll function and get
5885 rid of duplicated code.
5887 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5889 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5891 (hildon_pannable_draw_vscroll),
5892 (hildon_pannable_draw_hscroll): Fixed the problems with the
5893 scrollbar drawing, now we do not use two surfaces, it is easier
5894 and saves resources.
5896 (hildon_pannable_area_get_property): Style modification.
5898 (hildon_pannable_area_class_init): Changed some default values.
5900 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5902 * src/hildon-stackable-window.c: Fix some typos in the
5905 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5907 * src/hildon-dialog.c:
5908 Change indentation style
5911 (hildon_note_button_release):
5912 Use root coordinates to check if the release event happened
5915 * src/hildon-app-menu.c
5916 (hildon_app_menu_button_release):
5917 Remove unnecessary check
5919 * examples/hildon-app-menu-example.c
5921 Add cast to fix warning
5923 * src/hildon-app-menu.c
5924 (hildon_app_menu_class_init):
5925 New inner-border style property.
5926 Set all default spacings to 16
5927 (hildon_app_menu_init):
5928 Use vertical-spacing to set the space between filter buttons and
5929 regular menu buttons.
5930 Set the default container border using the inner-border value.
5932 * examples/hildon-app-menu-example.c
5934 Don't set the menu border explicitly, now we have the inner-border
5935 style property for that.
5937 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5939 * src/hildon-app-menu.c (hildon_app_menu_init):
5940 Make the window modal
5942 * src/hildon-note.c (hildon_note_map)
5943 * src/hildon-app-menu.c (hildon_app_menu_map):
5944 Destroy the grab window if we're unable to grab the pointer
5946 * src/hildon-app-menu-private.h
5947 * src/hildon-app-menu.c
5948 (hildon_app_menu_init, hildon_app_menu_finalize)
5949 (hildon_app_menu_map, hildon_app_menu_unmap)
5950 (hildon_app_menu_button_release)
5951 (grab_transfer_window_get):
5952 Bring back the grab window
5953 (hildon_app_menu_realize):
5954 Decorate the window, set WM hint for Matchbox
5956 * src/hildon-note.c (hildon_note_realize):
5957 * src/hildon-banner.c (hildon_banner_realize):
5958 Add WM hints for Matchbox
5960 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5962 * src/hildon-app-menu-private.h
5963 * src/hildon-app-menu.c
5964 (hildon_app_menu_init, hildon_app_menu_finalize)
5965 (hildon_app_menu_map, hildon_app_menu_unmap)
5966 (hildon_app_menu_button_release):
5967 Remove the grab window, it's not needed anymore
5969 * src/hildon-program.c
5970 Fixed typo in documentation
5972 * src/hildon-app-menu.h
5973 * src/hildon-app-menu.c
5974 * examples/hildon-app-menu-example.c
5975 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5977 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5980 Added new transfer_window and close_if_pressed_outside private
5982 (hildon_note_rebuild):
5983 Don't add a cancel button to the information note. It will be
5984 closed when tapping outside
5985 Remove the comment about the OK button in the documentation
5986 (hildon_note_realize):
5987 Set the notification type hint
5988 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5989 Grab/ungrab pointer and keyboard if the note has to be closed when
5991 (hildon_note_button_release):
5992 Close the note when tapping outside (if applicable)
5994 * src/hildon-app-menu.c
5995 Grab/ungrab pointer and keyboard on map/unmap
5996 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5997 Close the menu on button release, not button press
5999 * src/hildon-banner.c
6000 (hildon_banner_set_property)
6001 (hildon_banner_check_position):
6002 Make the banner use the full width of the screen
6003 (hildon_banner_show_information)
6004 (hildon_banner_show_information_with_markup):
6005 Don't display an icon by default
6007 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6009 Added fading scrollbars and adapted all the overshooting code to
6010 horizontal scrolling. We have also fixed bugs with overshooting
6011 and current fading implementation.
6013 * src/hildon-pannable-area.c
6014 (hildon_pannable_area_scroll_indicator_fade): Time out function
6015 used to change the transparency of the scrollbars.
6017 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6018 control and fixed a problem with fading, we now remove the fade
6019 timeout before adding a new one.
6021 (hildon_pannable_axis_scroll):
6022 (hildon_pannable_area_scroll):
6023 (hildon_pannable_area_timeout): Added this functions so we can use
6024 the scroll code both for vertical and horizontal.
6026 (hildon_pannable_area_motion_notify_cb):
6027 (hildon_pannable_area_button_release_cb): Added the horizontal
6028 scrolling control, fixed a problem with the overshooting timeout.
6030 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6031 painting of the scrolls.
6033 (hildon_pannable_draw_vscroll):
6034 (hildon_pannable_draw_hscroll):
6035 (hildon_pannable_area_expose_event):
6036 Draw both scrollbars and rectangles in the overshooting area.
6038 (hildon_pannable_area_get_property):
6039 (hildon_pannable_area_set_property):
6040 Modified the overshoot property to overshoot_max
6042 (hildon_pannable_area_map):
6043 Replaced the comments symbols.
6045 (hildon_pannable_area_size_allocate):
6046 (hildon_pannable_area_class_init):
6047 (hildon_pannable_area_init): Added horizontal scroll, fading
6048 effect properties, fixed a problem when overshooting in the bottom
6051 * examples/hildon-pannable-area-example.c:
6052 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6053 looks better in the example.
6055 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6057 * src/hildon-window.c
6058 * src/hildon-window.h
6059 (hildon_window_class_init)
6060 (hildon_window_unset_program)
6061 (hildon_window_unset_program_real):
6062 Make unset_program a virtual function
6064 * src/hildon-stackable-window.c
6065 * src/hildon-stackable-window.h
6066 Added hildon_stackable_window_go_home()
6068 * examples/Makefile.am
6069 * examples/hildon-stackable-window-example.c
6070 HildonStackableWindow example
6072 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6074 * hildon-pannable-area.c: Added the overshoot property and removed
6075 the OVERSHOOT define. Fixed an indent style error.
6076 (hildon_pannable_area_motion_notify_cb):
6077 (hildon_pannable_area_get_property):
6078 (hildon_pannable_area_set_property): Add overshoot property.
6080 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6083 (hildon_pannable_area_class_init): Installed the new property.
6085 * hildon-pannable-area-example.c: Added a sawtooth function, this
6086 way it is easier to check the movement in the pannable.
6087 (get_sawtooth_label): Added this function.
6088 (main): Now we get the labels from the new get_sawtooth_label
6091 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-app-menu.h
6094 * src/hildon-app-menu.c
6095 Renamed API variables for consistency
6097 (hildon_app_menu_popup): Use also the default window size to
6098 decide where to place the menu
6100 (hildon_app_menu_init, hildon_app_menu_class_init): New
6101 external-border style property
6103 2008-05-26 Michael Natterer <mitch@imendio.com>
6105 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6106 widget_class->tap_and_hold_setup signal slot doesn't exist any
6107 longer, stop overriding it.
6109 (hildon_time_editor_init): g_signal_connect() to the
6110 tap-and-hold-setup signal instead.
6112 (hildon_time_editor_entry_keypress): add cast to fix warning.
6114 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6116 * doc/hildon-docs.sgml
6118 * examples/Makefile.am
6119 * examples/hildon-app-menu-example.c
6121 * src/hildon-app-menu-private.h
6122 * src/hildon-app-menu.c
6123 * src/hildon-app-menu.h
6125 New HildonAppMenu widget
6127 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6129 Rearranged the inheritance of the pannable area, now it inherits
6130 from GtkBin. This will allow us to control the event_window and
6131 the allocation process of the widget, required for some effects.
6133 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6134 GtkBin structures. * src/hildon-pannable-area.c: Added the
6135 event_window variable.
6136 (hildon_pannable_area_button_press_cb):
6137 (hildon_pannable_area_button_release_cb):
6138 (hildon_pannable_area_motion_notify_cb):
6139 Changed the signature of the method, now we override the event
6140 callback instead of connecting to the signal.
6142 (hildon_pannable_area_realize):
6143 (hildon_pannable_area_unrealize):
6144 (hildon_pannable_area_map):
6145 (hildon_pannable_area_unmap):
6146 (hildon_pannable_area_size_allocate):
6147 Added functions to control the widget construction. We add a
6148 INPUT_ONLY window and we put it over the widgets inside the
6149 container, this event_window handles the events.
6151 (hildon_pannable_area_class_init):
6152 Replaced the signal connections with overrides of the event
6155 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6157 Bouncing effect added when touching the borders, you can change
6158 the elasticity of the border changing the ELASTICITY define.
6160 * src/hildon-pannable-area.c: Added ELASTICITY define.
6161 (hildon_pannable_area_timeout): Added inverse velocity when
6162 touching the border of the child widget, that causes a bounce.
6164 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6166 Improved performance, we now do not go to the X server in order to
6167 get the list of window children. Apparently the effect is the
6168 same, we have to be careful and check if this breaks something in
6171 * src/hildon-pannable-area.c:
6172 (get_ordered_children): Removed this function.
6173 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6174 the children windows function with gdk_window_get_children.
6176 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6178 * src/hildon-pannable-area.c:
6179 (hildon_pannable_area_dispose): Fixed a crash when closing the
6180 window and kinetics is activated.
6182 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6184 * src/hildon-pannable-area.h
6185 * src/hildon-pannable-area.c
6186 Changed indentation style to meet the one used in Hildon
6188 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6190 Reviewed the interaction of the AUTO mode, now we use the time
6191 attribute of the events and calculate the velocity in the motion,
6192 doing a gimp like calculation. The velocity is calculated in each
6193 motion event using the last velocity and the current one, the
6194 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6196 * src/hildon-pannable-area.c: Replaced the time based algorithm
6198 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6199 timeout for the AUTO mode when we are still moving the cursor. We
6200 added also the velocity calculation in this function.
6201 (hildon_pannable_area_button_release_cb): launch the timeout in
6202 case we are in AUTO mode. There are still some constants here that
6203 come from the old implementation that should be reviewed and
6206 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6208 * doc/hildon-docs.sgml
6211 * src/hildon-stackable-window.c
6212 * src/hildon-stackable-window.h
6214 New HildonStackableWindow widget
6216 * examples/hildon-dialog-example.c
6217 * examples/hildon-pannable-area-example.c
6220 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6222 * src/hildon-dialog.c
6223 (hildon_dialog_new_with_buttons): New constructor.
6225 * examples/hildon-dialog-example.c
6226 (main): Update the example to use the new
6227 hildon_dialog_new_with_buttons().
6229 * examples/hildon-pannable-area-example.c
6230 (main): Update example.
6232 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6234 * doc/hildon-docs.sgml
6236 Added HildonPannableArea to the documentation.
6238 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6240 * doc/visual_index.xml
6241 Fix reference to HildonLoginDialog in documentation
6243 * doc/hildon-docs.sgml
6245 * examples/Makefile.am
6246 * examples/hildon-dialog-example.c
6248 * src/hildon-dialog.c
6249 * src/hildon-dialog.h
6251 New HildonDialog widget.
6253 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6255 * src/hildon-pannable-area.c
6256 Merge latest changes (r4318, r4342) from libmokoui trunk
6258 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6260 * examples/Makefile.am
6261 * examples/hildon-pannable-area-example.c
6263 * src/hildon-pannable-area.c
6264 * src/hildon-pannable-area.h
6266 New HildonPannableArea widget.
6268 2008-04-15 18:05:19 <timj@imendio.com>
6270 * src/hildon-banner.c: revert the recent change, that introduced
6271 gtk_window_present() calls. this reopens:
6272 Bug 78481 - [freetest] information banners are hidden under browser menu
6273 But resolves another variant of:
6274 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6276 2008-04-15 13:21:13 <timj@imendio.com>
6278 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6279 recreated its layout, spotted by Kris. this fixes all remaining
6280 artefacts and stability issues with the banner code. in particular:
6281 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6283 2008-04-14 16:52:59 <timj@imendio.com>
6285 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6286 operating on unrealized widgets, fixes:
6287 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6289 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6291 2008-04-09 Kristian Rietveld <kris@imendio.com>
6293 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6294 makes banner disappear.
6295 Fixes: NB#79182: info banner flickering with certain message lengts.
6297 * src/hildon-banner.c (hildon_banner_constructor),
6298 (hildon_banner_init), (hildon_banner_set_text),
6299 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6300 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6301 FALSE, reset size requests of label and banner,
6302 (force_to_wrap_truncated): when the text is too wide, always enforce
6303 the maximum possible width instead of recalculating it from the
6304 layout; enforce the maximum banner height of 3 lines,
6305 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6306 nicer wrapping and no truncated chars if space gets tight.
6308 * src/hildon-banner-private.h: add has_been_wrapped and
6309 has_been_truncated fields.
6311 2008-04-07 Sven Herzberg <sven@imendio.com>
6313 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6314 local values in hildon_date_editor_size_allocate
6316 * src/hildon-date-editor.c: moved the real allocation code into the
6319 2008-04-07 Sven Herzberg <sven@imendio.com>
6321 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6322 local values in hildon_date_editor_size_allocate
6324 * src/hildon-date-editor.c: merged the two if() branches together
6326 2008-04-07 Sven Herzberg <sven@imendio.com>
6328 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6329 local values in hildon_date_editor_size_allocate
6331 * src/hildon-date-editor.c: changed the arguments of the if()
6334 2008-04-07 Sven Herzberg <sven@imendio.com>
6336 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6337 local values in hildon_date_editor_size_allocate
6339 * src/hildon-date-editor.c: split the calculation of the allocation
6340 from the real allocation
6342 2008-03-27 Michael Natterer <mitch@imendio.com>
6344 Fixes: NB#81696: The passcode is not overwritten even after
6347 * src/hildon-code-dialog.c
6348 (hildon_code_dialog_button_clicked)
6349 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6350 because that doesn't overwrite selected text. Instead, emit the
6351 "commit" signal on the entry's im_context so the entry's normal
6352 insert logic is triggered. Set the cursor to the end of the entry
6353 after each insert operation so that we *only* insert in the middle
6354 of the text if something was selected.
6356 2008-03-27 Michael Natterer <mitch@imendio.com>
6358 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6359 selector cannot be opened
6361 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6362 when the popup color selector is created. Please connect to this
6363 signal in order to set the dialog's help ID.
6365 2008-03-25 Sven Herzberg <sven@imendio.com>
6367 Fixes: MB#1212: Hide info banners (infoprints) on click
6369 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6370 extracted the close event simulation into an extra function
6371 (hildon_banner_button_press_event): simulate a close event and destroy
6372 the widget if the event wasn't handled
6373 (hildon_banner_class_init): added the button_press_event handler
6374 (hildon_banner_init): added button-press events to the widget
6376 2008-03-25 Sven Herzberg <sven@imendio.com>
6378 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6379 Patch from: Mohammad Anwari <mdamt@maemo.org>
6381 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6382 instead of the right in RTL mode
6383 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6384 breadcrumb button list in RTL mode
6385 * src/hildon-caption.c: mirror the appearance of the caption widget in
6387 * src/hildon-date-editor.c: mirror appearance of the date editor in
6389 * src/hildon-time-editor.c: mirror appearance of the time editor in
6391 * src/hildon-window.c: fix the position of the popup in RTL mode
6393 2008-03-25 Sven Herzberg <sven@imendio.com>
6395 Amendment to the fix of NB#22072. Fix compilation.
6397 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6399 2008-03-19 Sven Herzberg <sven@imendio.com>
6401 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6404 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6405 timeout id properly when the timeout will disappear this leaves no
6406 artifacts around in the destroy(); there will only be the timeout
6407 created by hildon_banner_ensure_timeout() and adding a new timeout
6408 will also work if the timeout gets removed because the timeout_handler
6411 2008-03-19 Michael Natterer <mitch@imendio.com>
6413 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6415 * src/hildon-volumebar.c
6416 * src/hildon-vvolumebar.c
6417 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6418 the widget becomes focussable at all.
6420 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6421 set the focus to wither the mute button or the volumebar.
6423 Remove own "can-focus" property and instead listen to
6424 notify::can-focus in order to update the widget's state.
6426 Implement GtkWidget::focus() and make sure we can also *leave* the
6427 widget, not only enter it, depending on volumebar orientation and
6428 requested focus direction.
6430 Clean up set_mute() to cooperate nicely with all the above.
6432 2008-03-04 Michael Natterer <mitch@imendio.com>
6434 Fixes: NB#78481: information banners are hidden under browser menu
6436 * src/hildon-banner.c: call gtk_window_present() on the banners so
6437 they are risen if they are already visible.
6439 2008-03-03 Sven Herzberg <sven@imendio.com>
6441 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6443 * examples/hildon-window-menu-example.c: (main): extended the window
6444 menu example to serve as a testcase for automatically added
6445 accelerator groups, too
6446 * src/hildon-window.c: (hildon_window_add_accel_group),
6447 (hildon_window_set_menu): added patch by Tommi Komulainen
6449 2008-03-03 Sven Herzberg <sven@imendio.com>
6451 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6453 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6454 knowledge about the border allocators used within GTK+
6456 2008-02-26 Sven Herzberg <sven@imendio.com>
6458 Fixes: MB#2981: Build with asserts broken
6460 * src/hildon-date-editor.c,
6461 * src/hildon-number-editor.c,
6462 * src/hildon-time-editor.c,
6463 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6464 the proper GType instance check
6466 2008-02-25 Sven Herzberg <sven@imendio.com>
6468 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6470 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6471 * examples/hildon-window-menu-example.c: (main): explicitly show
6473 * src/hildon-window.c:
6474 (hildon_window_set_main_menu): moved most of the code from set_menu()
6475 to this place; skipped the call to gtk_widget_show_all(); also didn't
6476 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6477 (hildon_window_set_menu): removed most of the code, just keep the
6478 questionable gtk_widget_show_all()
6479 * src/hildon-window.h: added the new function and deprecate the old
6482 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6488 * debian/changelog: Updating.
6490 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6493 * pkgconfig/Makefile.am:
6494 * pkgconfig/hildon.pc.in:
6497 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6498 use newly created API_MAJOR_VERSION.
6500 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6506 * debian/changelog: Updating.
6508 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6510 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6512 Add outer_border style property, we use it but don't define it (!).
6516 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6518 * examples/hildon-bread-crumb-trail-example.c (main):
6522 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6524 Fix logic for the bread crumb trail node removal.
6528 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6534 * debian/changelog: Updating.
6536 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6538 Patch by Alejandro to get/set passwords dialogs accesibility.
6540 * hildon-1/src/hildon-get-password-dialog.c:
6541 * hildon-1/src/hildon-set-password-dialog.c:
6542 Set atk_set_name to the passwd entries in order to allow
6543 accessibility by name on this entries.
6545 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6550 * debian/control: Updating gtk dep.
6552 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6554 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6555 USE_MAEMO_GTK is enabled.
6557 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6559 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6560 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6562 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6568 * debian/changelog: Updating.
6570 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6572 * examples/Makefile.am:
6573 * examples/hildon-logical-color-example.c:
6574 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6575 applied + adding a test case. Fixes: NB#71660.
6577 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6579 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6580 to be visible, fixes warning on map for windows without toolbars.
6582 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6584 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6585 2.11.0, add a check for that besides the MAEMO_GTK check.
6587 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6593 * debian/changelog: Updating.
6595 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6597 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6598 visibility. Fixes: NB#70842 and MB#615.
6600 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6602 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6603 set the separator as no-show-all so it doesn't unintentionally appear when
6604 someone does a show_all.
6606 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6608 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6609 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6610 toplevel item. Fixes: NB#62031
6612 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6614 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6615 fix the name of the function in the docs.
6617 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6623 * debian/changelog: Updating.
6625 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6627 * examples/hildon-banner-long-example.c: Adding a test-case for long
6630 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6632 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6634 * src/hildon-color-chooser-dialog.c:
6635 * src/hildon-color-chooser.c:
6636 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6637 memory leaks in font selector and color selector. Fixes: NB#70499 and
6640 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6642 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6644 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6646 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6647 little bit bigger. Fixes: #NB63694.
6649 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6655 * debian/changelog: Updating.
6657 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6660 * doc/hildon-docs.sgml:
6661 * doc/images/bread-crumb-trail.png:
6662 * doc/images/calendar-popup.png:
6663 * doc/images/caption.png:
6664 * doc/images/code-dialog.png:
6665 * doc/images/color-button.png:
6666 * doc/images/color-chooser-dialog.png:
6667 * doc/images/color-chooser.png:
6668 * doc/images/controlbar.png:
6669 * doc/images/date-editor.png:
6670 * doc/images/font-selection-dialog.png:
6671 * doc/images/get-password-dialog.png:
6672 * doc/images/hvolumebar.png:
6673 * doc/images/login-dialog.png:
6674 * doc/images/note.png:
6675 * doc/images/number-editor.png:
6676 * doc/images/range-editor.png:
6677 * doc/images/seekbar.png:
6678 * doc/images/set-password-dialog.png:
6679 * doc/images/sort-dialog.png:
6680 * doc/images/time-editor.png:
6681 * doc/images/time-picker.png:
6682 * doc/images/vvolumebar.png:
6683 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6684 Adding the bread-crumb-trial and helpers to the documentation.
6686 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6688 * examples/hildon-find-toolbar-example.c:
6689 * src/hildon-find-toolbar.c:
6690 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6691 actually continue firing the other handlers if connected. Adding a new
6693 hildon_find_toolbar_get_last_index that gets the index of the most
6694 recently added (last) item. Fixes: NB#52301.
6696 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6698 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6699 behaviour. Fixes: NB#68610.
6701 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6703 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6706 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6708 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6709 when realizing the banner. Should make the infonbanner effect a bit more
6712 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6714 * src/hildon-volumebar.c:
6715 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6716 hildon_volumebar_set_range_insensitive_message and
6717 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6719 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6721 * src/hildon-window.c: Fixing the border freeing on destroy.
6723 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6725 * src/hildon-code-dialog-private.h:
6726 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6727 kw keyboard support in HildonCodeDialog.
6729 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6735 * debian/changelog: Updating.
6737 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6739 * src/hildon-date-editor.c:
6740 * src/hildon-number-editor.c:
6741 * src/hildon-private.c:
6742 * src/hildon-private.h:
6743 * src/hildon-time-editor.c:
6744 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6745 handling in subclassed composite widgets. Fixes: NB#66628.
6747 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6749 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6750 from destroy_ callback as it introduces problems in async dbus signal
6751 handlers. Fixes NB#66673.
6753 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6755 * examples/hildon-hvolumebar-example.c:
6756 * src/hildon-volumebar.c: Improving the focus handling in the
6757 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6758 set_property accessor so that "mute" property can be actually set. I'm
6759 scared that nobody noticed it's totally broken.
6761 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6763 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6766 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6768 * src/hildon-calendar.c:
6769 * src/hildon-number-editor.c:
6770 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6771 matches the spec of 6 chars per second. Fixes: NB#60489.
6773 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6775 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6776 gtk_style_lookup_color sometime returns FALSE even though color was
6777 found and values were filled properly. Weird. Removing the warning for the
6780 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6782 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6783 expand vertically. Adding some extra space to the find toolbar buttons to
6784 make them thumbable. Fixes NB#66060.
6786 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6788 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6789 popup with "Ok" and "Cancel". Fixes NB#59299.
6791 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6793 * src/hildon-calendar.c: Process all window updates before executing next
6794 timeout. Fixes: NB#54146.
6796 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6802 * debian/changelog: Updating.
6804 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6806 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6807 the client event and ignore it, since we use the delete event to close
6810 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6812 * src/hildon-helper.c: Remove the bogus warning about color not being
6813 found. Fixes NB#58352.
6815 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6817 * examples/Makefile.am:
6818 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6819 HildonSeekbar widget inside a toolbar.
6821 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6823 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6824 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6825 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6826 don't want to be closed by non-temporary windows on map.
6828 Also use G_DEFINE_TYPE instead of manually typed code.
6830 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6837 * debian/rules: Updating.
6839 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6841 * examples/Makefile.am:
6842 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6843 bug NB#61128. Strangely it works.
6845 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6847 * src/hildon-date-editor.c: When the date editor entry has been changed
6848 but the numbers of characters < max, turn off the skip validation flag.
6849 Prevents a situation when we enter first a valid year and later re-write
6850 it with an invalid one. Fixes NB#60154.
6852 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6854 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6855 code dialog. Fixes NB#64355.
6857 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6859 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6860 switching the page. Fixes NB#49374.
6862 * examples/Makefile.am:
6863 * examples/hildon-wizard-dialog-example.c: Adding an example for
6864 HildonWizardDialog that shows how to handle manual sensitivity setting on
6867 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6871 * src/hildon-version.h.in:
6872 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6874 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6876 * src/hildon-volumebar.c: Updating the docs.
6878 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6884 * debian/changelog: Updating.
6886 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6888 * src/hildon-find-toolbar.c:
6889 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6890 selected item: hildon_find_toolbar_set_active,
6891 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6892 hildon_find_toolbar_get_active_iter . They correspond to respective
6893 GtkComboBox functions.
6895 * examples/Makefile.am:
6896 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6899 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6901 * examples/Makefile.am:
6902 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6905 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6906 when font size > 32 and we pack a focusable widget inside. Actually using
6907 the default response would work too, but since we don't show default
6908 response state in any way (no theming) it would not be visible to the
6909 user. Fixes NB#63430.
6911 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6913 * src/hildon-date-editor.c: Adding the missing variable setter in the
6914 set_property handler. Fixes NB#54182.
6916 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6918 * src/hildon-window.h: Changing the long key press time from 1500ms to
6919 800ms as requested in NB#63700. I have a bad feeling about this, let's
6920 see... Fixes NB#63700.
6922 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6924 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6925 hildon_time_picker_map, hildon_time_picker_realize,
6926 hildon_time_picker_style_set): Split the contents of map to more
6927 appropriate functions; set window decorations on realize and update
6928 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6930 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6935 * debian/changelog: Updating.
6937 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6939 * src/Makefile.am: fixed installation of the header files
6941 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6947 * debian/changelog: Updating.
6949 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6951 * configure.ac: Removing some remaining of --enable-xan.
6953 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6955 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6956 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6958 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6959 2.10.12-osso6 because the move-focus signal needs to be available in
6962 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6964 * examples/Makefile.am:
6965 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6966 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6967 fine. Prolly NB#61128 is fixed now.
6969 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6971 * src/hildon-volumebar.c:
6972 * src/hildon-volumebar.h: Adding the
6973 hildon_volumebar_set_range_insensitive_message and
6974 hildon_volumebar_set_range_insensitive_messagef functions to set
6975 insensitive message on the slider of the volumebar. Fixes NB#61129.
6977 * examples/Makefile.am:
6978 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6979 test the new insensitive messsage functionality on HildonVolumebar.
6981 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6983 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6986 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6988 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6989 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6990 button on after clearing the trail.
6992 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6994 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6996 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6998 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6999 by splitting the installed headers in generated and non-generated groups. Use
7000 only the non-generated headers to create the hildon-enum-types.h file.
7002 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7004 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7006 * src/hildon-window.c: Hide the window before performing the destroy.
7007 Should make the app closing a little tiny bit more snappy.
7009 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7011 * src/hildon-seekbar.c: add gtkrange.h header
7012 * src/hildon-caption.c: remove unused variable
7014 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7016 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7019 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7025 * debian/changelog: Updating.
7027 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7029 * src/hildon-window.c (hildon_window_window_state_event,
7030 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7031 escape timeout on focus-out-event rather than notify::is-topmost; the
7032 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7034 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7036 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7037 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7039 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7041 * src/hildon-window: actually, you need to use the macro always, there's
7042 no private pointer in the instance structure. We should have cleaned this up
7043 when we had the chance...
7045 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7047 * src/hildon-window.c: do not get the private date from HildonWindow before
7048 it passes the g_return_if_fail check. Once it's passed the test, there's no
7049 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7050 if you are only going to access the data once. Whitespace cleanups.
7052 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7054 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7055 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7057 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7063 * debian/changelog: Updating.
7065 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7067 * src/hildon-window.c: When destroying the window, remove (if exists) the
7068 escape timeout handler. Fixes #NB59276.
7070 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7072 * src/hildon-banner.c: When realizing the widget, set the window
7073 transiency. Setting the transiency in the gobject constructor is not
7074 good, as the widget is not realized at that point. Fixes: #NB56624.
7076 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7078 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7079 Add padding for future expansions.
7081 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7083 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7084 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7085 will fake an activation on the previous to the last item of the trail, so
7086 the effect can be overrided by the developer as usual.
7087 Also change the callback for the back button to do the same thing, so its
7088 effect can be overrided too. Fixes: NB#58982
7090 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7092 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7093 HildonCaption. Fixes NB#52379.
7095 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7097 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7098 the internal state of the trail after the user has had the chance of executing
7099 his handler for the signal. Specifically, it may happen that the activated button
7100 is removed and the user still lets the default handler run. This would segfault
7103 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7105 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7106 scrollbar to the preview dialog. Fixes NB#54147.
7108 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7110 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7111 max/min year properties can be altered, so the client can modify it
7112 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7114 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7116 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7117 hildonlike by default. Fixing a problem with disappearing arrows when
7118 scrolling through months and years. Fixes NB#54127.
7120 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7122 * examples/hildon-date-editor-example.c: Adding error callback to the date
7125 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7131 * configure.ac: Updating.
7133 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7135 * configure.ac: Adding a special '--enable-xan' configure option that
7136 turns off the -Werror compilation setting. Usefull for development.
7138 * src/hildon-calendar.c:
7139 * src/hildon-number-editor.c:
7140 * src/hildon-time-picker.c: Adding the 5* multiplier to
7143 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7145 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7146 instead of g_object_ref + gtk_object_sink.
7148 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7154 * debian/changelog: Updating.
7156 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7158 * src/hildon-color-chooser-dialog.c:
7159 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7160 straight from Tommi labs.
7162 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7164 * examples/hildon-finger-example.c: Correcting the header file path.
7166 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7167 the changed signal. Fixes a small memory leak.
7169 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7173 * src/hildon-banner.c: Importing several usefull fixes from the
7174 ubuntu-mobile branch.
7176 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7178 * examples/Makefile.am:
7179 * examples/hildon-finger-example.c: Adding a finger-checking code
7182 * src/hildon-font-selection-dialog.c: Do not allocate the color
7183 structure using the g_new. Fixes NB#54061.
7185 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7187 * src/hildon-helper.c: Correcting tabs in file.
7189 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7191 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7192 control the visibility of the children.
7194 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7196 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7202 * debian/changelog: Updating.
7204 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7206 * src/hildon-bread-crumb-trail.c:
7207 (hildon_bread_crumb_trail_size_allocate):
7209 Make the back button always a square.
7211 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7213 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7214 from the .c file as it's a private file.
7216 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7218 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7219 uses slightly bigger height.
7221 * src/hildon-font-selection-dialog.c: Adding some checks before
7222 freeing memory in the font selection dialog.
7224 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7226 * src/hildon-font-selection-dialog.c: Adding a small check when
7229 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7230 buttons sensitivity on page switching.
7232 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7234 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7235 internal details of adding a bread crumb to the trail.
7237 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7243 * debian/changelog: Updating.
7245 * src/hildon-bread-crumb-trail.h:
7246 * src/hildon-bread-crumb.h: Changing the API guard to
7247 HILDON_ENABLE_UNSTABLE_API.
7249 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7257 * src/hildon-helper.h: Updating.
7259 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7267 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7271 * src/hildon-helper.h: Small fix to make the package actually compile.
7273 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7275 * src/hildon-bread-crumb-trail.h:
7276 * src/hildon-bread-crumb.h:
7278 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7279 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7281 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7283 * examples/hildon-bread-crumb-trail-example.c:
7285 * src/hildon-bread-crumb-trail.c:
7286 * src/hildon-bread-crumb-trail.h:
7287 * src/hildon-bread-crumb.c:
7288 * src/hildon-bread-crumb.h:
7289 * src/hildon-marshalers.list:
7290 * src/hildon-bread-crumb-widget.c:
7291 * src/hildon-bread-crumb-widget.h:
7293 Slight change in the widget design. The bread crumb trail API is
7294 unchanged, but HildonBreadCrumb is now an interface. A *private*
7295 implementation, hildon-bread-crumb-widget, is provided and used
7296 internally by the trail for the push_text/push_icon functions.
7298 The generic push API is still available, so anyone can implement
7299 and use its own bread crumb widget.
7301 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7303 * debian/rules: Fixing the shlibs.
7305 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * src/hildon-banner.c: Fixing a problem with timed banners having
7308 their parrent destroyed before they are.
7310 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7312 * src/hildon-bread-crumb.c:
7313 * src/hildon-bread-crumb.h:
7315 Make the get_natural_size function a vfunc.
7317 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7319 * src/hildon-bread-crumb.c:
7320 * src/hildon-bread-crumb-trail.c:
7324 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7331 * debian/changelog: Updating for release.
7333 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7335 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7336 don't leak the pango layout.
7338 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7341 * examples/hildon-bread-crumb-trail-example.c:
7345 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7347 * debian/changelog: Removing the bug-fixed entries that were actually
7348 resolved as WONTFIX.
7350 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7353 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7355 * src/hildon-bread-crumb-trail.c:
7356 * src/hildon-bread-crumb-trail.h:
7357 * src/hildon-bread-crumb.c:
7358 * src/hildon-bread-crumb.h:
7362 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7364 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7365 until it's passed the type check.
7367 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7369 * examples/hildon-bread-crumb-trail-example.c
7373 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7375 * examples/Makefile.am
7376 * examples/hildon-bread-crumb-trail-example.c
7378 * src/hildon-bread-crumb-trail.c
7379 * src/hildon-bread-crumb-trail.h
7380 * src/hildon-bread-crumb.c
7381 * src/hildon-bread-crumb.h
7383 New HildonBreadCrumbTrail widget.
7385 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7387 * src/hildon-range-editor.c (hildon_range_editor_init),
7388 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7389 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7390 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7391 hildon_time_editor_class_init, hildon_time_editor_init),
7392 src/hildon-get-password-dialog.c (invalid_input,
7393 hildon_get_password_set_property, hildon_get_password_get_property,
7394 create_contents, hildon_get_password_dialog_set_max_characters),
7395 src/hildon-set-password-dialog.c (create_contents),
7396 src/hildon-date-editor.c (hildon_date_editor_init),
7397 src/hildon-login-dialog.c (hildon_login_dialog_init),
7398 src/hildon-number-editor.c (hildon_number_editor_init),
7399 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7400 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7401 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7402 configure option and adding the respective checks in the code.
7403 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7404 hildon_calendar_drag_data_received): fixed some build warnings.
7406 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7408 * debian/changelog: A 1.0.0 release notes.