1 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
12 (+hildon_entry_show_placeholder),
13 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
14 that replace hildon_entry_update_contents().
15 (hildon_entry_set_text),
16 (hildon_entry_set_placeholder),
17 (hildon_entry_focus_in_event),
18 (hildon_entry_focus_out_event): Determine when it is needed
19 either to show or hide the placeholder and call the above methods.
21 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
22 when the placeholder text is already set)
24 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
26 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
27 simple GdkPixbufAnim using the new icons for the banner.
28 (hildon_banner_show_animation): Use the above mentioned method to
29 create the animation widget.
31 Fixes: NB#103564 (Make hildon animation banner use individual
32 image files as the animation)
34 2009-03-24 Alejandro G. Castro <alex@igalia.com>
36 * src/hildon-pannable-area.c,
37 (hildon_pannable_leave_notify_event): Check if the child is NULL
38 to avoid sending the leave.
40 2009-03-24 Alejandro G. Castro <alex@igalia.com>
42 * src/hildon-pannable-area.c,
43 (hildon_pannable_area_class_init),
44 (hildon_pannable_leave_notify_event): Added a handler of the
45 leave-notify-signal to consider when no motion notify before
48 Fixes: NB#107494 (Items stay selected when clicking and moving
49 away when inside pannable area)
51 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
56 * configure.ac: Bump version.
57 * debian/changelog: Updates.
59 2009-03-19 Alejandro G. Castro <alex@igalia.com>
61 Patch by Alberto Garcia (agarcia@igalia.com)
63 * src/hildon-date-button.c,
64 (hildon_date_button_class_init),
65 (hildon_date_button_init): Removed the construct property handling
66 and created a default selector in the init method.
67 * src/hildon-picker-button.c,
68 (hildon_picker_button_class_init): Removed the construct flag of the
71 2009-03-18 Alberto Garcia <agarcia@igalia.com>
73 * src/hildon-main.c (hildon_init):
74 Don't allow hildon_init() to be called more than once.
76 Fixes: NB#106607 (hildon_init should issue error message upon
79 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
81 * examples/hildon-pannable-area-touch-list-example.c
82 * examples/hildon-pannagle-area-touch-grid-example.c
83 * examples/hildon-edit-toolbar-example.c
84 * examples/hildon-touch-selector-multi-cells-example.c
85 Removed the call to gtk_rc_parse_string, as it is not required since
88 2009-03-17 Alejandro G. Castro <alex@igalia.com>
90 * src/hildon-pannable-area.c,
91 (hildon_pannable_area_class_init): Modified the default panning
92 threshold of the widget to 6px.
94 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
95 than the threshold value ) within the button is not sending the
98 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
100 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
101 for the treeview in the new column. This way, the touch list will never
104 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
105 be selected manually for the HW keys to work)
107 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
109 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
110 comparison instead of using strcmp(). Fixes a compiler warning as well.
112 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
114 * doc/hildon-docs.sgml: Do not set the library version in the
115 document title, use the releaseinfo tag for that purpose instead.
117 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
119 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
120 Do not jump to the first item if the text in the entry is removed.
122 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
127 * configure.ac: Bump version.
128 * debian/changelog: Updates.
130 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
132 * src/hildon-entry.c (hildon_entry_refresh_contents):
133 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
134 Use "ReversedSecondaryTextColor" for the placeholder text.
136 2009-03-12 Alberto Garcia <agarcia@igalia.com>
138 * src/hildon-text-view.c: Fix compilation warning.
140 2009-03-12 Alberto Garcia <agarcia@igalia.com>
142 * src/hildon-button.c (hildon_button_class_init): Don't make
143 "title" and "value" construction properties, to prevent them from
144 overwriting labels set from derived classes.
146 * src/hildon-picker-button.c
147 (hildon_picker_button_set_selector): Allow setting a NULL selector.
148 (hildon_picker_button_class_init): Make touch-selector a
149 construction property.
151 * src/hildon-date-button.c (hildon_date_button_class_init)
152 (+hildon_date_button_constructed): Add a default date selector if
155 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
157 * src/hildon-touch-selector.c: Small documentation fixes.
159 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
161 Based on a patch by Daniel Borgmann (danielb@openismus.com)
163 * src/hildon-entry.c (hildon_entry_refresh_contents),
164 (hildon_entry_get_text), (hildon_entry_init): Do not use the
165 widget name, set the logical color directly instead and a boolean
166 showing_placeholder instead.
167 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
168 use the widget name here either.
170 Fixes: NB#105678 (HildonTextView should use logical colours
171 instead of setting widget name)
173 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
175 Patch by Daniel Elster (danielk@openismus.com)
177 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
178 Add user_data parameter.
179 (hildon_touch_selector_set_print_func_full): New function akin
180 hildon_touch_selector_set_print_func() but with support for user
181 data and a destroy callback.
182 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
183 to clean up the print function user data.
184 (hildon_touch_selector_class_init): Install dispose function.
185 (HildonTouchSelectorPrivate::print_user_data),
186 (HildonTouchSelectorPrivate::print_destroy_func): New private
188 (hildon_touch_selector_init): Initialize new private members.
189 (hildon_touch_selector_get_current_text): Pass along user data
190 to the print function.
191 (_default_print_func): Add dummy user_data to parameter list.
192 * hildon-date-selector.c (_custom_print_func): ditto,
193 * hildon-time-selector.c (_custom_print_func): ditto,
194 * hildon-touch-selector-entry.c
195 (hildon_touch_selector_entry_print_func): ditto.
197 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
199 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
201 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
203 2009-03-12 Alejandro G. Castro <alex@igalia.com>
205 * src/hildon-pannable-area.c,
206 (hildon_pannable_area_init),
207 (hildon_pannable_area_button_press_cb),
208 (hildon_pannable_area_motion_notify_cb): We have added code to
209 handle the leave and enter events when using the motion events.
211 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
213 2009-03-11 Alberto Garcia <agarcia@igalia.com>
215 * src/hildon-date-button.c (hildon_date_button_get_date)
216 (hildon_date_button_set_date): Make sure that the button has a
219 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
221 2009-03-11 Alejandro G. Castro <alex@igalia.com>
223 * src/hildon-pannable-area.c,
224 (hildon_pannable_area_class_init),
225 (hildon_pannable_area_calculate_velocity): Modify the use of the
226 force and adapt the value.
228 2009-03-10 Alberto Garcia <agarcia@igalia.com>
230 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
231 (hildon_app_menu_class_init): Hide the menu if it receives a
232 delete-event, but don't destroy it
234 Fixes: NB#104485 (Not able to address the call when application
235 menu is opened at background)
237 2009-03-10 Alberto Garcia <agarcia@igalia.com>
239 * src/hildon-app-menu.c
240 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
241 Remove the "external-border" style property, let the menu take its
242 natural size (or the one set by the window manager)
243 (hildon_app_menu_repack_items):
244 Don't reshow the menu, avoid flickers.
246 Partially fixes NB#94957 (Smoothly opened application menu)
248 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
253 * configure.ac: Bump version.
254 * debian/changelog: Updates.
256 2009-03-10 Alejandro G. Castro <alex@igalia.com>
258 * src/hildon-pannable-area.c,
259 (hildon_pannable_area_motion_notify_cb): We control that the
260 direction error margin is used just in case the movement is
261 allowed in the other direction.
263 Fixes: NB#105012 (buttons inside a pannable area not getting
264 release event when dragging/releasing)
266 2009-03-10 Alejandro G. Castro <alex@igalia.com>
268 * src/hildon-pannable-area.c,
269 (hildon_pannable_area_class_init),
270 (hildon_pannable_area_get_property),
271 (hildon_pannable_area_set_property),
272 (hildon_pannable_area_initial_effect),
273 (hildon_pannable_axis_scroll),
274 (hildon_pannable_area_button_release_cb): Reviewed the
275 overshooting effect, now it has its own max
276 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
279 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
284 * configure.ac: Bump version.
285 * debian/changelog: Updates.
287 2009-03-09 Alejandro G. Castro <alex@igalia.com>
289 * src/hildon-pannable-area.c,
290 (hildon_pannable_area_class_init): Changed the max speed, now
291 users can launch the widget very fast. Reduced the default force,
292 that way it is easier to control the launch speed.
294 2009-03-09 Alejandro G. Castro <alex@igalia.com>
296 * src/hildon-pannable-area.c,
297 (hildon_pannable_area_button_release_cb): Removed this check
298 because it causes problems when the device is overloaded.
300 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
302 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
303 add a current_text field to store the text entered in the
304 touch selector entry.
305 (_clean_current_selection): clean up the current text as well.
306 (_save_current_selection), (_restore_current_selection):
307 Save/restore the text in the entry if the selector is a
308 HildonTouchSelectorEntry.
310 Fixes: NB#102541 (value entered in the touch selector entry is not
311 shown when opened for second time)
313 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
315 * doc/hildon-sections.txt:
316 * src/hildon-touch-selector-entry.c
317 (+hildon_touch_selector_entry_get_entry):
318 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
320 Fixes: NB#104815 (I need accessor to the entry inside
321 HildonTouchSelectorEntry)
323 2009-03-06 Alberto Garcia <agarcia@igalia.com>
325 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
326 (hildon_app_menu_class_init):
327 New "filter-vertical-spacing" style property.
329 2009-03-06 Alberto Garcia <agarcia@igalia.com>
331 * src/hildon-find-toolbar.c
332 (hildon_find_toolbar_emit_close)
333 (hildon_find_toolbar_emit_invalid_input)
334 (hildon_find_toolbar_entry_activate):
335 Use g_signal_emit() instead of g_signal_emit_by_name()
337 2009-03-06 Alberto Garcia <agarcia@igalia.com>
339 Patch by Mox Soini (ext-mox.soini@nokia.com)
341 * tests/TEST-CASES.txt
342 * tests/check-hildon-banner.c
343 * tests/check-hildon-note.c
344 * src/hildon-banner.c
345 * src/hildon-code-dialog.c
346 * src/hildon-date-editor.c (real_set_calendar_icon_state)
347 * src/hildon-time-editor.c
348 * examples/hildon-lookup-example.c (main):
349 Replace obsolete icon names with new ones.
351 * src/hildon-find-toolbar-private.h:
352 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
353 (-hildon_find_toolbar_emit_search):
354 Remove find button and change icon of close button.
356 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
358 2009-03-05 Alberto Garcia <agarcia@igalia.com>
360 * src/hildon-time-button.c (hildon_time_button_new_step):
361 Use the "touch-selector" property to set the selector directly
362 when creating the object.
364 2009-03-05 Alejandro G. Castro <alex@igalia.com>
366 Added a new example application that allows tuning the pannable
367 area and replaced defines with properties in order to simplify the
368 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
369 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
370 PROP_DIRECTION_ERROR_MARGIN.
372 * examples/hildon-pannable-area-tuning-example.c: New example
374 * src/hildon-pannable-area.c,
375 (hildon_pannable_area_class_init),
376 (hildon_pannable_area_init),
377 (hildon_pannable_area_get_property),
378 (hildon_pannable_area_set_property),
379 (hildon_pannable_area_launch_fade_timeout),
380 (hildon_pannable_area_adjust_value_changed),
381 (hildon_pannable_axis_scroll),
382 (hildon_pannable_area_motion_notify_cb),
383 (hildon_pannable_area_scroll_cb),
384 (hildon_pannable_area_button_release_cb): We have converted some
385 of the defines that control the widget to properties to simplify
388 2009-03-05 Alberto Garcia <agarcia@igalia.com>
390 * src/hildon-app-menu.c (hildon_app_menu_map)
391 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
392 so it's closed if a new window appears.
394 Fixes: NB#104485 (Not able to address the call when application
395 menu is opened at background)
397 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
399 * src/hildon-color-button.c (hildon_color_button_get_property):Add
400 missing 'break' statement in in 'case' construct to avoid
403 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
405 * src/hildon-touch-selector-entry.c
406 (hildon_touch_selector_entry_get_property),
407 (hildon_touch_selector_entry_set_property): Add missing 'break'
408 statements in in 'case' constructs to avoid incorrect warnings.
410 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
412 * src/hildon-time-editor.c
413 (hildon_time_editor_get_time_separators): Do not crash if
414 the first label is NULL.
416 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
418 * src/hildon-date-selector.c (_month_days): Check for month to be
419 strictly less than 12, since otherwise we may overrun the array.
421 2009-03-04 Alberto Garcia <agarcia@igalia.com>
423 * src/hildon-date-button.c (+hildon_date_button_new_full)
424 (hildon_date_button_new, hildon_date_button_new_with_year_range)
425 (hildon_date_button_init): Set the date selector using a
426 construction property, to make it happen after HildonButton's
427 "value" property is set.
429 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
430 current date by default)
432 2009-03-04 Alberto Garcia <agarcia@igalia.com>
434 * doc/hildon-sections.txt
435 * src/hildon-program.c
436 * src/hildon-stackable-window.c
437 * src/hildon-window.c:
438 Documentation updates
440 2009-03-04 Alberto Garcia <agarcia@igalia.com>
442 * src/hildon-window-stack.c (hildon_window_stack_get_default)
443 (hildon_window_stack_new, +hildon_window_stack_set_property)
444 (+hildon_window_stack_get_property)
445 (hildon_window_stack_class_init)
446 (+hildon_window_stack_set_window_group)
447 (+hildon_window_stack_get_window_group):
448 Make the window group a construction property.
450 2009-03-04 Alberto Garcia <agarcia@igalia.com>
452 * doc/hildon-sections.txt
453 * src/hildon-stackable-window-private.h
454 * src/hildon-stackable-window.h
455 * src/hildon-stackable-window.c
456 (-hildon_stackable_window_set_app_menu)
457 (-hildon_stackable_window_get_app_menu)
458 (-hildon_stackable_window_toggle_menu)
459 (-hildon_stackable_window_finalize)
460 (hildon_stackable_window_class_init)
461 (hildon_stackable_window_init)
462 * src/hildon-window-private.h
463 * src/hildon-window.h
464 * src/hildon-window.c (hildon_window_init)
465 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
466 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
467 (hildon_window_get_main_menu, hildon_window_set_main_menu)
468 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
469 Moved all HildonAppMenu code to HildonWindow. The menu does not
470 require a HildonStackableWindow anymore.
472 * src/hildon-app-menu.c
473 * src/hildon-program.c
474 * examples/hildon-app-menu-example.c (main):
475 Update examples and documentation to reflect HildonAppMenu
478 2009-03-04 Alberto Garcia <agarcia@igalia.com>
480 * src/hildon-remote-texture.c
481 * src/hildon-animation-actor.c:
482 Don't include unused private headers.
484 2009-03-04 Alberto Garcia <agarcia@igalia.com>
486 * src/hildon-program-private.h
487 * src/hildon-program.c
488 (hildon_program_set_common_menu)
489 (hildon_program_get_common_menu)
490 (hildon_program_set_common_app_menu)
491 (hildon_program_get_common_app_menu):
492 Change common menu pointers from GtkWidget* to GtkMenu* and
493 HildonAppMenu* to avoid unnecessary casts.
495 2009-03-03 Alberto Garcia <agarcia@igalia.com>
497 * src/hildon-window.c (hildon_window_set_main_menu):
498 Removed incorrect 'Since:' tag
500 2009-03-03 Alejandro G. Castro <alex@igalia.com>
502 * src/hildon-pannable-area.c,
503 (hildon_pannable_area_calculate_velocity): We use now the
504 RATIO_TOLERANCE here to check the distance, fixed typo in the
506 (hildon_pannable_area_motion_notify_cb): We have to set the type
507 and time even if we are not sending the motion.
509 2009-03-02 Alberto Garcia <agarcia@igalia.com>
511 * doc/hildon-sections.txt
512 * src/hildon-app-menu.h
513 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
514 (+hildon_app_menu_get_filters): New methods to get the contents of
517 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
520 2009-03-02 Alberto Garcia <agarcia@igalia.com>
522 * src/hildon-app-menu.c (hildon_app_menu_popup):
525 2009-03-02 Alberto Garcia <agarcia@igalia.com>
527 * src/hildon-window.h
528 * src/hildon-window.c (+hildon_window_get_main_menu)
529 (hildon_window_get_menu): Created hildon_window_get_main_menu()
530 and deprecated hildon_window_get_menu().
532 * src/hildon-stackable-window.h
533 * src/hildon-stackable-window.c
534 (+hildon_stackable_window_set_app_menu)
535 (+hildon_stackable_window_get_app_menu)
536 (hildon_stackable_window_set_main_menu): Created
537 hildon_stackable_window_{get,set}_app_menu() and deprecated
538 hildon_stackable_window_set_main_menu().
540 * doc/hildon-sections.txt
541 * examples/hildon-app-menu-example.c (main)
542 * src/hildon-app-menu.c
543 * src/hildon-program.c:
544 Updated examples and documentation.
546 Fixes: NB#103758 (No way to obtain a menu from a
547 HildonStackableWindow)
549 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
554 * configure.ac: Bump version.
555 * debian/changelog: Updates.
557 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
559 * examples/hildon-remote-texture-example.c: Include
560 hildon-remote-texture.h explicitely.
561 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
562 applications not defining _XOPEN_SOURCE which don't require this header.
564 2009-02-27 Alberto Garcia <agarcia@igalia.com>
566 * doc/hildon-sections.txt
567 * src/hildon-app-menu.h
568 * src/hildon-app-menu.c (+hildon_app_menu_popup):
569 New function to pop up a HildonAppMenu
571 * src/hildon-stackable-window.c
572 (hildon_stackable_window_toggle_menu):
573 Use hildon_app_menu_popup() to show the menu.
575 2009-02-27 Alberto Garcia <agarcia@igalia.com>
577 * src/hildon-app-menu.c (hildon_app_menu_show)
578 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
579 menu if there's another window between it and its parent window.
581 Fixes: NB#100468 (Application menu window is launched even when a
582 new secondary-window/dialog is pending to be shown/realized)
584 2009-02-27 Alberto Garcia <agarcia@igalia.com>
586 * src/hildon-window-stack.c (hildon_window_stack_push)
587 (hildon_window_stack_pop_and_push):
588 Don't forget to push/pop the first window.
589 Reverse the window list before calling _push_list()
591 2009-02-27 Alberto Garcia <agarcia@igalia.com>
593 * src/hildon-picker-button.h
594 * src/hildon-picker-button.c (hildon_picker_button_class_init):
595 Remove "value_changed" slot to avoid ABI breakage
597 2009-02-26 Alejandro G. Castro <alex@igalia.com>
599 * src/hildon-pannable-area.c,
600 (hildon_pannable_area_realize),
601 (hildon_pannable_area_unrealize),
602 (hildon_pannable_draw_vscroll),
603 (hildon_pannable_draw_hscroll): Changed the method to handle the
604 GC used to draw the transparent scrollbar, this way we avoid
605 creating the GC all the time when drawing the scrollbars.
607 2009-02-26 Alejandro G. Castro <alex@igalia.com>
609 * src/hildon-pannable-area.c,
610 (hildon_pannable_area_init),
611 (hildon_pannable_area_remove): Removed some unnecessary casts.
612 (hildon_pannable_area_dispose): Disconnected some signals before
613 releasing the adjustments.
615 2009-02-26 Alberto Garcia <agarcia@igalia.com>
617 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
618 Make sure that all widgets contained in the toolbar are shown.
620 2009-02-25 Alberto Garcia <agarcia@igalia.com>
622 * doc/hildon-sections.txt
623 * src/hildon-picker-button.h
624 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
625 (_selection_changed, hildon_picker_button_on_dialog_response)
626 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
627 New hildon_picker_button_value_changed() method.
630 * src/hildon-picker-button-private.h
631 * src/hildon-picker-button.c (hildon_picker_button_init)
632 (+hildon_picker_button_disable_value_changed): Add protected
633 function for disabling the "value-changed" signal.
635 * src/hildon-date-button.c (hildon_date_button_set_date):
636 Don't emit "value-changed" for each one of the three columns.
638 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
639 before actual change of values)
641 2009-02-24 Alejandro G. Castro <alex@igalia.com>
643 * src/hildon-pannable-area.c,
644 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
645 for the treeview overshooting.
647 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
649 * src/hildon-banner.c (+hildon_banner_bind_style):
650 Renamed from hildon_banner_bind_label_style(), now naming the
651 banner itself as well.
652 (hildon_banner_show_information),
653 (hildon_banner_show_information_with_markup),
654 (hildon_banner_show_animation), (hildon_banner_show_progress):
655 Name the widgets and labels, based on their type.
657 See NB#98597 (Hildon Note and Hildon Banner should use themeable
660 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
662 * src/hildon-note.c (hildon_note_set_property): call
663 hildon_note_rename() on HildonNote:note-type set.
664 (hildon_note_rename): Name the note and its label, based on the
665 HildonNote:note-type property.
667 See NB#98597 (Hildon Note and Hildon Banner should use themeable
670 2009-02-24 Alejandro G. Castro <alex@igalia.com>
672 * src/hildon-pannable-area.c,
673 (hildon_pannable_area_class_init),
674 (hildon_pannable_area_motion_notify_cb): Reviewed the default
675 panning parameters, increased SPS and deceleration factor. Added
676 also a margin to control fake directions.
678 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
680 Patch by Sven Herzberg (sven@imendio.com)
682 * configure.ac: Add missing AM_PROG_CC_C_0
683 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
685 See NB#101420 (Update unit tests and fix make check)
687 2009-02-23 Alejandro G. Castro <alex@igalia.com>
689 This patch was applied before but reverted because it caused
690 problems, we have changed the main condition and tested the
691 regressions we detected before and they work ok. We have done a
692 complete review of the topmost algorithm in order to get a more
695 * src/hildon-pannable-area.c,
696 (hildon_pannable_area_get_topmost): Added a new parameter to
697 filter the the windows that do not include those events.
698 (hildon_pannable_area_button_press_cb),
699 (hildon_pannable_area_button_release_cb),
700 (hildon_pannable_get_child_widget_at): Reviewed the call the the
701 topmost function, we have added the new parameter.
703 Fixes: NB#97458 (Pannable area prevents propagation of button
706 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
708 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
709 if all columns in the selector have an item selected.
710 (_on_dialog_response): Stop "response" signal emission if there is
711 any selector column without selected items.
713 Fixes: NB#101889 (Picker dialog should not close when nothing is
714 selected in multiple selection list)
716 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
718 * src/hildon-font-selection-dialog.c
719 (hildon_font_selection_dialog_class_init),
720 (hildon_font_selection_dialog_init): Remove the preview
721 button and dialog, since previewing with default theming is likely
722 to be overcomplicated. The :preview property has now no effect.
723 Update documentation blurbs to inform about this.
725 Fixes: NB#92297 (Preview content is not clearly visible for
728 2009-02-20 Alejandro G. Castro <alex@igalia.com>
730 Reviewed the geometry that handles the children size and
731 scrollbar, now it tries a size and reviews the results depending
732 on the scrollbars visibility.
734 * src/hildon-pannable-area.c,
735 (hildon_pannable_area_realize): Fixed a typo.
736 (hildon_pannable_area_child_allocate_calculate): Added this
737 function to calculate the child allocation.
738 (hildon_pannable_area_size_allocate): Reviewed the allocation
740 (hildon_pannable_area_check_scrollbars),
741 (hildon_pannable_area_refresh): Refactored refresh function, this
742 way we can call the code handling the scrollbars without causing a
743 size_request, it is interesting in the allocate.
744 (hildon_pannable_area_init): Replace the callbacks of the
745 value_changed and changed signals to propertly deal with the
747 (hildon_pannable_area_grab_notify),
748 (hildon_pannable_area_initial_effect),
749 (hildon_pannable_area_launch_fade_timeout),
750 (hildon_pannable_area_adjust_changed),
751 (hildon_pannable_area_adjust_value_changed),
752 (hildon_pannable_area_redraw),
753 (hildon_pannable_area_button_press_cb),
754 (hildon_pannable_area_button_release_cb),
755 (hildon_pannable_area_scroll_cb),
756 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
757 code and use the new functions adjust_changed and
758 adjust_value_changed.
760 Fixes: NB#101603 (Focus is not even for the text entry boxes in
761 Contact editor dialog)
763 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
768 * configure.ac: Bump version.
769 * debian/changelog: Updates.
771 2009-02-20 Alejandro G. Castro <alex@igalia.com>
773 * src/hildon-pannable-area.c,
774 (hildon_pannable_area_get_topmost),
775 (hildon_pannable_area_button_press_cb),
776 (hildon_pannable_area_button_release_cb),
777 (hildon_pannable_get_child_widget_at): Reverted the patch for the
778 topmost function adding the event mask. We have to try a
779 differente approach because it is still causing problems (NB#9745,
782 2009-02-19 Alberto Garcia <agarcia@igalia.com>
784 * src/hildon-banner.c:
785 Update the maximum width of timed banners.
786 (force_to_wrap_truncated): Enforce the maximum text width if the
789 Fixes: NB#102413 (The text margins (wrapping) in information
790 banner should be HILDON_MARGIN_TRIPLE)
792 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
794 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
796 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
797 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
798 bound when calculating the scroll indicator position.
800 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
801 treat ->lower correctly)
803 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
805 * src/hildon-caption.c (hildon_caption_class_init): Remove the
806 expose event handling, since it is not necessary to draw the focus
809 Fixes: NB#102467 (Do not show highlight on the text in
812 2009-02-18 Alberto Garcia <agarcia@igalia.com>
814 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
815 full height of the toolbar for the button and the label.
817 2009-02-18 Alberto Garcia <agarcia@igalia.com>
819 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
820 padding before the label and after the button.
822 2009-02-18 Alberto Garcia <agarcia@igalia.com>
824 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
826 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
827 Add a GtkVSeparator between the button and the back arrow.
828 Let the button have automatic size.
829 Set a name to the widget for theming handling.
831 Fixes: NB#101793 (Make edit toolbar the same height as window
832 title bar (use title area theming))
834 2009-02-18 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-helper.c (attach_new_color_element): Fix memory
839 Fixes: NB#102262 (memory leak in hildon_button_set_style())
841 2009-02-18 Alberto Garcia <agarcia@igalia.com>
843 * examples/hildon-button-example.c (common_buttons_window): Don't
846 2009-02-18 Alberto Garcia <agarcia@igalia.com>
848 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
849 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
851 2009-02-18 Alberto Garcia <agarcia@igalia.com>
853 * src/hildon-gtk.c: Check that the window is realized.
855 Fixes: NB#102225 (Crash setting the progress indicator to a non
858 2009-02-17 Alberto Garcia <agarcia@igalia.com>
860 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
861 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
862 instead of modifying the one in the widget style.
864 Fixes: NB#101043 (Second row of all the command button are
865 displayed in transparent mode.)
867 2009-02-17 Alberto Garcia <agarcia@igalia.com>
869 * src/hildon-date-button.c
870 * src/hildon-time-button.c: Add gettext macros
872 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
874 * src/hildon-date-button.c (hildon_date_button_new):
875 * src/hildon-time-button.c (hildon_time_button_new_step):
876 Use new logical strings to set the button default title.
878 Fixes: NB#99915 (Date and Time options are not localised in Date
881 2009-02-16 Alejandro G. Castro <alex@igalia.com>
883 * src/hildon-pannable-area.c
884 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
885 the PANNING_THRESHOLD.
887 2009-02-16 Alejandro G. Castro <alex@igalia.com>
889 * src/hildon-pannable-area.c,
890 (hildon_pannable_area_class_init): Increased the maximum speed.
891 (hildon_pannable_area_get_property),
892 (hildon_pannable_area_set_property),
893 (hildon_pannable_area_timeout): Added a new low friction mode, it
894 allows the user avoid friction when launching the widget fast
895 enough. It is interesting to traverse long lists.
897 2009-02-16 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
900 (+hildon_stackable_window_delete_event): Ignore delete events if
901 the window is not the topmost one.
903 Fixes: NB#101698 (Back button long press and delete-event handling)
905 2009-02-16 Alejandro G. Castro <alex@igalia.com>
907 * src/hildon-pannable-area.c,
908 (hildon_pannable_area_motion_notify_cb): Removed the use of the
909 gtk-dnd-drag-threshold, it was too big. We have defined our own
910 dnd define and set a smaller value: PANNIG_THRESHOLD.
912 2009-02-16 Alberto Garcia <agarcia@igalia.com>
914 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
915 user-defined icons, use always the default one.
917 Fixes: NB#101916 (Do not allow custom icons on animation banner)
919 2009-02-13 Alejandro G. Castro <alex@igalia.com>
921 This patch was applied before but reverted because it caused
922 problems, we have changed the main condition and tested the
923 regressions we detected before and they work ok.
925 * src/hildon-pannable-area.c,
926 (hildon_pannable_area_get_topmost): Added a new parameter to
927 filter the the windows that do not include those events. Added
928 also a condition when finding the window to filter windows that do
929 not ask for those events.
930 (hildon_pannable_area_button_press_cb),
931 (hildon_pannable_area_button_release_cb),
932 (hildon_pannable_get_child_widget_at): Reviewed the call the the
933 topmost function, we have added the new parameter.
935 Fixes: NB#97458 (Pannable area prevents propagation of button
938 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
940 * tests/check-hildon-color-button.c (START_TEST): do not leak
943 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
945 * src/hildon-font-selection-dialog.c
946 (hildon_font_selection_dialog_get_preview_text): Return NULL
947 instead of FALSE on the g_return_val_if_fail().
949 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
951 * src/hildon-time-selector.c (hildon_time_selector_set_time):
952 * src/hildon-date-selector.c
953 (hildon_date_selector_select_current_date):
954 Do not compare unsigned integers to be greater than or equal 0,
955 because it's always TRUE.
957 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
959 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
960 (hildon_date_selector_constructor): Do not select the current
961 date until we are handle the "changed" signal, to avoid having bogus
962 elements in the days model.
964 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
966 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
967 for num_days, since _month_days() can return a negative value.
969 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
971 * src/hildon-caption.c (hildon_caption_size_allocate):
972 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
973 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
975 Initialize allocation variables to 0, to avoid eventually using
976 unitialized variables.
978 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
980 * src/hildon-bread-crumb-trail.c
981 (hildon_bread_crumb_trail_size_allocate):
982 * src/hildon-calendar.c (hildon_calendar_set_background):
983 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
984 * src/hildon-range-editor.c (hildon_range_editor_get_range):
985 * src/hildon-seekbar.c (hildon_seekbar_init):
986 * src/hildon-time-editor.c (hildon_time_editor_get_time):
987 * src/hildon-time-selector.c (hildon_time_selector_finalize):
988 * src/hildon-touch-selector-entry.c
989 (hildon_touch_selector_get_text_from_model):
990 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
991 * src/hildon-window.c (hildon_window_finalize):
993 Remove many unused variables.
995 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
997 * src/hildon-seekbar.c: (hildon_seekbar_init),
998 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1000 Remove unnecessary g_assert() calls.
1002 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1004 * src/hildon-caption.c: (hildon_caption_expose),
1005 (hildon_caption_set_property), (hildon_caption_init),
1006 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1007 (hildon_caption_size_request), (hildon_caption_size_allocate),
1008 (hildon_caption_forall), (hildon_caption_set_separator),
1009 (hildon_caption_activate), (hildon_caption_set_child_expand),
1010 (hildon_caption_set_label_text),
1011 (hildon_caption_get_label_alignment):
1013 Remove unnecessary g_assert() calls.
1015 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1017 * src/hildon-banner.c
1018 (hildon_banner_map, hildon_banner_init): Make banner temporary
1019 before mapping it to avoid closing other temporary windows, but
1020 make it non-temporary afterwards to avoid being closed by other
1021 non-temporary windows.
1022 (-hildon_banner_client_event, hildon_banner_init):
1023 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1025 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1028 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1033 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1035 * src/hildon-remote-texture.c
1036 * src/hildon-remote-texture.h
1037 * src/hildon-remote-texture-private.h
1038 * examples/hildon-remote-texture-example.c:
1039 Updates/fixes to remote-texture and its example.
1041 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1043 Patch by Mox Soini (ext-mox.soini@nokia.com)
1045 * src/hildon-code-dialog.c: Update logical id.
1046 * src/hildon-set-password-dialog.c: Update logical id.
1048 Fixes: NB#100646 (Logical strings is shown for ok in set
1049 password,Password needed dialogs)
1051 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1054 * src/hildon-remote-texture.c
1055 * src/hildon-remote-texture.h
1056 * src/hildon-remote-texture-private.h
1058 Added remote texture widget (for Clutter shared memory textures)
1060 * examples/hildon-remote-texture-example.c
1061 * examples/Makefile.am
1062 Added example file for remote texture usage
1064 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1066 * configure.ac: post release version bump.
1067 * debian/changelog: version bump.
1069 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1074 * configure.ac: Bump version.
1075 * debian/changelog: Updates.
1077 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1079 * src/hildon-date-selector.c (hildon_date_selector_init)
1080 (hildon_date_selector_constructor): Don't connect to the "changed"
1081 signal until the selector is completely constructed.
1083 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1085 * src/hildon-touch-selector.c: (_create_new_column),
1086 (hildon_touch_selector_append_column),
1087 (hildon_touch_selector_set_column_selection_mode),
1088 (hildon_touch_selector_set_active),
1089 (hildon_touch_selector_select_iter):
1090 Emit the HildonTouchSelector::changed signal every time selection
1091 is changed in any of the methods above. This behavior was already
1092 documented but not fully functional.
1094 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1095 selection is programmatically changed)
1097 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1099 * doc/hildon-sections.txt: Remove obsolete icon
1100 sizes from here as well.
1102 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1104 * examples/hildon-stackable-window-example.c (add_window): Remove
1107 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1109 * src/hildon-app-menu.c
1110 (hildon_app_menu_show): Check whether the parent window of a menu
1111 is topmost before popping it up.
1113 Fixes: NB#100468 (Application menu window is launched even when a
1114 new secondary-window/dialog is pending to be shown/realized.)
1116 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1118 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1121 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1123 Patch by Mox Soini (ext-mox.soini@nokia.com)
1125 * src/hildon-banner.c: (hildon_banner_show_animation):
1126 use stylus size instead of obsolete note size.
1127 * src/hildon-defines.h: Update icon sizes.
1129 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-touch-selector-entry.c:
1132 (hildon_touch_selector_entry_init): Disable unsupported
1134 (hildon_touch_selector_entry_get_text_column): Emit a warning
1135 if an unsupported input modes is used and explicitile state
1136 these modes in the documentation.
1138 Fixes: NB#99802 (Hildon touch selector entry not working properly
1139 for some of the input modes)
1141 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1143 * src/hildon-pannable-area.c,
1144 (hildon_pannable_area_init): Added the changed signal handlers of
1147 Fixes: NB#100320 (HildonPannableArea does not listen to
1148 GtkAdjustment "change" signals)
1150 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1152 * doc/hildon-sections.txt
1153 * src/hildon-window-private.h
1154 * src/hildon-window.h
1155 * src/hildon-window.c (hildon_window_init)
1156 (hildon_window_realize, hildon_window_unrealize)
1157 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1158 (hildon_window_size_request, hildon_window_size_allocate)
1159 (hildon_window_forall, hildon_window_show_all)
1160 (hildon_window_destroy, +paint_edit_toolbar)
1161 (+hildon_window_set_edit_toolbar):
1162 New hildon_window_set_edit_toolbar() method, to add a
1163 HildonEditToolbar to a window without having to pack it manually.
1165 Reorganize hildon_window_size_allocate()
1167 * src/hildon-edit-toolbar.c: Update documentation.
1169 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1170 example to use the new API.
1172 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1174 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1176 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1177 Remove from stack before calling parent's hide.
1179 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1181 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1182 window is removed from the middle of the stack, update the
1183 transiency of the previous one.
1185 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1188 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1190 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1191 block/unblock the signal handler if it's not actually being used.
1192 Fixes some critical warnings.
1194 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1196 Based on a patch by Iván Gómez (igomez@igalia.com)
1198 * src/hildon-banner.c
1202 * src/hildon-pannable-area.c
1203 * src/hildon-picker-dialog.c
1204 * src/hildon-wizard-dialog.h
1205 * src/hildon-wizard-dialog.c: Documentation updates.
1207 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1208 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1210 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1212 * configure.ac: post release version bump.
1213 * debian/changelog: version bump.
1215 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1220 * configure.ac: Bump version.
1221 * debian/changelog: Updates.
1223 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1225 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1226 a stock icon nor change the relief of the back arrow.
1228 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1229 graphics from theme)
1231 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1233 * src/hildon-button.c (hildon_button_set_alignment): Use
1234 priv->alignment if the button has no child yet.
1236 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1238 * src/hildon-button.c: (hildon_button_init): Set the
1239 button style during initialization to give it the proper
1242 Fixes: NB#99713 (HildonButton value label color is wrong)
1244 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1246 * src/hildon-touch-selector.c: Document
1247 hildon_touch_selector_center_on_selected()
1249 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1252 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1253 all menu items, but not the menu itself.
1254 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1255 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1256 items after adding them to the menu so keyboard accelerators work.
1257 (hildon_app_menu_show): Don't show the menu if it contains items
1258 but none of them are visible.
1260 * examples/hildon-app-menu-example.c (create_menu): Use
1261 gtk_widget_show_all() to show all menu items.
1263 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1265 * src/hildon-picker-dialog.c:
1266 (-_update_title_on_selector_changed_cb),
1267 (-_dialog_update_title): Removed.
1268 (_select_on_selector_changed_cb), (_on_dialog_response),
1269 (on_selector_columns_changed): Do not update the dialog title.
1270 (setup_interaction_mode): Do not connect to
1271 HildonTouchSelector::changed signal if there's a "done" button, as
1272 the dialog title doesn't need to be updated.
1274 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1277 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1279 Patch by Kristian Rietveld (kris@imendio.com)
1281 * src/hildon-touch-selector.c: (_create_new_column): Use new
1282 GtkTreeView::hildon-row-tapped signal to react to user interactions
1283 instead of ::changed.
1285 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1286 with some dynamic tree model)
1288 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1290 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1291 (+screen_size_changed, +label_size_request)
1292 (hildon_note_class_init): Make the Hildon information note have a
1293 minimum height, and make its text hvae a maximum width.
1295 Fixes: NB#98614 (Hildon information note (background) should have
1296 minimum height and maximum text width)
1298 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1300 * src/hildon-banner.h
1301 * src/hildon-banner.c (hildon_banner_show_information)
1302 (hildon_banner_show_informationf)
1303 (hildon_banner_show_information_with_markup): Update documentation
1304 to reflect that the icon_name parameter is not used anymore.
1305 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1306 Remove all code from these functions and mark them as deprecated.
1307 (hildon_banner_show_progress): Mark as deprecated.
1309 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1311 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1313 * src/hildon-pannable-area.c,
1314 (hildon_pannable_area_class_init),
1315 (tranparency_color),
1316 (hildon_pannable_draw_vscroll),
1317 (hildon_pannable_draw_hscroll),
1318 (hildon_pannable_area_expose_event): Added a new way to render the
1319 scrollbars of the pannable area avoiding using cairo at all. This
1320 way we improve the performance of the pannable area rendering. The
1321 cairo rendering procedure is still in the code, we can control
1322 which one to use changing the value of the define
1323 USE_CAIRO_SCROLLBARS.
1325 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1327 * configure.ac: post release version bump.
1328 * debian/changelog: version bump.
1330 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1335 * configure.ac: Bump version.
1336 * debian/changelog: Updates.
1338 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1340 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1341 banners instead of destroying them when they receive a button
1344 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1346 Reverted commit 34028, it was causing regressions, probably the
1347 topmost condition is not correct, we have to check it in more
1348 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1349 propagation of button press events)
1351 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1353 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1354 that the selection is not empty before attempting to retrieve the
1355 current ampm selection.
1357 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1359 * src/hildon-picker-button.c:
1360 (hildon_picker_button_on_dialog_response): Directly update the
1361 button contents when required instead of calling _selection_changed.
1363 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1365 * src/hildon-program.c (hildon_program_update_top_most): Update
1366 'is-topmost' property also when wm_hints is not set.
1368 Fixes: NB#98383 (is-topmost signal is not emitted when task
1369 switcher is clicked.)
1371 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1373 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1377 * src/hildon-animation-actor.c,
1378 * src/hildon-animation-actor.h: Added the animation actor class,
1379 this widget represents an animation actor for WM-assisted
1380 animation effects in the Hildon framework.
1382 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1384 * src/hildon-window-stack-private.h
1385 * src/hildon-window-stack.c
1386 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1387 Avoid calling gtk_widget_show() again indirectly from
1388 hildon_stackable_window_show()
1390 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1395 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1397 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1398 (hildon_time_selector_init): Move the construction of the hours and
1399 ampm columns to the constructor to preserve the order the columns
1402 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1404 * src/hildon-picker-dialog.c:
1405 (hildon_picker_dialog_class_init): Connect a realize method.
1406 (+hildon_picker_dialog_realize): Setup the interaction mode here
1408 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1409 yet, do it during the realize instead.
1410 (_on_dialog_response):
1411 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1412 if the widget is not realized, to avoid the dialog response before it
1415 Avoid premature responses in the HildonPickerDialog that can cause it
1416 to be hidden before it's even shown.
1418 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1421 (on_selector_columns_changed), (requires_done_button),
1422 (+prepare_action_area), (setup_interaction_mode),
1423 (_hildon_picker_dialog_set_selector):
1425 Split the interaction mode setup into preparation of the
1426 action area (prepare_action_area()) and the connection of
1427 the signals in setup_interaction_mode() and update the code to
1430 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1432 * src/hildon-pannable-area.c,
1433 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1434 per second to 15, we will check if this is ok regarding
1437 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1439 * src/hildon-pannable-area.c,
1440 (hildon_pannable_axis_scroll): Avoid resize if we already have
1441 reached overshoot_max.
1443 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1445 * src/hildon-pannable-area.c,
1446 (hildon_pannable_area_init),
1447 (hildon_pannable_area_realize),
1448 (hildon_pannable_area_size_allocate),
1449 (hildon_pannable_area_map),
1450 (hildon_pannable_area_unmap),
1451 (hildon_pannable_draw_vscroll),
1452 (hildon_pannable_draw_hscroll),
1453 (hildon_pannable_area_expose_event),
1454 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1455 pannable are to avoid the expose events go to the window and
1456 redraw the window. We save this way that part of the stack and the
1457 paint_boxes. We had to change the positions of the elements when
1460 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1462 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1463 * src/hildon-color-chooser-dialog.c:
1464 (hildon_color_chooser_dialog_init):
1465 * src/hildon-font-selection-dialog.c:
1466 (hildon_font_selection_dialog_init),
1467 (hildon_font_selection_dialog_show_preview):
1468 * src/hildon-get-password-dialog.c:
1469 * src/hildon-login-dialog.c:
1470 * src/hildon-set-password-dialog.c:
1471 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1472 * src/hildon-time-picker.c: (hildon_time_picker_init):
1474 Remove obsolete logical string IDs and update to the appropriate ones.
1476 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1478 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1480 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1481 that happens if the window hasn't been realized yet.
1483 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1484 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1486 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1488 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1489 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1492 Fixes: NB#98537 (Device hangs in account settings dialog)
1494 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1496 * configure.ac: post release version bump.
1497 * debian/changelog: version bump
1499 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1504 * configure.ac: Bump version.
1505 * debian/changelog: Updates.
1507 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1509 Added a new function to the HildonTimeButton widget that allows to
1510 change the step of the minutes in the selector associated with the
1511 button: hildon_time_button_new_step
1513 * src/hildon-time-button.c,
1514 (hildon_time_button_init),
1515 (hildon_time_button_new),
1516 (hildon_time_button_new_step):
1517 * src/hildon-time-button.h: Added the new function and refactored
1519 * examples/hildon-time-button-example.c,
1520 (main): We have replaced the function without parameters with the
1521 function with the steps set to 5
1523 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1525 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1527 * src/hildon-time-selector.c,
1528 (hildon_time_selector_class_init),
1529 (hildon_time_selector_constructor),
1530 (hildon_time_selector_get_property),
1531 (hildon_time_selector_set_property),
1532 (_create_minutes_model),
1533 (hildon_time_selector_new_step),
1534 (hildon_time_selector_set_time),
1535 * src/hildon-time-selector.h: Added a new property to the
1536 HildonTimeSelector (minutes-step), we use that property to control
1537 the steps between the minutes in the list of the selector. We have
1538 added a new function to the API to create a widget changing the
1539 step: hildon_time_selector_new_step.
1541 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1543 * src/hildon-time-selector.c,
1544 (hildon_time_selector_class_init),
1545 (hildon_time_selector_constructor),
1546 (hildon_time_selector_init): Overrided the construct function when
1547 creating the time selector object. We have moved the minutes model
1548 handling code from the init to the new construction function:
1549 hildon_time_selector_constructor.
1551 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1553 * examples/hildon-date-button-example.c: (main): Use the new
1554 hildon_date_button_new_with_year_range() method in the example.
1555 * src/hildon-date-button.c:
1556 (+hildon_date_button_new_with_year_range): New public method
1557 to conveniently create a HildonDateButton with a custom year range
1558 in its HildonDateSelector.
1559 * src/hildon-date-button.h: Add the new public method definition.
1561 Fixes: NB#97908 (Not possible to change the year range in
1562 HildonDateSelector/HildonDateButton)
1564 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1566 * src/hildon-date-selector.c:
1567 (+hildon_date_selector_set_property),
1568 (+hildon_date_selector_get_property),
1569 (hildon_date_selector_class_init): Install new properties "min-year"
1570 and "max-year" to define boundaries for the year column.
1571 (_create_year_model): Use the boundary properties to populate the model.
1572 (+hildon_date_selector_new_with_year_range): New public method to
1573 create a HildonDateSelector with a user defined year range.
1574 (hildon_date_selector_select_current_date): Use the new boundaries to
1575 calculate the iterator of current year.
1576 * src/hildon-date-selector.h: Add the new public method definition.
1578 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1580 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1581 Install a constructor method.
1582 (+hildon_date_selector_construct_ui): construct the widget.
1583 (+hildon_date_selector_constructor): new constructor.
1584 (+hildon_date_selector_init): move out widget construction code to
1585 the new constructor.
1587 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1589 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1590 that there's actually a month or year selected before obtaining them.
1591 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1592 of the HildonTouchSelector::changed signal, as it was emitted on every
1593 single item selection.
1595 Fix some warnings and possible crashers due to the selection restoring.
1597 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1599 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1600 the signal handlers only after creating the dialog instead of on every
1603 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1605 * src/hildon-button.c (hildon_button_init)
1606 * src/hildon-check-button.c (hildon_check_button_init)
1607 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1608 focus when clicked by default.
1610 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1612 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1615 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1617 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1618 Alejandro G. Castro (alex@igalia.com)
1620 * src/hildon-picker-dialog.c:
1621 (hildon_picker_dialog_class_init): install new "center-on-show"
1623 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1624 (hildon_picker_dialog_set_property): add setter code for the new
1626 (hildon_picker_dialog_get_property): add getter code for the new
1628 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1629 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1632 Fixes: NB#92849 (Selected item is not always visible when
1633 HildonTouchSelector is shown)
1635 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1637 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1638 Alejandro G. Castro (alex@igalia.com)
1640 * src/hildon-touch-selector.c:
1641 (_create_new_column): Do not connect to the "realize" signal of the
1643 (hildon_touch_selector_append_column): center on the selected items
1644 when a new column is appended.
1645 (hildon_touch_selector_select_iter): Factor out the code to select a
1646 column to hildon_touch_selector_scroll_to().
1647 (+search_nearest_element): Method to retrieve the nearest selected
1648 element to the visible area of the pannable area in a column.
1649 (+on_realize_cb): scroll to the initially selected item.
1650 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1651 the pannable area is realized, otherwise delay this until it is.
1652 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1653 selected items of a given column.
1654 (+hildon_touch_selector_center_on_selected): Public method to center
1655 all columns on the nearest selected item.
1656 * src/hildon-touch-selector.h: Add definition for
1657 hildon_touch_selector_center_on_selected().
1659 Implement public API to ensure visibility of all selected items in
1660 a HildonTouchSelector.
1662 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1664 Fixed a problem in the fading when calling the scroll_to API, and
1665 improve scrollbar fading handling.
1667 * src/hildon-pannable-area.c,
1668 (hildon_pannable_area_grab_notify): avoid the timeout when the
1670 (hildon_pannable_area_button_press_cb),
1671 (hildon_pannable_area_motion_notify_cb): Code style changes.
1672 (hildon_pannable_area_button_release_cb): Review the conditions
1673 when releasing the mouse button to avoid unrequired fading
1675 (hildon_pannable_area_scroll_to): Do not calculate and set the
1676 velocity if the scroll is not required.
1678 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1681 Don't check whether the new selector is NULL: it cannot be.
1682 Hold a reference to the selector while doing the replacement.
1684 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1687 unnecessary size_request in a removed widget.
1689 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1691 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1692 an unnecessary reference tracking that was leaking.
1694 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1696 Added delayed motion notify event handling, this way we can
1697 discard redrawing if more than 25 events arrive per second.
1699 * src/hildon-pannable-area.c,
1700 (hildon_pannable_area_init): Initialized the new private atributes
1701 controlling this timeout
1702 (hildon_pannable_area_dispose): Remove the timeout that controls
1703 the motion notify events.
1704 (hildon_pannable_area_scroll): Added a condition to control the
1705 use of the acceleration.
1706 (hildon_pannable_area_motion_event_scroll_timeout),
1707 (hildon_pannable_area_motion_event_scroll): Added this two
1708 functions, they handle the motion notify events inside the
1710 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1711 to the scroll method with the new function.
1712 (hildon_pannable_area_button_release_cb): We have to remove the
1713 timeout handler and move to the last position if the last motion
1714 events were not handled.
1716 Fixes: NB#97028 (Pannable area updates on every motion event)
1718 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1720 * src/hildon-pannable-area.c,
1721 (hildon_pannable_area_get_topmost): Added a new parameter to
1722 filter the the windows that do not include those events. Added
1723 also a condition when finding the window to filter windows that do
1724 not ask for those events.
1725 (hildon_pannable_area_button_press_cb),
1726 (hildon_pannable_area_button_release_cb),
1727 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1728 topmost function, we have added the new parameter.
1730 Fixes: NB#97458 (Pannable area prevents propagation of button
1733 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1735 * src/hildon-pannable-area.c,
1736 (hildon_pannable_area_initial_effect): Added controls before
1737 launching the timeout and the idle functions.
1738 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1739 of the method, in some situations it can return with TRUE and 0 in
1741 (hildon_pannable_area_button_press_cb): We do not need to set
1742 DELAY for fading out here.
1744 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1746 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1748 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1749 post-cleaning if the selection is not NULL.
1751 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1753 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1754 all items before restoring the selection.
1756 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1758 * src/hildon-touch-selector.c:
1759 (+hildon_touch_selector_unselect_all):
1760 * src/hildon-touch-selector.h: New API to unselect all items in a
1761 column of the touch selector.
1763 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1765 * src/hildon-pannable-area.c,
1766 (hildon_pannable_area_redraw): Added a call to the refresh
1767 function inside the redraw because apparently in some cases the
1768 change in the adjustment does not imply a size allocate.
1770 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1771 despite the view not being scrollable)
1773 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1775 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1776 leak. Check for NULL before attempting to set the window title.
1778 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1781 whether to show or not the 'Done' button each time the dialog is
1782 shown, as it depends on the HildonTouchSelector selection mode.
1784 Fixes: NB#96226 (In multiple selection mode Done button is shown
1785 sometimes in listpicker)
1787 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1789 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1790 for the number of columns in the HildonTouchSelector more than once.
1792 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-touch-selector.c: Minor documentation fixes.
1796 * src/hildon-picker-dialog.c (+_dialog_update_title)
1797 (_select_on_selector_changed_cb)
1798 (_update_title_on_selector_changed_cb)
1799 (on_selector_columns_changed): Update dialog title when there's no
1800 'Done' button and also when the number of columns in the selector
1804 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1805 (+_selection_changed, hildon_picker_button_on_dialog_response)
1806 (hildon_picker_button_selector_selection_changed)
1807 (+hildon_picker_button_selector_columns_changed)
1808 (hildon_picker_button_set_selector): Update button value and emit
1809 'value-changed' when the number of columns in the selector
1813 Fixes: NB#96225 (Dialog titles are not shown according to the
1814 values selected in the list picker)
1816 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1818 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1819 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1820 New "arrow-width" and "arrow-height" style properties to set the
1821 size of the arrow button.
1822 Set name of arrow button ("hildon-edit-toolbar-arrow").
1824 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1825 graphics from theme)
1827 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1829 * src/hildon-picker-button.c:
1830 (hildon_picker_button_selector_selection_changed): Use
1831 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1832 the dialog is present.
1834 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1835 the selection is accepted in the dialog)
1837 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-color-chooser.h
1840 * src/hildon-color-chooser-dialog.h:
1841 Added G_BEGIN_DECLS and G_END_DECLS
1843 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1845 (_clean_current_selection): plug a leak in the list.
1847 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1849 * src/hildon-picker-dialog.c:
1850 (+free_path_list): Method to free a GList of GtkTreePaths.
1851 (_clean_current_selection), (_save_current_selection),
1852 (_restore_current_selection): Save the current selection in
1853 as a list of lists, to support multiple selection properly.
1855 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1857 patch by Claudio Saavedra (csaavedra@igalia.com)
1859 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1860 Store the press position.
1861 (+hildon_text_view_button_release_event): If the release position is
1862 close enough to the press position, move the cursor here. Otherwise,
1864 (hildon_text_view_class_init): Override GtkTextView press, release, and
1865 motion event handlers, disabling this way text selection through
1866 pointer interaction, and allowing the container widget to handle the
1869 Fixes: NB#95828 (HildonTextView functionality)
1871 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1873 Based on a patch by Iván Gómez (igomez@igalia.com)
1875 * src/hildon-button.[ch]
1876 * src/hildon-calendar.c
1877 * src/hildon-check-button.c
1878 * src/hildon-date-editor.c
1879 * src/hildon-date-selector.c
1880 * src/hildon-picker-button.c
1881 * src/hildon-time-editor.c
1882 * src/hildon-time-selector.c
1883 * src/hildon-touch-selector.[ch]:
1884 Documentation updates
1886 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1888 * src/hildon-pannable-area.c,
1889 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1890 threshold, it was required due to X events handling.
1892 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1894 * src/hildon-pannable-area.c,
1895 (hildon_pannable_area_grab_notify),
1896 (hildon_pannable_area_initial_effect),
1897 (hildon_pannable_area_button_press_cb),
1898 (hildon_pannable_area_button_release_cb),
1899 (hildon_pannable_area_scroll_cb),
1900 (hildon_pannable_area_scroll_to): Review the timeout management of
1901 the scrollbar, the frecuency was incorrectly set.
1903 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1905 * src/hildon-picker-button.c:
1906 (+hildon_picker_button_on_dialog_response),
1907 (hildon_picker_button_clicked): Present the dialog instead of
1908 running it with gtk_dialog_run().
1910 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1913 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1915 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1916 (hildon_app_menu_finalize): When a window is hidden it doesn't
1917 emit notify::is-topmost, so make sure than the menu also
1918 disappears in that case.
1919 (parent_window_topmost_notify): Renamed from parent_window_hidden
1921 Fixes: NB#94460 (stackable window's menu is not closed when its
1924 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1926 * src/hildon-touch-selector-entry.c:
1927 (+hildon_touch_selector_entry_set_input_mode),
1928 (+hildon_touch_selector_entry_get_input_mode):
1929 * src/hildon-touch-selector-entry.h: New methods to access the input
1930 mode in the selector's entry.
1932 Fixes: NB#93410 (API required for setting IM mode in
1933 HildonTouchSelectorEntry)
1935 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1937 * configure.ac: post release version bump.
1938 * debian/changelog: version bump
1940 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1945 * configure.ac: Bump version.
1946 * debian/changelog: Updates.
1948 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1950 * src/hildon-touch-selector.c:
1951 (_hildon_touch_selector_has_multiple_selection): No need
1952 to initialize the variables here.
1954 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1956 * src/hildon-note-private.h
1957 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1958 (hildon_note_finalize, hildon_note_rebuild): Close information
1959 notes when they receive a button press.
1961 Fixes: NB#89890 (Information notes does not get disappeared after
1964 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1966 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1967 mark from the wizard title, as it's not really necessary. Also,
1968 do not display the page title if not set.
1970 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1972 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1973 (parent_window_hidden): Use the window's "is-topmost" property to
1974 detect when to hide the menu.
1976 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1978 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1979 (hildon_app_menu_finalize): If the parent window of the menu is
1980 hidden, hide the menu too.
1982 Fixes: NB#94460 (stackable window's menu is not closed when its
1985 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1988 * debian/libhildon1-examples.install
1990 * examples/Makefile.am:
1991 Use dh_install to install all examples.
1992 Use DEB_SRCDIR instead of defining SOURCE_DIR
1994 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1996 * configure.ac: post release version bump.
1997 * debian/changelog: version bump
1999 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2004 * configure.ac: bump version
2005 * debian/changelog: updates
2006 * debian/control: bump gtk+ dependency
2008 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2010 patch by Christian Dywan (christian@imendio.com)
2012 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2013 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2015 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2017 * src/hildon-check-button.c (hildon_check_button_init)
2018 (hildon_check_button_class_init, hildon_check_button_style_set)
2019 (hildon_check_button_apply_style):
2020 New "checkbox-size" style property.
2022 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2023 larger / configurable size)
2025 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2027 * configure.ac: post release version bump.
2028 * debian/changelog: version bump
2030 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2035 * configure.ac: bump version
2036 * debian/changelog: updates
2038 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2040 * doc/hildon-sections.txt
2041 * src/hildon-pannable-area.c
2042 * src/hildon-program.c
2043 * src/hildon-time-editor.c
2044 * src/hildon-touch-selector-entry.c:
2046 More documentation updates.
2048 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2050 * doc/hildon-sections.txt
2051 * src/hildon-caption.c
2052 * src/hildon-code-dialog.c
2053 * src/hildon-color-button.c
2054 * src/hildon-controlbar.c
2055 * src/hildon-date-editor.c
2056 * src/hildon-date-selector.c
2057 * src/hildon-edit-toolbar.c
2058 * src/hildon-find-toolbar.c
2059 * src/hildon-font-selection-dialog.c
2061 * src/hildon-program.c
2062 * src/hildon-range-editor.c
2063 * src/hildon-seekbar.c
2064 * src/hildon-time-editor.c
2065 * src/hildon-time-selector.c
2066 * src/hildon-volumebar-range.c
2067 * src/hildon-volumebar.c
2068 * src/hildon-vvolumebar.c
2069 * src/hildon-weekday-picker.c
2070 * src/hildon-window.c
2071 * src/hildon-wizard-dialog.c:
2073 Lots of documentation fixes.
2075 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2077 Patch contributed by Iván Gómez (igomez@igalia.com)
2079 * src/hildon-check-button.c:
2080 * src/hildon-date-button.c:
2081 * src/hildon-date-selector.c:
2082 * src/hildon-dialog.c:
2083 * src/hildon-edit-toolbar.c:
2084 * src/hildon-entry.c:
2085 * src/hildon-picker-button.c:
2086 * src/hildon-program.c:
2087 * src/hildon-text-view.c:
2088 * src/hildon-time-button.c:
2089 * src/hildon-touch-selector-entry.c:
2090 * src/hildon-window-stack.c:
2092 Add more "since" tags to the new API.
2094 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2096 * doc/hildon-sections.txt: Add below method.
2097 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2098 version for the hildonized scale.
2099 * src/hildon-gtk.h: Add the definition.
2101 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2103 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2105 * doc/hildon-sections.txt: Add missing entries for new methods.
2107 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2109 Added API to pannable are in order to get its adjustments. We
2110 added two properties to manage the values we had in the private
2113 * src/hildon-pannable-area.c:
2114 (hildon_pannable_area_class_init): Added hadjustment and
2115 vadjustment properties in order to expose horizontal and vertical
2117 (hildon_pannable_area_get_property),
2118 (hildon_pannable_area_set_property): Added code to handle the new
2120 (hildon_pannable_area_get_hadjustment),
2121 (hildon_pannable_area_get_vadjustment): API functions to get the
2123 * src/hildon-pannable-area.h:
2124 (hildon_pannable_area_get_hadjustment),
2125 (hildon_pannable_area_get_vadjustment): API functions to get the
2128 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2130 Fixed some leaks, after valgrinding.
2132 * src/hildon-touch-selector.c:
2133 (_default_print_func): Fixed a leak.
2134 (hildon_touch_selector_append_column): Fixed a leak.
2135 * src/hildon-date-button.c:
2136 (hildon_date_button_init): Fixed a leak.
2137 * src/hildon-date-selector.c
2138 (hildon_date_selector_finalize): Fixed a leak.
2140 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2142 Based on a patch by Christian Dywan (christian@imendio.com)
2144 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2146 * src/hildon-gtk.h: Add definition.
2148 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2150 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2152 * src/hildon-picker-button.c: (hildon_picker_button_init),
2153 (hildon_picker_button_new): Set the HildonButton::style property
2154 in the init method, to propagate the value to the derived classes.
2156 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2158 * src/hildon-button.c: (hildon_button_class_init): Do not make
2159 the "style" property a construct property.
2161 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2163 * src/hildon-wizard-dialog.h
2164 * src/hildon-wizard-dialog.c
2165 (hildon_wizard_dialog_set_forward_page_func)
2166 * src/hildon-pannable-area.h
2167 * src/hildon-pannable-area.c
2168 (hildon_pannable_area_set_size_request_policy):
2169 Documentation fixes.
2171 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2173 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2175 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2177 * doc/hildon-sections.txt: Added sections file.
2179 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/*.[ch]: Updates.
2184 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2186 * examples/hildon-progress-indicator-example.c: new file
2187 * examples/Makefile.am: include the new example program
2189 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2191 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2193 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2195 * configure.ac: post release version bump
2196 * debian/changelog: version bump
2198 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2203 * configure.ac: bump version
2204 * debian/changelog: updates
2205 * debian/control: bump gtk+ dependency
2207 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2209 * src/hildon-dialog.c: Mark as deprecated.
2210 * src/hildon-dialog.h: Mark as deprecated.
2211 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2212 from HildonDialog and still work, even if
2213 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2214 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2216 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2217 maemo changes) instead)
2219 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2221 * src/hildon-pannable_area.h:
2222 * src/hildon-pannable_area.c:
2223 (hildon_pannable_area_class_init),
2224 (hildon_pannable_area_set_property),
2225 (hildon_pannable_area_get_property),
2226 (hildon_pannable_area_size_request),
2227 (hildon_pannable_area_get_size_request_policy),
2228 (hildon_pannable_area_set_size_request_policy): Added new API
2229 allowing applications to control the request policy. Now they can
2230 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2231 children allocation (HILDON_MOVEMENT_CHILDREN).
2233 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2237 (hildon_gtk_tree_view_set_ui_mode)
2238 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2239 mode of treeviews and iconviews.
2241 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2243 * src/hildon-touch-selector-entry.c:
2244 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2245 of a GtkEntry to get proper theming.
2247 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2248 widget, not GtkEntry)
2250 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2253 no HildonWizardDialogPageFunc.
2255 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2257 Patch contributed by Iván Gómez (igomez@igalia.com)
2259 * src/hildon-app-menu.c:
2260 * src/hildon-button.c:
2261 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2262 * src/hildon-stackable-window.c:
2263 * src/hildon-time-selector.c:
2264 * src/hildon-touch-selector.c:
2265 * src/hildon-window.c:
2267 Add more "since" tags to the new API in hildon 2.2.
2269 2008-12-05 Tim Janik <timj@imendio.com>
2271 Patch contributed by Christian Dywan (christian@imendio.com)
2273 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2274 HildonSizeType, which are supplied by Gtk+ now.
2276 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2278 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2279 (with maemo changes) instead)
2281 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2283 Patch contributed by Iván Gómez (igomez@igalia.com)
2285 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2288 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2290 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2291 (some_page_func), (main): Update the example to use a
2292 HildonWizardDialogPageFunc function.
2294 * src/hildon-wizard-dialog-private.h: Add private data for
2295 the HildonWizardDialogPageFunc function usage.
2297 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2298 (destroy), (hildon_wizard_dialog_init), (response),
2299 (hildon_wizard_dialog_set_forward_page_func):
2300 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2301 that applications can use to stop a HildonWizardDialog to jump to
2304 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2307 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-program.h
2310 * src/hildon-program-private.h
2311 * src/hildon-program.c (hildon_program_init)
2312 (hildon_program_set_common_app_menu)
2313 (hildon_program_get_common_app_menu):
2314 New API for setting a common HildonAppMenu for all
2315 HildonStackableWindows registered with the HildonProgram.
2317 * src/hildon-stackable-window.c
2318 (hildon_stackable_window_toggle_menu):
2319 Use the common HildonAppMenu if a window doesn't have a specific
2322 * src/hildon-app-menu-private.h
2323 * src/hildon-app-menu.c
2324 (hildon_app_menu_get_parent_window):
2325 Function to obtain the window a HildonAppMenu is attached to.
2326 (hildon_app_menu_set_parent_window):
2327 Hide the menu if the parent window is set to NULL.
2329 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2332 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2333 search widget to popup.
2335 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2337 * configure.ac: post release version bump
2338 * debian/changelog: version bump
2340 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2345 * configure.ac: bump version
2346 * debian/changelog: updates
2348 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2350 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2352 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2353 (hildon_window_stack_window_realized)
2354 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2355 Set the leader GdkWindow when a window is stacked and realized,
2356 unset it when it's unstacked.
2357 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2359 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2361 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2363 * src/hildon-stackable-window.h
2364 * src/hildon-window-stack.h:
2365 Protect definition of HildonWindowStack using the preprocessor.
2367 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2369 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2370 Fix warning if all menu items are hidden.
2372 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2374 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2376 * src/hildon-controlbar.c:
2377 * src/hildon-hvolumebar.c:
2378 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2379 Multiple scale size defines updates.
2381 Fixes: NB#94322 (Scale Updates)
2383 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2385 * examples/hildon-app-menu-example.c (create_menu)
2386 Show items after adding them to the menu, as in the future the
2387 menu will no longer call gtk_widget_show() on the added items.
2389 * src/hildon-app-menu.c:
2390 Update example as explained above.
2392 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-app-menu.c
2395 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2396 Make sure that all menu items have finger height.
2398 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2400 * src/hildon-picker-dialog.c:
2401 (_on_dialog_response), (_save_current_selection),
2402 (_restore_current_selection), (_clean_current_selection),
2403 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2404 Defined new functions in order to save the current internal selector
2405 selection previous open the dialog, in case that the use cancel the
2406 interaction, so the widget restores the previous selection.
2408 Fixes: NB#92032 (In calendar application, date values in 'new event'
2411 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2413 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2415 * src/hildon-button.c: Add a reference to the button examples in
2416 hildon-button-example.c
2418 * examples/hildon-button-example.c: Added examples of the most
2419 common button layouts.
2421 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2423 * src/hildon-app-menu.c (hildon_app_menu_show)
2424 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2426 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2428 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-picker-dialog.c:
2431 (hildon_picker_dialog_init): Initialize the signal id for
2432 HildonTouchSelector::columns-changed.
2433 (+on_selector_columns_changed): Set up the interaction mode everytime a
2434 column is added or removed from the HildonTouchSelector.
2435 (_hildon_picker_dialog_set_selector): Connect to
2436 HildonTouchSelector::columns-changed and keep track of it.
2438 Make sure to update the interaction mode of the dialog everytime a
2439 column is added or removed in the HildonTouchSelector.
2441 Fixes: NB#93228 (Done button is not shown always in listpicker)
2443 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2445 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2446 a new ::columns-changed signal.
2447 (hildon_touch_selector_append_column): Emit ::columns-changed.
2448 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2450 Add a ::columns-changed signal, emitted when the number of columns in a
2451 HildonTouchSelector changes.
2453 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2455 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2456 (_hildon_picker_dialog_set_selector): Factor out the code
2457 to set up the dialog interaction mode.
2459 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2462 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2463 to signal_changed_id.
2465 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2467 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2470 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2472 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2473 Updated the logical ids related to ampm format, as now it is required to
2474 show it correctly localized even on languages with no default
2475 abbreviations for am or pm
2476 (_check_am_pm_format): check correctly the 24h format gconf property
2478 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2480 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2482 * src/hildon-button.c: Documentation updates.
2484 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2486 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2487 * src/hildon-caption.c: (hildon_caption_class_init):
2488 * src/hildon-color-button.c: (hildon_color_button_class_init):
2489 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2490 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2491 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2492 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2494 Remove deprecated GTK+ marshalers and replace them with the ones
2495 provided by GLib, for those available, add a marshaler for
2496 BOOLEAN:VOID, which is not available in GLib, and use it.
2498 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2500 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2501 the text from the previous column if there is no
2502 HildonTouchSelectorColumn::text-property set.
2504 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2506 * src/hildon-button.h
2507 * src/hildon-button.c (hildon_button_set_property)
2508 (hildon_button_get_property, hildon_button_class_init)
2509 (hildon_button_set_style, hildon_button_get_style):
2510 New "style" property to change the visual appearance of the
2513 * src/hildon-picker-button.c (hildon_picker_button_new):
2514 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2516 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2517 HildonButton look like PickerButton)
2519 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2521 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2522 column while building the default string.
2524 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2527 scroll indicator by default.
2529 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2531 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2533 * src/hildon-main.c: Fix the documentation for hildon_init()
2535 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2537 * doc/hildon-docs.sgml
2541 * src/hildon-window-stack-private.h
2542 * src/hildon-window-stack.h
2543 * src/hildon-window-stack.c:
2544 New HildonWindowStack object, that adds support for multiple
2545 stacks of windows per process.
2547 * src/hildon-stackable-window-private.h
2548 * src/hildon-stackable-window.h
2549 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2550 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2551 (hildon_stackable_window_show, hildon_stackable_window_hide)
2552 (hildon_stackable_window_class_init)
2553 (hildon_stackable_window_init):
2554 Use HildonWindowStack for stack management.
2556 * src/hildon-program.c (hildon_program_pop_window_stack)
2557 (hildon_program_peek_window_stack)
2558 (hildon_program_go_to_root_window):
2559 Add a fallback implementation to the deprecated functions using
2562 * examples/hildon-stackable-window-example.c:
2563 Use the new HildonWindowStack API.
2565 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2567 * src/hildon-stackable-window-private.h
2568 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2569 (hildon_stackable_window_hide, hildon_stackable_window_init):
2570 Remove all window stack management.
2572 * src/hildon-program-private.h
2573 * src/hildon-program.h
2574 * src/hildon-program.c (hildon_program_init)
2575 (hildon_program_pop_window_stack)
2576 (hildon_program_peek_window_stack)
2577 (hildon_program_go_to_root_window):
2578 Remove all window stack management and mark functions as
2581 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2583 * src/hildon-app-menu.c (hildon_app_menu_realize):
2584 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2586 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2588 * configure.ac: post release version bump
2589 * debian/changelog: version bump
2591 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2596 * configure.ac: bump version
2597 * debian/changelog: updates
2599 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2601 Based on initial code by Christian Dywan (christian@imendio.com)
2603 * doc/hildon-docs.sgml: Add section for hildon-main.
2604 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2605 * src/Makefile.am: Add new hildon-main.[ch]
2606 * src/hildon-defines.h: Update the icon sizes.
2607 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2608 new library initialization files and register icon sizes.
2609 * src/hildon-main.h: New declarations.
2610 * src/hildon.h: Include hildon-main.h
2612 Add new initialization functions to the library. These methods
2613 will register the hildon specific icon sizes and can be used in the
2614 future for other hildon specific bits.
2616 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2618 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-window.c: (hildon_window_realize),
2621 (hildon_window_notify), (-hildon_window_update_title): Do not set
2622 the application name in the window title.
2624 Fixes: NB#89754 (Applications shouldn't display their names in the
2627 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-note-private.h:
2630 * src/hildon-note.c: (hildon_note_set_property),
2631 (hildon_note_get_property), (hildon_note_class_init),
2632 (hildon_note_init), (hildon_note_finalize),
2633 (hildon_note_new_confirmation_with_icon_name),
2634 (hildon_note_new_information_with_icon_name):
2636 No need to mark as deprecated the actual code. Revert
2637 to avoid missing symbols in widgets using deprecated API.
2639 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2641 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2643 * src/hildon-volumebar.h
2644 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2645 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2647 * src/hildon-helper.h
2648 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2649 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2651 * examples/Makefile.am:
2652 Deprecate hildon-insensitive-example
2654 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2656 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2658 * examples/hildon-pannable-area-buttons-scroll-example.c:
2659 Make all buttons finger height
2661 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2663 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2665 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2666 update the day model only if it is really required, and to avoid the
2667 full-reconstruction aproach. Now it only add or remove the required days.
2669 The purpose of this is avoid superfluous HildonTouchSelector::changed
2672 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2673 with strange parameters)
2675 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2677 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2679 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2680 the WINDOW_TYPE property.
2682 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2684 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2687 Fix dependency to allow parallel compilation with make -jX
2689 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2692 color frame and some minor tweaks to make it more consistent with
2695 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2696 highlighted but not visible)
2698 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2700 * examples/Makefile.am: Fixed typo in the Makefile.am.
2702 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2704 Reviewed the use of MAEMO_GTK define, now we add the define in the
2705 compilation line, and we also add it to the pc file.
2707 * configure.ac: Added MAEMO_GTK define to the compilation command
2708 and removed it from the config.h.
2710 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2711 do not have to take care about this define if the library was
2715 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2717 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2719 * examples/Makefile.am,
2720 * examples/hildon-pannable-area-buttons-scroll-example.c,
2721 * examples/hildon-pannable-area-gesture-signals-example.c,
2722 * examples/hildon-pannable-area-scroll-jump-example.c,
2723 * examples/hildon-pannable-area-tree-view-example.c:
2724 Renamed the pannable area examples, now they have more meaningful
2727 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2729 * src/hildon-touch-selector.c:
2730 (hildon_touch_selector_set_column_selection_mode): Used of
2731 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2732 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2733 to avoid re-seting the same selection mode.
2735 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2736 breaks HildonPickerDialog)
2738 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2740 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2741 conditional in the Makefile.am
2743 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2746 Remove unused methods.
2748 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-button.c (hildon_button_init):
2751 Make button images center-aligned by default
2753 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2756 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2757 activated, we have to think about how to deal with both defines
2758 MAEMO_GTK and MAEMO_CHANGES.
2760 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2762 * examples/hildon-app-menu-example.c (create_menu): Make all
2763 buttons finger size.
2765 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2767 Fixed the compilation without maemo gtk adding ifdefs with
2768 MAEMO_GTK define to the code, we have to check this version more
2771 * examples/Makefile.am: Added control to avoid some examples that
2772 just make sense with maemo gtk.
2775 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2776 hildon modes with the define.
2778 * examples/hildon-edit-toolbar-example.c,
2779 (create_icon_view): Create the icon view without hildon-gtk
2780 helpers if we are not using maemo gtk.
2782 * src/hildon-touch-selector.c,
2783 (_create_new_column): Create the treeview without hildon-gtk
2784 helpers if we are not using maemo gtk.
2786 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2788 * src/hildon-pnnable-area.c,
2789 (hildon_pannable_area_dispose),
2790 (hildon_pannable_area_button_press_cb),
2791 (hildon_pannable_area_child_mapped),
2792 (hildon_pannable_area_add),
2793 (hildon_pannable_area_remove): Added code to control the position
2794 of the event_window when adding and removing children from the
2795 pannable. We have to raise the event window when the child is
2798 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2799 selection mode using custom widget inside pannable)
2801 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2803 * configure.ac: post release version bump
2804 * debian/changelog: version bump
2806 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2811 * configure.ac: bump version
2812 * debian/changelog: updates
2814 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2816 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2817 search mode, in order to avoid lose the focus on the treeview when
2818 a hw key (like enter) is pressed.
2820 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2821 in HildonDateSelector dialog)
2823 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2825 * debian/rules: Added --enable-maintainer-mode
2826 * Makefile.am: Added ACLOCAL_AMFLAGS
2828 This allows to properly regenerate the Makefiles if you modify the
2829 configure.ac or any Makefile.am.
2831 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2833 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2834 properties, not needed at all.
2836 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2840 * src/hildon-note.c: (hildon_note_set_property),
2841 (hildon_note_get_property), (hildon_note_class_init),
2842 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2843 (hildon_note_new_confirmation_add_buttons): Remove icons.
2844 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2845 (hildon_note_new_information_with_icon_name): Deprecate.
2846 (hildon_note_new_confirmation): Act directly, without calling
2847 the deprecated constructor.
2848 (hildon_note_new_information): Act directly, without calling
2849 the deprecated constructor.
2850 * src/hildon-note.h: Mark deprecate methods as such.
2851 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2852 not run tests on the deprecated methods if built with deprecation
2855 Fixes: NB#91688 (Never show icons in information notes/confirmation
2858 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2860 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2861 (hildon_app_menu_key_press): Remove leftover usage of the
2862 private structure in HildonAppMenu struct.
2863 * src/hildon-app-menu.h: Remove leftover private structure
2864 from the HildonAppMenu struct.
2866 Fixes a crasher when using the HildonAppMenu.
2868 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2870 * src/hildon-picker-dialog.c: Use appropriate logical id
2871 for the default "Done" text.
2873 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2875 * configure.ac: post release version bump
2876 * debian/changelog: version bump
2878 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2880 Modified the way to scroll to the current selection just when the touch
2881 selector is shown on the screen, avoiding a g_idle. Added too a property
2882 to configure this behaviour. See hildon_pannable_area_jump_to_child
2883 documentation for more information.
2885 * src/hildon-touch-selector.c
2886 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2887 Added 'initial-scroll' property
2888 (hildon_touch_selector_set_property): Added
2889 (hildon_touch_selector_map): Removed as not required anymore
2890 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2891 only a concrete column, instead of iterate along all the columns
2893 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2898 * configure.ac: bump version
2899 * debian/changelog: updates
2901 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2903 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2904 compilation time warnings.
2906 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2908 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2909 the default value for HildonPannableArea::mov-mode to
2910 HILDON_PANNABLE_AREA_MODE_VERT.
2912 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2914 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2916 Reverting following commit:
2918 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-app-menu-private.h
2921 * src/hildon-app-menu.[ch]
2922 * src/hildon-button.[ch]
2923 * src/hildon-check-button.[ch]
2924 * src/hildon-entry.[ch]
2925 * src/hildon-pannable-area.[ch]
2926 * src/hildon-text-view.[ch]:
2927 Added private field to the object's structure.
2929 because it causes an ABI breakage. We will need to introduce these
2930 changes later at some point. See NB#91636 for an extensive
2931 explanation and status.
2933 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2935 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2937 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2938 remove special cases that are no longer necessary.
2940 Fixes: NB#91016 (Change toolbar sizes, simplification)
2942 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2944 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2945 is shown in the cancel note.
2947 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2950 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2951 (hildon_seekbar_init): Remove steppers, remove expose event.
2952 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2954 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2956 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2959 label font to "SmallSystemFont" for vertically arranged buttons.
2961 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2964 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2966 * src/hildon-check-button.c
2967 (hildon_check_button_set_active, hildon_check_button_clicked):
2968 Don't access private parts directly, use getters instead.
2970 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2972 * src/hildon-check-button.c (hildon_check_button_new):
2973 Align the contents of the check button to the left.
2975 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2977 * src/hildon-pannable-area.c,
2978 (hildon_pannable_area_scroll_to),
2979 (hildon_pannable_area_jump_to),
2980 (hildon_pannable_area_scroll_to_child),
2981 (hildon_pannable_area_jump_to_child): Replace the mapped
2982 precondition of these functions with the realized, it is the
2983 correct state of the widget in this case. Changed the
2984 documentation according to this modification.
2986 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2988 Added a new EXTRA_CFLAGS option to add the deprecated define to
2989 the compilation command. This way we can avoid using the define in
2990 the documentation compilation.
2992 * configure.ac: Defined EXTRA_CFLAGS.
2994 * examples/Makefile.am:
2996 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2998 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3000 * src/hildon-picker-dialog.c:
3001 Defined a utility macro with the desired touch selector height
3002 Removed currently unused separator, and title_label variables from
3004 (hildon_picker_dialog_init): Removed code related to the creation
3005 of unused private variables title_label and separator.
3006 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3007 to ensure correct visualization of the touch selector inside the dialog.
3008 * src/hildon-touch-selector.c
3009 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3010 ensure a concrete height of the widget.
3012 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3015 * tests/Makefile.am:
3017 Remove spurious whitespaces.
3019 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3022 compilation warning after the cancel button removal.
3024 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3026 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3028 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3029 Makefile.am, that way we can choose not to compile some examples
3030 and tests of the deprecated widgets.
3032 * examples/Makefile.am: Divided the sources in deprecated and
3035 * src/Makefile.am: Added undef statement of the deprecated
3036 symbol to the enums file generation process.
3038 * src/hildon-color-chooser-dialog.c
3039 * src/hildon-color-chooser-dialog.h
3040 * src/hildon-color-button.c
3041 * src/hildon-color-button.h
3042 * src/hildon-color-chooser.c
3043 * src/hildon-color-chooser.h
3044 * src/hildon-controlbar.c
3045 * src/hildon-controlbar.h
3046 * src/hildon-date-editor.c
3047 * src/hildon-date-editor.h
3048 * src/hildon-hvolumebar.c
3049 * src/hildon-hvolumebar.h
3050 * src/hildon-private.c
3051 * src/hildon-private.h
3052 * src/hildon-range-editor.c
3053 * src/hildon-range-editor.h
3054 * src/hildon-seekbar.c
3055 * src/hildon-seekbar.h
3056 * src/hildon-time-editor.c
3057 * src/hildon-time-editor.h
3058 * src/hildon-time-picker.c
3059 * src/hildon-time-picker.h
3060 * src/hildon-volumebar.c
3061 * src/hildon-volumebar.h
3062 * src/hildon-vvolumebar.c
3063 * src/hildon-vvolumebar.h
3064 * src/hildon-bread-crumb-trail.h
3065 * src/hildon-bread-crumb-trail.c
3066 * src/hildon-calendar-popup.c
3067 * src/hildon-calendar-popup.h
3068 * src/hildon-weekday-picker.c:
3069 * src/hildon-weekday-picker.h:
3070 * src/hildon-bread-crumb-widget.c:
3071 * src/hildon-bread-crumb-widget.h:
3072 * src/hildon-bread-crumb.c:
3073 * src/hildon-bread-crumb.h:
3074 * src/hildon-calendar.c:
3075 * src/hildon-calendar.h:
3076 * src/hildon-caption.c:
3077 * src/hildon-code-dialog.c:
3078 * src/hildon-code-dialog.h:
3079 * src/hildon-font-selection-dialog.c:
3080 * src/hildon-font-selection-dialog.h:
3081 * src/hildon-get-password-dialog.c:
3082 * src/hildon-get-password-dialog.h:
3083 * src/hildon-login-dialog.c:
3084 * src/hildon-login-dialog.h:
3085 * src/hildon-number-editor.c:
3086 * src/hildon-number-editor.h:
3087 * src/hildon-set-password-dialog.c:
3088 * src/hildon-set-password-dialog.h:
3089 * src/hildon-sort-dialog.c:
3090 * src/hildon-sort-dialog.h: This is the list of deprecated
3093 * src/hildon-touch-selector.c:
3094 * src/hildon-window.c: Added undef statement to avoid compilation
3097 * tests/Makefile.am: Divided the sources in deprecated and
3100 * tests/check_test.c,
3101 (configure_tests): Marked the deprecated code that was adding
3102 suites with deprecated tests.
3104 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3106 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3108 * src/hildon-touch-selector.c: (_default_print_func): Do not
3109 duplicate a string returned by gtk_tree_model_get(), it is already
3112 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3115 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3117 * src/hildon-pannable-area.c
3118 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3119 method, it had problems when adding a widget with viewport the
3120 second time. Now checks if it already has a viewport and uses it.
3122 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3125 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3127 * src/hildon-pannable-area.c,
3128 (hildon_pannable_area_scroll_to),
3129 (hildon_pannable_area_jump_to),
3130 (hildon_pannable_area_scroll_to_child),
3131 (hildon_pannable_area_jump_to_child): Added a precondition to the
3132 scroll and jump to functions: the widget must be mapped before we
3133 can safely call these functions. We have also added documentation
3134 to the functions to explain how to use them in this situation.
3137 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3139 Reviewed the threading handling of the pannable widget, we have
3140 used the gdk_threads_add_timeout function instead of the usual
3141 glib handlers. This avoids some problems with the threads.
3143 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3144 (hildon_pannable_area_initial_effect),
3145 (hildon_pannable_area_scroll_indicator_fade),
3146 (hildon_pannable_area_button_press_cb),
3147 (hildon_pannable_area_timeout),
3148 (hildon_pannable_area_motion_notify_cb),
3149 (hildon_pannable_area_button_release_cb),
3150 (hildon_pannable_area_scroll_cb),
3151 (hildon_pannable_area_scroll_to): Removed the
3152 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3153 gdk_threads_add_timeout.
3155 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3157 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3162 * configure.ac: bump version
3163 * debian/changelog: updates
3165 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3168 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3169 * src/hildon-color-chooser-dialog.c:
3170 (hildon_color_chooser_dialog_init):
3171 * src/hildon-font-selection-dialog.c:
3172 (hildon_font_selection_dialog_init):
3173 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3175 Remove all cancel/close-like dialogs, as these are not going to be
3178 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3180 * src/hildon-note.c: (hildon_note_rebuild),
3181 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3184 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3186 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3189 sure all buttons are shown, even the Cancel/Close-like ones.
3191 Fixes: NB#90861 (Custom Confirmation dialogs should be
3192 protected from cancel button removal)
3194 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3196 * debian/control: Change libhildon1-examples dependency from libhildon1
3198 * debian/libhildon1-examples.install
3200 * Makefile.am: Modified the final install directory for the examples on
3201 package libhildon1-examples
3202 * Makefile.static: Update clean target in order to remove all the binary
3205 Changes suggested by Claudio after review new libhildon1-examples package
3207 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3209 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3210 * src/hildon-touch-selector.c: Ditto.
3212 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3214 * debian/control: Added new package libhildon1-examples, in order to pack
3215 the current hildon examples as documentation
3216 * debian/rules: Not to compress .c files, modify some includes on the
3217 examples (as normally are compiled locally, but when installed it will
3218 require to include the installed libhildon1 library), and rename
3220 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3221 install all the example files on the new example package
3222 * examples/Makefile.static: Added static makefile that can be used to
3223 compile the examples, once installed the new example package
3224 * examples: Most of the examples were modified in order to grant that
3225 all use only '#include "hildon.h"', in order to be easy to prepare
3226 it on the example package
3228 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3231 * debian/libhildon1-dev.install
3232 * debian/libhildon1-doc.install:
3233 Move all gtk-doc files to a separate libhildon1-doc package.
3235 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3237 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3241 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3243 * debian/rules: Fixed a error in order to avoid unnecessary calls
3244 to autogen.sh on package building
3246 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3248 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3250 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3252 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3255 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-picker-button.c
3258 (hildon_picker_button_finalize):
3259 Free priv->done_button_text
3261 * src/hildon-time-button.c
3262 (hildon_time_button_set_time)
3263 * src/hildon-picker-button.c
3264 (hildon_picker_button_clicked)
3265 (hildon_picker_button_selector_selection_changed)
3266 (hildon_picker_button_set_selector)
3267 * src/hildon-date-button.c
3268 (hildon_date_button_set_date):
3269 Free strings returned by hildon_touch_selector_get_current_text()
3271 * src/hildon-button.c (hildon_button_construct_child):
3272 Fix leaks in priv->image and priv->label_box
3274 Fixes: NB#90535 (Memory leak in picker button)
3276 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3278 * src/hildon-button.c: (hildon_button_get_property): Do not access
3279 private elements directly, use getters instead.
3281 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3283 * src/hildon-app-menu-private.h
3284 * src/hildon-app-menu.c
3285 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3286 Store the menu's parent window.
3288 * src/hildon-stackable-window.c
3289 (hildon_stackable_window_toggle_menu)
3290 (hildon_stackable_window_finalize):
3291 Set the menu's parent window when the menu is shown, unset it when
3294 * src/hildon-app-menu.c
3295 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3296 (hildon_app_menu_class_init):
3297 Send unhandled keyboard accelerators to the parent window.
3299 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3301 * src/hildon-stackable-window.c
3302 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3304 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3306 * configure.ac: post release version bump
3308 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3311 * configure.ac: Bump version
3312 * debian/changelog: Updates
3313 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3316 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3318 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3321 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3322 GtkMenu with Hildon style.
3324 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3326 * src/hildon-picker-button.c:
3327 (hildon_picker_button_set_done_button_text): Set the dialog's
3328 done button text here as well.
3330 Fixes: NB#90232 (Picker button does not set the label on done button
3331 for the second time)
3333 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3338 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3340 * src/hildon-app-menu.c (hildon_app_menu_insert)
3341 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3342 the HildonAppMenu to be activatable using keyboard accelerators
3343 when the menu is not being shown.
3345 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3347 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3349 * src/hildon-stackable-window.c
3350 (hildon_stackable_window_show):
3351 Don't hide old windows automatically when new windows are shown:
3352 this is now a task for the window manager.
3353 (hildon_stackable_window_class_init)
3354 (hildon_stackable_window_hide):
3355 Remove windows from the stack everytime they're hidden.
3356 (hildon_stackable_window_realize):
3357 Don't change the _NET_WM_WINDOW_TYPE property. Use
3358 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3359 it as a stackable window.
3361 * src/hildon-program.c
3362 (hildon_program_pop_window_stack):
3363 Just hide the window to remove it from the stack.
3364 (hildon_program_go_to_root_window):
3365 Don't call gtk_widget_show(), this is now a task for the window
3368 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3370 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-button.c
3373 (hildon_button_construct_child):
3374 Don't pack anything in the button until text or image are
3375 set. This allows adding a custom child after creating the button
3376 with hildon_button_new().
3377 (hildon_button_finalize, hildon_button_class_init)
3378 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3379 alignment and the label box even when they're not packed in the
3382 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3384 * src/hildon-touch-selector.h:
3385 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3386 currently the type definition was using GTK_TYPE_VBOX
3387 * src/hildon-touch-selector.c:
3388 Added some implementation notes in order to clarify that any other widget
3389 added without the column related API will not be included on the
3390 selection logic, and how the widget is freed, as some people ask about
3392 (hildon_touch_selector_remove): Reimplemented in order to free properly
3393 the column related data when you remove the private hbox.
3394 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3395 to get a proper HildonTouchSelectorColumn documentation
3397 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-touch-selector-entry.c:
3400 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3401 text in the GtkEntry and there is no item selected. Fixes a
3404 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3406 * src/hildon-app-menu-private.h
3407 * src/hildon-app-menu.[ch]
3408 * src/hildon-button.[ch]
3409 * src/hildon-check-button.[ch]
3410 * src/hildon-entry.[ch]
3411 * src/hildon-pannable-area.[ch]
3412 * src/hildon-text-view.[ch]:
3413 Added private field to the object's structure.
3415 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3417 * configure.ac: post-release version bump
3419 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3423 * configure.ac: pre-release version bump
3425 * debian/changelog: updates.
3427 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3429 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3430 Disconnect the handler for HildonTouchSelector::changed.
3432 (hildon_picker_button_selector_selection_changed): Update the button
3433 value if the selection change was not triggered by the
3436 (hildon_picker_button_set_selector): connect to
3437 HildonTouchSelector::changed.
3439 Fixes: NB#89650 (Picker button is not updated, when selection in
3440 selector has changed)
3442 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3444 * src/hildon-picker-dialog.c
3445 (hildon_picker_dialog_realize): Removed as not required
3446 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3447 * src/hildon-picker-button.c
3448 (_current_selector_empty): New function, checks if the selector is empty
3449 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3450 if the current selector is empty, in order to avoid to show the dialog
3451 close the dialog in this case (and shows a g_warning).
3453 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3455 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3457 * src/hildon-pannable-area.c,
3458 (hildon_pannable_area_scroll): Added clause to stop movement when
3459 the child of pannable is smaller than one page.
3460 (hildon_pannable_area_scroll_to): Added conditions to avoid
3461 starting the scrolling movement if the child is smaller than one
3462 page, the complete child is in the screen, we do not have to move.
3464 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3466 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3468 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3469 this is managed automatically by the widget when the size of the
3472 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-picker-button.c
3475 (hildon_picker_button_set_done_button_text): Make a copy of the
3476 text, and free the previous value.
3478 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3480 * src/hildon-touch-selector-entry.c:
3481 (hildon_touch_selector_entry_print_func): Return the selected row's
3482 text if the entry is empty.
3484 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3487 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3491 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3494 * src/hildon-check-button.h
3495 * src/hildon-check-button.c
3496 * examples/hildon-check-button-example.c:
3497 HildonCheckButton is now a new widget. 'toggled' signal added.
3499 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3501 * src/hildon-program-private.h
3502 * src/hildon-program.c (hildon_program_init)
3503 (hildon_program_finalize): Removed unused variables group_leader
3504 and name from HildonProgramPrivate.
3506 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-check-button.c (hildon_check_button_set_active)
3509 (hildon_check_button_get_active, hildon_check_button_new): Use
3510 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3512 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3514 * src/hildon-touch-selector.h
3515 (hildon_touch_selector_set_column_attributes): added deprecation
3516 guard HILDON_DISABLE_DEPRECATED
3517 * src/hildon-time-selector.c
3518 (hildon_time_selector_set_time)
3519 (hildon_time_selector_get_time): Fixed a typo on documentation
3520 * src/hildon-touch-selector.c: update HildonTouchSelector and
3521 HildonTouchSelectorColumn documentation
3522 * src/hildon-touch-selector-entry.c: update "text-column" property
3524 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3525 to be added to the general documentation.
3527 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3529 * examples/hildon-pannable-area-example-4.c,
3531 * examples/hildon-pannable-area-example.c,
3532 (main): Modified the code in order to use the container add, with
3533 viewport treeviews could have problems if they are really big.
3535 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3537 * src/hildon-weekday-picker.c,
3538 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3539 the agreement regarding deprecation in the library.
3541 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3543 * examples/hildon-picker-button-multicolumn-example.c:
3544 (main): Use custom "done" button text.
3546 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3547 (hildon_picker_button_set_property),
3548 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3549 (hildon_picker_button_init),
3550 (+hildon_picker_button_get_done_button_text),
3551 (+hildon_picker_button_set_done_button_text): New methods to customize
3552 the "done" button label in the launched HildonPickerDialog. Also,
3555 * src/hildon-picker-button.h: add the public API.
3557 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3559 * src/hildon-date-selector.h:
3560 * src/hildon-picker-dialog.h:
3561 * src/hildon-time-selector.h:
3562 * src/hildon-touch-selector-column.h:
3563 * src/hildon-touch-selector.h:
3565 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3566 declarations. Fixes gtk-doc warnings.
3568 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3570 * src/hildon-picker-dialog.h
3571 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3572 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3574 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3575 long text is set as label for done button)
3577 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3579 * src/hildon-dialog.c (hildon_dialog_add_button):
3580 Set fixed width to all buttons in the HildonDialog.
3582 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3584 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3586 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3587 Set widget name using class name plus "-finger" or "-thumb".
3589 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3591 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3592 'clicked' when the state of the button is manually changed.
3594 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3596 * src/hildon-app-menu.c (hildon_app_menu_realize)
3597 (hildon_app_menu_unrealize, hildon_app_menu_init)
3598 (hildon_app_menu_class_init, item_visibility_changed):
3599 Change the menu layout when the size of the screen changes.
3600 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3601 Show warning only when changing the number of colums using the
3604 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3606 * debian/compat: Set to 5
3607 * debian/control: Update dependencies.
3608 * debian/libhildon1-dbg.install: Remove.
3609 * debian/libhildon1-dev.install: Update according to cdbs paths.
3610 * debian/libhildon1.install: Update according to cdbs paths.
3611 * debian/rules: Switch to cdbs.
3613 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3615 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3616 'item' variable renamed to 'filter'
3618 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3620 * src/hildon-app-menu.c (hildon_app_menu_insert)
3621 (hildon_app_menu_add_filter, remove_item_from_list)
3622 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3623 Don't leak hidden items when the menu is destroyed.
3625 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-app-menu.c (hildon_app_menu_insert)
3628 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3629 (hildon_app_menu_set_columns, item_visibility_changed)
3630 (filter_visibility_changed, hildon_app_menu_repack_filters)
3631 (hildon_app_menu_repack_items):
3632 Repack items and filters separately.
3634 Don't repack all items, change only the ones that are needed to
3637 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3639 * src/Makefile.am: added hildon-touch-selector-column.h
3641 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3643 * src/hildon-touch-selector.c: added the property "text-column" to the
3644 class HildonTouchSelectorColumn, and related get/set functions
3645 (_default_printf_func): updated to use "text-column" property
3646 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3647 "text-column" in his documentation, as this is now included on
3648 HildonTouchSelectorColumn. The get/set_property can still be used,
3649 working as a wrapper to the concrete column "text-column" property
3650 (_text_column_modified): callback added in order to handle the signal
3651 "notify::text-column" of the concrete HildonTouchSelectorColumn
3652 (hildon_touch_selector_entry_get_text_column)
3653 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3654 modified in order to use the HildonTouchSelectorColumn "text-column"
3656 * src/hildon-time-selector.c:
3657 * src/hildon-date-selector.c:
3658 * examples/hildon-touch-selector-example.c
3659 * examples/hildon-touch-selector-multi-cells-example.c
3660 * examples/hildon-picker-button-multicolumn-example.c
3661 Set the right value to "text-column" property on the creation of a new
3662 column using hildon_touch_selector_append_column()
3664 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3666 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3668 * src/hildon-app-menu.c
3669 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3670 updating the layout of the menu, don't create all widgets again,
3671 just repack the items in their new places.
3673 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3675 * src/hildon-time-selector.c
3676 (hildon_time_selector_get_time)
3677 (hildon_time_selector_set_time)
3678 Added documentation of these public methods
3680 * src/hildon-date-button.h
3681 * src/hildon-touch-selector-column.h
3682 * src/hildon-time-button.h
3683 * src/hildon-picker-dialog.h
3684 * src/hildon-time-selector.h
3685 * src/hildon-picker-button.h
3686 * src/hildon-touch-selector.h
3687 * src/hildon-time-picker.h
3688 * src/hildon-date-selector.h
3689 * src/hildon-touch-selector-entry.h
3690 Modified in order to use hildon-widgets code style
3692 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3694 Added deprecated support to the compilation process using
3695 HILDON_DISABLE_DEPRECATED
3697 * configure.ac: Added the --disable-deprecated to the configure
3700 * src/hildon-weekday-picker.c:
3701 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3702 to use the deprecated support. We will update the other deprecated
3703 widgets status in a new patch.
3705 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3707 * configure.ac: Fixed typo with fatal warnings support, the
3708 variable name was not correct
3710 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3712 * src/hildon-app-menu.c
3713 * src/hildon-program.c: Update documentation.
3715 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3717 * configure.ac: Post-release version bump.
3719 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3724 * configure.ac: Pre-release version bump.
3725 * debian/changelog: Updates.
3727 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3729 * NEWS: Update news for previous releases.
3731 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3733 * examples/hildon-touch-selector-multi-cells-example.c:
3734 (create_selector): Update the example to use
3735 hildon_touch_selector_append_column() with a NULL renderer and set
3736 the renderers later.
3737 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3738 passed a NULL renderer. This is documented behavior now.
3740 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3741 This must be used if the developer wants full control on the layout of
3742 the renderers to be added to the column.
3744 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3746 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-touch-selector.c: Documentation fixes.
3750 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-wizard-dialog-private.h: Remove image and box.
3753 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3754 (hildon_wizard_dialog_set_property), (response): Completely remove
3755 image/icon support, and the containers required for the layout.
3757 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3759 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3761 * src/hildon-app-menu.c: Updated documentation.
3763 * src/hildon-stackable-window.c
3764 (hildon_stackable_window_set_main_menu): Unref the old menu after
3765 ref'ing the new one.
3767 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3769 * src/hildon-stackable-window.c
3770 (hildon_stackable_window_set_main_menu): Unref the previous menu
3771 instead of destroying it.
3773 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3774 floating reference and set has_user_ref_count to FALSE to make
3775 HildonAppMenu act like a normal ref-counted widget and not a
3778 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3781 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3783 * src/hildon-touch-selector-column.h: new file
3784 * src/hildon-touch-selector.h
3785 * src/hildon-touch-selector.c
3786 Implemented GtkCellLayout interface, in order to allow to configure
3787 the cell layout on each individual selector column
3788 (hildon_touch_selector_set_column_attributes): marked as deprecated
3789 * examples/hildon-touch-selector-multi-cells-example.c
3790 Example of how to use the GtkCellLayout interface on the selector
3792 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3794 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3796 * src/hildon-app-menu.h
3797 * src/hildon-app-menu.c
3798 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3799 (hildon_app_menu_append, hildon_app_menu_prepend):
3800 New methods to prepend, insert and move items in the menu.
3802 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3804 * src/hildon-wizard-dialog.c:
3806 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3808 (create_title): Update logical IDs and related code.
3809 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3811 * src/hildon-wizard-dialog.h: Note that
3812 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3813 point, as it is not used anymore.
3815 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3817 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3819 * src/hildon-note.c:
3820 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3821 shown. Do not display an icon in confirmation notes nor information
3823 (hildon_note_set_button_text): Update logical ID for cancel button.
3825 Fixes: NB#88850 (Update HildonNote button strings + signals)
3827 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-stackable-window.c
3830 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3832 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3834 * src/hildon-app-menu-private.h
3835 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3836 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3837 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3838 temporary property 'columns' to change the number of columns.
3840 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3842 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3844 * examples/hildon-note-example.c: (on_information_clicked),
3845 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3846 debugging information.
3847 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3849 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3850 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3851 in order to close: this will be handled by the WM from now on.
3853 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3855 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3857 * src/hildon-app-menu-private.h
3858 * src/hildon-app-menu.c
3859 (hildon_app_menu_append, hildon_app_menu_add_filter)
3860 (button_visibility_changed, hildon_app_menu_apply_style)
3861 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3862 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3863 layout everytime a button (item or filter) is shown or hidden.
3865 * src/hildon-stackable-window.c
3866 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3869 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3871 * src/hildon-touch-selector.c:
3872 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3873 that the treeview inside the touch selector is in fremantle hildon mode
3874 * examples/hildon-date-button-example.c
3875 * examples/hildon-picker-button-multicolumn-example.c
3876 * examples/hildon-touch-selector-entry-example.c
3877 * examples/hildon-touch-selector-example.c
3878 * examples/hildon-time-button-example.c
3879 * examples/hildon-picker-button-example.c:
3880 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3882 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3884 * examples/hildon-text-view-example.c: (main): Remove the
3885 gtkrc bits, now handled by the theme.
3887 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3892 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3894 * po/Makefile.am: Install properly the mo files.
3895 * po/en_GB.po: Update translation, to ease testing purposes.
3897 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3899 * examples/hildon-picker-button-example.c: (main): Select an item
3900 in the selector before setting it to the button.
3902 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3904 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3905 Update button's value if the selector has an item active.
3907 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3908 'value' with the selector)
3910 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3912 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3913 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3914 (hildon_picker_button_class_init): Plug the finalize method.
3915 (hildon_picker_button_set_selector): If there's a previously set
3916 selector, unref'it before setting a new one.
3918 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3919 HildonTouchSelector)
3921 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3923 * src/hildon-touch-selector-entry.c:
3924 (hildon_touch_selector_entry_changed): Check if there is no text
3925 selected before setting the entry text.
3928 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3930 * src/hildon-touch-selector.h
3931 * src/hildon-touch-selector.c
3932 (hildon_touch_selector_get_active)
3933 (hildon_touch_selector_set_active): New methods to set/get the
3934 index of the selected item.
3936 * src/hildon-picker-button.h
3937 * src/hildon-picker-button.c
3938 (hildon_picker_button_get_active)
3939 (hildon_picker_button_set_active): New methods to set/get the
3940 index of the selected item.
3942 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3944 * configure.ac: post-release version bump.
3946 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3950 * configure.ac: Pre-release version bump.
3951 * debian/changelog: Updates.
3952 * debian/control: Add myself as maintainer and depend on l10n
3955 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3957 * src/hildon-window.c
3958 (hildon_window_set_main_menu)
3959 * src/hildon-stackable-window.c
3960 (hildon_stackable_window_set_main_menu):
3961 Updated documentation.
3963 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3965 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3966 Don't free selector->priv manually.
3969 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3972 (hildon_gtk_window_set_progress_indicator):
3973 * src/hildon-gtk.h: Added the new API
3974 hildon_gtk_window_set_progress_indicator, it changes the state of
3975 the window progress hint.
3977 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3979 * src/hildon-button.c
3980 * src/hildon-stackable-window.c: Minor documentation updates.
3982 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3984 * src/hildon-stackable-window.c: Updated documentation.
3986 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-defines.h: Update margins definitions
3989 to the Fremantle sizes.
3992 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3994 * src/hildon-touch-selector.c,
3995 (_hildon_touch_selector_set_model): Cleaning the code after
3996 review, removed g_print and #if 0 from the code.
3998 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4000 * src/hildon-edit-toolbar.c: Update documentation.
4002 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4004 * src/hildon-check-button.h
4005 * src/hildon-check-button.c
4006 (hildon_check_button_set_label, hildon_check_button_get_label)
4007 * examples/hildon-check-button-example.c
4008 (button_clicked_cb):
4009 Removed deprecated methods.
4011 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4013 * src/hildon-text-view.c:
4014 Add sample code to the documentation.
4016 * src/hildon-entry.h
4017 * src/hildon-text-view.h:
4018 Minor cosmetic changes.
4020 * src/hildon-entry.c:
4021 Add sample code to the documentation.
4022 (hildon_entry_init, hildon_entry_refresh_contents):
4023 Don't allow NULL values in the placeholder.
4025 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4027 * doc/hildon-docs.sgml
4029 * examples/Makefile.am
4030 * examples/hildon-text-view-example.c
4032 * src/hildon-text-view.c
4033 * src/hildon-text-view.h
4035 New HildonTextView widget, with example.
4037 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4039 * po/POTFILES.in: Add missing files with translatable strings.
4040 Partially fixes NB#88287.
4042 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4044 * examples/hildon-pannable-area-example-2.c: (main): No need to
4045 set the cellrenderer height inside hildon touch lists, the theme does
4048 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4050 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4051 they are integrated in the theme.
4053 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4055 * examples/hildon-entry-example.c: Update the example adding
4056 widgets to modify the text and the placeholder of the HildonEntry.
4058 * src/hildon-entry.c: Show the placeholder everytime the widget
4059 is empty and loses the focus.
4061 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4063 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4065 * src/hildon-pannable-area.c,
4066 (hildon_pannable_area_size_request): Fixed bug in height
4067 requisition, avoid increasing size and add border twice.
4069 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4071 * configure.ac: postrelease version bump.
4073 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4077 * configure.ac: Prerelease version bump.
4078 * debian/changelog: update.
4079 * debian/rules: make -dbg package contain useful debugging symbols.
4081 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4083 * src/hildon-dialog.h
4084 * src/hildon-dialog.c
4085 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4086 New methods to add buttons with finger size.
4087 (hildon_dialog_new_with_buttons):
4088 Create buttons with finger size.
4090 * examples/hildon-dialog-example.c (main): Use HildonDialog
4091 methods to add buttons.
4093 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4095 * src/hildon-entry.c: Updated HildonButton documentation.
4097 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4099 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4100 button value label with (FALSE, FALSE) to prevent NB#88126 from
4103 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4105 * examples/hildon-pannable-area-example.c,
4106 (main): Removed examples panning a vbox inside a pannable
4107 area. Check bug NB#87965
4109 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4111 Patch contributed by Kris Rietveld (kris@imendio.com)
4113 * src/hildon-pannable-area.c,
4114 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4115 get_size and get_position, this saves an X server roundtrip.
4117 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4119 * doc/hildon-docs.sgml
4121 * examples/Makefile.am
4122 * examples/hildon-entry-example.c
4124 * src/hildon-entry.c
4125 * src/hildon-entry.h
4127 New HildonEntry widget, with example.
4129 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-button.c (hildon_button_construct_child): Pack the
4132 image with expand == fill == FALSE. This is a workaround for a bug
4135 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4137 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4138 labels for the text column, to make it more look more dynamic.
4140 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4142 * src/hildon-time-selector.c
4143 Define gettext auxiliar macro N_
4144 (_create_minutes_model)
4145 (_create_hours_model)
4146 (_create_ampm_model): use of strftime in order to fill the model
4147 * src/hildon-date-selector.c
4148 (hildon_date_selector_finalize):
4149 (_locales_init): remove the logic related to get the name of the months
4150 using nl_langinfo, as it is not required anymore
4152 (_create_year_model)
4153 (_create_month_model)
4154 (_update_day_model): use of strftime in order to fill the model properly
4157 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4159 * src/hildon-button.h
4160 * src/hildon-button.c (hildon_button_get_image): New method to
4163 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-touch-selector.c:
4166 (hildon_touch_selector_remove_column): Remove from the correct parent
4167 and also remove the list element and free it.
4170 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4172 * src/hildon-time-selector.c
4173 (_create_hours_model): change the range on 12h ampm format in order to use
4174 a 12-11 range instead of previous 01-12 range
4175 (hildon_time_selector_set_time): change the way to select the current time
4176 on 12h ampm format, due the change on the range
4177 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4180 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4182 * src/hildon-touch-selector.c
4183 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4184 in order to allow use this function on multiple row selection mode if
4185 the column is different that the first one
4188 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4191 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4193 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4195 * src/hildon-date-selector.h: clean some comments, now on the .c
4196 * src/hildon-date-selector.c
4197 (hildon_date_selector_select_month): first implementation
4198 (hildon_date_selector_select_day): added documentation, reimplemented
4199 using hildon_date_selector_select_current_date to avoid repeat code
4202 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4204 Reviewed interaction logic based on device experiences, refactored
4207 * src/hildon-pannable-area.c,
4208 (hildon_pannable_area_class_init): Updated default vmax speed.
4209 (hildon_pannable_area_calculate_velocity): Added this function, it
4210 avoids duplicate valocity calculation. Adjusted calculation to
4211 avoid problems with zero dist events.
4213 (hildon_pannable_area_motion_notify_cb): Now we use the
4214 calculate_velocity function.
4216 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4218 * src/hildon-date-selector.c
4219 (hildon_date_selector_select_current_date): fix the day range check
4220 as it failed using the last day of the current month
4223 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4225 * src/hildon-touch-selector.c
4226 (hildon_touch_selector_get_num_columns): added a parameter validation
4229 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4231 * examples/Makefile.am
4232 * examples/hildon-edit-toolbar-example.c: Example of the
4233 HildonEditToolbar widget.
4235 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4237 * configure.ac: postrelease version bump.
4239 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4243 * configure.ac: prerelease version bump.
4244 * debian/changelog: update.
4246 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4248 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4249 renderer to display stock icons in the touch list. Also, set the sizes
4250 to the recommended in the style guide.
4252 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4253 * src/hildon-touch-selector.h
4254 (hildon_touch_selector_set_active_iter): renamed, now is
4255 hildon_touch_selector_select_iter
4256 (hildon_touch_selector_get_active_iter): renamed, now is
4257 hildon_touch_selector_get_selected
4258 (hildon_touch_selector_unselect_iter): added
4259 * src/hildon-touch-selector.c
4260 Update after API modification (methods renamed)
4261 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4262 order to avoid problems selecting multiple elements on the column
4263 (hildon_touch_selector_unselect_iter): added the implementation
4264 * src/hildon-time-selector.c
4265 * src/hildon-date-selector.c
4266 * src/hildon-touch-selector-entry.c
4267 Update methods calls after hildon-touch-selector.h API modification (methods
4270 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-stackable-window.c
4273 (hildon_stackable_window_finalize): Call the parent class's finalize.
4275 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4277 * examples/hildon-touch-selector-example.c: (create_selector): Use
4278 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4281 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4283 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4284 set a cell background color, to respect theming.
4286 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4288 * doc/hildon-docs.sgml
4291 * src/hildon-edit-toolbar.c
4292 * src/hildon-edit-toolbar.h
4293 * src/hildon.h: New HildonEditToolbar widget.
4295 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4297 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4300 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4301 * src/hildon-touch-selector.c
4302 (_create_new_column): use g_object_set instead of two g_object_set_property
4304 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4305 * src/hildon-touch-selector.c
4306 (_create_new_column): use of hildon_gtk_tree_view_new to create
4307 the treeview, instead of use directly g_object_new
4308 (_create_new_column): update the property name "vindicator-mode" for the
4309 new one "vscrollbar-policy"
4310 * examples/hildon-date-button-example.c
4311 * examples/hildon-picker-button-multicolumn-example.c
4312 * examples/hildon-touch-selector-entry-example.c
4313 * examples/hildon-touch-selector-example.c
4314 * examples/hildon-time-button-example.c
4315 * examples/hildon-picker-button-example.c
4316 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4317 to all the treeviews inside a pannable area.
4319 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4321 * src/hildon-button.h
4322 * src/hildon-button.c (hildon_button_init)
4323 (hildon_button_set_arrangement, hildon_button_set_alignment)
4324 (hildon_button_set_title_alignment)
4325 (hildon_button_set_value_alignment)
4326 (hildon_button_set_image_alignment)
4327 (hildon_button_construct_child): New methods to set the alignment
4328 of the individual components of the button (title, value,
4329 image). Also, new method to alter the xscale and yscale properties
4330 of the GtkAlignment inside the button, so more complex layouts can
4333 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4335 * src/hildon-button.c (hildon_button_style_set)
4336 (hildon_button_class_init, hildon_button_set_arrangement)
4337 (hildon_button_construct_child): Apply style properties
4338 correctly. Use the 'image-spacing' style property too.
4340 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4342 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4343 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4346 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4348 * src/hildon-pannable-area.c,
4349 (hildon_pannable_area_size_request): Fixed problem with
4350 pannable-area size_request.
4352 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4354 Added management for the grab-focus to a child widget, like a
4355 range, we need to fade out the scrollbar when releasing.
4357 * src/hildon-pannable-area.c,
4358 (hildon_pannable_area_init): Connected the grab-focus signal to
4360 (hildon_pannable_area_grab_notify): Added this function in order
4361 to manage the situation when the grab-focus ends. We have to
4362 fade-out the scrollbar.
4364 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4366 * src/hildon-app-menu.c: Minor documentation update.
4368 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4370 * src/hildon-app-menu.c
4371 * examples/hildon-app-menu-example.c (create_menu): Update
4372 examples and documentation to explain how to connect callbacks.
4374 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4376 * examples/hildon-button-example.c
4377 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4378 hildon_stackable_window_new instead of gtk_window_new
4380 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4382 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4383 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4384 (hildon_pannable_area_set_property),
4385 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4386 (hildon_pannable_area_unrealize),
4387 (hildon_pannable_area_size_request),
4388 (hildon_pannable_area_size_allocate),
4389 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4390 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4391 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4392 (hildon_pannable_area_initial_effect),
4393 (hildon_pannable_area_redraw),
4394 (hildon_pannable_area_scroll_indicator_fade),
4395 (hildon_pannable_area_expose_event),
4396 (hildon_pannable_area_get_topmost), (synth_crossing),
4397 (hildon_pannable_area_button_press_cb),
4398 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4399 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4400 (hildon_pannable_area_motion_notify_cb),
4401 (hildon_pannable_area_button_release_cb),
4402 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4403 (hildon_pannable_area_remove),
4404 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4405 chage the code layout to a more GtkWidget like. Review the use of
4408 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4410 * examples/hildon-pannable-area-example-4.c,
4411 (main): Modified the name of the hindicator_mode to
4414 * src/hildon-pannable-area.c,
4415 (hildon_pannable_area_class_init),
4416 (hildon_pannable_area_motion_notify_cb),
4417 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4418 we have reduced the amount of signals and managed reviewed its
4419 rationale. Changed the default decelerate value.
4421 (hildon_pannable_area_add),
4422 (hildon_pannable_area_redraw): Refactored functions.
4424 (hildon_pannable_area_init),
4425 (hildon_pannable_area_get_property),
4426 (hildon_pannable_area_set_property):
4427 (hildon_pannable_draw_vscroll),
4428 (hildon_pannable_draw_hscroll),
4429 (hildon_pannable_area_initial_effect),
4430 (hildon_pannable_area_expose_event),
4431 (hildon_pannable_area_scroll),
4432 (hildon_pannable_area_button_press_cb),
4433 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4434 and vindicator_mode with hscrollbar_policy and
4435 vscrollbar_policy. Replaced hscroll and vscroll with
4436 hscroll_visible and vscroll_visible.
4438 (hildon_pannable_area_refresh): Refactor the function, remove
4439 variables and check the calls to this function, added resize
4440 conditions in case the children change their layout.
4442 (hildon_pannable_area_size_request): Added more detailed
4443 size_request calculation.
4446 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4448 * src/hildon-color-chooser.c
4449 (init_borders): use the correct gtk_border_free instead of g_free, to
4450 avoid a crash when this widget is used (ie: the three color selection
4453 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4455 * src/hildon-check-button.c,
4456 (hildon_check_button_set_active): Fixed problem when setting the
4457 active value, the widget was not redrawn.
4459 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4461 * src/hildon-pannable-area.c,
4462 (hildon_pannable_area_refresh),
4463 (hildon_pannable_area_scroll),
4464 (hildon_pannable_area_motion_notify_cb): Small code style change.
4466 (hildon_pannable_area_class_init): Default initial_hint set to
4467 FALSE, it is not in the specs.
4469 (hildon_pannable_area_initial_effect),
4470 (hildon_pannable_area_expose_event),
4471 (hildon_pannable_area_map),
4472 (hildon_pannable_area_init): Moved the launching point of the
4473 initial effect, it was in map but the sizes where not correct in
4474 that method so we do not know if we have the reproduce it. Now it
4475 is placed in the expose_event method and uses a variable to
4476 reproduce it just once.
4478 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4480 * src/hildon-pannable-area.c,
4481 (hildon_pannable_draw_vscroll),
4482 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4483 position allowed for the scrollbars.
4485 (hildon_pannable_area_size_allocate): Small style change.
4487 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4489 * src/hildon-pannable-area.c,
4490 (hildon_pannable_area_scroll_indicator_fade),
4491 (hildon_pannable_area_button_press_cb),
4492 (hildon_pannable_area_button_release_cb),
4493 (hildon_pannable_area_scroll_cb),
4494 (hildon_pannable_area_expose_event),
4495 (hildon_pannable_area_init): Added the define parameter
4496 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4497 and refactor the fade variable.
4499 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4501 * src/hildon-pannable-area.c,
4502 (hildon_pannable_area_redraw),
4503 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4504 lines, we were reimplemeting the redraw code.
4506 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4508 * src/hildon-pannable-area.c,
4509 (hildon_pannable_area_scroll_cb),
4510 (hildon_pannable_area_realize),
4511 (hildon_pannable_area_class_init): Added scroll_event management
4512 for pannable area, now we can scroll the usual desktop method.
4514 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4515 initialization of the parameters should depend on idle_id.
4517 (hildon_pannable_area_init),
4518 (hildon_pannable_area_map): Small code style modifications
4520 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4522 * src/hildon-pannable-area.c
4523 (hildon_pannable_area_button_press_cb),
4524 (hildon_pannable_area_motion_notify_cb),
4525 (hildon_pannable_area_button_release_cb),
4526 (hildon_pannable_area_size_allocate),
4527 (hildon_pannable_area_scroll_to): Improved the timeouts
4528 management, we avoid creating them each time.
4530 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4532 * src/hildon-pannable-area.c:
4533 (hildon_pannable_area_refresh),
4534 (hildon_pannable_area_motion_notify_cb),
4535 (hildon_pannable_area_class_init):
4536 * src/hildon-pannable-area.h:
4537 * src/hildon-touch-selector.c
4538 (_create_new_column):
4539 * examples/hildon-pannable-area-example-4.c:
4540 (horizontal_movement),
4541 (vertical_movement),
4543 Replaced the names of enums in the HildonPannableArea:
4544 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4545 HILDON_MOVEMENT_MODE_*
4546 - HILDON_PANNABLE_AREA_MOV_* ->
4548 - Removed HildonPannableAreaIndicatorMode, now we
4551 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4553 * examples/hildon-pannable-area-touch-grid-example.c
4554 * examples/hildon-pannable-area-touch-list-example.c: Fix
4555 compilation warnings.
4557 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-gtk.c (hildon_gtk_button_new)
4560 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4561 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4562 images overriding the value of the "gtk-button-images" setting.
4564 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4566 * src/hildon-check-button.c (hildon_check_button_new):
4567 Instead of using a custom container, display the label and the
4568 checkbox using the standard GtkButton API.
4570 * examples/hildon-check-button-example.c (main): Don't use
4571 hildon_check_button_set_label() anymore
4573 * src/hildon-check-button.h
4574 * src/hildon-check-button.c
4575 (hildon_check_button_set_label, hildon_check_button_get_label):
4576 Set as deprecated, now we're using gtk_button_{get,set}_label()
4578 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4580 * src/hildon-pannable-area.c,
4581 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4582 GtkTreeview first line we detected it after the inclusion of the
4583 GtkWindowImpl in gtk+. We now check if the window is visible, not
4584 just if the pointer is over the window.
4585 (hildon_pannable_axis_scroll),
4586 (hildon_pannable_area_expose_event): Small style changes.
4588 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-button.c: Update documentation.
4592 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4594 * examples/hildon-button-example.c: Add a switch to show images in
4597 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4599 * doc/hildon-docs.sgml: Some docs reorganization.
4601 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4603 * examples/hildon-pannable-area-touch-list-example.c
4605 * examples/hildon-pannable-area-touch-grid-example.c
4606 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4607 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4608 Fix memory leak when setting the tree model.
4610 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4614 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4616 * doc/hildon.types: Remove duplicated hildon_window_get_type
4617 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4618 documentation comment.
4620 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4622 * doc/Makefile.am: Complete list of private headers.
4624 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4626 * doc/hildon-docs.sgml
4627 * src/hildon-app-menu.c
4628 * src/hildon-bread-crumb.c
4629 * src/hildon-button.c
4631 * src/hildon-program.c
4632 * src/hildon-stackable-window.c
4633 * src/hildon-window.c: Lots of documentation updates.
4635 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4637 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4639 * configure.ac: Require Gtk+ 2.12.9 at least
4641 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4643 * src/hildon-pannable-area.c
4644 (hildon_pannable_area_scroll_indicator_fade),
4645 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4646 to protect the return of this timeout callbacks, avoiding deadlocks.
4648 2008-08-12 Christian Dywan <christian@imendio.com>
4651 * src/hildon-*.h: Ensure a consistent include order,
4652 include <gtk/gtk.h> instead of particular files and
4653 only include the topmost header in the gtk stack. See NB #39857
4655 2008-08-12 Christian Dywan <christian@imendio.com>
4657 * src/hildon-picker-dialog.c
4658 * src/hildon-touch-selector.c: Fix warnings about unused and
4659 uninitialized variables.
4661 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4663 * examples/Makefile.am
4664 * examples/hildon-check-button-example.c: Example of the hildon
4667 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4669 * src/hildon-window.h
4670 * src/hildon-window.c (hildon_window_class_init)
4671 (hildon_window_unset_program): Don't make
4672 hildon_window_unset_program a virtual function anymore.
4674 * src/hildon-stackable-window.c: Update documentation
4676 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4679 * doc/hildon-docs.sgml
4680 * doc/visual_index.xml
4681 * src/hildon-defines.c
4683 * src/hildon-helper.c
4684 * src/hildon-range-editor.c: Lots of documentation fixes.
4686 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4688 * examples/hildon-picker-button-multicolumn-example.c
4689 (create_touch_selector): Fix compilation warning.
4691 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4693 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4694 (hildon_pannable_area_button_release_cb)
4695 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4697 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4699 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4702 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4704 * src/hildon-bread-crumb-trail.h
4705 * src/hildon-date-editor.c
4706 * src/hildon-date-selector.c
4707 * src/hildon-pannable-area.c
4708 * src/hildon-picker-dialog.c
4709 * src/hildon-time-selector.c
4710 * src/hildon-touch-selector-entry.c
4711 * src/hildon-touch-selector.c
4712 * src/hildon-touch-selector.h: Misc documentation fixes
4714 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4716 * examples/hildon-date-editor-example.c (main): Updated date
4719 * examples/hildon-note-example.c (on_confirmation_clicked):
4720 Updated confirmation note example.
4722 * src/hildon-date-editor.c
4723 * src/hildon-note.c: Updated sample programs in documentation.
4726 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4728 * src/hildon-date-button.h:
4729 * src/hildon-picker-button.h:
4730 * src/hildon-time-button.c:
4731 * src/hildon-time-button.h:
4733 Some declarations changes to allow gtk-doc to document the widgets
4736 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4738 * src/hildon-date-button.c: Document the widget.
4739 * src/hildon-time-button.c: Document the widget.
4741 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/hildon-picker-button.c: Document the widget.
4744 * src/hildon-touch-selector-entry.c: Document the widget.
4746 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4748 * doc/hildon-docs.sgml
4751 * src/hildon-check-button.h
4752 * src/hildon-check-button.c: New functions to create the Hildon
4756 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4758 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4760 * src/hildon-button.h
4761 * src/hildon-button.c
4762 (hildon_button_add_title_size_group)
4763 (hildon_button_add_value_size_group)
4764 (hildon_button_add_image_size_group)
4765 (hildon_button_add_size_groups): New functions to set size groups
4766 for the button labels and image.
4767 (hildon_button_new_full): Removed
4769 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4771 * src/hildon-time-selector.c
4772 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4773 in order to avoid a crash if gconf is not available
4775 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4777 * src/hildon-button.c (hildon_button_set_arrangement)
4778 (hildon_button_construct_child): Don't construct the button child
4779 before setting the arrangement.
4781 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4783 * src/hildon-program-private.h
4784 * src/hildon-program.c
4785 * src/hildon-program.h
4786 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4787 (hildon_program_peek_window_stack)
4788 (hildon_program_pop_window_stack)
4789 (hildon_program_go_to_root_window): HildonProgram now has a
4790 separate list for stackable windows. Functions are provided to
4791 manage that list with a stack-like API.
4793 * src/hildon-stackable-window.c: Stackable window management is
4794 now much simpler with the new HildonProgram API. Windows no
4795 longer need to be manually added to the program, they're
4796 automatically pushed to the top of the stack when shown.
4798 * examples/hildon-stackable-window-example.c: Updated example to
4799 reflect the API changes.
4801 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4803 * src/hildon-touch-selector.c: Comment out unimplemented
4804 hildon_touch_selector_insert_column() to avoid a compile warning.
4806 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4808 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4809 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4810 (hildon_touch_selector_set_column_selection_mode),
4811 (_hildon_touch_selector_set_model),
4812 (hildon_touch_selector_set_model):
4814 Complete review of HildonTouchSelector documentation.
4816 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4818 * doc/hildon-docs.sgml
4822 * src/hildon-gtk.c: Convenience functions for standard Gtk
4823 widgets, used to easily perform frequent operations.
4825 * src/hildon-button-helpers.h
4826 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4828 * src/hildon-helper.h
4829 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4830 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4832 * src/hildon-button.h
4833 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4835 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4837 * src/hildon-button.c (hildon_button_init)
4838 (hildon_button_set_arrangement, hildon_button_construct_child):
4839 Pack the image and the labels inside the same GtkAlignment so
4840 gtk_button_set_alignment() can be used
4842 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-button.h
4845 * src/hildon-button.c
4846 (hildon_button_init, hildon_button_set_image)
4847 (hildon_button_set_image_position)
4848 (hildon_button_construct_child): New functions to add an image to
4851 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4853 * src/hildon-date-button.c
4854 * src/hildon-picker-button.c
4855 * src/hildon-time-button.c
4856 * src/hildon-button.c:
4857 (hildon_button_class_init): "size-flags" renamed to "size"
4858 (hildon_button_set_title): Hide the title label if set to NULL.
4860 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4862 HildonButtonFlags split into HildonButtonArrangement (to set the
4863 button layout) and HildonSizeType (which can be used for any
4866 * src/hildon-button.h
4867 * src/hildon-button.c
4868 (hildon_button_class_init)
4869 (hildon_button_set_arrangement)
4870 (hildon_button_set_property): New "size-flags"
4871 property. "arrangement-flags" renamed to "arrangement".
4872 (hildon_button_new, hildon_button_new_with_text)
4873 (hildon_button_new_full): Constructors updated to reflect type changes.
4875 * src/hildon-helper.h
4876 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4877 to set the size of a widget.
4881 * src/hildon-button-helpers.c
4882 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4884 * src/hildon-date-button.c
4885 * src/hildon-date-button.h
4886 * src/hildon-picker-button.c
4887 * src/hildon-picker-button.h
4888 * src/hildon-time-button.c
4889 * src/hildon-time-button.h: Updated widgets to reflect
4890 HildonButton API changes.
4892 * examples/hildon-button-example.c
4893 * examples/hildon-date-button-example.c
4894 * examples/hildon-picker-button-example.c
4895 * examples/hildon-picker-button-multicolumn-example.c
4896 * examples/hildon-time-button-example.c
4897 * examples/hildon-touch-selector-entry-example.c
4898 * examples/hildon-touch-selector-example.c: Updated examples to
4899 reflect HildonButton API changes.
4901 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4903 * doc/hildon-docs.sgml:
4905 * examples/Makefile.am:
4906 * examples/hildon-touch-selector-entry-example.c:
4908 * src/hildon-touch-selector-entry.c:
4909 * src/hildon-touch-selector-entry.h:
4912 Moved HildonTouchSelectorEntry from sandbox. Added its
4913 documentation and examples.
4915 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4917 * src/hildon-touch-selector.h:
4918 * examples/hildon-picker-button-multicolumn-example.c:
4919 (hildon_touch_selector_append_text_column): Add a gboolean
4920 parameter to determine if text must be centered in the column.
4922 * src/hildon-date-selector.c: (hildon_date_selector_init):
4923 * src/hildon-time-selector.c: (hildon_time_selector_init):
4924 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4925 (create_touch_selector): Update widgets and example to reflect
4928 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4930 * src/hildon-touch-selector.c:
4931 (hildon_touch_selector_set_active_iter): Set also the cursor in
4934 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4936 * doc/hildon-docs.sgml
4939 * src/hildon-toggle-button.c
4940 * src/hildon-toggle-button.h
4941 * src/hildon.h: Removed HildonToggleButton widget, a derived
4942 class is not necessary for this.
4944 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4946 * src/hildon-pannable-area.c,
4947 (hildon_pannable_area_realize),
4948 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4951 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4953 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4954 "done" button the default widget for the dialog.
4956 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4958 * src/hildon-touch-selector.c:
4959 (hildon_touch_selector_class_init),
4960 (hildon_touch_selector_get_property),
4961 (_hildon_touch_selector_set_model),
4962 (_hildon_touch_selector_has_multiple_selection),
4963 (hildon_touch_selector_has_multiple_selection):
4964 Add a "has-multiple-selection" property with a virtual
4965 has_multiple_selection() method to allow derived classes to
4966 override the default value for it. See the method and property
4967 documentation for details.
4969 * src/hildon-touch-selector.h: Add the new API.
4971 * src/hildon-picker-dialog.c: (requires_done_button): Call
4972 hildon_touch_selector_has_multiple_selection() instead of
4973 determining the need for a button itself.
4975 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4977 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4978 (_hildon_touch_selector_set_model),
4979 (hildon_touch_selector_set_model): Move working code to
4980 _hildon_touch_selector_set_mode(). Call the class method instead.
4982 * src/hildon-touch-selector.h: Add (*set_model) to
4983 HildonTouchSelectorClass.
4985 Make hildon_touch_selector_set_model() a virtual method, so that
4986 derived classes can extend it and do fancy stuff with the model.
4988 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4990 * configure.ac: Set back the tarname in AC_INIT to hildon.
4992 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4996 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4997 instead of libesd (NB#86876). Volume handling is still an open issue.
4999 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5002 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5004 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5005 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5006 derived class to ease placement of an entry widget in
5007 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5008 end, where the selector columns are packed now.
5010 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5012 * src/hildon-picker-button.c: Removed the simple _text() API.
5013 * src/hildon-picker-button.h: Likewise.
5015 * src/hildon-touch-selector.h:
5016 * src/hildon-touch-selector.c:
5017 (hildon_touch_selector_new_text),
5018 (hildon_touch_selector_append_text),
5019 (hildon_touch_selector_prepend_text),
5020 (hildon_touch_selector_insert_text):
5022 Moved the simple _text() API from HildonPickerButton to
5023 HildonTouchPicker, to provide better escalability and not to tie
5024 that API to HildonPickerButton.
5026 * examples/hildon-picker-button-example.c: (main): Example updated.
5028 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5030 * src/hildon-button.c: Updated documentation.
5032 * examples/hildon-button-example.c: Add the posibility to create
5033 the buttons using horizontal layout for title and value.
5035 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5037 * src/hildon-app-menu-private.h
5038 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5039 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5040 GtkSizeGroup for the filters, use the 'homogeneous' property of
5043 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5045 * examples/hildon-button-example.c: Updated example.
5047 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5049 * doc/hildon-docs.sgml:
5052 Update documentation.
5054 * examples/Makefile.am: Update renamed examples.
5056 * examples/hildon-picker-button-multicolumn-example.c:
5057 (create_touch_selector), (main): Update after the rename.
5059 * examples/hildon-touch-picker-example.c: Removed.
5060 * examples/hildon-touch-selector-example.c: (value_changed),
5061 (create_selector), (get_visible_content), (main): Renamed from
5062 hildon-touch-picker-example.c
5064 * src/Makefile.am: Updated renamed files.
5066 * src/hildon-date-button.c: (hildon_date_button_init),
5067 (hildon_date_button_get_date), (hildon_date_button_set_date):
5068 * src/hildon-date-selector.c: (hildon_date_selector_init),
5069 (_custom_print_func), (_update_day_model),
5070 (_manage_selector_change_cb),
5071 (hildon_date_selector_select_current_date),
5072 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5073 * src/hildon-date-selector.h:
5074 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5075 (hildon_picker_button_set_property),
5076 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5077 (hildon_picker_button_init), (hildon_picker_button_new_text),
5078 (hildon_picker_button_append_text),
5079 (hildon_picker_button_prepend_text),
5080 (hildon_picker_button_insert_text),
5081 (hildon_picker_button_set_selector),
5082 (hildon_picker_button_get_selector):
5083 * src/hildon-picker-button.h:
5084 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5085 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5086 (_update_title_on_selector_changed_cb), (requires_done_button),
5087 (_hildon_picker_dialog_set_selector),
5088 (hildon_picker_dialog_set_selector),
5089 (hildon_picker_dialog_get_selector):
5090 * src/hildon-picker-dialog.h:
5091 * src/hildon-time-button.c: (hildon_time_button_init),
5092 (hildon_time_button_get_time), (hildon_time_button_set_time):
5093 * src/hildon-time-selector.c: (hildon_time_selector_init),
5094 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5095 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5096 * src/hildon-time-selector.h:
5099 Massive code updates after the rename.
5101 * src/hildon-touch-picker.c: Removed.
5102 * src/hildon-touch-picker.h: Removed.
5104 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5105 (hildon_touch_selector_init), (hildon_touch_selector_map),
5106 (hildon_touch_selector_remove), (_default_print_func),
5107 (_selection_changed_cb), (_create_new_column),
5108 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5109 (hildon_touch_selector_append_text_column),
5110 (hildon_touch_selector_remove_column),
5111 (hildon_touch_selector_set_column_attributes),
5112 (hildon_touch_selector_insert_column),
5113 (hildon_touch_selector_get_num_columns),
5114 (hildon_touch_selector_get_column_selection_mode),
5115 (hildon_touch_selector_set_column_selection_mode),
5116 (hildon_touch_selector_set_print_func),
5117 (hildon_touch_selector_get_print_func),
5118 (hildon_touch_selector_get_active_iter),
5119 (hildon_touch_selector_set_active_iter),
5120 (hildon_touch_selector_get_selected_rows),
5121 (hildon_touch_selector_get_model),
5122 (hildon_touch_selector_set_model),
5123 (hildon_touch_selector_get_current_text),
5124 (_hildon_touch_selector_center_on_selected_items):
5125 * src/hildon-touch-selector.h: Renamed from
5126 hildon-touch-picker.[ch]
5128 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5129 references, code examples, and related documentation.
5131 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5133 * doc/hildon-docs.sgml
5136 * src/hildon-toggle-button.c
5137 * src/hildon-toggle-button.h
5138 * src/hildon.h: New HildonToggleButton widget.
5140 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5142 * src/hildon-button.c: Add API documentation.
5143 (hildon_button_set_size_groups): Check input parameters
5145 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5147 * src/hildon-pannable-area.c
5148 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5149 effect after reaching the movement thredshold. This way we start
5150 using the distance after passing the thredshold.
5152 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5154 * src/hildon-button.c: (hildon_button_set_property): Use the
5155 appropriate g_value_get_flags() method.
5157 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5159 * doc/hildon-docs.sgml:
5162 Add the touch pickers, picker dialogs, and picker button widgets
5163 to the documentation.
5165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5167 * src/hildon-button.c: (hildon_button_set_property),
5168 (hildon_button_class_init): Make "arrangement-flags" a proper
5169 G_TYPE_FLAGS derived property.
5171 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5173 * examples/Makefile.am: Add below examples.
5174 * examples/hildon-date-button-example.c:
5175 * examples/hildon-picker-button-example.c:
5176 * examples/hildon-picker-button-multicolumn-example.c:
5177 * examples/hildon-time-button-example.c:
5178 * examples/hildon-touch-picker-example.c:
5180 Add examples for the recently added touch pickers,
5181 picker dialogs, and picker button widgets.
5183 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5185 * src/hildon-button.c: Add some API documentation
5187 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5189 * src/hildon-button.h
5190 * src/hildon-button.c
5192 (hildon_button_new_with_text): New constructor to create a button
5193 with no text at all.
5194 (hildon_button_init, hildon_button_set_arrangement)
5195 (hildon_button_set_title, hildon_button_set_value)
5196 (hildon_button_set_text)
5197 (hildon_button_construct_child): Hide the value when it's not used
5198 so the rest of the text is properly aligned.
5199 Allow creating buttons with arbitrary widgets inside (not just
5200 title/value labels).
5202 * examples/hildon-button-example.c (vertical_buttons_window)
5203 (horizontal_buttons_window): Update example to use new API.
5205 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/Makefile.am: Added HildonTimeButton.
5208 * src/hildon-time-button.c: Added missing LGPL header.
5209 * src/hildon-time-button.h: Added missing LGPL header.
5210 * src/hildon.h: Add hildon-time-button.h
5212 Copied HildonTimeButton from sandbox to trunk. Future work on this
5213 widget must take place in trunk.
5215 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/Makefile.am: Added HildonDateButton.
5218 * src/hildon-date-button.c: Update includes.
5219 * src/hildon.h: Add hildon-date-button.h
5221 Copied HildonDateButton from sandbox to trunk. Future work on this
5222 widget must take place in trunk.
5224 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5226 * src/Makefile.am: Added HildonPickerButton.
5227 * src/hildon-picker-button.h: Update includes.
5228 * src/hildon.h: Add hildon-picker-button.h
5230 Copied HildonPickerButton from sandbox to trunk. Future work on
5231 this widget must take place in trunk.
5233 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5235 * src/Makefile.am: Added HildonPickerDialog.
5236 * src/hildon-picker-dialog.c: Update includes.
5237 * src/hildon.h: Add hildon-picker-dialog.h
5239 Copied HildonPickerDialog from sandbox to trunk. Future work
5240 on this widget must take place in trunk.
5242 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5244 * src/Makefile.am: Added HildonTimeSelector.
5245 * src/hildon.h: Add hildon-time-selector.h
5247 Copied HildonTimeSelector widget from sandbox to trunk. Future
5248 work on this widget must happen in trunk.
5250 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5252 * src/Makefile.am: Added HildonDateSelector.
5253 * src/hildon.h: Add hildon-date-selector.h
5255 Copied HildonDateSelector widget from sandbox to trunk. Future
5256 work on this widget must happen in trunk.
5258 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5260 * src/Makefile.am: Added HildonTouchPicker.
5261 * src/hildon-touch-picker.c: Update includes.
5262 * src/hildon.h: Add hildon-touch-picker.h
5264 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5265 on this widget must happen in trunk.
5267 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5269 * src/hildon-pannable-area.c:
5270 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5272 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5274 * examples/hildon-app-menu-example.c (main): Let the window
5277 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5279 * src/hildon-pannable-area.c
5280 (hildon_pannable_area_class_init): Set the min value of the
5281 overshoot properties to zero, which points out that not
5282 overshooting allowed.
5284 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5286 Modified the procedure to get the widget at a point inside the
5287 pannable area when using the movement type signals. Now the user
5288 has to call a function to get the child, that way we just
5289 calculate the child in case the user really want to use it and not
5292 * src/hildon-marshalers.list: Modified the marshallers, now we do
5293 not have the widget as a parameter.
5295 * src/hildon-pannable-area.c
5296 (hildon_pannable_area_motion_notify_cb),
5297 (hildon_pannable_area_class_init),
5298 (hildon_pannable_get_child_widget_at): Removed the widget
5299 parameter from the signal callback. We have also refactored the
5300 emission of the signals.
5302 * src/hildon-pannable-area.h: Added a new method to the API to
5303 calculate a widget at a point inside the pannable area,
5304 hildon_pannable_get_child_widget_at.
5306 * examples/hildon-pannable-area-example-4.c
5307 (horizontal_movement): Modified the example to use the new API,
5308 added condition to control which widget is under the event. This
5309 way we can avoid scrolling laterally over other widgets.
5311 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5313 * src/hildon-pannable-area.c
5314 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5315 modes, we stop getting the pointer events due to returning the
5316 callback without properly calling the get pointer again. Fixed
5317 also an error using the hscroll and vscroll.
5319 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5321 * src/hildon-app-menu-private.h
5322 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5323 (hildon_app_menu_button_release, hildon_app_menu_init)
5324 (hildon_app_menu_class_init): Don't hide the menu on button
5325 release if the user didn't press outside first.
5327 * src/hildon-window.h
5328 * src/hildon-window.c (hildon_window_toggle_menu)
5329 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5330 hildon_window_toggle_menu a virtual function for the stackable
5331 window to override it.
5333 * src/hildon-stackable-window.h
5334 * src/hildon-stackable-window-private.h
5335 * src/hildon-stackable-window.c
5336 (hildon_stackable_window_realize)
5337 (hildon_stackable_window_finalize)
5338 (hildon_stackable_window_class_init)
5339 (hildon_stackable_window_init)
5340 (hildon_stackable_window_set_main_menu): New function to set the
5341 app menu of a HildonStackableWindow.
5343 * examples/hildon-app-menu-example.c: Remove the button to show
5344 the app menu, now it'll be shown when clicking on the title bar
5347 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5349 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5350 set the widget name if the arrangement flags do not specify
5353 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5355 * src/hildon-button.c: (hildon_button_set_property),
5356 (hildon_button_class_init), (hildon_button_new_full),
5357 (hildon_button_set_arrangement): Added "arrangement-flags"
5360 Make the HildonButtonFlags a construction-only property, to allow
5361 subclasses to set them properly.
5363 2008-07-21 Tim Janik <timj@imendio.com>
5365 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5366 insertion position after backspace, so additional digits are appended,
5369 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5371 * src/hildon-pannable-area.c,
5372 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5373 TODO list, it was complete and removed the g_debug and g_print
5376 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5378 Added the movement modes to the hildon-pannable-area, with this
5379 modes the developers can control in which directions the widget
5380 can scroll. They can also connect to signals in order to do
5381 something when that happens, allowing applications scroll. There
5382 is an example uploaded showing how to use it.
5384 * examples/Makefile.am:
5385 * examples/hildon-pannable-area-example-4.c: Added this example of
5386 an application using the modes.
5388 * src/hildon-marshalers.list: Added a new marshaller for the new
5391 * src/hildon-pannable-area.h: Added new enumerations and flags in
5392 order to control the movement modes and the new signals to warn
5393 about the movements in the area.
5395 * src/hildon-pannable-area.c:
5396 (hildon_pannable_axis_scroll),
5397 (hildon_pannable_area_scroll),
5398 (hildon_pannable_area_motion_notify_cb),
5399 (hildon_pannable_area_get_property),
5400 (hildon_pannable_area_set_property),
5401 (hildon_pannable_area_map),
5402 (hildon_pannable_area_class_init),
5403 (hildon_pannable_area_init),
5404 (hildon_pannable_area_jump_to): Added the modes to control the
5405 movement in the widget. We have added properties to control it,
5406 signals to warn about the movements and refactored some code.
5408 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5410 Changes required in order to allow vfast_factor set to zero to
5413 * src/hildon-pannable-area.c:
5414 (hildon_pannable_area_button_press_cb): Changed the condition, it
5415 is required for not allowing click when vfast_factor is zero.
5416 (hildon_pannable_area_timeout): Initialized velocity variables
5417 when we stop moving, it was less than 1 but not zero and we need
5418 to check zero in some situations.
5419 (hildon_pannable_area_class_init): Changed the default value of
5420 the speed factor, now the button_press is just sent in case the
5421 speed is 2 per cent of the max speed.
5422 (hildon_pannable_area_init): Initialization with 0.
5424 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5426 * src/hildon-pannable-area.c,
5427 (hildon_pannable_area_get_topmost): replaced
5428 gdk_window_get_children with gdk_window_peek_children, this way we
5429 do not have to free the list because it is not a copy.
5431 (hildon_pannable_axis_scroll),
5432 (hildon_pannable_area_scroll),
5433 (hildon_pannable_area_timeout),
5434 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5435 two parameters that were only used inside the
5436 hildon_pannable_area_scroll function.
5438 * examples/hildon-pannable-area-example.c,
5439 (get_sawtooth_label): Fixed small memory leak.
5441 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5443 More checks for the case where the overshoot is bigger than the
5446 * src/hildon-pannable-area.c:
5447 (hildon_pannable_draw_vscroll),
5448 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5449 to draw the slider of the scrollbar under the other scrollbar.
5450 (hildon_pannable_area_expose_event): added new checks to control
5451 the drawing of the overshooting area rectangle, in case it is too
5452 big for the area of the widget.
5453 (hildon_pannable_area_size_allocate): add more checks to avoid
5454 setting a position to the child widget outside the area.
5456 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5458 * src/hildon-pannable-area.c
5459 (hildon_pannable_area_size_allocate): Added conditions to control
5460 when overshooting is bigger than the allocated space for the
5461 children, this avoids negative allocations.
5463 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5465 * doc/hildon-docs.sgml
5467 * examples/Makefile.am
5468 * examples/hildon-button-example.c
5470 * src/hildon-button.c
5471 * src/hildon-button.h
5472 * src/hildon.h: Initial version of the new HildonButton widget,
5475 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5477 * src/hildon-pannable-area.c:
5478 (hildon_pannable_area_button_press_cb),
5479 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5480 (hildon_pannable_area_motion_notify_cb),
5481 (hildon_pannable_area_button_release_cb),
5482 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5483 (hildon_pannable_area_jump_to_child):
5485 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5487 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5489 * examples/Makefile.am
5490 * examples/hildon-pannable-area-touch-grid-example.c
5491 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5492 the Hildon Touch List and Hildon Touch Grid using the
5493 HildonPannableArea widget.
5495 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5497 * src/hildon-pannable-area.c,
5498 (hildon_pannable_area_button_press_cb),
5499 (hildon_pannable_area_refresh),
5500 (hildon_pannable_area_scroll),
5501 (hildon_pannable_area_motion_notify_cb),
5502 (hildon_pannable_area_button_release_cb),
5503 (hildon_pannable_area_expose_event),
5504 (hildon_pannable_area_add),
5505 (hildon_pannable_area_remove),
5506 (hildon_pannable_area_realize),
5507 (hildon_pannable_area_size_allocate),
5508 (hildon_pannable_area_class_init),
5509 (hildon_pannable_area_init),
5510 (hildon_pannable_area_scroll_to_child),
5511 (hildon_pannable_area_jump_to_child): Fixed the problem of
5512 removing the child from the GtkBin, we have rearranged the widget
5513 hierarchy, now there is no GtkAlignment which was not doing
5514 anything interesting but breaking some of the assumptions of
5515 GtkContainer. Now developers if they want to add a GtkAlignment
5516 they could, but it is not inside the area.
5518 We had to review the whole allocation/expose process, now it is
5519 improved and we save at least three signals which would be saving
5520 some time when rendering the widget. The allocation of the
5521 scrollbars is now made in the allocate method as usual.
5523 We have also added some conditions in order to control when there
5524 is no child of the pannable area. Maybe we will need more work
5527 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5529 * src/hildon-pannable-area.c,
5530 (hildon_pannable_area_dispose): Released the fade-out timeout when
5531 disposing the widget.
5533 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5535 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5536 zero, we are going to use that property in order to deactivate the
5538 (hildon_pannable_axis_scroll),
5539 (hildon_pannable_area_size_allocate): Added conditions to control
5540 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5541 call, now it is called in all situations and we can remove calls
5542 in the allocate method.
5543 (hildon_pannable_area_map): Control the situation when
5544 overshoot_max is zero, we do not need the timeout.
5545 (hildon_pannable_area_class_init): Added documentation in order to
5546 point out that setting zero to overshoot_max means deactivate
5549 NOTE: removed trailing whitespaces from my previous comments of
5552 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5554 * src/hildon-pannable-area.c
5555 (hildon_pannable_area_get_property),
5556 (hildon_pannable_area_set_property),
5557 (hildon_pannable_area_map),
5558 (hildon_pannable_area_class_init),
5559 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5560 to cause the widget give a hint about its panning abilities upon
5563 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5565 * src/hildon-pannable-area.c: Several documentation improvements.
5567 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-program.c
5570 * src/hildon-stackable-window.c: Update documentation.
5572 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5574 * src/hildon-stackable-window.c (get_previous_window_if_last):
5575 Renamed get_last_window()
5576 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5577 (hildon_stackable_window_unset_program):
5579 (get_previous_window_if_last):
5580 Detect if the window hasn't been added to a HildonProgram.
5582 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5584 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5586 * src/hildon-pannable-area.c
5587 (hildon_pannable_area_button_press_cb),
5588 (hildon_pannable_axis_scroll),
5589 (hildon_pannable_area_scroll),
5590 (hildon_pannable_area_timeout),
5591 (hildon_pannable_calculate_vel_factor),
5592 (hildon_pannable_area_get_property),
5593 (hildon_pannable_area_set_property),
5594 (hildon_pannable_area_class_init),
5595 (hildon_pannable_area_init),
5596 (hildon_pannable_area_scroll_to),
5597 (hildon_pannable_area_jump_to),
5598 (hildon_pannable_area_scroll_to_child),
5599 (hildon_pannable_area_jump_to_child):
5600 * src/hildon-pannable-area.h: Added the new API functions:
5601 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5602 hildon_pannable_area_scroll_to_child,
5603 hildon_pannable_area_jump_to_child
5606 * examples/Makefile.am
5607 * examples/hildon-pannable-area-example-2.c
5608 * examples/hildon-pannable-area-example-3.c: Added these two new
5609 examples in order to test and show how the new APIs work.
5611 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5613 * examples/hildon-stackable-window-example.c (new_window):
5614 * src/Makefile.am (noinst_HEADERS):
5615 * src/hildon-program.c (hildon_program_go_to_root_window):
5616 * src/hildon-program.h:
5617 * src/hildon-stackable-window-private.h:
5618 * src/hildon-stackable-window.c:
5619 * src/hildon-stackable-window.h:
5620 Create hildon-stackable-window-private.h
5621 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5623 * examples/hildon-app-menu-example.c (create_menu):
5624 * examples/hildon-hvolumebar-insensitive-example.c (main):
5625 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5626 * examples/hildon-toolbar-seekbar-example.c (main):
5627 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5628 * src/hildon-banner.c (hildon_banner_set_property):
5629 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5630 Fix compilation warnings
5632 * src/hildon-window.c:
5635 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5637 * src/hildon-stackable-window.c
5638 (hildon_stackable_window_unset_program):
5639 Calculate correctly whether to show the previous window if the
5640 last one is removed from the stack.
5641 (hildon_stackable_window_go_to_root_window):
5642 Send delete events starting from the topmost window.
5643 Stop if one of the windows is not destroyed.
5645 (hildon_stackable_window_delete_event)
5646 (hildon_stackable_window_class_init):
5647 Ignore the delete event if the window is not the topmost one.
5649 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5651 * src/hildon-pannable-area.c
5652 (hildon_pannable_area_expose_event): Fixed a problem when
5653 selecting the background color of the scrollbars.
5655 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5657 * examples/hildon-stackable-window-example.c
5658 * src/hildon-stackable-window.c
5659 * src/hildon-stackable-window.h
5660 hildon_stackable_window_go_home() renamed to
5661 hildon_stackable_window_go_to_root_window()
5662 Send delete events to windows rather than closing them with
5663 gtk_widget_destroy()
5665 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-pannable-area.c
5668 (hildon_pannable_area_button_release_cb): Fix overshooting in
5671 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5673 * src/hildon-pannable-area.c
5674 (hildon_pannable_area_init): Initially show the scroll indicators.
5675 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5677 Add initial effect showing the widget is pannable.
5679 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5681 * src/hildon-pannable-area.c
5682 (hildon_pannable_area_class_init)
5683 (hildon_pannable_area_set_property)
5684 (hildon_pannable_area_get_property)
5685 (hildon_pannable_area_button_press_cb):
5686 New 'velocity_fast_factor' property to decide which velocity is
5689 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5691 * src/hildon-pannable-area.c
5692 (hildon_pannable_draw_hscroll)
5693 (hildon_pannable_draw_vscroll):
5694 Use float variables to calculate the size of the scrollbars to
5695 avoid error propagation and resizing during scrolling.
5697 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5699 * src/hildon-pannable-area.c
5700 (hildon_pannable_draw_vscroll)
5701 (hildon_pannable_draw_hscroll):
5702 Define a minimum size for the scroll bars
5704 * src/hildon-stackable-window.c
5705 (hildon_stackable_window_go_home): Fix compilation warning
5706 (get_last_window): Minor optimizations
5707 (hildon_stackable_window_class_init): Fix initialization of
5710 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5712 * src/hildon-stackable-window.c: Fixed typos in doc
5714 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5716 * src/hildon-pannable-area.c
5717 (hildon_pannable_area_scroll):
5718 Calculate here whether we need to scroll instead of using the booleans
5719 that tell us whether to /draw/ the scrolling bars.
5721 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5723 * src/hildon-app-menu.h
5725 * src/hildon-app-menu.c
5726 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5727 multiple filter groups related code and API. Now we support only
5729 * examples/hildon-app-menu-example.c:
5731 Update to reflect API changes.
5733 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5735 * src/hildon-stackable-window.c
5736 (hildon_stackable_window_class_init):
5737 Add hildon_stackable_window_realize.
5738 (hildon_stackable_window_realize):
5739 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5740 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5741 to apply theming and behavior specific to HildonStackableWindow
5744 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5746 * src/hildon-note.c (hildon_note_button_release):
5747 Close information notes also when tapping on them
5749 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5751 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5752 ELASTICITY, refactor and review, fix some issues with drawing
5755 * src/hildon-pannable-area.c:
5756 (hildon_pannable_area_button_press_cb): removed the conditions to
5757 avoid clicks when overshooting. It is not required
5759 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5760 define. Refatored and reviewed the code, now we do not need to
5761 manage velocity in motion_notify.
5763 (hildon_pannable_area_motion_notify_cb): We have moved the code
5764 that controls the area_scroll to the axis_scroll function and get
5765 rid of duplicated code.
5767 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5769 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5771 (hildon_pannable_draw_vscroll),
5772 (hildon_pannable_draw_hscroll): Fixed the problems with the
5773 scrollbar drawing, now we do not use two surfaces, it is easier
5774 and saves resources.
5776 (hildon_pannable_area_get_property): Style modification.
5778 (hildon_pannable_area_class_init): Changed some default values.
5780 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5782 * src/hildon-stackable-window.c: Fix some typos in the
5785 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-dialog.c:
5788 Change indentation style
5791 (hildon_note_button_release):
5792 Use root coordinates to check if the release event happened
5795 * src/hildon-app-menu.c
5796 (hildon_app_menu_button_release):
5797 Remove unnecessary check
5799 * examples/hildon-app-menu-example.c
5801 Add cast to fix warning
5803 * src/hildon-app-menu.c
5804 (hildon_app_menu_class_init):
5805 New inner-border style property.
5806 Set all default spacings to 16
5807 (hildon_app_menu_init):
5808 Use vertical-spacing to set the space between filter buttons and
5809 regular menu buttons.
5810 Set the default container border using the inner-border value.
5812 * examples/hildon-app-menu-example.c
5814 Don't set the menu border explicitly, now we have the inner-border
5815 style property for that.
5817 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-app-menu.c (hildon_app_menu_init):
5820 Make the window modal
5822 * src/hildon-note.c (hildon_note_map)
5823 * src/hildon-app-menu.c (hildon_app_menu_map):
5824 Destroy the grab window if we're unable to grab the pointer
5826 * src/hildon-app-menu-private.h
5827 * src/hildon-app-menu.c
5828 (hildon_app_menu_init, hildon_app_menu_finalize)
5829 (hildon_app_menu_map, hildon_app_menu_unmap)
5830 (hildon_app_menu_button_release)
5831 (grab_transfer_window_get):
5832 Bring back the grab window
5833 (hildon_app_menu_realize):
5834 Decorate the window, set WM hint for Matchbox
5836 * src/hildon-note.c (hildon_note_realize):
5837 * src/hildon-banner.c (hildon_banner_realize):
5838 Add WM hints for Matchbox
5840 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5842 * src/hildon-app-menu-private.h
5843 * src/hildon-app-menu.c
5844 (hildon_app_menu_init, hildon_app_menu_finalize)
5845 (hildon_app_menu_map, hildon_app_menu_unmap)
5846 (hildon_app_menu_button_release):
5847 Remove the grab window, it's not needed anymore
5849 * src/hildon-program.c
5850 Fixed typo in documentation
5852 * src/hildon-app-menu.h
5853 * src/hildon-app-menu.c
5854 * examples/hildon-app-menu-example.c
5855 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5857 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5860 Added new transfer_window and close_if_pressed_outside private
5862 (hildon_note_rebuild):
5863 Don't add a cancel button to the information note. It will be
5864 closed when tapping outside
5865 Remove the comment about the OK button in the documentation
5866 (hildon_note_realize):
5867 Set the notification type hint
5868 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5869 Grab/ungrab pointer and keyboard if the note has to be closed when
5871 (hildon_note_button_release):
5872 Close the note when tapping outside (if applicable)
5874 * src/hildon-app-menu.c
5875 Grab/ungrab pointer and keyboard on map/unmap
5876 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5877 Close the menu on button release, not button press
5879 * src/hildon-banner.c
5880 (hildon_banner_set_property)
5881 (hildon_banner_check_position):
5882 Make the banner use the full width of the screen
5883 (hildon_banner_show_information)
5884 (hildon_banner_show_information_with_markup):
5885 Don't display an icon by default
5887 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5889 Added fading scrollbars and adapted all the overshooting code to
5890 horizontal scrolling. We have also fixed bugs with overshooting
5891 and current fading implementation.
5893 * src/hildon-pannable-area.c
5894 (hildon_pannable_area_scroll_indicator_fade): Time out function
5895 used to change the transparency of the scrollbars.
5897 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5898 control and fixed a problem with fading, we now remove the fade
5899 timeout before adding a new one.
5901 (hildon_pannable_axis_scroll):
5902 (hildon_pannable_area_scroll):
5903 (hildon_pannable_area_timeout): Added this functions so we can use
5904 the scroll code both for vertical and horizontal.
5906 (hildon_pannable_area_motion_notify_cb):
5907 (hildon_pannable_area_button_release_cb): Added the horizontal
5908 scrolling control, fixed a problem with the overshooting timeout.
5910 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5911 painting of the scrolls.
5913 (hildon_pannable_draw_vscroll):
5914 (hildon_pannable_draw_hscroll):
5915 (hildon_pannable_area_expose_event):
5916 Draw both scrollbars and rectangles in the overshooting area.
5918 (hildon_pannable_area_get_property):
5919 (hildon_pannable_area_set_property):
5920 Modified the overshoot property to overshoot_max
5922 (hildon_pannable_area_map):
5923 Replaced the comments symbols.
5925 (hildon_pannable_area_size_allocate):
5926 (hildon_pannable_area_class_init):
5927 (hildon_pannable_area_init): Added horizontal scroll, fading
5928 effect properties, fixed a problem when overshooting in the bottom
5931 * examples/hildon-pannable-area-example.c:
5932 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5933 looks better in the example.
5935 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5937 * src/hildon-window.c
5938 * src/hildon-window.h
5939 (hildon_window_class_init)
5940 (hildon_window_unset_program)
5941 (hildon_window_unset_program_real):
5942 Make unset_program a virtual function
5944 * src/hildon-stackable-window.c
5945 * src/hildon-stackable-window.h
5946 Added hildon_stackable_window_go_home()
5948 * examples/Makefile.am
5949 * examples/hildon-stackable-window-example.c
5950 HildonStackableWindow example
5952 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5954 * hildon-pannable-area.c: Added the overshoot property and removed
5955 the OVERSHOOT define. Fixed an indent style error.
5956 (hildon_pannable_area_motion_notify_cb):
5957 (hildon_pannable_area_get_property):
5958 (hildon_pannable_area_set_property): Add overshoot property.
5960 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5963 (hildon_pannable_area_class_init): Installed the new property.
5965 * hildon-pannable-area-example.c: Added a sawtooth function, this
5966 way it is easier to check the movement in the pannable.
5967 (get_sawtooth_label): Added this function.
5968 (main): Now we get the labels from the new get_sawtooth_label
5971 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-app-menu.h
5974 * src/hildon-app-menu.c
5975 Renamed API variables for consistency
5977 (hildon_app_menu_popup): Use also the default window size to
5978 decide where to place the menu
5980 (hildon_app_menu_init, hildon_app_menu_class_init): New
5981 external-border style property
5983 2008-05-26 Michael Natterer <mitch@imendio.com>
5985 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5986 widget_class->tap_and_hold_setup signal slot doesn't exist any
5987 longer, stop overriding it.
5989 (hildon_time_editor_init): g_signal_connect() to the
5990 tap-and-hold-setup signal instead.
5992 (hildon_time_editor_entry_keypress): add cast to fix warning.
5994 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5996 * doc/hildon-docs.sgml
5998 * examples/Makefile.am
5999 * examples/hildon-app-menu-example.c
6001 * src/hildon-app-menu-private.h
6002 * src/hildon-app-menu.c
6003 * src/hildon-app-menu.h
6005 New HildonAppMenu widget
6007 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6009 Rearranged the inheritance of the pannable area, now it inherits
6010 from GtkBin. This will allow us to control the event_window and
6011 the allocation process of the widget, required for some effects.
6013 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6014 GtkBin structures. * src/hildon-pannable-area.c: Added the
6015 event_window variable.
6016 (hildon_pannable_area_button_press_cb):
6017 (hildon_pannable_area_button_release_cb):
6018 (hildon_pannable_area_motion_notify_cb):
6019 Changed the signature of the method, now we override the event
6020 callback instead of connecting to the signal.
6022 (hildon_pannable_area_realize):
6023 (hildon_pannable_area_unrealize):
6024 (hildon_pannable_area_map):
6025 (hildon_pannable_area_unmap):
6026 (hildon_pannable_area_size_allocate):
6027 Added functions to control the widget construction. We add a
6028 INPUT_ONLY window and we put it over the widgets inside the
6029 container, this event_window handles the events.
6031 (hildon_pannable_area_class_init):
6032 Replaced the signal connections with overrides of the event
6035 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6037 Bouncing effect added when touching the borders, you can change
6038 the elasticity of the border changing the ELASTICITY define.
6040 * src/hildon-pannable-area.c: Added ELASTICITY define.
6041 (hildon_pannable_area_timeout): Added inverse velocity when
6042 touching the border of the child widget, that causes a bounce.
6044 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6046 Improved performance, we now do not go to the X server in order to
6047 get the list of window children. Apparently the effect is the
6048 same, we have to be careful and check if this breaks something in
6051 * src/hildon-pannable-area.c:
6052 (get_ordered_children): Removed this function.
6053 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6054 the children windows function with gdk_window_get_children.
6056 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6058 * src/hildon-pannable-area.c:
6059 (hildon_pannable_area_dispose): Fixed a crash when closing the
6060 window and kinetics is activated.
6062 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6064 * src/hildon-pannable-area.h
6065 * src/hildon-pannable-area.c
6066 Changed indentation style to meet the one used in Hildon
6068 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6070 Reviewed the interaction of the AUTO mode, now we use the time
6071 attribute of the events and calculate the velocity in the motion,
6072 doing a gimp like calculation. The velocity is calculated in each
6073 motion event using the last velocity and the current one, the
6074 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6076 * src/hildon-pannable-area.c: Replaced the time based algorithm
6078 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6079 timeout for the AUTO mode when we are still moving the cursor. We
6080 added also the velocity calculation in this function.
6081 (hildon_pannable_area_button_release_cb): launch the timeout in
6082 case we are in AUTO mode. There are still some constants here that
6083 come from the old implementation that should be reviewed and
6086 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6088 * doc/hildon-docs.sgml
6091 * src/hildon-stackable-window.c
6092 * src/hildon-stackable-window.h
6094 New HildonStackableWindow widget
6096 * examples/hildon-dialog-example.c
6097 * examples/hildon-pannable-area-example.c
6100 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-dialog.c
6103 (hildon_dialog_new_with_buttons): New constructor.
6105 * examples/hildon-dialog-example.c
6106 (main): Update the example to use the new
6107 hildon_dialog_new_with_buttons().
6109 * examples/hildon-pannable-area-example.c
6110 (main): Update example.
6112 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6114 * doc/hildon-docs.sgml
6116 Added HildonPannableArea to the documentation.
6118 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6120 * doc/visual_index.xml
6121 Fix reference to HildonLoginDialog in documentation
6123 * doc/hildon-docs.sgml
6125 * examples/Makefile.am
6126 * examples/hildon-dialog-example.c
6128 * src/hildon-dialog.c
6129 * src/hildon-dialog.h
6131 New HildonDialog widget.
6133 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-pannable-area.c
6136 Merge latest changes (r4318, r4342) from libmokoui trunk
6138 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6140 * examples/Makefile.am
6141 * examples/hildon-pannable-area-example.c
6143 * src/hildon-pannable-area.c
6144 * src/hildon-pannable-area.h
6146 New HildonPannableArea widget.
6148 2008-04-15 18:05:19 <timj@imendio.com>
6150 * src/hildon-banner.c: revert the recent change, that introduced
6151 gtk_window_present() calls. this reopens:
6152 Bug 78481 - [freetest] information banners are hidden under browser menu
6153 But resolves another variant of:
6154 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6156 2008-04-15 13:21:13 <timj@imendio.com>
6158 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6159 recreated its layout, spotted by Kris. this fixes all remaining
6160 artefacts and stability issues with the banner code. in particular:
6161 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6163 2008-04-14 16:52:59 <timj@imendio.com>
6165 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6166 operating on unrealized widgets, fixes:
6167 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6169 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6171 2008-04-09 Kristian Rietveld <kris@imendio.com>
6173 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6174 makes banner disappear.
6175 Fixes: NB#79182: info banner flickering with certain message lengts.
6177 * src/hildon-banner.c (hildon_banner_constructor),
6178 (hildon_banner_init), (hildon_banner_set_text),
6179 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6180 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6181 FALSE, reset size requests of label and banner,
6182 (force_to_wrap_truncated): when the text is too wide, always enforce
6183 the maximum possible width instead of recalculating it from the
6184 layout; enforce the maximum banner height of 3 lines,
6185 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6186 nicer wrapping and no truncated chars if space gets tight.
6188 * src/hildon-banner-private.h: add has_been_wrapped and
6189 has_been_truncated fields.
6191 2008-04-07 Sven Herzberg <sven@imendio.com>
6193 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6194 local values in hildon_date_editor_size_allocate
6196 * src/hildon-date-editor.c: moved the real allocation code into the
6199 2008-04-07 Sven Herzberg <sven@imendio.com>
6201 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6202 local values in hildon_date_editor_size_allocate
6204 * src/hildon-date-editor.c: merged the two if() branches together
6206 2008-04-07 Sven Herzberg <sven@imendio.com>
6208 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6209 local values in hildon_date_editor_size_allocate
6211 * src/hildon-date-editor.c: changed the arguments of the if()
6214 2008-04-07 Sven Herzberg <sven@imendio.com>
6216 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6217 local values in hildon_date_editor_size_allocate
6219 * src/hildon-date-editor.c: split the calculation of the allocation
6220 from the real allocation
6222 2008-03-27 Michael Natterer <mitch@imendio.com>
6224 Fixes: NB#81696: The passcode is not overwritten even after
6227 * src/hildon-code-dialog.c
6228 (hildon_code_dialog_button_clicked)
6229 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6230 because that doesn't overwrite selected text. Instead, emit the
6231 "commit" signal on the entry's im_context so the entry's normal
6232 insert logic is triggered. Set the cursor to the end of the entry
6233 after each insert operation so that we *only* insert in the middle
6234 of the text if something was selected.
6236 2008-03-27 Michael Natterer <mitch@imendio.com>
6238 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6239 selector cannot be opened
6241 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6242 when the popup color selector is created. Please connect to this
6243 signal in order to set the dialog's help ID.
6245 2008-03-25 Sven Herzberg <sven@imendio.com>
6247 Fixes: MB#1212: Hide info banners (infoprints) on click
6249 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6250 extracted the close event simulation into an extra function
6251 (hildon_banner_button_press_event): simulate a close event and destroy
6252 the widget if the event wasn't handled
6253 (hildon_banner_class_init): added the button_press_event handler
6254 (hildon_banner_init): added button-press events to the widget
6256 2008-03-25 Sven Herzberg <sven@imendio.com>
6258 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6259 Patch from: Mohammad Anwari <mdamt@maemo.org>
6261 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6262 instead of the right in RTL mode
6263 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6264 breadcrumb button list in RTL mode
6265 * src/hildon-caption.c: mirror the appearance of the caption widget in
6267 * src/hildon-date-editor.c: mirror appearance of the date editor in
6269 * src/hildon-time-editor.c: mirror appearance of the time editor in
6271 * src/hildon-window.c: fix the position of the popup in RTL mode
6273 2008-03-25 Sven Herzberg <sven@imendio.com>
6275 Amendment to the fix of NB#22072. Fix compilation.
6277 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6279 2008-03-19 Sven Herzberg <sven@imendio.com>
6281 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6284 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6285 timeout id properly when the timeout will disappear this leaves no
6286 artifacts around in the destroy(); there will only be the timeout
6287 created by hildon_banner_ensure_timeout() and adding a new timeout
6288 will also work if the timeout gets removed because the timeout_handler
6291 2008-03-19 Michael Natterer <mitch@imendio.com>
6293 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6295 * src/hildon-volumebar.c
6296 * src/hildon-vvolumebar.c
6297 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6298 the widget becomes focussable at all.
6300 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6301 set the focus to wither the mute button or the volumebar.
6303 Remove own "can-focus" property and instead listen to
6304 notify::can-focus in order to update the widget's state.
6306 Implement GtkWidget::focus() and make sure we can also *leave* the
6307 widget, not only enter it, depending on volumebar orientation and
6308 requested focus direction.
6310 Clean up set_mute() to cooperate nicely with all the above.
6312 2008-03-04 Michael Natterer <mitch@imendio.com>
6314 Fixes: NB#78481: information banners are hidden under browser menu
6316 * src/hildon-banner.c: call gtk_window_present() on the banners so
6317 they are risen if they are already visible.
6319 2008-03-03 Sven Herzberg <sven@imendio.com>
6321 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6323 * examples/hildon-window-menu-example.c: (main): extended the window
6324 menu example to serve as a testcase for automatically added
6325 accelerator groups, too
6326 * src/hildon-window.c: (hildon_window_add_accel_group),
6327 (hildon_window_set_menu): added patch by Tommi Komulainen
6329 2008-03-03 Sven Herzberg <sven@imendio.com>
6331 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6333 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6334 knowledge about the border allocators used within GTK+
6336 2008-02-26 Sven Herzberg <sven@imendio.com>
6338 Fixes: MB#2981: Build with asserts broken
6340 * src/hildon-date-editor.c,
6341 * src/hildon-number-editor.c,
6342 * src/hildon-time-editor.c,
6343 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6344 the proper GType instance check
6346 2008-02-25 Sven Herzberg <sven@imendio.com>
6348 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6350 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6351 * examples/hildon-window-menu-example.c: (main): explicitly show
6353 * src/hildon-window.c:
6354 (hildon_window_set_main_menu): moved most of the code from set_menu()
6355 to this place; skipped the call to gtk_widget_show_all(); also didn't
6356 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6357 (hildon_window_set_menu): removed most of the code, just keep the
6358 questionable gtk_widget_show_all()
6359 * src/hildon-window.h: added the new function and deprecate the old
6362 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6368 * debian/changelog: Updating.
6370 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6373 * pkgconfig/Makefile.am:
6374 * pkgconfig/hildon.pc.in:
6377 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6378 use newly created API_MAJOR_VERSION.
6380 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6386 * debian/changelog: Updating.
6388 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6390 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6392 Add outer_border style property, we use it but don't define it (!).
6396 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6398 * examples/hildon-bread-crumb-trail-example.c (main):
6402 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6404 Fix logic for the bread crumb trail node removal.
6408 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6414 * debian/changelog: Updating.
6416 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6418 Patch by Alejandro to get/set passwords dialogs accesibility.
6420 * hildon-1/src/hildon-get-password-dialog.c:
6421 * hildon-1/src/hildon-set-password-dialog.c:
6422 Set atk_set_name to the passwd entries in order to allow
6423 accessibility by name on this entries.
6425 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6430 * debian/control: Updating gtk dep.
6432 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6434 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6435 USE_MAEMO_GTK is enabled.
6437 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6439 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6440 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6442 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6448 * debian/changelog: Updating.
6450 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6452 * examples/Makefile.am:
6453 * examples/hildon-logical-color-example.c:
6454 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6455 applied + adding a test case. Fixes: NB#71660.
6457 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6459 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6460 to be visible, fixes warning on map for windows without toolbars.
6462 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6464 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6465 2.11.0, add a check for that besides the MAEMO_GTK check.
6467 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6473 * debian/changelog: Updating.
6475 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6477 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6478 visibility. Fixes: NB#70842 and MB#615.
6480 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6482 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6483 set the separator as no-show-all so it doesn't unintentionally appear when
6484 someone does a show_all.
6486 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6488 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6489 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6490 toplevel item. Fixes: NB#62031
6492 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6494 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6495 fix the name of the function in the docs.
6497 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6503 * debian/changelog: Updating.
6505 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6507 * examples/hildon-banner-long-example.c: Adding a test-case for long
6510 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6512 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6514 * src/hildon-color-chooser-dialog.c:
6515 * src/hildon-color-chooser.c:
6516 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6517 memory leaks in font selector and color selector. Fixes: NB#70499 and
6520 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6522 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6524 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6526 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6527 little bit bigger. Fixes: #NB63694.
6529 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6535 * debian/changelog: Updating.
6537 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6540 * doc/hildon-docs.sgml:
6541 * doc/images/bread-crumb-trail.png:
6542 * doc/images/calendar-popup.png:
6543 * doc/images/caption.png:
6544 * doc/images/code-dialog.png:
6545 * doc/images/color-button.png:
6546 * doc/images/color-chooser-dialog.png:
6547 * doc/images/color-chooser.png:
6548 * doc/images/controlbar.png:
6549 * doc/images/date-editor.png:
6550 * doc/images/font-selection-dialog.png:
6551 * doc/images/get-password-dialog.png:
6552 * doc/images/hvolumebar.png:
6553 * doc/images/login-dialog.png:
6554 * doc/images/note.png:
6555 * doc/images/number-editor.png:
6556 * doc/images/range-editor.png:
6557 * doc/images/seekbar.png:
6558 * doc/images/set-password-dialog.png:
6559 * doc/images/sort-dialog.png:
6560 * doc/images/time-editor.png:
6561 * doc/images/time-picker.png:
6562 * doc/images/vvolumebar.png:
6563 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6564 Adding the bread-crumb-trial and helpers to the documentation.
6566 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6568 * examples/hildon-find-toolbar-example.c:
6569 * src/hildon-find-toolbar.c:
6570 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6571 actually continue firing the other handlers if connected. Adding a new
6573 hildon_find_toolbar_get_last_index that gets the index of the most
6574 recently added (last) item. Fixes: NB#52301.
6576 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6578 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6579 behaviour. Fixes: NB#68610.
6581 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6583 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6586 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6588 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6589 when realizing the banner. Should make the infonbanner effect a bit more
6592 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6594 * src/hildon-volumebar.c:
6595 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6596 hildon_volumebar_set_range_insensitive_message and
6597 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6599 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6601 * src/hildon-window.c: Fixing the border freeing on destroy.
6603 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6605 * src/hildon-code-dialog-private.h:
6606 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6607 kw keyboard support in HildonCodeDialog.
6609 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6615 * debian/changelog: Updating.
6617 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6619 * src/hildon-date-editor.c:
6620 * src/hildon-number-editor.c:
6621 * src/hildon-private.c:
6622 * src/hildon-private.h:
6623 * src/hildon-time-editor.c:
6624 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6625 handling in subclassed composite widgets. Fixes: NB#66628.
6627 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6629 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6630 from destroy_ callback as it introduces problems in async dbus signal
6631 handlers. Fixes NB#66673.
6633 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6635 * examples/hildon-hvolumebar-example.c:
6636 * src/hildon-volumebar.c: Improving the focus handling in the
6637 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6638 set_property accessor so that "mute" property can be actually set. I'm
6639 scared that nobody noticed it's totally broken.
6641 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6643 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6646 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6648 * src/hildon-calendar.c:
6649 * src/hildon-number-editor.c:
6650 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6651 matches the spec of 6 chars per second. Fixes: NB#60489.
6653 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6655 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6656 gtk_style_lookup_color sometime returns FALSE even though color was
6657 found and values were filled properly. Weird. Removing the warning for the
6660 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6662 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6663 expand vertically. Adding some extra space to the find toolbar buttons to
6664 make them thumbable. Fixes NB#66060.
6666 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6668 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6669 popup with "Ok" and "Cancel". Fixes NB#59299.
6671 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6673 * src/hildon-calendar.c: Process all window updates before executing next
6674 timeout. Fixes: NB#54146.
6676 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6682 * debian/changelog: Updating.
6684 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6686 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6687 the client event and ignore it, since we use the delete event to close
6690 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6692 * src/hildon-helper.c: Remove the bogus warning about color not being
6693 found. Fixes NB#58352.
6695 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6697 * examples/Makefile.am:
6698 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6699 HildonSeekbar widget inside a toolbar.
6701 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6703 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6704 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6705 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6706 don't want to be closed by non-temporary windows on map.
6708 Also use G_DEFINE_TYPE instead of manually typed code.
6710 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6717 * debian/rules: Updating.
6719 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6721 * examples/Makefile.am:
6722 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6723 bug NB#61128. Strangely it works.
6725 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6727 * src/hildon-date-editor.c: When the date editor entry has been changed
6728 but the numbers of characters < max, turn off the skip validation flag.
6729 Prevents a situation when we enter first a valid year and later re-write
6730 it with an invalid one. Fixes NB#60154.
6732 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6734 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6735 code dialog. Fixes NB#64355.
6737 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6739 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6740 switching the page. Fixes NB#49374.
6742 * examples/Makefile.am:
6743 * examples/hildon-wizard-dialog-example.c: Adding an example for
6744 HildonWizardDialog that shows how to handle manual sensitivity setting on
6747 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6751 * src/hildon-version.h.in:
6752 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6754 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6756 * src/hildon-volumebar.c: Updating the docs.
6758 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6764 * debian/changelog: Updating.
6766 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6768 * src/hildon-find-toolbar.c:
6769 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6770 selected item: hildon_find_toolbar_set_active,
6771 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6772 hildon_find_toolbar_get_active_iter . They correspond to respective
6773 GtkComboBox functions.
6775 * examples/Makefile.am:
6776 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6779 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6781 * examples/Makefile.am:
6782 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6785 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6786 when font size > 32 and we pack a focusable widget inside. Actually using
6787 the default response would work too, but since we don't show default
6788 response state in any way (no theming) it would not be visible to the
6789 user. Fixes NB#63430.
6791 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6793 * src/hildon-date-editor.c: Adding the missing variable setter in the
6794 set_property handler. Fixes NB#54182.
6796 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6798 * src/hildon-window.h: Changing the long key press time from 1500ms to
6799 800ms as requested in NB#63700. I have a bad feeling about this, let's
6800 see... Fixes NB#63700.
6802 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6804 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6805 hildon_time_picker_map, hildon_time_picker_realize,
6806 hildon_time_picker_style_set): Split the contents of map to more
6807 appropriate functions; set window decorations on realize and update
6808 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6810 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6815 * debian/changelog: Updating.
6817 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6819 * src/Makefile.am: fixed installation of the header files
6821 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6827 * debian/changelog: Updating.
6829 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6831 * configure.ac: Removing some remaining of --enable-xan.
6833 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6835 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6836 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6838 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6839 2.10.12-osso6 because the move-focus signal needs to be available in
6842 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6844 * examples/Makefile.am:
6845 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6846 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6847 fine. Prolly NB#61128 is fixed now.
6849 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6851 * src/hildon-volumebar.c:
6852 * src/hildon-volumebar.h: Adding the
6853 hildon_volumebar_set_range_insensitive_message and
6854 hildon_volumebar_set_range_insensitive_messagef functions to set
6855 insensitive message on the slider of the volumebar. Fixes NB#61129.
6857 * examples/Makefile.am:
6858 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6859 test the new insensitive messsage functionality on HildonVolumebar.
6861 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6863 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6866 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6868 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6869 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6870 button on after clearing the trail.
6872 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6874 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6876 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6878 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6879 by splitting the installed headers in generated and non-generated groups. Use
6880 only the non-generated headers to create the hildon-enum-types.h file.
6882 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6884 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6886 * src/hildon-window.c: Hide the window before performing the destroy.
6887 Should make the app closing a little tiny bit more snappy.
6889 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6891 * src/hildon-seekbar.c: add gtkrange.h header
6892 * src/hildon-caption.c: remove unused variable
6894 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6896 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6899 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6905 * debian/changelog: Updating.
6907 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6909 * src/hildon-window.c (hildon_window_window_state_event,
6910 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6911 escape timeout on focus-out-event rather than notify::is-topmost; the
6912 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6914 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6916 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6917 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6919 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6921 * src/hildon-window: actually, you need to use the macro always, there's
6922 no private pointer in the instance structure. We should have cleaned this up
6923 when we had the chance...
6925 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6927 * src/hildon-window.c: do not get the private date from HildonWindow before
6928 it passes the g_return_if_fail check. Once it's passed the test, there's no
6929 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6930 if you are only going to access the data once. Whitespace cleanups.
6932 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6934 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6935 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6937 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6943 * debian/changelog: Updating.
6945 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6947 * src/hildon-window.c: When destroying the window, remove (if exists) the
6948 escape timeout handler. Fixes #NB59276.
6950 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6952 * src/hildon-banner.c: When realizing the widget, set the window
6953 transiency. Setting the transiency in the gobject constructor is not
6954 good, as the widget is not realized at that point. Fixes: #NB56624.
6956 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6958 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6959 Add padding for future expansions.
6961 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6963 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6964 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6965 will fake an activation on the previous to the last item of the trail, so
6966 the effect can be overrided by the developer as usual.
6967 Also change the callback for the back button to do the same thing, so its
6968 effect can be overrided too. Fixes: NB#58982
6970 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6972 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6973 HildonCaption. Fixes NB#52379.
6975 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6977 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6978 the internal state of the trail after the user has had the chance of executing
6979 his handler for the signal. Specifically, it may happen that the activated button
6980 is removed and the user still lets the default handler run. This would segfault
6983 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6985 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6986 scrollbar to the preview dialog. Fixes NB#54147.
6988 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6990 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6991 max/min year properties can be altered, so the client can modify it
6992 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6994 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6996 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6997 hildonlike by default. Fixing a problem with disappearing arrows when
6998 scrolling through months and years. Fixes NB#54127.
7000 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7002 * examples/hildon-date-editor-example.c: Adding error callback to the date
7005 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7011 * configure.ac: Updating.
7013 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7015 * configure.ac: Adding a special '--enable-xan' configure option that
7016 turns off the -Werror compilation setting. Usefull for development.
7018 * src/hildon-calendar.c:
7019 * src/hildon-number-editor.c:
7020 * src/hildon-time-picker.c: Adding the 5* multiplier to
7023 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7025 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7026 instead of g_object_ref + gtk_object_sink.
7028 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7034 * debian/changelog: Updating.
7036 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7038 * src/hildon-color-chooser-dialog.c:
7039 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7040 straight from Tommi labs.
7042 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7044 * examples/hildon-finger-example.c: Correcting the header file path.
7046 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7047 the changed signal. Fixes a small memory leak.
7049 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7053 * src/hildon-banner.c: Importing several usefull fixes from the
7054 ubuntu-mobile branch.
7056 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7058 * examples/Makefile.am:
7059 * examples/hildon-finger-example.c: Adding a finger-checking code
7062 * src/hildon-font-selection-dialog.c: Do not allocate the color
7063 structure using the g_new. Fixes NB#54061.
7065 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7067 * src/hildon-helper.c: Correcting tabs in file.
7069 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7071 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7072 control the visibility of the children.
7074 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7076 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7082 * debian/changelog: Updating.
7084 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7086 * src/hildon-bread-crumb-trail.c:
7087 (hildon_bread_crumb_trail_size_allocate):
7089 Make the back button always a square.
7091 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7093 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7094 from the .c file as it's a private file.
7096 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7098 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7099 uses slightly bigger height.
7101 * src/hildon-font-selection-dialog.c: Adding some checks before
7102 freeing memory in the font selection dialog.
7104 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7106 * src/hildon-font-selection-dialog.c: Adding a small check when
7109 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7110 buttons sensitivity on page switching.
7112 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7114 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7115 internal details of adding a bread crumb to the trail.
7117 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7123 * debian/changelog: Updating.
7125 * src/hildon-bread-crumb-trail.h:
7126 * src/hildon-bread-crumb.h: Changing the API guard to
7127 HILDON_ENABLE_UNSTABLE_API.
7129 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7137 * src/hildon-helper.h: Updating.
7139 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7147 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7151 * src/hildon-helper.h: Small fix to make the package actually compile.
7153 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7155 * src/hildon-bread-crumb-trail.h:
7156 * src/hildon-bread-crumb.h:
7158 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7159 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7161 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7163 * examples/hildon-bread-crumb-trail-example.c:
7165 * src/hildon-bread-crumb-trail.c:
7166 * src/hildon-bread-crumb-trail.h:
7167 * src/hildon-bread-crumb.c:
7168 * src/hildon-bread-crumb.h:
7169 * src/hildon-marshalers.list:
7170 * src/hildon-bread-crumb-widget.c:
7171 * src/hildon-bread-crumb-widget.h:
7173 Slight change in the widget design. The bread crumb trail API is
7174 unchanged, but HildonBreadCrumb is now an interface. A *private*
7175 implementation, hildon-bread-crumb-widget, is provided and used
7176 internally by the trail for the push_text/push_icon functions.
7178 The generic push API is still available, so anyone can implement
7179 and use its own bread crumb widget.
7181 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7183 * debian/rules: Fixing the shlibs.
7185 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7187 * src/hildon-banner.c: Fixing a problem with timed banners having
7188 their parrent destroyed before they are.
7190 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7192 * src/hildon-bread-crumb.c:
7193 * src/hildon-bread-crumb.h:
7195 Make the get_natural_size function a vfunc.
7197 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7199 * src/hildon-bread-crumb.c:
7200 * src/hildon-bread-crumb-trail.c:
7204 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7211 * debian/changelog: Updating for release.
7213 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7215 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7216 don't leak the pango layout.
7218 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7221 * examples/hildon-bread-crumb-trail-example.c:
7225 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7227 * debian/changelog: Removing the bug-fixed entries that were actually
7228 resolved as WONTFIX.
7230 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7233 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7235 * src/hildon-bread-crumb-trail.c:
7236 * src/hildon-bread-crumb-trail.h:
7237 * src/hildon-bread-crumb.c:
7238 * src/hildon-bread-crumb.h:
7242 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7244 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7245 until it's passed the type check.
7247 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7249 * examples/hildon-bread-crumb-trail-example.c
7253 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7255 * examples/Makefile.am
7256 * examples/hildon-bread-crumb-trail-example.c
7258 * src/hildon-bread-crumb-trail.c
7259 * src/hildon-bread-crumb-trail.h
7260 * src/hildon-bread-crumb.c
7261 * src/hildon-bread-crumb.h
7263 New HildonBreadCrumbTrail widget.
7265 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7267 * src/hildon-range-editor.c (hildon_range_editor_init),
7268 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7269 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7270 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7271 hildon_time_editor_class_init, hildon_time_editor_init),
7272 src/hildon-get-password-dialog.c (invalid_input,
7273 hildon_get_password_set_property, hildon_get_password_get_property,
7274 create_contents, hildon_get_password_dialog_set_max_characters),
7275 src/hildon-set-password-dialog.c (create_contents),
7276 src/hildon-date-editor.c (hildon_date_editor_init),
7277 src/hildon-login-dialog.c (hildon_login_dialog_init),
7278 src/hildon-number-editor.c (hildon_number_editor_init),
7279 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7280 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7281 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7282 configure option and adding the respective checks in the code.
7283 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7284 hildon_calendar_drag_data_received): fixed some build warnings.
7286 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7288 * debian/changelog: A 1.0.0 release notes.