1 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
11 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
14 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
16 * configure.ac: removed libcangerra-gtk dependency
17 * debian/control: removed libcanberra-gtk dependency
18 * src/Makefile.am: removed libcanberra gtk related flags
19 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
20 context, and manage a global canberra context instead
22 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
24 2009-03-26 Alberto Garcia <agarcia@igalia.com>
26 Patch by Daniel Borgmann (danielb@openismus.com)
28 * src/hildon-edit-toolbar.c:
29 Adjust the left padding.
30 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
31 Paint background of the edit toolbar.
33 Fixes: NB#107897 (Patch to make editmodetoolbar background
34 themeable and adjust margin)
36 2009-03-25 Alberto Garcia <agarcia@igalia.com>
38 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
40 * src/hildon-program.c (hildon_program_update_top_most):
41 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
43 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
44 change when the user tasks in/out of an application)
46 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
48 * configure.ac: added libcangerra-gtk dependency
49 * debian/control: added libcanberra-gtk dependency
50 * src/Makefile.am: added libcanberra gtk related flags
51 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
54 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
56 2009-03-25 Alberto Garcia <agarcia@igalia.com>
58 * src/hildon-program.c (hildon_program_remove_window)
59 (hildon_program_add_window): Add checks for the window
60 parameter. Don't decrease the window counter if the window is not
63 2009-03-24 Alejandro G. Castro <alex@igalia.com>
65 * src/hildon-pannable-area.c,
66 (hildon_pannable_area_realize): Fixed position of the event_window
67 in the realize method.
69 2009-03-24 Alberto Garcia <agarcia@igalia.com>
71 * src/hildon-app-menu-private.h
72 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
73 (hildon_app_menu_map, hildon_app_menu_hide_idle)
74 (hildon_app_menu_key_press, hildon_app_menu_init)
75 (hildon_app_menu_finalize):
76 Make sure that all idle functions are removed when the widget is
79 Fixes: NB#107583 (Hildon app menu crashes in various applications)
81 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
86 * configure.ac: Bump version.
87 * debian/changelog: Updates.
89 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
92 (+hildon_entry_show_placeholder),
93 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
94 that replace hildon_entry_update_contents().
95 (hildon_entry_set_text),
96 (hildon_entry_set_placeholder),
97 (hildon_entry_focus_in_event),
98 (hildon_entry_focus_out_event): Determine when it is needed
99 either to show or hide the placeholder and call the above methods.
101 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
102 when the placeholder text is already set)
104 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
106 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
107 simple GdkPixbufAnim using the new icons for the banner.
108 (hildon_banner_show_animation): Use the above mentioned method to
109 create the animation widget.
111 Fixes: NB#103564 (Make hildon animation banner use individual
112 image files as the animation)
114 2009-03-24 Alejandro G. Castro <alex@igalia.com>
116 * src/hildon-pannable-area.c,
117 (hildon_pannable_leave_notify_event): Check if the child is NULL
118 to avoid sending the leave.
120 2009-03-24 Alejandro G. Castro <alex@igalia.com>
122 * src/hildon-pannable-area.c,
123 (hildon_pannable_area_class_init),
124 (hildon_pannable_leave_notify_event): Added a handler of the
125 leave-notify-signal to consider when no motion notify before
128 Fixes: NB#107494 (Items stay selected when clicking and moving
129 away when inside pannable area)
131 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
136 * configure.ac: Bump version.
137 * debian/changelog: Updates.
139 2009-03-19 Alejandro G. Castro <alex@igalia.com>
141 Patch by Alberto Garcia (agarcia@igalia.com)
143 * src/hildon-date-button.c,
144 (hildon_date_button_class_init),
145 (hildon_date_button_init): Removed the construct property handling
146 and created a default selector in the init method.
147 * src/hildon-picker-button.c,
148 (hildon_picker_button_class_init): Removed the construct flag of the
151 2009-03-18 Alberto Garcia <agarcia@igalia.com>
153 * src/hildon-main.c (hildon_init):
154 Don't allow hildon_init() to be called more than once.
156 Fixes: NB#106607 (hildon_init should issue error message upon
159 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
161 * examples/hildon-pannable-area-touch-list-example.c
162 * examples/hildon-pannagle-area-touch-grid-example.c
163 * examples/hildon-edit-toolbar-example.c
164 * examples/hildon-touch-selector-multi-cells-example.c
165 Removed the call to gtk_rc_parse_string, as it is not required since
168 2009-03-17 Alejandro G. Castro <alex@igalia.com>
170 * src/hildon-pannable-area.c,
171 (hildon_pannable_area_class_init): Modified the default panning
172 threshold of the widget to 6px.
174 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
175 than the threshold value ) within the button is not sending the
178 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
180 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
181 for the treeview in the new column. This way, the touch list will never
184 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
185 be selected manually for the HW keys to work)
187 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
189 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
190 comparison instead of using strcmp(). Fixes a compiler warning as well.
192 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
194 * doc/hildon-docs.sgml: Do not set the library version in the
195 document title, use the releaseinfo tag for that purpose instead.
197 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
199 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
200 Do not jump to the first item if the text in the entry is removed.
202 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: Bump version.
208 * debian/changelog: Updates.
210 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
212 * src/hildon-entry.c (hildon_entry_refresh_contents):
213 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
214 Use "ReversedSecondaryTextColor" for the placeholder text.
216 2009-03-12 Alberto Garcia <agarcia@igalia.com>
218 * src/hildon-text-view.c: Fix compilation warning.
220 2009-03-12 Alberto Garcia <agarcia@igalia.com>
222 * src/hildon-button.c (hildon_button_class_init): Don't make
223 "title" and "value" construction properties, to prevent them from
224 overwriting labels set from derived classes.
226 * src/hildon-picker-button.c
227 (hildon_picker_button_set_selector): Allow setting a NULL selector.
228 (hildon_picker_button_class_init): Make touch-selector a
229 construction property.
231 * src/hildon-date-button.c (hildon_date_button_class_init)
232 (+hildon_date_button_constructed): Add a default date selector if
235 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
237 * src/hildon-touch-selector.c: Small documentation fixes.
239 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
241 Based on a patch by Daniel Borgmann (danielb@openismus.com)
243 * src/hildon-entry.c (hildon_entry_refresh_contents),
244 (hildon_entry_get_text), (hildon_entry_init): Do not use the
245 widget name, set the logical color directly instead and a boolean
246 showing_placeholder instead.
247 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
248 use the widget name here either.
250 Fixes: NB#105678 (HildonTextView should use logical colours
251 instead of setting widget name)
253 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
255 Patch by Daniel Elster (danielk@openismus.com)
257 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
258 Add user_data parameter.
259 (hildon_touch_selector_set_print_func_full): New function akin
260 hildon_touch_selector_set_print_func() but with support for user
261 data and a destroy callback.
262 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
263 to clean up the print function user data.
264 (hildon_touch_selector_class_init): Install dispose function.
265 (HildonTouchSelectorPrivate::print_user_data),
266 (HildonTouchSelectorPrivate::print_destroy_func): New private
268 (hildon_touch_selector_init): Initialize new private members.
269 (hildon_touch_selector_get_current_text): Pass along user data
270 to the print function.
271 (_default_print_func): Add dummy user_data to parameter list.
272 * hildon-date-selector.c (_custom_print_func): ditto,
273 * hildon-time-selector.c (_custom_print_func): ditto,
274 * hildon-touch-selector-entry.c
275 (hildon_touch_selector_entry_print_func): ditto.
277 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
279 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
281 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
283 2009-03-12 Alejandro G. Castro <alex@igalia.com>
285 * src/hildon-pannable-area.c,
286 (hildon_pannable_area_init),
287 (hildon_pannable_area_button_press_cb),
288 (hildon_pannable_area_motion_notify_cb): We have added code to
289 handle the leave and enter events when using the motion events.
291 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
293 2009-03-11 Alberto Garcia <agarcia@igalia.com>
295 * src/hildon-date-button.c (hildon_date_button_get_date)
296 (hildon_date_button_set_date): Make sure that the button has a
299 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
301 2009-03-11 Alejandro G. Castro <alex@igalia.com>
303 * src/hildon-pannable-area.c,
304 (hildon_pannable_area_class_init),
305 (hildon_pannable_area_calculate_velocity): Modify the use of the
306 force and adapt the value.
308 2009-03-10 Alberto Garcia <agarcia@igalia.com>
310 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
311 (hildon_app_menu_class_init): Hide the menu if it receives a
312 delete-event, but don't destroy it
314 Fixes: NB#104485 (Not able to address the call when application
315 menu is opened at background)
317 2009-03-10 Alberto Garcia <agarcia@igalia.com>
319 * src/hildon-app-menu.c
320 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
321 Remove the "external-border" style property, let the menu take its
322 natural size (or the one set by the window manager)
323 (hildon_app_menu_repack_items):
324 Don't reshow the menu, avoid flickers.
326 Partially fixes NB#94957 (Smoothly opened application menu)
328 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
333 * configure.ac: Bump version.
334 * debian/changelog: Updates.
336 2009-03-10 Alejandro G. Castro <alex@igalia.com>
338 * src/hildon-pannable-area.c,
339 (hildon_pannable_area_motion_notify_cb): We control that the
340 direction error margin is used just in case the movement is
341 allowed in the other direction.
343 Fixes: NB#105012 (buttons inside a pannable area not getting
344 release event when dragging/releasing)
346 2009-03-10 Alejandro G. Castro <alex@igalia.com>
348 * src/hildon-pannable-area.c,
349 (hildon_pannable_area_class_init),
350 (hildon_pannable_area_get_property),
351 (hildon_pannable_area_set_property),
352 (hildon_pannable_area_initial_effect),
353 (hildon_pannable_axis_scroll),
354 (hildon_pannable_area_button_release_cb): Reviewed the
355 overshooting effect, now it has its own max
356 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
359 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
364 * configure.ac: Bump version.
365 * debian/changelog: Updates.
367 2009-03-09 Alejandro G. Castro <alex@igalia.com>
369 * src/hildon-pannable-area.c,
370 (hildon_pannable_area_class_init): Changed the max speed, now
371 users can launch the widget very fast. Reduced the default force,
372 that way it is easier to control the launch speed.
374 2009-03-09 Alejandro G. Castro <alex@igalia.com>
376 * src/hildon-pannable-area.c,
377 (hildon_pannable_area_button_release_cb): Removed this check
378 because it causes problems when the device is overloaded.
380 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
382 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
383 add a current_text field to store the text entered in the
384 touch selector entry.
385 (_clean_current_selection): clean up the current text as well.
386 (_save_current_selection), (_restore_current_selection):
387 Save/restore the text in the entry if the selector is a
388 HildonTouchSelectorEntry.
390 Fixes: NB#102541 (value entered in the touch selector entry is not
391 shown when opened for second time)
393 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
395 * doc/hildon-sections.txt:
396 * src/hildon-touch-selector-entry.c
397 (+hildon_touch_selector_entry_get_entry):
398 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
400 Fixes: NB#104815 (I need accessor to the entry inside
401 HildonTouchSelectorEntry)
403 2009-03-06 Alberto Garcia <agarcia@igalia.com>
405 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
406 (hildon_app_menu_class_init):
407 New "filter-vertical-spacing" style property.
409 2009-03-06 Alberto Garcia <agarcia@igalia.com>
411 * src/hildon-find-toolbar.c
412 (hildon_find_toolbar_emit_close)
413 (hildon_find_toolbar_emit_invalid_input)
414 (hildon_find_toolbar_entry_activate):
415 Use g_signal_emit() instead of g_signal_emit_by_name()
417 2009-03-06 Alberto Garcia <agarcia@igalia.com>
419 Patch by Mox Soini (ext-mox.soini@nokia.com)
421 * tests/TEST-CASES.txt
422 * tests/check-hildon-banner.c
423 * tests/check-hildon-note.c
424 * src/hildon-banner.c
425 * src/hildon-code-dialog.c
426 * src/hildon-date-editor.c (real_set_calendar_icon_state)
427 * src/hildon-time-editor.c
428 * examples/hildon-lookup-example.c (main):
429 Replace obsolete icon names with new ones.
431 * src/hildon-find-toolbar-private.h:
432 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
433 (-hildon_find_toolbar_emit_search):
434 Remove find button and change icon of close button.
436 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
438 2009-03-05 Alberto Garcia <agarcia@igalia.com>
440 * src/hildon-time-button.c (hildon_time_button_new_step):
441 Use the "touch-selector" property to set the selector directly
442 when creating the object.
444 2009-03-05 Alejandro G. Castro <alex@igalia.com>
446 Added a new example application that allows tuning the pannable
447 area and replaced defines with properties in order to simplify the
448 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
449 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
450 PROP_DIRECTION_ERROR_MARGIN.
452 * examples/hildon-pannable-area-tuning-example.c: New example
454 * src/hildon-pannable-area.c,
455 (hildon_pannable_area_class_init),
456 (hildon_pannable_area_init),
457 (hildon_pannable_area_get_property),
458 (hildon_pannable_area_set_property),
459 (hildon_pannable_area_launch_fade_timeout),
460 (hildon_pannable_area_adjust_value_changed),
461 (hildon_pannable_axis_scroll),
462 (hildon_pannable_area_motion_notify_cb),
463 (hildon_pannable_area_scroll_cb),
464 (hildon_pannable_area_button_release_cb): We have converted some
465 of the defines that control the widget to properties to simplify
468 2009-03-05 Alberto Garcia <agarcia@igalia.com>
470 * src/hildon-app-menu.c (hildon_app_menu_map)
471 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
472 so it's closed if a new window appears.
474 Fixes: NB#104485 (Not able to address the call when application
475 menu is opened at background)
477 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
479 * src/hildon-color-button.c (hildon_color_button_get_property):Add
480 missing 'break' statement in in 'case' construct to avoid
483 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
485 * src/hildon-touch-selector-entry.c
486 (hildon_touch_selector_entry_get_property),
487 (hildon_touch_selector_entry_set_property): Add missing 'break'
488 statements in in 'case' constructs to avoid incorrect warnings.
490 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
492 * src/hildon-time-editor.c
493 (hildon_time_editor_get_time_separators): Do not crash if
494 the first label is NULL.
496 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
498 * src/hildon-date-selector.c (_month_days): Check for month to be
499 strictly less than 12, since otherwise we may overrun the array.
501 2009-03-04 Alberto Garcia <agarcia@igalia.com>
503 * src/hildon-date-button.c (+hildon_date_button_new_full)
504 (hildon_date_button_new, hildon_date_button_new_with_year_range)
505 (hildon_date_button_init): Set the date selector using a
506 construction property, to make it happen after HildonButton's
507 "value" property is set.
509 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
510 current date by default)
512 2009-03-04 Alberto Garcia <agarcia@igalia.com>
514 * doc/hildon-sections.txt
515 * src/hildon-program.c
516 * src/hildon-stackable-window.c
517 * src/hildon-window.c:
518 Documentation updates
520 2009-03-04 Alberto Garcia <agarcia@igalia.com>
522 * src/hildon-window-stack.c (hildon_window_stack_get_default)
523 (hildon_window_stack_new, +hildon_window_stack_set_property)
524 (+hildon_window_stack_get_property)
525 (hildon_window_stack_class_init)
526 (+hildon_window_stack_set_window_group)
527 (+hildon_window_stack_get_window_group):
528 Make the window group a construction property.
530 2009-03-04 Alberto Garcia <agarcia@igalia.com>
532 * doc/hildon-sections.txt
533 * src/hildon-stackable-window-private.h
534 * src/hildon-stackable-window.h
535 * src/hildon-stackable-window.c
536 (-hildon_stackable_window_set_app_menu)
537 (-hildon_stackable_window_get_app_menu)
538 (-hildon_stackable_window_toggle_menu)
539 (-hildon_stackable_window_finalize)
540 (hildon_stackable_window_class_init)
541 (hildon_stackable_window_init)
542 * src/hildon-window-private.h
543 * src/hildon-window.h
544 * src/hildon-window.c (hildon_window_init)
545 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
546 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
547 (hildon_window_get_main_menu, hildon_window_set_main_menu)
548 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
549 Moved all HildonAppMenu code to HildonWindow. The menu does not
550 require a HildonStackableWindow anymore.
552 * src/hildon-app-menu.c
553 * src/hildon-program.c
554 * examples/hildon-app-menu-example.c (main):
555 Update examples and documentation to reflect HildonAppMenu
558 2009-03-04 Alberto Garcia <agarcia@igalia.com>
560 * src/hildon-remote-texture.c
561 * src/hildon-animation-actor.c:
562 Don't include unused private headers.
564 2009-03-04 Alberto Garcia <agarcia@igalia.com>
566 * src/hildon-program-private.h
567 * src/hildon-program.c
568 (hildon_program_set_common_menu)
569 (hildon_program_get_common_menu)
570 (hildon_program_set_common_app_menu)
571 (hildon_program_get_common_app_menu):
572 Change common menu pointers from GtkWidget* to GtkMenu* and
573 HildonAppMenu* to avoid unnecessary casts.
575 2009-03-03 Alberto Garcia <agarcia@igalia.com>
577 * src/hildon-window.c (hildon_window_set_main_menu):
578 Removed incorrect 'Since:' tag
580 2009-03-03 Alejandro G. Castro <alex@igalia.com>
582 * src/hildon-pannable-area.c,
583 (hildon_pannable_area_calculate_velocity): We use now the
584 RATIO_TOLERANCE here to check the distance, fixed typo in the
586 (hildon_pannable_area_motion_notify_cb): We have to set the type
587 and time even if we are not sending the motion.
589 2009-03-02 Alberto Garcia <agarcia@igalia.com>
591 * doc/hildon-sections.txt
592 * src/hildon-app-menu.h
593 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
594 (+hildon_app_menu_get_filters): New methods to get the contents of
597 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
600 2009-03-02 Alberto Garcia <agarcia@igalia.com>
602 * src/hildon-app-menu.c (hildon_app_menu_popup):
605 2009-03-02 Alberto Garcia <agarcia@igalia.com>
607 * src/hildon-window.h
608 * src/hildon-window.c (+hildon_window_get_main_menu)
609 (hildon_window_get_menu): Created hildon_window_get_main_menu()
610 and deprecated hildon_window_get_menu().
612 * src/hildon-stackable-window.h
613 * src/hildon-stackable-window.c
614 (+hildon_stackable_window_set_app_menu)
615 (+hildon_stackable_window_get_app_menu)
616 (hildon_stackable_window_set_main_menu): Created
617 hildon_stackable_window_{get,set}_app_menu() and deprecated
618 hildon_stackable_window_set_main_menu().
620 * doc/hildon-sections.txt
621 * examples/hildon-app-menu-example.c (main)
622 * src/hildon-app-menu.c
623 * src/hildon-program.c:
624 Updated examples and documentation.
626 Fixes: NB#103758 (No way to obtain a menu from a
627 HildonStackableWindow)
629 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
634 * configure.ac: Bump version.
635 * debian/changelog: Updates.
637 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
639 * examples/hildon-remote-texture-example.c: Include
640 hildon-remote-texture.h explicitely.
641 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
642 applications not defining _XOPEN_SOURCE which don't require this header.
644 2009-02-27 Alberto Garcia <agarcia@igalia.com>
646 * doc/hildon-sections.txt
647 * src/hildon-app-menu.h
648 * src/hildon-app-menu.c (+hildon_app_menu_popup):
649 New function to pop up a HildonAppMenu
651 * src/hildon-stackable-window.c
652 (hildon_stackable_window_toggle_menu):
653 Use hildon_app_menu_popup() to show the menu.
655 2009-02-27 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-app-menu.c (hildon_app_menu_show)
658 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
659 menu if there's another window between it and its parent window.
661 Fixes: NB#100468 (Application menu window is launched even when a
662 new secondary-window/dialog is pending to be shown/realized)
664 2009-02-27 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-window-stack.c (hildon_window_stack_push)
667 (hildon_window_stack_pop_and_push):
668 Don't forget to push/pop the first window.
669 Reverse the window list before calling _push_list()
671 2009-02-27 Alberto Garcia <agarcia@igalia.com>
673 * src/hildon-picker-button.h
674 * src/hildon-picker-button.c (hildon_picker_button_class_init):
675 Remove "value_changed" slot to avoid ABI breakage
677 2009-02-26 Alejandro G. Castro <alex@igalia.com>
679 * src/hildon-pannable-area.c,
680 (hildon_pannable_area_realize),
681 (hildon_pannable_area_unrealize),
682 (hildon_pannable_draw_vscroll),
683 (hildon_pannable_draw_hscroll): Changed the method to handle the
684 GC used to draw the transparent scrollbar, this way we avoid
685 creating the GC all the time when drawing the scrollbars.
687 2009-02-26 Alejandro G. Castro <alex@igalia.com>
689 * src/hildon-pannable-area.c,
690 (hildon_pannable_area_init),
691 (hildon_pannable_area_remove): Removed some unnecessary casts.
692 (hildon_pannable_area_dispose): Disconnected some signals before
693 releasing the adjustments.
695 2009-02-26 Alberto Garcia <agarcia@igalia.com>
697 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
698 Make sure that all widgets contained in the toolbar are shown.
700 2009-02-25 Alberto Garcia <agarcia@igalia.com>
702 * doc/hildon-sections.txt
703 * src/hildon-picker-button.h
704 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
705 (_selection_changed, hildon_picker_button_on_dialog_response)
706 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
707 New hildon_picker_button_value_changed() method.
710 * src/hildon-picker-button-private.h
711 * src/hildon-picker-button.c (hildon_picker_button_init)
712 (+hildon_picker_button_disable_value_changed): Add protected
713 function for disabling the "value-changed" signal.
715 * src/hildon-date-button.c (hildon_date_button_set_date):
716 Don't emit "value-changed" for each one of the three columns.
718 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
719 before actual change of values)
721 2009-02-24 Alejandro G. Castro <alex@igalia.com>
723 * src/hildon-pannable-area.c,
724 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
725 for the treeview overshooting.
727 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
729 * src/hildon-banner.c (+hildon_banner_bind_style):
730 Renamed from hildon_banner_bind_label_style(), now naming the
731 banner itself as well.
732 (hildon_banner_show_information),
733 (hildon_banner_show_information_with_markup),
734 (hildon_banner_show_animation), (hildon_banner_show_progress):
735 Name the widgets and labels, based on their type.
737 See NB#98597 (Hildon Note and Hildon Banner should use themeable
740 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
742 * src/hildon-note.c (hildon_note_set_property): call
743 hildon_note_rename() on HildonNote:note-type set.
744 (hildon_note_rename): Name the note and its label, based on the
745 HildonNote:note-type property.
747 See NB#98597 (Hildon Note and Hildon Banner should use themeable
750 2009-02-24 Alejandro G. Castro <alex@igalia.com>
752 * src/hildon-pannable-area.c,
753 (hildon_pannable_area_class_init),
754 (hildon_pannable_area_motion_notify_cb): Reviewed the default
755 panning parameters, increased SPS and deceleration factor. Added
756 also a margin to control fake directions.
758 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
760 Patch by Sven Herzberg (sven@imendio.com)
762 * configure.ac: Add missing AM_PROG_CC_C_0
763 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
765 See NB#101420 (Update unit tests and fix make check)
767 2009-02-23 Alejandro G. Castro <alex@igalia.com>
769 This patch was applied before but reverted because it caused
770 problems, we have changed the main condition and tested the
771 regressions we detected before and they work ok. We have done a
772 complete review of the topmost algorithm in order to get a more
775 * src/hildon-pannable-area.c,
776 (hildon_pannable_area_get_topmost): Added a new parameter to
777 filter the the windows that do not include those events.
778 (hildon_pannable_area_button_press_cb),
779 (hildon_pannable_area_button_release_cb),
780 (hildon_pannable_get_child_widget_at): Reviewed the call the the
781 topmost function, we have added the new parameter.
783 Fixes: NB#97458 (Pannable area prevents propagation of button
786 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
788 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
789 if all columns in the selector have an item selected.
790 (_on_dialog_response): Stop "response" signal emission if there is
791 any selector column without selected items.
793 Fixes: NB#101889 (Picker dialog should not close when nothing is
794 selected in multiple selection list)
796 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
798 * src/hildon-font-selection-dialog.c
799 (hildon_font_selection_dialog_class_init),
800 (hildon_font_selection_dialog_init): Remove the preview
801 button and dialog, since previewing with default theming is likely
802 to be overcomplicated. The :preview property has now no effect.
803 Update documentation blurbs to inform about this.
805 Fixes: NB#92297 (Preview content is not clearly visible for
808 2009-02-20 Alejandro G. Castro <alex@igalia.com>
810 Reviewed the geometry that handles the children size and
811 scrollbar, now it tries a size and reviews the results depending
812 on the scrollbars visibility.
814 * src/hildon-pannable-area.c,
815 (hildon_pannable_area_realize): Fixed a typo.
816 (hildon_pannable_area_child_allocate_calculate): Added this
817 function to calculate the child allocation.
818 (hildon_pannable_area_size_allocate): Reviewed the allocation
820 (hildon_pannable_area_check_scrollbars),
821 (hildon_pannable_area_refresh): Refactored refresh function, this
822 way we can call the code handling the scrollbars without causing a
823 size_request, it is interesting in the allocate.
824 (hildon_pannable_area_init): Replace the callbacks of the
825 value_changed and changed signals to propertly deal with the
827 (hildon_pannable_area_grab_notify),
828 (hildon_pannable_area_initial_effect),
829 (hildon_pannable_area_launch_fade_timeout),
830 (hildon_pannable_area_adjust_changed),
831 (hildon_pannable_area_adjust_value_changed),
832 (hildon_pannable_area_redraw),
833 (hildon_pannable_area_button_press_cb),
834 (hildon_pannable_area_button_release_cb),
835 (hildon_pannable_area_scroll_cb),
836 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
837 code and use the new functions adjust_changed and
838 adjust_value_changed.
840 Fixes: NB#101603 (Focus is not even for the text entry boxes in
841 Contact editor dialog)
843 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
848 * configure.ac: Bump version.
849 * debian/changelog: Updates.
851 2009-02-20 Alejandro G. Castro <alex@igalia.com>
853 * src/hildon-pannable-area.c,
854 (hildon_pannable_area_get_topmost),
855 (hildon_pannable_area_button_press_cb),
856 (hildon_pannable_area_button_release_cb),
857 (hildon_pannable_get_child_widget_at): Reverted the patch for the
858 topmost function adding the event mask. We have to try a
859 differente approach because it is still causing problems (NB#9745,
862 2009-02-19 Alberto Garcia <agarcia@igalia.com>
864 * src/hildon-banner.c:
865 Update the maximum width of timed banners.
866 (force_to_wrap_truncated): Enforce the maximum text width if the
869 Fixes: NB#102413 (The text margins (wrapping) in information
870 banner should be HILDON_MARGIN_TRIPLE)
872 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
874 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
876 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
877 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
878 bound when calculating the scroll indicator position.
880 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
881 treat ->lower correctly)
883 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
885 * src/hildon-caption.c (hildon_caption_class_init): Remove the
886 expose event handling, since it is not necessary to draw the focus
889 Fixes: NB#102467 (Do not show highlight on the text in
892 2009-02-18 Alberto Garcia <agarcia@igalia.com>
894 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
895 full height of the toolbar for the button and the label.
897 2009-02-18 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
900 padding before the label and after the button.
902 2009-02-18 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
906 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
907 Add a GtkVSeparator between the button and the back arrow.
908 Let the button have automatic size.
909 Set a name to the widget for theming handling.
911 Fixes: NB#101793 (Make edit toolbar the same height as window
912 title bar (use title area theming))
914 2009-02-18 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-helper.c (attach_new_color_element): Fix memory
919 Fixes: NB#102262 (memory leak in hildon_button_set_style())
921 2009-02-18 Alberto Garcia <agarcia@igalia.com>
923 * examples/hildon-button-example.c (common_buttons_window): Don't
926 2009-02-18 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
929 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
931 2009-02-18 Alberto Garcia <agarcia@igalia.com>
933 * src/hildon-gtk.c: Check that the window is realized.
935 Fixes: NB#102225 (Crash setting the progress indicator to a non
938 2009-02-17 Alberto Garcia <agarcia@igalia.com>
940 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
941 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
942 instead of modifying the one in the widget style.
944 Fixes: NB#101043 (Second row of all the command button are
945 displayed in transparent mode.)
947 2009-02-17 Alberto Garcia <agarcia@igalia.com>
949 * src/hildon-date-button.c
950 * src/hildon-time-button.c: Add gettext macros
952 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
954 * src/hildon-date-button.c (hildon_date_button_new):
955 * src/hildon-time-button.c (hildon_time_button_new_step):
956 Use new logical strings to set the button default title.
958 Fixes: NB#99915 (Date and Time options are not localised in Date
961 2009-02-16 Alejandro G. Castro <alex@igalia.com>
963 * src/hildon-pannable-area.c
964 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
965 the PANNING_THRESHOLD.
967 2009-02-16 Alejandro G. Castro <alex@igalia.com>
969 * src/hildon-pannable-area.c,
970 (hildon_pannable_area_class_init): Increased the maximum speed.
971 (hildon_pannable_area_get_property),
972 (hildon_pannable_area_set_property),
973 (hildon_pannable_area_timeout): Added a new low friction mode, it
974 allows the user avoid friction when launching the widget fast
975 enough. It is interesting to traverse long lists.
977 2009-02-16 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
980 (+hildon_stackable_window_delete_event): Ignore delete events if
981 the window is not the topmost one.
983 Fixes: NB#101698 (Back button long press and delete-event handling)
985 2009-02-16 Alejandro G. Castro <alex@igalia.com>
987 * src/hildon-pannable-area.c,
988 (hildon_pannable_area_motion_notify_cb): Removed the use of the
989 gtk-dnd-drag-threshold, it was too big. We have defined our own
990 dnd define and set a smaller value: PANNIG_THRESHOLD.
992 2009-02-16 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
995 user-defined icons, use always the default one.
997 Fixes: NB#101916 (Do not allow custom icons on animation banner)
999 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1001 This patch was applied before but reverted because it caused
1002 problems, we have changed the main condition and tested the
1003 regressions we detected before and they work ok.
1005 * src/hildon-pannable-area.c,
1006 (hildon_pannable_area_get_topmost): Added a new parameter to
1007 filter the the windows that do not include those events. Added
1008 also a condition when finding the window to filter windows that do
1009 not ask for those events.
1010 (hildon_pannable_area_button_press_cb),
1011 (hildon_pannable_area_button_release_cb),
1012 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1013 topmost function, we have added the new parameter.
1015 Fixes: NB#97458 (Pannable area prevents propagation of button
1018 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1020 * tests/check-hildon-color-button.c (START_TEST): do not leak
1023 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1025 * src/hildon-font-selection-dialog.c
1026 (hildon_font_selection_dialog_get_preview_text): Return NULL
1027 instead of FALSE on the g_return_val_if_fail().
1029 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1031 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1032 * src/hildon-date-selector.c
1033 (hildon_date_selector_select_current_date):
1034 Do not compare unsigned integers to be greater than or equal 0,
1035 because it's always TRUE.
1037 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1039 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1040 (hildon_date_selector_constructor): Do not select the current
1041 date until we are handle the "changed" signal, to avoid having bogus
1042 elements in the days model.
1044 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1046 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1047 for num_days, since _month_days() can return a negative value.
1049 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1051 * src/hildon-caption.c (hildon_caption_size_allocate):
1052 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1053 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1055 Initialize allocation variables to 0, to avoid eventually using
1056 unitialized variables.
1058 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1060 * src/hildon-bread-crumb-trail.c
1061 (hildon_bread_crumb_trail_size_allocate):
1062 * src/hildon-calendar.c (hildon_calendar_set_background):
1063 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1064 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1065 * src/hildon-seekbar.c (hildon_seekbar_init):
1066 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1067 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1068 * src/hildon-touch-selector-entry.c
1069 (hildon_touch_selector_get_text_from_model):
1070 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1071 * src/hildon-window.c (hildon_window_finalize):
1073 Remove many unused variables.
1075 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1077 * src/hildon-seekbar.c: (hildon_seekbar_init),
1078 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1080 Remove unnecessary g_assert() calls.
1082 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1084 * src/hildon-caption.c: (hildon_caption_expose),
1085 (hildon_caption_set_property), (hildon_caption_init),
1086 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1087 (hildon_caption_size_request), (hildon_caption_size_allocate),
1088 (hildon_caption_forall), (hildon_caption_set_separator),
1089 (hildon_caption_activate), (hildon_caption_set_child_expand),
1090 (hildon_caption_set_label_text),
1091 (hildon_caption_get_label_alignment):
1093 Remove unnecessary g_assert() calls.
1095 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1097 * src/hildon-banner.c
1098 (hildon_banner_map, hildon_banner_init): Make banner temporary
1099 before mapping it to avoid closing other temporary windows, but
1100 make it non-temporary afterwards to avoid being closed by other
1101 non-temporary windows.
1102 (-hildon_banner_client_event, hildon_banner_init):
1103 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1105 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1108 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1110 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1113 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1115 * src/hildon-remote-texture.c
1116 * src/hildon-remote-texture.h
1117 * src/hildon-remote-texture-private.h
1118 * examples/hildon-remote-texture-example.c:
1119 Updates/fixes to remote-texture and its example.
1121 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1123 Patch by Mox Soini (ext-mox.soini@nokia.com)
1125 * src/hildon-code-dialog.c: Update logical id.
1126 * src/hildon-set-password-dialog.c: Update logical id.
1128 Fixes: NB#100646 (Logical strings is shown for ok in set
1129 password,Password needed dialogs)
1131 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1134 * src/hildon-remote-texture.c
1135 * src/hildon-remote-texture.h
1136 * src/hildon-remote-texture-private.h
1138 Added remote texture widget (for Clutter shared memory textures)
1140 * examples/hildon-remote-texture-example.c
1141 * examples/Makefile.am
1142 Added example file for remote texture usage
1144 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1146 * configure.ac: post release version bump.
1147 * debian/changelog: version bump.
1149 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1154 * configure.ac: Bump version.
1155 * debian/changelog: Updates.
1157 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1159 * src/hildon-date-selector.c (hildon_date_selector_init)
1160 (hildon_date_selector_constructor): Don't connect to the "changed"
1161 signal until the selector is completely constructed.
1163 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1165 * src/hildon-touch-selector.c: (_create_new_column),
1166 (hildon_touch_selector_append_column),
1167 (hildon_touch_selector_set_column_selection_mode),
1168 (hildon_touch_selector_set_active),
1169 (hildon_touch_selector_select_iter):
1170 Emit the HildonTouchSelector::changed signal every time selection
1171 is changed in any of the methods above. This behavior was already
1172 documented but not fully functional.
1174 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1175 selection is programmatically changed)
1177 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1179 * doc/hildon-sections.txt: Remove obsolete icon
1180 sizes from here as well.
1182 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1184 * examples/hildon-stackable-window-example.c (add_window): Remove
1187 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1189 * src/hildon-app-menu.c
1190 (hildon_app_menu_show): Check whether the parent window of a menu
1191 is topmost before popping it up.
1193 Fixes: NB#100468 (Application menu window is launched even when a
1194 new secondary-window/dialog is pending to be shown/realized.)
1196 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1198 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1201 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1203 Patch by Mox Soini (ext-mox.soini@nokia.com)
1205 * src/hildon-banner.c: (hildon_banner_show_animation):
1206 use stylus size instead of obsolete note size.
1207 * src/hildon-defines.h: Update icon sizes.
1209 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1211 * src/hildon-touch-selector-entry.c:
1212 (hildon_touch_selector_entry_init): Disable unsupported
1214 (hildon_touch_selector_entry_get_text_column): Emit a warning
1215 if an unsupported input modes is used and explicitile state
1216 these modes in the documentation.
1218 Fixes: NB#99802 (Hildon touch selector entry not working properly
1219 for some of the input modes)
1221 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1223 * src/hildon-pannable-area.c,
1224 (hildon_pannable_area_init): Added the changed signal handlers of
1227 Fixes: NB#100320 (HildonPannableArea does not listen to
1228 GtkAdjustment "change" signals)
1230 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1232 * doc/hildon-sections.txt
1233 * src/hildon-window-private.h
1234 * src/hildon-window.h
1235 * src/hildon-window.c (hildon_window_init)
1236 (hildon_window_realize, hildon_window_unrealize)
1237 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1238 (hildon_window_size_request, hildon_window_size_allocate)
1239 (hildon_window_forall, hildon_window_show_all)
1240 (hildon_window_destroy, +paint_edit_toolbar)
1241 (+hildon_window_set_edit_toolbar):
1242 New hildon_window_set_edit_toolbar() method, to add a
1243 HildonEditToolbar to a window without having to pack it manually.
1245 Reorganize hildon_window_size_allocate()
1247 * src/hildon-edit-toolbar.c: Update documentation.
1249 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1250 example to use the new API.
1252 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1254 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1257 Remove from stack before calling parent's hide.
1259 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1261 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1262 window is removed from the middle of the stack, update the
1263 transiency of the previous one.
1265 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1268 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1270 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1271 block/unblock the signal handler if it's not actually being used.
1272 Fixes some critical warnings.
1274 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1276 Based on a patch by Iván Gómez (igomez@igalia.com)
1278 * src/hildon-banner.c
1282 * src/hildon-pannable-area.c
1283 * src/hildon-picker-dialog.c
1284 * src/hildon-wizard-dialog.h
1285 * src/hildon-wizard-dialog.c: Documentation updates.
1287 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1288 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1290 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1292 * configure.ac: post release version bump.
1293 * debian/changelog: version bump.
1295 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1300 * configure.ac: Bump version.
1301 * debian/changelog: Updates.
1303 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1305 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1306 a stock icon nor change the relief of the back arrow.
1308 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1309 graphics from theme)
1311 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-button.c (hildon_button_set_alignment): Use
1314 priv->alignment if the button has no child yet.
1316 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1318 * src/hildon-button.c: (hildon_button_init): Set the
1319 button style during initialization to give it the proper
1322 Fixes: NB#99713 (HildonButton value label color is wrong)
1324 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1326 * src/hildon-touch-selector.c: Document
1327 hildon_touch_selector_center_on_selected()
1329 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1332 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1333 all menu items, but not the menu itself.
1334 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1335 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1336 items after adding them to the menu so keyboard accelerators work.
1337 (hildon_app_menu_show): Don't show the menu if it contains items
1338 but none of them are visible.
1340 * examples/hildon-app-menu-example.c (create_menu): Use
1341 gtk_widget_show_all() to show all menu items.
1343 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1345 * src/hildon-picker-dialog.c:
1346 (-_update_title_on_selector_changed_cb),
1347 (-_dialog_update_title): Removed.
1348 (_select_on_selector_changed_cb), (_on_dialog_response),
1349 (on_selector_columns_changed): Do not update the dialog title.
1350 (setup_interaction_mode): Do not connect to
1351 HildonTouchSelector::changed signal if there's a "done" button, as
1352 the dialog title doesn't need to be updated.
1354 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1357 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1359 Patch by Kristian Rietveld (kris@imendio.com)
1361 * src/hildon-touch-selector.c: (_create_new_column): Use new
1362 GtkTreeView::hildon-row-tapped signal to react to user interactions
1363 instead of ::changed.
1365 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1366 with some dynamic tree model)
1368 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1370 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1371 (+screen_size_changed, +label_size_request)
1372 (hildon_note_class_init): Make the Hildon information note have a
1373 minimum height, and make its text hvae a maximum width.
1375 Fixes: NB#98614 (Hildon information note (background) should have
1376 minimum height and maximum text width)
1378 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1380 * src/hildon-banner.h
1381 * src/hildon-banner.c (hildon_banner_show_information)
1382 (hildon_banner_show_informationf)
1383 (hildon_banner_show_information_with_markup): Update documentation
1384 to reflect that the icon_name parameter is not used anymore.
1385 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1386 Remove all code from these functions and mark them as deprecated.
1387 (hildon_banner_show_progress): Mark as deprecated.
1389 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1391 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1393 * src/hildon-pannable-area.c,
1394 (hildon_pannable_area_class_init),
1395 (tranparency_color),
1396 (hildon_pannable_draw_vscroll),
1397 (hildon_pannable_draw_hscroll),
1398 (hildon_pannable_area_expose_event): Added a new way to render the
1399 scrollbars of the pannable area avoiding using cairo at all. This
1400 way we improve the performance of the pannable area rendering. The
1401 cairo rendering procedure is still in the code, we can control
1402 which one to use changing the value of the define
1403 USE_CAIRO_SCROLLBARS.
1405 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1407 * configure.ac: post release version bump.
1408 * debian/changelog: version bump.
1410 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1415 * configure.ac: Bump version.
1416 * debian/changelog: Updates.
1418 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1421 banners instead of destroying them when they receive a button
1424 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1426 Reverted commit 34028, it was causing regressions, probably the
1427 topmost condition is not correct, we have to check it in more
1428 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1429 propagation of button press events)
1431 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1433 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1434 that the selection is not empty before attempting to retrieve the
1435 current ampm selection.
1437 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1439 * src/hildon-picker-button.c:
1440 (hildon_picker_button_on_dialog_response): Directly update the
1441 button contents when required instead of calling _selection_changed.
1443 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1445 * src/hildon-program.c (hildon_program_update_top_most): Update
1446 'is-topmost' property also when wm_hints is not set.
1448 Fixes: NB#98383 (is-topmost signal is not emitted when task
1449 switcher is clicked.)
1451 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1453 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1457 * src/hildon-animation-actor.c,
1458 * src/hildon-animation-actor.h: Added the animation actor class,
1459 this widget represents an animation actor for WM-assisted
1460 animation effects in the Hildon framework.
1462 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1464 * src/hildon-window-stack-private.h
1465 * src/hildon-window-stack.c
1466 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1467 Avoid calling gtk_widget_show() again indirectly from
1468 hildon_stackable_window_show()
1470 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1472 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1475 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1477 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1478 (hildon_time_selector_init): Move the construction of the hours and
1479 ampm columns to the constructor to preserve the order the columns
1482 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1484 * src/hildon-picker-dialog.c:
1485 (hildon_picker_dialog_class_init): Connect a realize method.
1486 (+hildon_picker_dialog_realize): Setup the interaction mode here
1488 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1489 yet, do it during the realize instead.
1490 (_on_dialog_response):
1491 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1492 if the widget is not realized, to avoid the dialog response before it
1495 Avoid premature responses in the HildonPickerDialog that can cause it
1496 to be hidden before it's even shown.
1498 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1500 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1501 (on_selector_columns_changed), (requires_done_button),
1502 (+prepare_action_area), (setup_interaction_mode),
1503 (_hildon_picker_dialog_set_selector):
1505 Split the interaction mode setup into preparation of the
1506 action area (prepare_action_area()) and the connection of
1507 the signals in setup_interaction_mode() and update the code to
1510 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1512 * src/hildon-pannable-area.c,
1513 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1514 per second to 15, we will check if this is ok regarding
1517 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1519 * src/hildon-pannable-area.c,
1520 (hildon_pannable_axis_scroll): Avoid resize if we already have
1521 reached overshoot_max.
1523 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1525 * src/hildon-pannable-area.c,
1526 (hildon_pannable_area_init),
1527 (hildon_pannable_area_realize),
1528 (hildon_pannable_area_size_allocate),
1529 (hildon_pannable_area_map),
1530 (hildon_pannable_area_unmap),
1531 (hildon_pannable_draw_vscroll),
1532 (hildon_pannable_draw_hscroll),
1533 (hildon_pannable_area_expose_event),
1534 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1535 pannable are to avoid the expose events go to the window and
1536 redraw the window. We save this way that part of the stack and the
1537 paint_boxes. We had to change the positions of the elements when
1540 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1542 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1543 * src/hildon-color-chooser-dialog.c:
1544 (hildon_color_chooser_dialog_init):
1545 * src/hildon-font-selection-dialog.c:
1546 (hildon_font_selection_dialog_init),
1547 (hildon_font_selection_dialog_show_preview):
1548 * src/hildon-get-password-dialog.c:
1549 * src/hildon-login-dialog.c:
1550 * src/hildon-set-password-dialog.c:
1551 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1552 * src/hildon-time-picker.c: (hildon_time_picker_init):
1554 Remove obsolete logical string IDs and update to the appropriate ones.
1556 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1558 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1560 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1561 that happens if the window hasn't been realized yet.
1563 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1564 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1566 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1568 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1569 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1572 Fixes: NB#98537 (Device hangs in account settings dialog)
1574 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1576 * configure.ac: post release version bump.
1577 * debian/changelog: version bump
1579 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1584 * configure.ac: Bump version.
1585 * debian/changelog: Updates.
1587 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1589 Added a new function to the HildonTimeButton widget that allows to
1590 change the step of the minutes in the selector associated with the
1591 button: hildon_time_button_new_step
1593 * src/hildon-time-button.c,
1594 (hildon_time_button_init),
1595 (hildon_time_button_new),
1596 (hildon_time_button_new_step):
1597 * src/hildon-time-button.h: Added the new function and refactored
1599 * examples/hildon-time-button-example.c,
1600 (main): We have replaced the function without parameters with the
1601 function with the steps set to 5
1603 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1605 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1607 * src/hildon-time-selector.c,
1608 (hildon_time_selector_class_init),
1609 (hildon_time_selector_constructor),
1610 (hildon_time_selector_get_property),
1611 (hildon_time_selector_set_property),
1612 (_create_minutes_model),
1613 (hildon_time_selector_new_step),
1614 (hildon_time_selector_set_time),
1615 * src/hildon-time-selector.h: Added a new property to the
1616 HildonTimeSelector (minutes-step), we use that property to control
1617 the steps between the minutes in the list of the selector. We have
1618 added a new function to the API to create a widget changing the
1619 step: hildon_time_selector_new_step.
1621 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1623 * src/hildon-time-selector.c,
1624 (hildon_time_selector_class_init),
1625 (hildon_time_selector_constructor),
1626 (hildon_time_selector_init): Overrided the construct function when
1627 creating the time selector object. We have moved the minutes model
1628 handling code from the init to the new construction function:
1629 hildon_time_selector_constructor.
1631 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1633 * examples/hildon-date-button-example.c: (main): Use the new
1634 hildon_date_button_new_with_year_range() method in the example.
1635 * src/hildon-date-button.c:
1636 (+hildon_date_button_new_with_year_range): New public method
1637 to conveniently create a HildonDateButton with a custom year range
1638 in its HildonDateSelector.
1639 * src/hildon-date-button.h: Add the new public method definition.
1641 Fixes: NB#97908 (Not possible to change the year range in
1642 HildonDateSelector/HildonDateButton)
1644 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1646 * src/hildon-date-selector.c:
1647 (+hildon_date_selector_set_property),
1648 (+hildon_date_selector_get_property),
1649 (hildon_date_selector_class_init): Install new properties "min-year"
1650 and "max-year" to define boundaries for the year column.
1651 (_create_year_model): Use the boundary properties to populate the model.
1652 (+hildon_date_selector_new_with_year_range): New public method to
1653 create a HildonDateSelector with a user defined year range.
1654 (hildon_date_selector_select_current_date): Use the new boundaries to
1655 calculate the iterator of current year.
1656 * src/hildon-date-selector.h: Add the new public method definition.
1658 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1661 Install a constructor method.
1662 (+hildon_date_selector_construct_ui): construct the widget.
1663 (+hildon_date_selector_constructor): new constructor.
1664 (+hildon_date_selector_init): move out widget construction code to
1665 the new constructor.
1667 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1669 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1670 that there's actually a month or year selected before obtaining them.
1671 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1672 of the HildonTouchSelector::changed signal, as it was emitted on every
1673 single item selection.
1675 Fix some warnings and possible crashers due to the selection restoring.
1677 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1679 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1680 the signal handlers only after creating the dialog instead of on every
1683 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1685 * src/hildon-button.c (hildon_button_init)
1686 * src/hildon-check-button.c (hildon_check_button_init)
1687 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1688 focus when clicked by default.
1690 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1692 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1695 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1697 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1698 Alejandro G. Castro (alex@igalia.com)
1700 * src/hildon-picker-dialog.c:
1701 (hildon_picker_dialog_class_init): install new "center-on-show"
1703 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1704 (hildon_picker_dialog_set_property): add setter code for the new
1706 (hildon_picker_dialog_get_property): add getter code for the new
1708 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1709 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1712 Fixes: NB#92849 (Selected item is not always visible when
1713 HildonTouchSelector is shown)
1715 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1717 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1718 Alejandro G. Castro (alex@igalia.com)
1720 * src/hildon-touch-selector.c:
1721 (_create_new_column): Do not connect to the "realize" signal of the
1723 (hildon_touch_selector_append_column): center on the selected items
1724 when a new column is appended.
1725 (hildon_touch_selector_select_iter): Factor out the code to select a
1726 column to hildon_touch_selector_scroll_to().
1727 (+search_nearest_element): Method to retrieve the nearest selected
1728 element to the visible area of the pannable area in a column.
1729 (+on_realize_cb): scroll to the initially selected item.
1730 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1731 the pannable area is realized, otherwise delay this until it is.
1732 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1733 selected items of a given column.
1734 (+hildon_touch_selector_center_on_selected): Public method to center
1735 all columns on the nearest selected item.
1736 * src/hildon-touch-selector.h: Add definition for
1737 hildon_touch_selector_center_on_selected().
1739 Implement public API to ensure visibility of all selected items in
1740 a HildonTouchSelector.
1742 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1744 Fixed a problem in the fading when calling the scroll_to API, and
1745 improve scrollbar fading handling.
1747 * src/hildon-pannable-area.c,
1748 (hildon_pannable_area_grab_notify): avoid the timeout when the
1750 (hildon_pannable_area_button_press_cb),
1751 (hildon_pannable_area_motion_notify_cb): Code style changes.
1752 (hildon_pannable_area_button_release_cb): Review the conditions
1753 when releasing the mouse button to avoid unrequired fading
1755 (hildon_pannable_area_scroll_to): Do not calculate and set the
1756 velocity if the scroll is not required.
1758 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1761 Don't check whether the new selector is NULL: it cannot be.
1762 Hold a reference to the selector while doing the replacement.
1764 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1767 unnecessary size_request in a removed widget.
1769 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1772 an unnecessary reference tracking that was leaking.
1774 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1776 Added delayed motion notify event handling, this way we can
1777 discard redrawing if more than 25 events arrive per second.
1779 * src/hildon-pannable-area.c,
1780 (hildon_pannable_area_init): Initialized the new private atributes
1781 controlling this timeout
1782 (hildon_pannable_area_dispose): Remove the timeout that controls
1783 the motion notify events.
1784 (hildon_pannable_area_scroll): Added a condition to control the
1785 use of the acceleration.
1786 (hildon_pannable_area_motion_event_scroll_timeout),
1787 (hildon_pannable_area_motion_event_scroll): Added this two
1788 functions, they handle the motion notify events inside the
1790 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1791 to the scroll method with the new function.
1792 (hildon_pannable_area_button_release_cb): We have to remove the
1793 timeout handler and move to the last position if the last motion
1794 events were not handled.
1796 Fixes: NB#97028 (Pannable area updates on every motion event)
1798 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1800 * src/hildon-pannable-area.c,
1801 (hildon_pannable_area_get_topmost): Added a new parameter to
1802 filter the the windows that do not include those events. Added
1803 also a condition when finding the window to filter windows that do
1804 not ask for those events.
1805 (hildon_pannable_area_button_press_cb),
1806 (hildon_pannable_area_button_release_cb),
1807 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1808 topmost function, we have added the new parameter.
1810 Fixes: NB#97458 (Pannable area prevents propagation of button
1813 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1815 * src/hildon-pannable-area.c,
1816 (hildon_pannable_area_initial_effect): Added controls before
1817 launching the timeout and the idle functions.
1818 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1819 of the method, in some situations it can return with TRUE and 0 in
1821 (hildon_pannable_area_button_press_cb): We do not need to set
1822 DELAY for fading out here.
1824 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1826 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1828 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1829 post-cleaning if the selection is not NULL.
1831 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1833 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1834 all items before restoring the selection.
1836 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1838 * src/hildon-touch-selector.c:
1839 (+hildon_touch_selector_unselect_all):
1840 * src/hildon-touch-selector.h: New API to unselect all items in a
1841 column of the touch selector.
1843 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1845 * src/hildon-pannable-area.c,
1846 (hildon_pannable_area_redraw): Added a call to the refresh
1847 function inside the redraw because apparently in some cases the
1848 change in the adjustment does not imply a size allocate.
1850 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1851 despite the view not being scrollable)
1853 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1855 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1856 leak. Check for NULL before attempting to set the window title.
1858 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1860 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1861 whether to show or not the 'Done' button each time the dialog is
1862 shown, as it depends on the HildonTouchSelector selection mode.
1864 Fixes: NB#96226 (In multiple selection mode Done button is shown
1865 sometimes in listpicker)
1867 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1869 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1870 for the number of columns in the HildonTouchSelector more than once.
1872 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1874 * src/hildon-touch-selector.c: Minor documentation fixes.
1876 * src/hildon-picker-dialog.c (+_dialog_update_title)
1877 (_select_on_selector_changed_cb)
1878 (_update_title_on_selector_changed_cb)
1879 (on_selector_columns_changed): Update dialog title when there's no
1880 'Done' button and also when the number of columns in the selector
1884 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1885 (+_selection_changed, hildon_picker_button_on_dialog_response)
1886 (hildon_picker_button_selector_selection_changed)
1887 (+hildon_picker_button_selector_columns_changed)
1888 (hildon_picker_button_set_selector): Update button value and emit
1889 'value-changed' when the number of columns in the selector
1893 Fixes: NB#96225 (Dialog titles are not shown according to the
1894 values selected in the list picker)
1896 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1899 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1900 New "arrow-width" and "arrow-height" style properties to set the
1901 size of the arrow button.
1902 Set name of arrow button ("hildon-edit-toolbar-arrow").
1904 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1905 graphics from theme)
1907 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-picker-button.c:
1910 (hildon_picker_button_selector_selection_changed): Use
1911 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1912 the dialog is present.
1914 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1915 the selection is accepted in the dialog)
1917 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1919 * src/hildon-color-chooser.h
1920 * src/hildon-color-chooser-dialog.h:
1921 Added G_BEGIN_DECLS and G_END_DECLS
1923 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1925 (_clean_current_selection): plug a leak in the list.
1927 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-picker-dialog.c:
1930 (+free_path_list): Method to free a GList of GtkTreePaths.
1931 (_clean_current_selection), (_save_current_selection),
1932 (_restore_current_selection): Save the current selection in
1933 as a list of lists, to support multiple selection properly.
1935 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1937 patch by Claudio Saavedra (csaavedra@igalia.com)
1939 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1940 Store the press position.
1941 (+hildon_text_view_button_release_event): If the release position is
1942 close enough to the press position, move the cursor here. Otherwise,
1944 (hildon_text_view_class_init): Override GtkTextView press, release, and
1945 motion event handlers, disabling this way text selection through
1946 pointer interaction, and allowing the container widget to handle the
1949 Fixes: NB#95828 (HildonTextView functionality)
1951 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1953 Based on a patch by Iván Gómez (igomez@igalia.com)
1955 * src/hildon-button.[ch]
1956 * src/hildon-calendar.c
1957 * src/hildon-check-button.c
1958 * src/hildon-date-editor.c
1959 * src/hildon-date-selector.c
1960 * src/hildon-picker-button.c
1961 * src/hildon-time-editor.c
1962 * src/hildon-time-selector.c
1963 * src/hildon-touch-selector.[ch]:
1964 Documentation updates
1966 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1968 * src/hildon-pannable-area.c,
1969 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1970 threshold, it was required due to X events handling.
1972 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1974 * src/hildon-pannable-area.c,
1975 (hildon_pannable_area_grab_notify),
1976 (hildon_pannable_area_initial_effect),
1977 (hildon_pannable_area_button_press_cb),
1978 (hildon_pannable_area_button_release_cb),
1979 (hildon_pannable_area_scroll_cb),
1980 (hildon_pannable_area_scroll_to): Review the timeout management of
1981 the scrollbar, the frecuency was incorrectly set.
1983 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1985 * src/hildon-picker-button.c:
1986 (+hildon_picker_button_on_dialog_response),
1987 (hildon_picker_button_clicked): Present the dialog instead of
1988 running it with gtk_dialog_run().
1990 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1993 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1996 (hildon_app_menu_finalize): When a window is hidden it doesn't
1997 emit notify::is-topmost, so make sure than the menu also
1998 disappears in that case.
1999 (parent_window_topmost_notify): Renamed from parent_window_hidden
2001 Fixes: NB#94460 (stackable window's menu is not closed when its
2004 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2006 * src/hildon-touch-selector-entry.c:
2007 (+hildon_touch_selector_entry_set_input_mode),
2008 (+hildon_touch_selector_entry_get_input_mode):
2009 * src/hildon-touch-selector-entry.h: New methods to access the input
2010 mode in the selector's entry.
2012 Fixes: NB#93410 (API required for setting IM mode in
2013 HildonTouchSelectorEntry)
2015 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2017 * configure.ac: post release version bump.
2018 * debian/changelog: version bump
2020 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: Bump version.
2026 * debian/changelog: Updates.
2028 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2030 * src/hildon-touch-selector.c:
2031 (_hildon_touch_selector_has_multiple_selection): No need
2032 to initialize the variables here.
2034 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2036 * src/hildon-note-private.h
2037 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2038 (hildon_note_finalize, hildon_note_rebuild): Close information
2039 notes when they receive a button press.
2041 Fixes: NB#89890 (Information notes does not get disappeared after
2044 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2046 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2047 mark from the wizard title, as it's not really necessary. Also,
2048 do not display the page title if not set.
2050 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2052 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2053 (parent_window_hidden): Use the window's "is-topmost" property to
2054 detect when to hide the menu.
2056 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2058 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2059 (hildon_app_menu_finalize): If the parent window of the menu is
2060 hidden, hide the menu too.
2062 Fixes: NB#94460 (stackable window's menu is not closed when its
2065 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2068 * debian/libhildon1-examples.install
2070 * examples/Makefile.am:
2071 Use dh_install to install all examples.
2072 Use DEB_SRCDIR instead of defining SOURCE_DIR
2074 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2076 * configure.ac: post release version bump.
2077 * debian/changelog: version bump
2079 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2084 * configure.ac: bump version
2085 * debian/changelog: updates
2086 * debian/control: bump gtk+ dependency
2088 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2090 patch by Christian Dywan (christian@imendio.com)
2092 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2093 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2095 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2097 * src/hildon-check-button.c (hildon_check_button_init)
2098 (hildon_check_button_class_init, hildon_check_button_style_set)
2099 (hildon_check_button_apply_style):
2100 New "checkbox-size" style property.
2102 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2103 larger / configurable size)
2105 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2107 * configure.ac: post release version bump.
2108 * debian/changelog: version bump
2110 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2115 * configure.ac: bump version
2116 * debian/changelog: updates
2118 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2120 * doc/hildon-sections.txt
2121 * src/hildon-pannable-area.c
2122 * src/hildon-program.c
2123 * src/hildon-time-editor.c
2124 * src/hildon-touch-selector-entry.c:
2126 More documentation updates.
2128 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2130 * doc/hildon-sections.txt
2131 * src/hildon-caption.c
2132 * src/hildon-code-dialog.c
2133 * src/hildon-color-button.c
2134 * src/hildon-controlbar.c
2135 * src/hildon-date-editor.c
2136 * src/hildon-date-selector.c
2137 * src/hildon-edit-toolbar.c
2138 * src/hildon-find-toolbar.c
2139 * src/hildon-font-selection-dialog.c
2141 * src/hildon-program.c
2142 * src/hildon-range-editor.c
2143 * src/hildon-seekbar.c
2144 * src/hildon-time-editor.c
2145 * src/hildon-time-selector.c
2146 * src/hildon-volumebar-range.c
2147 * src/hildon-volumebar.c
2148 * src/hildon-vvolumebar.c
2149 * src/hildon-weekday-picker.c
2150 * src/hildon-window.c
2151 * src/hildon-wizard-dialog.c:
2153 Lots of documentation fixes.
2155 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2157 Patch contributed by Iván Gómez (igomez@igalia.com)
2159 * src/hildon-check-button.c:
2160 * src/hildon-date-button.c:
2161 * src/hildon-date-selector.c:
2162 * src/hildon-dialog.c:
2163 * src/hildon-edit-toolbar.c:
2164 * src/hildon-entry.c:
2165 * src/hildon-picker-button.c:
2166 * src/hildon-program.c:
2167 * src/hildon-text-view.c:
2168 * src/hildon-time-button.c:
2169 * src/hildon-touch-selector-entry.c:
2170 * src/hildon-window-stack.c:
2172 Add more "since" tags to the new API.
2174 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2176 * doc/hildon-sections.txt: Add below method.
2177 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2178 version for the hildonized scale.
2179 * src/hildon-gtk.h: Add the definition.
2181 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2183 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2185 * doc/hildon-sections.txt: Add missing entries for new methods.
2187 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2189 Added API to pannable are in order to get its adjustments. We
2190 added two properties to manage the values we had in the private
2193 * src/hildon-pannable-area.c:
2194 (hildon_pannable_area_class_init): Added hadjustment and
2195 vadjustment properties in order to expose horizontal and vertical
2197 (hildon_pannable_area_get_property),
2198 (hildon_pannable_area_set_property): Added code to handle the new
2200 (hildon_pannable_area_get_hadjustment),
2201 (hildon_pannable_area_get_vadjustment): API functions to get the
2203 * src/hildon-pannable-area.h:
2204 (hildon_pannable_area_get_hadjustment),
2205 (hildon_pannable_area_get_vadjustment): API functions to get the
2208 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2210 Fixed some leaks, after valgrinding.
2212 * src/hildon-touch-selector.c:
2213 (_default_print_func): Fixed a leak.
2214 (hildon_touch_selector_append_column): Fixed a leak.
2215 * src/hildon-date-button.c:
2216 (hildon_date_button_init): Fixed a leak.
2217 * src/hildon-date-selector.c
2218 (hildon_date_selector_finalize): Fixed a leak.
2220 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2222 Based on a patch by Christian Dywan (christian@imendio.com)
2224 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2226 * src/hildon-gtk.h: Add definition.
2228 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2230 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2232 * src/hildon-picker-button.c: (hildon_picker_button_init),
2233 (hildon_picker_button_new): Set the HildonButton::style property
2234 in the init method, to propagate the value to the derived classes.
2236 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2238 * src/hildon-button.c: (hildon_button_class_init): Do not make
2239 the "style" property a construct property.
2241 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2243 * src/hildon-wizard-dialog.h
2244 * src/hildon-wizard-dialog.c
2245 (hildon_wizard_dialog_set_forward_page_func)
2246 * src/hildon-pannable-area.h
2247 * src/hildon-pannable-area.c
2248 (hildon_pannable_area_set_size_request_policy):
2249 Documentation fixes.
2251 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2253 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2255 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2257 * doc/hildon-sections.txt: Added sections file.
2259 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/*.[ch]: Updates.
2264 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2266 * examples/hildon-progress-indicator-example.c: new file
2267 * examples/Makefile.am: include the new example program
2269 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2273 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2275 * configure.ac: post release version bump
2276 * debian/changelog: version bump
2278 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2283 * configure.ac: bump version
2284 * debian/changelog: updates
2285 * debian/control: bump gtk+ dependency
2287 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/hildon-dialog.c: Mark as deprecated.
2290 * src/hildon-dialog.h: Mark as deprecated.
2291 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2292 from HildonDialog and still work, even if
2293 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2294 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2296 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2297 maemo changes) instead)
2299 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2301 * src/hildon-pannable_area.h:
2302 * src/hildon-pannable_area.c:
2303 (hildon_pannable_area_class_init),
2304 (hildon_pannable_area_set_property),
2305 (hildon_pannable_area_get_property),
2306 (hildon_pannable_area_size_request),
2307 (hildon_pannable_area_get_size_request_policy),
2308 (hildon_pannable_area_set_size_request_policy): Added new API
2309 allowing applications to control the request policy. Now they can
2310 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2311 children allocation (HILDON_MOVEMENT_CHILDREN).
2313 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2317 (hildon_gtk_tree_view_set_ui_mode)
2318 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2319 mode of treeviews and iconviews.
2321 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2323 * src/hildon-touch-selector-entry.c:
2324 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2325 of a GtkEntry to get proper theming.
2327 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2328 widget, not GtkEntry)
2330 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2332 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2333 no HildonWizardDialogPageFunc.
2335 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2337 Patch contributed by Iván Gómez (igomez@igalia.com)
2339 * src/hildon-app-menu.c:
2340 * src/hildon-button.c:
2341 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2342 * src/hildon-stackable-window.c:
2343 * src/hildon-time-selector.c:
2344 * src/hildon-touch-selector.c:
2345 * src/hildon-window.c:
2347 Add more "since" tags to the new API in hildon 2.2.
2349 2008-12-05 Tim Janik <timj@imendio.com>
2351 Patch contributed by Christian Dywan (christian@imendio.com)
2353 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2354 HildonSizeType, which are supplied by Gtk+ now.
2356 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2358 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2359 (with maemo changes) instead)
2361 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2363 Patch contributed by Iván Gómez (igomez@igalia.com)
2365 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2368 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2370 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2371 (some_page_func), (main): Update the example to use a
2372 HildonWizardDialogPageFunc function.
2374 * src/hildon-wizard-dialog-private.h: Add private data for
2375 the HildonWizardDialogPageFunc function usage.
2377 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2378 (destroy), (hildon_wizard_dialog_init), (response),
2379 (hildon_wizard_dialog_set_forward_page_func):
2380 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2381 that applications can use to stop a HildonWizardDialog to jump to
2384 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2387 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2389 * src/hildon-program.h
2390 * src/hildon-program-private.h
2391 * src/hildon-program.c (hildon_program_init)
2392 (hildon_program_set_common_app_menu)
2393 (hildon_program_get_common_app_menu):
2394 New API for setting a common HildonAppMenu for all
2395 HildonStackableWindows registered with the HildonProgram.
2397 * src/hildon-stackable-window.c
2398 (hildon_stackable_window_toggle_menu):
2399 Use the common HildonAppMenu if a window doesn't have a specific
2402 * src/hildon-app-menu-private.h
2403 * src/hildon-app-menu.c
2404 (hildon_app_menu_get_parent_window):
2405 Function to obtain the window a HildonAppMenu is attached to.
2406 (hildon_app_menu_set_parent_window):
2407 Hide the menu if the parent window is set to NULL.
2409 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2412 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2413 search widget to popup.
2415 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2417 * configure.ac: post release version bump
2418 * debian/changelog: version bump
2420 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2425 * configure.ac: bump version
2426 * debian/changelog: updates
2428 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2430 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2432 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2433 (hildon_window_stack_window_realized)
2434 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2435 Set the leader GdkWindow when a window is stacked and realized,
2436 unset it when it's unstacked.
2437 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2439 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2441 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2443 * src/hildon-stackable-window.h
2444 * src/hildon-window-stack.h:
2445 Protect definition of HildonWindowStack using the preprocessor.
2447 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2450 Fix warning if all menu items are hidden.
2452 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2454 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2456 * src/hildon-controlbar.c:
2457 * src/hildon-hvolumebar.c:
2458 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2459 Multiple scale size defines updates.
2461 Fixes: NB#94322 (Scale Updates)
2463 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2465 * examples/hildon-app-menu-example.c (create_menu)
2466 Show items after adding them to the menu, as in the future the
2467 menu will no longer call gtk_widget_show() on the added items.
2469 * src/hildon-app-menu.c:
2470 Update example as explained above.
2472 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-app-menu.c
2475 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2476 Make sure that all menu items have finger height.
2478 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2480 * src/hildon-picker-dialog.c:
2481 (_on_dialog_response), (_save_current_selection),
2482 (_restore_current_selection), (_clean_current_selection),
2483 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2484 Defined new functions in order to save the current internal selector
2485 selection previous open the dialog, in case that the use cancel the
2486 interaction, so the widget restores the previous selection.
2488 Fixes: NB#92032 (In calendar application, date values in 'new event'
2491 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2493 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2495 * src/hildon-button.c: Add a reference to the button examples in
2496 hildon-button-example.c
2498 * examples/hildon-button-example.c: Added examples of the most
2499 common button layouts.
2501 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-app-menu.c (hildon_app_menu_show)
2504 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2506 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2508 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2510 * src/hildon-picker-dialog.c:
2511 (hildon_picker_dialog_init): Initialize the signal id for
2512 HildonTouchSelector::columns-changed.
2513 (+on_selector_columns_changed): Set up the interaction mode everytime a
2514 column is added or removed from the HildonTouchSelector.
2515 (_hildon_picker_dialog_set_selector): Connect to
2516 HildonTouchSelector::columns-changed and keep track of it.
2518 Make sure to update the interaction mode of the dialog everytime a
2519 column is added or removed in the HildonTouchSelector.
2521 Fixes: NB#93228 (Done button is not shown always in listpicker)
2523 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2526 a new ::columns-changed signal.
2527 (hildon_touch_selector_append_column): Emit ::columns-changed.
2528 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2530 Add a ::columns-changed signal, emitted when the number of columns in a
2531 HildonTouchSelector changes.
2533 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2536 (_hildon_picker_dialog_set_selector): Factor out the code
2537 to set up the dialog interaction mode.
2539 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2541 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2542 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2543 to signal_changed_id.
2545 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2547 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2550 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2552 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2553 Updated the logical ids related to ampm format, as now it is required to
2554 show it correctly localized even on languages with no default
2555 abbreviations for am or pm
2556 (_check_am_pm_format): check correctly the 24h format gconf property
2558 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2560 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2562 * src/hildon-button.c: Documentation updates.
2564 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2567 * src/hildon-caption.c: (hildon_caption_class_init):
2568 * src/hildon-color-button.c: (hildon_color_button_class_init):
2569 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2570 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2571 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2572 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2574 Remove deprecated GTK+ marshalers and replace them with the ones
2575 provided by GLib, for those available, add a marshaler for
2576 BOOLEAN:VOID, which is not available in GLib, and use it.
2578 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2581 the text from the previous column if there is no
2582 HildonTouchSelectorColumn::text-property set.
2584 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2586 * src/hildon-button.h
2587 * src/hildon-button.c (hildon_button_set_property)
2588 (hildon_button_get_property, hildon_button_class_init)
2589 (hildon_button_set_style, hildon_button_get_style):
2590 New "style" property to change the visual appearance of the
2593 * src/hildon-picker-button.c (hildon_picker_button_new):
2594 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2596 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2597 HildonButton look like PickerButton)
2599 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2601 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2602 column while building the default string.
2604 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2607 scroll indicator by default.
2609 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2611 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2613 * src/hildon-main.c: Fix the documentation for hildon_init()
2615 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2617 * doc/hildon-docs.sgml
2621 * src/hildon-window-stack-private.h
2622 * src/hildon-window-stack.h
2623 * src/hildon-window-stack.c:
2624 New HildonWindowStack object, that adds support for multiple
2625 stacks of windows per process.
2627 * src/hildon-stackable-window-private.h
2628 * src/hildon-stackable-window.h
2629 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2630 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2631 (hildon_stackable_window_show, hildon_stackable_window_hide)
2632 (hildon_stackable_window_class_init)
2633 (hildon_stackable_window_init):
2634 Use HildonWindowStack for stack management.
2636 * src/hildon-program.c (hildon_program_pop_window_stack)
2637 (hildon_program_peek_window_stack)
2638 (hildon_program_go_to_root_window):
2639 Add a fallback implementation to the deprecated functions using
2642 * examples/hildon-stackable-window-example.c:
2643 Use the new HildonWindowStack API.
2645 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2647 * src/hildon-stackable-window-private.h
2648 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2649 (hildon_stackable_window_hide, hildon_stackable_window_init):
2650 Remove all window stack management.
2652 * src/hildon-program-private.h
2653 * src/hildon-program.h
2654 * src/hildon-program.c (hildon_program_init)
2655 (hildon_program_pop_window_stack)
2656 (hildon_program_peek_window_stack)
2657 (hildon_program_go_to_root_window):
2658 Remove all window stack management and mark functions as
2661 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2663 * src/hildon-app-menu.c (hildon_app_menu_realize):
2664 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2666 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2668 * configure.ac: post release version bump
2669 * debian/changelog: version bump
2671 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2676 * configure.ac: bump version
2677 * debian/changelog: updates
2679 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2681 Based on initial code by Christian Dywan (christian@imendio.com)
2683 * doc/hildon-docs.sgml: Add section for hildon-main.
2684 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2685 * src/Makefile.am: Add new hildon-main.[ch]
2686 * src/hildon-defines.h: Update the icon sizes.
2687 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2688 new library initialization files and register icon sizes.
2689 * src/hildon-main.h: New declarations.
2690 * src/hildon.h: Include hildon-main.h
2692 Add new initialization functions to the library. These methods
2693 will register the hildon specific icon sizes and can be used in the
2694 future for other hildon specific bits.
2696 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2698 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-window.c: (hildon_window_realize),
2701 (hildon_window_notify), (-hildon_window_update_title): Do not set
2702 the application name in the window title.
2704 Fixes: NB#89754 (Applications shouldn't display their names in the
2707 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2709 * src/hildon-note-private.h:
2710 * src/hildon-note.c: (hildon_note_set_property),
2711 (hildon_note_get_property), (hildon_note_class_init),
2712 (hildon_note_init), (hildon_note_finalize),
2713 (hildon_note_new_confirmation_with_icon_name),
2714 (hildon_note_new_information_with_icon_name):
2716 No need to mark as deprecated the actual code. Revert
2717 to avoid missing symbols in widgets using deprecated API.
2719 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2721 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2723 * src/hildon-volumebar.h
2724 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2725 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2727 * src/hildon-helper.h
2728 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2729 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2731 * examples/Makefile.am:
2732 Deprecate hildon-insensitive-example
2734 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2736 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2738 * examples/hildon-pannable-area-buttons-scroll-example.c:
2739 Make all buttons finger height
2741 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2743 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2745 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2746 update the day model only if it is really required, and to avoid the
2747 full-reconstruction aproach. Now it only add or remove the required days.
2749 The purpose of this is avoid superfluous HildonTouchSelector::changed
2752 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2753 with strange parameters)
2755 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2757 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2759 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2760 the WINDOW_TYPE property.
2762 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2764 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2767 Fix dependency to allow parallel compilation with make -jX
2769 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2772 color frame and some minor tweaks to make it more consistent with
2775 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2776 highlighted but not visible)
2778 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2780 * examples/Makefile.am: Fixed typo in the Makefile.am.
2782 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2784 Reviewed the use of MAEMO_GTK define, now we add the define in the
2785 compilation line, and we also add it to the pc file.
2787 * configure.ac: Added MAEMO_GTK define to the compilation command
2788 and removed it from the config.h.
2790 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2791 do not have to take care about this define if the library was
2795 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2797 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2799 * examples/Makefile.am,
2800 * examples/hildon-pannable-area-buttons-scroll-example.c,
2801 * examples/hildon-pannable-area-gesture-signals-example.c,
2802 * examples/hildon-pannable-area-scroll-jump-example.c,
2803 * examples/hildon-pannable-area-tree-view-example.c:
2804 Renamed the pannable area examples, now they have more meaningful
2807 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2809 * src/hildon-touch-selector.c:
2810 (hildon_touch_selector_set_column_selection_mode): Used of
2811 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2812 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2813 to avoid re-seting the same selection mode.
2815 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2816 breaks HildonPickerDialog)
2818 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2820 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2821 conditional in the Makefile.am
2823 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2826 Remove unused methods.
2828 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-button.c (hildon_button_init):
2831 Make button images center-aligned by default
2833 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2836 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2837 activated, we have to think about how to deal with both defines
2838 MAEMO_GTK and MAEMO_CHANGES.
2840 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2842 * examples/hildon-app-menu-example.c (create_menu): Make all
2843 buttons finger size.
2845 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2847 Fixed the compilation without maemo gtk adding ifdefs with
2848 MAEMO_GTK define to the code, we have to check this version more
2851 * examples/Makefile.am: Added control to avoid some examples that
2852 just make sense with maemo gtk.
2855 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2856 hildon modes with the define.
2858 * examples/hildon-edit-toolbar-example.c,
2859 (create_icon_view): Create the icon view without hildon-gtk
2860 helpers if we are not using maemo gtk.
2862 * src/hildon-touch-selector.c,
2863 (_create_new_column): Create the treeview without hildon-gtk
2864 helpers if we are not using maemo gtk.
2866 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2868 * src/hildon-pnnable-area.c,
2869 (hildon_pannable_area_dispose),
2870 (hildon_pannable_area_button_press_cb),
2871 (hildon_pannable_area_child_mapped),
2872 (hildon_pannable_area_add),
2873 (hildon_pannable_area_remove): Added code to control the position
2874 of the event_window when adding and removing children from the
2875 pannable. We have to raise the event window when the child is
2878 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2879 selection mode using custom widget inside pannable)
2881 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2883 * configure.ac: post release version bump
2884 * debian/changelog: version bump
2886 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2891 * configure.ac: bump version
2892 * debian/changelog: updates
2894 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2896 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2897 search mode, in order to avoid lose the focus on the treeview when
2898 a hw key (like enter) is pressed.
2900 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2901 in HildonDateSelector dialog)
2903 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2905 * debian/rules: Added --enable-maintainer-mode
2906 * Makefile.am: Added ACLOCAL_AMFLAGS
2908 This allows to properly regenerate the Makefiles if you modify the
2909 configure.ac or any Makefile.am.
2911 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2913 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2914 properties, not needed at all.
2916 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2918 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2920 * src/hildon-note.c: (hildon_note_set_property),
2921 (hildon_note_get_property), (hildon_note_class_init),
2922 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2923 (hildon_note_new_confirmation_add_buttons): Remove icons.
2924 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2925 (hildon_note_new_information_with_icon_name): Deprecate.
2926 (hildon_note_new_confirmation): Act directly, without calling
2927 the deprecated constructor.
2928 (hildon_note_new_information): Act directly, without calling
2929 the deprecated constructor.
2930 * src/hildon-note.h: Mark deprecate methods as such.
2931 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2932 not run tests on the deprecated methods if built with deprecation
2935 Fixes: NB#91688 (Never show icons in information notes/confirmation
2938 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2940 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2941 (hildon_app_menu_key_press): Remove leftover usage of the
2942 private structure in HildonAppMenu struct.
2943 * src/hildon-app-menu.h: Remove leftover private structure
2944 from the HildonAppMenu struct.
2946 Fixes a crasher when using the HildonAppMenu.
2948 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2950 * src/hildon-picker-dialog.c: Use appropriate logical id
2951 for the default "Done" text.
2953 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2955 * configure.ac: post release version bump
2956 * debian/changelog: version bump
2958 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2960 Modified the way to scroll to the current selection just when the touch
2961 selector is shown on the screen, avoiding a g_idle. Added too a property
2962 to configure this behaviour. See hildon_pannable_area_jump_to_child
2963 documentation for more information.
2965 * src/hildon-touch-selector.c
2966 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2967 Added 'initial-scroll' property
2968 (hildon_touch_selector_set_property): Added
2969 (hildon_touch_selector_map): Removed as not required anymore
2970 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2971 only a concrete column, instead of iterate along all the columns
2973 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2978 * configure.ac: bump version
2979 * debian/changelog: updates
2981 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2984 compilation time warnings.
2986 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2988 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2989 the default value for HildonPannableArea::mov-mode to
2990 HILDON_PANNABLE_AREA_MODE_VERT.
2992 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2994 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2996 Reverting following commit:
2998 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3000 * src/hildon-app-menu-private.h
3001 * src/hildon-app-menu.[ch]
3002 * src/hildon-button.[ch]
3003 * src/hildon-check-button.[ch]
3004 * src/hildon-entry.[ch]
3005 * src/hildon-pannable-area.[ch]
3006 * src/hildon-text-view.[ch]:
3007 Added private field to the object's structure.
3009 because it causes an ABI breakage. We will need to introduce these
3010 changes later at some point. See NB#91636 for an extensive
3011 explanation and status.
3013 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3015 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3017 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3018 remove special cases that are no longer necessary.
3020 Fixes: NB#91016 (Change toolbar sizes, simplification)
3022 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3024 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3025 is shown in the cancel note.
3027 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3029 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3030 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3031 (hildon_seekbar_init): Remove steppers, remove expose event.
3032 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3034 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3036 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3038 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3039 label font to "SmallSystemFont" for vertically arranged buttons.
3041 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3044 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3046 * src/hildon-check-button.c
3047 (hildon_check_button_set_active, hildon_check_button_clicked):
3048 Don't access private parts directly, use getters instead.
3050 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-check-button.c (hildon_check_button_new):
3053 Align the contents of the check button to the left.
3055 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3057 * src/hildon-pannable-area.c,
3058 (hildon_pannable_area_scroll_to),
3059 (hildon_pannable_area_jump_to),
3060 (hildon_pannable_area_scroll_to_child),
3061 (hildon_pannable_area_jump_to_child): Replace the mapped
3062 precondition of these functions with the realized, it is the
3063 correct state of the widget in this case. Changed the
3064 documentation according to this modification.
3066 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3068 Added a new EXTRA_CFLAGS option to add the deprecated define to
3069 the compilation command. This way we can avoid using the define in
3070 the documentation compilation.
3072 * configure.ac: Defined EXTRA_CFLAGS.
3074 * examples/Makefile.am:
3076 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3078 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3080 * src/hildon-picker-dialog.c:
3081 Defined a utility macro with the desired touch selector height
3082 Removed currently unused separator, and title_label variables from
3084 (hildon_picker_dialog_init): Removed code related to the creation
3085 of unused private variables title_label and separator.
3086 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3087 to ensure correct visualization of the touch selector inside the dialog.
3088 * src/hildon-touch-selector.c
3089 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3090 ensure a concrete height of the widget.
3092 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3095 * tests/Makefile.am:
3097 Remove spurious whitespaces.
3099 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3101 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3102 compilation warning after the cancel button removal.
3104 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3106 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3108 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3109 Makefile.am, that way we can choose not to compile some examples
3110 and tests of the deprecated widgets.
3112 * examples/Makefile.am: Divided the sources in deprecated and
3115 * src/Makefile.am: Added undef statement of the deprecated
3116 symbol to the enums file generation process.
3118 * src/hildon-color-chooser-dialog.c
3119 * src/hildon-color-chooser-dialog.h
3120 * src/hildon-color-button.c
3121 * src/hildon-color-button.h
3122 * src/hildon-color-chooser.c
3123 * src/hildon-color-chooser.h
3124 * src/hildon-controlbar.c
3125 * src/hildon-controlbar.h
3126 * src/hildon-date-editor.c
3127 * src/hildon-date-editor.h
3128 * src/hildon-hvolumebar.c
3129 * src/hildon-hvolumebar.h
3130 * src/hildon-private.c
3131 * src/hildon-private.h
3132 * src/hildon-range-editor.c
3133 * src/hildon-range-editor.h
3134 * src/hildon-seekbar.c
3135 * src/hildon-seekbar.h
3136 * src/hildon-time-editor.c
3137 * src/hildon-time-editor.h
3138 * src/hildon-time-picker.c
3139 * src/hildon-time-picker.h
3140 * src/hildon-volumebar.c
3141 * src/hildon-volumebar.h
3142 * src/hildon-vvolumebar.c
3143 * src/hildon-vvolumebar.h
3144 * src/hildon-bread-crumb-trail.h
3145 * src/hildon-bread-crumb-trail.c
3146 * src/hildon-calendar-popup.c
3147 * src/hildon-calendar-popup.h
3148 * src/hildon-weekday-picker.c:
3149 * src/hildon-weekday-picker.h:
3150 * src/hildon-bread-crumb-widget.c:
3151 * src/hildon-bread-crumb-widget.h:
3152 * src/hildon-bread-crumb.c:
3153 * src/hildon-bread-crumb.h:
3154 * src/hildon-calendar.c:
3155 * src/hildon-calendar.h:
3156 * src/hildon-caption.c:
3157 * src/hildon-code-dialog.c:
3158 * src/hildon-code-dialog.h:
3159 * src/hildon-font-selection-dialog.c:
3160 * src/hildon-font-selection-dialog.h:
3161 * src/hildon-get-password-dialog.c:
3162 * src/hildon-get-password-dialog.h:
3163 * src/hildon-login-dialog.c:
3164 * src/hildon-login-dialog.h:
3165 * src/hildon-number-editor.c:
3166 * src/hildon-number-editor.h:
3167 * src/hildon-set-password-dialog.c:
3168 * src/hildon-set-password-dialog.h:
3169 * src/hildon-sort-dialog.c:
3170 * src/hildon-sort-dialog.h: This is the list of deprecated
3173 * src/hildon-touch-selector.c:
3174 * src/hildon-window.c: Added undef statement to avoid compilation
3177 * tests/Makefile.am: Divided the sources in deprecated and
3180 * tests/check_test.c,
3181 (configure_tests): Marked the deprecated code that was adding
3182 suites with deprecated tests.
3184 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3186 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-touch-selector.c: (_default_print_func): Do not
3189 duplicate a string returned by gtk_tree_model_get(), it is already
3192 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3195 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3197 * src/hildon-pannable-area.c
3198 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3199 method, it had problems when adding a widget with viewport the
3200 second time. Now checks if it already has a viewport and uses it.
3202 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3205 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3207 * src/hildon-pannable-area.c,
3208 (hildon_pannable_area_scroll_to),
3209 (hildon_pannable_area_jump_to),
3210 (hildon_pannable_area_scroll_to_child),
3211 (hildon_pannable_area_jump_to_child): Added a precondition to the
3212 scroll and jump to functions: the widget must be mapped before we
3213 can safely call these functions. We have also added documentation
3214 to the functions to explain how to use them in this situation.
3217 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3219 Reviewed the threading handling of the pannable widget, we have
3220 used the gdk_threads_add_timeout function instead of the usual
3221 glib handlers. This avoids some problems with the threads.
3223 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3224 (hildon_pannable_area_initial_effect),
3225 (hildon_pannable_area_scroll_indicator_fade),
3226 (hildon_pannable_area_button_press_cb),
3227 (hildon_pannable_area_timeout),
3228 (hildon_pannable_area_motion_notify_cb),
3229 (hildon_pannable_area_button_release_cb),
3230 (hildon_pannable_area_scroll_cb),
3231 (hildon_pannable_area_scroll_to): Removed the
3232 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3233 gdk_threads_add_timeout.
3235 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3237 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3242 * configure.ac: bump version
3243 * debian/changelog: updates
3245 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3248 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3249 * src/hildon-color-chooser-dialog.c:
3250 (hildon_color_chooser_dialog_init):
3251 * src/hildon-font-selection-dialog.c:
3252 (hildon_font_selection_dialog_init):
3253 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3255 Remove all cancel/close-like dialogs, as these are not going to be
3258 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-note.c: (hildon_note_rebuild),
3261 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3264 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3266 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3268 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3269 sure all buttons are shown, even the Cancel/Close-like ones.
3271 Fixes: NB#90861 (Custom Confirmation dialogs should be
3272 protected from cancel button removal)
3274 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3276 * debian/control: Change libhildon1-examples dependency from libhildon1
3278 * debian/libhildon1-examples.install
3280 * Makefile.am: Modified the final install directory for the examples on
3281 package libhildon1-examples
3282 * Makefile.static: Update clean target in order to remove all the binary
3285 Changes suggested by Claudio after review new libhildon1-examples package
3287 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3290 * src/hildon-touch-selector.c: Ditto.
3292 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3294 * debian/control: Added new package libhildon1-examples, in order to pack
3295 the current hildon examples as documentation
3296 * debian/rules: Not to compress .c files, modify some includes on the
3297 examples (as normally are compiled locally, but when installed it will
3298 require to include the installed libhildon1 library), and rename
3300 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3301 install all the example files on the new example package
3302 * examples/Makefile.static: Added static makefile that can be used to
3303 compile the examples, once installed the new example package
3304 * examples: Most of the examples were modified in order to grant that
3305 all use only '#include "hildon.h"', in order to be easy to prepare
3306 it on the example package
3308 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3311 * debian/libhildon1-dev.install
3312 * debian/libhildon1-doc.install:
3313 Move all gtk-doc files to a separate libhildon1-doc package.
3315 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3317 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3321 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3323 * debian/rules: Fixed a error in order to avoid unnecessary calls
3324 to autogen.sh on package building
3326 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3328 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3330 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3332 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3335 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3337 * src/hildon-picker-button.c
3338 (hildon_picker_button_finalize):
3339 Free priv->done_button_text
3341 * src/hildon-time-button.c
3342 (hildon_time_button_set_time)
3343 * src/hildon-picker-button.c
3344 (hildon_picker_button_clicked)
3345 (hildon_picker_button_selector_selection_changed)
3346 (hildon_picker_button_set_selector)
3347 * src/hildon-date-button.c
3348 (hildon_date_button_set_date):
3349 Free strings returned by hildon_touch_selector_get_current_text()
3351 * src/hildon-button.c (hildon_button_construct_child):
3352 Fix leaks in priv->image and priv->label_box
3354 Fixes: NB#90535 (Memory leak in picker button)
3356 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-button.c: (hildon_button_get_property): Do not access
3359 private elements directly, use getters instead.
3361 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3363 * src/hildon-app-menu-private.h
3364 * src/hildon-app-menu.c
3365 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3366 Store the menu's parent window.
3368 * src/hildon-stackable-window.c
3369 (hildon_stackable_window_toggle_menu)
3370 (hildon_stackable_window_finalize):
3371 Set the menu's parent window when the menu is shown, unset it when
3374 * src/hildon-app-menu.c
3375 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3376 (hildon_app_menu_class_init):
3377 Send unhandled keyboard accelerators to the parent window.
3379 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3381 * src/hildon-stackable-window.c
3382 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3384 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3386 * configure.ac: post release version bump
3388 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3391 * configure.ac: Bump version
3392 * debian/changelog: Updates
3393 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3396 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3398 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3401 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3402 GtkMenu with Hildon style.
3404 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-picker-button.c:
3407 (hildon_picker_button_set_done_button_text): Set the dialog's
3408 done button text here as well.
3410 Fixes: NB#90232 (Picker button does not set the label on done button
3411 for the second time)
3413 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3415 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3418 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3420 * src/hildon-app-menu.c (hildon_app_menu_insert)
3421 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3422 the HildonAppMenu to be activatable using keyboard accelerators
3423 when the menu is not being shown.
3425 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3427 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-stackable-window.c
3430 (hildon_stackable_window_show):
3431 Don't hide old windows automatically when new windows are shown:
3432 this is now a task for the window manager.
3433 (hildon_stackable_window_class_init)
3434 (hildon_stackable_window_hide):
3435 Remove windows from the stack everytime they're hidden.
3436 (hildon_stackable_window_realize):
3437 Don't change the _NET_WM_WINDOW_TYPE property. Use
3438 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3439 it as a stackable window.
3441 * src/hildon-program.c
3442 (hildon_program_pop_window_stack):
3443 Just hide the window to remove it from the stack.
3444 (hildon_program_go_to_root_window):
3445 Don't call gtk_widget_show(), this is now a task for the window
3448 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3450 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3452 * src/hildon-button.c
3453 (hildon_button_construct_child):
3454 Don't pack anything in the button until text or image are
3455 set. This allows adding a custom child after creating the button
3456 with hildon_button_new().
3457 (hildon_button_finalize, hildon_button_class_init)
3458 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3459 alignment and the label box even when they're not packed in the
3462 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3464 * src/hildon-touch-selector.h:
3465 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3466 currently the type definition was using GTK_TYPE_VBOX
3467 * src/hildon-touch-selector.c:
3468 Added some implementation notes in order to clarify that any other widget
3469 added without the column related API will not be included on the
3470 selection logic, and how the widget is freed, as some people ask about
3472 (hildon_touch_selector_remove): Reimplemented in order to free properly
3473 the column related data when you remove the private hbox.
3474 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3475 to get a proper HildonTouchSelectorColumn documentation
3477 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3479 * src/hildon-touch-selector-entry.c:
3480 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3481 text in the GtkEntry and there is no item selected. Fixes a
3484 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-app-menu-private.h
3487 * src/hildon-app-menu.[ch]
3488 * src/hildon-button.[ch]
3489 * src/hildon-check-button.[ch]
3490 * src/hildon-entry.[ch]
3491 * src/hildon-pannable-area.[ch]
3492 * src/hildon-text-view.[ch]:
3493 Added private field to the object's structure.
3495 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3497 * configure.ac: post-release version bump
3499 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3503 * configure.ac: pre-release version bump
3505 * debian/changelog: updates.
3507 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3509 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3510 Disconnect the handler for HildonTouchSelector::changed.
3512 (hildon_picker_button_selector_selection_changed): Update the button
3513 value if the selection change was not triggered by the
3516 (hildon_picker_button_set_selector): connect to
3517 HildonTouchSelector::changed.
3519 Fixes: NB#89650 (Picker button is not updated, when selection in
3520 selector has changed)
3522 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3524 * src/hildon-picker-dialog.c
3525 (hildon_picker_dialog_realize): Removed as not required
3526 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3527 * src/hildon-picker-button.c
3528 (_current_selector_empty): New function, checks if the selector is empty
3529 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3530 if the current selector is empty, in order to avoid to show the dialog
3531 close the dialog in this case (and shows a g_warning).
3533 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3535 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3537 * src/hildon-pannable-area.c,
3538 (hildon_pannable_area_scroll): Added clause to stop movement when
3539 the child of pannable is smaller than one page.
3540 (hildon_pannable_area_scroll_to): Added conditions to avoid
3541 starting the scrolling movement if the child is smaller than one
3542 page, the complete child is in the screen, we do not have to move.
3544 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3546 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3548 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3549 this is managed automatically by the widget when the size of the
3552 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3554 * src/hildon-picker-button.c
3555 (hildon_picker_button_set_done_button_text): Make a copy of the
3556 text, and free the previous value.
3558 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3560 * src/hildon-touch-selector-entry.c:
3561 (hildon_touch_selector_entry_print_func): Return the selected row's
3562 text if the entry is empty.
3564 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3567 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3569 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3571 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3574 * src/hildon-check-button.h
3575 * src/hildon-check-button.c
3576 * examples/hildon-check-button-example.c:
3577 HildonCheckButton is now a new widget. 'toggled' signal added.
3579 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3581 * src/hildon-program-private.h
3582 * src/hildon-program.c (hildon_program_init)
3583 (hildon_program_finalize): Removed unused variables group_leader
3584 and name from HildonProgramPrivate.
3586 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-check-button.c (hildon_check_button_set_active)
3589 (hildon_check_button_get_active, hildon_check_button_new): Use
3590 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3592 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3594 * src/hildon-touch-selector.h
3595 (hildon_touch_selector_set_column_attributes): added deprecation
3596 guard HILDON_DISABLE_DEPRECATED
3597 * src/hildon-time-selector.c
3598 (hildon_time_selector_set_time)
3599 (hildon_time_selector_get_time): Fixed a typo on documentation
3600 * src/hildon-touch-selector.c: update HildonTouchSelector and
3601 HildonTouchSelectorColumn documentation
3602 * src/hildon-touch-selector-entry.c: update "text-column" property
3604 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3605 to be added to the general documentation.
3607 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3609 * examples/hildon-pannable-area-example-4.c,
3611 * examples/hildon-pannable-area-example.c,
3612 (main): Modified the code in order to use the container add, with
3613 viewport treeviews could have problems if they are really big.
3615 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3617 * src/hildon-weekday-picker.c,
3618 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3619 the agreement regarding deprecation in the library.
3621 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3623 * examples/hildon-picker-button-multicolumn-example.c:
3624 (main): Use custom "done" button text.
3626 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3627 (hildon_picker_button_set_property),
3628 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3629 (hildon_picker_button_init),
3630 (+hildon_picker_button_get_done_button_text),
3631 (+hildon_picker_button_set_done_button_text): New methods to customize
3632 the "done" button label in the launched HildonPickerDialog. Also,
3635 * src/hildon-picker-button.h: add the public API.
3637 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3639 * src/hildon-date-selector.h:
3640 * src/hildon-picker-dialog.h:
3641 * src/hildon-time-selector.h:
3642 * src/hildon-touch-selector-column.h:
3643 * src/hildon-touch-selector.h:
3645 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3646 declarations. Fixes gtk-doc warnings.
3648 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3650 * src/hildon-picker-dialog.h
3651 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3652 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3654 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3655 long text is set as label for done button)
3657 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3659 * src/hildon-dialog.c (hildon_dialog_add_button):
3660 Set fixed width to all buttons in the HildonDialog.
3662 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3664 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3666 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3667 Set widget name using class name plus "-finger" or "-thumb".
3669 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3671 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3672 'clicked' when the state of the button is manually changed.
3674 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-app-menu.c (hildon_app_menu_realize)
3677 (hildon_app_menu_unrealize, hildon_app_menu_init)
3678 (hildon_app_menu_class_init, item_visibility_changed):
3679 Change the menu layout when the size of the screen changes.
3680 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3681 Show warning only when changing the number of colums using the
3684 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3686 * debian/compat: Set to 5
3687 * debian/control: Update dependencies.
3688 * debian/libhildon1-dbg.install: Remove.
3689 * debian/libhildon1-dev.install: Update according to cdbs paths.
3690 * debian/libhildon1.install: Update according to cdbs paths.
3691 * debian/rules: Switch to cdbs.
3693 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3695 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3696 'item' variable renamed to 'filter'
3698 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3700 * src/hildon-app-menu.c (hildon_app_menu_insert)
3701 (hildon_app_menu_add_filter, remove_item_from_list)
3702 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3703 Don't leak hidden items when the menu is destroyed.
3705 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3707 * src/hildon-app-menu.c (hildon_app_menu_insert)
3708 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3709 (hildon_app_menu_set_columns, item_visibility_changed)
3710 (filter_visibility_changed, hildon_app_menu_repack_filters)
3711 (hildon_app_menu_repack_items):
3712 Repack items and filters separately.
3714 Don't repack all items, change only the ones that are needed to
3717 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3719 * src/Makefile.am: added hildon-touch-selector-column.h
3721 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3723 * src/hildon-touch-selector.c: added the property "text-column" to the
3724 class HildonTouchSelectorColumn, and related get/set functions
3725 (_default_printf_func): updated to use "text-column" property
3726 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3727 "text-column" in his documentation, as this is now included on
3728 HildonTouchSelectorColumn. The get/set_property can still be used,
3729 working as a wrapper to the concrete column "text-column" property
3730 (_text_column_modified): callback added in order to handle the signal
3731 "notify::text-column" of the concrete HildonTouchSelectorColumn
3732 (hildon_touch_selector_entry_get_text_column)
3733 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3734 modified in order to use the HildonTouchSelectorColumn "text-column"
3736 * src/hildon-time-selector.c:
3737 * src/hildon-date-selector.c:
3738 * examples/hildon-touch-selector-example.c
3739 * examples/hildon-touch-selector-multi-cells-example.c
3740 * examples/hildon-picker-button-multicolumn-example.c
3741 Set the right value to "text-column" property on the creation of a new
3742 column using hildon_touch_selector_append_column()
3744 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3746 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-app-menu.c
3749 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3750 updating the layout of the menu, don't create all widgets again,
3751 just repack the items in their new places.
3753 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3755 * src/hildon-time-selector.c
3756 (hildon_time_selector_get_time)
3757 (hildon_time_selector_set_time)
3758 Added documentation of these public methods
3760 * src/hildon-date-button.h
3761 * src/hildon-touch-selector-column.h
3762 * src/hildon-time-button.h
3763 * src/hildon-picker-dialog.h
3764 * src/hildon-time-selector.h
3765 * src/hildon-picker-button.h
3766 * src/hildon-touch-selector.h
3767 * src/hildon-time-picker.h
3768 * src/hildon-date-selector.h
3769 * src/hildon-touch-selector-entry.h
3770 Modified in order to use hildon-widgets code style
3772 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3774 Added deprecated support to the compilation process using
3775 HILDON_DISABLE_DEPRECATED
3777 * configure.ac: Added the --disable-deprecated to the configure
3780 * src/hildon-weekday-picker.c:
3781 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3782 to use the deprecated support. We will update the other deprecated
3783 widgets status in a new patch.
3785 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3787 * configure.ac: Fixed typo with fatal warnings support, the
3788 variable name was not correct
3790 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3792 * src/hildon-app-menu.c
3793 * src/hildon-program.c: Update documentation.
3795 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3797 * configure.ac: Post-release version bump.
3799 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3804 * configure.ac: Pre-release version bump.
3805 * debian/changelog: Updates.
3807 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3809 * NEWS: Update news for previous releases.
3811 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3813 * examples/hildon-touch-selector-multi-cells-example.c:
3814 (create_selector): Update the example to use
3815 hildon_touch_selector_append_column() with a NULL renderer and set
3816 the renderers later.
3817 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3818 passed a NULL renderer. This is documented behavior now.
3820 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3821 This must be used if the developer wants full control on the layout of
3822 the renderers to be added to the column.
3824 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3826 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3828 * src/hildon-touch-selector.c: Documentation fixes.
3830 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3832 * src/hildon-wizard-dialog-private.h: Remove image and box.
3833 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3834 (hildon_wizard_dialog_set_property), (response): Completely remove
3835 image/icon support, and the containers required for the layout.
3837 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3839 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3841 * src/hildon-app-menu.c: Updated documentation.
3843 * src/hildon-stackable-window.c
3844 (hildon_stackable_window_set_main_menu): Unref the old menu after
3845 ref'ing the new one.
3847 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3849 * src/hildon-stackable-window.c
3850 (hildon_stackable_window_set_main_menu): Unref the previous menu
3851 instead of destroying it.
3853 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3854 floating reference and set has_user_ref_count to FALSE to make
3855 HildonAppMenu act like a normal ref-counted widget and not a
3858 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3861 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3863 * src/hildon-touch-selector-column.h: new file
3864 * src/hildon-touch-selector.h
3865 * src/hildon-touch-selector.c
3866 Implemented GtkCellLayout interface, in order to allow to configure
3867 the cell layout on each individual selector column
3868 (hildon_touch_selector_set_column_attributes): marked as deprecated
3869 * examples/hildon-touch-selector-multi-cells-example.c
3870 Example of how to use the GtkCellLayout interface on the selector
3872 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3874 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3876 * src/hildon-app-menu.h
3877 * src/hildon-app-menu.c
3878 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3879 (hildon_app_menu_append, hildon_app_menu_prepend):
3880 New methods to prepend, insert and move items in the menu.
3882 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3884 * src/hildon-wizard-dialog.c:
3886 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3888 (create_title): Update logical IDs and related code.
3889 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3891 * src/hildon-wizard-dialog.h: Note that
3892 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3893 point, as it is not used anymore.
3895 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3897 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3899 * src/hildon-note.c:
3900 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3901 shown. Do not display an icon in confirmation notes nor information
3903 (hildon_note_set_button_text): Update logical ID for cancel button.
3905 Fixes: NB#88850 (Update HildonNote button strings + signals)
3907 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3909 * src/hildon-stackable-window.c
3910 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3912 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-app-menu-private.h
3915 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3916 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3917 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3918 temporary property 'columns' to change the number of columns.
3920 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3922 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3924 * examples/hildon-note-example.c: (on_information_clicked),
3925 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3926 debugging information.
3927 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3929 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3930 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3931 in order to close: this will be handled by the WM from now on.
3933 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3935 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3937 * src/hildon-app-menu-private.h
3938 * src/hildon-app-menu.c
3939 (hildon_app_menu_append, hildon_app_menu_add_filter)
3940 (button_visibility_changed, hildon_app_menu_apply_style)
3941 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3942 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3943 layout everytime a button (item or filter) is shown or hidden.
3945 * src/hildon-stackable-window.c
3946 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3949 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3951 * src/hildon-touch-selector.c:
3952 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3953 that the treeview inside the touch selector is in fremantle hildon mode
3954 * examples/hildon-date-button-example.c
3955 * examples/hildon-picker-button-multicolumn-example.c
3956 * examples/hildon-touch-selector-entry-example.c
3957 * examples/hildon-touch-selector-example.c
3958 * examples/hildon-time-button-example.c
3959 * examples/hildon-picker-button-example.c:
3960 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3962 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3964 * examples/hildon-text-view-example.c: (main): Remove the
3965 gtkrc bits, now handled by the theme.
3967 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3969 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3972 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3974 * po/Makefile.am: Install properly the mo files.
3975 * po/en_GB.po: Update translation, to ease testing purposes.
3977 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3979 * examples/hildon-picker-button-example.c: (main): Select an item
3980 in the selector before setting it to the button.
3982 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3984 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3985 Update button's value if the selector has an item active.
3987 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3988 'value' with the selector)
3990 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3992 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3993 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3994 (hildon_picker_button_class_init): Plug the finalize method.
3995 (hildon_picker_button_set_selector): If there's a previously set
3996 selector, unref'it before setting a new one.
3998 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3999 HildonTouchSelector)
4001 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4003 * src/hildon-touch-selector-entry.c:
4004 (hildon_touch_selector_entry_changed): Check if there is no text
4005 selected before setting the entry text.
4008 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4010 * src/hildon-touch-selector.h
4011 * src/hildon-touch-selector.c
4012 (hildon_touch_selector_get_active)
4013 (hildon_touch_selector_set_active): New methods to set/get the
4014 index of the selected item.
4016 * src/hildon-picker-button.h
4017 * src/hildon-picker-button.c
4018 (hildon_picker_button_get_active)
4019 (hildon_picker_button_set_active): New methods to set/get the
4020 index of the selected item.
4022 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4024 * configure.ac: post-release version bump.
4026 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4030 * configure.ac: Pre-release version bump.
4031 * debian/changelog: Updates.
4032 * debian/control: Add myself as maintainer and depend on l10n
4035 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4037 * src/hildon-window.c
4038 (hildon_window_set_main_menu)
4039 * src/hildon-stackable-window.c
4040 (hildon_stackable_window_set_main_menu):
4041 Updated documentation.
4043 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4045 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4046 Don't free selector->priv manually.
4049 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4052 (hildon_gtk_window_set_progress_indicator):
4053 * src/hildon-gtk.h: Added the new API
4054 hildon_gtk_window_set_progress_indicator, it changes the state of
4055 the window progress hint.
4057 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4059 * src/hildon-button.c
4060 * src/hildon-stackable-window.c: Minor documentation updates.
4062 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4064 * src/hildon-stackable-window.c: Updated documentation.
4066 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4068 * src/hildon-defines.h: Update margins definitions
4069 to the Fremantle sizes.
4072 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4074 * src/hildon-touch-selector.c,
4075 (_hildon_touch_selector_set_model): Cleaning the code after
4076 review, removed g_print and #if 0 from the code.
4078 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4080 * src/hildon-edit-toolbar.c: Update documentation.
4082 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4084 * src/hildon-check-button.h
4085 * src/hildon-check-button.c
4086 (hildon_check_button_set_label, hildon_check_button_get_label)
4087 * examples/hildon-check-button-example.c
4088 (button_clicked_cb):
4089 Removed deprecated methods.
4091 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4093 * src/hildon-text-view.c:
4094 Add sample code to the documentation.
4096 * src/hildon-entry.h
4097 * src/hildon-text-view.h:
4098 Minor cosmetic changes.
4100 * src/hildon-entry.c:
4101 Add sample code to the documentation.
4102 (hildon_entry_init, hildon_entry_refresh_contents):
4103 Don't allow NULL values in the placeholder.
4105 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4107 * doc/hildon-docs.sgml
4109 * examples/Makefile.am
4110 * examples/hildon-text-view-example.c
4112 * src/hildon-text-view.c
4113 * src/hildon-text-view.h
4115 New HildonTextView widget, with example.
4117 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4119 * po/POTFILES.in: Add missing files with translatable strings.
4120 Partially fixes NB#88287.
4122 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4124 * examples/hildon-pannable-area-example-2.c: (main): No need to
4125 set the cellrenderer height inside hildon touch lists, the theme does
4128 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4130 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4131 they are integrated in the theme.
4133 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4135 * examples/hildon-entry-example.c: Update the example adding
4136 widgets to modify the text and the placeholder of the HildonEntry.
4138 * src/hildon-entry.c: Show the placeholder everytime the widget
4139 is empty and loses the focus.
4141 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4143 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4145 * src/hildon-pannable-area.c,
4146 (hildon_pannable_area_size_request): Fixed bug in height
4147 requisition, avoid increasing size and add border twice.
4149 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4151 * configure.ac: postrelease version bump.
4153 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4157 * configure.ac: Prerelease version bump.
4158 * debian/changelog: update.
4159 * debian/rules: make -dbg package contain useful debugging symbols.
4161 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4163 * src/hildon-dialog.h
4164 * src/hildon-dialog.c
4165 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4166 New methods to add buttons with finger size.
4167 (hildon_dialog_new_with_buttons):
4168 Create buttons with finger size.
4170 * examples/hildon-dialog-example.c (main): Use HildonDialog
4171 methods to add buttons.
4173 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4175 * src/hildon-entry.c: Updated HildonButton documentation.
4177 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4179 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4180 button value label with (FALSE, FALSE) to prevent NB#88126 from
4183 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4185 * examples/hildon-pannable-area-example.c,
4186 (main): Removed examples panning a vbox inside a pannable
4187 area. Check bug NB#87965
4189 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4191 Patch contributed by Kris Rietveld (kris@imendio.com)
4193 * src/hildon-pannable-area.c,
4194 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4195 get_size and get_position, this saves an X server roundtrip.
4197 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4199 * doc/hildon-docs.sgml
4201 * examples/Makefile.am
4202 * examples/hildon-entry-example.c
4204 * src/hildon-entry.c
4205 * src/hildon-entry.h
4207 New HildonEntry widget, with example.
4209 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4211 * src/hildon-button.c (hildon_button_construct_child): Pack the
4212 image with expand == fill == FALSE. This is a workaround for a bug
4215 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4217 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4218 labels for the text column, to make it more look more dynamic.
4220 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4222 * src/hildon-time-selector.c
4223 Define gettext auxiliar macro N_
4224 (_create_minutes_model)
4225 (_create_hours_model)
4226 (_create_ampm_model): use of strftime in order to fill the model
4227 * src/hildon-date-selector.c
4228 (hildon_date_selector_finalize):
4229 (_locales_init): remove the logic related to get the name of the months
4230 using nl_langinfo, as it is not required anymore
4232 (_create_year_model)
4233 (_create_month_model)
4234 (_update_day_model): use of strftime in order to fill the model properly
4237 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4239 * src/hildon-button.h
4240 * src/hildon-button.c (hildon_button_get_image): New method to
4243 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-touch-selector.c:
4246 (hildon_touch_selector_remove_column): Remove from the correct parent
4247 and also remove the list element and free it.
4250 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4252 * src/hildon-time-selector.c
4253 (_create_hours_model): change the range on 12h ampm format in order to use
4254 a 12-11 range instead of previous 01-12 range
4255 (hildon_time_selector_set_time): change the way to select the current time
4256 on 12h ampm format, due the change on the range
4257 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4260 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4262 * src/hildon-touch-selector.c
4263 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4264 in order to allow use this function on multiple row selection mode if
4265 the column is different that the first one
4268 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4270 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4271 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4273 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4275 * src/hildon-date-selector.h: clean some comments, now on the .c
4276 * src/hildon-date-selector.c
4277 (hildon_date_selector_select_month): first implementation
4278 (hildon_date_selector_select_day): added documentation, reimplemented
4279 using hildon_date_selector_select_current_date to avoid repeat code
4282 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4284 Reviewed interaction logic based on device experiences, refactored
4287 * src/hildon-pannable-area.c,
4288 (hildon_pannable_area_class_init): Updated default vmax speed.
4289 (hildon_pannable_area_calculate_velocity): Added this function, it
4290 avoids duplicate valocity calculation. Adjusted calculation to
4291 avoid problems with zero dist events.
4293 (hildon_pannable_area_motion_notify_cb): Now we use the
4294 calculate_velocity function.
4296 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4298 * src/hildon-date-selector.c
4299 (hildon_date_selector_select_current_date): fix the day range check
4300 as it failed using the last day of the current month
4303 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4305 * src/hildon-touch-selector.c
4306 (hildon_touch_selector_get_num_columns): added a parameter validation
4309 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4311 * examples/Makefile.am
4312 * examples/hildon-edit-toolbar-example.c: Example of the
4313 HildonEditToolbar widget.
4315 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4317 * configure.ac: postrelease version bump.
4319 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4323 * configure.ac: prerelease version bump.
4324 * debian/changelog: update.
4326 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4328 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4329 renderer to display stock icons in the touch list. Also, set the sizes
4330 to the recommended in the style guide.
4332 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4333 * src/hildon-touch-selector.h
4334 (hildon_touch_selector_set_active_iter): renamed, now is
4335 hildon_touch_selector_select_iter
4336 (hildon_touch_selector_get_active_iter): renamed, now is
4337 hildon_touch_selector_get_selected
4338 (hildon_touch_selector_unselect_iter): added
4339 * src/hildon-touch-selector.c
4340 Update after API modification (methods renamed)
4341 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4342 order to avoid problems selecting multiple elements on the column
4343 (hildon_touch_selector_unselect_iter): added the implementation
4344 * src/hildon-time-selector.c
4345 * src/hildon-date-selector.c
4346 * src/hildon-touch-selector-entry.c
4347 Update methods calls after hildon-touch-selector.h API modification (methods
4350 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4352 * src/hildon-stackable-window.c
4353 (hildon_stackable_window_finalize): Call the parent class's finalize.
4355 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4357 * examples/hildon-touch-selector-example.c: (create_selector): Use
4358 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4361 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4363 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4364 set a cell background color, to respect theming.
4366 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4368 * doc/hildon-docs.sgml
4371 * src/hildon-edit-toolbar.c
4372 * src/hildon-edit-toolbar.h
4373 * src/hildon.h: New HildonEditToolbar widget.
4375 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4377 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4380 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4381 * src/hildon-touch-selector.c
4382 (_create_new_column): use g_object_set instead of two g_object_set_property
4384 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4385 * src/hildon-touch-selector.c
4386 (_create_new_column): use of hildon_gtk_tree_view_new to create
4387 the treeview, instead of use directly g_object_new
4388 (_create_new_column): update the property name "vindicator-mode" for the
4389 new one "vscrollbar-policy"
4390 * examples/hildon-date-button-example.c
4391 * examples/hildon-picker-button-multicolumn-example.c
4392 * examples/hildon-touch-selector-entry-example.c
4393 * examples/hildon-touch-selector-example.c
4394 * examples/hildon-time-button-example.c
4395 * examples/hildon-picker-button-example.c
4396 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4397 to all the treeviews inside a pannable area.
4399 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4401 * src/hildon-button.h
4402 * src/hildon-button.c (hildon_button_init)
4403 (hildon_button_set_arrangement, hildon_button_set_alignment)
4404 (hildon_button_set_title_alignment)
4405 (hildon_button_set_value_alignment)
4406 (hildon_button_set_image_alignment)
4407 (hildon_button_construct_child): New methods to set the alignment
4408 of the individual components of the button (title, value,
4409 image). Also, new method to alter the xscale and yscale properties
4410 of the GtkAlignment inside the button, so more complex layouts can
4413 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4415 * src/hildon-button.c (hildon_button_style_set)
4416 (hildon_button_class_init, hildon_button_set_arrangement)
4417 (hildon_button_construct_child): Apply style properties
4418 correctly. Use the 'image-spacing' style property too.
4420 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4422 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4423 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4426 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4428 * src/hildon-pannable-area.c,
4429 (hildon_pannable_area_size_request): Fixed problem with
4430 pannable-area size_request.
4432 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4434 Added management for the grab-focus to a child widget, like a
4435 range, we need to fade out the scrollbar when releasing.
4437 * src/hildon-pannable-area.c,
4438 (hildon_pannable_area_init): Connected the grab-focus signal to
4440 (hildon_pannable_area_grab_notify): Added this function in order
4441 to manage the situation when the grab-focus ends. We have to
4442 fade-out the scrollbar.
4444 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-app-menu.c: Minor documentation update.
4448 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-app-menu.c
4451 * examples/hildon-app-menu-example.c (create_menu): Update
4452 examples and documentation to explain how to connect callbacks.
4454 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4456 * examples/hildon-button-example.c
4457 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4458 hildon_stackable_window_new instead of gtk_window_new
4460 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4462 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4463 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4464 (hildon_pannable_area_set_property),
4465 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4466 (hildon_pannable_area_unrealize),
4467 (hildon_pannable_area_size_request),
4468 (hildon_pannable_area_size_allocate),
4469 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4470 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4471 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4472 (hildon_pannable_area_initial_effect),
4473 (hildon_pannable_area_redraw),
4474 (hildon_pannable_area_scroll_indicator_fade),
4475 (hildon_pannable_area_expose_event),
4476 (hildon_pannable_area_get_topmost), (synth_crossing),
4477 (hildon_pannable_area_button_press_cb),
4478 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4479 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4480 (hildon_pannable_area_motion_notify_cb),
4481 (hildon_pannable_area_button_release_cb),
4482 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4483 (hildon_pannable_area_remove),
4484 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4485 chage the code layout to a more GtkWidget like. Review the use of
4488 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4490 * examples/hildon-pannable-area-example-4.c,
4491 (main): Modified the name of the hindicator_mode to
4494 * src/hildon-pannable-area.c,
4495 (hildon_pannable_area_class_init),
4496 (hildon_pannable_area_motion_notify_cb),
4497 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4498 we have reduced the amount of signals and managed reviewed its
4499 rationale. Changed the default decelerate value.
4501 (hildon_pannable_area_add),
4502 (hildon_pannable_area_redraw): Refactored functions.
4504 (hildon_pannable_area_init),
4505 (hildon_pannable_area_get_property),
4506 (hildon_pannable_area_set_property):
4507 (hildon_pannable_draw_vscroll),
4508 (hildon_pannable_draw_hscroll),
4509 (hildon_pannable_area_initial_effect),
4510 (hildon_pannable_area_expose_event),
4511 (hildon_pannable_area_scroll),
4512 (hildon_pannable_area_button_press_cb),
4513 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4514 and vindicator_mode with hscrollbar_policy and
4515 vscrollbar_policy. Replaced hscroll and vscroll with
4516 hscroll_visible and vscroll_visible.
4518 (hildon_pannable_area_refresh): Refactor the function, remove
4519 variables and check the calls to this function, added resize
4520 conditions in case the children change their layout.
4522 (hildon_pannable_area_size_request): Added more detailed
4523 size_request calculation.
4526 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4528 * src/hildon-color-chooser.c
4529 (init_borders): use the correct gtk_border_free instead of g_free, to
4530 avoid a crash when this widget is used (ie: the three color selection
4533 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4535 * src/hildon-check-button.c,
4536 (hildon_check_button_set_active): Fixed problem when setting the
4537 active value, the widget was not redrawn.
4539 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4541 * src/hildon-pannable-area.c,
4542 (hildon_pannable_area_refresh),
4543 (hildon_pannable_area_scroll),
4544 (hildon_pannable_area_motion_notify_cb): Small code style change.
4546 (hildon_pannable_area_class_init): Default initial_hint set to
4547 FALSE, it is not in the specs.
4549 (hildon_pannable_area_initial_effect),
4550 (hildon_pannable_area_expose_event),
4551 (hildon_pannable_area_map),
4552 (hildon_pannable_area_init): Moved the launching point of the
4553 initial effect, it was in map but the sizes where not correct in
4554 that method so we do not know if we have the reproduce it. Now it
4555 is placed in the expose_event method and uses a variable to
4556 reproduce it just once.
4558 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4560 * src/hildon-pannable-area.c,
4561 (hildon_pannable_draw_vscroll),
4562 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4563 position allowed for the scrollbars.
4565 (hildon_pannable_area_size_allocate): Small style change.
4567 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4569 * src/hildon-pannable-area.c,
4570 (hildon_pannable_area_scroll_indicator_fade),
4571 (hildon_pannable_area_button_press_cb),
4572 (hildon_pannable_area_button_release_cb),
4573 (hildon_pannable_area_scroll_cb),
4574 (hildon_pannable_area_expose_event),
4575 (hildon_pannable_area_init): Added the define parameter
4576 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4577 and refactor the fade variable.
4579 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4581 * src/hildon-pannable-area.c,
4582 (hildon_pannable_area_redraw),
4583 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4584 lines, we were reimplemeting the redraw code.
4586 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4588 * src/hildon-pannable-area.c,
4589 (hildon_pannable_area_scroll_cb),
4590 (hildon_pannable_area_realize),
4591 (hildon_pannable_area_class_init): Added scroll_event management
4592 for pannable area, now we can scroll the usual desktop method.
4594 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4595 initialization of the parameters should depend on idle_id.
4597 (hildon_pannable_area_init),
4598 (hildon_pannable_area_map): Small code style modifications
4600 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4602 * src/hildon-pannable-area.c
4603 (hildon_pannable_area_button_press_cb),
4604 (hildon_pannable_area_motion_notify_cb),
4605 (hildon_pannable_area_button_release_cb),
4606 (hildon_pannable_area_size_allocate),
4607 (hildon_pannable_area_scroll_to): Improved the timeouts
4608 management, we avoid creating them each time.
4610 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4612 * src/hildon-pannable-area.c:
4613 (hildon_pannable_area_refresh),
4614 (hildon_pannable_area_motion_notify_cb),
4615 (hildon_pannable_area_class_init):
4616 * src/hildon-pannable-area.h:
4617 * src/hildon-touch-selector.c
4618 (_create_new_column):
4619 * examples/hildon-pannable-area-example-4.c:
4620 (horizontal_movement),
4621 (vertical_movement),
4623 Replaced the names of enums in the HildonPannableArea:
4624 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4625 HILDON_MOVEMENT_MODE_*
4626 - HILDON_PANNABLE_AREA_MOV_* ->
4628 - Removed HildonPannableAreaIndicatorMode, now we
4631 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4633 * examples/hildon-pannable-area-touch-grid-example.c
4634 * examples/hildon-pannable-area-touch-list-example.c: Fix
4635 compilation warnings.
4637 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4639 * src/hildon-gtk.c (hildon_gtk_button_new)
4640 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4641 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4642 images overriding the value of the "gtk-button-images" setting.
4644 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4646 * src/hildon-check-button.c (hildon_check_button_new):
4647 Instead of using a custom container, display the label and the
4648 checkbox using the standard GtkButton API.
4650 * examples/hildon-check-button-example.c (main): Don't use
4651 hildon_check_button_set_label() anymore
4653 * src/hildon-check-button.h
4654 * src/hildon-check-button.c
4655 (hildon_check_button_set_label, hildon_check_button_get_label):
4656 Set as deprecated, now we're using gtk_button_{get,set}_label()
4658 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4660 * src/hildon-pannable-area.c,
4661 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4662 GtkTreeview first line we detected it after the inclusion of the
4663 GtkWindowImpl in gtk+. We now check if the window is visible, not
4664 just if the pointer is over the window.
4665 (hildon_pannable_axis_scroll),
4666 (hildon_pannable_area_expose_event): Small style changes.
4668 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4670 * src/hildon-button.c: Update documentation.
4672 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4674 * examples/hildon-button-example.c: Add a switch to show images in
4677 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4679 * doc/hildon-docs.sgml: Some docs reorganization.
4681 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4683 * examples/hildon-pannable-area-touch-list-example.c
4685 * examples/hildon-pannable-area-touch-grid-example.c
4686 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4687 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4688 Fix memory leak when setting the tree model.
4690 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4694 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4696 * doc/hildon.types: Remove duplicated hildon_window_get_type
4697 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4698 documentation comment.
4700 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4702 * doc/Makefile.am: Complete list of private headers.
4704 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4706 * doc/hildon-docs.sgml
4707 * src/hildon-app-menu.c
4708 * src/hildon-bread-crumb.c
4709 * src/hildon-button.c
4711 * src/hildon-program.c
4712 * src/hildon-stackable-window.c
4713 * src/hildon-window.c: Lots of documentation updates.
4715 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4717 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4719 * configure.ac: Require Gtk+ 2.12.9 at least
4721 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4723 * src/hildon-pannable-area.c
4724 (hildon_pannable_area_scroll_indicator_fade),
4725 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4726 to protect the return of this timeout callbacks, avoiding deadlocks.
4728 2008-08-12 Christian Dywan <christian@imendio.com>
4731 * src/hildon-*.h: Ensure a consistent include order,
4732 include <gtk/gtk.h> instead of particular files and
4733 only include the topmost header in the gtk stack. See NB #39857
4735 2008-08-12 Christian Dywan <christian@imendio.com>
4737 * src/hildon-picker-dialog.c
4738 * src/hildon-touch-selector.c: Fix warnings about unused and
4739 uninitialized variables.
4741 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4743 * examples/Makefile.am
4744 * examples/hildon-check-button-example.c: Example of the hildon
4747 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4749 * src/hildon-window.h
4750 * src/hildon-window.c (hildon_window_class_init)
4751 (hildon_window_unset_program): Don't make
4752 hildon_window_unset_program a virtual function anymore.
4754 * src/hildon-stackable-window.c: Update documentation
4756 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4759 * doc/hildon-docs.sgml
4760 * doc/visual_index.xml
4761 * src/hildon-defines.c
4763 * src/hildon-helper.c
4764 * src/hildon-range-editor.c: Lots of documentation fixes.
4766 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4768 * examples/hildon-picker-button-multicolumn-example.c
4769 (create_touch_selector): Fix compilation warning.
4771 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4773 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4774 (hildon_pannable_area_button_release_cb)
4775 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4777 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4779 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4782 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4784 * src/hildon-bread-crumb-trail.h
4785 * src/hildon-date-editor.c
4786 * src/hildon-date-selector.c
4787 * src/hildon-pannable-area.c
4788 * src/hildon-picker-dialog.c
4789 * src/hildon-time-selector.c
4790 * src/hildon-touch-selector-entry.c
4791 * src/hildon-touch-selector.c
4792 * src/hildon-touch-selector.h: Misc documentation fixes
4794 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4796 * examples/hildon-date-editor-example.c (main): Updated date
4799 * examples/hildon-note-example.c (on_confirmation_clicked):
4800 Updated confirmation note example.
4802 * src/hildon-date-editor.c
4803 * src/hildon-note.c: Updated sample programs in documentation.
4806 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4808 * src/hildon-date-button.h:
4809 * src/hildon-picker-button.h:
4810 * src/hildon-time-button.c:
4811 * src/hildon-time-button.h:
4813 Some declarations changes to allow gtk-doc to document the widgets
4816 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4818 * src/hildon-date-button.c: Document the widget.
4819 * src/hildon-time-button.c: Document the widget.
4821 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4823 * src/hildon-picker-button.c: Document the widget.
4824 * src/hildon-touch-selector-entry.c: Document the widget.
4826 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4828 * doc/hildon-docs.sgml
4831 * src/hildon-check-button.h
4832 * src/hildon-check-button.c: New functions to create the Hildon
4836 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4838 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4840 * src/hildon-button.h
4841 * src/hildon-button.c
4842 (hildon_button_add_title_size_group)
4843 (hildon_button_add_value_size_group)
4844 (hildon_button_add_image_size_group)
4845 (hildon_button_add_size_groups): New functions to set size groups
4846 for the button labels and image.
4847 (hildon_button_new_full): Removed
4849 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4851 * src/hildon-time-selector.c
4852 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4853 in order to avoid a crash if gconf is not available
4855 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-button.c (hildon_button_set_arrangement)
4858 (hildon_button_construct_child): Don't construct the button child
4859 before setting the arrangement.
4861 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4863 * src/hildon-program-private.h
4864 * src/hildon-program.c
4865 * src/hildon-program.h
4866 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4867 (hildon_program_peek_window_stack)
4868 (hildon_program_pop_window_stack)
4869 (hildon_program_go_to_root_window): HildonProgram now has a
4870 separate list for stackable windows. Functions are provided to
4871 manage that list with a stack-like API.
4873 * src/hildon-stackable-window.c: Stackable window management is
4874 now much simpler with the new HildonProgram API. Windows no
4875 longer need to be manually added to the program, they're
4876 automatically pushed to the top of the stack when shown.
4878 * examples/hildon-stackable-window-example.c: Updated example to
4879 reflect the API changes.
4881 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4883 * src/hildon-touch-selector.c: Comment out unimplemented
4884 hildon_touch_selector_insert_column() to avoid a compile warning.
4886 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4888 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4889 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4890 (hildon_touch_selector_set_column_selection_mode),
4891 (_hildon_touch_selector_set_model),
4892 (hildon_touch_selector_set_model):
4894 Complete review of HildonTouchSelector documentation.
4896 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4898 * doc/hildon-docs.sgml
4902 * src/hildon-gtk.c: Convenience functions for standard Gtk
4903 widgets, used to easily perform frequent operations.
4905 * src/hildon-button-helpers.h
4906 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4908 * src/hildon-helper.h
4909 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4910 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4912 * src/hildon-button.h
4913 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4915 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-button.c (hildon_button_init)
4918 (hildon_button_set_arrangement, hildon_button_construct_child):
4919 Pack the image and the labels inside the same GtkAlignment so
4920 gtk_button_set_alignment() can be used
4922 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-button.h
4925 * src/hildon-button.c
4926 (hildon_button_init, hildon_button_set_image)
4927 (hildon_button_set_image_position)
4928 (hildon_button_construct_child): New functions to add an image to
4931 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4933 * src/hildon-date-button.c
4934 * src/hildon-picker-button.c
4935 * src/hildon-time-button.c
4936 * src/hildon-button.c:
4937 (hildon_button_class_init): "size-flags" renamed to "size"
4938 (hildon_button_set_title): Hide the title label if set to NULL.
4940 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4942 HildonButtonFlags split into HildonButtonArrangement (to set the
4943 button layout) and HildonSizeType (which can be used for any
4946 * src/hildon-button.h
4947 * src/hildon-button.c
4948 (hildon_button_class_init)
4949 (hildon_button_set_arrangement)
4950 (hildon_button_set_property): New "size-flags"
4951 property. "arrangement-flags" renamed to "arrangement".
4952 (hildon_button_new, hildon_button_new_with_text)
4953 (hildon_button_new_full): Constructors updated to reflect type changes.
4955 * src/hildon-helper.h
4956 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4957 to set the size of a widget.
4961 * src/hildon-button-helpers.c
4962 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4964 * src/hildon-date-button.c
4965 * src/hildon-date-button.h
4966 * src/hildon-picker-button.c
4967 * src/hildon-picker-button.h
4968 * src/hildon-time-button.c
4969 * src/hildon-time-button.h: Updated widgets to reflect
4970 HildonButton API changes.
4972 * examples/hildon-button-example.c
4973 * examples/hildon-date-button-example.c
4974 * examples/hildon-picker-button-example.c
4975 * examples/hildon-picker-button-multicolumn-example.c
4976 * examples/hildon-time-button-example.c
4977 * examples/hildon-touch-selector-entry-example.c
4978 * examples/hildon-touch-selector-example.c: Updated examples to
4979 reflect HildonButton API changes.
4981 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4983 * doc/hildon-docs.sgml:
4985 * examples/Makefile.am:
4986 * examples/hildon-touch-selector-entry-example.c:
4988 * src/hildon-touch-selector-entry.c:
4989 * src/hildon-touch-selector-entry.h:
4992 Moved HildonTouchSelectorEntry from sandbox. Added its
4993 documentation and examples.
4995 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4997 * src/hildon-touch-selector.h:
4998 * examples/hildon-picker-button-multicolumn-example.c:
4999 (hildon_touch_selector_append_text_column): Add a gboolean
5000 parameter to determine if text must be centered in the column.
5002 * src/hildon-date-selector.c: (hildon_date_selector_init):
5003 * src/hildon-time-selector.c: (hildon_time_selector_init):
5004 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5005 (create_touch_selector): Update widgets and example to reflect
5008 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5010 * src/hildon-touch-selector.c:
5011 (hildon_touch_selector_set_active_iter): Set also the cursor in
5014 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5016 * doc/hildon-docs.sgml
5019 * src/hildon-toggle-button.c
5020 * src/hildon-toggle-button.h
5021 * src/hildon.h: Removed HildonToggleButton widget, a derived
5022 class is not necessary for this.
5024 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5026 * src/hildon-pannable-area.c,
5027 (hildon_pannable_area_realize),
5028 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5031 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5033 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5034 "done" button the default widget for the dialog.
5036 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5038 * src/hildon-touch-selector.c:
5039 (hildon_touch_selector_class_init),
5040 (hildon_touch_selector_get_property),
5041 (_hildon_touch_selector_set_model),
5042 (_hildon_touch_selector_has_multiple_selection),
5043 (hildon_touch_selector_has_multiple_selection):
5044 Add a "has-multiple-selection" property with a virtual
5045 has_multiple_selection() method to allow derived classes to
5046 override the default value for it. See the method and property
5047 documentation for details.
5049 * src/hildon-touch-selector.h: Add the new API.
5051 * src/hildon-picker-dialog.c: (requires_done_button): Call
5052 hildon_touch_selector_has_multiple_selection() instead of
5053 determining the need for a button itself.
5055 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5058 (_hildon_touch_selector_set_model),
5059 (hildon_touch_selector_set_model): Move working code to
5060 _hildon_touch_selector_set_mode(). Call the class method instead.
5062 * src/hildon-touch-selector.h: Add (*set_model) to
5063 HildonTouchSelectorClass.
5065 Make hildon_touch_selector_set_model() a virtual method, so that
5066 derived classes can extend it and do fancy stuff with the model.
5068 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5070 * configure.ac: Set back the tarname in AC_INIT to hildon.
5072 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5076 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5077 instead of libesd (NB#86876). Volume handling is still an open issue.
5079 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5082 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5084 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5085 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5086 derived class to ease placement of an entry widget in
5087 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5088 end, where the selector columns are packed now.
5090 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5092 * src/hildon-picker-button.c: Removed the simple _text() API.
5093 * src/hildon-picker-button.h: Likewise.
5095 * src/hildon-touch-selector.h:
5096 * src/hildon-touch-selector.c:
5097 (hildon_touch_selector_new_text),
5098 (hildon_touch_selector_append_text),
5099 (hildon_touch_selector_prepend_text),
5100 (hildon_touch_selector_insert_text):
5102 Moved the simple _text() API from HildonPickerButton to
5103 HildonTouchPicker, to provide better escalability and not to tie
5104 that API to HildonPickerButton.
5106 * examples/hildon-picker-button-example.c: (main): Example updated.
5108 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5110 * src/hildon-button.c: Updated documentation.
5112 * examples/hildon-button-example.c: Add the posibility to create
5113 the buttons using horizontal layout for title and value.
5115 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5117 * src/hildon-app-menu-private.h
5118 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5119 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5120 GtkSizeGroup for the filters, use the 'homogeneous' property of
5123 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5125 * examples/hildon-button-example.c: Updated example.
5127 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5129 * doc/hildon-docs.sgml:
5132 Update documentation.
5134 * examples/Makefile.am: Update renamed examples.
5136 * examples/hildon-picker-button-multicolumn-example.c:
5137 (create_touch_selector), (main): Update after the rename.
5139 * examples/hildon-touch-picker-example.c: Removed.
5140 * examples/hildon-touch-selector-example.c: (value_changed),
5141 (create_selector), (get_visible_content), (main): Renamed from
5142 hildon-touch-picker-example.c
5144 * src/Makefile.am: Updated renamed files.
5146 * src/hildon-date-button.c: (hildon_date_button_init),
5147 (hildon_date_button_get_date), (hildon_date_button_set_date):
5148 * src/hildon-date-selector.c: (hildon_date_selector_init),
5149 (_custom_print_func), (_update_day_model),
5150 (_manage_selector_change_cb),
5151 (hildon_date_selector_select_current_date),
5152 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5153 * src/hildon-date-selector.h:
5154 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5155 (hildon_picker_button_set_property),
5156 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5157 (hildon_picker_button_init), (hildon_picker_button_new_text),
5158 (hildon_picker_button_append_text),
5159 (hildon_picker_button_prepend_text),
5160 (hildon_picker_button_insert_text),
5161 (hildon_picker_button_set_selector),
5162 (hildon_picker_button_get_selector):
5163 * src/hildon-picker-button.h:
5164 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5165 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5166 (_update_title_on_selector_changed_cb), (requires_done_button),
5167 (_hildon_picker_dialog_set_selector),
5168 (hildon_picker_dialog_set_selector),
5169 (hildon_picker_dialog_get_selector):
5170 * src/hildon-picker-dialog.h:
5171 * src/hildon-time-button.c: (hildon_time_button_init),
5172 (hildon_time_button_get_time), (hildon_time_button_set_time):
5173 * src/hildon-time-selector.c: (hildon_time_selector_init),
5174 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5175 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5176 * src/hildon-time-selector.h:
5179 Massive code updates after the rename.
5181 * src/hildon-touch-picker.c: Removed.
5182 * src/hildon-touch-picker.h: Removed.
5184 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5185 (hildon_touch_selector_init), (hildon_touch_selector_map),
5186 (hildon_touch_selector_remove), (_default_print_func),
5187 (_selection_changed_cb), (_create_new_column),
5188 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5189 (hildon_touch_selector_append_text_column),
5190 (hildon_touch_selector_remove_column),
5191 (hildon_touch_selector_set_column_attributes),
5192 (hildon_touch_selector_insert_column),
5193 (hildon_touch_selector_get_num_columns),
5194 (hildon_touch_selector_get_column_selection_mode),
5195 (hildon_touch_selector_set_column_selection_mode),
5196 (hildon_touch_selector_set_print_func),
5197 (hildon_touch_selector_get_print_func),
5198 (hildon_touch_selector_get_active_iter),
5199 (hildon_touch_selector_set_active_iter),
5200 (hildon_touch_selector_get_selected_rows),
5201 (hildon_touch_selector_get_model),
5202 (hildon_touch_selector_set_model),
5203 (hildon_touch_selector_get_current_text),
5204 (_hildon_touch_selector_center_on_selected_items):
5205 * src/hildon-touch-selector.h: Renamed from
5206 hildon-touch-picker.[ch]
5208 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5209 references, code examples, and related documentation.
5211 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5213 * doc/hildon-docs.sgml
5216 * src/hildon-toggle-button.c
5217 * src/hildon-toggle-button.h
5218 * src/hildon.h: New HildonToggleButton widget.
5220 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5222 * src/hildon-button.c: Add API documentation.
5223 (hildon_button_set_size_groups): Check input parameters
5225 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5227 * src/hildon-pannable-area.c
5228 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5229 effect after reaching the movement thredshold. This way we start
5230 using the distance after passing the thredshold.
5232 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5234 * src/hildon-button.c: (hildon_button_set_property): Use the
5235 appropriate g_value_get_flags() method.
5237 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5239 * doc/hildon-docs.sgml:
5242 Add the touch pickers, picker dialogs, and picker button widgets
5243 to the documentation.
5245 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5247 * src/hildon-button.c: (hildon_button_set_property),
5248 (hildon_button_class_init): Make "arrangement-flags" a proper
5249 G_TYPE_FLAGS derived property.
5251 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5253 * examples/Makefile.am: Add below examples.
5254 * examples/hildon-date-button-example.c:
5255 * examples/hildon-picker-button-example.c:
5256 * examples/hildon-picker-button-multicolumn-example.c:
5257 * examples/hildon-time-button-example.c:
5258 * examples/hildon-touch-picker-example.c:
5260 Add examples for the recently added touch pickers,
5261 picker dialogs, and picker button widgets.
5263 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-button.c: Add some API documentation
5267 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5269 * src/hildon-button.h
5270 * src/hildon-button.c
5272 (hildon_button_new_with_text): New constructor to create a button
5273 with no text at all.
5274 (hildon_button_init, hildon_button_set_arrangement)
5275 (hildon_button_set_title, hildon_button_set_value)
5276 (hildon_button_set_text)
5277 (hildon_button_construct_child): Hide the value when it's not used
5278 so the rest of the text is properly aligned.
5279 Allow creating buttons with arbitrary widgets inside (not just
5280 title/value labels).
5282 * examples/hildon-button-example.c (vertical_buttons_window)
5283 (horizontal_buttons_window): Update example to use new API.
5285 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/Makefile.am: Added HildonTimeButton.
5288 * src/hildon-time-button.c: Added missing LGPL header.
5289 * src/hildon-time-button.h: Added missing LGPL header.
5290 * src/hildon.h: Add hildon-time-button.h
5292 Copied HildonTimeButton from sandbox to trunk. Future work on this
5293 widget must take place in trunk.
5295 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5297 * src/Makefile.am: Added HildonDateButton.
5298 * src/hildon-date-button.c: Update includes.
5299 * src/hildon.h: Add hildon-date-button.h
5301 Copied HildonDateButton from sandbox to trunk. Future work on this
5302 widget must take place in trunk.
5304 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5306 * src/Makefile.am: Added HildonPickerButton.
5307 * src/hildon-picker-button.h: Update includes.
5308 * src/hildon.h: Add hildon-picker-button.h
5310 Copied HildonPickerButton from sandbox to trunk. Future work on
5311 this widget must take place in trunk.
5313 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5315 * src/Makefile.am: Added HildonPickerDialog.
5316 * src/hildon-picker-dialog.c: Update includes.
5317 * src/hildon.h: Add hildon-picker-dialog.h
5319 Copied HildonPickerDialog from sandbox to trunk. Future work
5320 on this widget must take place in trunk.
5322 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5324 * src/Makefile.am: Added HildonTimeSelector.
5325 * src/hildon.h: Add hildon-time-selector.h
5327 Copied HildonTimeSelector widget from sandbox to trunk. Future
5328 work on this widget must happen in trunk.
5330 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/Makefile.am: Added HildonDateSelector.
5333 * src/hildon.h: Add hildon-date-selector.h
5335 Copied HildonDateSelector widget from sandbox to trunk. Future
5336 work on this widget must happen in trunk.
5338 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5340 * src/Makefile.am: Added HildonTouchPicker.
5341 * src/hildon-touch-picker.c: Update includes.
5342 * src/hildon.h: Add hildon-touch-picker.h
5344 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5345 on this widget must happen in trunk.
5347 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5349 * src/hildon-pannable-area.c:
5350 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5352 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5354 * examples/hildon-app-menu-example.c (main): Let the window
5357 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5359 * src/hildon-pannable-area.c
5360 (hildon_pannable_area_class_init): Set the min value of the
5361 overshoot properties to zero, which points out that not
5362 overshooting allowed.
5364 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5366 Modified the procedure to get the widget at a point inside the
5367 pannable area when using the movement type signals. Now the user
5368 has to call a function to get the child, that way we just
5369 calculate the child in case the user really want to use it and not
5372 * src/hildon-marshalers.list: Modified the marshallers, now we do
5373 not have the widget as a parameter.
5375 * src/hildon-pannable-area.c
5376 (hildon_pannable_area_motion_notify_cb),
5377 (hildon_pannable_area_class_init),
5378 (hildon_pannable_get_child_widget_at): Removed the widget
5379 parameter from the signal callback. We have also refactored the
5380 emission of the signals.
5382 * src/hildon-pannable-area.h: Added a new method to the API to
5383 calculate a widget at a point inside the pannable area,
5384 hildon_pannable_get_child_widget_at.
5386 * examples/hildon-pannable-area-example-4.c
5387 (horizontal_movement): Modified the example to use the new API,
5388 added condition to control which widget is under the event. This
5389 way we can avoid scrolling laterally over other widgets.
5391 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5393 * src/hildon-pannable-area.c
5394 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5395 modes, we stop getting the pointer events due to returning the
5396 callback without properly calling the get pointer again. Fixed
5397 also an error using the hscroll and vscroll.
5399 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5401 * src/hildon-app-menu-private.h
5402 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5403 (hildon_app_menu_button_release, hildon_app_menu_init)
5404 (hildon_app_menu_class_init): Don't hide the menu on button
5405 release if the user didn't press outside first.
5407 * src/hildon-window.h
5408 * src/hildon-window.c (hildon_window_toggle_menu)
5409 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5410 hildon_window_toggle_menu a virtual function for the stackable
5411 window to override it.
5413 * src/hildon-stackable-window.h
5414 * src/hildon-stackable-window-private.h
5415 * src/hildon-stackable-window.c
5416 (hildon_stackable_window_realize)
5417 (hildon_stackable_window_finalize)
5418 (hildon_stackable_window_class_init)
5419 (hildon_stackable_window_init)
5420 (hildon_stackable_window_set_main_menu): New function to set the
5421 app menu of a HildonStackableWindow.
5423 * examples/hildon-app-menu-example.c: Remove the button to show
5424 the app menu, now it'll be shown when clicking on the title bar
5427 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5429 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5430 set the widget name if the arrangement flags do not specify
5433 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5435 * src/hildon-button.c: (hildon_button_set_property),
5436 (hildon_button_class_init), (hildon_button_new_full),
5437 (hildon_button_set_arrangement): Added "arrangement-flags"
5440 Make the HildonButtonFlags a construction-only property, to allow
5441 subclasses to set them properly.
5443 2008-07-21 Tim Janik <timj@imendio.com>
5445 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5446 insertion position after backspace, so additional digits are appended,
5449 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5451 * src/hildon-pannable-area.c,
5452 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5453 TODO list, it was complete and removed the g_debug and g_print
5456 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5458 Added the movement modes to the hildon-pannable-area, with this
5459 modes the developers can control in which directions the widget
5460 can scroll. They can also connect to signals in order to do
5461 something when that happens, allowing applications scroll. There
5462 is an example uploaded showing how to use it.
5464 * examples/Makefile.am:
5465 * examples/hildon-pannable-area-example-4.c: Added this example of
5466 an application using the modes.
5468 * src/hildon-marshalers.list: Added a new marshaller for the new
5471 * src/hildon-pannable-area.h: Added new enumerations and flags in
5472 order to control the movement modes and the new signals to warn
5473 about the movements in the area.
5475 * src/hildon-pannable-area.c:
5476 (hildon_pannable_axis_scroll),
5477 (hildon_pannable_area_scroll),
5478 (hildon_pannable_area_motion_notify_cb),
5479 (hildon_pannable_area_get_property),
5480 (hildon_pannable_area_set_property),
5481 (hildon_pannable_area_map),
5482 (hildon_pannable_area_class_init),
5483 (hildon_pannable_area_init),
5484 (hildon_pannable_area_jump_to): Added the modes to control the
5485 movement in the widget. We have added properties to control it,
5486 signals to warn about the movements and refactored some code.
5488 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5490 Changes required in order to allow vfast_factor set to zero to
5493 * src/hildon-pannable-area.c:
5494 (hildon_pannable_area_button_press_cb): Changed the condition, it
5495 is required for not allowing click when vfast_factor is zero.
5496 (hildon_pannable_area_timeout): Initialized velocity variables
5497 when we stop moving, it was less than 1 but not zero and we need
5498 to check zero in some situations.
5499 (hildon_pannable_area_class_init): Changed the default value of
5500 the speed factor, now the button_press is just sent in case the
5501 speed is 2 per cent of the max speed.
5502 (hildon_pannable_area_init): Initialization with 0.
5504 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5506 * src/hildon-pannable-area.c,
5507 (hildon_pannable_area_get_topmost): replaced
5508 gdk_window_get_children with gdk_window_peek_children, this way we
5509 do not have to free the list because it is not a copy.
5511 (hildon_pannable_axis_scroll),
5512 (hildon_pannable_area_scroll),
5513 (hildon_pannable_area_timeout),
5514 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5515 two parameters that were only used inside the
5516 hildon_pannable_area_scroll function.
5518 * examples/hildon-pannable-area-example.c,
5519 (get_sawtooth_label): Fixed small memory leak.
5521 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5523 More checks for the case where the overshoot is bigger than the
5526 * src/hildon-pannable-area.c:
5527 (hildon_pannable_draw_vscroll),
5528 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5529 to draw the slider of the scrollbar under the other scrollbar.
5530 (hildon_pannable_area_expose_event): added new checks to control
5531 the drawing of the overshooting area rectangle, in case it is too
5532 big for the area of the widget.
5533 (hildon_pannable_area_size_allocate): add more checks to avoid
5534 setting a position to the child widget outside the area.
5536 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5538 * src/hildon-pannable-area.c
5539 (hildon_pannable_area_size_allocate): Added conditions to control
5540 when overshooting is bigger than the allocated space for the
5541 children, this avoids negative allocations.
5543 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5545 * doc/hildon-docs.sgml
5547 * examples/Makefile.am
5548 * examples/hildon-button-example.c
5550 * src/hildon-button.c
5551 * src/hildon-button.h
5552 * src/hildon.h: Initial version of the new HildonButton widget,
5555 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5557 * src/hildon-pannable-area.c:
5558 (hildon_pannable_area_button_press_cb),
5559 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5560 (hildon_pannable_area_motion_notify_cb),
5561 (hildon_pannable_area_button_release_cb),
5562 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5563 (hildon_pannable_area_jump_to_child):
5565 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5567 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5569 * examples/Makefile.am
5570 * examples/hildon-pannable-area-touch-grid-example.c
5571 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5572 the Hildon Touch List and Hildon Touch Grid using the
5573 HildonPannableArea widget.
5575 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5577 * src/hildon-pannable-area.c,
5578 (hildon_pannable_area_button_press_cb),
5579 (hildon_pannable_area_refresh),
5580 (hildon_pannable_area_scroll),
5581 (hildon_pannable_area_motion_notify_cb),
5582 (hildon_pannable_area_button_release_cb),
5583 (hildon_pannable_area_expose_event),
5584 (hildon_pannable_area_add),
5585 (hildon_pannable_area_remove),
5586 (hildon_pannable_area_realize),
5587 (hildon_pannable_area_size_allocate),
5588 (hildon_pannable_area_class_init),
5589 (hildon_pannable_area_init),
5590 (hildon_pannable_area_scroll_to_child),
5591 (hildon_pannable_area_jump_to_child): Fixed the problem of
5592 removing the child from the GtkBin, we have rearranged the widget
5593 hierarchy, now there is no GtkAlignment which was not doing
5594 anything interesting but breaking some of the assumptions of
5595 GtkContainer. Now developers if they want to add a GtkAlignment
5596 they could, but it is not inside the area.
5598 We had to review the whole allocation/expose process, now it is
5599 improved and we save at least three signals which would be saving
5600 some time when rendering the widget. The allocation of the
5601 scrollbars is now made in the allocate method as usual.
5603 We have also added some conditions in order to control when there
5604 is no child of the pannable area. Maybe we will need more work
5607 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5609 * src/hildon-pannable-area.c,
5610 (hildon_pannable_area_dispose): Released the fade-out timeout when
5611 disposing the widget.
5613 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5615 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5616 zero, we are going to use that property in order to deactivate the
5618 (hildon_pannable_axis_scroll),
5619 (hildon_pannable_area_size_allocate): Added conditions to control
5620 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5621 call, now it is called in all situations and we can remove calls
5622 in the allocate method.
5623 (hildon_pannable_area_map): Control the situation when
5624 overshoot_max is zero, we do not need the timeout.
5625 (hildon_pannable_area_class_init): Added documentation in order to
5626 point out that setting zero to overshoot_max means deactivate
5629 NOTE: removed trailing whitespaces from my previous comments of
5632 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5634 * src/hildon-pannable-area.c
5635 (hildon_pannable_area_get_property),
5636 (hildon_pannable_area_set_property),
5637 (hildon_pannable_area_map),
5638 (hildon_pannable_area_class_init),
5639 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5640 to cause the widget give a hint about its panning abilities upon
5643 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5645 * src/hildon-pannable-area.c: Several documentation improvements.
5647 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-program.c
5650 * src/hildon-stackable-window.c: Update documentation.
5652 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5654 * src/hildon-stackable-window.c (get_previous_window_if_last):
5655 Renamed get_last_window()
5656 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5657 (hildon_stackable_window_unset_program):
5659 (get_previous_window_if_last):
5660 Detect if the window hasn't been added to a HildonProgram.
5662 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5664 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5666 * src/hildon-pannable-area.c
5667 (hildon_pannable_area_button_press_cb),
5668 (hildon_pannable_axis_scroll),
5669 (hildon_pannable_area_scroll),
5670 (hildon_pannable_area_timeout),
5671 (hildon_pannable_calculate_vel_factor),
5672 (hildon_pannable_area_get_property),
5673 (hildon_pannable_area_set_property),
5674 (hildon_pannable_area_class_init),
5675 (hildon_pannable_area_init),
5676 (hildon_pannable_area_scroll_to),
5677 (hildon_pannable_area_jump_to),
5678 (hildon_pannable_area_scroll_to_child),
5679 (hildon_pannable_area_jump_to_child):
5680 * src/hildon-pannable-area.h: Added the new API functions:
5681 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5682 hildon_pannable_area_scroll_to_child,
5683 hildon_pannable_area_jump_to_child
5686 * examples/Makefile.am
5687 * examples/hildon-pannable-area-example-2.c
5688 * examples/hildon-pannable-area-example-3.c: Added these two new
5689 examples in order to test and show how the new APIs work.
5691 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5693 * examples/hildon-stackable-window-example.c (new_window):
5694 * src/Makefile.am (noinst_HEADERS):
5695 * src/hildon-program.c (hildon_program_go_to_root_window):
5696 * src/hildon-program.h:
5697 * src/hildon-stackable-window-private.h:
5698 * src/hildon-stackable-window.c:
5699 * src/hildon-stackable-window.h:
5700 Create hildon-stackable-window-private.h
5701 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5703 * examples/hildon-app-menu-example.c (create_menu):
5704 * examples/hildon-hvolumebar-insensitive-example.c (main):
5705 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5706 * examples/hildon-toolbar-seekbar-example.c (main):
5707 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5708 * src/hildon-banner.c (hildon_banner_set_property):
5709 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5710 Fix compilation warnings
5712 * src/hildon-window.c:
5715 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5717 * src/hildon-stackable-window.c
5718 (hildon_stackable_window_unset_program):
5719 Calculate correctly whether to show the previous window if the
5720 last one is removed from the stack.
5721 (hildon_stackable_window_go_to_root_window):
5722 Send delete events starting from the topmost window.
5723 Stop if one of the windows is not destroyed.
5725 (hildon_stackable_window_delete_event)
5726 (hildon_stackable_window_class_init):
5727 Ignore the delete event if the window is not the topmost one.
5729 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5731 * src/hildon-pannable-area.c
5732 (hildon_pannable_area_expose_event): Fixed a problem when
5733 selecting the background color of the scrollbars.
5735 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5737 * examples/hildon-stackable-window-example.c
5738 * src/hildon-stackable-window.c
5739 * src/hildon-stackable-window.h
5740 hildon_stackable_window_go_home() renamed to
5741 hildon_stackable_window_go_to_root_window()
5742 Send delete events to windows rather than closing them with
5743 gtk_widget_destroy()
5745 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5747 * src/hildon-pannable-area.c
5748 (hildon_pannable_area_button_release_cb): Fix overshooting in
5751 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5753 * src/hildon-pannable-area.c
5754 (hildon_pannable_area_init): Initially show the scroll indicators.
5755 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5757 Add initial effect showing the widget is pannable.
5759 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5761 * src/hildon-pannable-area.c
5762 (hildon_pannable_area_class_init)
5763 (hildon_pannable_area_set_property)
5764 (hildon_pannable_area_get_property)
5765 (hildon_pannable_area_button_press_cb):
5766 New 'velocity_fast_factor' property to decide which velocity is
5769 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5771 * src/hildon-pannable-area.c
5772 (hildon_pannable_draw_hscroll)
5773 (hildon_pannable_draw_vscroll):
5774 Use float variables to calculate the size of the scrollbars to
5775 avoid error propagation and resizing during scrolling.
5777 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-pannable-area.c
5780 (hildon_pannable_draw_vscroll)
5781 (hildon_pannable_draw_hscroll):
5782 Define a minimum size for the scroll bars
5784 * src/hildon-stackable-window.c
5785 (hildon_stackable_window_go_home): Fix compilation warning
5786 (get_last_window): Minor optimizations
5787 (hildon_stackable_window_class_init): Fix initialization of
5790 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5792 * src/hildon-stackable-window.c: Fixed typos in doc
5794 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5796 * src/hildon-pannable-area.c
5797 (hildon_pannable_area_scroll):
5798 Calculate here whether we need to scroll instead of using the booleans
5799 that tell us whether to /draw/ the scrolling bars.
5801 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5803 * src/hildon-app-menu.h
5805 * src/hildon-app-menu.c
5806 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5807 multiple filter groups related code and API. Now we support only
5809 * examples/hildon-app-menu-example.c:
5811 Update to reflect API changes.
5813 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5815 * src/hildon-stackable-window.c
5816 (hildon_stackable_window_class_init):
5817 Add hildon_stackable_window_realize.
5818 (hildon_stackable_window_realize):
5819 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5820 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5821 to apply theming and behavior specific to HildonStackableWindow
5824 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5826 * src/hildon-note.c (hildon_note_button_release):
5827 Close information notes also when tapping on them
5829 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5831 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5832 ELASTICITY, refactor and review, fix some issues with drawing
5835 * src/hildon-pannable-area.c:
5836 (hildon_pannable_area_button_press_cb): removed the conditions to
5837 avoid clicks when overshooting. It is not required
5839 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5840 define. Refatored and reviewed the code, now we do not need to
5841 manage velocity in motion_notify.
5843 (hildon_pannable_area_motion_notify_cb): We have moved the code
5844 that controls the area_scroll to the axis_scroll function and get
5845 rid of duplicated code.
5847 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5849 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5851 (hildon_pannable_draw_vscroll),
5852 (hildon_pannable_draw_hscroll): Fixed the problems with the
5853 scrollbar drawing, now we do not use two surfaces, it is easier
5854 and saves resources.
5856 (hildon_pannable_area_get_property): Style modification.
5858 (hildon_pannable_area_class_init): Changed some default values.
5860 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5862 * src/hildon-stackable-window.c: Fix some typos in the
5865 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-dialog.c:
5868 Change indentation style
5871 (hildon_note_button_release):
5872 Use root coordinates to check if the release event happened
5875 * src/hildon-app-menu.c
5876 (hildon_app_menu_button_release):
5877 Remove unnecessary check
5879 * examples/hildon-app-menu-example.c
5881 Add cast to fix warning
5883 * src/hildon-app-menu.c
5884 (hildon_app_menu_class_init):
5885 New inner-border style property.
5886 Set all default spacings to 16
5887 (hildon_app_menu_init):
5888 Use vertical-spacing to set the space between filter buttons and
5889 regular menu buttons.
5890 Set the default container border using the inner-border value.
5892 * examples/hildon-app-menu-example.c
5894 Don't set the menu border explicitly, now we have the inner-border
5895 style property for that.
5897 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5899 * src/hildon-app-menu.c (hildon_app_menu_init):
5900 Make the window modal
5902 * src/hildon-note.c (hildon_note_map)
5903 * src/hildon-app-menu.c (hildon_app_menu_map):
5904 Destroy the grab window if we're unable to grab the pointer
5906 * src/hildon-app-menu-private.h
5907 * src/hildon-app-menu.c
5908 (hildon_app_menu_init, hildon_app_menu_finalize)
5909 (hildon_app_menu_map, hildon_app_menu_unmap)
5910 (hildon_app_menu_button_release)
5911 (grab_transfer_window_get):
5912 Bring back the grab window
5913 (hildon_app_menu_realize):
5914 Decorate the window, set WM hint for Matchbox
5916 * src/hildon-note.c (hildon_note_realize):
5917 * src/hildon-banner.c (hildon_banner_realize):
5918 Add WM hints for Matchbox
5920 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5922 * src/hildon-app-menu-private.h
5923 * src/hildon-app-menu.c
5924 (hildon_app_menu_init, hildon_app_menu_finalize)
5925 (hildon_app_menu_map, hildon_app_menu_unmap)
5926 (hildon_app_menu_button_release):
5927 Remove the grab window, it's not needed anymore
5929 * src/hildon-program.c
5930 Fixed typo in documentation
5932 * src/hildon-app-menu.h
5933 * src/hildon-app-menu.c
5934 * examples/hildon-app-menu-example.c
5935 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5937 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5940 Added new transfer_window and close_if_pressed_outside private
5942 (hildon_note_rebuild):
5943 Don't add a cancel button to the information note. It will be
5944 closed when tapping outside
5945 Remove the comment about the OK button in the documentation
5946 (hildon_note_realize):
5947 Set the notification type hint
5948 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5949 Grab/ungrab pointer and keyboard if the note has to be closed when
5951 (hildon_note_button_release):
5952 Close the note when tapping outside (if applicable)
5954 * src/hildon-app-menu.c
5955 Grab/ungrab pointer and keyboard on map/unmap
5956 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5957 Close the menu on button release, not button press
5959 * src/hildon-banner.c
5960 (hildon_banner_set_property)
5961 (hildon_banner_check_position):
5962 Make the banner use the full width of the screen
5963 (hildon_banner_show_information)
5964 (hildon_banner_show_information_with_markup):
5965 Don't display an icon by default
5967 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5969 Added fading scrollbars and adapted all the overshooting code to
5970 horizontal scrolling. We have also fixed bugs with overshooting
5971 and current fading implementation.
5973 * src/hildon-pannable-area.c
5974 (hildon_pannable_area_scroll_indicator_fade): Time out function
5975 used to change the transparency of the scrollbars.
5977 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5978 control and fixed a problem with fading, we now remove the fade
5979 timeout before adding a new one.
5981 (hildon_pannable_axis_scroll):
5982 (hildon_pannable_area_scroll):
5983 (hildon_pannable_area_timeout): Added this functions so we can use
5984 the scroll code both for vertical and horizontal.
5986 (hildon_pannable_area_motion_notify_cb):
5987 (hildon_pannable_area_button_release_cb): Added the horizontal
5988 scrolling control, fixed a problem with the overshooting timeout.
5990 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5991 painting of the scrolls.
5993 (hildon_pannable_draw_vscroll):
5994 (hildon_pannable_draw_hscroll):
5995 (hildon_pannable_area_expose_event):
5996 Draw both scrollbars and rectangles in the overshooting area.
5998 (hildon_pannable_area_get_property):
5999 (hildon_pannable_area_set_property):
6000 Modified the overshoot property to overshoot_max
6002 (hildon_pannable_area_map):
6003 Replaced the comments symbols.
6005 (hildon_pannable_area_size_allocate):
6006 (hildon_pannable_area_class_init):
6007 (hildon_pannable_area_init): Added horizontal scroll, fading
6008 effect properties, fixed a problem when overshooting in the bottom
6011 * examples/hildon-pannable-area-example.c:
6012 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6013 looks better in the example.
6015 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6017 * src/hildon-window.c
6018 * src/hildon-window.h
6019 (hildon_window_class_init)
6020 (hildon_window_unset_program)
6021 (hildon_window_unset_program_real):
6022 Make unset_program a virtual function
6024 * src/hildon-stackable-window.c
6025 * src/hildon-stackable-window.h
6026 Added hildon_stackable_window_go_home()
6028 * examples/Makefile.am
6029 * examples/hildon-stackable-window-example.c
6030 HildonStackableWindow example
6032 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6034 * hildon-pannable-area.c: Added the overshoot property and removed
6035 the OVERSHOOT define. Fixed an indent style error.
6036 (hildon_pannable_area_motion_notify_cb):
6037 (hildon_pannable_area_get_property):
6038 (hildon_pannable_area_set_property): Add overshoot property.
6040 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6043 (hildon_pannable_area_class_init): Installed the new property.
6045 * hildon-pannable-area-example.c: Added a sawtooth function, this
6046 way it is easier to check the movement in the pannable.
6047 (get_sawtooth_label): Added this function.
6048 (main): Now we get the labels from the new get_sawtooth_label
6051 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6053 * src/hildon-app-menu.h
6054 * src/hildon-app-menu.c
6055 Renamed API variables for consistency
6057 (hildon_app_menu_popup): Use also the default window size to
6058 decide where to place the menu
6060 (hildon_app_menu_init, hildon_app_menu_class_init): New
6061 external-border style property
6063 2008-05-26 Michael Natterer <mitch@imendio.com>
6065 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6066 widget_class->tap_and_hold_setup signal slot doesn't exist any
6067 longer, stop overriding it.
6069 (hildon_time_editor_init): g_signal_connect() to the
6070 tap-and-hold-setup signal instead.
6072 (hildon_time_editor_entry_keypress): add cast to fix warning.
6074 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6076 * doc/hildon-docs.sgml
6078 * examples/Makefile.am
6079 * examples/hildon-app-menu-example.c
6081 * src/hildon-app-menu-private.h
6082 * src/hildon-app-menu.c
6083 * src/hildon-app-menu.h
6085 New HildonAppMenu widget
6087 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6089 Rearranged the inheritance of the pannable area, now it inherits
6090 from GtkBin. This will allow us to control the event_window and
6091 the allocation process of the widget, required for some effects.
6093 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6094 GtkBin structures. * src/hildon-pannable-area.c: Added the
6095 event_window variable.
6096 (hildon_pannable_area_button_press_cb):
6097 (hildon_pannable_area_button_release_cb):
6098 (hildon_pannable_area_motion_notify_cb):
6099 Changed the signature of the method, now we override the event
6100 callback instead of connecting to the signal.
6102 (hildon_pannable_area_realize):
6103 (hildon_pannable_area_unrealize):
6104 (hildon_pannable_area_map):
6105 (hildon_pannable_area_unmap):
6106 (hildon_pannable_area_size_allocate):
6107 Added functions to control the widget construction. We add a
6108 INPUT_ONLY window and we put it over the widgets inside the
6109 container, this event_window handles the events.
6111 (hildon_pannable_area_class_init):
6112 Replaced the signal connections with overrides of the event
6115 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6117 Bouncing effect added when touching the borders, you can change
6118 the elasticity of the border changing the ELASTICITY define.
6120 * src/hildon-pannable-area.c: Added ELASTICITY define.
6121 (hildon_pannable_area_timeout): Added inverse velocity when
6122 touching the border of the child widget, that causes a bounce.
6124 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6126 Improved performance, we now do not go to the X server in order to
6127 get the list of window children. Apparently the effect is the
6128 same, we have to be careful and check if this breaks something in
6131 * src/hildon-pannable-area.c:
6132 (get_ordered_children): Removed this function.
6133 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6134 the children windows function with gdk_window_get_children.
6136 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6138 * src/hildon-pannable-area.c:
6139 (hildon_pannable_area_dispose): Fixed a crash when closing the
6140 window and kinetics is activated.
6142 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6144 * src/hildon-pannable-area.h
6145 * src/hildon-pannable-area.c
6146 Changed indentation style to meet the one used in Hildon
6148 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6150 Reviewed the interaction of the AUTO mode, now we use the time
6151 attribute of the events and calculate the velocity in the motion,
6152 doing a gimp like calculation. The velocity is calculated in each
6153 motion event using the last velocity and the current one, the
6154 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6156 * src/hildon-pannable-area.c: Replaced the time based algorithm
6158 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6159 timeout for the AUTO mode when we are still moving the cursor. We
6160 added also the velocity calculation in this function.
6161 (hildon_pannable_area_button_release_cb): launch the timeout in
6162 case we are in AUTO mode. There are still some constants here that
6163 come from the old implementation that should be reviewed and
6166 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6168 * doc/hildon-docs.sgml
6171 * src/hildon-stackable-window.c
6172 * src/hildon-stackable-window.h
6174 New HildonStackableWindow widget
6176 * examples/hildon-dialog-example.c
6177 * examples/hildon-pannable-area-example.c
6180 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-dialog.c
6183 (hildon_dialog_new_with_buttons): New constructor.
6185 * examples/hildon-dialog-example.c
6186 (main): Update the example to use the new
6187 hildon_dialog_new_with_buttons().
6189 * examples/hildon-pannable-area-example.c
6190 (main): Update example.
6192 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6194 * doc/hildon-docs.sgml
6196 Added HildonPannableArea to the documentation.
6198 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6200 * doc/visual_index.xml
6201 Fix reference to HildonLoginDialog in documentation
6203 * doc/hildon-docs.sgml
6205 * examples/Makefile.am
6206 * examples/hildon-dialog-example.c
6208 * src/hildon-dialog.c
6209 * src/hildon-dialog.h
6211 New HildonDialog widget.
6213 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6215 * src/hildon-pannable-area.c
6216 Merge latest changes (r4318, r4342) from libmokoui trunk
6218 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6220 * examples/Makefile.am
6221 * examples/hildon-pannable-area-example.c
6223 * src/hildon-pannable-area.c
6224 * src/hildon-pannable-area.h
6226 New HildonPannableArea widget.
6228 2008-04-15 18:05:19 <timj@imendio.com>
6230 * src/hildon-banner.c: revert the recent change, that introduced
6231 gtk_window_present() calls. this reopens:
6232 Bug 78481 - [freetest] information banners are hidden under browser menu
6233 But resolves another variant of:
6234 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6236 2008-04-15 13:21:13 <timj@imendio.com>
6238 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6239 recreated its layout, spotted by Kris. this fixes all remaining
6240 artefacts and stability issues with the banner code. in particular:
6241 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6243 2008-04-14 16:52:59 <timj@imendio.com>
6245 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6246 operating on unrealized widgets, fixes:
6247 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6249 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6251 2008-04-09 Kristian Rietveld <kris@imendio.com>
6253 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6254 makes banner disappear.
6255 Fixes: NB#79182: info banner flickering with certain message lengts.
6257 * src/hildon-banner.c (hildon_banner_constructor),
6258 (hildon_banner_init), (hildon_banner_set_text),
6259 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6260 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6261 FALSE, reset size requests of label and banner,
6262 (force_to_wrap_truncated): when the text is too wide, always enforce
6263 the maximum possible width instead of recalculating it from the
6264 layout; enforce the maximum banner height of 3 lines,
6265 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6266 nicer wrapping and no truncated chars if space gets tight.
6268 * src/hildon-banner-private.h: add has_been_wrapped and
6269 has_been_truncated fields.
6271 2008-04-07 Sven Herzberg <sven@imendio.com>
6273 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6274 local values in hildon_date_editor_size_allocate
6276 * src/hildon-date-editor.c: moved the real allocation code into the
6279 2008-04-07 Sven Herzberg <sven@imendio.com>
6281 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6282 local values in hildon_date_editor_size_allocate
6284 * src/hildon-date-editor.c: merged the two if() branches together
6286 2008-04-07 Sven Herzberg <sven@imendio.com>
6288 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6289 local values in hildon_date_editor_size_allocate
6291 * src/hildon-date-editor.c: changed the arguments of the if()
6294 2008-04-07 Sven Herzberg <sven@imendio.com>
6296 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6297 local values in hildon_date_editor_size_allocate
6299 * src/hildon-date-editor.c: split the calculation of the allocation
6300 from the real allocation
6302 2008-03-27 Michael Natterer <mitch@imendio.com>
6304 Fixes: NB#81696: The passcode is not overwritten even after
6307 * src/hildon-code-dialog.c
6308 (hildon_code_dialog_button_clicked)
6309 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6310 because that doesn't overwrite selected text. Instead, emit the
6311 "commit" signal on the entry's im_context so the entry's normal
6312 insert logic is triggered. Set the cursor to the end of the entry
6313 after each insert operation so that we *only* insert in the middle
6314 of the text if something was selected.
6316 2008-03-27 Michael Natterer <mitch@imendio.com>
6318 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6319 selector cannot be opened
6321 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6322 when the popup color selector is created. Please connect to this
6323 signal in order to set the dialog's help ID.
6325 2008-03-25 Sven Herzberg <sven@imendio.com>
6327 Fixes: MB#1212: Hide info banners (infoprints) on click
6329 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6330 extracted the close event simulation into an extra function
6331 (hildon_banner_button_press_event): simulate a close event and destroy
6332 the widget if the event wasn't handled
6333 (hildon_banner_class_init): added the button_press_event handler
6334 (hildon_banner_init): added button-press events to the widget
6336 2008-03-25 Sven Herzberg <sven@imendio.com>
6338 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6339 Patch from: Mohammad Anwari <mdamt@maemo.org>
6341 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6342 instead of the right in RTL mode
6343 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6344 breadcrumb button list in RTL mode
6345 * src/hildon-caption.c: mirror the appearance of the caption widget in
6347 * src/hildon-date-editor.c: mirror appearance of the date editor in
6349 * src/hildon-time-editor.c: mirror appearance of the time editor in
6351 * src/hildon-window.c: fix the position of the popup in RTL mode
6353 2008-03-25 Sven Herzberg <sven@imendio.com>
6355 Amendment to the fix of NB#22072. Fix compilation.
6357 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6359 2008-03-19 Sven Herzberg <sven@imendio.com>
6361 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6364 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6365 timeout id properly when the timeout will disappear this leaves no
6366 artifacts around in the destroy(); there will only be the timeout
6367 created by hildon_banner_ensure_timeout() and adding a new timeout
6368 will also work if the timeout gets removed because the timeout_handler
6371 2008-03-19 Michael Natterer <mitch@imendio.com>
6373 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6375 * src/hildon-volumebar.c
6376 * src/hildon-vvolumebar.c
6377 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6378 the widget becomes focussable at all.
6380 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6381 set the focus to wither the mute button or the volumebar.
6383 Remove own "can-focus" property and instead listen to
6384 notify::can-focus in order to update the widget's state.
6386 Implement GtkWidget::focus() and make sure we can also *leave* the
6387 widget, not only enter it, depending on volumebar orientation and
6388 requested focus direction.
6390 Clean up set_mute() to cooperate nicely with all the above.
6392 2008-03-04 Michael Natterer <mitch@imendio.com>
6394 Fixes: NB#78481: information banners are hidden under browser menu
6396 * src/hildon-banner.c: call gtk_window_present() on the banners so
6397 they are risen if they are already visible.
6399 2008-03-03 Sven Herzberg <sven@imendio.com>
6401 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6403 * examples/hildon-window-menu-example.c: (main): extended the window
6404 menu example to serve as a testcase for automatically added
6405 accelerator groups, too
6406 * src/hildon-window.c: (hildon_window_add_accel_group),
6407 (hildon_window_set_menu): added patch by Tommi Komulainen
6409 2008-03-03 Sven Herzberg <sven@imendio.com>
6411 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6413 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6414 knowledge about the border allocators used within GTK+
6416 2008-02-26 Sven Herzberg <sven@imendio.com>
6418 Fixes: MB#2981: Build with asserts broken
6420 * src/hildon-date-editor.c,
6421 * src/hildon-number-editor.c,
6422 * src/hildon-time-editor.c,
6423 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6424 the proper GType instance check
6426 2008-02-25 Sven Herzberg <sven@imendio.com>
6428 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6430 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6431 * examples/hildon-window-menu-example.c: (main): explicitly show
6433 * src/hildon-window.c:
6434 (hildon_window_set_main_menu): moved most of the code from set_menu()
6435 to this place; skipped the call to gtk_widget_show_all(); also didn't
6436 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6437 (hildon_window_set_menu): removed most of the code, just keep the
6438 questionable gtk_widget_show_all()
6439 * src/hildon-window.h: added the new function and deprecate the old
6442 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6448 * debian/changelog: Updating.
6450 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6453 * pkgconfig/Makefile.am:
6454 * pkgconfig/hildon.pc.in:
6457 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6458 use newly created API_MAJOR_VERSION.
6460 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6466 * debian/changelog: Updating.
6468 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6470 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6472 Add outer_border style property, we use it but don't define it (!).
6476 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6478 * examples/hildon-bread-crumb-trail-example.c (main):
6482 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6484 Fix logic for the bread crumb trail node removal.
6488 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6494 * debian/changelog: Updating.
6496 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6498 Patch by Alejandro to get/set passwords dialogs accesibility.
6500 * hildon-1/src/hildon-get-password-dialog.c:
6501 * hildon-1/src/hildon-set-password-dialog.c:
6502 Set atk_set_name to the passwd entries in order to allow
6503 accessibility by name on this entries.
6505 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6510 * debian/control: Updating gtk dep.
6512 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6514 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6515 USE_MAEMO_GTK is enabled.
6517 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6519 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6520 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6522 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6528 * debian/changelog: Updating.
6530 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6532 * examples/Makefile.am:
6533 * examples/hildon-logical-color-example.c:
6534 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6535 applied + adding a test case. Fixes: NB#71660.
6537 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6539 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6540 to be visible, fixes warning on map for windows without toolbars.
6542 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6544 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6545 2.11.0, add a check for that besides the MAEMO_GTK check.
6547 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6553 * debian/changelog: Updating.
6555 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6557 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6558 visibility. Fixes: NB#70842 and MB#615.
6560 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6562 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6563 set the separator as no-show-all so it doesn't unintentionally appear when
6564 someone does a show_all.
6566 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6568 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6569 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6570 toplevel item. Fixes: NB#62031
6572 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6574 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6575 fix the name of the function in the docs.
6577 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6583 * debian/changelog: Updating.
6585 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6587 * examples/hildon-banner-long-example.c: Adding a test-case for long
6590 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6592 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6594 * src/hildon-color-chooser-dialog.c:
6595 * src/hildon-color-chooser.c:
6596 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6597 memory leaks in font selector and color selector. Fixes: NB#70499 and
6600 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6602 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6604 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6606 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6607 little bit bigger. Fixes: #NB63694.
6609 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6615 * debian/changelog: Updating.
6617 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6620 * doc/hildon-docs.sgml:
6621 * doc/images/bread-crumb-trail.png:
6622 * doc/images/calendar-popup.png:
6623 * doc/images/caption.png:
6624 * doc/images/code-dialog.png:
6625 * doc/images/color-button.png:
6626 * doc/images/color-chooser-dialog.png:
6627 * doc/images/color-chooser.png:
6628 * doc/images/controlbar.png:
6629 * doc/images/date-editor.png:
6630 * doc/images/font-selection-dialog.png:
6631 * doc/images/get-password-dialog.png:
6632 * doc/images/hvolumebar.png:
6633 * doc/images/login-dialog.png:
6634 * doc/images/note.png:
6635 * doc/images/number-editor.png:
6636 * doc/images/range-editor.png:
6637 * doc/images/seekbar.png:
6638 * doc/images/set-password-dialog.png:
6639 * doc/images/sort-dialog.png:
6640 * doc/images/time-editor.png:
6641 * doc/images/time-picker.png:
6642 * doc/images/vvolumebar.png:
6643 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6644 Adding the bread-crumb-trial and helpers to the documentation.
6646 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6648 * examples/hildon-find-toolbar-example.c:
6649 * src/hildon-find-toolbar.c:
6650 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6651 actually continue firing the other handlers if connected. Adding a new
6653 hildon_find_toolbar_get_last_index that gets the index of the most
6654 recently added (last) item. Fixes: NB#52301.
6656 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6658 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6659 behaviour. Fixes: NB#68610.
6661 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6663 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6666 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6668 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6669 when realizing the banner. Should make the infonbanner effect a bit more
6672 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6674 * src/hildon-volumebar.c:
6675 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6676 hildon_volumebar_set_range_insensitive_message and
6677 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6679 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6681 * src/hildon-window.c: Fixing the border freeing on destroy.
6683 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6685 * src/hildon-code-dialog-private.h:
6686 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6687 kw keyboard support in HildonCodeDialog.
6689 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6695 * debian/changelog: Updating.
6697 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6699 * src/hildon-date-editor.c:
6700 * src/hildon-number-editor.c:
6701 * src/hildon-private.c:
6702 * src/hildon-private.h:
6703 * src/hildon-time-editor.c:
6704 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6705 handling in subclassed composite widgets. Fixes: NB#66628.
6707 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6709 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6710 from destroy_ callback as it introduces problems in async dbus signal
6711 handlers. Fixes NB#66673.
6713 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6715 * examples/hildon-hvolumebar-example.c:
6716 * src/hildon-volumebar.c: Improving the focus handling in the
6717 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6718 set_property accessor so that "mute" property can be actually set. I'm
6719 scared that nobody noticed it's totally broken.
6721 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6723 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6726 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6728 * src/hildon-calendar.c:
6729 * src/hildon-number-editor.c:
6730 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6731 matches the spec of 6 chars per second. Fixes: NB#60489.
6733 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6735 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6736 gtk_style_lookup_color sometime returns FALSE even though color was
6737 found and values were filled properly. Weird. Removing the warning for the
6740 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6742 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6743 expand vertically. Adding some extra space to the find toolbar buttons to
6744 make them thumbable. Fixes NB#66060.
6746 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6748 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6749 popup with "Ok" and "Cancel". Fixes NB#59299.
6751 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6753 * src/hildon-calendar.c: Process all window updates before executing next
6754 timeout. Fixes: NB#54146.
6756 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6762 * debian/changelog: Updating.
6764 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6766 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6767 the client event and ignore it, since we use the delete event to close
6770 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6772 * src/hildon-helper.c: Remove the bogus warning about color not being
6773 found. Fixes NB#58352.
6775 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6777 * examples/Makefile.am:
6778 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6779 HildonSeekbar widget inside a toolbar.
6781 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6783 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6784 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6785 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6786 don't want to be closed by non-temporary windows on map.
6788 Also use G_DEFINE_TYPE instead of manually typed code.
6790 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6797 * debian/rules: Updating.
6799 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6801 * examples/Makefile.am:
6802 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6803 bug NB#61128. Strangely it works.
6805 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6807 * src/hildon-date-editor.c: When the date editor entry has been changed
6808 but the numbers of characters < max, turn off the skip validation flag.
6809 Prevents a situation when we enter first a valid year and later re-write
6810 it with an invalid one. Fixes NB#60154.
6812 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6814 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6815 code dialog. Fixes NB#64355.
6817 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6819 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6820 switching the page. Fixes NB#49374.
6822 * examples/Makefile.am:
6823 * examples/hildon-wizard-dialog-example.c: Adding an example for
6824 HildonWizardDialog that shows how to handle manual sensitivity setting on
6827 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6831 * src/hildon-version.h.in:
6832 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6834 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6836 * src/hildon-volumebar.c: Updating the docs.
6838 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6844 * debian/changelog: Updating.
6846 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6848 * src/hildon-find-toolbar.c:
6849 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6850 selected item: hildon_find_toolbar_set_active,
6851 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6852 hildon_find_toolbar_get_active_iter . They correspond to respective
6853 GtkComboBox functions.
6855 * examples/Makefile.am:
6856 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6859 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6861 * examples/Makefile.am:
6862 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6865 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6866 when font size > 32 and we pack a focusable widget inside. Actually using
6867 the default response would work too, but since we don't show default
6868 response state in any way (no theming) it would not be visible to the
6869 user. Fixes NB#63430.
6871 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6873 * src/hildon-date-editor.c: Adding the missing variable setter in the
6874 set_property handler. Fixes NB#54182.
6876 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6878 * src/hildon-window.h: Changing the long key press time from 1500ms to
6879 800ms as requested in NB#63700. I have a bad feeling about this, let's
6880 see... Fixes NB#63700.
6882 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6884 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6885 hildon_time_picker_map, hildon_time_picker_realize,
6886 hildon_time_picker_style_set): Split the contents of map to more
6887 appropriate functions; set window decorations on realize and update
6888 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6890 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6895 * debian/changelog: Updating.
6897 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6899 * src/Makefile.am: fixed installation of the header files
6901 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6907 * debian/changelog: Updating.
6909 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6911 * configure.ac: Removing some remaining of --enable-xan.
6913 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6915 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6916 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6918 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6919 2.10.12-osso6 because the move-focus signal needs to be available in
6922 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6924 * examples/Makefile.am:
6925 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6926 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6927 fine. Prolly NB#61128 is fixed now.
6929 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6931 * src/hildon-volumebar.c:
6932 * src/hildon-volumebar.h: Adding the
6933 hildon_volumebar_set_range_insensitive_message and
6934 hildon_volumebar_set_range_insensitive_messagef functions to set
6935 insensitive message on the slider of the volumebar. Fixes NB#61129.
6937 * examples/Makefile.am:
6938 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6939 test the new insensitive messsage functionality on HildonVolumebar.
6941 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6943 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6946 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6948 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6949 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6950 button on after clearing the trail.
6952 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6954 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6956 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6958 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6959 by splitting the installed headers in generated and non-generated groups. Use
6960 only the non-generated headers to create the hildon-enum-types.h file.
6962 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6964 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6966 * src/hildon-window.c: Hide the window before performing the destroy.
6967 Should make the app closing a little tiny bit more snappy.
6969 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6971 * src/hildon-seekbar.c: add gtkrange.h header
6972 * src/hildon-caption.c: remove unused variable
6974 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6976 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6979 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6985 * debian/changelog: Updating.
6987 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6989 * src/hildon-window.c (hildon_window_window_state_event,
6990 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6991 escape timeout on focus-out-event rather than notify::is-topmost; the
6992 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6994 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6996 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6997 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6999 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7001 * src/hildon-window: actually, you need to use the macro always, there's
7002 no private pointer in the instance structure. We should have cleaned this up
7003 when we had the chance...
7005 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7007 * src/hildon-window.c: do not get the private date from HildonWindow before
7008 it passes the g_return_if_fail check. Once it's passed the test, there's no
7009 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7010 if you are only going to access the data once. Whitespace cleanups.
7012 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7014 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7015 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7017 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7023 * debian/changelog: Updating.
7025 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7027 * src/hildon-window.c: When destroying the window, remove (if exists) the
7028 escape timeout handler. Fixes #NB59276.
7030 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7032 * src/hildon-banner.c: When realizing the widget, set the window
7033 transiency. Setting the transiency in the gobject constructor is not
7034 good, as the widget is not realized at that point. Fixes: #NB56624.
7036 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7038 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7039 Add padding for future expansions.
7041 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7043 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7044 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7045 will fake an activation on the previous to the last item of the trail, so
7046 the effect can be overrided by the developer as usual.
7047 Also change the callback for the back button to do the same thing, so its
7048 effect can be overrided too. Fixes: NB#58982
7050 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7052 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7053 HildonCaption. Fixes NB#52379.
7055 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7057 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7058 the internal state of the trail after the user has had the chance of executing
7059 his handler for the signal. Specifically, it may happen that the activated button
7060 is removed and the user still lets the default handler run. This would segfault
7063 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7065 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7066 scrollbar to the preview dialog. Fixes NB#54147.
7068 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7070 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7071 max/min year properties can be altered, so the client can modify it
7072 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7074 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7076 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7077 hildonlike by default. Fixing a problem with disappearing arrows when
7078 scrolling through months and years. Fixes NB#54127.
7080 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7082 * examples/hildon-date-editor-example.c: Adding error callback to the date
7085 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7091 * configure.ac: Updating.
7093 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7095 * configure.ac: Adding a special '--enable-xan' configure option that
7096 turns off the -Werror compilation setting. Usefull for development.
7098 * src/hildon-calendar.c:
7099 * src/hildon-number-editor.c:
7100 * src/hildon-time-picker.c: Adding the 5* multiplier to
7103 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7105 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7106 instead of g_object_ref + gtk_object_sink.
7108 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7114 * debian/changelog: Updating.
7116 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7118 * src/hildon-color-chooser-dialog.c:
7119 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7120 straight from Tommi labs.
7122 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7124 * examples/hildon-finger-example.c: Correcting the header file path.
7126 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7127 the changed signal. Fixes a small memory leak.
7129 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7133 * src/hildon-banner.c: Importing several usefull fixes from the
7134 ubuntu-mobile branch.
7136 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7138 * examples/Makefile.am:
7139 * examples/hildon-finger-example.c: Adding a finger-checking code
7142 * src/hildon-font-selection-dialog.c: Do not allocate the color
7143 structure using the g_new. Fixes NB#54061.
7145 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7147 * src/hildon-helper.c: Correcting tabs in file.
7149 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7151 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7152 control the visibility of the children.
7154 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7156 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7162 * debian/changelog: Updating.
7164 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7166 * src/hildon-bread-crumb-trail.c:
7167 (hildon_bread_crumb_trail_size_allocate):
7169 Make the back button always a square.
7171 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7173 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7174 from the .c file as it's a private file.
7176 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7178 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7179 uses slightly bigger height.
7181 * src/hildon-font-selection-dialog.c: Adding some checks before
7182 freeing memory in the font selection dialog.
7184 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7186 * src/hildon-font-selection-dialog.c: Adding a small check when
7189 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7190 buttons sensitivity on page switching.
7192 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7194 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7195 internal details of adding a bread crumb to the trail.
7197 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7203 * debian/changelog: Updating.
7205 * src/hildon-bread-crumb-trail.h:
7206 * src/hildon-bread-crumb.h: Changing the API guard to
7207 HILDON_ENABLE_UNSTABLE_API.
7209 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7217 * src/hildon-helper.h: Updating.
7219 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7227 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7231 * src/hildon-helper.h: Small fix to make the package actually compile.
7233 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7235 * src/hildon-bread-crumb-trail.h:
7236 * src/hildon-bread-crumb.h:
7238 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7239 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7241 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7243 * examples/hildon-bread-crumb-trail-example.c:
7245 * src/hildon-bread-crumb-trail.c:
7246 * src/hildon-bread-crumb-trail.h:
7247 * src/hildon-bread-crumb.c:
7248 * src/hildon-bread-crumb.h:
7249 * src/hildon-marshalers.list:
7250 * src/hildon-bread-crumb-widget.c:
7251 * src/hildon-bread-crumb-widget.h:
7253 Slight change in the widget design. The bread crumb trail API is
7254 unchanged, but HildonBreadCrumb is now an interface. A *private*
7255 implementation, hildon-bread-crumb-widget, is provided and used
7256 internally by the trail for the push_text/push_icon functions.
7258 The generic push API is still available, so anyone can implement
7259 and use its own bread crumb widget.
7261 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7263 * debian/rules: Fixing the shlibs.
7265 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7267 * src/hildon-banner.c: Fixing a problem with timed banners having
7268 their parrent destroyed before they are.
7270 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7272 * src/hildon-bread-crumb.c:
7273 * src/hildon-bread-crumb.h:
7275 Make the get_natural_size function a vfunc.
7277 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7279 * src/hildon-bread-crumb.c:
7280 * src/hildon-bread-crumb-trail.c:
7284 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7291 * debian/changelog: Updating for release.
7293 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7295 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7296 don't leak the pango layout.
7298 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7301 * examples/hildon-bread-crumb-trail-example.c:
7305 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * debian/changelog: Removing the bug-fixed entries that were actually
7308 resolved as WONTFIX.
7310 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7313 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7315 * src/hildon-bread-crumb-trail.c:
7316 * src/hildon-bread-crumb-trail.h:
7317 * src/hildon-bread-crumb.c:
7318 * src/hildon-bread-crumb.h:
7322 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7324 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7325 until it's passed the type check.
7327 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7329 * examples/hildon-bread-crumb-trail-example.c
7333 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7335 * examples/Makefile.am
7336 * examples/hildon-bread-crumb-trail-example.c
7338 * src/hildon-bread-crumb-trail.c
7339 * src/hildon-bread-crumb-trail.h
7340 * src/hildon-bread-crumb.c
7341 * src/hildon-bread-crumb.h
7343 New HildonBreadCrumbTrail widget.
7345 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7347 * src/hildon-range-editor.c (hildon_range_editor_init),
7348 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7349 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7350 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7351 hildon_time_editor_class_init, hildon_time_editor_init),
7352 src/hildon-get-password-dialog.c (invalid_input,
7353 hildon_get_password_set_property, hildon_get_password_get_property,
7354 create_contents, hildon_get_password_dialog_set_max_characters),
7355 src/hildon-set-password-dialog.c (create_contents),
7356 src/hildon-date-editor.c (hildon_date_editor_init),
7357 src/hildon-login-dialog.c (hildon_login_dialog_init),
7358 src/hildon-number-editor.c (hildon_number_editor_init),
7359 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7360 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7361 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7362 configure option and adding the respective checks in the code.
7363 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7364 hildon_calendar_drag_data_received): fixed some build warnings.
7366 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7368 * debian/changelog: A 1.0.0 release notes.