1 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
4 simple GdkPixbufAnim using the new icons for the banner.
5 (hildon_banner_show_animation): Use the above mentioned method to
6 create the animation widget.
8 Fixes: NB#103564 (Make hildon animation banner use individual
9 image files as the animation)
11 2009-03-24 Alejandro G. Castro <alex@igalia.com>
13 * src/hildon-pannable-area.c,
14 (hildon_pannable_leave_notify_event): Check if the child is NULL
15 to avoid sending the leave.
17 2009-03-24 Alejandro G. Castro <alex@igalia.com>
19 * src/hildon-pannable-area.c,
20 (hildon_pannable_area_class_init),
21 (hildon_pannable_leave_notify_event): Added a handler of the
22 leave-notify-signal to consider when no motion notify before
25 Fixes: NB#107494 (Items stay selected when clicking and moving
26 away when inside pannable area)
28 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
33 * configure.ac: Bump version.
34 * debian/changelog: Updates.
36 2009-03-19 Alejandro G. Castro <alex@igalia.com>
38 Patch by Alberto Garcia (agarcia@igalia.com)
40 * src/hildon-date-button.c,
41 (hildon_date_button_class_init),
42 (hildon_date_button_init): Removed the construct property handling
43 and created a default selector in the init method.
44 * src/hildon-picker-button.c,
45 (hildon_picker_button_class_init): Removed the construct flag of the
48 2009-03-18 Alberto Garcia <agarcia@igalia.com>
50 * src/hildon-main.c (hildon_init):
51 Don't allow hildon_init() to be called more than once.
53 Fixes: NB#106607 (hildon_init should issue error message upon
56 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
58 * examples/hildon-pannable-area-touch-list-example.c
59 * examples/hildon-pannagle-area-touch-grid-example.c
60 * examples/hildon-edit-toolbar-example.c
61 * examples/hildon-touch-selector-multi-cells-example.c
62 Removed the call to gtk_rc_parse_string, as it is not required since
65 2009-03-17 Alejandro G. Castro <alex@igalia.com>
67 * src/hildon-pannable-area.c,
68 (hildon_pannable_area_class_init): Modified the default panning
69 threshold of the widget to 6px.
71 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
72 than the threshold value ) within the button is not sending the
75 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
77 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
78 for the treeview in the new column. This way, the touch list will never
81 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
82 be selected manually for the HW keys to work)
84 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
86 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
87 comparison instead of using strcmp(). Fixes a compiler warning as well.
89 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
91 * doc/hildon-docs.sgml: Do not set the library version in the
92 document title, use the releaseinfo tag for that purpose instead.
94 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
96 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
97 Do not jump to the first item if the text in the entry is removed.
99 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
104 * configure.ac: Bump version.
105 * debian/changelog: Updates.
107 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
109 * src/hildon-entry.c (hildon_entry_refresh_contents):
110 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
111 Use "ReversedSecondaryTextColor" for the placeholder text.
113 2009-03-12 Alberto Garcia <agarcia@igalia.com>
115 * src/hildon-text-view.c: Fix compilation warning.
117 2009-03-12 Alberto Garcia <agarcia@igalia.com>
119 * src/hildon-button.c (hildon_button_class_init): Don't make
120 "title" and "value" construction properties, to prevent them from
121 overwriting labels set from derived classes.
123 * src/hildon-picker-button.c
124 (hildon_picker_button_set_selector): Allow setting a NULL selector.
125 (hildon_picker_button_class_init): Make touch-selector a
126 construction property.
128 * src/hildon-date-button.c (hildon_date_button_class_init)
129 (+hildon_date_button_constructed): Add a default date selector if
132 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
134 * src/hildon-touch-selector.c: Small documentation fixes.
136 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
138 Based on a patch by Daniel Borgmann (danielb@openismus.com)
140 * src/hildon-entry.c (hildon_entry_refresh_contents),
141 (hildon_entry_get_text), (hildon_entry_init): Do not use the
142 widget name, set the logical color directly instead and a boolean
143 showing_placeholder instead.
144 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
145 use the widget name here either.
147 Fixes: NB#105678 (HildonTextView should use logical colours
148 instead of setting widget name)
150 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
152 Patch by Daniel Elster (danielk@openismus.com)
154 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
155 Add user_data parameter.
156 (hildon_touch_selector_set_print_func_full): New function akin
157 hildon_touch_selector_set_print_func() but with support for user
158 data and a destroy callback.
159 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
160 to clean up the print function user data.
161 (hildon_touch_selector_class_init): Install dispose function.
162 (HildonTouchSelectorPrivate::print_user_data),
163 (HildonTouchSelectorPrivate::print_destroy_func): New private
165 (hildon_touch_selector_init): Initialize new private members.
166 (hildon_touch_selector_get_current_text): Pass along user data
167 to the print function.
168 (_default_print_func): Add dummy user_data to parameter list.
169 * hildon-date-selector.c (_custom_print_func): ditto,
170 * hildon-time-selector.c (_custom_print_func): ditto,
171 * hildon-touch-selector-entry.c
172 (hildon_touch_selector_entry_print_func): ditto.
174 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
176 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
178 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
180 2009-03-12 Alejandro G. Castro <alex@igalia.com>
182 * src/hildon-pannable-area.c,
183 (hildon_pannable_area_init),
184 (hildon_pannable_area_button_press_cb),
185 (hildon_pannable_area_motion_notify_cb): We have added code to
186 handle the leave and enter events when using the motion events.
188 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
190 2009-03-11 Alberto Garcia <agarcia@igalia.com>
192 * src/hildon-date-button.c (hildon_date_button_get_date)
193 (hildon_date_button_set_date): Make sure that the button has a
196 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
198 2009-03-11 Alejandro G. Castro <alex@igalia.com>
200 * src/hildon-pannable-area.c,
201 (hildon_pannable_area_class_init),
202 (hildon_pannable_area_calculate_velocity): Modify the use of the
203 force and adapt the value.
205 2009-03-10 Alberto Garcia <agarcia@igalia.com>
207 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
208 (hildon_app_menu_class_init): Hide the menu if it receives a
209 delete-event, but don't destroy it
211 Fixes: NB#104485 (Not able to address the call when application
212 menu is opened at background)
214 2009-03-10 Alberto Garcia <agarcia@igalia.com>
216 * src/hildon-app-menu.c
217 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
218 Remove the "external-border" style property, let the menu take its
219 natural size (or the one set by the window manager)
220 (hildon_app_menu_repack_items):
221 Don't reshow the menu, avoid flickers.
223 Partially fixes NB#94957 (Smoothly opened application menu)
225 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
230 * configure.ac: Bump version.
231 * debian/changelog: Updates.
233 2009-03-10 Alejandro G. Castro <alex@igalia.com>
235 * src/hildon-pannable-area.c,
236 (hildon_pannable_area_motion_notify_cb): We control that the
237 direction error margin is used just in case the movement is
238 allowed in the other direction.
240 Fixes: NB#105012 (buttons inside a pannable area not getting
241 release event when dragging/releasing)
243 2009-03-10 Alejandro G. Castro <alex@igalia.com>
245 * src/hildon-pannable-area.c,
246 (hildon_pannable_area_class_init),
247 (hildon_pannable_area_get_property),
248 (hildon_pannable_area_set_property),
249 (hildon_pannable_area_initial_effect),
250 (hildon_pannable_axis_scroll),
251 (hildon_pannable_area_button_release_cb): Reviewed the
252 overshooting effect, now it has its own max
253 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
256 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
261 * configure.ac: Bump version.
262 * debian/changelog: Updates.
264 2009-03-09 Alejandro G. Castro <alex@igalia.com>
266 * src/hildon-pannable-area.c,
267 (hildon_pannable_area_class_init): Changed the max speed, now
268 users can launch the widget very fast. Reduced the default force,
269 that way it is easier to control the launch speed.
271 2009-03-09 Alejandro G. Castro <alex@igalia.com>
273 * src/hildon-pannable-area.c,
274 (hildon_pannable_area_button_release_cb): Removed this check
275 because it causes problems when the device is overloaded.
277 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
279 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
280 add a current_text field to store the text entered in the
281 touch selector entry.
282 (_clean_current_selection): clean up the current text as well.
283 (_save_current_selection), (_restore_current_selection):
284 Save/restore the text in the entry if the selector is a
285 HildonTouchSelectorEntry.
287 Fixes: NB#102541 (value entered in the touch selector entry is not
288 shown when opened for second time)
290 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
292 * doc/hildon-sections.txt:
293 * src/hildon-touch-selector-entry.c
294 (+hildon_touch_selector_entry_get_entry):
295 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
297 Fixes: NB#104815 (I need accessor to the entry inside
298 HildonTouchSelectorEntry)
300 2009-03-06 Alberto Garcia <agarcia@igalia.com>
302 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
303 (hildon_app_menu_class_init):
304 New "filter-vertical-spacing" style property.
306 2009-03-06 Alberto Garcia <agarcia@igalia.com>
308 * src/hildon-find-toolbar.c
309 (hildon_find_toolbar_emit_close)
310 (hildon_find_toolbar_emit_invalid_input)
311 (hildon_find_toolbar_entry_activate):
312 Use g_signal_emit() instead of g_signal_emit_by_name()
314 2009-03-06 Alberto Garcia <agarcia@igalia.com>
316 Patch by Mox Soini (ext-mox.soini@nokia.com)
318 * tests/TEST-CASES.txt
319 * tests/check-hildon-banner.c
320 * tests/check-hildon-note.c
321 * src/hildon-banner.c
322 * src/hildon-code-dialog.c
323 * src/hildon-date-editor.c (real_set_calendar_icon_state)
324 * src/hildon-time-editor.c
325 * examples/hildon-lookup-example.c (main):
326 Replace obsolete icon names with new ones.
328 * src/hildon-find-toolbar-private.h:
329 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
330 (-hildon_find_toolbar_emit_search):
331 Remove find button and change icon of close button.
333 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
335 2009-03-05 Alberto Garcia <agarcia@igalia.com>
337 * src/hildon-time-button.c (hildon_time_button_new_step):
338 Use the "touch-selector" property to set the selector directly
339 when creating the object.
341 2009-03-05 Alejandro G. Castro <alex@igalia.com>
343 Added a new example application that allows tuning the pannable
344 area and replaced defines with properties in order to simplify the
345 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
346 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
347 PROP_DIRECTION_ERROR_MARGIN.
349 * examples/hildon-pannable-area-tuning-example.c: New example
351 * src/hildon-pannable-area.c,
352 (hildon_pannable_area_class_init),
353 (hildon_pannable_area_init),
354 (hildon_pannable_area_get_property),
355 (hildon_pannable_area_set_property),
356 (hildon_pannable_area_launch_fade_timeout),
357 (hildon_pannable_area_adjust_value_changed),
358 (hildon_pannable_axis_scroll),
359 (hildon_pannable_area_motion_notify_cb),
360 (hildon_pannable_area_scroll_cb),
361 (hildon_pannable_area_button_release_cb): We have converted some
362 of the defines that control the widget to properties to simplify
365 2009-03-05 Alberto Garcia <agarcia@igalia.com>
367 * src/hildon-app-menu.c (hildon_app_menu_map)
368 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
369 so it's closed if a new window appears.
371 Fixes: NB#104485 (Not able to address the call when application
372 menu is opened at background)
374 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
376 * src/hildon-color-button.c (hildon_color_button_get_property):Add
377 missing 'break' statement in in 'case' construct to avoid
380 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
382 * src/hildon-touch-selector-entry.c
383 (hildon_touch_selector_entry_get_property),
384 (hildon_touch_selector_entry_set_property): Add missing 'break'
385 statements in in 'case' constructs to avoid incorrect warnings.
387 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
389 * src/hildon-time-editor.c
390 (hildon_time_editor_get_time_separators): Do not crash if
391 the first label is NULL.
393 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
395 * src/hildon-date-selector.c (_month_days): Check for month to be
396 strictly less than 12, since otherwise we may overrun the array.
398 2009-03-04 Alberto Garcia <agarcia@igalia.com>
400 * src/hildon-date-button.c (+hildon_date_button_new_full)
401 (hildon_date_button_new, hildon_date_button_new_with_year_range)
402 (hildon_date_button_init): Set the date selector using a
403 construction property, to make it happen after HildonButton's
404 "value" property is set.
406 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
407 current date by default)
409 2009-03-04 Alberto Garcia <agarcia@igalia.com>
411 * doc/hildon-sections.txt
412 * src/hildon-program.c
413 * src/hildon-stackable-window.c
414 * src/hildon-window.c:
415 Documentation updates
417 2009-03-04 Alberto Garcia <agarcia@igalia.com>
419 * src/hildon-window-stack.c (hildon_window_stack_get_default)
420 (hildon_window_stack_new, +hildon_window_stack_set_property)
421 (+hildon_window_stack_get_property)
422 (hildon_window_stack_class_init)
423 (+hildon_window_stack_set_window_group)
424 (+hildon_window_stack_get_window_group):
425 Make the window group a construction property.
427 2009-03-04 Alberto Garcia <agarcia@igalia.com>
429 * doc/hildon-sections.txt
430 * src/hildon-stackable-window-private.h
431 * src/hildon-stackable-window.h
432 * src/hildon-stackable-window.c
433 (-hildon_stackable_window_set_app_menu)
434 (-hildon_stackable_window_get_app_menu)
435 (-hildon_stackable_window_toggle_menu)
436 (-hildon_stackable_window_finalize)
437 (hildon_stackable_window_class_init)
438 (hildon_stackable_window_init)
439 * src/hildon-window-private.h
440 * src/hildon-window.h
441 * src/hildon-window.c (hildon_window_init)
442 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
443 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
444 (hildon_window_get_main_menu, hildon_window_set_main_menu)
445 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
446 Moved all HildonAppMenu code to HildonWindow. The menu does not
447 require a HildonStackableWindow anymore.
449 * src/hildon-app-menu.c
450 * src/hildon-program.c
451 * examples/hildon-app-menu-example.c (main):
452 Update examples and documentation to reflect HildonAppMenu
455 2009-03-04 Alberto Garcia <agarcia@igalia.com>
457 * src/hildon-remote-texture.c
458 * src/hildon-animation-actor.c:
459 Don't include unused private headers.
461 2009-03-04 Alberto Garcia <agarcia@igalia.com>
463 * src/hildon-program-private.h
464 * src/hildon-program.c
465 (hildon_program_set_common_menu)
466 (hildon_program_get_common_menu)
467 (hildon_program_set_common_app_menu)
468 (hildon_program_get_common_app_menu):
469 Change common menu pointers from GtkWidget* to GtkMenu* and
470 HildonAppMenu* to avoid unnecessary casts.
472 2009-03-03 Alberto Garcia <agarcia@igalia.com>
474 * src/hildon-window.c (hildon_window_set_main_menu):
475 Removed incorrect 'Since:' tag
477 2009-03-03 Alejandro G. Castro <alex@igalia.com>
479 * src/hildon-pannable-area.c,
480 (hildon_pannable_area_calculate_velocity): We use now the
481 RATIO_TOLERANCE here to check the distance, fixed typo in the
483 (hildon_pannable_area_motion_notify_cb): We have to set the type
484 and time even if we are not sending the motion.
486 2009-03-02 Alberto Garcia <agarcia@igalia.com>
488 * doc/hildon-sections.txt
489 * src/hildon-app-menu.h
490 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
491 (+hildon_app_menu_get_filters): New methods to get the contents of
494 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
497 2009-03-02 Alberto Garcia <agarcia@igalia.com>
499 * src/hildon-app-menu.c (hildon_app_menu_popup):
502 2009-03-02 Alberto Garcia <agarcia@igalia.com>
504 * src/hildon-window.h
505 * src/hildon-window.c (+hildon_window_get_main_menu)
506 (hildon_window_get_menu): Created hildon_window_get_main_menu()
507 and deprecated hildon_window_get_menu().
509 * src/hildon-stackable-window.h
510 * src/hildon-stackable-window.c
511 (+hildon_stackable_window_set_app_menu)
512 (+hildon_stackable_window_get_app_menu)
513 (hildon_stackable_window_set_main_menu): Created
514 hildon_stackable_window_{get,set}_app_menu() and deprecated
515 hildon_stackable_window_set_main_menu().
517 * doc/hildon-sections.txt
518 * examples/hildon-app-menu-example.c (main)
519 * src/hildon-app-menu.c
520 * src/hildon-program.c:
521 Updated examples and documentation.
523 Fixes: NB#103758 (No way to obtain a menu from a
524 HildonStackableWindow)
526 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
531 * configure.ac: Bump version.
532 * debian/changelog: Updates.
534 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
536 * examples/hildon-remote-texture-example.c: Include
537 hildon-remote-texture.h explicitely.
538 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
539 applications not defining _XOPEN_SOURCE which don't require this header.
541 2009-02-27 Alberto Garcia <agarcia@igalia.com>
543 * doc/hildon-sections.txt
544 * src/hildon-app-menu.h
545 * src/hildon-app-menu.c (+hildon_app_menu_popup):
546 New function to pop up a HildonAppMenu
548 * src/hildon-stackable-window.c
549 (hildon_stackable_window_toggle_menu):
550 Use hildon_app_menu_popup() to show the menu.
552 2009-02-27 Alberto Garcia <agarcia@igalia.com>
554 * src/hildon-app-menu.c (hildon_app_menu_show)
555 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
556 menu if there's another window between it and its parent window.
558 Fixes: NB#100468 (Application menu window is launched even when a
559 new secondary-window/dialog is pending to be shown/realized)
561 2009-02-27 Alberto Garcia <agarcia@igalia.com>
563 * src/hildon-window-stack.c (hildon_window_stack_push)
564 (hildon_window_stack_pop_and_push):
565 Don't forget to push/pop the first window.
566 Reverse the window list before calling _push_list()
568 2009-02-27 Alberto Garcia <agarcia@igalia.com>
570 * src/hildon-picker-button.h
571 * src/hildon-picker-button.c (hildon_picker_button_class_init):
572 Remove "value_changed" slot to avoid ABI breakage
574 2009-02-26 Alejandro G. Castro <alex@igalia.com>
576 * src/hildon-pannable-area.c,
577 (hildon_pannable_area_realize),
578 (hildon_pannable_area_unrealize),
579 (hildon_pannable_draw_vscroll),
580 (hildon_pannable_draw_hscroll): Changed the method to handle the
581 GC used to draw the transparent scrollbar, this way we avoid
582 creating the GC all the time when drawing the scrollbars.
584 2009-02-26 Alejandro G. Castro <alex@igalia.com>
586 * src/hildon-pannable-area.c,
587 (hildon_pannable_area_init),
588 (hildon_pannable_area_remove): Removed some unnecessary casts.
589 (hildon_pannable_area_dispose): Disconnected some signals before
590 releasing the adjustments.
592 2009-02-26 Alberto Garcia <agarcia@igalia.com>
594 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
595 Make sure that all widgets contained in the toolbar are shown.
597 2009-02-25 Alberto Garcia <agarcia@igalia.com>
599 * doc/hildon-sections.txt
600 * src/hildon-picker-button.h
601 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
602 (_selection_changed, hildon_picker_button_on_dialog_response)
603 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
604 New hildon_picker_button_value_changed() method.
607 * src/hildon-picker-button-private.h
608 * src/hildon-picker-button.c (hildon_picker_button_init)
609 (+hildon_picker_button_disable_value_changed): Add protected
610 function for disabling the "value-changed" signal.
612 * src/hildon-date-button.c (hildon_date_button_set_date):
613 Don't emit "value-changed" for each one of the three columns.
615 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
616 before actual change of values)
618 2009-02-24 Alejandro G. Castro <alex@igalia.com>
620 * src/hildon-pannable-area.c,
621 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
622 for the treeview overshooting.
624 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
626 * src/hildon-banner.c (+hildon_banner_bind_style):
627 Renamed from hildon_banner_bind_label_style(), now naming the
628 banner itself as well.
629 (hildon_banner_show_information),
630 (hildon_banner_show_information_with_markup),
631 (hildon_banner_show_animation), (hildon_banner_show_progress):
632 Name the widgets and labels, based on their type.
634 See NB#98597 (Hildon Note and Hildon Banner should use themeable
637 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
639 * src/hildon-note.c (hildon_note_set_property): call
640 hildon_note_rename() on HildonNote:note-type set.
641 (hildon_note_rename): Name the note and its label, based on the
642 HildonNote:note-type property.
644 See NB#98597 (Hildon Note and Hildon Banner should use themeable
647 2009-02-24 Alejandro G. Castro <alex@igalia.com>
649 * src/hildon-pannable-area.c,
650 (hildon_pannable_area_class_init),
651 (hildon_pannable_area_motion_notify_cb): Reviewed the default
652 panning parameters, increased SPS and deceleration factor. Added
653 also a margin to control fake directions.
655 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
657 Patch by Sven Herzberg (sven@imendio.com)
659 * configure.ac: Add missing AM_PROG_CC_C_0
660 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
662 See NB#101420 (Update unit tests and fix make check)
664 2009-02-23 Alejandro G. Castro <alex@igalia.com>
666 This patch was applied before but reverted because it caused
667 problems, we have changed the main condition and tested the
668 regressions we detected before and they work ok. We have done a
669 complete review of the topmost algorithm in order to get a more
672 * src/hildon-pannable-area.c,
673 (hildon_pannable_area_get_topmost): Added a new parameter to
674 filter the the windows that do not include those events.
675 (hildon_pannable_area_button_press_cb),
676 (hildon_pannable_area_button_release_cb),
677 (hildon_pannable_get_child_widget_at): Reviewed the call the the
678 topmost function, we have added the new parameter.
680 Fixes: NB#97458 (Pannable area prevents propagation of button
683 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
685 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
686 if all columns in the selector have an item selected.
687 (_on_dialog_response): Stop "response" signal emission if there is
688 any selector column without selected items.
690 Fixes: NB#101889 (Picker dialog should not close when nothing is
691 selected in multiple selection list)
693 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
695 * src/hildon-font-selection-dialog.c
696 (hildon_font_selection_dialog_class_init),
697 (hildon_font_selection_dialog_init): Remove the preview
698 button and dialog, since previewing with default theming is likely
699 to be overcomplicated. The :preview property has now no effect.
700 Update documentation blurbs to inform about this.
702 Fixes: NB#92297 (Preview content is not clearly visible for
705 2009-02-20 Alejandro G. Castro <alex@igalia.com>
707 Reviewed the geometry that handles the children size and
708 scrollbar, now it tries a size and reviews the results depending
709 on the scrollbars visibility.
711 * src/hildon-pannable-area.c,
712 (hildon_pannable_area_realize): Fixed a typo.
713 (hildon_pannable_area_child_allocate_calculate): Added this
714 function to calculate the child allocation.
715 (hildon_pannable_area_size_allocate): Reviewed the allocation
717 (hildon_pannable_area_check_scrollbars),
718 (hildon_pannable_area_refresh): Refactored refresh function, this
719 way we can call the code handling the scrollbars without causing a
720 size_request, it is interesting in the allocate.
721 (hildon_pannable_area_init): Replace the callbacks of the
722 value_changed and changed signals to propertly deal with the
724 (hildon_pannable_area_grab_notify),
725 (hildon_pannable_area_initial_effect),
726 (hildon_pannable_area_launch_fade_timeout),
727 (hildon_pannable_area_adjust_changed),
728 (hildon_pannable_area_adjust_value_changed),
729 (hildon_pannable_area_redraw),
730 (hildon_pannable_area_button_press_cb),
731 (hildon_pannable_area_button_release_cb),
732 (hildon_pannable_area_scroll_cb),
733 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
734 code and use the new functions adjust_changed and
735 adjust_value_changed.
737 Fixes: NB#101603 (Focus is not even for the text entry boxes in
738 Contact editor dialog)
740 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
745 * configure.ac: Bump version.
746 * debian/changelog: Updates.
748 2009-02-20 Alejandro G. Castro <alex@igalia.com>
750 * src/hildon-pannable-area.c,
751 (hildon_pannable_area_get_topmost),
752 (hildon_pannable_area_button_press_cb),
753 (hildon_pannable_area_button_release_cb),
754 (hildon_pannable_get_child_widget_at): Reverted the patch for the
755 topmost function adding the event mask. We have to try a
756 differente approach because it is still causing problems (NB#9745,
759 2009-02-19 Alberto Garcia <agarcia@igalia.com>
761 * src/hildon-banner.c:
762 Update the maximum width of timed banners.
763 (force_to_wrap_truncated): Enforce the maximum text width if the
766 Fixes: NB#102413 (The text margins (wrapping) in information
767 banner should be HILDON_MARGIN_TRIPLE)
769 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
771 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
773 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
774 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
775 bound when calculating the scroll indicator position.
777 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
778 treat ->lower correctly)
780 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-caption.c (hildon_caption_class_init): Remove the
783 expose event handling, since it is not necessary to draw the focus
786 Fixes: NB#102467 (Do not show highlight on the text in
789 2009-02-18 Alberto Garcia <agarcia@igalia.com>
791 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
792 full height of the toolbar for the button and the label.
794 2009-02-18 Alberto Garcia <agarcia@igalia.com>
796 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
797 padding before the label and after the button.
799 2009-02-18 Alberto Garcia <agarcia@igalia.com>
801 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
803 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
804 Add a GtkVSeparator between the button and the back arrow.
805 Let the button have automatic size.
806 Set a name to the widget for theming handling.
808 Fixes: NB#101793 (Make edit toolbar the same height as window
809 title bar (use title area theming))
811 2009-02-18 Alberto Garcia <agarcia@igalia.com>
813 * src/hildon-helper.c (attach_new_color_element): Fix memory
816 Fixes: NB#102262 (memory leak in hildon_button_set_style())
818 2009-02-18 Alberto Garcia <agarcia@igalia.com>
820 * examples/hildon-button-example.c (common_buttons_window): Don't
823 2009-02-18 Alberto Garcia <agarcia@igalia.com>
825 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
826 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
828 2009-02-18 Alberto Garcia <agarcia@igalia.com>
830 * src/hildon-gtk.c: Check that the window is realized.
832 Fixes: NB#102225 (Crash setting the progress indicator to a non
835 2009-02-17 Alberto Garcia <agarcia@igalia.com>
837 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
838 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
839 instead of modifying the one in the widget style.
841 Fixes: NB#101043 (Second row of all the command button are
842 displayed in transparent mode.)
844 2009-02-17 Alberto Garcia <agarcia@igalia.com>
846 * src/hildon-date-button.c
847 * src/hildon-time-button.c: Add gettext macros
849 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-date-button.c (hildon_date_button_new):
852 * src/hildon-time-button.c (hildon_time_button_new_step):
853 Use new logical strings to set the button default title.
855 Fixes: NB#99915 (Date and Time options are not localised in Date
858 2009-02-16 Alejandro G. Castro <alex@igalia.com>
860 * src/hildon-pannable-area.c
861 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
862 the PANNING_THRESHOLD.
864 2009-02-16 Alejandro G. Castro <alex@igalia.com>
866 * src/hildon-pannable-area.c,
867 (hildon_pannable_area_class_init): Increased the maximum speed.
868 (hildon_pannable_area_get_property),
869 (hildon_pannable_area_set_property),
870 (hildon_pannable_area_timeout): Added a new low friction mode, it
871 allows the user avoid friction when launching the widget fast
872 enough. It is interesting to traverse long lists.
874 2009-02-16 Alberto Garcia <agarcia@igalia.com>
876 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
877 (+hildon_stackable_window_delete_event): Ignore delete events if
878 the window is not the topmost one.
880 Fixes: NB#101698 (Back button long press and delete-event handling)
882 2009-02-16 Alejandro G. Castro <alex@igalia.com>
884 * src/hildon-pannable-area.c,
885 (hildon_pannable_area_motion_notify_cb): Removed the use of the
886 gtk-dnd-drag-threshold, it was too big. We have defined our own
887 dnd define and set a smaller value: PANNIG_THRESHOLD.
889 2009-02-16 Alberto Garcia <agarcia@igalia.com>
891 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
892 user-defined icons, use always the default one.
894 Fixes: NB#101916 (Do not allow custom icons on animation banner)
896 2009-02-13 Alejandro G. Castro <alex@igalia.com>
898 This patch was applied before but reverted because it caused
899 problems, we have changed the main condition and tested the
900 regressions we detected before and they work ok.
902 * src/hildon-pannable-area.c,
903 (hildon_pannable_area_get_topmost): Added a new parameter to
904 filter the the windows that do not include those events. Added
905 also a condition when finding the window to filter windows that do
906 not ask for those events.
907 (hildon_pannable_area_button_press_cb),
908 (hildon_pannable_area_button_release_cb),
909 (hildon_pannable_get_child_widget_at): Reviewed the call the the
910 topmost function, we have added the new parameter.
912 Fixes: NB#97458 (Pannable area prevents propagation of button
915 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
917 * tests/check-hildon-color-button.c (START_TEST): do not leak
920 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
922 * src/hildon-font-selection-dialog.c
923 (hildon_font_selection_dialog_get_preview_text): Return NULL
924 instead of FALSE on the g_return_val_if_fail().
926 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
928 * src/hildon-time-selector.c (hildon_time_selector_set_time):
929 * src/hildon-date-selector.c
930 (hildon_date_selector_select_current_date):
931 Do not compare unsigned integers to be greater than or equal 0,
932 because it's always TRUE.
934 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
936 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
937 (hildon_date_selector_constructor): Do not select the current
938 date until we are handle the "changed" signal, to avoid having bogus
939 elements in the days model.
941 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
944 for num_days, since _month_days() can return a negative value.
946 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
948 * src/hildon-caption.c (hildon_caption_size_allocate):
949 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
950 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
952 Initialize allocation variables to 0, to avoid eventually using
953 unitialized variables.
955 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
957 * src/hildon-bread-crumb-trail.c
958 (hildon_bread_crumb_trail_size_allocate):
959 * src/hildon-calendar.c (hildon_calendar_set_background):
960 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
961 * src/hildon-range-editor.c (hildon_range_editor_get_range):
962 * src/hildon-seekbar.c (hildon_seekbar_init):
963 * src/hildon-time-editor.c (hildon_time_editor_get_time):
964 * src/hildon-time-selector.c (hildon_time_selector_finalize):
965 * src/hildon-touch-selector-entry.c
966 (hildon_touch_selector_get_text_from_model):
967 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
968 * src/hildon-window.c (hildon_window_finalize):
970 Remove many unused variables.
972 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
974 * src/hildon-seekbar.c: (hildon_seekbar_init),
975 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
977 Remove unnecessary g_assert() calls.
979 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
981 * src/hildon-caption.c: (hildon_caption_expose),
982 (hildon_caption_set_property), (hildon_caption_init),
983 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
984 (hildon_caption_size_request), (hildon_caption_size_allocate),
985 (hildon_caption_forall), (hildon_caption_set_separator),
986 (hildon_caption_activate), (hildon_caption_set_child_expand),
987 (hildon_caption_set_label_text),
988 (hildon_caption_get_label_alignment):
990 Remove unnecessary g_assert() calls.
992 2009-02-12 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-banner.c
995 (hildon_banner_map, hildon_banner_init): Make banner temporary
996 before mapping it to avoid closing other temporary windows, but
997 make it non-temporary afterwards to avoid being closed by other
998 non-temporary windows.
999 (-hildon_banner_client_event, hildon_banner_init):
1000 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1002 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1005 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1007 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1010 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1012 * src/hildon-remote-texture.c
1013 * src/hildon-remote-texture.h
1014 * src/hildon-remote-texture-private.h
1015 * examples/hildon-remote-texture-example.c:
1016 Updates/fixes to remote-texture and its example.
1018 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1020 Patch by Mox Soini (ext-mox.soini@nokia.com)
1022 * src/hildon-code-dialog.c: Update logical id.
1023 * src/hildon-set-password-dialog.c: Update logical id.
1025 Fixes: NB#100646 (Logical strings is shown for ok in set
1026 password,Password needed dialogs)
1028 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1031 * src/hildon-remote-texture.c
1032 * src/hildon-remote-texture.h
1033 * src/hildon-remote-texture-private.h
1035 Added remote texture widget (for Clutter shared memory textures)
1037 * examples/hildon-remote-texture-example.c
1038 * examples/Makefile.am
1039 Added example file for remote texture usage
1041 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1043 * configure.ac: post release version bump.
1044 * debian/changelog: version bump.
1046 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1051 * configure.ac: Bump version.
1052 * debian/changelog: Updates.
1054 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1056 * src/hildon-date-selector.c (hildon_date_selector_init)
1057 (hildon_date_selector_constructor): Don't connect to the "changed"
1058 signal until the selector is completely constructed.
1060 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1062 * src/hildon-touch-selector.c: (_create_new_column),
1063 (hildon_touch_selector_append_column),
1064 (hildon_touch_selector_set_column_selection_mode),
1065 (hildon_touch_selector_set_active),
1066 (hildon_touch_selector_select_iter):
1067 Emit the HildonTouchSelector::changed signal every time selection
1068 is changed in any of the methods above. This behavior was already
1069 documented but not fully functional.
1071 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1072 selection is programmatically changed)
1074 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1076 * doc/hildon-sections.txt: Remove obsolete icon
1077 sizes from here as well.
1079 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1081 * examples/hildon-stackable-window-example.c (add_window): Remove
1084 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-app-menu.c
1087 (hildon_app_menu_show): Check whether the parent window of a menu
1088 is topmost before popping it up.
1090 Fixes: NB#100468 (Application menu window is launched even when a
1091 new secondary-window/dialog is pending to be shown/realized.)
1093 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1095 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1098 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1100 Patch by Mox Soini (ext-mox.soini@nokia.com)
1102 * src/hildon-banner.c: (hildon_banner_show_animation):
1103 use stylus size instead of obsolete note size.
1104 * src/hildon-defines.h: Update icon sizes.
1106 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1108 * src/hildon-touch-selector-entry.c:
1109 (hildon_touch_selector_entry_init): Disable unsupported
1111 (hildon_touch_selector_entry_get_text_column): Emit a warning
1112 if an unsupported input modes is used and explicitile state
1113 these modes in the documentation.
1115 Fixes: NB#99802 (Hildon touch selector entry not working properly
1116 for some of the input modes)
1118 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1120 * src/hildon-pannable-area.c,
1121 (hildon_pannable_area_init): Added the changed signal handlers of
1124 Fixes: NB#100320 (HildonPannableArea does not listen to
1125 GtkAdjustment "change" signals)
1127 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1129 * doc/hildon-sections.txt
1130 * src/hildon-window-private.h
1131 * src/hildon-window.h
1132 * src/hildon-window.c (hildon_window_init)
1133 (hildon_window_realize, hildon_window_unrealize)
1134 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1135 (hildon_window_size_request, hildon_window_size_allocate)
1136 (hildon_window_forall, hildon_window_show_all)
1137 (hildon_window_destroy, +paint_edit_toolbar)
1138 (+hildon_window_set_edit_toolbar):
1139 New hildon_window_set_edit_toolbar() method, to add a
1140 HildonEditToolbar to a window without having to pack it manually.
1142 Reorganize hildon_window_size_allocate()
1144 * src/hildon-edit-toolbar.c: Update documentation.
1146 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1147 example to use the new API.
1149 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1151 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1153 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1154 Remove from stack before calling parent's hide.
1156 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1159 window is removed from the middle of the stack, update the
1160 transiency of the previous one.
1162 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1165 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1167 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1168 block/unblock the signal handler if it's not actually being used.
1169 Fixes some critical warnings.
1171 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1173 Based on a patch by Iván Gómez (igomez@igalia.com)
1175 * src/hildon-banner.c
1179 * src/hildon-pannable-area.c
1180 * src/hildon-picker-dialog.c
1181 * src/hildon-wizard-dialog.h
1182 * src/hildon-wizard-dialog.c: Documentation updates.
1184 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1185 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1187 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1189 * configure.ac: post release version bump.
1190 * debian/changelog: version bump.
1192 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1197 * configure.ac: Bump version.
1198 * debian/changelog: Updates.
1200 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1202 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1203 a stock icon nor change the relief of the back arrow.
1205 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1206 graphics from theme)
1208 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1210 * src/hildon-button.c (hildon_button_set_alignment): Use
1211 priv->alignment if the button has no child yet.
1213 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1215 * src/hildon-button.c: (hildon_button_init): Set the
1216 button style during initialization to give it the proper
1219 Fixes: NB#99713 (HildonButton value label color is wrong)
1221 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1223 * src/hildon-touch-selector.c: Document
1224 hildon_touch_selector_center_on_selected()
1226 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1228 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1229 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1230 all menu items, but not the menu itself.
1231 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1232 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1233 items after adding them to the menu so keyboard accelerators work.
1234 (hildon_app_menu_show): Don't show the menu if it contains items
1235 but none of them are visible.
1237 * examples/hildon-app-menu-example.c (create_menu): Use
1238 gtk_widget_show_all() to show all menu items.
1240 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1242 * src/hildon-picker-dialog.c:
1243 (-_update_title_on_selector_changed_cb),
1244 (-_dialog_update_title): Removed.
1245 (_select_on_selector_changed_cb), (_on_dialog_response),
1246 (on_selector_columns_changed): Do not update the dialog title.
1247 (setup_interaction_mode): Do not connect to
1248 HildonTouchSelector::changed signal if there's a "done" button, as
1249 the dialog title doesn't need to be updated.
1251 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1254 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1256 Patch by Kristian Rietveld (kris@imendio.com)
1258 * src/hildon-touch-selector.c: (_create_new_column): Use new
1259 GtkTreeView::hildon-row-tapped signal to react to user interactions
1260 instead of ::changed.
1262 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1263 with some dynamic tree model)
1265 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1267 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1268 (+screen_size_changed, +label_size_request)
1269 (hildon_note_class_init): Make the Hildon information note have a
1270 minimum height, and make its text hvae a maximum width.
1272 Fixes: NB#98614 (Hildon information note (background) should have
1273 minimum height and maximum text width)
1275 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1277 * src/hildon-banner.h
1278 * src/hildon-banner.c (hildon_banner_show_information)
1279 (hildon_banner_show_informationf)
1280 (hildon_banner_show_information_with_markup): Update documentation
1281 to reflect that the icon_name parameter is not used anymore.
1282 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1283 Remove all code from these functions and mark them as deprecated.
1284 (hildon_banner_show_progress): Mark as deprecated.
1286 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1288 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1290 * src/hildon-pannable-area.c,
1291 (hildon_pannable_area_class_init),
1292 (tranparency_color),
1293 (hildon_pannable_draw_vscroll),
1294 (hildon_pannable_draw_hscroll),
1295 (hildon_pannable_area_expose_event): Added a new way to render the
1296 scrollbars of the pannable area avoiding using cairo at all. This
1297 way we improve the performance of the pannable area rendering. The
1298 cairo rendering procedure is still in the code, we can control
1299 which one to use changing the value of the define
1300 USE_CAIRO_SCROLLBARS.
1302 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1304 * configure.ac: post release version bump.
1305 * debian/changelog: version bump.
1307 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1312 * configure.ac: Bump version.
1313 * debian/changelog: Updates.
1315 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1317 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1318 banners instead of destroying them when they receive a button
1321 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1323 Reverted commit 34028, it was causing regressions, probably the
1324 topmost condition is not correct, we have to check it in more
1325 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1326 propagation of button press events)
1328 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1331 that the selection is not empty before attempting to retrieve the
1332 current ampm selection.
1334 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-picker-button.c:
1337 (hildon_picker_button_on_dialog_response): Directly update the
1338 button contents when required instead of calling _selection_changed.
1340 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1342 * src/hildon-program.c (hildon_program_update_top_most): Update
1343 'is-topmost' property also when wm_hints is not set.
1345 Fixes: NB#98383 (is-topmost signal is not emitted when task
1346 switcher is clicked.)
1348 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1350 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1354 * src/hildon-animation-actor.c,
1355 * src/hildon-animation-actor.h: Added the animation actor class,
1356 this widget represents an animation actor for WM-assisted
1357 animation effects in the Hildon framework.
1359 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-window-stack-private.h
1362 * src/hildon-window-stack.c
1363 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1364 Avoid calling gtk_widget_show() again indirectly from
1365 hildon_stackable_window_show()
1367 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1369 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1372 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1374 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1375 (hildon_time_selector_init): Move the construction of the hours and
1376 ampm columns to the constructor to preserve the order the columns
1379 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-picker-dialog.c:
1382 (hildon_picker_dialog_class_init): Connect a realize method.
1383 (+hildon_picker_dialog_realize): Setup the interaction mode here
1385 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1386 yet, do it during the realize instead.
1387 (_on_dialog_response):
1388 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1389 if the widget is not realized, to avoid the dialog response before it
1392 Avoid premature responses in the HildonPickerDialog that can cause it
1393 to be hidden before it's even shown.
1395 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1397 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1398 (on_selector_columns_changed), (requires_done_button),
1399 (+prepare_action_area), (setup_interaction_mode),
1400 (_hildon_picker_dialog_set_selector):
1402 Split the interaction mode setup into preparation of the
1403 action area (prepare_action_area()) and the connection of
1404 the signals in setup_interaction_mode() and update the code to
1407 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1409 * src/hildon-pannable-area.c,
1410 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1411 per second to 15, we will check if this is ok regarding
1414 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1416 * src/hildon-pannable-area.c,
1417 (hildon_pannable_axis_scroll): Avoid resize if we already have
1418 reached overshoot_max.
1420 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1422 * src/hildon-pannable-area.c,
1423 (hildon_pannable_area_init),
1424 (hildon_pannable_area_realize),
1425 (hildon_pannable_area_size_allocate),
1426 (hildon_pannable_area_map),
1427 (hildon_pannable_area_unmap),
1428 (hildon_pannable_draw_vscroll),
1429 (hildon_pannable_draw_hscroll),
1430 (hildon_pannable_area_expose_event),
1431 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1432 pannable are to avoid the expose events go to the window and
1433 redraw the window. We save this way that part of the stack and the
1434 paint_boxes. We had to change the positions of the elements when
1437 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1439 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1440 * src/hildon-color-chooser-dialog.c:
1441 (hildon_color_chooser_dialog_init):
1442 * src/hildon-font-selection-dialog.c:
1443 (hildon_font_selection_dialog_init),
1444 (hildon_font_selection_dialog_show_preview):
1445 * src/hildon-get-password-dialog.c:
1446 * src/hildon-login-dialog.c:
1447 * src/hildon-set-password-dialog.c:
1448 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1449 * src/hildon-time-picker.c: (hildon_time_picker_init):
1451 Remove obsolete logical string IDs and update to the appropriate ones.
1453 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1455 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1457 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1458 that happens if the window hasn't been realized yet.
1460 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1461 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1463 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1466 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1469 Fixes: NB#98537 (Device hangs in account settings dialog)
1471 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1473 * configure.ac: post release version bump.
1474 * debian/changelog: version bump
1476 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1481 * configure.ac: Bump version.
1482 * debian/changelog: Updates.
1484 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1486 Added a new function to the HildonTimeButton widget that allows to
1487 change the step of the minutes in the selector associated with the
1488 button: hildon_time_button_new_step
1490 * src/hildon-time-button.c,
1491 (hildon_time_button_init),
1492 (hildon_time_button_new),
1493 (hildon_time_button_new_step):
1494 * src/hildon-time-button.h: Added the new function and refactored
1496 * examples/hildon-time-button-example.c,
1497 (main): We have replaced the function without parameters with the
1498 function with the steps set to 5
1500 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1502 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1504 * src/hildon-time-selector.c,
1505 (hildon_time_selector_class_init),
1506 (hildon_time_selector_constructor),
1507 (hildon_time_selector_get_property),
1508 (hildon_time_selector_set_property),
1509 (_create_minutes_model),
1510 (hildon_time_selector_new_step),
1511 (hildon_time_selector_set_time),
1512 * src/hildon-time-selector.h: Added a new property to the
1513 HildonTimeSelector (minutes-step), we use that property to control
1514 the steps between the minutes in the list of the selector. We have
1515 added a new function to the API to create a widget changing the
1516 step: hildon_time_selector_new_step.
1518 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1520 * src/hildon-time-selector.c,
1521 (hildon_time_selector_class_init),
1522 (hildon_time_selector_constructor),
1523 (hildon_time_selector_init): Overrided the construct function when
1524 creating the time selector object. We have moved the minutes model
1525 handling code from the init to the new construction function:
1526 hildon_time_selector_constructor.
1528 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1530 * examples/hildon-date-button-example.c: (main): Use the new
1531 hildon_date_button_new_with_year_range() method in the example.
1532 * src/hildon-date-button.c:
1533 (+hildon_date_button_new_with_year_range): New public method
1534 to conveniently create a HildonDateButton with a custom year range
1535 in its HildonDateSelector.
1536 * src/hildon-date-button.h: Add the new public method definition.
1538 Fixes: NB#97908 (Not possible to change the year range in
1539 HildonDateSelector/HildonDateButton)
1541 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1543 * src/hildon-date-selector.c:
1544 (+hildon_date_selector_set_property),
1545 (+hildon_date_selector_get_property),
1546 (hildon_date_selector_class_init): Install new properties "min-year"
1547 and "max-year" to define boundaries for the year column.
1548 (_create_year_model): Use the boundary properties to populate the model.
1549 (+hildon_date_selector_new_with_year_range): New public method to
1550 create a HildonDateSelector with a user defined year range.
1551 (hildon_date_selector_select_current_date): Use the new boundaries to
1552 calculate the iterator of current year.
1553 * src/hildon-date-selector.h: Add the new public method definition.
1555 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1558 Install a constructor method.
1559 (+hildon_date_selector_construct_ui): construct the widget.
1560 (+hildon_date_selector_constructor): new constructor.
1561 (+hildon_date_selector_init): move out widget construction code to
1562 the new constructor.
1564 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1566 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1567 that there's actually a month or year selected before obtaining them.
1568 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1569 of the HildonTouchSelector::changed signal, as it was emitted on every
1570 single item selection.
1572 Fix some warnings and possible crashers due to the selection restoring.
1574 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1576 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1577 the signal handlers only after creating the dialog instead of on every
1580 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-button.c (hildon_button_init)
1583 * src/hildon-check-button.c (hildon_check_button_init)
1584 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1585 focus when clicked by default.
1587 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1589 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1592 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1594 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1595 Alejandro G. Castro (alex@igalia.com)
1597 * src/hildon-picker-dialog.c:
1598 (hildon_picker_dialog_class_init): install new "center-on-show"
1600 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1601 (hildon_picker_dialog_set_property): add setter code for the new
1603 (hildon_picker_dialog_get_property): add getter code for the new
1605 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1606 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1609 Fixes: NB#92849 (Selected item is not always visible when
1610 HildonTouchSelector is shown)
1612 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1614 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1615 Alejandro G. Castro (alex@igalia.com)
1617 * src/hildon-touch-selector.c:
1618 (_create_new_column): Do not connect to the "realize" signal of the
1620 (hildon_touch_selector_append_column): center on the selected items
1621 when a new column is appended.
1622 (hildon_touch_selector_select_iter): Factor out the code to select a
1623 column to hildon_touch_selector_scroll_to().
1624 (+search_nearest_element): Method to retrieve the nearest selected
1625 element to the visible area of the pannable area in a column.
1626 (+on_realize_cb): scroll to the initially selected item.
1627 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1628 the pannable area is realized, otherwise delay this until it is.
1629 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1630 selected items of a given column.
1631 (+hildon_touch_selector_center_on_selected): Public method to center
1632 all columns on the nearest selected item.
1633 * src/hildon-touch-selector.h: Add definition for
1634 hildon_touch_selector_center_on_selected().
1636 Implement public API to ensure visibility of all selected items in
1637 a HildonTouchSelector.
1639 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1641 Fixed a problem in the fading when calling the scroll_to API, and
1642 improve scrollbar fading handling.
1644 * src/hildon-pannable-area.c,
1645 (hildon_pannable_area_grab_notify): avoid the timeout when the
1647 (hildon_pannable_area_button_press_cb),
1648 (hildon_pannable_area_motion_notify_cb): Code style changes.
1649 (hildon_pannable_area_button_release_cb): Review the conditions
1650 when releasing the mouse button to avoid unrequired fading
1652 (hildon_pannable_area_scroll_to): Do not calculate and set the
1653 velocity if the scroll is not required.
1655 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1658 Don't check whether the new selector is NULL: it cannot be.
1659 Hold a reference to the selector while doing the replacement.
1661 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1663 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1664 unnecessary size_request in a removed widget.
1666 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1668 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1669 an unnecessary reference tracking that was leaking.
1671 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1673 Added delayed motion notify event handling, this way we can
1674 discard redrawing if more than 25 events arrive per second.
1676 * src/hildon-pannable-area.c,
1677 (hildon_pannable_area_init): Initialized the new private atributes
1678 controlling this timeout
1679 (hildon_pannable_area_dispose): Remove the timeout that controls
1680 the motion notify events.
1681 (hildon_pannable_area_scroll): Added a condition to control the
1682 use of the acceleration.
1683 (hildon_pannable_area_motion_event_scroll_timeout),
1684 (hildon_pannable_area_motion_event_scroll): Added this two
1685 functions, they handle the motion notify events inside the
1687 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1688 to the scroll method with the new function.
1689 (hildon_pannable_area_button_release_cb): We have to remove the
1690 timeout handler and move to the last position if the last motion
1691 events were not handled.
1693 Fixes: NB#97028 (Pannable area updates on every motion event)
1695 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1697 * src/hildon-pannable-area.c,
1698 (hildon_pannable_area_get_topmost): Added a new parameter to
1699 filter the the windows that do not include those events. Added
1700 also a condition when finding the window to filter windows that do
1701 not ask for those events.
1702 (hildon_pannable_area_button_press_cb),
1703 (hildon_pannable_area_button_release_cb),
1704 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1705 topmost function, we have added the new parameter.
1707 Fixes: NB#97458 (Pannable area prevents propagation of button
1710 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1712 * src/hildon-pannable-area.c,
1713 (hildon_pannable_area_initial_effect): Added controls before
1714 launching the timeout and the idle functions.
1715 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1716 of the method, in some situations it can return with TRUE and 0 in
1718 (hildon_pannable_area_button_press_cb): We do not need to set
1719 DELAY for fading out here.
1721 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1723 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1725 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1726 post-cleaning if the selection is not NULL.
1728 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1730 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1731 all items before restoring the selection.
1733 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1735 * src/hildon-touch-selector.c:
1736 (+hildon_touch_selector_unselect_all):
1737 * src/hildon-touch-selector.h: New API to unselect all items in a
1738 column of the touch selector.
1740 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1742 * src/hildon-pannable-area.c,
1743 (hildon_pannable_area_redraw): Added a call to the refresh
1744 function inside the redraw because apparently in some cases the
1745 change in the adjustment does not imply a size allocate.
1747 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1748 despite the view not being scrollable)
1750 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1753 leak. Check for NULL before attempting to set the window title.
1755 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1757 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1758 whether to show or not the 'Done' button each time the dialog is
1759 shown, as it depends on the HildonTouchSelector selection mode.
1761 Fixes: NB#96226 (In multiple selection mode Done button is shown
1762 sometimes in listpicker)
1764 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1767 for the number of columns in the HildonTouchSelector more than once.
1769 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1771 * src/hildon-touch-selector.c: Minor documentation fixes.
1773 * src/hildon-picker-dialog.c (+_dialog_update_title)
1774 (_select_on_selector_changed_cb)
1775 (_update_title_on_selector_changed_cb)
1776 (on_selector_columns_changed): Update dialog title when there's no
1777 'Done' button and also when the number of columns in the selector
1781 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1782 (+_selection_changed, hildon_picker_button_on_dialog_response)
1783 (hildon_picker_button_selector_selection_changed)
1784 (+hildon_picker_button_selector_columns_changed)
1785 (hildon_picker_button_set_selector): Update button value and emit
1786 'value-changed' when the number of columns in the selector
1790 Fixes: NB#96225 (Dialog titles are not shown according to the
1791 values selected in the list picker)
1793 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1795 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1796 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1797 New "arrow-width" and "arrow-height" style properties to set the
1798 size of the arrow button.
1799 Set name of arrow button ("hildon-edit-toolbar-arrow").
1801 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1802 graphics from theme)
1804 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1806 * src/hildon-picker-button.c:
1807 (hildon_picker_button_selector_selection_changed): Use
1808 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1809 the dialog is present.
1811 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1812 the selection is accepted in the dialog)
1814 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-color-chooser.h
1817 * src/hildon-color-chooser-dialog.h:
1818 Added G_BEGIN_DECLS and G_END_DECLS
1820 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1822 (_clean_current_selection): plug a leak in the list.
1824 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1826 * src/hildon-picker-dialog.c:
1827 (+free_path_list): Method to free a GList of GtkTreePaths.
1828 (_clean_current_selection), (_save_current_selection),
1829 (_restore_current_selection): Save the current selection in
1830 as a list of lists, to support multiple selection properly.
1832 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1834 patch by Claudio Saavedra (csaavedra@igalia.com)
1836 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1837 Store the press position.
1838 (+hildon_text_view_button_release_event): If the release position is
1839 close enough to the press position, move the cursor here. Otherwise,
1841 (hildon_text_view_class_init): Override GtkTextView press, release, and
1842 motion event handlers, disabling this way text selection through
1843 pointer interaction, and allowing the container widget to handle the
1846 Fixes: NB#95828 (HildonTextView functionality)
1848 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1850 Based on a patch by Iván Gómez (igomez@igalia.com)
1852 * src/hildon-button.[ch]
1853 * src/hildon-calendar.c
1854 * src/hildon-check-button.c
1855 * src/hildon-date-editor.c
1856 * src/hildon-date-selector.c
1857 * src/hildon-picker-button.c
1858 * src/hildon-time-editor.c
1859 * src/hildon-time-selector.c
1860 * src/hildon-touch-selector.[ch]:
1861 Documentation updates
1863 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1865 * src/hildon-pannable-area.c,
1866 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1867 threshold, it was required due to X events handling.
1869 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1871 * src/hildon-pannable-area.c,
1872 (hildon_pannable_area_grab_notify),
1873 (hildon_pannable_area_initial_effect),
1874 (hildon_pannable_area_button_press_cb),
1875 (hildon_pannable_area_button_release_cb),
1876 (hildon_pannable_area_scroll_cb),
1877 (hildon_pannable_area_scroll_to): Review the timeout management of
1878 the scrollbar, the frecuency was incorrectly set.
1880 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1882 * src/hildon-picker-button.c:
1883 (+hildon_picker_button_on_dialog_response),
1884 (hildon_picker_button_clicked): Present the dialog instead of
1885 running it with gtk_dialog_run().
1887 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1890 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1892 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1893 (hildon_app_menu_finalize): When a window is hidden it doesn't
1894 emit notify::is-topmost, so make sure than the menu also
1895 disappears in that case.
1896 (parent_window_topmost_notify): Renamed from parent_window_hidden
1898 Fixes: NB#94460 (stackable window's menu is not closed when its
1901 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-touch-selector-entry.c:
1904 (+hildon_touch_selector_entry_set_input_mode),
1905 (+hildon_touch_selector_entry_get_input_mode):
1906 * src/hildon-touch-selector-entry.h: New methods to access the input
1907 mode in the selector's entry.
1909 Fixes: NB#93410 (API required for setting IM mode in
1910 HildonTouchSelectorEntry)
1912 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1914 * configure.ac: post release version bump.
1915 * debian/changelog: version bump
1917 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1922 * configure.ac: Bump version.
1923 * debian/changelog: Updates.
1925 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1927 * src/hildon-touch-selector.c:
1928 (_hildon_touch_selector_has_multiple_selection): No need
1929 to initialize the variables here.
1931 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1933 * src/hildon-note-private.h
1934 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1935 (hildon_note_finalize, hildon_note_rebuild): Close information
1936 notes when they receive a button press.
1938 Fixes: NB#89890 (Information notes does not get disappeared after
1941 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1943 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1944 mark from the wizard title, as it's not really necessary. Also,
1945 do not display the page title if not set.
1947 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1950 (parent_window_hidden): Use the window's "is-topmost" property to
1951 detect when to hide the menu.
1953 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1955 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1956 (hildon_app_menu_finalize): If the parent window of the menu is
1957 hidden, hide the menu too.
1959 Fixes: NB#94460 (stackable window's menu is not closed when its
1962 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1965 * debian/libhildon1-examples.install
1967 * examples/Makefile.am:
1968 Use dh_install to install all examples.
1969 Use DEB_SRCDIR instead of defining SOURCE_DIR
1971 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1973 * configure.ac: post release version bump.
1974 * debian/changelog: version bump
1976 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1981 * configure.ac: bump version
1982 * debian/changelog: updates
1983 * debian/control: bump gtk+ dependency
1985 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1987 patch by Christian Dywan (christian@imendio.com)
1989 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1990 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1992 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-check-button.c (hildon_check_button_init)
1995 (hildon_check_button_class_init, hildon_check_button_style_set)
1996 (hildon_check_button_apply_style):
1997 New "checkbox-size" style property.
1999 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2000 larger / configurable size)
2002 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2004 * configure.ac: post release version bump.
2005 * debian/changelog: version bump
2007 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2012 * configure.ac: bump version
2013 * debian/changelog: updates
2015 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2017 * doc/hildon-sections.txt
2018 * src/hildon-pannable-area.c
2019 * src/hildon-program.c
2020 * src/hildon-time-editor.c
2021 * src/hildon-touch-selector-entry.c:
2023 More documentation updates.
2025 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2027 * doc/hildon-sections.txt
2028 * src/hildon-caption.c
2029 * src/hildon-code-dialog.c
2030 * src/hildon-color-button.c
2031 * src/hildon-controlbar.c
2032 * src/hildon-date-editor.c
2033 * src/hildon-date-selector.c
2034 * src/hildon-edit-toolbar.c
2035 * src/hildon-find-toolbar.c
2036 * src/hildon-font-selection-dialog.c
2038 * src/hildon-program.c
2039 * src/hildon-range-editor.c
2040 * src/hildon-seekbar.c
2041 * src/hildon-time-editor.c
2042 * src/hildon-time-selector.c
2043 * src/hildon-volumebar-range.c
2044 * src/hildon-volumebar.c
2045 * src/hildon-vvolumebar.c
2046 * src/hildon-weekday-picker.c
2047 * src/hildon-window.c
2048 * src/hildon-wizard-dialog.c:
2050 Lots of documentation fixes.
2052 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2054 Patch contributed by Iván Gómez (igomez@igalia.com)
2056 * src/hildon-check-button.c:
2057 * src/hildon-date-button.c:
2058 * src/hildon-date-selector.c:
2059 * src/hildon-dialog.c:
2060 * src/hildon-edit-toolbar.c:
2061 * src/hildon-entry.c:
2062 * src/hildon-picker-button.c:
2063 * src/hildon-program.c:
2064 * src/hildon-text-view.c:
2065 * src/hildon-time-button.c:
2066 * src/hildon-touch-selector-entry.c:
2067 * src/hildon-window-stack.c:
2069 Add more "since" tags to the new API.
2071 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2073 * doc/hildon-sections.txt: Add below method.
2074 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2075 version for the hildonized scale.
2076 * src/hildon-gtk.h: Add the definition.
2078 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2080 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2082 * doc/hildon-sections.txt: Add missing entries for new methods.
2084 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2086 Added API to pannable are in order to get its adjustments. We
2087 added two properties to manage the values we had in the private
2090 * src/hildon-pannable-area.c:
2091 (hildon_pannable_area_class_init): Added hadjustment and
2092 vadjustment properties in order to expose horizontal and vertical
2094 (hildon_pannable_area_get_property),
2095 (hildon_pannable_area_set_property): Added code to handle the new
2097 (hildon_pannable_area_get_hadjustment),
2098 (hildon_pannable_area_get_vadjustment): API functions to get the
2100 * src/hildon-pannable-area.h:
2101 (hildon_pannable_area_get_hadjustment),
2102 (hildon_pannable_area_get_vadjustment): API functions to get the
2105 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2107 Fixed some leaks, after valgrinding.
2109 * src/hildon-touch-selector.c:
2110 (_default_print_func): Fixed a leak.
2111 (hildon_touch_selector_append_column): Fixed a leak.
2112 * src/hildon-date-button.c:
2113 (hildon_date_button_init): Fixed a leak.
2114 * src/hildon-date-selector.c
2115 (hildon_date_selector_finalize): Fixed a leak.
2117 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2119 Based on a patch by Christian Dywan (christian@imendio.com)
2121 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2123 * src/hildon-gtk.h: Add definition.
2125 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2127 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2129 * src/hildon-picker-button.c: (hildon_picker_button_init),
2130 (hildon_picker_button_new): Set the HildonButton::style property
2131 in the init method, to propagate the value to the derived classes.
2133 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2135 * src/hildon-button.c: (hildon_button_class_init): Do not make
2136 the "style" property a construct property.
2138 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2140 * src/hildon-wizard-dialog.h
2141 * src/hildon-wizard-dialog.c
2142 (hildon_wizard_dialog_set_forward_page_func)
2143 * src/hildon-pannable-area.h
2144 * src/hildon-pannable-area.c
2145 (hildon_pannable_area_set_size_request_policy):
2146 Documentation fixes.
2148 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2150 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2152 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2154 * doc/hildon-sections.txt: Added sections file.
2156 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2159 * src/*.[ch]: Updates.
2161 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2163 * examples/hildon-progress-indicator-example.c: new file
2164 * examples/Makefile.am: include the new example program
2166 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2168 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2170 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2172 * configure.ac: post release version bump
2173 * debian/changelog: version bump
2175 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2180 * configure.ac: bump version
2181 * debian/changelog: updates
2182 * debian/control: bump gtk+ dependency
2184 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2186 * src/hildon-dialog.c: Mark as deprecated.
2187 * src/hildon-dialog.h: Mark as deprecated.
2188 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2189 from HildonDialog and still work, even if
2190 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2191 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2193 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2194 maemo changes) instead)
2196 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2198 * src/hildon-pannable_area.h:
2199 * src/hildon-pannable_area.c:
2200 (hildon_pannable_area_class_init),
2201 (hildon_pannable_area_set_property),
2202 (hildon_pannable_area_get_property),
2203 (hildon_pannable_area_size_request),
2204 (hildon_pannable_area_get_size_request_policy),
2205 (hildon_pannable_area_set_size_request_policy): Added new API
2206 allowing applications to control the request policy. Now they can
2207 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2208 children allocation (HILDON_MOVEMENT_CHILDREN).
2210 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2214 (hildon_gtk_tree_view_set_ui_mode)
2215 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2216 mode of treeviews and iconviews.
2218 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2220 * src/hildon-touch-selector-entry.c:
2221 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2222 of a GtkEntry to get proper theming.
2224 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2225 widget, not GtkEntry)
2227 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2229 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2230 no HildonWizardDialogPageFunc.
2232 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2234 Patch contributed by Iván Gómez (igomez@igalia.com)
2236 * src/hildon-app-menu.c:
2237 * src/hildon-button.c:
2238 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2239 * src/hildon-stackable-window.c:
2240 * src/hildon-time-selector.c:
2241 * src/hildon-touch-selector.c:
2242 * src/hildon-window.c:
2244 Add more "since" tags to the new API in hildon 2.2.
2246 2008-12-05 Tim Janik <timj@imendio.com>
2248 Patch contributed by Christian Dywan (christian@imendio.com)
2250 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2251 HildonSizeType, which are supplied by Gtk+ now.
2253 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2255 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2256 (with maemo changes) instead)
2258 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2260 Patch contributed by Iván Gómez (igomez@igalia.com)
2262 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2265 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2267 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2268 (some_page_func), (main): Update the example to use a
2269 HildonWizardDialogPageFunc function.
2271 * src/hildon-wizard-dialog-private.h: Add private data for
2272 the HildonWizardDialogPageFunc function usage.
2274 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2275 (destroy), (hildon_wizard_dialog_init), (response),
2276 (hildon_wizard_dialog_set_forward_page_func):
2277 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2278 that applications can use to stop a HildonWizardDialog to jump to
2281 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2284 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-program.h
2287 * src/hildon-program-private.h
2288 * src/hildon-program.c (hildon_program_init)
2289 (hildon_program_set_common_app_menu)
2290 (hildon_program_get_common_app_menu):
2291 New API for setting a common HildonAppMenu for all
2292 HildonStackableWindows registered with the HildonProgram.
2294 * src/hildon-stackable-window.c
2295 (hildon_stackable_window_toggle_menu):
2296 Use the common HildonAppMenu if a window doesn't have a specific
2299 * src/hildon-app-menu-private.h
2300 * src/hildon-app-menu.c
2301 (hildon_app_menu_get_parent_window):
2302 Function to obtain the window a HildonAppMenu is attached to.
2303 (hildon_app_menu_set_parent_window):
2304 Hide the menu if the parent window is set to NULL.
2306 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2309 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2310 search widget to popup.
2312 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2314 * configure.ac: post release version bump
2315 * debian/changelog: version bump
2317 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2322 * configure.ac: bump version
2323 * debian/changelog: updates
2325 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2327 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2329 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2330 (hildon_window_stack_window_realized)
2331 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2332 Set the leader GdkWindow when a window is stacked and realized,
2333 unset it when it's unstacked.
2334 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2336 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2338 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2340 * src/hildon-stackable-window.h
2341 * src/hildon-window-stack.h:
2342 Protect definition of HildonWindowStack using the preprocessor.
2344 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2347 Fix warning if all menu items are hidden.
2349 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2351 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2353 * src/hildon-controlbar.c:
2354 * src/hildon-hvolumebar.c:
2355 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2356 Multiple scale size defines updates.
2358 Fixes: NB#94322 (Scale Updates)
2360 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2362 * examples/hildon-app-menu-example.c (create_menu)
2363 Show items after adding them to the menu, as in the future the
2364 menu will no longer call gtk_widget_show() on the added items.
2366 * src/hildon-app-menu.c:
2367 Update example as explained above.
2369 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2371 * src/hildon-app-menu.c
2372 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2373 Make sure that all menu items have finger height.
2375 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2377 * src/hildon-picker-dialog.c:
2378 (_on_dialog_response), (_save_current_selection),
2379 (_restore_current_selection), (_clean_current_selection),
2380 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2381 Defined new functions in order to save the current internal selector
2382 selection previous open the dialog, in case that the use cancel the
2383 interaction, so the widget restores the previous selection.
2385 Fixes: NB#92032 (In calendar application, date values in 'new event'
2388 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2390 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2392 * src/hildon-button.c: Add a reference to the button examples in
2393 hildon-button-example.c
2395 * examples/hildon-button-example.c: Added examples of the most
2396 common button layouts.
2398 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2400 * src/hildon-app-menu.c (hildon_app_menu_show)
2401 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2403 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2405 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2407 * src/hildon-picker-dialog.c:
2408 (hildon_picker_dialog_init): Initialize the signal id for
2409 HildonTouchSelector::columns-changed.
2410 (+on_selector_columns_changed): Set up the interaction mode everytime a
2411 column is added or removed from the HildonTouchSelector.
2412 (_hildon_picker_dialog_set_selector): Connect to
2413 HildonTouchSelector::columns-changed and keep track of it.
2415 Make sure to update the interaction mode of the dialog everytime a
2416 column is added or removed in the HildonTouchSelector.
2418 Fixes: NB#93228 (Done button is not shown always in listpicker)
2420 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2423 a new ::columns-changed signal.
2424 (hildon_touch_selector_append_column): Emit ::columns-changed.
2425 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2427 Add a ::columns-changed signal, emitted when the number of columns in a
2428 HildonTouchSelector changes.
2430 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2432 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2433 (_hildon_picker_dialog_set_selector): Factor out the code
2434 to set up the dialog interaction mode.
2436 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2438 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2439 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2440 to signal_changed_id.
2442 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2444 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2447 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2449 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2450 Updated the logical ids related to ampm format, as now it is required to
2451 show it correctly localized even on languages with no default
2452 abbreviations for am or pm
2453 (_check_am_pm_format): check correctly the 24h format gconf property
2455 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2457 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2459 * src/hildon-button.c: Documentation updates.
2461 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2463 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2464 * src/hildon-caption.c: (hildon_caption_class_init):
2465 * src/hildon-color-button.c: (hildon_color_button_class_init):
2466 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2467 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2468 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2469 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2471 Remove deprecated GTK+ marshalers and replace them with the ones
2472 provided by GLib, for those available, add a marshaler for
2473 BOOLEAN:VOID, which is not available in GLib, and use it.
2475 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2478 the text from the previous column if there is no
2479 HildonTouchSelectorColumn::text-property set.
2481 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-button.h
2484 * src/hildon-button.c (hildon_button_set_property)
2485 (hildon_button_get_property, hildon_button_class_init)
2486 (hildon_button_set_style, hildon_button_get_style):
2487 New "style" property to change the visual appearance of the
2490 * src/hildon-picker-button.c (hildon_picker_button_new):
2491 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2493 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2494 HildonButton look like PickerButton)
2496 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2499 column while building the default string.
2501 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2503 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2504 scroll indicator by default.
2506 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2508 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2510 * src/hildon-main.c: Fix the documentation for hildon_init()
2512 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2514 * doc/hildon-docs.sgml
2518 * src/hildon-window-stack-private.h
2519 * src/hildon-window-stack.h
2520 * src/hildon-window-stack.c:
2521 New HildonWindowStack object, that adds support for multiple
2522 stacks of windows per process.
2524 * src/hildon-stackable-window-private.h
2525 * src/hildon-stackable-window.h
2526 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2527 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2528 (hildon_stackable_window_show, hildon_stackable_window_hide)
2529 (hildon_stackable_window_class_init)
2530 (hildon_stackable_window_init):
2531 Use HildonWindowStack for stack management.
2533 * src/hildon-program.c (hildon_program_pop_window_stack)
2534 (hildon_program_peek_window_stack)
2535 (hildon_program_go_to_root_window):
2536 Add a fallback implementation to the deprecated functions using
2539 * examples/hildon-stackable-window-example.c:
2540 Use the new HildonWindowStack API.
2542 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2544 * src/hildon-stackable-window-private.h
2545 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2546 (hildon_stackable_window_hide, hildon_stackable_window_init):
2547 Remove all window stack management.
2549 * src/hildon-program-private.h
2550 * src/hildon-program.h
2551 * src/hildon-program.c (hildon_program_init)
2552 (hildon_program_pop_window_stack)
2553 (hildon_program_peek_window_stack)
2554 (hildon_program_go_to_root_window):
2555 Remove all window stack management and mark functions as
2558 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2560 * src/hildon-app-menu.c (hildon_app_menu_realize):
2561 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2563 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2565 * configure.ac: post release version bump
2566 * debian/changelog: version bump
2568 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2573 * configure.ac: bump version
2574 * debian/changelog: updates
2576 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2578 Based on initial code by Christian Dywan (christian@imendio.com)
2580 * doc/hildon-docs.sgml: Add section for hildon-main.
2581 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2582 * src/Makefile.am: Add new hildon-main.[ch]
2583 * src/hildon-defines.h: Update the icon sizes.
2584 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2585 new library initialization files and register icon sizes.
2586 * src/hildon-main.h: New declarations.
2587 * src/hildon.h: Include hildon-main.h
2589 Add new initialization functions to the library. These methods
2590 will register the hildon specific icon sizes and can be used in the
2591 future for other hildon specific bits.
2593 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2595 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2597 * src/hildon-window.c: (hildon_window_realize),
2598 (hildon_window_notify), (-hildon_window_update_title): Do not set
2599 the application name in the window title.
2601 Fixes: NB#89754 (Applications shouldn't display their names in the
2604 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-note-private.h:
2607 * src/hildon-note.c: (hildon_note_set_property),
2608 (hildon_note_get_property), (hildon_note_class_init),
2609 (hildon_note_init), (hildon_note_finalize),
2610 (hildon_note_new_confirmation_with_icon_name),
2611 (hildon_note_new_information_with_icon_name):
2613 No need to mark as deprecated the actual code. Revert
2614 to avoid missing symbols in widgets using deprecated API.
2616 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2618 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2620 * src/hildon-volumebar.h
2621 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2622 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2624 * src/hildon-helper.h
2625 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2626 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2628 * examples/Makefile.am:
2629 Deprecate hildon-insensitive-example
2631 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2633 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2635 * examples/hildon-pannable-area-buttons-scroll-example.c:
2636 Make all buttons finger height
2638 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2640 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2642 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2643 update the day model only if it is really required, and to avoid the
2644 full-reconstruction aproach. Now it only add or remove the required days.
2646 The purpose of this is avoid superfluous HildonTouchSelector::changed
2649 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2650 with strange parameters)
2652 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2654 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2656 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2657 the WINDOW_TYPE property.
2659 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2661 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2664 Fix dependency to allow parallel compilation with make -jX
2666 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2668 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2669 color frame and some minor tweaks to make it more consistent with
2672 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2673 highlighted but not visible)
2675 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2677 * examples/Makefile.am: Fixed typo in the Makefile.am.
2679 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2681 Reviewed the use of MAEMO_GTK define, now we add the define in the
2682 compilation line, and we also add it to the pc file.
2684 * configure.ac: Added MAEMO_GTK define to the compilation command
2685 and removed it from the config.h.
2687 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2688 do not have to take care about this define if the library was
2692 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2694 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2696 * examples/Makefile.am,
2697 * examples/hildon-pannable-area-buttons-scroll-example.c,
2698 * examples/hildon-pannable-area-gesture-signals-example.c,
2699 * examples/hildon-pannable-area-scroll-jump-example.c,
2700 * examples/hildon-pannable-area-tree-view-example.c:
2701 Renamed the pannable area examples, now they have more meaningful
2704 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2706 * src/hildon-touch-selector.c:
2707 (hildon_touch_selector_set_column_selection_mode): Used of
2708 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2709 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2710 to avoid re-seting the same selection mode.
2712 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2713 breaks HildonPickerDialog)
2715 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2717 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2718 conditional in the Makefile.am
2720 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2722 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2723 Remove unused methods.
2725 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2727 * src/hildon-button.c (hildon_button_init):
2728 Make button images center-aligned by default
2730 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2733 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2734 activated, we have to think about how to deal with both defines
2735 MAEMO_GTK and MAEMO_CHANGES.
2737 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2739 * examples/hildon-app-menu-example.c (create_menu): Make all
2740 buttons finger size.
2742 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2744 Fixed the compilation without maemo gtk adding ifdefs with
2745 MAEMO_GTK define to the code, we have to check this version more
2748 * examples/Makefile.am: Added control to avoid some examples that
2749 just make sense with maemo gtk.
2752 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2753 hildon modes with the define.
2755 * examples/hildon-edit-toolbar-example.c,
2756 (create_icon_view): Create the icon view without hildon-gtk
2757 helpers if we are not using maemo gtk.
2759 * src/hildon-touch-selector.c,
2760 (_create_new_column): Create the treeview without hildon-gtk
2761 helpers if we are not using maemo gtk.
2763 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2765 * src/hildon-pnnable-area.c,
2766 (hildon_pannable_area_dispose),
2767 (hildon_pannable_area_button_press_cb),
2768 (hildon_pannable_area_child_mapped),
2769 (hildon_pannable_area_add),
2770 (hildon_pannable_area_remove): Added code to control the position
2771 of the event_window when adding and removing children from the
2772 pannable. We have to raise the event window when the child is
2775 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2776 selection mode using custom widget inside pannable)
2778 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2780 * configure.ac: post release version bump
2781 * debian/changelog: version bump
2783 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2788 * configure.ac: bump version
2789 * debian/changelog: updates
2791 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2793 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2794 search mode, in order to avoid lose the focus on the treeview when
2795 a hw key (like enter) is pressed.
2797 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2798 in HildonDateSelector dialog)
2800 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2802 * debian/rules: Added --enable-maintainer-mode
2803 * Makefile.am: Added ACLOCAL_AMFLAGS
2805 This allows to properly regenerate the Makefiles if you modify the
2806 configure.ac or any Makefile.am.
2808 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2810 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2811 properties, not needed at all.
2813 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2815 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2817 * src/hildon-note.c: (hildon_note_set_property),
2818 (hildon_note_get_property), (hildon_note_class_init),
2819 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2820 (hildon_note_new_confirmation_add_buttons): Remove icons.
2821 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2822 (hildon_note_new_information_with_icon_name): Deprecate.
2823 (hildon_note_new_confirmation): Act directly, without calling
2824 the deprecated constructor.
2825 (hildon_note_new_information): Act directly, without calling
2826 the deprecated constructor.
2827 * src/hildon-note.h: Mark deprecate methods as such.
2828 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2829 not run tests on the deprecated methods if built with deprecation
2832 Fixes: NB#91688 (Never show icons in information notes/confirmation
2835 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2837 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2838 (hildon_app_menu_key_press): Remove leftover usage of the
2839 private structure in HildonAppMenu struct.
2840 * src/hildon-app-menu.h: Remove leftover private structure
2841 from the HildonAppMenu struct.
2843 Fixes a crasher when using the HildonAppMenu.
2845 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2847 * src/hildon-picker-dialog.c: Use appropriate logical id
2848 for the default "Done" text.
2850 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2852 * configure.ac: post release version bump
2853 * debian/changelog: version bump
2855 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2857 Modified the way to scroll to the current selection just when the touch
2858 selector is shown on the screen, avoiding a g_idle. Added too a property
2859 to configure this behaviour. See hildon_pannable_area_jump_to_child
2860 documentation for more information.
2862 * src/hildon-touch-selector.c
2863 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2864 Added 'initial-scroll' property
2865 (hildon_touch_selector_set_property): Added
2866 (hildon_touch_selector_map): Removed as not required anymore
2867 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2868 only a concrete column, instead of iterate along all the columns
2870 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2875 * configure.ac: bump version
2876 * debian/changelog: updates
2878 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2881 compilation time warnings.
2883 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2885 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2886 the default value for HildonPannableArea::mov-mode to
2887 HILDON_PANNABLE_AREA_MODE_VERT.
2889 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2891 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2893 Reverting following commit:
2895 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-app-menu-private.h
2898 * src/hildon-app-menu.[ch]
2899 * src/hildon-button.[ch]
2900 * src/hildon-check-button.[ch]
2901 * src/hildon-entry.[ch]
2902 * src/hildon-pannable-area.[ch]
2903 * src/hildon-text-view.[ch]:
2904 Added private field to the object's structure.
2906 because it causes an ABI breakage. We will need to introduce these
2907 changes later at some point. See NB#91636 for an extensive
2908 explanation and status.
2910 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2912 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2914 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2915 remove special cases that are no longer necessary.
2917 Fixes: NB#91016 (Change toolbar sizes, simplification)
2919 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2921 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2922 is shown in the cancel note.
2924 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2926 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2927 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2928 (hildon_seekbar_init): Remove steppers, remove expose event.
2929 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2931 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2933 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2935 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2936 label font to "SmallSystemFont" for vertically arranged buttons.
2938 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2941 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-check-button.c
2944 (hildon_check_button_set_active, hildon_check_button_clicked):
2945 Don't access private parts directly, use getters instead.
2947 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2949 * src/hildon-check-button.c (hildon_check_button_new):
2950 Align the contents of the check button to the left.
2952 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2954 * src/hildon-pannable-area.c,
2955 (hildon_pannable_area_scroll_to),
2956 (hildon_pannable_area_jump_to),
2957 (hildon_pannable_area_scroll_to_child),
2958 (hildon_pannable_area_jump_to_child): Replace the mapped
2959 precondition of these functions with the realized, it is the
2960 correct state of the widget in this case. Changed the
2961 documentation according to this modification.
2963 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2965 Added a new EXTRA_CFLAGS option to add the deprecated define to
2966 the compilation command. This way we can avoid using the define in
2967 the documentation compilation.
2969 * configure.ac: Defined EXTRA_CFLAGS.
2971 * examples/Makefile.am:
2973 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2975 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2977 * src/hildon-picker-dialog.c:
2978 Defined a utility macro with the desired touch selector height
2979 Removed currently unused separator, and title_label variables from
2981 (hildon_picker_dialog_init): Removed code related to the creation
2982 of unused private variables title_label and separator.
2983 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2984 to ensure correct visualization of the touch selector inside the dialog.
2985 * src/hildon-touch-selector.c
2986 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2987 ensure a concrete height of the widget.
2989 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2992 * tests/Makefile.am:
2994 Remove spurious whitespaces.
2996 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2998 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2999 compilation warning after the cancel button removal.
3001 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3003 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3005 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3006 Makefile.am, that way we can choose not to compile some examples
3007 and tests of the deprecated widgets.
3009 * examples/Makefile.am: Divided the sources in deprecated and
3012 * src/Makefile.am: Added undef statement of the deprecated
3013 symbol to the enums file generation process.
3015 * src/hildon-color-chooser-dialog.c
3016 * src/hildon-color-chooser-dialog.h
3017 * src/hildon-color-button.c
3018 * src/hildon-color-button.h
3019 * src/hildon-color-chooser.c
3020 * src/hildon-color-chooser.h
3021 * src/hildon-controlbar.c
3022 * src/hildon-controlbar.h
3023 * src/hildon-date-editor.c
3024 * src/hildon-date-editor.h
3025 * src/hildon-hvolumebar.c
3026 * src/hildon-hvolumebar.h
3027 * src/hildon-private.c
3028 * src/hildon-private.h
3029 * src/hildon-range-editor.c
3030 * src/hildon-range-editor.h
3031 * src/hildon-seekbar.c
3032 * src/hildon-seekbar.h
3033 * src/hildon-time-editor.c
3034 * src/hildon-time-editor.h
3035 * src/hildon-time-picker.c
3036 * src/hildon-time-picker.h
3037 * src/hildon-volumebar.c
3038 * src/hildon-volumebar.h
3039 * src/hildon-vvolumebar.c
3040 * src/hildon-vvolumebar.h
3041 * src/hildon-bread-crumb-trail.h
3042 * src/hildon-bread-crumb-trail.c
3043 * src/hildon-calendar-popup.c
3044 * src/hildon-calendar-popup.h
3045 * src/hildon-weekday-picker.c:
3046 * src/hildon-weekday-picker.h:
3047 * src/hildon-bread-crumb-widget.c:
3048 * src/hildon-bread-crumb-widget.h:
3049 * src/hildon-bread-crumb.c:
3050 * src/hildon-bread-crumb.h:
3051 * src/hildon-calendar.c:
3052 * src/hildon-calendar.h:
3053 * src/hildon-caption.c:
3054 * src/hildon-code-dialog.c:
3055 * src/hildon-code-dialog.h:
3056 * src/hildon-font-selection-dialog.c:
3057 * src/hildon-font-selection-dialog.h:
3058 * src/hildon-get-password-dialog.c:
3059 * src/hildon-get-password-dialog.h:
3060 * src/hildon-login-dialog.c:
3061 * src/hildon-login-dialog.h:
3062 * src/hildon-number-editor.c:
3063 * src/hildon-number-editor.h:
3064 * src/hildon-set-password-dialog.c:
3065 * src/hildon-set-password-dialog.h:
3066 * src/hildon-sort-dialog.c:
3067 * src/hildon-sort-dialog.h: This is the list of deprecated
3070 * src/hildon-touch-selector.c:
3071 * src/hildon-window.c: Added undef statement to avoid compilation
3074 * tests/Makefile.am: Divided the sources in deprecated and
3077 * tests/check_test.c,
3078 (configure_tests): Marked the deprecated code that was adding
3079 suites with deprecated tests.
3081 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3083 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3085 * src/hildon-touch-selector.c: (_default_print_func): Do not
3086 duplicate a string returned by gtk_tree_model_get(), it is already
3089 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3092 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3094 * src/hildon-pannable-area.c
3095 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3096 method, it had problems when adding a widget with viewport the
3097 second time. Now checks if it already has a viewport and uses it.
3099 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3102 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3104 * src/hildon-pannable-area.c,
3105 (hildon_pannable_area_scroll_to),
3106 (hildon_pannable_area_jump_to),
3107 (hildon_pannable_area_scroll_to_child),
3108 (hildon_pannable_area_jump_to_child): Added a precondition to the
3109 scroll and jump to functions: the widget must be mapped before we
3110 can safely call these functions. We have also added documentation
3111 to the functions to explain how to use them in this situation.
3114 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3116 Reviewed the threading handling of the pannable widget, we have
3117 used the gdk_threads_add_timeout function instead of the usual
3118 glib handlers. This avoids some problems with the threads.
3120 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3121 (hildon_pannable_area_initial_effect),
3122 (hildon_pannable_area_scroll_indicator_fade),
3123 (hildon_pannable_area_button_press_cb),
3124 (hildon_pannable_area_timeout),
3125 (hildon_pannable_area_motion_notify_cb),
3126 (hildon_pannable_area_button_release_cb),
3127 (hildon_pannable_area_scroll_cb),
3128 (hildon_pannable_area_scroll_to): Removed the
3129 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3130 gdk_threads_add_timeout.
3132 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3134 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3139 * configure.ac: bump version
3140 * debian/changelog: updates
3142 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3145 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3146 * src/hildon-color-chooser-dialog.c:
3147 (hildon_color_chooser_dialog_init):
3148 * src/hildon-font-selection-dialog.c:
3149 (hildon_font_selection_dialog_init):
3150 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3152 Remove all cancel/close-like dialogs, as these are not going to be
3155 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3157 * src/hildon-note.c: (hildon_note_rebuild),
3158 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3161 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3163 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3165 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3166 sure all buttons are shown, even the Cancel/Close-like ones.
3168 Fixes: NB#90861 (Custom Confirmation dialogs should be
3169 protected from cancel button removal)
3171 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3173 * debian/control: Change libhildon1-examples dependency from libhildon1
3175 * debian/libhildon1-examples.install
3177 * Makefile.am: Modified the final install directory for the examples on
3178 package libhildon1-examples
3179 * Makefile.static: Update clean target in order to remove all the binary
3182 Changes suggested by Claudio after review new libhildon1-examples package
3184 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3186 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3187 * src/hildon-touch-selector.c: Ditto.
3189 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3191 * debian/control: Added new package libhildon1-examples, in order to pack
3192 the current hildon examples as documentation
3193 * debian/rules: Not to compress .c files, modify some includes on the
3194 examples (as normally are compiled locally, but when installed it will
3195 require to include the installed libhildon1 library), and rename
3197 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3198 install all the example files on the new example package
3199 * examples/Makefile.static: Added static makefile that can be used to
3200 compile the examples, once installed the new example package
3201 * examples: Most of the examples were modified in order to grant that
3202 all use only '#include "hildon.h"', in order to be easy to prepare
3203 it on the example package
3205 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3208 * debian/libhildon1-dev.install
3209 * debian/libhildon1-doc.install:
3210 Move all gtk-doc files to a separate libhildon1-doc package.
3212 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3214 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3216 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3218 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3220 * debian/rules: Fixed a error in order to avoid unnecessary calls
3221 to autogen.sh on package building
3223 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3225 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3227 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3229 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3232 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-picker-button.c
3235 (hildon_picker_button_finalize):
3236 Free priv->done_button_text
3238 * src/hildon-time-button.c
3239 (hildon_time_button_set_time)
3240 * src/hildon-picker-button.c
3241 (hildon_picker_button_clicked)
3242 (hildon_picker_button_selector_selection_changed)
3243 (hildon_picker_button_set_selector)
3244 * src/hildon-date-button.c
3245 (hildon_date_button_set_date):
3246 Free strings returned by hildon_touch_selector_get_current_text()
3248 * src/hildon-button.c (hildon_button_construct_child):
3249 Fix leaks in priv->image and priv->label_box
3251 Fixes: NB#90535 (Memory leak in picker button)
3253 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3255 * src/hildon-button.c: (hildon_button_get_property): Do not access
3256 private elements directly, use getters instead.
3258 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3260 * src/hildon-app-menu-private.h
3261 * src/hildon-app-menu.c
3262 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3263 Store the menu's parent window.
3265 * src/hildon-stackable-window.c
3266 (hildon_stackable_window_toggle_menu)
3267 (hildon_stackable_window_finalize):
3268 Set the menu's parent window when the menu is shown, unset it when
3271 * src/hildon-app-menu.c
3272 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3273 (hildon_app_menu_class_init):
3274 Send unhandled keyboard accelerators to the parent window.
3276 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3278 * src/hildon-stackable-window.c
3279 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3281 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3283 * configure.ac: post release version bump
3285 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3288 * configure.ac: Bump version
3289 * debian/changelog: Updates
3290 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3293 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3295 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3298 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3299 GtkMenu with Hildon style.
3301 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3303 * src/hildon-picker-button.c:
3304 (hildon_picker_button_set_done_button_text): Set the dialog's
3305 done button text here as well.
3307 Fixes: NB#90232 (Picker button does not set the label on done button
3308 for the second time)
3310 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3312 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3315 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3317 * src/hildon-app-menu.c (hildon_app_menu_insert)
3318 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3319 the HildonAppMenu to be activatable using keyboard accelerators
3320 when the menu is not being shown.
3322 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3324 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-stackable-window.c
3327 (hildon_stackable_window_show):
3328 Don't hide old windows automatically when new windows are shown:
3329 this is now a task for the window manager.
3330 (hildon_stackable_window_class_init)
3331 (hildon_stackable_window_hide):
3332 Remove windows from the stack everytime they're hidden.
3333 (hildon_stackable_window_realize):
3334 Don't change the _NET_WM_WINDOW_TYPE property. Use
3335 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3336 it as a stackable window.
3338 * src/hildon-program.c
3339 (hildon_program_pop_window_stack):
3340 Just hide the window to remove it from the stack.
3341 (hildon_program_go_to_root_window):
3342 Don't call gtk_widget_show(), this is now a task for the window
3345 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3347 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3349 * src/hildon-button.c
3350 (hildon_button_construct_child):
3351 Don't pack anything in the button until text or image are
3352 set. This allows adding a custom child after creating the button
3353 with hildon_button_new().
3354 (hildon_button_finalize, hildon_button_class_init)
3355 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3356 alignment and the label box even when they're not packed in the
3359 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3361 * src/hildon-touch-selector.h:
3362 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3363 currently the type definition was using GTK_TYPE_VBOX
3364 * src/hildon-touch-selector.c:
3365 Added some implementation notes in order to clarify that any other widget
3366 added without the column related API will not be included on the
3367 selection logic, and how the widget is freed, as some people ask about
3369 (hildon_touch_selector_remove): Reimplemented in order to free properly
3370 the column related data when you remove the private hbox.
3371 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3372 to get a proper HildonTouchSelectorColumn documentation
3374 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3376 * src/hildon-touch-selector-entry.c:
3377 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3378 text in the GtkEntry and there is no item selected. Fixes a
3381 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3383 * src/hildon-app-menu-private.h
3384 * src/hildon-app-menu.[ch]
3385 * src/hildon-button.[ch]
3386 * src/hildon-check-button.[ch]
3387 * src/hildon-entry.[ch]
3388 * src/hildon-pannable-area.[ch]
3389 * src/hildon-text-view.[ch]:
3390 Added private field to the object's structure.
3392 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3394 * configure.ac: post-release version bump
3396 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3400 * configure.ac: pre-release version bump
3402 * debian/changelog: updates.
3404 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3407 Disconnect the handler for HildonTouchSelector::changed.
3409 (hildon_picker_button_selector_selection_changed): Update the button
3410 value if the selection change was not triggered by the
3413 (hildon_picker_button_set_selector): connect to
3414 HildonTouchSelector::changed.
3416 Fixes: NB#89650 (Picker button is not updated, when selection in
3417 selector has changed)
3419 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3421 * src/hildon-picker-dialog.c
3422 (hildon_picker_dialog_realize): Removed as not required
3423 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3424 * src/hildon-picker-button.c
3425 (_current_selector_empty): New function, checks if the selector is empty
3426 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3427 if the current selector is empty, in order to avoid to show the dialog
3428 close the dialog in this case (and shows a g_warning).
3430 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3432 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3434 * src/hildon-pannable-area.c,
3435 (hildon_pannable_area_scroll): Added clause to stop movement when
3436 the child of pannable is smaller than one page.
3437 (hildon_pannable_area_scroll_to): Added conditions to avoid
3438 starting the scrolling movement if the child is smaller than one
3439 page, the complete child is in the screen, we do not have to move.
3441 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3443 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3445 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3446 this is managed automatically by the widget when the size of the
3449 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3451 * src/hildon-picker-button.c
3452 (hildon_picker_button_set_done_button_text): Make a copy of the
3453 text, and free the previous value.
3455 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3457 * src/hildon-touch-selector-entry.c:
3458 (hildon_touch_selector_entry_print_func): Return the selected row's
3459 text if the entry is empty.
3461 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3464 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3466 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3468 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-check-button.h
3472 * src/hildon-check-button.c
3473 * examples/hildon-check-button-example.c:
3474 HildonCheckButton is now a new widget. 'toggled' signal added.
3476 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3478 * src/hildon-program-private.h
3479 * src/hildon-program.c (hildon_program_init)
3480 (hildon_program_finalize): Removed unused variables group_leader
3481 and name from HildonProgramPrivate.
3483 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-check-button.c (hildon_check_button_set_active)
3486 (hildon_check_button_get_active, hildon_check_button_new): Use
3487 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3489 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3491 * src/hildon-touch-selector.h
3492 (hildon_touch_selector_set_column_attributes): added deprecation
3493 guard HILDON_DISABLE_DEPRECATED
3494 * src/hildon-time-selector.c
3495 (hildon_time_selector_set_time)
3496 (hildon_time_selector_get_time): Fixed a typo on documentation
3497 * src/hildon-touch-selector.c: update HildonTouchSelector and
3498 HildonTouchSelectorColumn documentation
3499 * src/hildon-touch-selector-entry.c: update "text-column" property
3501 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3502 to be added to the general documentation.
3504 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3506 * examples/hildon-pannable-area-example-4.c,
3508 * examples/hildon-pannable-area-example.c,
3509 (main): Modified the code in order to use the container add, with
3510 viewport treeviews could have problems if they are really big.
3512 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3514 * src/hildon-weekday-picker.c,
3515 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3516 the agreement regarding deprecation in the library.
3518 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3520 * examples/hildon-picker-button-multicolumn-example.c:
3521 (main): Use custom "done" button text.
3523 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3524 (hildon_picker_button_set_property),
3525 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3526 (hildon_picker_button_init),
3527 (+hildon_picker_button_get_done_button_text),
3528 (+hildon_picker_button_set_done_button_text): New methods to customize
3529 the "done" button label in the launched HildonPickerDialog. Also,
3532 * src/hildon-picker-button.h: add the public API.
3534 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-date-selector.h:
3537 * src/hildon-picker-dialog.h:
3538 * src/hildon-time-selector.h:
3539 * src/hildon-touch-selector-column.h:
3540 * src/hildon-touch-selector.h:
3542 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3543 declarations. Fixes gtk-doc warnings.
3545 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3547 * src/hildon-picker-dialog.h
3548 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3549 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3551 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3552 long text is set as label for done button)
3554 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3556 * src/hildon-dialog.c (hildon_dialog_add_button):
3557 Set fixed width to all buttons in the HildonDialog.
3559 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3561 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3563 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3564 Set widget name using class name plus "-finger" or "-thumb".
3566 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3568 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3569 'clicked' when the state of the button is manually changed.
3571 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3573 * src/hildon-app-menu.c (hildon_app_menu_realize)
3574 (hildon_app_menu_unrealize, hildon_app_menu_init)
3575 (hildon_app_menu_class_init, item_visibility_changed):
3576 Change the menu layout when the size of the screen changes.
3577 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3578 Show warning only when changing the number of colums using the
3581 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3583 * debian/compat: Set to 5
3584 * debian/control: Update dependencies.
3585 * debian/libhildon1-dbg.install: Remove.
3586 * debian/libhildon1-dev.install: Update according to cdbs paths.
3587 * debian/libhildon1.install: Update according to cdbs paths.
3588 * debian/rules: Switch to cdbs.
3590 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3593 'item' variable renamed to 'filter'
3595 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3597 * src/hildon-app-menu.c (hildon_app_menu_insert)
3598 (hildon_app_menu_add_filter, remove_item_from_list)
3599 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3600 Don't leak hidden items when the menu is destroyed.
3602 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3604 * src/hildon-app-menu.c (hildon_app_menu_insert)
3605 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3606 (hildon_app_menu_set_columns, item_visibility_changed)
3607 (filter_visibility_changed, hildon_app_menu_repack_filters)
3608 (hildon_app_menu_repack_items):
3609 Repack items and filters separately.
3611 Don't repack all items, change only the ones that are needed to
3614 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3616 * src/Makefile.am: added hildon-touch-selector-column.h
3618 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3620 * src/hildon-touch-selector.c: added the property "text-column" to the
3621 class HildonTouchSelectorColumn, and related get/set functions
3622 (_default_printf_func): updated to use "text-column" property
3623 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3624 "text-column" in his documentation, as this is now included on
3625 HildonTouchSelectorColumn. The get/set_property can still be used,
3626 working as a wrapper to the concrete column "text-column" property
3627 (_text_column_modified): callback added in order to handle the signal
3628 "notify::text-column" of the concrete HildonTouchSelectorColumn
3629 (hildon_touch_selector_entry_get_text_column)
3630 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3631 modified in order to use the HildonTouchSelectorColumn "text-column"
3633 * src/hildon-time-selector.c:
3634 * src/hildon-date-selector.c:
3635 * examples/hildon-touch-selector-example.c
3636 * examples/hildon-touch-selector-multi-cells-example.c
3637 * examples/hildon-picker-button-multicolumn-example.c
3638 Set the right value to "text-column" property on the creation of a new
3639 column using hildon_touch_selector_append_column()
3641 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3643 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3645 * src/hildon-app-menu.c
3646 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3647 updating the layout of the menu, don't create all widgets again,
3648 just repack the items in their new places.
3650 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3652 * src/hildon-time-selector.c
3653 (hildon_time_selector_get_time)
3654 (hildon_time_selector_set_time)
3655 Added documentation of these public methods
3657 * src/hildon-date-button.h
3658 * src/hildon-touch-selector-column.h
3659 * src/hildon-time-button.h
3660 * src/hildon-picker-dialog.h
3661 * src/hildon-time-selector.h
3662 * src/hildon-picker-button.h
3663 * src/hildon-touch-selector.h
3664 * src/hildon-time-picker.h
3665 * src/hildon-date-selector.h
3666 * src/hildon-touch-selector-entry.h
3667 Modified in order to use hildon-widgets code style
3669 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3671 Added deprecated support to the compilation process using
3672 HILDON_DISABLE_DEPRECATED
3674 * configure.ac: Added the --disable-deprecated to the configure
3677 * src/hildon-weekday-picker.c:
3678 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3679 to use the deprecated support. We will update the other deprecated
3680 widgets status in a new patch.
3682 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3684 * configure.ac: Fixed typo with fatal warnings support, the
3685 variable name was not correct
3687 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3689 * src/hildon-app-menu.c
3690 * src/hildon-program.c: Update documentation.
3692 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3694 * configure.ac: Post-release version bump.
3696 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3701 * configure.ac: Pre-release version bump.
3702 * debian/changelog: Updates.
3704 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3706 * NEWS: Update news for previous releases.
3708 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3710 * examples/hildon-touch-selector-multi-cells-example.c:
3711 (create_selector): Update the example to use
3712 hildon_touch_selector_append_column() with a NULL renderer and set
3713 the renderers later.
3714 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3715 passed a NULL renderer. This is documented behavior now.
3717 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3718 This must be used if the developer wants full control on the layout of
3719 the renderers to be added to the column.
3721 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3723 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3725 * src/hildon-touch-selector.c: Documentation fixes.
3727 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3729 * src/hildon-wizard-dialog-private.h: Remove image and box.
3730 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3731 (hildon_wizard_dialog_set_property), (response): Completely remove
3732 image/icon support, and the containers required for the layout.
3734 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3736 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3738 * src/hildon-app-menu.c: Updated documentation.
3740 * src/hildon-stackable-window.c
3741 (hildon_stackable_window_set_main_menu): Unref the old menu after
3742 ref'ing the new one.
3744 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3746 * src/hildon-stackable-window.c
3747 (hildon_stackable_window_set_main_menu): Unref the previous menu
3748 instead of destroying it.
3750 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3751 floating reference and set has_user_ref_count to FALSE to make
3752 HildonAppMenu act like a normal ref-counted widget and not a
3755 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3758 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3760 * src/hildon-touch-selector-column.h: new file
3761 * src/hildon-touch-selector.h
3762 * src/hildon-touch-selector.c
3763 Implemented GtkCellLayout interface, in order to allow to configure
3764 the cell layout on each individual selector column
3765 (hildon_touch_selector_set_column_attributes): marked as deprecated
3766 * examples/hildon-touch-selector-multi-cells-example.c
3767 Example of how to use the GtkCellLayout interface on the selector
3769 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3771 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3773 * src/hildon-app-menu.h
3774 * src/hildon-app-menu.c
3775 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3776 (hildon_app_menu_append, hildon_app_menu_prepend):
3777 New methods to prepend, insert and move items in the menu.
3779 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3781 * src/hildon-wizard-dialog.c:
3783 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3785 (create_title): Update logical IDs and related code.
3786 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3788 * src/hildon-wizard-dialog.h: Note that
3789 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3790 point, as it is not used anymore.
3792 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3794 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3796 * src/hildon-note.c:
3797 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3798 shown. Do not display an icon in confirmation notes nor information
3800 (hildon_note_set_button_text): Update logical ID for cancel button.
3802 Fixes: NB#88850 (Update HildonNote button strings + signals)
3804 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3806 * src/hildon-stackable-window.c
3807 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3809 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3811 * src/hildon-app-menu-private.h
3812 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3813 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3814 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3815 temporary property 'columns' to change the number of columns.
3817 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3819 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3821 * examples/hildon-note-example.c: (on_information_clicked),
3822 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3823 debugging information.
3824 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3826 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3827 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3828 in order to close: this will be handled by the WM from now on.
3830 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3832 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3834 * src/hildon-app-menu-private.h
3835 * src/hildon-app-menu.c
3836 (hildon_app_menu_append, hildon_app_menu_add_filter)
3837 (button_visibility_changed, hildon_app_menu_apply_style)
3838 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3839 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3840 layout everytime a button (item or filter) is shown or hidden.
3842 * src/hildon-stackable-window.c
3843 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3846 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3848 * src/hildon-touch-selector.c:
3849 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3850 that the treeview inside the touch selector is in fremantle hildon mode
3851 * examples/hildon-date-button-example.c
3852 * examples/hildon-picker-button-multicolumn-example.c
3853 * examples/hildon-touch-selector-entry-example.c
3854 * examples/hildon-touch-selector-example.c
3855 * examples/hildon-time-button-example.c
3856 * examples/hildon-picker-button-example.c:
3857 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3859 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3861 * examples/hildon-text-view-example.c: (main): Remove the
3862 gtkrc bits, now handled by the theme.
3864 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3866 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3869 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3871 * po/Makefile.am: Install properly the mo files.
3872 * po/en_GB.po: Update translation, to ease testing purposes.
3874 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3876 * examples/hildon-picker-button-example.c: (main): Select an item
3877 in the selector before setting it to the button.
3879 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3882 Update button's value if the selector has an item active.
3884 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3885 'value' with the selector)
3887 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3889 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3890 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3891 (hildon_picker_button_class_init): Plug the finalize method.
3892 (hildon_picker_button_set_selector): If there's a previously set
3893 selector, unref'it before setting a new one.
3895 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3896 HildonTouchSelector)
3898 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3900 * src/hildon-touch-selector-entry.c:
3901 (hildon_touch_selector_entry_changed): Check if there is no text
3902 selected before setting the entry text.
3905 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-touch-selector.h
3908 * src/hildon-touch-selector.c
3909 (hildon_touch_selector_get_active)
3910 (hildon_touch_selector_set_active): New methods to set/get the
3911 index of the selected item.
3913 * src/hildon-picker-button.h
3914 * src/hildon-picker-button.c
3915 (hildon_picker_button_get_active)
3916 (hildon_picker_button_set_active): New methods to set/get the
3917 index of the selected item.
3919 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3921 * configure.ac: post-release version bump.
3923 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3927 * configure.ac: Pre-release version bump.
3928 * debian/changelog: Updates.
3929 * debian/control: Add myself as maintainer and depend on l10n
3932 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3934 * src/hildon-window.c
3935 (hildon_window_set_main_menu)
3936 * src/hildon-stackable-window.c
3937 (hildon_stackable_window_set_main_menu):
3938 Updated documentation.
3940 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3942 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3943 Don't free selector->priv manually.
3946 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3949 (hildon_gtk_window_set_progress_indicator):
3950 * src/hildon-gtk.h: Added the new API
3951 hildon_gtk_window_set_progress_indicator, it changes the state of
3952 the window progress hint.
3954 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3956 * src/hildon-button.c
3957 * src/hildon-stackable-window.c: Minor documentation updates.
3959 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3961 * src/hildon-stackable-window.c: Updated documentation.
3963 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3965 * src/hildon-defines.h: Update margins definitions
3966 to the Fremantle sizes.
3969 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3971 * src/hildon-touch-selector.c,
3972 (_hildon_touch_selector_set_model): Cleaning the code after
3973 review, removed g_print and #if 0 from the code.
3975 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3977 * src/hildon-edit-toolbar.c: Update documentation.
3979 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3981 * src/hildon-check-button.h
3982 * src/hildon-check-button.c
3983 (hildon_check_button_set_label, hildon_check_button_get_label)
3984 * examples/hildon-check-button-example.c
3985 (button_clicked_cb):
3986 Removed deprecated methods.
3988 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-text-view.c:
3991 Add sample code to the documentation.
3993 * src/hildon-entry.h
3994 * src/hildon-text-view.h:
3995 Minor cosmetic changes.
3997 * src/hildon-entry.c:
3998 Add sample code to the documentation.
3999 (hildon_entry_init, hildon_entry_refresh_contents):
4000 Don't allow NULL values in the placeholder.
4002 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4004 * doc/hildon-docs.sgml
4006 * examples/Makefile.am
4007 * examples/hildon-text-view-example.c
4009 * src/hildon-text-view.c
4010 * src/hildon-text-view.h
4012 New HildonTextView widget, with example.
4014 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4016 * po/POTFILES.in: Add missing files with translatable strings.
4017 Partially fixes NB#88287.
4019 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4021 * examples/hildon-pannable-area-example-2.c: (main): No need to
4022 set the cellrenderer height inside hildon touch lists, the theme does
4025 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4027 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4028 they are integrated in the theme.
4030 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4032 * examples/hildon-entry-example.c: Update the example adding
4033 widgets to modify the text and the placeholder of the HildonEntry.
4035 * src/hildon-entry.c: Show the placeholder everytime the widget
4036 is empty and loses the focus.
4038 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4040 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4042 * src/hildon-pannable-area.c,
4043 (hildon_pannable_area_size_request): Fixed bug in height
4044 requisition, avoid increasing size and add border twice.
4046 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4048 * configure.ac: postrelease version bump.
4050 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4054 * configure.ac: Prerelease version bump.
4055 * debian/changelog: update.
4056 * debian/rules: make -dbg package contain useful debugging symbols.
4058 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4060 * src/hildon-dialog.h
4061 * src/hildon-dialog.c
4062 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4063 New methods to add buttons with finger size.
4064 (hildon_dialog_new_with_buttons):
4065 Create buttons with finger size.
4067 * examples/hildon-dialog-example.c (main): Use HildonDialog
4068 methods to add buttons.
4070 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4072 * src/hildon-entry.c: Updated HildonButton documentation.
4074 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4076 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4077 button value label with (FALSE, FALSE) to prevent NB#88126 from
4080 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4082 * examples/hildon-pannable-area-example.c,
4083 (main): Removed examples panning a vbox inside a pannable
4084 area. Check bug NB#87965
4086 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4088 Patch contributed by Kris Rietveld (kris@imendio.com)
4090 * src/hildon-pannable-area.c,
4091 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4092 get_size and get_position, this saves an X server roundtrip.
4094 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4096 * doc/hildon-docs.sgml
4098 * examples/Makefile.am
4099 * examples/hildon-entry-example.c
4101 * src/hildon-entry.c
4102 * src/hildon-entry.h
4104 New HildonEntry widget, with example.
4106 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4108 * src/hildon-button.c (hildon_button_construct_child): Pack the
4109 image with expand == fill == FALSE. This is a workaround for a bug
4112 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4114 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4115 labels for the text column, to make it more look more dynamic.
4117 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4119 * src/hildon-time-selector.c
4120 Define gettext auxiliar macro N_
4121 (_create_minutes_model)
4122 (_create_hours_model)
4123 (_create_ampm_model): use of strftime in order to fill the model
4124 * src/hildon-date-selector.c
4125 (hildon_date_selector_finalize):
4126 (_locales_init): remove the logic related to get the name of the months
4127 using nl_langinfo, as it is not required anymore
4129 (_create_year_model)
4130 (_create_month_model)
4131 (_update_day_model): use of strftime in order to fill the model properly
4134 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4136 * src/hildon-button.h
4137 * src/hildon-button.c (hildon_button_get_image): New method to
4140 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4142 * src/hildon-touch-selector.c:
4143 (hildon_touch_selector_remove_column): Remove from the correct parent
4144 and also remove the list element and free it.
4147 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4149 * src/hildon-time-selector.c
4150 (_create_hours_model): change the range on 12h ampm format in order to use
4151 a 12-11 range instead of previous 01-12 range
4152 (hildon_time_selector_set_time): change the way to select the current time
4153 on 12h ampm format, due the change on the range
4154 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4157 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4159 * src/hildon-touch-selector.c
4160 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4161 in order to allow use this function on multiple row selection mode if
4162 the column is different that the first one
4165 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4167 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4168 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4170 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4172 * src/hildon-date-selector.h: clean some comments, now on the .c
4173 * src/hildon-date-selector.c
4174 (hildon_date_selector_select_month): first implementation
4175 (hildon_date_selector_select_day): added documentation, reimplemented
4176 using hildon_date_selector_select_current_date to avoid repeat code
4179 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4181 Reviewed interaction logic based on device experiences, refactored
4184 * src/hildon-pannable-area.c,
4185 (hildon_pannable_area_class_init): Updated default vmax speed.
4186 (hildon_pannable_area_calculate_velocity): Added this function, it
4187 avoids duplicate valocity calculation. Adjusted calculation to
4188 avoid problems with zero dist events.
4190 (hildon_pannable_area_motion_notify_cb): Now we use the
4191 calculate_velocity function.
4193 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4195 * src/hildon-date-selector.c
4196 (hildon_date_selector_select_current_date): fix the day range check
4197 as it failed using the last day of the current month
4200 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4202 * src/hildon-touch-selector.c
4203 (hildon_touch_selector_get_num_columns): added a parameter validation
4206 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4208 * examples/Makefile.am
4209 * examples/hildon-edit-toolbar-example.c: Example of the
4210 HildonEditToolbar widget.
4212 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4214 * configure.ac: postrelease version bump.
4216 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4220 * configure.ac: prerelease version bump.
4221 * debian/changelog: update.
4223 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4225 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4226 renderer to display stock icons in the touch list. Also, set the sizes
4227 to the recommended in the style guide.
4229 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4230 * src/hildon-touch-selector.h
4231 (hildon_touch_selector_set_active_iter): renamed, now is
4232 hildon_touch_selector_select_iter
4233 (hildon_touch_selector_get_active_iter): renamed, now is
4234 hildon_touch_selector_get_selected
4235 (hildon_touch_selector_unselect_iter): added
4236 * src/hildon-touch-selector.c
4237 Update after API modification (methods renamed)
4238 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4239 order to avoid problems selecting multiple elements on the column
4240 (hildon_touch_selector_unselect_iter): added the implementation
4241 * src/hildon-time-selector.c
4242 * src/hildon-date-selector.c
4243 * src/hildon-touch-selector-entry.c
4244 Update methods calls after hildon-touch-selector.h API modification (methods
4247 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4249 * src/hildon-stackable-window.c
4250 (hildon_stackable_window_finalize): Call the parent class's finalize.
4252 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4254 * examples/hildon-touch-selector-example.c: (create_selector): Use
4255 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4258 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4260 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4261 set a cell background color, to respect theming.
4263 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4265 * doc/hildon-docs.sgml
4268 * src/hildon-edit-toolbar.c
4269 * src/hildon-edit-toolbar.h
4270 * src/hildon.h: New HildonEditToolbar widget.
4272 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4274 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4277 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4278 * src/hildon-touch-selector.c
4279 (_create_new_column): use g_object_set instead of two g_object_set_property
4281 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4282 * src/hildon-touch-selector.c
4283 (_create_new_column): use of hildon_gtk_tree_view_new to create
4284 the treeview, instead of use directly g_object_new
4285 (_create_new_column): update the property name "vindicator-mode" for the
4286 new one "vscrollbar-policy"
4287 * examples/hildon-date-button-example.c
4288 * examples/hildon-picker-button-multicolumn-example.c
4289 * examples/hildon-touch-selector-entry-example.c
4290 * examples/hildon-touch-selector-example.c
4291 * examples/hildon-time-button-example.c
4292 * examples/hildon-picker-button-example.c
4293 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4294 to all the treeviews inside a pannable area.
4296 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4298 * src/hildon-button.h
4299 * src/hildon-button.c (hildon_button_init)
4300 (hildon_button_set_arrangement, hildon_button_set_alignment)
4301 (hildon_button_set_title_alignment)
4302 (hildon_button_set_value_alignment)
4303 (hildon_button_set_image_alignment)
4304 (hildon_button_construct_child): New methods to set the alignment
4305 of the individual components of the button (title, value,
4306 image). Also, new method to alter the xscale and yscale properties
4307 of the GtkAlignment inside the button, so more complex layouts can
4310 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4312 * src/hildon-button.c (hildon_button_style_set)
4313 (hildon_button_class_init, hildon_button_set_arrangement)
4314 (hildon_button_construct_child): Apply style properties
4315 correctly. Use the 'image-spacing' style property too.
4317 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4319 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4320 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4323 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4325 * src/hildon-pannable-area.c,
4326 (hildon_pannable_area_size_request): Fixed problem with
4327 pannable-area size_request.
4329 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4331 Added management for the grab-focus to a child widget, like a
4332 range, we need to fade out the scrollbar when releasing.
4334 * src/hildon-pannable-area.c,
4335 (hildon_pannable_area_init): Connected the grab-focus signal to
4337 (hildon_pannable_area_grab_notify): Added this function in order
4338 to manage the situation when the grab-focus ends. We have to
4339 fade-out the scrollbar.
4341 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4343 * src/hildon-app-menu.c: Minor documentation update.
4345 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4347 * src/hildon-app-menu.c
4348 * examples/hildon-app-menu-example.c (create_menu): Update
4349 examples and documentation to explain how to connect callbacks.
4351 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4353 * examples/hildon-button-example.c
4354 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4355 hildon_stackable_window_new instead of gtk_window_new
4357 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4359 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4360 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4361 (hildon_pannable_area_set_property),
4362 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4363 (hildon_pannable_area_unrealize),
4364 (hildon_pannable_area_size_request),
4365 (hildon_pannable_area_size_allocate),
4366 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4367 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4368 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4369 (hildon_pannable_area_initial_effect),
4370 (hildon_pannable_area_redraw),
4371 (hildon_pannable_area_scroll_indicator_fade),
4372 (hildon_pannable_area_expose_event),
4373 (hildon_pannable_area_get_topmost), (synth_crossing),
4374 (hildon_pannable_area_button_press_cb),
4375 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4376 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4377 (hildon_pannable_area_motion_notify_cb),
4378 (hildon_pannable_area_button_release_cb),
4379 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4380 (hildon_pannable_area_remove),
4381 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4382 chage the code layout to a more GtkWidget like. Review the use of
4385 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4387 * examples/hildon-pannable-area-example-4.c,
4388 (main): Modified the name of the hindicator_mode to
4391 * src/hildon-pannable-area.c,
4392 (hildon_pannable_area_class_init),
4393 (hildon_pannable_area_motion_notify_cb),
4394 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4395 we have reduced the amount of signals and managed reviewed its
4396 rationale. Changed the default decelerate value.
4398 (hildon_pannable_area_add),
4399 (hildon_pannable_area_redraw): Refactored functions.
4401 (hildon_pannable_area_init),
4402 (hildon_pannable_area_get_property),
4403 (hildon_pannable_area_set_property):
4404 (hildon_pannable_draw_vscroll),
4405 (hildon_pannable_draw_hscroll),
4406 (hildon_pannable_area_initial_effect),
4407 (hildon_pannable_area_expose_event),
4408 (hildon_pannable_area_scroll),
4409 (hildon_pannable_area_button_press_cb),
4410 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4411 and vindicator_mode with hscrollbar_policy and
4412 vscrollbar_policy. Replaced hscroll and vscroll with
4413 hscroll_visible and vscroll_visible.
4415 (hildon_pannable_area_refresh): Refactor the function, remove
4416 variables and check the calls to this function, added resize
4417 conditions in case the children change their layout.
4419 (hildon_pannable_area_size_request): Added more detailed
4420 size_request calculation.
4423 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4425 * src/hildon-color-chooser.c
4426 (init_borders): use the correct gtk_border_free instead of g_free, to
4427 avoid a crash when this widget is used (ie: the three color selection
4430 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4432 * src/hildon-check-button.c,
4433 (hildon_check_button_set_active): Fixed problem when setting the
4434 active value, the widget was not redrawn.
4436 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4438 * src/hildon-pannable-area.c,
4439 (hildon_pannable_area_refresh),
4440 (hildon_pannable_area_scroll),
4441 (hildon_pannable_area_motion_notify_cb): Small code style change.
4443 (hildon_pannable_area_class_init): Default initial_hint set to
4444 FALSE, it is not in the specs.
4446 (hildon_pannable_area_initial_effect),
4447 (hildon_pannable_area_expose_event),
4448 (hildon_pannable_area_map),
4449 (hildon_pannable_area_init): Moved the launching point of the
4450 initial effect, it was in map but the sizes where not correct in
4451 that method so we do not know if we have the reproduce it. Now it
4452 is placed in the expose_event method and uses a variable to
4453 reproduce it just once.
4455 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4457 * src/hildon-pannable-area.c,
4458 (hildon_pannable_draw_vscroll),
4459 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4460 position allowed for the scrollbars.
4462 (hildon_pannable_area_size_allocate): Small style change.
4464 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4466 * src/hildon-pannable-area.c,
4467 (hildon_pannable_area_scroll_indicator_fade),
4468 (hildon_pannable_area_button_press_cb),
4469 (hildon_pannable_area_button_release_cb),
4470 (hildon_pannable_area_scroll_cb),
4471 (hildon_pannable_area_expose_event),
4472 (hildon_pannable_area_init): Added the define parameter
4473 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4474 and refactor the fade variable.
4476 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4478 * src/hildon-pannable-area.c,
4479 (hildon_pannable_area_redraw),
4480 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4481 lines, we were reimplemeting the redraw code.
4483 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4485 * src/hildon-pannable-area.c,
4486 (hildon_pannable_area_scroll_cb),
4487 (hildon_pannable_area_realize),
4488 (hildon_pannable_area_class_init): Added scroll_event management
4489 for pannable area, now we can scroll the usual desktop method.
4491 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4492 initialization of the parameters should depend on idle_id.
4494 (hildon_pannable_area_init),
4495 (hildon_pannable_area_map): Small code style modifications
4497 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4499 * src/hildon-pannable-area.c
4500 (hildon_pannable_area_button_press_cb),
4501 (hildon_pannable_area_motion_notify_cb),
4502 (hildon_pannable_area_button_release_cb),
4503 (hildon_pannable_area_size_allocate),
4504 (hildon_pannable_area_scroll_to): Improved the timeouts
4505 management, we avoid creating them each time.
4507 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4509 * src/hildon-pannable-area.c:
4510 (hildon_pannable_area_refresh),
4511 (hildon_pannable_area_motion_notify_cb),
4512 (hildon_pannable_area_class_init):
4513 * src/hildon-pannable-area.h:
4514 * src/hildon-touch-selector.c
4515 (_create_new_column):
4516 * examples/hildon-pannable-area-example-4.c:
4517 (horizontal_movement),
4518 (vertical_movement),
4520 Replaced the names of enums in the HildonPannableArea:
4521 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4522 HILDON_MOVEMENT_MODE_*
4523 - HILDON_PANNABLE_AREA_MOV_* ->
4525 - Removed HildonPannableAreaIndicatorMode, now we
4528 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4530 * examples/hildon-pannable-area-touch-grid-example.c
4531 * examples/hildon-pannable-area-touch-list-example.c: Fix
4532 compilation warnings.
4534 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-gtk.c (hildon_gtk_button_new)
4537 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4538 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4539 images overriding the value of the "gtk-button-images" setting.
4541 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4543 * src/hildon-check-button.c (hildon_check_button_new):
4544 Instead of using a custom container, display the label and the
4545 checkbox using the standard GtkButton API.
4547 * examples/hildon-check-button-example.c (main): Don't use
4548 hildon_check_button_set_label() anymore
4550 * src/hildon-check-button.h
4551 * src/hildon-check-button.c
4552 (hildon_check_button_set_label, hildon_check_button_get_label):
4553 Set as deprecated, now we're using gtk_button_{get,set}_label()
4555 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4557 * src/hildon-pannable-area.c,
4558 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4559 GtkTreeview first line we detected it after the inclusion of the
4560 GtkWindowImpl in gtk+. We now check if the window is visible, not
4561 just if the pointer is over the window.
4562 (hildon_pannable_axis_scroll),
4563 (hildon_pannable_area_expose_event): Small style changes.
4565 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4567 * src/hildon-button.c: Update documentation.
4569 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4571 * examples/hildon-button-example.c: Add a switch to show images in
4574 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4576 * doc/hildon-docs.sgml: Some docs reorganization.
4578 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4580 * examples/hildon-pannable-area-touch-list-example.c
4582 * examples/hildon-pannable-area-touch-grid-example.c
4583 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4584 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4585 Fix memory leak when setting the tree model.
4587 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4591 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4593 * doc/hildon.types: Remove duplicated hildon_window_get_type
4594 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4595 documentation comment.
4597 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4599 * doc/Makefile.am: Complete list of private headers.
4601 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4603 * doc/hildon-docs.sgml
4604 * src/hildon-app-menu.c
4605 * src/hildon-bread-crumb.c
4606 * src/hildon-button.c
4608 * src/hildon-program.c
4609 * src/hildon-stackable-window.c
4610 * src/hildon-window.c: Lots of documentation updates.
4612 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4614 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4616 * configure.ac: Require Gtk+ 2.12.9 at least
4618 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4620 * src/hildon-pannable-area.c
4621 (hildon_pannable_area_scroll_indicator_fade),
4622 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4623 to protect the return of this timeout callbacks, avoiding deadlocks.
4625 2008-08-12 Christian Dywan <christian@imendio.com>
4628 * src/hildon-*.h: Ensure a consistent include order,
4629 include <gtk/gtk.h> instead of particular files and
4630 only include the topmost header in the gtk stack. See NB #39857
4632 2008-08-12 Christian Dywan <christian@imendio.com>
4634 * src/hildon-picker-dialog.c
4635 * src/hildon-touch-selector.c: Fix warnings about unused and
4636 uninitialized variables.
4638 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4640 * examples/Makefile.am
4641 * examples/hildon-check-button-example.c: Example of the hildon
4644 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4646 * src/hildon-window.h
4647 * src/hildon-window.c (hildon_window_class_init)
4648 (hildon_window_unset_program): Don't make
4649 hildon_window_unset_program a virtual function anymore.
4651 * src/hildon-stackable-window.c: Update documentation
4653 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4656 * doc/hildon-docs.sgml
4657 * doc/visual_index.xml
4658 * src/hildon-defines.c
4660 * src/hildon-helper.c
4661 * src/hildon-range-editor.c: Lots of documentation fixes.
4663 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4665 * examples/hildon-picker-button-multicolumn-example.c
4666 (create_touch_selector): Fix compilation warning.
4668 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4670 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4671 (hildon_pannable_area_button_release_cb)
4672 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4674 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4676 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4679 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4681 * src/hildon-bread-crumb-trail.h
4682 * src/hildon-date-editor.c
4683 * src/hildon-date-selector.c
4684 * src/hildon-pannable-area.c
4685 * src/hildon-picker-dialog.c
4686 * src/hildon-time-selector.c
4687 * src/hildon-touch-selector-entry.c
4688 * src/hildon-touch-selector.c
4689 * src/hildon-touch-selector.h: Misc documentation fixes
4691 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4693 * examples/hildon-date-editor-example.c (main): Updated date
4696 * examples/hildon-note-example.c (on_confirmation_clicked):
4697 Updated confirmation note example.
4699 * src/hildon-date-editor.c
4700 * src/hildon-note.c: Updated sample programs in documentation.
4703 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4705 * src/hildon-date-button.h:
4706 * src/hildon-picker-button.h:
4707 * src/hildon-time-button.c:
4708 * src/hildon-time-button.h:
4710 Some declarations changes to allow gtk-doc to document the widgets
4713 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4715 * src/hildon-date-button.c: Document the widget.
4716 * src/hildon-time-button.c: Document the widget.
4718 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4720 * src/hildon-picker-button.c: Document the widget.
4721 * src/hildon-touch-selector-entry.c: Document the widget.
4723 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4725 * doc/hildon-docs.sgml
4728 * src/hildon-check-button.h
4729 * src/hildon-check-button.c: New functions to create the Hildon
4733 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4735 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4737 * src/hildon-button.h
4738 * src/hildon-button.c
4739 (hildon_button_add_title_size_group)
4740 (hildon_button_add_value_size_group)
4741 (hildon_button_add_image_size_group)
4742 (hildon_button_add_size_groups): New functions to set size groups
4743 for the button labels and image.
4744 (hildon_button_new_full): Removed
4746 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4748 * src/hildon-time-selector.c
4749 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4750 in order to avoid a crash if gconf is not available
4752 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-button.c (hildon_button_set_arrangement)
4755 (hildon_button_construct_child): Don't construct the button child
4756 before setting the arrangement.
4758 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4760 * src/hildon-program-private.h
4761 * src/hildon-program.c
4762 * src/hildon-program.h
4763 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4764 (hildon_program_peek_window_stack)
4765 (hildon_program_pop_window_stack)
4766 (hildon_program_go_to_root_window): HildonProgram now has a
4767 separate list for stackable windows. Functions are provided to
4768 manage that list with a stack-like API.
4770 * src/hildon-stackable-window.c: Stackable window management is
4771 now much simpler with the new HildonProgram API. Windows no
4772 longer need to be manually added to the program, they're
4773 automatically pushed to the top of the stack when shown.
4775 * examples/hildon-stackable-window-example.c: Updated example to
4776 reflect the API changes.
4778 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4780 * src/hildon-touch-selector.c: Comment out unimplemented
4781 hildon_touch_selector_insert_column() to avoid a compile warning.
4783 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4785 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4786 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4787 (hildon_touch_selector_set_column_selection_mode),
4788 (_hildon_touch_selector_set_model),
4789 (hildon_touch_selector_set_model):
4791 Complete review of HildonTouchSelector documentation.
4793 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4795 * doc/hildon-docs.sgml
4799 * src/hildon-gtk.c: Convenience functions for standard Gtk
4800 widgets, used to easily perform frequent operations.
4802 * src/hildon-button-helpers.h
4803 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4805 * src/hildon-helper.h
4806 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4807 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4809 * src/hildon-button.h
4810 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4812 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4814 * src/hildon-button.c (hildon_button_init)
4815 (hildon_button_set_arrangement, hildon_button_construct_child):
4816 Pack the image and the labels inside the same GtkAlignment so
4817 gtk_button_set_alignment() can be used
4819 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4821 * src/hildon-button.h
4822 * src/hildon-button.c
4823 (hildon_button_init, hildon_button_set_image)
4824 (hildon_button_set_image_position)
4825 (hildon_button_construct_child): New functions to add an image to
4828 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4830 * src/hildon-date-button.c
4831 * src/hildon-picker-button.c
4832 * src/hildon-time-button.c
4833 * src/hildon-button.c:
4834 (hildon_button_class_init): "size-flags" renamed to "size"
4835 (hildon_button_set_title): Hide the title label if set to NULL.
4837 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4839 HildonButtonFlags split into HildonButtonArrangement (to set the
4840 button layout) and HildonSizeType (which can be used for any
4843 * src/hildon-button.h
4844 * src/hildon-button.c
4845 (hildon_button_class_init)
4846 (hildon_button_set_arrangement)
4847 (hildon_button_set_property): New "size-flags"
4848 property. "arrangement-flags" renamed to "arrangement".
4849 (hildon_button_new, hildon_button_new_with_text)
4850 (hildon_button_new_full): Constructors updated to reflect type changes.
4852 * src/hildon-helper.h
4853 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4854 to set the size of a widget.
4858 * src/hildon-button-helpers.c
4859 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4861 * src/hildon-date-button.c
4862 * src/hildon-date-button.h
4863 * src/hildon-picker-button.c
4864 * src/hildon-picker-button.h
4865 * src/hildon-time-button.c
4866 * src/hildon-time-button.h: Updated widgets to reflect
4867 HildonButton API changes.
4869 * examples/hildon-button-example.c
4870 * examples/hildon-date-button-example.c
4871 * examples/hildon-picker-button-example.c
4872 * examples/hildon-picker-button-multicolumn-example.c
4873 * examples/hildon-time-button-example.c
4874 * examples/hildon-touch-selector-entry-example.c
4875 * examples/hildon-touch-selector-example.c: Updated examples to
4876 reflect HildonButton API changes.
4878 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4880 * doc/hildon-docs.sgml:
4882 * examples/Makefile.am:
4883 * examples/hildon-touch-selector-entry-example.c:
4885 * src/hildon-touch-selector-entry.c:
4886 * src/hildon-touch-selector-entry.h:
4889 Moved HildonTouchSelectorEntry from sandbox. Added its
4890 documentation and examples.
4892 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4894 * src/hildon-touch-selector.h:
4895 * examples/hildon-picker-button-multicolumn-example.c:
4896 (hildon_touch_selector_append_text_column): Add a gboolean
4897 parameter to determine if text must be centered in the column.
4899 * src/hildon-date-selector.c: (hildon_date_selector_init):
4900 * src/hildon-time-selector.c: (hildon_time_selector_init):
4901 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4902 (create_touch_selector): Update widgets and example to reflect
4905 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4907 * src/hildon-touch-selector.c:
4908 (hildon_touch_selector_set_active_iter): Set also the cursor in
4911 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4913 * doc/hildon-docs.sgml
4916 * src/hildon-toggle-button.c
4917 * src/hildon-toggle-button.h
4918 * src/hildon.h: Removed HildonToggleButton widget, a derived
4919 class is not necessary for this.
4921 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4923 * src/hildon-pannable-area.c,
4924 (hildon_pannable_area_realize),
4925 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4928 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4930 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4931 "done" button the default widget for the dialog.
4933 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-touch-selector.c:
4936 (hildon_touch_selector_class_init),
4937 (hildon_touch_selector_get_property),
4938 (_hildon_touch_selector_set_model),
4939 (_hildon_touch_selector_has_multiple_selection),
4940 (hildon_touch_selector_has_multiple_selection):
4941 Add a "has-multiple-selection" property with a virtual
4942 has_multiple_selection() method to allow derived classes to
4943 override the default value for it. See the method and property
4944 documentation for details.
4946 * src/hildon-touch-selector.h: Add the new API.
4948 * src/hildon-picker-dialog.c: (requires_done_button): Call
4949 hildon_touch_selector_has_multiple_selection() instead of
4950 determining the need for a button itself.
4952 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4954 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4955 (_hildon_touch_selector_set_model),
4956 (hildon_touch_selector_set_model): Move working code to
4957 _hildon_touch_selector_set_mode(). Call the class method instead.
4959 * src/hildon-touch-selector.h: Add (*set_model) to
4960 HildonTouchSelectorClass.
4962 Make hildon_touch_selector_set_model() a virtual method, so that
4963 derived classes can extend it and do fancy stuff with the model.
4965 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4967 * configure.ac: Set back the tarname in AC_INIT to hildon.
4969 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4973 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4974 instead of libesd (NB#86876). Volume handling is still an open issue.
4976 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4979 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4981 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4982 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4983 derived class to ease placement of an entry widget in
4984 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4985 end, where the selector columns are packed now.
4987 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4989 * src/hildon-picker-button.c: Removed the simple _text() API.
4990 * src/hildon-picker-button.h: Likewise.
4992 * src/hildon-touch-selector.h:
4993 * src/hildon-touch-selector.c:
4994 (hildon_touch_selector_new_text),
4995 (hildon_touch_selector_append_text),
4996 (hildon_touch_selector_prepend_text),
4997 (hildon_touch_selector_insert_text):
4999 Moved the simple _text() API from HildonPickerButton to
5000 HildonTouchPicker, to provide better escalability and not to tie
5001 that API to HildonPickerButton.
5003 * examples/hildon-picker-button-example.c: (main): Example updated.
5005 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5007 * src/hildon-button.c: Updated documentation.
5009 * examples/hildon-button-example.c: Add the posibility to create
5010 the buttons using horizontal layout for title and value.
5012 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-app-menu-private.h
5015 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5016 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5017 GtkSizeGroup for the filters, use the 'homogeneous' property of
5020 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5022 * examples/hildon-button-example.c: Updated example.
5024 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5026 * doc/hildon-docs.sgml:
5029 Update documentation.
5031 * examples/Makefile.am: Update renamed examples.
5033 * examples/hildon-picker-button-multicolumn-example.c:
5034 (create_touch_selector), (main): Update after the rename.
5036 * examples/hildon-touch-picker-example.c: Removed.
5037 * examples/hildon-touch-selector-example.c: (value_changed),
5038 (create_selector), (get_visible_content), (main): Renamed from
5039 hildon-touch-picker-example.c
5041 * src/Makefile.am: Updated renamed files.
5043 * src/hildon-date-button.c: (hildon_date_button_init),
5044 (hildon_date_button_get_date), (hildon_date_button_set_date):
5045 * src/hildon-date-selector.c: (hildon_date_selector_init),
5046 (_custom_print_func), (_update_day_model),
5047 (_manage_selector_change_cb),
5048 (hildon_date_selector_select_current_date),
5049 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5050 * src/hildon-date-selector.h:
5051 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5052 (hildon_picker_button_set_property),
5053 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5054 (hildon_picker_button_init), (hildon_picker_button_new_text),
5055 (hildon_picker_button_append_text),
5056 (hildon_picker_button_prepend_text),
5057 (hildon_picker_button_insert_text),
5058 (hildon_picker_button_set_selector),
5059 (hildon_picker_button_get_selector):
5060 * src/hildon-picker-button.h:
5061 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5062 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5063 (_update_title_on_selector_changed_cb), (requires_done_button),
5064 (_hildon_picker_dialog_set_selector),
5065 (hildon_picker_dialog_set_selector),
5066 (hildon_picker_dialog_get_selector):
5067 * src/hildon-picker-dialog.h:
5068 * src/hildon-time-button.c: (hildon_time_button_init),
5069 (hildon_time_button_get_time), (hildon_time_button_set_time):
5070 * src/hildon-time-selector.c: (hildon_time_selector_init),
5071 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5072 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5073 * src/hildon-time-selector.h:
5076 Massive code updates after the rename.
5078 * src/hildon-touch-picker.c: Removed.
5079 * src/hildon-touch-picker.h: Removed.
5081 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5082 (hildon_touch_selector_init), (hildon_touch_selector_map),
5083 (hildon_touch_selector_remove), (_default_print_func),
5084 (_selection_changed_cb), (_create_new_column),
5085 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5086 (hildon_touch_selector_append_text_column),
5087 (hildon_touch_selector_remove_column),
5088 (hildon_touch_selector_set_column_attributes),
5089 (hildon_touch_selector_insert_column),
5090 (hildon_touch_selector_get_num_columns),
5091 (hildon_touch_selector_get_column_selection_mode),
5092 (hildon_touch_selector_set_column_selection_mode),
5093 (hildon_touch_selector_set_print_func),
5094 (hildon_touch_selector_get_print_func),
5095 (hildon_touch_selector_get_active_iter),
5096 (hildon_touch_selector_set_active_iter),
5097 (hildon_touch_selector_get_selected_rows),
5098 (hildon_touch_selector_get_model),
5099 (hildon_touch_selector_set_model),
5100 (hildon_touch_selector_get_current_text),
5101 (_hildon_touch_selector_center_on_selected_items):
5102 * src/hildon-touch-selector.h: Renamed from
5103 hildon-touch-picker.[ch]
5105 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5106 references, code examples, and related documentation.
5108 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5110 * doc/hildon-docs.sgml
5113 * src/hildon-toggle-button.c
5114 * src/hildon-toggle-button.h
5115 * src/hildon.h: New HildonToggleButton widget.
5117 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5119 * src/hildon-button.c: Add API documentation.
5120 (hildon_button_set_size_groups): Check input parameters
5122 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5124 * src/hildon-pannable-area.c
5125 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5126 effect after reaching the movement thredshold. This way we start
5127 using the distance after passing the thredshold.
5129 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5131 * src/hildon-button.c: (hildon_button_set_property): Use the
5132 appropriate g_value_get_flags() method.
5134 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5136 * doc/hildon-docs.sgml:
5139 Add the touch pickers, picker dialogs, and picker button widgets
5140 to the documentation.
5142 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5144 * src/hildon-button.c: (hildon_button_set_property),
5145 (hildon_button_class_init): Make "arrangement-flags" a proper
5146 G_TYPE_FLAGS derived property.
5148 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5150 * examples/Makefile.am: Add below examples.
5151 * examples/hildon-date-button-example.c:
5152 * examples/hildon-picker-button-example.c:
5153 * examples/hildon-picker-button-multicolumn-example.c:
5154 * examples/hildon-time-button-example.c:
5155 * examples/hildon-touch-picker-example.c:
5157 Add examples for the recently added touch pickers,
5158 picker dialogs, and picker button widgets.
5160 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5162 * src/hildon-button.c: Add some API documentation
5164 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5166 * src/hildon-button.h
5167 * src/hildon-button.c
5169 (hildon_button_new_with_text): New constructor to create a button
5170 with no text at all.
5171 (hildon_button_init, hildon_button_set_arrangement)
5172 (hildon_button_set_title, hildon_button_set_value)
5173 (hildon_button_set_text)
5174 (hildon_button_construct_child): Hide the value when it's not used
5175 so the rest of the text is properly aligned.
5176 Allow creating buttons with arbitrary widgets inside (not just
5177 title/value labels).
5179 * examples/hildon-button-example.c (vertical_buttons_window)
5180 (horizontal_buttons_window): Update example to use new API.
5182 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5184 * src/Makefile.am: Added HildonTimeButton.
5185 * src/hildon-time-button.c: Added missing LGPL header.
5186 * src/hildon-time-button.h: Added missing LGPL header.
5187 * src/hildon.h: Add hildon-time-button.h
5189 Copied HildonTimeButton from sandbox to trunk. Future work on this
5190 widget must take place in trunk.
5192 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5194 * src/Makefile.am: Added HildonDateButton.
5195 * src/hildon-date-button.c: Update includes.
5196 * src/hildon.h: Add hildon-date-button.h
5198 Copied HildonDateButton from sandbox to trunk. Future work on this
5199 widget must take place in trunk.
5201 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5203 * src/Makefile.am: Added HildonPickerButton.
5204 * src/hildon-picker-button.h: Update includes.
5205 * src/hildon.h: Add hildon-picker-button.h
5207 Copied HildonPickerButton from sandbox to trunk. Future work on
5208 this widget must take place in trunk.
5210 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5212 * src/Makefile.am: Added HildonPickerDialog.
5213 * src/hildon-picker-dialog.c: Update includes.
5214 * src/hildon.h: Add hildon-picker-dialog.h
5216 Copied HildonPickerDialog from sandbox to trunk. Future work
5217 on this widget must take place in trunk.
5219 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5221 * src/Makefile.am: Added HildonTimeSelector.
5222 * src/hildon.h: Add hildon-time-selector.h
5224 Copied HildonTimeSelector widget from sandbox to trunk. Future
5225 work on this widget must happen in trunk.
5227 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5229 * src/Makefile.am: Added HildonDateSelector.
5230 * src/hildon.h: Add hildon-date-selector.h
5232 Copied HildonDateSelector widget from sandbox to trunk. Future
5233 work on this widget must happen in trunk.
5235 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5237 * src/Makefile.am: Added HildonTouchPicker.
5238 * src/hildon-touch-picker.c: Update includes.
5239 * src/hildon.h: Add hildon-touch-picker.h
5241 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5242 on this widget must happen in trunk.
5244 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5246 * src/hildon-pannable-area.c:
5247 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5249 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5251 * examples/hildon-app-menu-example.c (main): Let the window
5254 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5256 * src/hildon-pannable-area.c
5257 (hildon_pannable_area_class_init): Set the min value of the
5258 overshoot properties to zero, which points out that not
5259 overshooting allowed.
5261 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5263 Modified the procedure to get the widget at a point inside the
5264 pannable area when using the movement type signals. Now the user
5265 has to call a function to get the child, that way we just
5266 calculate the child in case the user really want to use it and not
5269 * src/hildon-marshalers.list: Modified the marshallers, now we do
5270 not have the widget as a parameter.
5272 * src/hildon-pannable-area.c
5273 (hildon_pannable_area_motion_notify_cb),
5274 (hildon_pannable_area_class_init),
5275 (hildon_pannable_get_child_widget_at): Removed the widget
5276 parameter from the signal callback. We have also refactored the
5277 emission of the signals.
5279 * src/hildon-pannable-area.h: Added a new method to the API to
5280 calculate a widget at a point inside the pannable area,
5281 hildon_pannable_get_child_widget_at.
5283 * examples/hildon-pannable-area-example-4.c
5284 (horizontal_movement): Modified the example to use the new API,
5285 added condition to control which widget is under the event. This
5286 way we can avoid scrolling laterally over other widgets.
5288 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5290 * src/hildon-pannable-area.c
5291 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5292 modes, we stop getting the pointer events due to returning the
5293 callback without properly calling the get pointer again. Fixed
5294 also an error using the hscroll and vscroll.
5296 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5298 * src/hildon-app-menu-private.h
5299 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5300 (hildon_app_menu_button_release, hildon_app_menu_init)
5301 (hildon_app_menu_class_init): Don't hide the menu on button
5302 release if the user didn't press outside first.
5304 * src/hildon-window.h
5305 * src/hildon-window.c (hildon_window_toggle_menu)
5306 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5307 hildon_window_toggle_menu a virtual function for the stackable
5308 window to override it.
5310 * src/hildon-stackable-window.h
5311 * src/hildon-stackable-window-private.h
5312 * src/hildon-stackable-window.c
5313 (hildon_stackable_window_realize)
5314 (hildon_stackable_window_finalize)
5315 (hildon_stackable_window_class_init)
5316 (hildon_stackable_window_init)
5317 (hildon_stackable_window_set_main_menu): New function to set the
5318 app menu of a HildonStackableWindow.
5320 * examples/hildon-app-menu-example.c: Remove the button to show
5321 the app menu, now it'll be shown when clicking on the title bar
5324 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5326 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5327 set the widget name if the arrangement flags do not specify
5330 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/hildon-button.c: (hildon_button_set_property),
5333 (hildon_button_class_init), (hildon_button_new_full),
5334 (hildon_button_set_arrangement): Added "arrangement-flags"
5337 Make the HildonButtonFlags a construction-only property, to allow
5338 subclasses to set them properly.
5340 2008-07-21 Tim Janik <timj@imendio.com>
5342 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5343 insertion position after backspace, so additional digits are appended,
5346 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5348 * src/hildon-pannable-area.c,
5349 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5350 TODO list, it was complete and removed the g_debug and g_print
5353 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5355 Added the movement modes to the hildon-pannable-area, with this
5356 modes the developers can control in which directions the widget
5357 can scroll. They can also connect to signals in order to do
5358 something when that happens, allowing applications scroll. There
5359 is an example uploaded showing how to use it.
5361 * examples/Makefile.am:
5362 * examples/hildon-pannable-area-example-4.c: Added this example of
5363 an application using the modes.
5365 * src/hildon-marshalers.list: Added a new marshaller for the new
5368 * src/hildon-pannable-area.h: Added new enumerations and flags in
5369 order to control the movement modes and the new signals to warn
5370 about the movements in the area.
5372 * src/hildon-pannable-area.c:
5373 (hildon_pannable_axis_scroll),
5374 (hildon_pannable_area_scroll),
5375 (hildon_pannable_area_motion_notify_cb),
5376 (hildon_pannable_area_get_property),
5377 (hildon_pannable_area_set_property),
5378 (hildon_pannable_area_map),
5379 (hildon_pannable_area_class_init),
5380 (hildon_pannable_area_init),
5381 (hildon_pannable_area_jump_to): Added the modes to control the
5382 movement in the widget. We have added properties to control it,
5383 signals to warn about the movements and refactored some code.
5385 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5387 Changes required in order to allow vfast_factor set to zero to
5390 * src/hildon-pannable-area.c:
5391 (hildon_pannable_area_button_press_cb): Changed the condition, it
5392 is required for not allowing click when vfast_factor is zero.
5393 (hildon_pannable_area_timeout): Initialized velocity variables
5394 when we stop moving, it was less than 1 but not zero and we need
5395 to check zero in some situations.
5396 (hildon_pannable_area_class_init): Changed the default value of
5397 the speed factor, now the button_press is just sent in case the
5398 speed is 2 per cent of the max speed.
5399 (hildon_pannable_area_init): Initialization with 0.
5401 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5403 * src/hildon-pannable-area.c,
5404 (hildon_pannable_area_get_topmost): replaced
5405 gdk_window_get_children with gdk_window_peek_children, this way we
5406 do not have to free the list because it is not a copy.
5408 (hildon_pannable_axis_scroll),
5409 (hildon_pannable_area_scroll),
5410 (hildon_pannable_area_timeout),
5411 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5412 two parameters that were only used inside the
5413 hildon_pannable_area_scroll function.
5415 * examples/hildon-pannable-area-example.c,
5416 (get_sawtooth_label): Fixed small memory leak.
5418 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5420 More checks for the case where the overshoot is bigger than the
5423 * src/hildon-pannable-area.c:
5424 (hildon_pannable_draw_vscroll),
5425 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5426 to draw the slider of the scrollbar under the other scrollbar.
5427 (hildon_pannable_area_expose_event): added new checks to control
5428 the drawing of the overshooting area rectangle, in case it is too
5429 big for the area of the widget.
5430 (hildon_pannable_area_size_allocate): add more checks to avoid
5431 setting a position to the child widget outside the area.
5433 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5435 * src/hildon-pannable-area.c
5436 (hildon_pannable_area_size_allocate): Added conditions to control
5437 when overshooting is bigger than the allocated space for the
5438 children, this avoids negative allocations.
5440 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5442 * doc/hildon-docs.sgml
5444 * examples/Makefile.am
5445 * examples/hildon-button-example.c
5447 * src/hildon-button.c
5448 * src/hildon-button.h
5449 * src/hildon.h: Initial version of the new HildonButton widget,
5452 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5454 * src/hildon-pannable-area.c:
5455 (hildon_pannable_area_button_press_cb),
5456 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5457 (hildon_pannable_area_motion_notify_cb),
5458 (hildon_pannable_area_button_release_cb),
5459 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5460 (hildon_pannable_area_jump_to_child):
5462 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5464 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5466 * examples/Makefile.am
5467 * examples/hildon-pannable-area-touch-grid-example.c
5468 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5469 the Hildon Touch List and Hildon Touch Grid using the
5470 HildonPannableArea widget.
5472 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5474 * src/hildon-pannable-area.c,
5475 (hildon_pannable_area_button_press_cb),
5476 (hildon_pannable_area_refresh),
5477 (hildon_pannable_area_scroll),
5478 (hildon_pannable_area_motion_notify_cb),
5479 (hildon_pannable_area_button_release_cb),
5480 (hildon_pannable_area_expose_event),
5481 (hildon_pannable_area_add),
5482 (hildon_pannable_area_remove),
5483 (hildon_pannable_area_realize),
5484 (hildon_pannable_area_size_allocate),
5485 (hildon_pannable_area_class_init),
5486 (hildon_pannable_area_init),
5487 (hildon_pannable_area_scroll_to_child),
5488 (hildon_pannable_area_jump_to_child): Fixed the problem of
5489 removing the child from the GtkBin, we have rearranged the widget
5490 hierarchy, now there is no GtkAlignment which was not doing
5491 anything interesting but breaking some of the assumptions of
5492 GtkContainer. Now developers if they want to add a GtkAlignment
5493 they could, but it is not inside the area.
5495 We had to review the whole allocation/expose process, now it is
5496 improved and we save at least three signals which would be saving
5497 some time when rendering the widget. The allocation of the
5498 scrollbars is now made in the allocate method as usual.
5500 We have also added some conditions in order to control when there
5501 is no child of the pannable area. Maybe we will need more work
5504 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5506 * src/hildon-pannable-area.c,
5507 (hildon_pannable_area_dispose): Released the fade-out timeout when
5508 disposing the widget.
5510 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5512 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5513 zero, we are going to use that property in order to deactivate the
5515 (hildon_pannable_axis_scroll),
5516 (hildon_pannable_area_size_allocate): Added conditions to control
5517 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5518 call, now it is called in all situations and we can remove calls
5519 in the allocate method.
5520 (hildon_pannable_area_map): Control the situation when
5521 overshoot_max is zero, we do not need the timeout.
5522 (hildon_pannable_area_class_init): Added documentation in order to
5523 point out that setting zero to overshoot_max means deactivate
5526 NOTE: removed trailing whitespaces from my previous comments of
5529 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5531 * src/hildon-pannable-area.c
5532 (hildon_pannable_area_get_property),
5533 (hildon_pannable_area_set_property),
5534 (hildon_pannable_area_map),
5535 (hildon_pannable_area_class_init),
5536 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5537 to cause the widget give a hint about its panning abilities upon
5540 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5542 * src/hildon-pannable-area.c: Several documentation improvements.
5544 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5546 * src/hildon-program.c
5547 * src/hildon-stackable-window.c: Update documentation.
5549 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5551 * src/hildon-stackable-window.c (get_previous_window_if_last):
5552 Renamed get_last_window()
5553 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5554 (hildon_stackable_window_unset_program):
5556 (get_previous_window_if_last):
5557 Detect if the window hasn't been added to a HildonProgram.
5559 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5561 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5563 * src/hildon-pannable-area.c
5564 (hildon_pannable_area_button_press_cb),
5565 (hildon_pannable_axis_scroll),
5566 (hildon_pannable_area_scroll),
5567 (hildon_pannable_area_timeout),
5568 (hildon_pannable_calculate_vel_factor),
5569 (hildon_pannable_area_get_property),
5570 (hildon_pannable_area_set_property),
5571 (hildon_pannable_area_class_init),
5572 (hildon_pannable_area_init),
5573 (hildon_pannable_area_scroll_to),
5574 (hildon_pannable_area_jump_to),
5575 (hildon_pannable_area_scroll_to_child),
5576 (hildon_pannable_area_jump_to_child):
5577 * src/hildon-pannable-area.h: Added the new API functions:
5578 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5579 hildon_pannable_area_scroll_to_child,
5580 hildon_pannable_area_jump_to_child
5583 * examples/Makefile.am
5584 * examples/hildon-pannable-area-example-2.c
5585 * examples/hildon-pannable-area-example-3.c: Added these two new
5586 examples in order to test and show how the new APIs work.
5588 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5590 * examples/hildon-stackable-window-example.c (new_window):
5591 * src/Makefile.am (noinst_HEADERS):
5592 * src/hildon-program.c (hildon_program_go_to_root_window):
5593 * src/hildon-program.h:
5594 * src/hildon-stackable-window-private.h:
5595 * src/hildon-stackable-window.c:
5596 * src/hildon-stackable-window.h:
5597 Create hildon-stackable-window-private.h
5598 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5600 * examples/hildon-app-menu-example.c (create_menu):
5601 * examples/hildon-hvolumebar-insensitive-example.c (main):
5602 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5603 * examples/hildon-toolbar-seekbar-example.c (main):
5604 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5605 * src/hildon-banner.c (hildon_banner_set_property):
5606 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5607 Fix compilation warnings
5609 * src/hildon-window.c:
5612 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5614 * src/hildon-stackable-window.c
5615 (hildon_stackable_window_unset_program):
5616 Calculate correctly whether to show the previous window if the
5617 last one is removed from the stack.
5618 (hildon_stackable_window_go_to_root_window):
5619 Send delete events starting from the topmost window.
5620 Stop if one of the windows is not destroyed.
5622 (hildon_stackable_window_delete_event)
5623 (hildon_stackable_window_class_init):
5624 Ignore the delete event if the window is not the topmost one.
5626 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5628 * src/hildon-pannable-area.c
5629 (hildon_pannable_area_expose_event): Fixed a problem when
5630 selecting the background color of the scrollbars.
5632 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5634 * examples/hildon-stackable-window-example.c
5635 * src/hildon-stackable-window.c
5636 * src/hildon-stackable-window.h
5637 hildon_stackable_window_go_home() renamed to
5638 hildon_stackable_window_go_to_root_window()
5639 Send delete events to windows rather than closing them with
5640 gtk_widget_destroy()
5642 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5644 * src/hildon-pannable-area.c
5645 (hildon_pannable_area_button_release_cb): Fix overshooting in
5648 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5650 * src/hildon-pannable-area.c
5651 (hildon_pannable_area_init): Initially show the scroll indicators.
5652 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5654 Add initial effect showing the widget is pannable.
5656 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5658 * src/hildon-pannable-area.c
5659 (hildon_pannable_area_class_init)
5660 (hildon_pannable_area_set_property)
5661 (hildon_pannable_area_get_property)
5662 (hildon_pannable_area_button_press_cb):
5663 New 'velocity_fast_factor' property to decide which velocity is
5666 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5668 * src/hildon-pannable-area.c
5669 (hildon_pannable_draw_hscroll)
5670 (hildon_pannable_draw_vscroll):
5671 Use float variables to calculate the size of the scrollbars to
5672 avoid error propagation and resizing during scrolling.
5674 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5676 * src/hildon-pannable-area.c
5677 (hildon_pannable_draw_vscroll)
5678 (hildon_pannable_draw_hscroll):
5679 Define a minimum size for the scroll bars
5681 * src/hildon-stackable-window.c
5682 (hildon_stackable_window_go_home): Fix compilation warning
5683 (get_last_window): Minor optimizations
5684 (hildon_stackable_window_class_init): Fix initialization of
5687 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5689 * src/hildon-stackable-window.c: Fixed typos in doc
5691 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5693 * src/hildon-pannable-area.c
5694 (hildon_pannable_area_scroll):
5695 Calculate here whether we need to scroll instead of using the booleans
5696 that tell us whether to /draw/ the scrolling bars.
5698 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5700 * src/hildon-app-menu.h
5702 * src/hildon-app-menu.c
5703 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5704 multiple filter groups related code and API. Now we support only
5706 * examples/hildon-app-menu-example.c:
5708 Update to reflect API changes.
5710 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5712 * src/hildon-stackable-window.c
5713 (hildon_stackable_window_class_init):
5714 Add hildon_stackable_window_realize.
5715 (hildon_stackable_window_realize):
5716 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5717 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5718 to apply theming and behavior specific to HildonStackableWindow
5721 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5723 * src/hildon-note.c (hildon_note_button_release):
5724 Close information notes also when tapping on them
5726 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5728 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5729 ELASTICITY, refactor and review, fix some issues with drawing
5732 * src/hildon-pannable-area.c:
5733 (hildon_pannable_area_button_press_cb): removed the conditions to
5734 avoid clicks when overshooting. It is not required
5736 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5737 define. Refatored and reviewed the code, now we do not need to
5738 manage velocity in motion_notify.
5740 (hildon_pannable_area_motion_notify_cb): We have moved the code
5741 that controls the area_scroll to the axis_scroll function and get
5742 rid of duplicated code.
5744 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5746 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5748 (hildon_pannable_draw_vscroll),
5749 (hildon_pannable_draw_hscroll): Fixed the problems with the
5750 scrollbar drawing, now we do not use two surfaces, it is easier
5751 and saves resources.
5753 (hildon_pannable_area_get_property): Style modification.
5755 (hildon_pannable_area_class_init): Changed some default values.
5757 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5759 * src/hildon-stackable-window.c: Fix some typos in the
5762 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5764 * src/hildon-dialog.c:
5765 Change indentation style
5768 (hildon_note_button_release):
5769 Use root coordinates to check if the release event happened
5772 * src/hildon-app-menu.c
5773 (hildon_app_menu_button_release):
5774 Remove unnecessary check
5776 * examples/hildon-app-menu-example.c
5778 Add cast to fix warning
5780 * src/hildon-app-menu.c
5781 (hildon_app_menu_class_init):
5782 New inner-border style property.
5783 Set all default spacings to 16
5784 (hildon_app_menu_init):
5785 Use vertical-spacing to set the space between filter buttons and
5786 regular menu buttons.
5787 Set the default container border using the inner-border value.
5789 * examples/hildon-app-menu-example.c
5791 Don't set the menu border explicitly, now we have the inner-border
5792 style property for that.
5794 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5796 * src/hildon-app-menu.c (hildon_app_menu_init):
5797 Make the window modal
5799 * src/hildon-note.c (hildon_note_map)
5800 * src/hildon-app-menu.c (hildon_app_menu_map):
5801 Destroy the grab window if we're unable to grab the pointer
5803 * src/hildon-app-menu-private.h
5804 * src/hildon-app-menu.c
5805 (hildon_app_menu_init, hildon_app_menu_finalize)
5806 (hildon_app_menu_map, hildon_app_menu_unmap)
5807 (hildon_app_menu_button_release)
5808 (grab_transfer_window_get):
5809 Bring back the grab window
5810 (hildon_app_menu_realize):
5811 Decorate the window, set WM hint for Matchbox
5813 * src/hildon-note.c (hildon_note_realize):
5814 * src/hildon-banner.c (hildon_banner_realize):
5815 Add WM hints for Matchbox
5817 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-app-menu-private.h
5820 * src/hildon-app-menu.c
5821 (hildon_app_menu_init, hildon_app_menu_finalize)
5822 (hildon_app_menu_map, hildon_app_menu_unmap)
5823 (hildon_app_menu_button_release):
5824 Remove the grab window, it's not needed anymore
5826 * src/hildon-program.c
5827 Fixed typo in documentation
5829 * src/hildon-app-menu.h
5830 * src/hildon-app-menu.c
5831 * examples/hildon-app-menu-example.c
5832 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5834 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5837 Added new transfer_window and close_if_pressed_outside private
5839 (hildon_note_rebuild):
5840 Don't add a cancel button to the information note. It will be
5841 closed when tapping outside
5842 Remove the comment about the OK button in the documentation
5843 (hildon_note_realize):
5844 Set the notification type hint
5845 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5846 Grab/ungrab pointer and keyboard if the note has to be closed when
5848 (hildon_note_button_release):
5849 Close the note when tapping outside (if applicable)
5851 * src/hildon-app-menu.c
5852 Grab/ungrab pointer and keyboard on map/unmap
5853 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5854 Close the menu on button release, not button press
5856 * src/hildon-banner.c
5857 (hildon_banner_set_property)
5858 (hildon_banner_check_position):
5859 Make the banner use the full width of the screen
5860 (hildon_banner_show_information)
5861 (hildon_banner_show_information_with_markup):
5862 Don't display an icon by default
5864 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5866 Added fading scrollbars and adapted all the overshooting code to
5867 horizontal scrolling. We have also fixed bugs with overshooting
5868 and current fading implementation.
5870 * src/hildon-pannable-area.c
5871 (hildon_pannable_area_scroll_indicator_fade): Time out function
5872 used to change the transparency of the scrollbars.
5874 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5875 control and fixed a problem with fading, we now remove the fade
5876 timeout before adding a new one.
5878 (hildon_pannable_axis_scroll):
5879 (hildon_pannable_area_scroll):
5880 (hildon_pannable_area_timeout): Added this functions so we can use
5881 the scroll code both for vertical and horizontal.
5883 (hildon_pannable_area_motion_notify_cb):
5884 (hildon_pannable_area_button_release_cb): Added the horizontal
5885 scrolling control, fixed a problem with the overshooting timeout.
5887 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5888 painting of the scrolls.
5890 (hildon_pannable_draw_vscroll):
5891 (hildon_pannable_draw_hscroll):
5892 (hildon_pannable_area_expose_event):
5893 Draw both scrollbars and rectangles in the overshooting area.
5895 (hildon_pannable_area_get_property):
5896 (hildon_pannable_area_set_property):
5897 Modified the overshoot property to overshoot_max
5899 (hildon_pannable_area_map):
5900 Replaced the comments symbols.
5902 (hildon_pannable_area_size_allocate):
5903 (hildon_pannable_area_class_init):
5904 (hildon_pannable_area_init): Added horizontal scroll, fading
5905 effect properties, fixed a problem when overshooting in the bottom
5908 * examples/hildon-pannable-area-example.c:
5909 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5910 looks better in the example.
5912 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-window.c
5915 * src/hildon-window.h
5916 (hildon_window_class_init)
5917 (hildon_window_unset_program)
5918 (hildon_window_unset_program_real):
5919 Make unset_program a virtual function
5921 * src/hildon-stackable-window.c
5922 * src/hildon-stackable-window.h
5923 Added hildon_stackable_window_go_home()
5925 * examples/Makefile.am
5926 * examples/hildon-stackable-window-example.c
5927 HildonStackableWindow example
5929 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5931 * hildon-pannable-area.c: Added the overshoot property and removed
5932 the OVERSHOOT define. Fixed an indent style error.
5933 (hildon_pannable_area_motion_notify_cb):
5934 (hildon_pannable_area_get_property):
5935 (hildon_pannable_area_set_property): Add overshoot property.
5937 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5940 (hildon_pannable_area_class_init): Installed the new property.
5942 * hildon-pannable-area-example.c: Added a sawtooth function, this
5943 way it is easier to check the movement in the pannable.
5944 (get_sawtooth_label): Added this function.
5945 (main): Now we get the labels from the new get_sawtooth_label
5948 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5950 * src/hildon-app-menu.h
5951 * src/hildon-app-menu.c
5952 Renamed API variables for consistency
5954 (hildon_app_menu_popup): Use also the default window size to
5955 decide where to place the menu
5957 (hildon_app_menu_init, hildon_app_menu_class_init): New
5958 external-border style property
5960 2008-05-26 Michael Natterer <mitch@imendio.com>
5962 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5963 widget_class->tap_and_hold_setup signal slot doesn't exist any
5964 longer, stop overriding it.
5966 (hildon_time_editor_init): g_signal_connect() to the
5967 tap-and-hold-setup signal instead.
5969 (hildon_time_editor_entry_keypress): add cast to fix warning.
5971 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5973 * doc/hildon-docs.sgml
5975 * examples/Makefile.am
5976 * examples/hildon-app-menu-example.c
5978 * src/hildon-app-menu-private.h
5979 * src/hildon-app-menu.c
5980 * src/hildon-app-menu.h
5982 New HildonAppMenu widget
5984 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5986 Rearranged the inheritance of the pannable area, now it inherits
5987 from GtkBin. This will allow us to control the event_window and
5988 the allocation process of the widget, required for some effects.
5990 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5991 GtkBin structures. * src/hildon-pannable-area.c: Added the
5992 event_window variable.
5993 (hildon_pannable_area_button_press_cb):
5994 (hildon_pannable_area_button_release_cb):
5995 (hildon_pannable_area_motion_notify_cb):
5996 Changed the signature of the method, now we override the event
5997 callback instead of connecting to the signal.
5999 (hildon_pannable_area_realize):
6000 (hildon_pannable_area_unrealize):
6001 (hildon_pannable_area_map):
6002 (hildon_pannable_area_unmap):
6003 (hildon_pannable_area_size_allocate):
6004 Added functions to control the widget construction. We add a
6005 INPUT_ONLY window and we put it over the widgets inside the
6006 container, this event_window handles the events.
6008 (hildon_pannable_area_class_init):
6009 Replaced the signal connections with overrides of the event
6012 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6014 Bouncing effect added when touching the borders, you can change
6015 the elasticity of the border changing the ELASTICITY define.
6017 * src/hildon-pannable-area.c: Added ELASTICITY define.
6018 (hildon_pannable_area_timeout): Added inverse velocity when
6019 touching the border of the child widget, that causes a bounce.
6021 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6023 Improved performance, we now do not go to the X server in order to
6024 get the list of window children. Apparently the effect is the
6025 same, we have to be careful and check if this breaks something in
6028 * src/hildon-pannable-area.c:
6029 (get_ordered_children): Removed this function.
6030 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6031 the children windows function with gdk_window_get_children.
6033 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6035 * src/hildon-pannable-area.c:
6036 (hildon_pannable_area_dispose): Fixed a crash when closing the
6037 window and kinetics is activated.
6039 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6041 * src/hildon-pannable-area.h
6042 * src/hildon-pannable-area.c
6043 Changed indentation style to meet the one used in Hildon
6045 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6047 Reviewed the interaction of the AUTO mode, now we use the time
6048 attribute of the events and calculate the velocity in the motion,
6049 doing a gimp like calculation. The velocity is calculated in each
6050 motion event using the last velocity and the current one, the
6051 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6053 * src/hildon-pannable-area.c: Replaced the time based algorithm
6055 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6056 timeout for the AUTO mode when we are still moving the cursor. We
6057 added also the velocity calculation in this function.
6058 (hildon_pannable_area_button_release_cb): launch the timeout in
6059 case we are in AUTO mode. There are still some constants here that
6060 come from the old implementation that should be reviewed and
6063 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6065 * doc/hildon-docs.sgml
6068 * src/hildon-stackable-window.c
6069 * src/hildon-stackable-window.h
6071 New HildonStackableWindow widget
6073 * examples/hildon-dialog-example.c
6074 * examples/hildon-pannable-area-example.c
6077 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6079 * src/hildon-dialog.c
6080 (hildon_dialog_new_with_buttons): New constructor.
6082 * examples/hildon-dialog-example.c
6083 (main): Update the example to use the new
6084 hildon_dialog_new_with_buttons().
6086 * examples/hildon-pannable-area-example.c
6087 (main): Update example.
6089 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6091 * doc/hildon-docs.sgml
6093 Added HildonPannableArea to the documentation.
6095 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6097 * doc/visual_index.xml
6098 Fix reference to HildonLoginDialog in documentation
6100 * doc/hildon-docs.sgml
6102 * examples/Makefile.am
6103 * examples/hildon-dialog-example.c
6105 * src/hildon-dialog.c
6106 * src/hildon-dialog.h
6108 New HildonDialog widget.
6110 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6112 * src/hildon-pannable-area.c
6113 Merge latest changes (r4318, r4342) from libmokoui trunk
6115 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6117 * examples/Makefile.am
6118 * examples/hildon-pannable-area-example.c
6120 * src/hildon-pannable-area.c
6121 * src/hildon-pannable-area.h
6123 New HildonPannableArea widget.
6125 2008-04-15 18:05:19 <timj@imendio.com>
6127 * src/hildon-banner.c: revert the recent change, that introduced
6128 gtk_window_present() calls. this reopens:
6129 Bug 78481 - [freetest] information banners are hidden under browser menu
6130 But resolves another variant of:
6131 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6133 2008-04-15 13:21:13 <timj@imendio.com>
6135 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6136 recreated its layout, spotted by Kris. this fixes all remaining
6137 artefacts and stability issues with the banner code. in particular:
6138 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6140 2008-04-14 16:52:59 <timj@imendio.com>
6142 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6143 operating on unrealized widgets, fixes:
6144 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6146 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6148 2008-04-09 Kristian Rietveld <kris@imendio.com>
6150 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6151 makes banner disappear.
6152 Fixes: NB#79182: info banner flickering with certain message lengts.
6154 * src/hildon-banner.c (hildon_banner_constructor),
6155 (hildon_banner_init), (hildon_banner_set_text),
6156 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6157 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6158 FALSE, reset size requests of label and banner,
6159 (force_to_wrap_truncated): when the text is too wide, always enforce
6160 the maximum possible width instead of recalculating it from the
6161 layout; enforce the maximum banner height of 3 lines,
6162 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6163 nicer wrapping and no truncated chars if space gets tight.
6165 * src/hildon-banner-private.h: add has_been_wrapped and
6166 has_been_truncated fields.
6168 2008-04-07 Sven Herzberg <sven@imendio.com>
6170 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6171 local values in hildon_date_editor_size_allocate
6173 * src/hildon-date-editor.c: moved the real allocation code into the
6176 2008-04-07 Sven Herzberg <sven@imendio.com>
6178 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6179 local values in hildon_date_editor_size_allocate
6181 * src/hildon-date-editor.c: merged the two if() branches together
6183 2008-04-07 Sven Herzberg <sven@imendio.com>
6185 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6186 local values in hildon_date_editor_size_allocate
6188 * src/hildon-date-editor.c: changed the arguments of the if()
6191 2008-04-07 Sven Herzberg <sven@imendio.com>
6193 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6194 local values in hildon_date_editor_size_allocate
6196 * src/hildon-date-editor.c: split the calculation of the allocation
6197 from the real allocation
6199 2008-03-27 Michael Natterer <mitch@imendio.com>
6201 Fixes: NB#81696: The passcode is not overwritten even after
6204 * src/hildon-code-dialog.c
6205 (hildon_code_dialog_button_clicked)
6206 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6207 because that doesn't overwrite selected text. Instead, emit the
6208 "commit" signal on the entry's im_context so the entry's normal
6209 insert logic is triggered. Set the cursor to the end of the entry
6210 after each insert operation so that we *only* insert in the middle
6211 of the text if something was selected.
6213 2008-03-27 Michael Natterer <mitch@imendio.com>
6215 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6216 selector cannot be opened
6218 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6219 when the popup color selector is created. Please connect to this
6220 signal in order to set the dialog's help ID.
6222 2008-03-25 Sven Herzberg <sven@imendio.com>
6224 Fixes: MB#1212: Hide info banners (infoprints) on click
6226 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6227 extracted the close event simulation into an extra function
6228 (hildon_banner_button_press_event): simulate a close event and destroy
6229 the widget if the event wasn't handled
6230 (hildon_banner_class_init): added the button_press_event handler
6231 (hildon_banner_init): added button-press events to the widget
6233 2008-03-25 Sven Herzberg <sven@imendio.com>
6235 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6236 Patch from: Mohammad Anwari <mdamt@maemo.org>
6238 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6239 instead of the right in RTL mode
6240 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6241 breadcrumb button list in RTL mode
6242 * src/hildon-caption.c: mirror the appearance of the caption widget in
6244 * src/hildon-date-editor.c: mirror appearance of the date editor in
6246 * src/hildon-time-editor.c: mirror appearance of the time editor in
6248 * src/hildon-window.c: fix the position of the popup in RTL mode
6250 2008-03-25 Sven Herzberg <sven@imendio.com>
6252 Amendment to the fix of NB#22072. Fix compilation.
6254 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6256 2008-03-19 Sven Herzberg <sven@imendio.com>
6258 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6261 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6262 timeout id properly when the timeout will disappear this leaves no
6263 artifacts around in the destroy(); there will only be the timeout
6264 created by hildon_banner_ensure_timeout() and adding a new timeout
6265 will also work if the timeout gets removed because the timeout_handler
6268 2008-03-19 Michael Natterer <mitch@imendio.com>
6270 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6272 * src/hildon-volumebar.c
6273 * src/hildon-vvolumebar.c
6274 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6275 the widget becomes focussable at all.
6277 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6278 set the focus to wither the mute button or the volumebar.
6280 Remove own "can-focus" property and instead listen to
6281 notify::can-focus in order to update the widget's state.
6283 Implement GtkWidget::focus() and make sure we can also *leave* the
6284 widget, not only enter it, depending on volumebar orientation and
6285 requested focus direction.
6287 Clean up set_mute() to cooperate nicely with all the above.
6289 2008-03-04 Michael Natterer <mitch@imendio.com>
6291 Fixes: NB#78481: information banners are hidden under browser menu
6293 * src/hildon-banner.c: call gtk_window_present() on the banners so
6294 they are risen if they are already visible.
6296 2008-03-03 Sven Herzberg <sven@imendio.com>
6298 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6300 * examples/hildon-window-menu-example.c: (main): extended the window
6301 menu example to serve as a testcase for automatically added
6302 accelerator groups, too
6303 * src/hildon-window.c: (hildon_window_add_accel_group),
6304 (hildon_window_set_menu): added patch by Tommi Komulainen
6306 2008-03-03 Sven Herzberg <sven@imendio.com>
6308 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6310 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6311 knowledge about the border allocators used within GTK+
6313 2008-02-26 Sven Herzberg <sven@imendio.com>
6315 Fixes: MB#2981: Build with asserts broken
6317 * src/hildon-date-editor.c,
6318 * src/hildon-number-editor.c,
6319 * src/hildon-time-editor.c,
6320 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6321 the proper GType instance check
6323 2008-02-25 Sven Herzberg <sven@imendio.com>
6325 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6327 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6328 * examples/hildon-window-menu-example.c: (main): explicitly show
6330 * src/hildon-window.c:
6331 (hildon_window_set_main_menu): moved most of the code from set_menu()
6332 to this place; skipped the call to gtk_widget_show_all(); also didn't
6333 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6334 (hildon_window_set_menu): removed most of the code, just keep the
6335 questionable gtk_widget_show_all()
6336 * src/hildon-window.h: added the new function and deprecate the old
6339 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6345 * debian/changelog: Updating.
6347 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6350 * pkgconfig/Makefile.am:
6351 * pkgconfig/hildon.pc.in:
6354 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6355 use newly created API_MAJOR_VERSION.
6357 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6363 * debian/changelog: Updating.
6365 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6367 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6369 Add outer_border style property, we use it but don't define it (!).
6373 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6375 * examples/hildon-bread-crumb-trail-example.c (main):
6379 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6381 Fix logic for the bread crumb trail node removal.
6385 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6391 * debian/changelog: Updating.
6393 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6395 Patch by Alejandro to get/set passwords dialogs accesibility.
6397 * hildon-1/src/hildon-get-password-dialog.c:
6398 * hildon-1/src/hildon-set-password-dialog.c:
6399 Set atk_set_name to the passwd entries in order to allow
6400 accessibility by name on this entries.
6402 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6407 * debian/control: Updating gtk dep.
6409 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6411 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6412 USE_MAEMO_GTK is enabled.
6414 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6416 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6417 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6419 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6425 * debian/changelog: Updating.
6427 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6429 * examples/Makefile.am:
6430 * examples/hildon-logical-color-example.c:
6431 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6432 applied + adding a test case. Fixes: NB#71660.
6434 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6436 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6437 to be visible, fixes warning on map for windows without toolbars.
6439 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6441 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6442 2.11.0, add a check for that besides the MAEMO_GTK check.
6444 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6450 * debian/changelog: Updating.
6452 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6454 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6455 visibility. Fixes: NB#70842 and MB#615.
6457 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6459 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6460 set the separator as no-show-all so it doesn't unintentionally appear when
6461 someone does a show_all.
6463 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6465 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6466 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6467 toplevel item. Fixes: NB#62031
6469 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6471 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6472 fix the name of the function in the docs.
6474 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6480 * debian/changelog: Updating.
6482 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6484 * examples/hildon-banner-long-example.c: Adding a test-case for long
6487 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6489 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6491 * src/hildon-color-chooser-dialog.c:
6492 * src/hildon-color-chooser.c:
6493 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6494 memory leaks in font selector and color selector. Fixes: NB#70499 and
6497 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6499 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6501 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6503 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6504 little bit bigger. Fixes: #NB63694.
6506 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6512 * debian/changelog: Updating.
6514 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6517 * doc/hildon-docs.sgml:
6518 * doc/images/bread-crumb-trail.png:
6519 * doc/images/calendar-popup.png:
6520 * doc/images/caption.png:
6521 * doc/images/code-dialog.png:
6522 * doc/images/color-button.png:
6523 * doc/images/color-chooser-dialog.png:
6524 * doc/images/color-chooser.png:
6525 * doc/images/controlbar.png:
6526 * doc/images/date-editor.png:
6527 * doc/images/font-selection-dialog.png:
6528 * doc/images/get-password-dialog.png:
6529 * doc/images/hvolumebar.png:
6530 * doc/images/login-dialog.png:
6531 * doc/images/note.png:
6532 * doc/images/number-editor.png:
6533 * doc/images/range-editor.png:
6534 * doc/images/seekbar.png:
6535 * doc/images/set-password-dialog.png:
6536 * doc/images/sort-dialog.png:
6537 * doc/images/time-editor.png:
6538 * doc/images/time-picker.png:
6539 * doc/images/vvolumebar.png:
6540 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6541 Adding the bread-crumb-trial and helpers to the documentation.
6543 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6545 * examples/hildon-find-toolbar-example.c:
6546 * src/hildon-find-toolbar.c:
6547 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6548 actually continue firing the other handlers if connected. Adding a new
6550 hildon_find_toolbar_get_last_index that gets the index of the most
6551 recently added (last) item. Fixes: NB#52301.
6553 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6555 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6556 behaviour. Fixes: NB#68610.
6558 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6560 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6563 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6565 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6566 when realizing the banner. Should make the infonbanner effect a bit more
6569 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6571 * src/hildon-volumebar.c:
6572 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6573 hildon_volumebar_set_range_insensitive_message and
6574 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6576 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6578 * src/hildon-window.c: Fixing the border freeing on destroy.
6580 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6582 * src/hildon-code-dialog-private.h:
6583 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6584 kw keyboard support in HildonCodeDialog.
6586 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6592 * debian/changelog: Updating.
6594 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6596 * src/hildon-date-editor.c:
6597 * src/hildon-number-editor.c:
6598 * src/hildon-private.c:
6599 * src/hildon-private.h:
6600 * src/hildon-time-editor.c:
6601 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6602 handling in subclassed composite widgets. Fixes: NB#66628.
6604 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6606 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6607 from destroy_ callback as it introduces problems in async dbus signal
6608 handlers. Fixes NB#66673.
6610 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6612 * examples/hildon-hvolumebar-example.c:
6613 * src/hildon-volumebar.c: Improving the focus handling in the
6614 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6615 set_property accessor so that "mute" property can be actually set. I'm
6616 scared that nobody noticed it's totally broken.
6618 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6620 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6623 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6625 * src/hildon-calendar.c:
6626 * src/hildon-number-editor.c:
6627 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6628 matches the spec of 6 chars per second. Fixes: NB#60489.
6630 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6632 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6633 gtk_style_lookup_color sometime returns FALSE even though color was
6634 found and values were filled properly. Weird. Removing the warning for the
6637 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6639 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6640 expand vertically. Adding some extra space to the find toolbar buttons to
6641 make them thumbable. Fixes NB#66060.
6643 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6645 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6646 popup with "Ok" and "Cancel". Fixes NB#59299.
6648 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6650 * src/hildon-calendar.c: Process all window updates before executing next
6651 timeout. Fixes: NB#54146.
6653 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6659 * debian/changelog: Updating.
6661 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6663 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6664 the client event and ignore it, since we use the delete event to close
6667 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6669 * src/hildon-helper.c: Remove the bogus warning about color not being
6670 found. Fixes NB#58352.
6672 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6674 * examples/Makefile.am:
6675 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6676 HildonSeekbar widget inside a toolbar.
6678 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6680 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6681 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6682 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6683 don't want to be closed by non-temporary windows on map.
6685 Also use G_DEFINE_TYPE instead of manually typed code.
6687 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6694 * debian/rules: Updating.
6696 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6698 * examples/Makefile.am:
6699 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6700 bug NB#61128. Strangely it works.
6702 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6704 * src/hildon-date-editor.c: When the date editor entry has been changed
6705 but the numbers of characters < max, turn off the skip validation flag.
6706 Prevents a situation when we enter first a valid year and later re-write
6707 it with an invalid one. Fixes NB#60154.
6709 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6711 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6712 code dialog. Fixes NB#64355.
6714 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6716 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6717 switching the page. Fixes NB#49374.
6719 * examples/Makefile.am:
6720 * examples/hildon-wizard-dialog-example.c: Adding an example for
6721 HildonWizardDialog that shows how to handle manual sensitivity setting on
6724 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6728 * src/hildon-version.h.in:
6729 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6731 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6733 * src/hildon-volumebar.c: Updating the docs.
6735 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6741 * debian/changelog: Updating.
6743 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6745 * src/hildon-find-toolbar.c:
6746 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6747 selected item: hildon_find_toolbar_set_active,
6748 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6749 hildon_find_toolbar_get_active_iter . They correspond to respective
6750 GtkComboBox functions.
6752 * examples/Makefile.am:
6753 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6756 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6758 * examples/Makefile.am:
6759 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6762 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6763 when font size > 32 and we pack a focusable widget inside. Actually using
6764 the default response would work too, but since we don't show default
6765 response state in any way (no theming) it would not be visible to the
6766 user. Fixes NB#63430.
6768 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6770 * src/hildon-date-editor.c: Adding the missing variable setter in the
6771 set_property handler. Fixes NB#54182.
6773 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6775 * src/hildon-window.h: Changing the long key press time from 1500ms to
6776 800ms as requested in NB#63700. I have a bad feeling about this, let's
6777 see... Fixes NB#63700.
6779 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6781 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6782 hildon_time_picker_map, hildon_time_picker_realize,
6783 hildon_time_picker_style_set): Split the contents of map to more
6784 appropriate functions; set window decorations on realize and update
6785 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6787 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6792 * debian/changelog: Updating.
6794 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6796 * src/Makefile.am: fixed installation of the header files
6798 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6804 * debian/changelog: Updating.
6806 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6808 * configure.ac: Removing some remaining of --enable-xan.
6810 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6812 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6813 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6815 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6816 2.10.12-osso6 because the move-focus signal needs to be available in
6819 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6821 * examples/Makefile.am:
6822 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6823 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6824 fine. Prolly NB#61128 is fixed now.
6826 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6828 * src/hildon-volumebar.c:
6829 * src/hildon-volumebar.h: Adding the
6830 hildon_volumebar_set_range_insensitive_message and
6831 hildon_volumebar_set_range_insensitive_messagef functions to set
6832 insensitive message on the slider of the volumebar. Fixes NB#61129.
6834 * examples/Makefile.am:
6835 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6836 test the new insensitive messsage functionality on HildonVolumebar.
6838 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6840 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6843 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6845 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6846 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6847 button on after clearing the trail.
6849 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6851 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6853 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6855 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6856 by splitting the installed headers in generated and non-generated groups. Use
6857 only the non-generated headers to create the hildon-enum-types.h file.
6859 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6861 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6863 * src/hildon-window.c: Hide the window before performing the destroy.
6864 Should make the app closing a little tiny bit more snappy.
6866 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6868 * src/hildon-seekbar.c: add gtkrange.h header
6869 * src/hildon-caption.c: remove unused variable
6871 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6873 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6876 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6882 * debian/changelog: Updating.
6884 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6886 * src/hildon-window.c (hildon_window_window_state_event,
6887 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6888 escape timeout on focus-out-event rather than notify::is-topmost; the
6889 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6891 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6893 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6894 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6896 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6898 * src/hildon-window: actually, you need to use the macro always, there's
6899 no private pointer in the instance structure. We should have cleaned this up
6900 when we had the chance...
6902 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6904 * src/hildon-window.c: do not get the private date from HildonWindow before
6905 it passes the g_return_if_fail check. Once it's passed the test, there's no
6906 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6907 if you are only going to access the data once. Whitespace cleanups.
6909 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6911 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6912 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6914 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6920 * debian/changelog: Updating.
6922 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6924 * src/hildon-window.c: When destroying the window, remove (if exists) the
6925 escape timeout handler. Fixes #NB59276.
6927 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6929 * src/hildon-banner.c: When realizing the widget, set the window
6930 transiency. Setting the transiency in the gobject constructor is not
6931 good, as the widget is not realized at that point. Fixes: #NB56624.
6933 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6935 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6936 Add padding for future expansions.
6938 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6940 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6941 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6942 will fake an activation on the previous to the last item of the trail, so
6943 the effect can be overrided by the developer as usual.
6944 Also change the callback for the back button to do the same thing, so its
6945 effect can be overrided too. Fixes: NB#58982
6947 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6949 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6950 HildonCaption. Fixes NB#52379.
6952 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6954 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6955 the internal state of the trail after the user has had the chance of executing
6956 his handler for the signal. Specifically, it may happen that the activated button
6957 is removed and the user still lets the default handler run. This would segfault
6960 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6962 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6963 scrollbar to the preview dialog. Fixes NB#54147.
6965 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6967 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6968 max/min year properties can be altered, so the client can modify it
6969 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6971 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6973 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6974 hildonlike by default. Fixing a problem with disappearing arrows when
6975 scrolling through months and years. Fixes NB#54127.
6977 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6979 * examples/hildon-date-editor-example.c: Adding error callback to the date
6982 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6988 * configure.ac: Updating.
6990 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6992 * configure.ac: Adding a special '--enable-xan' configure option that
6993 turns off the -Werror compilation setting. Usefull for development.
6995 * src/hildon-calendar.c:
6996 * src/hildon-number-editor.c:
6997 * src/hildon-time-picker.c: Adding the 5* multiplier to
7000 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7002 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7003 instead of g_object_ref + gtk_object_sink.
7005 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7011 * debian/changelog: Updating.
7013 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7015 * src/hildon-color-chooser-dialog.c:
7016 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7017 straight from Tommi labs.
7019 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7021 * examples/hildon-finger-example.c: Correcting the header file path.
7023 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7024 the changed signal. Fixes a small memory leak.
7026 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7030 * src/hildon-banner.c: Importing several usefull fixes from the
7031 ubuntu-mobile branch.
7033 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7035 * examples/Makefile.am:
7036 * examples/hildon-finger-example.c: Adding a finger-checking code
7039 * src/hildon-font-selection-dialog.c: Do not allocate the color
7040 structure using the g_new. Fixes NB#54061.
7042 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7044 * src/hildon-helper.c: Correcting tabs in file.
7046 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7048 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7049 control the visibility of the children.
7051 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7053 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7059 * debian/changelog: Updating.
7061 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7063 * src/hildon-bread-crumb-trail.c:
7064 (hildon_bread_crumb_trail_size_allocate):
7066 Make the back button always a square.
7068 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7070 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7071 from the .c file as it's a private file.
7073 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7075 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7076 uses slightly bigger height.
7078 * src/hildon-font-selection-dialog.c: Adding some checks before
7079 freeing memory in the font selection dialog.
7081 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7083 * src/hildon-font-selection-dialog.c: Adding a small check when
7086 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7087 buttons sensitivity on page switching.
7089 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7091 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7092 internal details of adding a bread crumb to the trail.
7094 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7100 * debian/changelog: Updating.
7102 * src/hildon-bread-crumb-trail.h:
7103 * src/hildon-bread-crumb.h: Changing the API guard to
7104 HILDON_ENABLE_UNSTABLE_API.
7106 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7114 * src/hildon-helper.h: Updating.
7116 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7124 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7128 * src/hildon-helper.h: Small fix to make the package actually compile.
7130 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7132 * src/hildon-bread-crumb-trail.h:
7133 * src/hildon-bread-crumb.h:
7135 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7136 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7138 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7140 * examples/hildon-bread-crumb-trail-example.c:
7142 * src/hildon-bread-crumb-trail.c:
7143 * src/hildon-bread-crumb-trail.h:
7144 * src/hildon-bread-crumb.c:
7145 * src/hildon-bread-crumb.h:
7146 * src/hildon-marshalers.list:
7147 * src/hildon-bread-crumb-widget.c:
7148 * src/hildon-bread-crumb-widget.h:
7150 Slight change in the widget design. The bread crumb trail API is
7151 unchanged, but HildonBreadCrumb is now an interface. A *private*
7152 implementation, hildon-bread-crumb-widget, is provided and used
7153 internally by the trail for the push_text/push_icon functions.
7155 The generic push API is still available, so anyone can implement
7156 and use its own bread crumb widget.
7158 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7160 * debian/rules: Fixing the shlibs.
7162 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7164 * src/hildon-banner.c: Fixing a problem with timed banners having
7165 their parrent destroyed before they are.
7167 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7169 * src/hildon-bread-crumb.c:
7170 * src/hildon-bread-crumb.h:
7172 Make the get_natural_size function a vfunc.
7174 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7176 * src/hildon-bread-crumb.c:
7177 * src/hildon-bread-crumb-trail.c:
7181 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7188 * debian/changelog: Updating for release.
7190 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7192 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7193 don't leak the pango layout.
7195 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7198 * examples/hildon-bread-crumb-trail-example.c:
7202 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7204 * debian/changelog: Removing the bug-fixed entries that were actually
7205 resolved as WONTFIX.
7207 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7210 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7212 * src/hildon-bread-crumb-trail.c:
7213 * src/hildon-bread-crumb-trail.h:
7214 * src/hildon-bread-crumb.c:
7215 * src/hildon-bread-crumb.h:
7219 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7221 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7222 until it's passed the type check.
7224 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7226 * examples/hildon-bread-crumb-trail-example.c
7230 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7232 * examples/Makefile.am
7233 * examples/hildon-bread-crumb-trail-example.c
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
7240 New HildonBreadCrumbTrail widget.
7242 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7244 * src/hildon-range-editor.c (hildon_range_editor_init),
7245 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7246 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7247 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7248 hildon_time_editor_class_init, hildon_time_editor_init),
7249 src/hildon-get-password-dialog.c (invalid_input,
7250 hildon_get_password_set_property, hildon_get_password_get_property,
7251 create_contents, hildon_get_password_dialog_set_max_characters),
7252 src/hildon-set-password-dialog.c (create_contents),
7253 src/hildon-date-editor.c (hildon_date_editor_init),
7254 src/hildon-login-dialog.c (hildon_login_dialog_init),
7255 src/hildon-number-editor.c (hildon_number_editor_init),
7256 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7257 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7258 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7259 configure option and adding the respective checks in the code.
7260 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7261 hildon_calendar_drag_data_received): fixed some build warnings.
7263 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7265 * debian/changelog: A 1.0.0 release notes.