1 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-note.c: Declare hildon_note_set_padding() only when using
6 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
8 * doc/hildon-sections.txt: Add hildon_banner_show_custom_widget()
9 * examples/hildon-banner-example.c: (area_expose),
10 (custom_widget_new), (on_progress_idle): New example showing a custom widget.
11 * hildon/hildon-banner.c:
12 * hildon/hildon-banner.h: Add hildon_banner_show_custom_widget().
14 Fixes: NB#140140 (Allow custom widgets to be used in banners)
16 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
18 * examples/hildon-banner-example.c:
19 (on_information_clicked), (on_animation_clicked),
20 (on_progress_clicked): GtkButton:clicked handlers do not return
23 2009-09-17 Claudio Saavedra <csaavedra@igalia.com>
25 [2.2.0 Release Candidate 7]
28 * debian/changelog: bump and updates
30 2009-09-17 Alberto Garcia <agarcia@igalia.com>
32 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
33 Use the Xlib API to take window screenshots, since the GDK API
34 doesn't allow us to set the event mask.
36 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
39 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
41 [2.2.0 Release Candidate 6]
43 * debian/changelog: bump and updates.
45 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
47 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
48 free a GList and avoid potential memory corruption.
50 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
52 [2.2.0 Release Candidate 5]
55 * debian/changelog: bump and updates
57 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
59 Do not set any flag for empty legacy menus
61 * hildon/hildon-program.c: (hildon_program_set_common_menu):
62 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
63 This will probably not work fine with empty legacy menus added to
64 programs or windows and populated later, but so it's life.
66 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
68 Update the application menu flag for application-wise windows
70 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
71 (hildon_program_set_common_app_menu): Also take into account the visibility
74 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
76 Emit HildonAppMenu::changed when menu items change visibility
78 * hildon/hildon-app-menu.c: (item_visibility_changed),
79 (filter_visibility_changed): Also emit ::changed on
80 visibility of items changed.
82 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
84 Do not set the menu flag in a window when a menu is empty
86 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
87 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
88 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
89 changes by using the HildonAppMenu::changed signal.
91 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
93 Add HildonAppMenu::changed signal
95 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
96 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
97 Emit a new HildonAppMenu:changed signal when there are changes in
100 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
102 Add hildon_app_menu_has_visible_children() private method
104 * hildon/hildon-app-menu-private.h: Add below private method.
105 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
106 New method to check the visibility of a HildonAppMenu children.
108 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
110 Set the window menu flag for application-common menus
112 * hildon/hildon-program.c:
113 (+hildon_program_window_set_common_menu_flag): Set or remove the
114 menu flag from a window only this doesn't have its own menu.
115 (+hildon_program_set_common_menu_flag): adjust menu flag for
116 all windows in the program.
117 (hildon_program_add_window),
118 (hildon_program_remove_window): add/remove the menu flag when
119 a window is added to the program.
121 Fixes: NB#137814 (Indicator for view menu in app title area)
123 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
125 Set a special window property for windows with menus
127 * hildon/hildon-window-private.h: Add private
128 hildon_window_set_menu_flag()
129 * hildon/hildon-window.c: (+do_set_has_menu),
130 (+hildon_window_set_menu_flag): set
131 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
132 or remove the property.
133 (hildon_window_set_main_menu),
134 (hildon_window_set_app_menu): call above methods to set or remove
135 the property when a menu is added or removed from the window.
137 Partially fixes: NB#137814 (Indicator for view menu in app title area)
139 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
141 Rename and move the methods to set flags to hildon-private.h
143 * hildon/hildon-gtk.c: (do_set_progress_indicator),
144 (do_set_do_not_disturb), (do_set_portrait_flags): call
145 the new private method hildon_gtk_window_set_clear_window_flag()
146 (hildon_gtk_window_set_progress_indicator),
147 (hildon_gtk_window_set_do_not_disturb),
148 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
149 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
150 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
152 * hildon/hildon-private.h: Add the two new private methds.
154 2009-09-11 Alejandro G. Castro <alex@igalia.com>
156 * hildon/hildon-pannable-area.c,
157 (hildon_pannable_area_init),
158 (hildon_pannable_area_size_allocate),
159 (hildon_pannable_area_button_release_cb): More tuning of the
160 speed, adding a way to calculate the acceleration and fast-panning
161 based on the child size.
163 2009-09-10 Alberto Garcia <agarcia@igalia.com>
165 * hildon/hildon-touch-selector.c
166 (hildon_touch_selector_class_init):
167 Documentation updates
171 2009-09-10 Alberto Garcia <agarcia@igalia.com>
173 * hildon/hildon-touch-selector.c:
174 Documentation updates
176 Fixes: MB#5104 (HildonTouchSelector docs should say no
177 HildonPannableArea is necessary)
179 2009-09-08 Alejandro G. Castro <alex@igalia.com>
181 * hildon/hildon-pannable-area.c,
182 (hildon_pannable_area_timeout): Fixed problem with the timeout
183 function, we need to move before decelerating the first time or we
184 are loosing the first jump.
186 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
188 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
190 [2.2.0 Release Candidate 3]
192 * debian/changelog: updates
194 2009-09-07 Alejandro G. Castro <alex@igalia.com>
196 * hildon/hildon-pannable-area.c,
197 (hildon_pannable_area_class_init): Increased max speed.
199 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
201 [2.2.0 Release Candidate 2]
204 * debian/changelog: bump version, updates
206 2009-09-07 Alejandro G. Castro <alex@igalia.com>
208 * hildon/hildon-pannable-area.c,
209 (hildon_pannable_area_class_init),
210 (hildon_pannable_area_button_release_cb): More tuning for the
213 2009-09-07 Alejandro G. Castro <alex@igalia.com>
215 * hildon/hildon-pannable-area.c,
216 (hildon_pannable_area_class_init):
217 Change the default value of the scrollbar_fade_delay.
219 Fixes: NB#127018 (Panning indicator fades out too slowly)
221 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
223 [2.2.0 Release Candidate 1]
226 * configure.ac: Bump version
227 * debian/changelog: updates
229 2009-09-04 Alejandro G. Castro <alex@igalia.com>
231 * hildon/hildon-pannable-area.c,
232 (hildon_pannable_area_init),
233 (hildon_pannable_area_button_press_cb),
234 (hildon_pannable_area_button_release_cb): Added a new acceleration
235 system to help traversing big lists, tuned the stop threshold.
237 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
239 2009-09-04 Alberto Garcia <agarcia@igalia.com>
241 * hildon/hildon-window.h:
242 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
244 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
246 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
250 * configure.ac: bump version
252 * debian/changelog: updates
254 2009-09-04 Alberto Garcia <agarcia@igalia.com>
256 * hildon/hildon-entry.c
257 * hildon/hildon-text-view.c:
258 Documentation updates
260 2009-09-04 Alberto Garcia <agarcia@igalia.com>
262 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
263 Redraw menu when the number of items change.
265 Fixes: NB#131911 (Appmenu does not resize properly, when number of
268 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
270 * hildon/hildon-pannable-area.c:
271 (hildon_pannable_area_launch_fade_timeout),
272 (hildon_pannable_area_motion_event_scroll),
273 (hildon_pannable_area_check_move),
274 (hildon_pannable_area_button_release_cb),
275 (hildon_pannable_area_scroll_to):
277 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
278 area drawing operations, since this is the recommended for drawing
281 Fixes: NB#110894 (In event view containing very large description
282 field, application menu is displayed blank while panning)
283 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
286 2009-09-03 Alberto Garcia <agarcia@igalia.com>
288 * doc/hildon-sections.txt
289 * hildon/hildon-button.c
290 * hildon/hildon-edit-toolbar.c
291 * hildon/hildon-gtk.[ch]
292 * hildon/hildon-main.c
293 * hildon/hildon-program.c
294 * hildon/hildon-stackable-window.c:
295 Documentation updates
297 2009-08-28 Alberto Garcia <agarcia@igalia.com>
299 * hildon/hildon-app-menu.c
300 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
301 Close the menu if it receives a grab-notify signal.
303 Fixes: NB#134533 (UI freezes if we show a dialog with
304 gtk_dialog_run() while a menu is opened)
306 2009-08-27 Alejandro G. Castro <alex@igalia.com>
308 * hildon/hildon-pannable-area.c,
309 (hildon_pannable_area_class_init): Reverted tuning modifications:
310 "Pannign needs to be faster" and "Pannable kinetics in large lists
313 2009-08-26 Alberto Garcia <agarcia@igalia.com>
315 * hildon/hildon-sound.c (hildon_play_system_sound):
316 Set "module-stream-restore.id" to "x-maemo-system-sound" when
317 playing system sounds
319 Fixes: NB#133767 (Information and confirmation note sound should
320 follow system profile setting)
322 2009-08-26 Alejandro G. Castro <alex@igalia.com>
324 * hildon/hildon-pannable-area.c,
325 (hildon_pannable_area_class_init): Added more force and increased
326 the max speed threshold.
328 Fixes: NB#135344 (Pannign needs to be faster)
330 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
332 [Release 2.1.96, this time for real]
335 * debian/changelog: updates
337 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
339 * hildon/hildon-pannable-area.c
340 (hildon_pannable_area_get_topmost): change the computation of the
341 co-ordinates transformed when no one of the children is a topmost
343 Fixes: NB#133252 (Opening any feed item from RSS always opens the
344 first feed item in browser)
346 2009-08-26 Alejandro G. Castro <alex@igalia.com>
348 * hildon/hildon-pannable-area.c,
349 (hildon_pannable_area_remove_timeouts): Adding this new function
350 with the code that removes the timeouts of the widget.
351 (hildon_pannable_area_dispose),
352 (hildon_pannable_area_unrealize): Use the new remove function to
353 stop timeouts when unrealizing and disposing.
354 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
355 calculation to avoid negative values in some cases.
357 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
359 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
361 * examples/hildon-check-button-example.c: (button_toggled_cb):
362 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
363 (hildon_check_button_set_active), (hildon_check_button_new),
364 (hildon_check_button_clicked), (hildon_check_button_class_init):
365 * hildon/hildon-check-button.h:
366 * hildon/hildon-set-password-dialog.c: (create_contents),
367 (hildon_set_password_response_change), (hildon_checkbox_toggled):
369 Revert "Make HildonCheckButton derive from GtkToggleButton"
371 2009-08-21 Alberto Garcia <agarcia@igalia.com>
375 * configure.ac: bump version
377 * debian/changelog: updates
379 2009-08-21 Alberto Garcia <agarcia@igalia.com>
381 * hildon/hildon-check-button.h
382 * hildon/hildon-check-button.c
383 (hildon_check_button_clicked, hildon_check_button_class_init):
384 Make HildonCheckButton derive from GtkToggleButton
385 (hildon_check_button_toggled, hildon_check_button_set_active)
386 (hildon_check_button_get_active):
387 Deprecate unnecessary HildonCheckButton API and use the
388 one from GtkToggleButton instead.
390 * hildon/hildon-set-password-dialog.c (create_contents)
391 (hildon_set_password_response_change, hildon_checkbox_toggled)
392 * examples/hildon-check-button-example.c (button_toggled_cb):
393 Update to use the GtkToggleButton API
395 Fixes: MB#4739 (HildonCheckButton should inherit from
398 Fixes: NB#132661 (HildonCheckButton should inherit from
401 2009-08-20 Alberto Garcia <agarcia@igalia.com>
403 * hildon/hildon-pannable-area.c
404 (hildon_pannable_area_class_init):
405 Increase default value of HildonPannableArea:velocity_max to 2000
407 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
409 2009-08-18 Alberto Garcia <agarcia@igalia.com>
413 * configure.ac: bump version
415 * debian/changelog: updates
417 2009-08-11 Alejandro G. Castro <alex@igalia.com>
419 * hildon/hildon-pannable-area.c
420 (hildon_pannable_area_size_allocate): Checked the scrollbars
421 before the first try when defining the layout, avoids two
422 allocations in some situations.
424 Fixes: NB#131794 (pannable area produces unnecessary allocations
425 causing performance problems)
427 2009-08-11 Alejandro G. Castro <alex@igalia.com>
429 * hildon/hildon-pannable-area.c
430 (hildon_pannable_area_button_press_cb),
431 (hildon_pannable_area_motion_notify_cb),
432 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
433 the spurious ref added in the copy, fixes leak of window.
435 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
436 if it's realized without showing and then deleted)
438 2009-08-10 Alberto Garcia <agarcia@igalia.com>
442 * configure.ac: bump version
444 * debian/changelog: updates
446 2009-08-06 Alberto Garcia <agarcia@igalia.com>
448 * examples/hildon-hvolumebar-timer-example.c
450 * hildon/hildon-banner.c
451 (hildon_banner_timeout, hildon_banner_ensure_timeout)
452 * hildon/hildon-calendar.c
453 (calendar_timer, start_spinning)
454 * hildon/hildon-color-chooser.c
455 (inline_limited_expose)
456 * hildon/hildon-date-editor.c
457 (hildon_date_editor_entry_focus_in)
458 (hildon_date_editor_entry_validate)
459 (hildon_date_editor_entry_select_all)
460 * hildon/hildon-note.c
462 * hildon/hildon-number-editor.c
463 (hildon_number_editor_button_pressed)
464 (hildon_number_editor_start_timer, do_mouse_timeout),
465 (add_select_all_idle, hildon_number_editor_select_all)
466 * hildon/hildon-time-editor.c
467 (hildon_time_editor_entry_focus_in)
468 (highlight_callback, hildon_time_editor_validate)
469 (hildon_time_editor_entry_select_all)
470 * hildon/hildon-time-picker.c
471 (hildon_time_picker_arrow_press)
472 (hildon_time_picker_key_repeat_timeout)
473 * hildon/hildon-window.c
474 (hildon_window_key_press_event)
475 (hildon_window_escape_timeout):
476 Replace all calls to g_idle_add/g_timeout_add with their
477 gdk_threads counterparts.
479 Fixes: NB#126198 (gdk-threads API should be used to install idle
480 and timeout handlers)
482 2009-08-06 Alejandro G. Castro <alex@igalia.com>
484 * hildon/hildon-pannable-area.c,
485 (hildon_pannable_area_class_init): Increased the overshooting max
486 speed to get a faster effect.
487 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
488 deceleration of the overshooting
489 (hildon_pannable_area_button_release_cb): Calculate initial
490 overshooting speed when finger on the screen using the distance to
491 launch the effect faster.
493 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
494 lists with slow row renderers)
496 2009-08-05 Alberto Garcia <agarcia@igalia.com>
498 * doc/hildon-sections.txt: Add new functions
500 2009-08-05 Alberto Garcia <agarcia@igalia.com>
502 * hildon/hildon-text-view.[ch]
503 * hildon/hildon-entry.[ch]:
504 Add deprecation guards around deprecated functions.
506 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
508 * hildon/hildon-app-menu.c: Remove leftover function declaration.
510 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
512 Remove the grab from HildonAppMenu
514 * hildon/hildon-app-menu.c:
515 Now hildon-desktop places a blocker window behind the menu to handle
516 its closing, so the grab is no longer needed. This simplifies its
517 implementation and allows the system blanking to succeed.
519 Fixes: NB#130910 (Screen gets unlocked when menu is open)
521 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
525 * configure.ac: bump version
527 * debian/changelog: updates
528 * debian/control: raise debian dependency on GTK+
530 2009-08-04 Alberto Garcia <agarcia@igalia.com>
532 * hildon/hildon-text-view.c
533 * hildon/hildon-entry.c:
534 Remove all placeholder code from HildonEntry and HildonTextView
535 and use the API in GtkEntry and GtkTextView instead.
537 * examples/hildon-entry-example.c
538 * examples/hildon-text-view-example.c
539 * examples/hildon-wizard-dialog-example.c
540 * hildon/hildon-get-password-dialog.c
541 * hildon/hildon-login-dialog.c
542 * hildon/hildon-picker-dialog.c
543 * hildon/hildon-set-password-dialog.c
544 * hildon/hildon-touch-selector-entry.c:
545 Replace all deprecated calls to HildonEntry and HildonTextView
546 with their Gtk counterparts.
548 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
551 2009-08-03 Alejandro G. Castro <alex@igalia.com>
553 * hildon/hildon-pannable-area.c,
554 (hildon_pannable_area_check_move),
555 (hildon_pannable_area_button_release_cb),
556 (hildon_pannable_area_scroll_to): Reverted the priority change of
557 the timeout, in some situations, slow renderers, the click do not
558 make it to the mainloop on time.
560 Fixes NB#131013 (unable to stop panning file manager by tapping on
563 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
565 * configure.ac: bump version
567 * debian/changelog: updates
569 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
571 * hildon/hildon-touch-selector.[ch]
572 (hildon_touch_selector_center_on_index): New method that allows to center
573 on a item not selected
575 Fixes NB#130291 (New HildonTouchSelector API is required to center on
578 2009-07-29 Alberto Garcia <agarcia@igalia.com>
580 * hildon/hildon-text-view.c
581 (+set_logical_color, +hildon_text_view_style_set)
582 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
583 (hildon_text_view_init)
584 * hildon/hildon-entry.c
585 (+set_logical_color, +hildon_entry_style_set)
586 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
587 (hildon_entry_class_init, hildon_entry_init)
588 * hildon/hildon-button.c
589 (+set_logical_font, +set_logical_color)
590 (hildon_button_style_set, hildon_button_init)
591 (hildon_button_set_arrangement, hildon_button_set_style):
592 Remove all calls to hildon_helper_set_logical_font() and
593 hildon_helper_set_logical_color(), which are recursive, from
596 Fixes: NB#123409 (Showing dialog consumes significant amount of
599 2009-07-29 Alejandro G. Castro <alex@igalia.com>
601 * hildon/hildon-pannable-area.c,
602 (hildon_pannable_area_timeout): Added the process updates of the
603 scrollbars window in the pannable.
605 Fixes: NB#130043 (scrollindicator not smooth while panning)
607 2009-07-23 Alejandro G. Castro <alex@igalia.com>
609 * hildon/hildon-pannable-area.c,
610 (hildon_pannable_area_check_move),
611 (hildon_pannable_area_button_release_cb),
612 (hildon_pannable_area_scroll_to): Increased the priority of the
613 timeout this way it is going to be handled before the events.
615 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
619 * configure.ac: bump version
620 * debian/changelog: updates
622 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
624 * hildon/hildon-entry.c: (set_property): Do not allow to set
625 automatic height and use finger height instead, to prevent an to
626 have a smaller size than than its theme pixbuf.
628 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
630 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
632 * configure.ac: postrelease version bump.
633 * debian/changelog: post release version bump
635 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
640 * configure.ac: Bump version.
641 * debian/changelog: Updates.
643 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
645 * hildon/hildon-note.c: (label_size_request): Take the note
646 padding into account when setting the size request.
648 Fixes: NB#127896 (Information notes text truncated)
650 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
652 * configure.ac: postrelease version bump.
653 * debian/changelog: post release version bump
655 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
660 * configure.ac: Bump version.
661 * debian/changelog: Updates.
663 2009-07-16 Alejandro G. Castro <alex@igalia.com>
666 * hildon/hildon-text-view.c,
667 (hildon_text_view_button_press_event): Grabbed the focus in button
668 press, this way we are sure the widget has the focus in the
669 release event, required for HIM.
671 Fixes: NB#121445 (Virtual keyboard opening is not working in same
672 way for each text entry field)
674 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
676 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
677 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
678 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
679 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
680 (hildon_pannable_area_[gs]et_center_on_child_focus)
681 Redefined GtkContainer set-focus-child signal, in order to center
682 properly on a child when it receives the focus. Defined a new property
683 "center-on-child-focus" in order to activate this feature (deactivated
684 by default). Public get/set methods defined to manage the property.
686 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
688 2009-07-14 László Pere <lpere@blumsoft.eu>
690 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
691 the new size is applied.
693 Fixes: NB#124510 (The Application Menu is distorted when switched
694 between portrait and landscape mode)
695 Fixes: NB#115388 (Power key menu does not resize itself)
697 2009-07-01 Alberto Garcia <agarcia@igalia.com>
699 * hildon/hildon-banner.c (hildon_banner_map):
700 Set banner position after mapping.
702 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
704 * configure.ac: postrelease version bump.
705 * debian/changelog: post release version bump
707 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
712 * configure.ac: Bump version.
713 * debian/changelog: Updates.
715 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
717 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
720 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
722 * tests/check-hildon-banner.c
724 * tests/test_suites.h
725 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
726 were testing deprecated functions.
727 * examples/hildon-banner-example.c: typo on button3 type, that causes
728 a fail compiling with --with-examples but without --disable-deprecated
730 Missed commit in order to fix compilation using '--enable-fatal' and
731 '--disable-deprecated' (see previous commit)
733 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
735 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
736 functions with #ifndef HILDON_DISABLE_DEPRECATED
737 * examples/hildon-find-toolbar.c: Protect deprecated
738 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
739 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
740 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
741 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
743 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
744 to allow proper compilation of deprecated functions defined on the header
746 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
748 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
750 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
751 Cache the panning indicator color.,
752 (hildon_pannable_area_style_set): Query the color on style changes.
753 (hildon_pannable_draw_vscroll),
754 (hildon_pannable_draw_hscroll),
755 (hildon_pannable_area_expose_event): Use the cached panning indicator
756 color instead of looking it up on every expose and more.
758 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
760 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
761 (hildon_pannable_draw_hscroll),
762 (hildon_pannable_area_expose_event): Fix the panning indicator color,
763 so that it's "SecondaryTextColor", as desired.
765 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
767 * hildon/hildon-picker-dialog.c:
768 (selection_completed): take into account HILDON_UI_MODE_NORMAL
769 * hildon/hildon-touch-selector.c
770 (hildon_touch_selector_init): Initialize hildon-ui-mode
771 (hildon_touch_selector_row_activated): new callback for the
772 "row-activated" signal, in order to save the last activated
773 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
774 if the current hildon-ui-mode is coherent with the touch selector
775 (hildon_touch_selector_class_init)
776 (hildon_touch_selector_get_property)
777 (hildon_touch_selector_set_property)
778 Added "hildon-ui-mode" property
779 (disconnect_model_handlers): renamed to clean_column
780 (hildon_touch_selector_remove): use clean_column function
781 (_create_new_column): use the hildon-ui-mode to create the treeview, and
782 only select the first element on HILDON_UI_MODE_EDIT
783 (hildon_touch_selector_column_init): Initialize last_activate
784 (hildon_touch_selector_append_column): check that the touch selector
785 is coherent with the current hildon-ui-mode
786 (hildon_touch_selector_get_hildon_ui_mode)
787 (hildon_touch_selector_set_hildon_ui_mode)
788 Added a getter/setter for the hildon-ui-mode property
789 (hildon_touch_selector_get_last_activated_row): Added this method in
790 order to get the last activated row.
791 * examples/hildon-touch-selector-normal-mode-example.c
792 New example, that shows how to use the HildonTouchSelector in
793 HILDON_UI_MODE_NORMAL
795 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
796 Kristian Rietveld <kris@lanedo.com> advices
798 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
800 * hildon/hildon-time-selector.c: (update_format_policy): Do
801 not call update_format_dependant_columns() if not necessary.
802 (update_format_dependant_columns): Remove unnecessary check for
803 the number of columns.
805 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
807 * hildon/hildon-note.c (+hildon_note_constructor),
808 (hildon_note_class_init), (+hildon_note_set_padding),
809 (hildon_note_rebuild): Install a constructor where to set the
810 padding properties in the note, so that it actually works fine.
811 Use hildon_note_set_padding() for this, and also to set it during
814 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
816 * configure.ac: Bump GTK+ requirement to 2.14.3.
817 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
818 when using maemo-gtk to define proper margins for the notes.
820 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
821 with the dialog edge)
823 2009-06-24 Alberto Garcia <agarcia@igalia.com>
825 * hildon/hildon-banner.c
826 (hildon_banner_class_init):
828 (+hildon_banner_size_request):
829 Request always the full width of the screen.
830 (hildon_banner_realize)
831 (-hildon_banner_check_position, hildon_banner_map):
832 hildon_banner_check_position() is not needed in Hildon 2.2.
833 (-hildon_banner_reset_wrap_state)
834 (hildon_banner_constructor, hildon_banner_init):
835 Remove unnecessary calls to hildon_banner_reset_wrap_state()
836 (+banner_do_set_text)
837 (force_to_wrap_truncated):
838 Remove has_been_wrapped and has_been_truncated attributes.
839 (+reshow_banner, hildon_banner_real_show_information)
840 (hildon_banner_show_information_with_markup)
841 (hildon_banner_show_animation, hildon_banner_show_progress)
842 (hildon_banner_set_text, hildon_banner_set_markup):
843 Refactor code. Shrink banner vertically to use the minimum space
844 necessary everytime the text of the label is updated.
845 (screen_size_changed):
846 Call force_to_wrap_truncated() when the size of the screen
849 Fixes: NB#120500 (only device memory connect mmc in use info
850 banner is left aligned)
852 Fixes: NB#120613 (Size of HildonBanner varies depending on
853 previously opened banners)
855 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
857 * hildon/hildon-color-chooser.c
858 (hildon_color_chooser_pointer_motion): Take the widget allocation
861 Fixes: NB#124385 (Unable to select exact point in color mixing box
862 in color palette dialog)
864 2009-06-23 Alejandro G. Castro <alex@igalia.com>
866 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
867 (hildon_pannable_area_dispose)
868 (hildon_pannable_area_button_press_cb)
869 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
870 (hildon_pannable_area_button_release_cb)
871 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
872 New 'panning-started' and 'panning-finished' signals.
874 Fixes: NB#121732 (New feature request: Signal to pannable area
875 that informs when panning is stopped.)
877 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
879 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
880 instead of hardcoded colon.
882 Fixes: NB#124090 (New calendar wizard title is not using
883 ecdg_ti_caption_separator)
885 2009-06-22 David King <davidk@openismus.com>
887 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
888 constants and functions, as well as correct many typos throughout the
891 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
894 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
896 * configure.ac: postrelease version bump.
897 * debian/changelog: post release version bump
899 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
904 * configure.ac: Bump version.
905 * debian/changelog: Updates.
907 2009-06-18 Alberto Garcia <agarcia@igalia.com>
909 * hildon/hildon-window-stack.c
910 (hildon_window_stack_pop_and_push_list):
911 Prevent windows from having the same stack index
913 2009-06-18 Alberto Garcia <agarcia@igalia.com>
915 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
916 Use the index of the previous window rather than the stack length
917 to calculate the new index.
921 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
923 * hildon/hildon-date-selector.c
924 (hildon_date_selector_select_current_date)
925 (hildon_date_selector_get_date)
926 (hildon_date_selector_select_day):
927 Update the documentation: uses always the range (1-31), as it is obvious
928 that the final one will depend on the month and the year, but globally
929 the range is this, in a similar GtkCalendar approach
930 (hildon_date_selector_get_date):
931 Update the documentation: add NULL as a valid value for the day, month
934 Fix some details, after talk with David King on bug MB#4698
936 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
938 * hildon/hildon-touch-selector-entry.c
939 * hildon/hildon-touch-selector.c
940 Update the documentation of the "text-column" property
942 2009-06-18 David King <davidk@openismus.com>
944 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
945 several typos and errors throughout the documentation.
947 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
950 2009-06-18 Alberto Garcia <agarcia@igalia.com>
952 * hildon/hildon-note.c (hildon_note_realize):
953 Make HildonNote support portrait mode.
955 Fixes: NB#123448 (HildonNote is not portrait-friendly)
957 2009-06-17 Alberto Garcia <agarcia@igalia.com>
959 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
960 Document this function
962 2009-06-17 David King <davidk@openismus.com>
964 * hildon/hildon-date-selector.c
965 (hildon_date_selector_select_current_date)
966 (hildon_date_selector_get_date): Update documentation regarding days,
967 as the day of the month is dependent on both the month and the year.
968 (hildon_date_selector_get_date): Fix documentation of output arguments.
970 Fixes: MB#4698 (DateSelector documentation has bad output argument
971 description, and the day depends on both the month and the year)
973 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
975 * hildon/hildon-caption.c: Other documentation fixes to
978 2009-06-17 David King <davidk@openismus.com>
980 * hildon/hildon-caption.c: Minor documentation updates for
981 HildonCaption. Fixes MB#4697.
983 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
985 * doc/hildon-docs.sgml: Add hildon-version section.
986 * doc/hildon-sections.txt:
987 * hildon/hildon-version.h.in: Document versioning macros and
990 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
992 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
993 from HildonPickerDialog section.
995 2009-06-16 Alberto Garcia <agarcia@igalia.com>
997 * hildon/hildon-banner.c (hildon_banner_bind_style)
998 (screen_size_changed, hildon_banner_init)
999 (hildon_banner_real_show_information)
1000 (hildon_banner_show_information_with_markup)
1001 (hildon_banner_show_animation, hildon_banner_show_progress):
1002 Set a different widget name to banners in portrait mode, for them
1003 to be themed correctly.
1005 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1007 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
1008 Set a different widget name to notes in portrait mode, for them to
1009 be themed correctly.
1011 Partially fixes: NB#118401 (HildonNote causes unnecessary
1012 rescaling of images)
1014 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1016 * hildon/hildon-note.c (hildon_note_class_init)
1017 (+hildon_note_size_request, screen_size_changed):
1018 Always request the full width of the screen.
1020 Fixes: NB#118375 (unnecessary rescaling of images)
1022 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1024 * hildon/hildon-pannable-area.c,
1025 (hildon_pannable_area_init),
1026 (hildon_pannable_area_realize): Replaced old code adding flags in
1027 the object init, now we add it with the other flags in the realize
1030 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1032 * hildon/hildon-note.c: (hildon_note_class_init): Several
1033 documentation improvements to the HildonNote widget.
1035 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1037 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1039 Fixes: MB#4556 (HildonNoteType is undocumented)
1041 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1043 * hildon/hildon-picker-button.c:
1044 Explain how HildonPickerButton sets the title of its dialog
1046 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1047 the title of its dialog)
1049 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1051 * hildon/hildon-check-button.c:
1052 Documentation updates
1054 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1057 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1059 * hildon/Makefile.am
1060 * hildon/hildon-edit-toolbar-private.h
1061 * hildon/hildon-edit-toolbar.c
1062 (+hildon_edit_toolbar_set_progress_indicator)
1063 (hildon_edit_toolbar_init): Add progress indicator to the
1066 * hildon/hildon-gtk.c
1067 (hildon_gtk_window_set_progress_indicator):
1068 If the window contains a HildonEditToolbar, enable the progress
1069 indicator there too.
1071 * hildon/hildon-private.h
1072 * hildon/hildon-private.c
1073 (+hildon_private_create_animation)
1074 * hildon/hildon-banner.c
1075 (-hildon_banner_create_animation):
1076 Moved to hildon-private.c
1078 Fixes: NB#102373 (Progress indicator also for the Edit mode
1081 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1083 * hildon/hildon-app-menu-private.h
1084 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1085 (hildon_app_menu_add_filter, +menu_item_button_event)
1086 (hildon_app_menu_button_release, hildon_app_menu_init):
1087 Make sure that buttons receive 'button-release-event' in spite of
1088 the grab held by HildonAppMenu
1090 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1092 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1094 * hildon/hildon-app-menu.c
1095 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1096 New style property to set the size of the group of filter buttons.
1098 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1100 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1105 * configure.ac: Bump version.
1106 * debian/changelog: Updates.
1108 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1110 * hildon/hildon-main.c: Minor documentation fixes.
1112 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1114 * doc/hildon-sections.txt:
1115 * hildon/hildon-defines.h: Document the defines, organize them,
1116 and mark deprecations as such.
1118 Fixes: MB#4463 (Hildon size #defines are undocumented)
1120 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1122 * hildon/hildon-animation-actor.c:
1123 * hildon/hildon-app-menu.c:
1124 * hildon/hildon-button.c:
1125 * hildon/hildon-date-editor.c:
1126 * hildon/hildon-dialog.c:
1127 * hildon/hildon-edit-toolbar.c:
1128 * hildon/hildon-entry.c:
1129 * hildon/hildon-program.c:
1130 * hildon/hildon-remote-texture.c:
1131 * hildon/hildon-stackable-window.c:
1132 * hildon/hildon-text-view.c:
1133 * hildon/hildon-touch-selector.c:
1134 * hildon/hildon-window-stack.c:
1135 * hildon/hildon-window.c:
1137 Remove redundant "represents" wording from most of the documentation.
1139 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1141 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1145 * hildon/Makefile.am
1146 * hildon/hildon-banner-private.h
1147 * hildon/hildon-banner.c:
1148 Move HildonBannerPrivate to hildon-banner.c and remove
1149 hildon-banner-private.h
1150 Use a bit field to store private booleans.
1152 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1154 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1155 Don't install a new idle function if there's already one
1160 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1162 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1163 (+legacy_menu_realized, +legacy_menu_unmapped)
1164 (+set_legacy_menu_type):
1165 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1166 they can be identified by the window manager.
1168 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1169 displayed in wrong location)
1171 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1174 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1176 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1178 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1179 use gtk-doc support)
1181 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1183 * hildon/hildon-code-dialog.c
1184 * hildon/hildon-date-editor.c
1185 * hildon/hildon-number-editor.c
1186 * hildon/hildon-seekbar.c
1187 * hildon/hildon-stackable-window.c
1188 * hildon/hildon-window.c:
1189 Misc documentation updates
1191 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1193 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1194 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1196 Fixes: NB#117931 (Theming issues in accounts dialogs)
1198 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1200 * hildon/hildon-pannable-area.c,
1201 (hildon_pannable_area_button_release_cb): Changed the coordinates
1202 of the original release in case we want to discard the release,
1203 some widgets in Fremantle do not handle the leave-notify.
1205 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1207 * hildon/hildon-pannable-area.c,
1208 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1209 the release using the last refactored functions and avoiding the
1210 movement if an element was selected.
1212 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1214 * hildon/hildon-pannable-area.c,
1215 (hildon_pannable_area_check_move),
1216 (hildon_pannable_area_handle_move),
1217 (hildon_pannable_area_motion_notify_cb): Refactored the
1218 motion_notify method using a couple of new functions.
1220 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1222 * hildon/hildon-date-selector.c:
1223 (hildon_date_selector_construct_ui):
1224 * hildon/hildon-time-selector.c:
1225 (hildon_time_selector_constructor):
1226 * hildon/hildon-touch-selector-entry.c:
1227 (hildon_touch_selector_entry_set_text_column),
1228 (hildon_touch_selector_entry_get_text_column):
1229 * hildon/hildon-touch-selector.c: (_default_print_func),
1230 (hildon_touch_selector_new_text): Use
1231 hildon_touch_selector_set/get_text_column() instead of
1232 setting/getting the "text-column" property.
1234 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1236 * doc/hildon-sections.txt: Add the new public methods below.
1238 * examples/hildon-picker-button-multicolumn-example.c:
1239 (create_touch_selector):
1240 * examples/hildon-touch-selector-example.c: (create_selector):
1241 * examples/hildon-touch-selector-multi-cells-example.c:
1243 Use hildon_touch_selector_column_set_text_column()
1245 * hildon/hildon-touch-selector-column.h:
1246 * hildon/hildon-touch-selector.c:
1247 (hildon_touch_selector_column_set_text_column),
1248 (hildon_touch_selector_column_get_text_column):
1249 Make hildon_touch_selector_column_set/get_column() public, use
1250 them in the inline example, document them, and reference to them
1253 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1255 * hildon/hildon-time-selector.c: Fix the docs for
1256 hildon_time_selector_new_step().
1258 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1260 * hildon/hildon-touch-selector.c: Improve the documentation for
1261 hildon_touch_selector_append_column().
1263 Fixes MB#4641 (Documentation:
1264 hildon_touch_selector_append_column() ref-counting)
1266 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1268 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1269 Comment out test 5, since the hildon_controlbar_set_range() range
1270 check is broken and fixing it would have side effects. Also,
1271 this finally fixes make distcheck.
1273 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1275 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1277 * tests/TEST-CASES.txt: Remove other bogus test.
1278 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1279 Remove bogus test that was setting/retrieving a valid value.
1281 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1283 * tests/TEST-CASES.txt: Remove bogus tests.
1284 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1285 Remove three bogus tests that were actually setting valid colors.
1287 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1289 * configure.ac: post release version bump
1290 * debian/changelog: post release version bump
1292 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1297 * configure.ac: Bump version.
1298 * debian/changelog: Updates.
1300 2009-06-08 Christian Dywan <christian@lanedo.com>
1304 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1305 Correct errors in hildon_format_file-size_for_display and use
1306 translations from the hildon-fm package instead of osso-filemanager.
1308 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1310 * hildon/hildon-pannable-area.c,
1311 (hildon_pannable_area_init): Initialized new values to handle the
1312 adjustment position.
1313 (hildon_pannable_area_adjust_value_changed): Check if the values
1314 changed before even call the redraw function.
1315 (hildon_pannable_area_size_allocate),
1316 (hildon_pannable_axis_scroll),
1317 (hildon_pannable_area_scroll),
1318 (hildon_pannable_area_jump_to): Improved the diagonal movement
1321 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1324 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1326 * examples/hildon-banner-example.c:
1327 Several style updates
1328 (on_animation_clicked, on_animation_idle)
1329 (on_progress_clicked, on_progress_idle):
1330 Add additional reference for the cases when the parent window is
1333 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1335 * doc/hildon-sections.txt
1336 * hildon/hildon-pannable-area.c
1337 * hildon/hildon-banner.h
1338 * hildon/hildon-banner.c: Documentation updates.
1340 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1343 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1345 * hildon/hildon-calendar-popup.h:
1346 * hildon/hildon-caption.h:
1347 * hildon/hildon-code-dialog.h:
1348 * hildon/hildon-controlbar.h:
1349 * hildon/hildon-date-editor.h:
1350 * hildon/hildon-dialog.h:
1351 * hildon/hildon-get-password-dialog.h:
1352 * hildon/hildon-hvolumebar.h:
1353 * hildon/hildon-login-dialog.h:
1354 * hildon/hildon-note.h:
1355 * hildon/hildon-number-editor.h:
1356 * hildon/hildon-range-editor.h:
1357 * hildon/hildon-seekbar.h:
1358 * hildon/hildon-set-password-dialog.h:
1359 * hildon/hildon-sort-dialog.h:
1360 * hildon/hildon-time-editor.h:
1361 * hildon/hildon-time-picker.h:
1362 * hildon/hildon-volumebar-range.h:
1363 * hildon/hildon-volumebar.h:
1364 * hildon/hildon-vvolumebar.h:
1365 * hildon/hildon-weekday-picker.h:
1366 * hildon/hildon-window.h:
1367 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1368 macros with the current replacements
1370 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1372 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1374 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1375 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1376 itself, to make it fit better with Fremantle style.
1378 Fixes: NB#109878 (height and width of focus on color icon is not
1379 consistent with other item in the application tool bar)
1381 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1383 * hildon/hildon-touch-selector.c:
1384 (hildon_touch_selector_optimal_size_request): use the current requisition
1385 as the base, in order to include any possible extra widget, like the
1386 hildon entry on HildonTouchSelectorEntry
1388 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1390 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1392 * configure.ac: post release version bump
1393 * debian/changelog: post release version bump
1395 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1400 * configure.ac: Bump version.
1401 * debian/changelog: Updates.
1403 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1405 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1407 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1408 to ensure the banner contents are centered, instead of relying on
1409 the expand and fill properties in GtkHBox.
1410 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1412 Fixes: NB#108265 (Animation banner not properly centered)
1414 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1416 * hildon/hildon-pannable-area.c
1417 (hildon_pannable_area_initial_effect): Remove the initial_effect
1418 management, check initial_hint
1419 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1420 set initial_effect to FALSE
1421 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1422 by launching the fade_timeout if the scrollbars state has changed and are
1424 * examples/hildon-pannable-area-initial-hint-example.c
1425 Modified to allow to remove rows too. Add and remove rows one by one.
1427 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1429 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1430 Don't close the menu if there's an animation actor below it.
1432 Fixes: NB#117927 (Application menu not usable with animation
1435 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1437 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1438 "focus-on-click" from the dialog button, to avoid stealing the
1439 focus from the entry.
1441 Fixes: NB#118903 (Account setup wizard: Text in Search field
1442 should be focused when "Region" touch list picker is reopened
1445 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1447 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1448 (prepare_action_area): Completely hide the dialog separator.
1450 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1452 * hildon/hildon-touch-selector-entry.c
1453 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1454 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1455 now that the entry is exposed.
1457 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1459 * hildon/hildon-touch-selector-entry.c
1460 (hildon_touch_selector_entry_init): Change the entry's size
1461 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1463 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1465 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1466 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1467 avoid unnecessary scaling.
1469 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1471 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1472 Create grab transfer window before calling parent's map function.
1474 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1475 "crushed" button(s) in the top left corner)
1477 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1479 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1480 Check if the window is already realized when pushing it.
1482 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1484 * configure.ac: post release version bump
1485 * debian/changelog: post release version bump
1487 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1492 * configure.ac: Bump version.
1493 * debian/changelog: Updates.
1495 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1497 * hildon/hildon-app-menu.c: Doc updates.
1499 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1501 * hildon/hildon-banner.c: Remove leftover macro.
1503 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1505 * hildon/hildon-pannable-area.c,
1506 (hildon_pannable_area_scroll_indicator_fade),
1507 (hildon_pannable_area_button_release_cb): Reviewed vmin
1508 conditions, it could cause problems in the fadeout procedure.
1510 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1512 * hildon/hildon-pannable-area.c
1513 (hildon_pannable_area_button_release_cb): Added a threshold to
1514 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1516 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1518 * hildon/hildon-pannable-area.c,
1519 (hildon_pannable_area_set_property): Added code to sync the gtk
1520 dnd threshold with the panning threshold.
1522 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1524 * hildon/hildon-pannable-area.c,
1525 (hildon_pannable_area_class_init): Changed some of the default
1526 values, now it should be less responsive and more accurate.
1528 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1530 * hildon/hildon-pannable-area.c,
1531 (hildon_pannable_area_init),
1532 (hildon_pannable_area_scroll_indicator_fade),
1533 (hildon_pannable_area_button_press_cb),
1534 (hildon_pannable_axis_scroll),
1535 (hildon_pannable_area_timeout),
1536 (hildon_pannable_area_motion_notify_cb),
1537 (hildon_pannable_area_button_release_cb): Changed the name of the
1538 clicked attribute to button_pressed, it is more clear about its use.
1540 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1542 * src/hildon-pannable-area.c
1543 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1545 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1546 vertical scrollbar visibility, and use the data on private section instead,
1547 remove the initial_hint check
1548 (hildon_pannable_area_expose_event): add the initial_hint check here
1550 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1552 * src/hildon-pannable-area.c
1553 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1554 if the fadeout effect was used
1555 (hildon_pannable_area_expose_event): check if it is required to
1556 manage the initial effect on the begining of the function. Previously
1557 it was made at the end, but this doesn't ensure that the scrollbars
1558 will be painted on the first show. Do not set to FALSE initial_effect,
1559 to ensure that the initial hint is showed the first time the pannable
1561 * examples/Makefile.am
1562 * examples/hildon-pannable-area-initial-hint-example.c:
1563 New example, to show that the initial-hint is showed when the widget
1566 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1567 initially if the application can be scrolled)
1569 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1571 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1572 Resize table before adding new items to make sure that
1573 gtk_table_resize() is called just once.
1575 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1577 * hildon/hildon-app-menu-private.h
1578 * hildon/hildon-app-menu.c (item_visibility_changed)
1579 (filter_visibility_changed, hildon_app_menu_show_all)
1580 (hildon_app_menu_hide_all, hildon_app_menu_init):
1581 Rearrange items just once when gtk_widget_show_all()/hide_all()
1584 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1586 * hildon/hildon-app-menu.c
1587 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1588 Don't call gtk_widget_show() on added items.
1590 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1591 automatically when they're added)
1593 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1595 * hildon/hildon-banner.c
1596 (hildon_banner_realize, +hildon_banner_unrealize)
1597 (+screen_size_changed, hildon_banner_class_init):
1598 Redisplay the banner if the screen is rotated.
1600 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1601 on transition from landscape to portrait)
1603 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1605 * hildon/hildon-banner.[ch]:
1606 (hildon_banner_show_information_override_dnd): remove icon_name from the
1607 method definition as it is ignored.
1608 * examples/hildon-banner-dnd-example.c: updated with the change on
1611 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1613 * hildon/hildon-banner-private.h: new require_override_dnd and
1614 overrides_dnd variables
1615 * hildon/hildon-banner.h:
1616 (hildon_banner_show_information_override_dnd): new method, that shows
1617 the information but sets the override flag, in order to show important
1619 * hildon/hildon-banner.c
1620 (hildon_banner_show_information_override_dnd): new method
1621 (hildon_banner_set_override_flag): new utility function
1622 (hildon_banner_real_show_information): new utility function, in order to
1623 generalize the current hildon_banner_show_information_override_dnd and
1624 hildon_banner_show_information_override_dnd
1625 * examples/Makefile.am
1626 * examples/hildon-banner-dnd-example.c: New example that show how to
1627 use the new hildon_banner_show_information_override_dnd
1629 Fixes: NB#114874 (There is no possibility to show hildon banners with
1632 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1634 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1635 behind hildon_pannable_calculate_vel_factor().
1637 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1639 * hildon/hildon-pannable-area.c
1640 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1641 deceleration factors.
1643 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1645 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1646 Reduce the default value for 'scroll_time' to 1 second, since the
1647 current initial scrolling takes too much time.
1649 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1651 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1652 calculate velocity factor during initialization, since the properties
1655 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1657 * hildon/hildon-pannable-area.c
1658 (hildon_pannable_area_set_property): Calculate the velocity factor
1659 after setting the deceleration property and not after.
1661 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1663 * hildon/hildon-entry.c
1664 (hildon_entry_class_init, +set_property, hildon_entry_new)
1665 * hildon/hildon-check-button.c
1666 (hildon_check_button_class_init)
1667 (+set_property, hildon_check_button_new):
1668 Make the theme size a property.
1670 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1671 others) do too much in the _new function)
1673 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1675 * configure.ac: post release version bump
1676 * debian/changelog: post release version bump
1678 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1683 * configure.ac: Bump version.
1684 * debian/changelog: Updates.
1686 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1688 * hildon/hildon-gtk.h
1689 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1690 New API function to take a screenshot of a window
1692 Fixes: NB#106374 (Need API to take a loading screenshot)
1694 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1696 * hildon/hildon-time-selector.c
1697 (update_format_policy): prevent to use hours and minutes unitialized
1699 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1701 * hildon/hildon-window.c (hildon_window_size_request):
1702 Always request the full size of the screen (minus the title bar if
1703 not in fullscreen mode).
1705 Fixes: NB#107486 (HildonWindow should size itself properly)
1707 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1709 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1710 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1711 (on_show_cb), (sound_handling): Disconnect the idle handler for
1712 the sound when the note is finalized to avoid possible crashes.
1714 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1717 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1719 * src/hildon-animation-actor.c,
1720 * src/hildon-remote-texture.c:
1721 Added proper object cleanup to remove signal handler and object
1722 references as HildonAnimationActor and HildonRemoteTexture
1723 objects get destroyed.
1725 Fixes: NB#116682 (Destroying parented animation actors when
1726 parent in unmapped leads to crash)
1728 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1730 Based on a patch by Christian Dywan (christian@imendio.com)
1732 * doc/hildon-sections.txt:
1733 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1734 * hildon/hildon-helper.h: New file size formatting method.
1736 * debian/control: Depend on osso-filemanager l10n package for
1737 proper localization strings.
1739 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1741 * tests/Makefile.am: Include top_srcdir to make possible to build
1742 tests in a different builddir.
1743 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1744 on a different builddir.
1746 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1748 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1749 (hildon_touch_selector_remove): Disconnect model's signal handler
1752 Fixes: NB#116289 (Hildon home crashes while adding task
1755 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1757 * hildon/hildon-button.c
1758 (hildon_button_set_title, hildon_button_set_value):
1759 Hide labels containing an empty string.
1761 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1763 * configure.ac: post release version bump
1764 * debian/changelog: post release version bump
1766 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1771 * configure.ac: Bump version.
1772 * debian/changelog: Updates.
1774 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1776 * hildon/hildon-note-private.h: Removed sound_signal_handler
1777 * hildon/hildon-note.c
1778 (on_show_cb): new callback on note "show" event, this simply adds
1779 a idle, with the function sound_handling
1780 (sound_handling): removed the sound_signal_handler management
1781 (hildon_note_init): connect note "show" event to on_show_cb
1782 (hildon_note_realize): remove the connection to "expose-event"
1784 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1785 device?' confirmation note)
1787 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1789 * hildon/hildon-note.c
1790 (hildon_note_new_information_with_icon_name)
1791 (hildon_note_new_confirmation_with_icon_name):
1792 Terminate the list of parameters in g_object_set() calls
1794 Fixes: NB#115166 (Formatting memory card is not taking place)
1796 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1798 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1799 "dialog-information" role for the sound being played.
1801 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1803 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1804 Don't make the menu a modal window, it causes strange interactions
1805 with the pointer grab and it's not really needed.
1807 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1809 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1811 * hildon/hildon-touch-selector.[ch]
1812 (hildon_touch_selector_optimal_size_request): function added to get a
1813 optimal size request from the touch selector, when you want a dialog to
1814 show as much of the selector
1815 * hildon/hildon-picker-dialog.c:
1816 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1817 (hildon_app_menu_class_init):
1818 New "max-height-landscape" and "max-height-portrait" style properties
1819 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1820 (hildon_picker_dialog_get_max_height): returns the maximum height using
1821 the style properties defined and checking the current portrait/landscape
1823 (_hildon_picker_dialog_set_selector): removed the set_size_request
1825 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1827 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1829 * hildon/hildon-bread-crumb-trail.c:
1830 * hildon/hildon-bread-crumb.c:
1831 * hildon/hildon-seekbar.c:
1832 Add reference to replacements for these deprecated widgets.
1834 Fixes: MB#4461 (Documentation: All deprecations should mention
1837 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1839 * examples/hildon-remote-texture-example.c
1841 Change the include to the hildon-remote-texture in order to compile
1842 properly the examples on the installed libhildon1-examples package
1844 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1846 * tests/Makefile.am: Add check for HildonPickerButton.
1847 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1848 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1849 checks for the HildonPickerButton.
1850 * tests/check_test.c (configure_tests): Add the test suite.
1851 * tests/test_suites.h: likewise.
1853 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1855 * hildon/hildon-touch-selector.c
1856 (+on_row_changed): Emit HildonTouchSelector:changed when the
1857 contents of a selected row change.
1858 (_create_new_column), (_hildon_touch_selector_set_model): connect
1859 to GtkTreeModel:row-changed on a newly set model.
1861 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1863 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1865 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1867 * hildon/hildon-banner.c (hildon_banner_destroy)
1868 (hildon_banner_show_progress, hildon_banner_set_fraction):
1869 Remove the progress bar from HildonBanner and use a progress
1872 Fixes: NB#113761 (Update progress banner to use progress
1875 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1877 * hildon/hildon-banner.c:
1878 Calculate size of the banner label using the actual screen width
1879 rather than using a fixed value.
1881 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1884 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1886 * hildon/hildon-pannable-area.c,
1887 (hildon_pannable_area_class_init): Fixed signals documentation
1890 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1892 * configure.ac: post release version bump
1893 * debian/changelog: post release version bump
1895 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1900 * configure.ac: Bump version.
1901 * debian/changelog: Updates.
1903 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1905 * hildon/hildon-edit-toolbar.c
1906 (hildon_edit_toolbar_init):
1907 Don't let buttons in HildonEditToolbar receive focus.
1909 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1910 typing on an HW arrows key)
1912 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1914 * doc/Makefile.am: Fix build.
1916 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1918 * doc/Makefile.am: Do not redefine content_files.
1920 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1928 Renamed src/ to hildon/
1933 Include <hildon/hildon.h> directly in all examples.
1935 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1937 * src/hildon-sort-dialog.c
1938 (hildon_sort_dialog_add_sort_key_with_sorting)
1942 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1945 make distcheck passes.
1947 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1949 * Makefile.am: Enable gtk-doc during distcheck.
1951 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1953 * Makefile.am: Do not distribute the debian/ directory.
1955 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1957 * doc/Makefile.am: Add the extra SGML files to content_files,
1958 so that they are distributed properly.
1960 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1962 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1965 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1968 (hildon_note_new_information_with_icon_name): Set the "icon" property
1969 to preserve soundness.
1971 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-font-selection-dialog.c
1974 (hildon_font_selection_dialog_set_property): Fail when the "family"
1975 property is set to NULL.
1977 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1979 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1982 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1984 * src/hildon-time-selector.h:
1985 Added HildonTimeSelectorFormatPolicy
1986 * src/hildon-time-selector.c:
1987 Added PROP_TIME_FORMAT_POLICY
1988 (_check_ampm_format): renamed to check_automatic_ampm_format
1989 (update_format_policy), (update_format_dependant_columns): new functions
1990 (hildon_time_selector_class_init)
1991 (hildon_time_selector_contructor)
1992 (hildon_time_selector_init)
1993 (hildon_time_selector_get_property)
1994 (hildon_time_selector_set_property)
1995 (hildon_time_selector_get_time)
1996 (hildon_time_selector_set_time)
1997 * src/hildon-touch-selector.h: new file
1998 * src/hildon-touch-selector.c
1999 (hildon_touch_selector_emit_changed)
2000 (hildon_touch_selector_block_changed)
2001 (hildon_touch_selector_unblock_changed)
2002 Added functions to allow to block the emission of the "changed" signal
2003 * src/hildon-picker-dialog.c
2004 (hildon_picker_dialog_show): call the parent show before the custom code
2005 * examples/hildon-time-button-example.c
2006 Modified, so now you can configure the time format using the new property
2008 Added a new property "time-format-policy" that allow to choose the time
2009 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
2010 case it uses gconf in order to check if the time selector must use
2013 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2016 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2018 * src/hildon-note.c (hildon_note_init):
2019 Label in HildonNote must be left aligned, not centered. This
2020 reverts the last commit in HildonNote.
2022 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2023 is connectivity dialog)
2025 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2030 * doc/hildon-sections.txt:
2031 Added hildon_gtk_window_set_do_not_disturb()
2033 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-note.c (hildon_note_init): Center label.
2037 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2040 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2045 * configure.ac: Bump version.
2046 * debian/changelog: Updates.
2048 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2050 * src/hildon-note-private.h: Add button-width to the private data.
2051 * src/hildon-note.c (+resize_button),
2052 (+hildon_note_orientation_update): methods to repack widgets on orientation
2054 (screen_size_changed): Call above method for confirmation notes.
2055 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2056 (hildon_note_rebuild): Store the original width request from buttons.
2058 Fixes: NB#109635 (Confirmation notes do not support portrait)
2060 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2063 when it is a progress note.
2065 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2067 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2068 in the note, since there are no horizontally arranged contents.
2070 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2072 * src/hildon-gtk.c (+set_flag): new generic method to
2073 set/delay a flag setting in a window.
2074 (hildon_gtk_window_set_progress_indicator):
2075 (hildon_gtk_window_set_do_not_disturb),
2076 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2077 avoid code redundance.
2079 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2081 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2083 * src/hildon-gtk.c (set_clear_window_flag),
2084 (do_set_progress_indicator), (do_set_do_not_disturb),
2085 (do_set_portrait_flags),
2086 (hildon_gtk_window_set_progress_indicator),
2087 (hildon_gtk_window_set_do_not_disturb),
2088 (hildon_gtk_window_set_portrait_flags):
2089 Allow setting dnd-flag, progress indicator, and portrait flags
2090 when the window is not realized.
2092 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2094 * src/hildon-pannable-area.c,
2095 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2096 the size request policy function and defines.
2098 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2100 * doc/hildon-sections.txt: Add the new API.
2101 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2102 method to set the portrait flags.
2103 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2105 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2107 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2109 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2110 to allow using this method with other flags.
2111 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2112 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2114 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-touch-selector.c
2117 (hildon_touch_selector_append_text_column):
2118 Make the cell renderer use the smallest width possible.
2120 Fixes: NB#108470 (Selected items in multiple selection are either
2121 having a tick that is cut or not visible at all.)
2123 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-touch-selector.c
2126 (hildon_touch_selector_append_text_column):
2129 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2132 Use g_strdup_printf() instead of a fixed size buffer.
2134 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2136 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2137 Close banners when a HildonAppMenu is popped up.
2139 Fixes: NB#111027 (Title menu closed immediately if activated when
2140 "Invalid e-mail address" banner is shown)
2142 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2147 * configure.ac: Bump version.
2148 * debian/changelog: Updates.
2150 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2152 * src/hildon-banner.c (hildon_banner_realize):
2153 Mark HildonBanner as supporting portrait mode.
2154 Use GDK to set window properties insetad of direct Xlib calls.
2156 Fixes: NB#111830 (HildonBanner should be marked as supporting
2159 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2161 * src/hildon-note.c (hildon_note_rebuild):
2162 Hide action area in information notes. Prevents text from being
2163 slightly aligned to the left.
2165 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2168 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2170 Patch by Mox Soini (ext-mox.soini@nokia.com)
2172 * src/hildon-banner.c (hildon_banner_create_animation):
2173 Use stylus-sized icons in animation banner.
2175 Fixes: NB#111206 (stylus sized icon for animation banner)
2177 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2181 (+hildon_gtk_window_set_do_not_disturb):
2182 New API to set the do-not-disturb flag.
2184 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2186 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2188 * examples/hildon-progress-indicator-example.c: Fix example
2190 * src/hildon-gtk.c (set_clear_window_flag)
2191 (hildon_gtk_window_set_progress_indicator):
2192 Create a generic function for setting flags to a window.
2193 Use GDK instead of direct Xlib calls.
2195 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2197 * src/hildon-button.c (hildon_button_set_arrangement):
2198 Due to NB#88126, if one of the labels is too long it will be
2199 painted outside the button. The 'value' label is more likely to be
2200 the longest one, so we change its packing options in order to
2201 truncate it if necessary. As a side effect, the 'title' label will
2202 no longer be truncated.
2204 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2206 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2211 * configure.ac: Bump version.
2212 * debian/changelog: Updates.
2214 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2216 Deprecation of the hildon_pannable_area_set_size_request_policy
2217 API, the only policy properly supported in gtk+ nowadays is the
2220 * src/hildon-pannable-area.c,
2221 (hildon_pannable_area_size_request): Added a workaround for the
2222 size_request to avoid the problems of huge pixmaps in case someone
2223 is still using the function.
2224 * src/hildon-pannable-area.h: Deprecated the enum with the
2227 Fixes: NB#110244 (Problems with the
2228 hildon_pannable_area_set_size_request_policy API)
2230 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2232 * src/hildon-pannable-area.c,
2233 (hildon_pannable_area_init),
2234 (hildon_pannable_area_size_request),
2235 (hildon_pannable_area_style_set),
2236 (hildon_pannable_draw_vscroll),
2237 (hildon_pannable_draw_hscroll),
2238 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2239 indicator_width to clarify the use of the attribute.
2241 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2246 * configure.ac: Bump version.
2247 * debian/changelog: Updates.
2249 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2251 * src/hildon-picker-dialog.c
2252 * src/hildon-touch-selector.c
2253 Reverting the change that tried to avoid the hardcoded height on
2254 the picker dialog, as causes problems on the hildon-touch-selector
2257 Fixes: NB#110029 (selectors not scrolling to selected value)
2259 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2261 * src/hildon-touch-selector.c: Fix typos
2263 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2265 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2266 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2267 request more motions after using it.
2269 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/hildon-calendar.c (hildon_calendar_expose),
2272 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2273 Remove unused variables.
2275 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2277 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2278 variable assignment.
2280 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2282 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2283 Check the return value of gtk_tree_selection_get_selected()
2286 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2288 * src/hildon-animation-actor.c
2289 * src/hildon-button.c
2291 * src/hildon-pannable-area.c
2292 * src/hildon-picker-button.c
2293 * src/hildon-program.c
2294 * src/hildon-remote-texture.c
2295 * src/hildon-text-view.c
2296 * src/hildon-touch-selector.c
2297 * src/hildon-window-stack.c
2298 * src/hildon-window.c:
2299 Add missing 'Since: 2.2' tags.
2301 * doc/hildon-sections.txt:
2302 Add some missing symbols.
2304 * doc/hildon-docs.sgml:
2305 New 'Other' section for HildonAnimationActor and
2308 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2310 Patch by Iván Gómez (igomez@igalia.com)
2313 * doc/compiling.sgml
2314 * doc/hildon-docs.sgml
2315 * doc/hildon-sections.txt
2316 * doc/migration.sgml
2317 * doc/resources.sgml
2319 New chapters on using the Hildon library.
2320 Updated the general structure of the reference manual.
2321 Other minor documentation fixes.
2323 * src/hildon-calendar-popup.c
2324 * src/hildon-calendar.c
2325 * src/hildon-controlbar.c
2326 * src/hildon-date-editor.c
2327 * src/hildon-dialog.c
2328 * src/hildon-hvolumebar.c
2329 * src/hildon-number-editor.c
2330 * src/hildon-range-editor.c
2331 * src/hildon-sort-dialog.c
2332 * src/hildon-time-editor.c
2333 * src/hildon-time-picker.c
2334 * src/hildon-volumebar-range.c
2335 * src/hildon-volumebar.c
2336 * src/hildon-vvolumebar.c
2337 * src/hildon-weekday-picker.c:
2338 Add deprecation notes
2340 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2341 Document 'horizontal-movement' and 'vertical-movement' signals.
2343 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2348 * configure.ac: Bump version.
2349 * debian/changelog: Updates.
2351 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2353 * src/hildon-pannable-area.c,
2354 (hildon_pannable_area_class_init): increased the minimum velocity.
2355 (hildon_pannable_area_button_release_cb): Updated the
2356 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2357 setup. Review the code to control that last event.
2359 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2362 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2364 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2366 * src/hildon-get-password-dialog.c
2367 (hildon_get_password_set_property),
2368 (hildon_get_password_get_property), (create_contents):
2369 * src/hildon-login-dialog-private.h:
2370 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2371 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2372 (hildon_login_dialog_get_password):
2373 * src/hildon-set-password-dialog-private.h:
2374 * src/hildon-set-password-dialog.c
2375 (hildon_set_password_set_property),
2376 (hildon_set_password_get_property), (create_contents),
2377 (hildon_set_password_response_change),
2378 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2380 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2381 instead and look more Fremantle style.
2383 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2385 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2387 * doc/hildon-sections.txt
2388 * src/hildon-window-stack.h
2389 * src/hildon-window-stack.c
2390 (+hildon_window_stack_get_windows):
2391 New API to obtain the list of windows on a stack.
2393 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-app-menu.c (hildon_app_menu_popup)
2396 (hildon_app_menu_class_init, -hildon_app_menu_show):
2397 Remove hildon_app_menu_show() and move all its checks to
2398 hildon_app_menu_popup()
2400 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2402 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2403 (_hildon_picker_dialog_set_selector): removed call to
2404 gtk_widget_set_size_request
2405 * src/hildon-touch-selector.c
2406 (_create_new_column): change the pannable size request policy
2408 Avoid to use a hardcoded height for the hildon picker dialog. In order
2409 to get that, we needed to change the hildon pannable size request
2411 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2413 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2415 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2416 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2419 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2421 * debian/control: Depend on osso-system-lock localization package.
2422 * src/hildon-code-dialog.c: Obtain the secu_application_title
2423 translation from osso-system-lock.
2424 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2425 for translation the atk related strings, that's not necessary.
2426 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2427 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2428 cancel button, it is not required.
2430 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2432 * src/hildon-pannable-area.c,
2433 (hildon_pannable_area_class_init): Modified the default value of
2434 the overshooting max speed, we have reduced it.
2436 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2438 * doc/hildon-sections.txt
2439 * src/hildon-window-private.h
2440 * src/hildon-window.h
2441 * src/hildon-window.c (hildon_window_class_init)
2442 (hildon_window_init, hildon_window_finalize)
2443 (hildon_window_realize, hildon_window_get_property)
2444 (hildon_window_set_property, hildon_window_update_markup)
2445 (hildon_window_get_markup, hildon_window_set_markup):
2446 New "markup" property and hildon_window_{get,set}_markup() methods.
2448 * examples/hildon-stackable-window-example.c (new_window):
2449 Update example to use hildon_window_set_markup()
2451 Fixes: NB#106375 (Need API to retitle a window with a title
2454 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2456 * src/hildon-pannable-area.c,
2457 (hildon_pannable_area_class_init): Changed the default value of
2458 the initial_hint to TRUE.
2459 (hildon_pannable_area_initial_effect): Changed the initial effect,
2460 not the effect is just the fade-out of the scrollbars.
2462 Fixes: NB#107775 (No scrollbars can be seen when several items are
2463 available in a dialog)
2465 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-program.c (hildon_program_update_top_most):
2470 Fixes: NB#109179 (Memory leak in Hildon program)
2472 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-banner.c (-get_current_app_window):
2475 Remove unused function.
2477 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2479 * src/hildon-pannable-area.c: Modified the documentation of the
2480 get adjustments functions to explain the problem of using the
2481 adjustment directly.
2482 (hildon_pannable_area_class_init): Improved the explanation about
2485 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-app-menu-private.h
2488 * src/hildon-app-menu.c
2489 (hildon_app_menu_class_init):
2490 Bring back the 'external-border' style property
2491 (hildon_app_menu_class_init, hildon_app_menu_init)
2492 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2493 Set a fixed width-request for the menu, independent of the number
2496 Fixes: NB#94957 (Smoothly opened application menu)
2498 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2500 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2502 * src/hildon-banner.c
2503 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2505 Make sure that the banner is correctly placed the first time it's
2507 (hildon_banner_check_position, -check_fullscreen_state):
2508 Show the banner in the same place no matter if the window is in
2509 fullscreen mode or not.
2511 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2513 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2515 * src/hildon-touch-selector.c (_default_print_func): reorder
2516 concatenation for clarity.
2518 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2520 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2521 for multicolumn selectors.
2523 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2525 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2530 * configure.ac: Bump version.
2531 * debian/changelog: Updates.
2533 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2538 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2540 * configure.ac: removed libcangerra-gtk dependency
2541 * debian/control: removed libcanberra-gtk dependency
2542 * src/Makefile.am: removed libcanberra gtk related flags
2543 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2544 context, and manage a global canberra context instead
2546 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2548 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2550 Patch by Daniel Borgmann (danielb@openismus.com)
2552 * src/hildon-edit-toolbar.c:
2553 Adjust the left padding.
2554 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2555 Paint background of the edit toolbar.
2557 Fixes: NB#107897 (Patch to make editmodetoolbar background
2558 themeable and adjust margin)
2560 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2562 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2564 * src/hildon-program.c (hildon_program_update_top_most):
2565 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2567 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2568 change when the user tasks in/out of an application)
2570 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2572 * configure.ac: added libcangerra-gtk dependency
2573 * debian/control: added libcanberra-gtk dependency
2574 * src/Makefile.am: added libcanberra gtk related flags
2575 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2578 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2580 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2582 * src/hildon-program.c (hildon_program_remove_window)
2583 (hildon_program_add_window): Add checks for the window
2584 parameter. Don't decrease the window counter if the window is not
2587 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2589 * src/hildon-pannable-area.c,
2590 (hildon_pannable_area_realize): Fixed position of the event_window
2591 in the realize method.
2593 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-app-menu-private.h
2596 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2597 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2598 (hildon_app_menu_key_press, hildon_app_menu_init)
2599 (hildon_app_menu_finalize):
2600 Make sure that all idle functions are removed when the widget is
2603 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2605 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2610 * configure.ac: Bump version.
2611 * debian/changelog: Updates.
2613 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2615 * src/hildon-entry.c
2616 (+hildon_entry_show_placeholder),
2617 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2618 that replace hildon_entry_update_contents().
2619 (hildon_entry_set_text),
2620 (hildon_entry_set_placeholder),
2621 (hildon_entry_focus_in_event),
2622 (hildon_entry_focus_out_event): Determine when it is needed
2623 either to show or hide the placeholder and call the above methods.
2625 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2626 when the placeholder text is already set)
2628 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2630 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2631 simple GdkPixbufAnim using the new icons for the banner.
2632 (hildon_banner_show_animation): Use the above mentioned method to
2633 create the animation widget.
2635 Fixes: NB#103564 (Make hildon animation banner use individual
2636 image files as the animation)
2638 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2640 * src/hildon-pannable-area.c,
2641 (hildon_pannable_leave_notify_event): Check if the child is NULL
2642 to avoid sending the leave.
2644 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2646 * src/hildon-pannable-area.c,
2647 (hildon_pannable_area_class_init),
2648 (hildon_pannable_leave_notify_event): Added a handler of the
2649 leave-notify-signal to consider when no motion notify before
2652 Fixes: NB#107494 (Items stay selected when clicking and moving
2653 away when inside pannable area)
2655 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2660 * configure.ac: Bump version.
2661 * debian/changelog: Updates.
2663 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2665 Patch by Alberto Garcia (agarcia@igalia.com)
2667 * src/hildon-date-button.c,
2668 (hildon_date_button_class_init),
2669 (hildon_date_button_init): Removed the construct property handling
2670 and created a default selector in the init method.
2671 * src/hildon-picker-button.c,
2672 (hildon_picker_button_class_init): Removed the construct flag of the
2675 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2677 * src/hildon-main.c (hildon_init):
2678 Don't allow hildon_init() to be called more than once.
2680 Fixes: NB#106607 (hildon_init should issue error message upon
2683 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2685 * examples/hildon-pannable-area-touch-list-example.c
2686 * examples/hildon-pannagle-area-touch-grid-example.c
2687 * examples/hildon-edit-toolbar-example.c
2688 * examples/hildon-touch-selector-multi-cells-example.c
2689 Removed the call to gtk_rc_parse_string, as it is not required since
2692 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2694 * src/hildon-pannable-area.c,
2695 (hildon_pannable_area_class_init): Modified the default panning
2696 threshold of the widget to 6px.
2698 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2699 than the threshold value ) within the button is not sending the
2702 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2705 for the treeview in the new column. This way, the touch list will never
2708 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2709 be selected manually for the HW keys to work)
2711 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2713 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2714 comparison instead of using strcmp(). Fixes a compiler warning as well.
2716 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2718 * doc/hildon-docs.sgml: Do not set the library version in the
2719 document title, use the releaseinfo tag for that purpose instead.
2721 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2723 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2724 Do not jump to the first item if the text in the entry is removed.
2726 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2731 * configure.ac: Bump version.
2732 * debian/changelog: Updates.
2734 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-entry.c (hildon_entry_refresh_contents):
2737 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2738 Use "ReversedSecondaryTextColor" for the placeholder text.
2740 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2742 * src/hildon-text-view.c: Fix compilation warning.
2744 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-button.c (hildon_button_class_init): Don't make
2747 "title" and "value" construction properties, to prevent them from
2748 overwriting labels set from derived classes.
2750 * src/hildon-picker-button.c
2751 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2752 (hildon_picker_button_class_init): Make touch-selector a
2753 construction property.
2755 * src/hildon-date-button.c (hildon_date_button_class_init)
2756 (+hildon_date_button_constructed): Add a default date selector if
2759 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2761 * src/hildon-touch-selector.c: Small documentation fixes.
2763 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2765 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2767 * src/hildon-entry.c (hildon_entry_refresh_contents),
2768 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2769 widget name, set the logical color directly instead and a boolean
2770 showing_placeholder instead.
2771 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2772 use the widget name here either.
2774 Fixes: NB#105678 (HildonTextView should use logical colours
2775 instead of setting widget name)
2777 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2779 Patch by Daniel Elster (danielk@openismus.com)
2781 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2782 Add user_data parameter.
2783 (hildon_touch_selector_set_print_func_full): New function akin
2784 hildon_touch_selector_set_print_func() but with support for user
2785 data and a destroy callback.
2786 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2787 to clean up the print function user data.
2788 (hildon_touch_selector_class_init): Install dispose function.
2789 (HildonTouchSelectorPrivate::print_user_data),
2790 (HildonTouchSelectorPrivate::print_destroy_func): New private
2792 (hildon_touch_selector_init): Initialize new private members.
2793 (hildon_touch_selector_get_current_text): Pass along user data
2794 to the print function.
2795 (_default_print_func): Add dummy user_data to parameter list.
2796 * hildon-date-selector.c (_custom_print_func): ditto,
2797 * hildon-time-selector.c (_custom_print_func): ditto,
2798 * hildon-touch-selector-entry.c
2799 (hildon_touch_selector_entry_print_func): ditto.
2801 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2803 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2805 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2807 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2809 * src/hildon-pannable-area.c,
2810 (hildon_pannable_area_init),
2811 (hildon_pannable_area_button_press_cb),
2812 (hildon_pannable_area_motion_notify_cb): We have added code to
2813 handle the leave and enter events when using the motion events.
2815 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2817 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2819 * src/hildon-date-button.c (hildon_date_button_get_date)
2820 (hildon_date_button_set_date): Make sure that the button has a
2823 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2825 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2827 * src/hildon-pannable-area.c,
2828 (hildon_pannable_area_class_init),
2829 (hildon_pannable_area_calculate_velocity): Modify the use of the
2830 force and adapt the value.
2832 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2835 (hildon_app_menu_class_init): Hide the menu if it receives a
2836 delete-event, but don't destroy it
2838 Fixes: NB#104485 (Not able to address the call when application
2839 menu is opened at background)
2841 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-app-menu.c
2844 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2845 Remove the "external-border" style property, let the menu take its
2846 natural size (or the one set by the window manager)
2847 (hildon_app_menu_repack_items):
2848 Don't reshow the menu, avoid flickers.
2850 Partially fixes NB#94957 (Smoothly opened application menu)
2852 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2857 * configure.ac: Bump version.
2858 * debian/changelog: Updates.
2860 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2862 * src/hildon-pannable-area.c,
2863 (hildon_pannable_area_motion_notify_cb): We control that the
2864 direction error margin is used just in case the movement is
2865 allowed in the other direction.
2867 Fixes: NB#105012 (buttons inside a pannable area not getting
2868 release event when dragging/releasing)
2870 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2872 * src/hildon-pannable-area.c,
2873 (hildon_pannable_area_class_init),
2874 (hildon_pannable_area_get_property),
2875 (hildon_pannable_area_set_property),
2876 (hildon_pannable_area_initial_effect),
2877 (hildon_pannable_axis_scroll),
2878 (hildon_pannable_area_button_release_cb): Reviewed the
2879 overshooting effect, now it has its own max
2880 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2881 speed when bouncing.
2883 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2888 * configure.ac: Bump version.
2889 * debian/changelog: Updates.
2891 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2893 * src/hildon-pannable-area.c,
2894 (hildon_pannable_area_class_init): Changed the max speed, now
2895 users can launch the widget very fast. Reduced the default force,
2896 that way it is easier to control the launch speed.
2898 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2900 * src/hildon-pannable-area.c,
2901 (hildon_pannable_area_button_release_cb): Removed this check
2902 because it causes problems when the device is overloaded.
2904 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2906 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2907 add a current_text field to store the text entered in the
2908 touch selector entry.
2909 (_clean_current_selection): clean up the current text as well.
2910 (_save_current_selection), (_restore_current_selection):
2911 Save/restore the text in the entry if the selector is a
2912 HildonTouchSelectorEntry.
2914 Fixes: NB#102541 (value entered in the touch selector entry is not
2915 shown when opened for second time)
2917 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2919 * doc/hildon-sections.txt:
2920 * src/hildon-touch-selector-entry.c
2921 (+hildon_touch_selector_entry_get_entry):
2922 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2924 Fixes: NB#104815 (I need accessor to the entry inside
2925 HildonTouchSelectorEntry)
2927 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2930 (hildon_app_menu_class_init):
2931 New "filter-vertical-spacing" style property.
2933 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2935 * src/hildon-find-toolbar.c
2936 (hildon_find_toolbar_emit_close)
2937 (hildon_find_toolbar_emit_invalid_input)
2938 (hildon_find_toolbar_entry_activate):
2939 Use g_signal_emit() instead of g_signal_emit_by_name()
2941 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2943 Patch by Mox Soini (ext-mox.soini@nokia.com)
2945 * tests/TEST-CASES.txt
2946 * tests/check-hildon-banner.c
2947 * tests/check-hildon-note.c
2948 * src/hildon-banner.c
2949 * src/hildon-code-dialog.c
2950 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2951 * src/hildon-time-editor.c
2952 * examples/hildon-lookup-example.c (main):
2953 Replace obsolete icon names with new ones.
2955 * src/hildon-find-toolbar-private.h:
2956 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2957 (-hildon_find_toolbar_emit_search):
2958 Remove find button and change icon of close button.
2960 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2962 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2964 * src/hildon-time-button.c (hildon_time_button_new_step):
2965 Use the "touch-selector" property to set the selector directly
2966 when creating the object.
2968 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2970 Added a new example application that allows tuning the pannable
2971 area and replaced defines with properties in order to simplify the
2972 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2973 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2974 PROP_DIRECTION_ERROR_MARGIN.
2976 * examples/hildon-pannable-area-tuning-example.c: New example
2978 * src/hildon-pannable-area.c,
2979 (hildon_pannable_area_class_init),
2980 (hildon_pannable_area_init),
2981 (hildon_pannable_area_get_property),
2982 (hildon_pannable_area_set_property),
2983 (hildon_pannable_area_launch_fade_timeout),
2984 (hildon_pannable_area_adjust_value_changed),
2985 (hildon_pannable_axis_scroll),
2986 (hildon_pannable_area_motion_notify_cb),
2987 (hildon_pannable_area_scroll_cb),
2988 (hildon_pannable_area_button_release_cb): We have converted some
2989 of the defines that control the widget to properties to simplify
2992 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-app-menu.c (hildon_app_menu_map)
2995 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2996 so it's closed if a new window appears.
2998 Fixes: NB#104485 (Not able to address the call when application
2999 menu is opened at background)
3001 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-color-button.c (hildon_color_button_get_property):Add
3004 missing 'break' statement in in 'case' construct to avoid
3007 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3009 * src/hildon-touch-selector-entry.c
3010 (hildon_touch_selector_entry_get_property),
3011 (hildon_touch_selector_entry_set_property): Add missing 'break'
3012 statements in in 'case' constructs to avoid incorrect warnings.
3014 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3016 * src/hildon-time-editor.c
3017 (hildon_time_editor_get_time_separators): Do not crash if
3018 the first label is NULL.
3020 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3022 * src/hildon-date-selector.c (_month_days): Check for month to be
3023 strictly less than 12, since otherwise we may overrun the array.
3025 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-date-button.c (+hildon_date_button_new_full)
3028 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3029 (hildon_date_button_init): Set the date selector using a
3030 construction property, to make it happen after HildonButton's
3031 "value" property is set.
3033 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3034 current date by default)
3036 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3038 * doc/hildon-sections.txt
3039 * src/hildon-program.c
3040 * src/hildon-stackable-window.c
3041 * src/hildon-window.c:
3042 Documentation updates
3044 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3046 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3047 (hildon_window_stack_new, +hildon_window_stack_set_property)
3048 (+hildon_window_stack_get_property)
3049 (hildon_window_stack_class_init)
3050 (+hildon_window_stack_set_window_group)
3051 (+hildon_window_stack_get_window_group):
3052 Make the window group a construction property.
3054 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3056 * doc/hildon-sections.txt
3057 * src/hildon-stackable-window-private.h
3058 * src/hildon-stackable-window.h
3059 * src/hildon-stackable-window.c
3060 (-hildon_stackable_window_set_app_menu)
3061 (-hildon_stackable_window_get_app_menu)
3062 (-hildon_stackable_window_toggle_menu)
3063 (-hildon_stackable_window_finalize)
3064 (hildon_stackable_window_class_init)
3065 (hildon_stackable_window_init)
3066 * src/hildon-window-private.h
3067 * src/hildon-window.h
3068 * src/hildon-window.c (hildon_window_init)
3069 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3070 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3071 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3072 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3073 Moved all HildonAppMenu code to HildonWindow. The menu does not
3074 require a HildonStackableWindow anymore.
3076 * src/hildon-app-menu.c
3077 * src/hildon-program.c
3078 * examples/hildon-app-menu-example.c (main):
3079 Update examples and documentation to reflect HildonAppMenu
3082 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-remote-texture.c
3085 * src/hildon-animation-actor.c:
3086 Don't include unused private headers.
3088 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-program-private.h
3091 * src/hildon-program.c
3092 (hildon_program_set_common_menu)
3093 (hildon_program_get_common_menu)
3094 (hildon_program_set_common_app_menu)
3095 (hildon_program_get_common_app_menu):
3096 Change common menu pointers from GtkWidget* to GtkMenu* and
3097 HildonAppMenu* to avoid unnecessary casts.
3099 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3101 * src/hildon-window.c (hildon_window_set_main_menu):
3102 Removed incorrect 'Since:' tag
3104 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3106 * src/hildon-pannable-area.c,
3107 (hildon_pannable_area_calculate_velocity): We use now the
3108 RATIO_TOLERANCE here to check the distance, fixed typo in the
3110 (hildon_pannable_area_motion_notify_cb): We have to set the type
3111 and time even if we are not sending the motion.
3113 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3115 * doc/hildon-sections.txt
3116 * src/hildon-app-menu.h
3117 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3118 (+hildon_app_menu_get_filters): New methods to get the contents of
3121 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3124 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3126 * src/hildon-app-menu.c (hildon_app_menu_popup):
3129 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3131 * src/hildon-window.h
3132 * src/hildon-window.c (+hildon_window_get_main_menu)
3133 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3134 and deprecated hildon_window_get_menu().
3136 * src/hildon-stackable-window.h
3137 * src/hildon-stackable-window.c
3138 (+hildon_stackable_window_set_app_menu)
3139 (+hildon_stackable_window_get_app_menu)
3140 (hildon_stackable_window_set_main_menu): Created
3141 hildon_stackable_window_{get,set}_app_menu() and deprecated
3142 hildon_stackable_window_set_main_menu().
3144 * doc/hildon-sections.txt
3145 * examples/hildon-app-menu-example.c (main)
3146 * src/hildon-app-menu.c
3147 * src/hildon-program.c:
3148 Updated examples and documentation.
3150 Fixes: NB#103758 (No way to obtain a menu from a
3151 HildonStackableWindow)
3153 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3158 * configure.ac: Bump version.
3159 * debian/changelog: Updates.
3161 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3163 * examples/hildon-remote-texture-example.c: Include
3164 hildon-remote-texture.h explicitely.
3165 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3166 applications not defining _XOPEN_SOURCE which don't require this header.
3168 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3170 * doc/hildon-sections.txt
3171 * src/hildon-app-menu.h
3172 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3173 New function to pop up a HildonAppMenu
3175 * src/hildon-stackable-window.c
3176 (hildon_stackable_window_toggle_menu):
3177 Use hildon_app_menu_popup() to show the menu.
3179 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3181 * src/hildon-app-menu.c (hildon_app_menu_show)
3182 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3183 menu if there's another window between it and its parent window.
3185 Fixes: NB#100468 (Application menu window is launched even when a
3186 new secondary-window/dialog is pending to be shown/realized)
3188 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3190 * src/hildon-window-stack.c (hildon_window_stack_push)
3191 (hildon_window_stack_pop_and_push):
3192 Don't forget to push/pop the first window.
3193 Reverse the window list before calling _push_list()
3195 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-picker-button.h
3198 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3199 Remove "value_changed" slot to avoid ABI breakage
3201 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3203 * src/hildon-pannable-area.c,
3204 (hildon_pannable_area_realize),
3205 (hildon_pannable_area_unrealize),
3206 (hildon_pannable_draw_vscroll),
3207 (hildon_pannable_draw_hscroll): Changed the method to handle the
3208 GC used to draw the transparent scrollbar, this way we avoid
3209 creating the GC all the time when drawing the scrollbars.
3211 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3213 * src/hildon-pannable-area.c,
3214 (hildon_pannable_area_init),
3215 (hildon_pannable_area_remove): Removed some unnecessary casts.
3216 (hildon_pannable_area_dispose): Disconnected some signals before
3217 releasing the adjustments.
3219 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3221 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3222 Make sure that all widgets contained in the toolbar are shown.
3224 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3226 * doc/hildon-sections.txt
3227 * src/hildon-picker-button.h
3228 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3229 (_selection_changed, hildon_picker_button_on_dialog_response)
3230 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3231 New hildon_picker_button_value_changed() method.
3234 * src/hildon-picker-button-private.h
3235 * src/hildon-picker-button.c (hildon_picker_button_init)
3236 (+hildon_picker_button_disable_value_changed): Add protected
3237 function for disabling the "value-changed" signal.
3239 * src/hildon-date-button.c (hildon_date_button_set_date):
3240 Don't emit "value-changed" for each one of the three columns.
3242 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3243 before actual change of values)
3245 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3247 * src/hildon-pannable-area.c,
3248 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3249 for the treeview overshooting.
3251 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3253 * src/hildon-banner.c (+hildon_banner_bind_style):
3254 Renamed from hildon_banner_bind_label_style(), now naming the
3255 banner itself as well.
3256 (hildon_banner_show_information),
3257 (hildon_banner_show_information_with_markup),
3258 (hildon_banner_show_animation), (hildon_banner_show_progress):
3259 Name the widgets and labels, based on their type.
3261 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3264 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3266 * src/hildon-note.c (hildon_note_set_property): call
3267 hildon_note_rename() on HildonNote:note-type set.
3268 (hildon_note_rename): Name the note and its label, based on the
3269 HildonNote:note-type property.
3271 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3274 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3276 * src/hildon-pannable-area.c,
3277 (hildon_pannable_area_class_init),
3278 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3279 panning parameters, increased SPS and deceleration factor. Added
3280 also a margin to control fake directions.
3282 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3284 Patch by Sven Herzberg (sven@imendio.com)
3286 * configure.ac: Add missing AM_PROG_CC_C_0
3287 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3289 See NB#101420 (Update unit tests and fix make check)
3291 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3293 This patch was applied before but reverted because it caused
3294 problems, we have changed the main condition and tested the
3295 regressions we detected before and they work ok. We have done a
3296 complete review of the topmost algorithm in order to get a more
3299 * src/hildon-pannable-area.c,
3300 (hildon_pannable_area_get_topmost): Added a new parameter to
3301 filter the the windows that do not include those events.
3302 (hildon_pannable_area_button_press_cb),
3303 (hildon_pannable_area_button_release_cb),
3304 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3305 topmost function, we have added the new parameter.
3307 Fixes: NB#97458 (Pannable area prevents propagation of button
3310 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3312 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3313 if all columns in the selector have an item selected.
3314 (_on_dialog_response): Stop "response" signal emission if there is
3315 any selector column without selected items.
3317 Fixes: NB#101889 (Picker dialog should not close when nothing is
3318 selected in multiple selection list)
3320 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3322 * src/hildon-font-selection-dialog.c
3323 (hildon_font_selection_dialog_class_init),
3324 (hildon_font_selection_dialog_init): Remove the preview
3325 button and dialog, since previewing with default theming is likely
3326 to be overcomplicated. The :preview property has now no effect.
3327 Update documentation blurbs to inform about this.
3329 Fixes: NB#92297 (Preview content is not clearly visible for
3330 default colour text)
3332 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3334 Reviewed the geometry that handles the children size and
3335 scrollbar, now it tries a size and reviews the results depending
3336 on the scrollbars visibility.
3338 * src/hildon-pannable-area.c,
3339 (hildon_pannable_area_realize): Fixed a typo.
3340 (hildon_pannable_area_child_allocate_calculate): Added this
3341 function to calculate the child allocation.
3342 (hildon_pannable_area_size_allocate): Reviewed the allocation
3344 (hildon_pannable_area_check_scrollbars),
3345 (hildon_pannable_area_refresh): Refactored refresh function, this
3346 way we can call the code handling the scrollbars without causing a
3347 size_request, it is interesting in the allocate.
3348 (hildon_pannable_area_init): Replace the callbacks of the
3349 value_changed and changed signals to propertly deal with the
3351 (hildon_pannable_area_grab_notify),
3352 (hildon_pannable_area_initial_effect),
3353 (hildon_pannable_area_launch_fade_timeout),
3354 (hildon_pannable_area_adjust_changed),
3355 (hildon_pannable_area_adjust_value_changed),
3356 (hildon_pannable_area_redraw),
3357 (hildon_pannable_area_button_press_cb),
3358 (hildon_pannable_area_button_release_cb),
3359 (hildon_pannable_area_scroll_cb),
3360 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3361 code and use the new functions adjust_changed and
3362 adjust_value_changed.
3364 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3365 Contact editor dialog)
3367 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3372 * configure.ac: Bump version.
3373 * debian/changelog: Updates.
3375 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3377 * src/hildon-pannable-area.c,
3378 (hildon_pannable_area_get_topmost),
3379 (hildon_pannable_area_button_press_cb),
3380 (hildon_pannable_area_button_release_cb),
3381 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3382 topmost function adding the event mask. We have to try a
3383 differente approach because it is still causing problems (NB#9745,
3386 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3388 * src/hildon-banner.c:
3389 Update the maximum width of timed banners.
3390 (force_to_wrap_truncated): Enforce the maximum text width if the
3393 Fixes: NB#102413 (The text margins (wrapping) in information
3394 banner should be HILDON_MARGIN_TRIPLE)
3396 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3398 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3400 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3401 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3402 bound when calculating the scroll indicator position.
3404 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3405 treat ->lower correctly)
3407 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3409 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3410 expose event handling, since it is not necessary to draw the focus
3413 Fixes: NB#102467 (Do not show highlight on the text in
3416 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3418 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3419 full height of the toolbar for the button and the label.
3421 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3423 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3424 padding before the label and after the button.
3426 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3430 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3431 Add a GtkVSeparator between the button and the back arrow.
3432 Let the button have automatic size.
3433 Set a name to the widget for theming handling.
3435 Fixes: NB#101793 (Make edit toolbar the same height as window
3436 title bar (use title area theming))
3438 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3440 * src/hildon-helper.c (attach_new_color_element): Fix memory
3443 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3445 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3447 * examples/hildon-button-example.c (common_buttons_window): Don't
3450 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3452 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3453 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3455 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3457 * src/hildon-gtk.c: Check that the window is realized.
3459 Fixes: NB#102225 (Crash setting the progress indicator to a non
3462 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3465 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3466 instead of modifying the one in the widget style.
3468 Fixes: NB#101043 (Second row of all the command button are
3469 displayed in transparent mode.)
3471 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3473 * src/hildon-date-button.c
3474 * src/hildon-time-button.c: Add gettext macros
3476 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3478 * src/hildon-date-button.c (hildon_date_button_new):
3479 * src/hildon-time-button.c (hildon_time_button_new_step):
3480 Use new logical strings to set the button default title.
3482 Fixes: NB#99915 (Date and Time options are not localised in Date
3485 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3487 * src/hildon-pannable-area.c
3488 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3489 the PANNING_THRESHOLD.
3491 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3493 * src/hildon-pannable-area.c,
3494 (hildon_pannable_area_class_init): Increased the maximum speed.
3495 (hildon_pannable_area_get_property),
3496 (hildon_pannable_area_set_property),
3497 (hildon_pannable_area_timeout): Added a new low friction mode, it
3498 allows the user avoid friction when launching the widget fast
3499 enough. It is interesting to traverse long lists.
3501 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3503 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3504 (+hildon_stackable_window_delete_event): Ignore delete events if
3505 the window is not the topmost one.
3507 Fixes: NB#101698 (Back button long press and delete-event handling)
3509 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3511 * src/hildon-pannable-area.c,
3512 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3513 gtk-dnd-drag-threshold, it was too big. We have defined our own
3514 dnd define and set a smaller value: PANNIG_THRESHOLD.
3516 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3519 user-defined icons, use always the default one.
3521 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3523 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3525 This patch was applied before but reverted because it caused
3526 problems, we have changed the main condition and tested the
3527 regressions we detected before and they work ok.
3529 * src/hildon-pannable-area.c,
3530 (hildon_pannable_area_get_topmost): Added a new parameter to
3531 filter the the windows that do not include those events. Added
3532 also a condition when finding the window to filter windows that do
3533 not ask for those events.
3534 (hildon_pannable_area_button_press_cb),
3535 (hildon_pannable_area_button_release_cb),
3536 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3537 topmost function, we have added the new parameter.
3539 Fixes: NB#97458 (Pannable area prevents propagation of button
3542 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3544 * tests/check-hildon-color-button.c (START_TEST): do not leak
3547 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-font-selection-dialog.c
3550 (hildon_font_selection_dialog_get_preview_text): Return NULL
3551 instead of FALSE on the g_return_val_if_fail().
3553 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3555 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3556 * src/hildon-date-selector.c
3557 (hildon_date_selector_select_current_date):
3558 Do not compare unsigned integers to be greater than or equal 0,
3559 because it's always TRUE.
3561 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3564 (hildon_date_selector_constructor): Do not select the current
3565 date until we are handle the "changed" signal, to avoid having bogus
3566 elements in the days model.
3568 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3570 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3571 for num_days, since _month_days() can return a negative value.
3573 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3575 * src/hildon-caption.c (hildon_caption_size_allocate):
3576 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3577 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3579 Initialize allocation variables to 0, to avoid eventually using
3580 unitialized variables.
3582 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3584 * src/hildon-bread-crumb-trail.c
3585 (hildon_bread_crumb_trail_size_allocate):
3586 * src/hildon-calendar.c (hildon_calendar_set_background):
3587 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3588 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3589 * src/hildon-seekbar.c (hildon_seekbar_init):
3590 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3591 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3592 * src/hildon-touch-selector-entry.c
3593 (hildon_touch_selector_get_text_from_model):
3594 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3595 * src/hildon-window.c (hildon_window_finalize):
3597 Remove many unused variables.
3599 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3601 * src/hildon-seekbar.c: (hildon_seekbar_init),
3602 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3604 Remove unnecessary g_assert() calls.
3606 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3608 * src/hildon-caption.c: (hildon_caption_expose),
3609 (hildon_caption_set_property), (hildon_caption_init),
3610 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3611 (hildon_caption_size_request), (hildon_caption_size_allocate),
3612 (hildon_caption_forall), (hildon_caption_set_separator),
3613 (hildon_caption_activate), (hildon_caption_set_child_expand),
3614 (hildon_caption_set_label_text),
3615 (hildon_caption_get_label_alignment):
3617 Remove unnecessary g_assert() calls.
3619 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3621 * src/hildon-banner.c
3622 (hildon_banner_map, hildon_banner_init): Make banner temporary
3623 before mapping it to avoid closing other temporary windows, but
3624 make it non-temporary afterwards to avoid being closed by other
3625 non-temporary windows.
3626 (-hildon_banner_client_event, hildon_banner_init):
3627 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3629 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3632 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3634 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3637 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3639 * src/hildon-remote-texture.c
3640 * src/hildon-remote-texture.h
3641 * src/hildon-remote-texture-private.h
3642 * examples/hildon-remote-texture-example.c:
3643 Updates/fixes to remote-texture and its example.
3645 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3647 Patch by Mox Soini (ext-mox.soini@nokia.com)
3649 * src/hildon-code-dialog.c: Update logical id.
3650 * src/hildon-set-password-dialog.c: Update logical id.
3652 Fixes: NB#100646 (Logical strings is shown for ok in set
3653 password,Password needed dialogs)
3655 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3658 * src/hildon-remote-texture.c
3659 * src/hildon-remote-texture.h
3660 * src/hildon-remote-texture-private.h
3662 Added remote texture widget (for Clutter shared memory textures)
3664 * examples/hildon-remote-texture-example.c
3665 * examples/Makefile.am
3666 Added example file for remote texture usage
3668 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3670 * configure.ac: post release version bump.
3671 * debian/changelog: version bump.
3673 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3678 * configure.ac: Bump version.
3679 * debian/changelog: Updates.
3681 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3683 * src/hildon-date-selector.c (hildon_date_selector_init)
3684 (hildon_date_selector_constructor): Don't connect to the "changed"
3685 signal until the selector is completely constructed.
3687 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-touch-selector.c: (_create_new_column),
3690 (hildon_touch_selector_append_column),
3691 (hildon_touch_selector_set_column_selection_mode),
3692 (hildon_touch_selector_set_active),
3693 (hildon_touch_selector_select_iter):
3694 Emit the HildonTouchSelector::changed signal every time selection
3695 is changed in any of the methods above. This behavior was already
3696 documented but not fully functional.
3698 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3699 selection is programmatically changed)
3701 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3703 * doc/hildon-sections.txt: Remove obsolete icon
3704 sizes from here as well.
3706 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3708 * examples/hildon-stackable-window-example.c (add_window): Remove
3711 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3713 * src/hildon-app-menu.c
3714 (hildon_app_menu_show): Check whether the parent window of a menu
3715 is topmost before popping it up.
3717 Fixes: NB#100468 (Application menu window is launched even when a
3718 new secondary-window/dialog is pending to be shown/realized.)
3720 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3722 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3725 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3727 Patch by Mox Soini (ext-mox.soini@nokia.com)
3729 * src/hildon-banner.c: (hildon_banner_show_animation):
3730 use stylus size instead of obsolete note size.
3731 * src/hildon-defines.h: Update icon sizes.
3733 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-touch-selector-entry.c:
3736 (hildon_touch_selector_entry_init): Disable unsupported
3738 (hildon_touch_selector_entry_get_text_column): Emit a warning
3739 if an unsupported input modes is used and explicitile state
3740 these modes in the documentation.
3742 Fixes: NB#99802 (Hildon touch selector entry not working properly
3743 for some of the input modes)
3745 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3747 * src/hildon-pannable-area.c,
3748 (hildon_pannable_area_init): Added the changed signal handlers of
3751 Fixes: NB#100320 (HildonPannableArea does not listen to
3752 GtkAdjustment "change" signals)
3754 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3756 * doc/hildon-sections.txt
3757 * src/hildon-window-private.h
3758 * src/hildon-window.h
3759 * src/hildon-window.c (hildon_window_init)
3760 (hildon_window_realize, hildon_window_unrealize)
3761 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3762 (hildon_window_size_request, hildon_window_size_allocate)
3763 (hildon_window_forall, hildon_window_show_all)
3764 (hildon_window_destroy, +paint_edit_toolbar)
3765 (+hildon_window_set_edit_toolbar):
3766 New hildon_window_set_edit_toolbar() method, to add a
3767 HildonEditToolbar to a window without having to pack it manually.
3769 Reorganize hildon_window_size_allocate()
3771 * src/hildon-edit-toolbar.c: Update documentation.
3773 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3774 example to use the new API.
3776 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3778 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3780 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3781 Remove from stack before calling parent's hide.
3783 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3785 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3786 window is removed from the middle of the stack, update the
3787 transiency of the previous one.
3789 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3792 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3794 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3795 block/unblock the signal handler if it's not actually being used.
3796 Fixes some critical warnings.
3798 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3800 Based on a patch by Iván Gómez (igomez@igalia.com)
3802 * src/hildon-banner.c
3806 * src/hildon-pannable-area.c
3807 * src/hildon-picker-dialog.c
3808 * src/hildon-wizard-dialog.h
3809 * src/hildon-wizard-dialog.c: Documentation updates.
3811 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3812 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3814 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3816 * configure.ac: post release version bump.
3817 * debian/changelog: version bump.
3819 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3824 * configure.ac: Bump version.
3825 * debian/changelog: Updates.
3827 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3830 a stock icon nor change the relief of the back arrow.
3832 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3833 graphics from theme)
3835 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3837 * src/hildon-button.c (hildon_button_set_alignment): Use
3838 priv->alignment if the button has no child yet.
3840 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3842 * src/hildon-button.c: (hildon_button_init): Set the
3843 button style during initialization to give it the proper
3846 Fixes: NB#99713 (HildonButton value label color is wrong)
3848 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-touch-selector.c: Document
3851 hildon_touch_selector_center_on_selected()
3853 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3855 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3856 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3857 all menu items, but not the menu itself.
3858 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3859 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3860 items after adding them to the menu so keyboard accelerators work.
3861 (hildon_app_menu_show): Don't show the menu if it contains items
3862 but none of them are visible.
3864 * examples/hildon-app-menu-example.c (create_menu): Use
3865 gtk_widget_show_all() to show all menu items.
3867 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3869 * src/hildon-picker-dialog.c:
3870 (-_update_title_on_selector_changed_cb),
3871 (-_dialog_update_title): Removed.
3872 (_select_on_selector_changed_cb), (_on_dialog_response),
3873 (on_selector_columns_changed): Do not update the dialog title.
3874 (setup_interaction_mode): Do not connect to
3875 HildonTouchSelector::changed signal if there's a "done" button, as
3876 the dialog title doesn't need to be updated.
3878 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3881 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3883 Patch by Kristian Rietveld (kris@imendio.com)
3885 * src/hildon-touch-selector.c: (_create_new_column): Use new
3886 GtkTreeView::hildon-row-tapped signal to react to user interactions
3887 instead of ::changed.
3889 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3890 with some dynamic tree model)
3892 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3894 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3895 (+screen_size_changed, +label_size_request)
3896 (hildon_note_class_init): Make the Hildon information note have a
3897 minimum height, and make its text hvae a maximum width.
3899 Fixes: NB#98614 (Hildon information note (background) should have
3900 minimum height and maximum text width)
3902 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3904 * src/hildon-banner.h
3905 * src/hildon-banner.c (hildon_banner_show_information)
3906 (hildon_banner_show_informationf)
3907 (hildon_banner_show_information_with_markup): Update documentation
3908 to reflect that the icon_name parameter is not used anymore.
3909 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3910 Remove all code from these functions and mark them as deprecated.
3911 (hildon_banner_show_progress): Mark as deprecated.
3913 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3915 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3917 * src/hildon-pannable-area.c,
3918 (hildon_pannable_area_class_init),
3919 (tranparency_color),
3920 (hildon_pannable_draw_vscroll),
3921 (hildon_pannable_draw_hscroll),
3922 (hildon_pannable_area_expose_event): Added a new way to render the
3923 scrollbars of the pannable area avoiding using cairo at all. This
3924 way we improve the performance of the pannable area rendering. The
3925 cairo rendering procedure is still in the code, we can control
3926 which one to use changing the value of the define
3927 USE_CAIRO_SCROLLBARS.
3929 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3931 * configure.ac: post release version bump.
3932 * debian/changelog: version bump.
3934 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3939 * configure.ac: Bump version.
3940 * debian/changelog: Updates.
3942 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3944 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3945 banners instead of destroying them when they receive a button
3948 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3950 Reverted commit 34028, it was causing regressions, probably the
3951 topmost condition is not correct, we have to check it in more
3952 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3953 propagation of button press events)
3955 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3958 that the selection is not empty before attempting to retrieve the
3959 current ampm selection.
3961 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-picker-button.c:
3964 (hildon_picker_button_on_dialog_response): Directly update the
3965 button contents when required instead of calling _selection_changed.
3967 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3969 * src/hildon-program.c (hildon_program_update_top_most): Update
3970 'is-topmost' property also when wm_hints is not set.
3972 Fixes: NB#98383 (is-topmost signal is not emitted when task
3973 switcher is clicked.)
3975 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3977 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3981 * src/hildon-animation-actor.c,
3982 * src/hildon-animation-actor.h: Added the animation actor class,
3983 this widget represents an animation actor for WM-assisted
3984 animation effects in the Hildon framework.
3986 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3988 * src/hildon-window-stack-private.h
3989 * src/hildon-window-stack.c
3990 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3991 Avoid calling gtk_widget_show() again indirectly from
3992 hildon_stackable_window_show()
3994 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3996 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3999 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4001 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
4002 (hildon_time_selector_init): Move the construction of the hours and
4003 ampm columns to the constructor to preserve the order the columns
4006 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4008 * src/hildon-picker-dialog.c:
4009 (hildon_picker_dialog_class_init): Connect a realize method.
4010 (+hildon_picker_dialog_realize): Setup the interaction mode here
4012 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4013 yet, do it during the realize instead.
4014 (_on_dialog_response):
4015 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4016 if the widget is not realized, to avoid the dialog response before it
4019 Avoid premature responses in the HildonPickerDialog that can cause it
4020 to be hidden before it's even shown.
4022 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4024 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4025 (on_selector_columns_changed), (requires_done_button),
4026 (+prepare_action_area), (setup_interaction_mode),
4027 (_hildon_picker_dialog_set_selector):
4029 Split the interaction mode setup into preparation of the
4030 action area (prepare_action_area()) and the connection of
4031 the signals in setup_interaction_mode() and update the code to
4034 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4036 * src/hildon-pannable-area.c,
4037 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4038 per second to 15, we will check if this is ok regarding
4041 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4043 * src/hildon-pannable-area.c,
4044 (hildon_pannable_axis_scroll): Avoid resize if we already have
4045 reached overshoot_max.
4047 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4049 * src/hildon-pannable-area.c,
4050 (hildon_pannable_area_init),
4051 (hildon_pannable_area_realize),
4052 (hildon_pannable_area_size_allocate),
4053 (hildon_pannable_area_map),
4054 (hildon_pannable_area_unmap),
4055 (hildon_pannable_draw_vscroll),
4056 (hildon_pannable_draw_hscroll),
4057 (hildon_pannable_area_expose_event),
4058 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4059 pannable are to avoid the expose events go to the window and
4060 redraw the window. We save this way that part of the stack and the
4061 paint_boxes. We had to change the positions of the elements when
4064 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4066 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4067 * src/hildon-color-chooser-dialog.c:
4068 (hildon_color_chooser_dialog_init):
4069 * src/hildon-font-selection-dialog.c:
4070 (hildon_font_selection_dialog_init),
4071 (hildon_font_selection_dialog_show_preview):
4072 * src/hildon-get-password-dialog.c:
4073 * src/hildon-login-dialog.c:
4074 * src/hildon-set-password-dialog.c:
4075 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4076 * src/hildon-time-picker.c: (hildon_time_picker_init):
4078 Remove obsolete logical string IDs and update to the appropriate ones.
4080 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4082 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4084 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4085 that happens if the window hasn't been realized yet.
4087 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4088 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4090 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4092 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4093 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4096 Fixes: NB#98537 (Device hangs in account settings dialog)
4098 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4100 * configure.ac: post release version bump.
4101 * debian/changelog: version bump
4103 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4108 * configure.ac: Bump version.
4109 * debian/changelog: Updates.
4111 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4113 Added a new function to the HildonTimeButton widget that allows to
4114 change the step of the minutes in the selector associated with the
4115 button: hildon_time_button_new_step
4117 * src/hildon-time-button.c,
4118 (hildon_time_button_init),
4119 (hildon_time_button_new),
4120 (hildon_time_button_new_step):
4121 * src/hildon-time-button.h: Added the new function and refactored
4123 * examples/hildon-time-button-example.c,
4124 (main): We have replaced the function without parameters with the
4125 function with the steps set to 5
4127 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4129 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4131 * src/hildon-time-selector.c,
4132 (hildon_time_selector_class_init),
4133 (hildon_time_selector_constructor),
4134 (hildon_time_selector_get_property),
4135 (hildon_time_selector_set_property),
4136 (_create_minutes_model),
4137 (hildon_time_selector_new_step),
4138 (hildon_time_selector_set_time),
4139 * src/hildon-time-selector.h: Added a new property to the
4140 HildonTimeSelector (minutes-step), we use that property to control
4141 the steps between the minutes in the list of the selector. We have
4142 added a new function to the API to create a widget changing the
4143 step: hildon_time_selector_new_step.
4145 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4147 * src/hildon-time-selector.c,
4148 (hildon_time_selector_class_init),
4149 (hildon_time_selector_constructor),
4150 (hildon_time_selector_init): Overrided the construct function when
4151 creating the time selector object. We have moved the minutes model
4152 handling code from the init to the new construction function:
4153 hildon_time_selector_constructor.
4155 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4157 * examples/hildon-date-button-example.c: (main): Use the new
4158 hildon_date_button_new_with_year_range() method in the example.
4159 * src/hildon-date-button.c:
4160 (+hildon_date_button_new_with_year_range): New public method
4161 to conveniently create a HildonDateButton with a custom year range
4162 in its HildonDateSelector.
4163 * src/hildon-date-button.h: Add the new public method definition.
4165 Fixes: NB#97908 (Not possible to change the year range in
4166 HildonDateSelector/HildonDateButton)
4168 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4170 * src/hildon-date-selector.c:
4171 (+hildon_date_selector_set_property),
4172 (+hildon_date_selector_get_property),
4173 (hildon_date_selector_class_init): Install new properties "min-year"
4174 and "max-year" to define boundaries for the year column.
4175 (_create_year_model): Use the boundary properties to populate the model.
4176 (+hildon_date_selector_new_with_year_range): New public method to
4177 create a HildonDateSelector with a user defined year range.
4178 (hildon_date_selector_select_current_date): Use the new boundaries to
4179 calculate the iterator of current year.
4180 * src/hildon-date-selector.h: Add the new public method definition.
4182 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4185 Install a constructor method.
4186 (+hildon_date_selector_construct_ui): construct the widget.
4187 (+hildon_date_selector_constructor): new constructor.
4188 (+hildon_date_selector_init): move out widget construction code to
4189 the new constructor.
4191 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4193 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4194 that there's actually a month or year selected before obtaining them.
4195 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4196 of the HildonTouchSelector::changed signal, as it was emitted on every
4197 single item selection.
4199 Fix some warnings and possible crashers due to the selection restoring.
4201 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4204 the signal handlers only after creating the dialog instead of on every
4207 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4209 * src/hildon-button.c (hildon_button_init)
4210 * src/hildon-check-button.c (hildon_check_button_init)
4211 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4212 focus when clicked by default.
4214 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4216 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4219 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4221 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4222 Alejandro G. Castro (alex@igalia.com)
4224 * src/hildon-picker-dialog.c:
4225 (hildon_picker_dialog_class_init): install new "center-on-show"
4227 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4228 (hildon_picker_dialog_set_property): add setter code for the new
4230 (hildon_picker_dialog_get_property): add getter code for the new
4232 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4233 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4236 Fixes: NB#92849 (Selected item is not always visible when
4237 HildonTouchSelector is shown)
4239 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4241 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4242 Alejandro G. Castro (alex@igalia.com)
4244 * src/hildon-touch-selector.c:
4245 (_create_new_column): Do not connect to the "realize" signal of the
4247 (hildon_touch_selector_append_column): center on the selected items
4248 when a new column is appended.
4249 (hildon_touch_selector_select_iter): Factor out the code to select a
4250 column to hildon_touch_selector_scroll_to().
4251 (+search_nearest_element): Method to retrieve the nearest selected
4252 element to the visible area of the pannable area in a column.
4253 (+on_realize_cb): scroll to the initially selected item.
4254 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4255 the pannable area is realized, otherwise delay this until it is.
4256 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4257 selected items of a given column.
4258 (+hildon_touch_selector_center_on_selected): Public method to center
4259 all columns on the nearest selected item.
4260 * src/hildon-touch-selector.h: Add definition for
4261 hildon_touch_selector_center_on_selected().
4263 Implement public API to ensure visibility of all selected items in
4264 a HildonTouchSelector.
4266 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4268 Fixed a problem in the fading when calling the scroll_to API, and
4269 improve scrollbar fading handling.
4271 * src/hildon-pannable-area.c,
4272 (hildon_pannable_area_grab_notify): avoid the timeout when the
4274 (hildon_pannable_area_button_press_cb),
4275 (hildon_pannable_area_motion_notify_cb): Code style changes.
4276 (hildon_pannable_area_button_release_cb): Review the conditions
4277 when releasing the mouse button to avoid unrequired fading
4279 (hildon_pannable_area_scroll_to): Do not calculate and set the
4280 velocity if the scroll is not required.
4282 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4284 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4285 Don't check whether the new selector is NULL: it cannot be.
4286 Hold a reference to the selector while doing the replacement.
4288 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4290 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4291 unnecessary size_request in a removed widget.
4293 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4295 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4296 an unnecessary reference tracking that was leaking.
4298 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4300 Added delayed motion notify event handling, this way we can
4301 discard redrawing if more than 25 events arrive per second.
4303 * src/hildon-pannable-area.c,
4304 (hildon_pannable_area_init): Initialized the new private atributes
4305 controlling this timeout
4306 (hildon_pannable_area_dispose): Remove the timeout that controls
4307 the motion notify events.
4308 (hildon_pannable_area_scroll): Added a condition to control the
4309 use of the acceleration.
4310 (hildon_pannable_area_motion_event_scroll_timeout),
4311 (hildon_pannable_area_motion_event_scroll): Added this two
4312 functions, they handle the motion notify events inside the
4314 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4315 to the scroll method with the new function.
4316 (hildon_pannable_area_button_release_cb): We have to remove the
4317 timeout handler and move to the last position if the last motion
4318 events were not handled.
4320 Fixes: NB#97028 (Pannable area updates on every motion event)
4322 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4324 * src/hildon-pannable-area.c,
4325 (hildon_pannable_area_get_topmost): Added a new parameter to
4326 filter the the windows that do not include those events. Added
4327 also a condition when finding the window to filter windows that do
4328 not ask for those events.
4329 (hildon_pannable_area_button_press_cb),
4330 (hildon_pannable_area_button_release_cb),
4331 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4332 topmost function, we have added the new parameter.
4334 Fixes: NB#97458 (Pannable area prevents propagation of button
4337 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4339 * src/hildon-pannable-area.c,
4340 (hildon_pannable_area_initial_effect): Added controls before
4341 launching the timeout and the idle functions.
4342 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4343 of the method, in some situations it can return with TRUE and 0 in
4345 (hildon_pannable_area_button_press_cb): We do not need to set
4346 DELAY for fading out here.
4348 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4350 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4352 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4353 post-cleaning if the selection is not NULL.
4355 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4357 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4358 all items before restoring the selection.
4360 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4362 * src/hildon-touch-selector.c:
4363 (+hildon_touch_selector_unselect_all):
4364 * src/hildon-touch-selector.h: New API to unselect all items in a
4365 column of the touch selector.
4367 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4369 * src/hildon-pannable-area.c,
4370 (hildon_pannable_area_redraw): Added a call to the refresh
4371 function inside the redraw because apparently in some cases the
4372 change in the adjustment does not imply a size allocate.
4374 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4375 despite the view not being scrollable)
4377 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4379 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4380 leak. Check for NULL before attempting to set the window title.
4382 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4385 whether to show or not the 'Done' button each time the dialog is
4386 shown, as it depends on the HildonTouchSelector selection mode.
4388 Fixes: NB#96226 (In multiple selection mode Done button is shown
4389 sometimes in listpicker)
4391 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4393 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4394 for the number of columns in the HildonTouchSelector more than once.
4396 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4398 * src/hildon-touch-selector.c: Minor documentation fixes.
4400 * src/hildon-picker-dialog.c (+_dialog_update_title)
4401 (_select_on_selector_changed_cb)
4402 (_update_title_on_selector_changed_cb)
4403 (on_selector_columns_changed): Update dialog title when there's no
4404 'Done' button and also when the number of columns in the selector
4408 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4409 (+_selection_changed, hildon_picker_button_on_dialog_response)
4410 (hildon_picker_button_selector_selection_changed)
4411 (+hildon_picker_button_selector_columns_changed)
4412 (hildon_picker_button_set_selector): Update button value and emit
4413 'value-changed' when the number of columns in the selector
4417 Fixes: NB#96225 (Dialog titles are not shown according to the
4418 values selected in the list picker)
4420 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4422 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4423 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4424 New "arrow-width" and "arrow-height" style properties to set the
4425 size of the arrow button.
4426 Set name of arrow button ("hildon-edit-toolbar-arrow").
4428 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4429 graphics from theme)
4431 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4433 * src/hildon-picker-button.c:
4434 (hildon_picker_button_selector_selection_changed): Use
4435 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4436 the dialog is present.
4438 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4439 the selection is accepted in the dialog)
4441 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4443 * src/hildon-color-chooser.h
4444 * src/hildon-color-chooser-dialog.h:
4445 Added G_BEGIN_DECLS and G_END_DECLS
4447 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4449 (_clean_current_selection): plug a leak in the list.
4451 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4453 * src/hildon-picker-dialog.c:
4454 (+free_path_list): Method to free a GList of GtkTreePaths.
4455 (_clean_current_selection), (_save_current_selection),
4456 (_restore_current_selection): Save the current selection in
4457 as a list of lists, to support multiple selection properly.
4459 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4461 patch by Claudio Saavedra (csaavedra@igalia.com)
4463 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4464 Store the press position.
4465 (+hildon_text_view_button_release_event): If the release position is
4466 close enough to the press position, move the cursor here. Otherwise,
4468 (hildon_text_view_class_init): Override GtkTextView press, release, and
4469 motion event handlers, disabling this way text selection through
4470 pointer interaction, and allowing the container widget to handle the
4473 Fixes: NB#95828 (HildonTextView functionality)
4475 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4477 Based on a patch by Iván Gómez (igomez@igalia.com)
4479 * src/hildon-button.[ch]
4480 * src/hildon-calendar.c
4481 * src/hildon-check-button.c
4482 * src/hildon-date-editor.c
4483 * src/hildon-date-selector.c
4484 * src/hildon-picker-button.c
4485 * src/hildon-time-editor.c
4486 * src/hildon-time-selector.c
4487 * src/hildon-touch-selector.[ch]:
4488 Documentation updates
4490 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4492 * src/hildon-pannable-area.c,
4493 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4494 threshold, it was required due to X events handling.
4496 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4498 * src/hildon-pannable-area.c,
4499 (hildon_pannable_area_grab_notify),
4500 (hildon_pannable_area_initial_effect),
4501 (hildon_pannable_area_button_press_cb),
4502 (hildon_pannable_area_button_release_cb),
4503 (hildon_pannable_area_scroll_cb),
4504 (hildon_pannable_area_scroll_to): Review the timeout management of
4505 the scrollbar, the frecuency was incorrectly set.
4507 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-picker-button.c:
4510 (+hildon_picker_button_on_dialog_response),
4511 (hildon_picker_button_clicked): Present the dialog instead of
4512 running it with gtk_dialog_run().
4514 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4517 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4519 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4520 (hildon_app_menu_finalize): When a window is hidden it doesn't
4521 emit notify::is-topmost, so make sure than the menu also
4522 disappears in that case.
4523 (parent_window_topmost_notify): Renamed from parent_window_hidden
4525 Fixes: NB#94460 (stackable window's menu is not closed when its
4528 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4530 * src/hildon-touch-selector-entry.c:
4531 (+hildon_touch_selector_entry_set_input_mode),
4532 (+hildon_touch_selector_entry_get_input_mode):
4533 * src/hildon-touch-selector-entry.h: New methods to access the input
4534 mode in the selector's entry.
4536 Fixes: NB#93410 (API required for setting IM mode in
4537 HildonTouchSelectorEntry)
4539 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4541 * configure.ac: post release version bump.
4542 * debian/changelog: version bump
4544 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4549 * configure.ac: Bump version.
4550 * debian/changelog: Updates.
4552 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4554 * src/hildon-touch-selector.c:
4555 (_hildon_touch_selector_has_multiple_selection): No need
4556 to initialize the variables here.
4558 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4560 * src/hildon-note-private.h
4561 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4562 (hildon_note_finalize, hildon_note_rebuild): Close information
4563 notes when they receive a button press.
4565 Fixes: NB#89890 (Information notes does not get disappeared after
4568 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4570 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4571 mark from the wizard title, as it's not really necessary. Also,
4572 do not display the page title if not set.
4574 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4576 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4577 (parent_window_hidden): Use the window's "is-topmost" property to
4578 detect when to hide the menu.
4580 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4583 (hildon_app_menu_finalize): If the parent window of the menu is
4584 hidden, hide the menu too.
4586 Fixes: NB#94460 (stackable window's menu is not closed when its
4589 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4592 * debian/libhildon1-examples.install
4594 * examples/Makefile.am:
4595 Use dh_install to install all examples.
4596 Use DEB_SRCDIR instead of defining SOURCE_DIR
4598 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4600 * configure.ac: post release version bump.
4601 * debian/changelog: version bump
4603 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4608 * configure.ac: bump version
4609 * debian/changelog: updates
4610 * debian/control: bump gtk+ dependency
4612 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4614 patch by Christian Dywan (christian@imendio.com)
4616 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4617 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4619 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-check-button.c (hildon_check_button_init)
4622 (hildon_check_button_class_init, hildon_check_button_style_set)
4623 (hildon_check_button_apply_style):
4624 New "checkbox-size" style property.
4626 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4627 larger / configurable size)
4629 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4631 * configure.ac: post release version bump.
4632 * debian/changelog: version bump
4634 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4639 * configure.ac: bump version
4640 * debian/changelog: updates
4642 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4644 * doc/hildon-sections.txt
4645 * src/hildon-pannable-area.c
4646 * src/hildon-program.c
4647 * src/hildon-time-editor.c
4648 * src/hildon-touch-selector-entry.c:
4650 More documentation updates.
4652 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4654 * doc/hildon-sections.txt
4655 * src/hildon-caption.c
4656 * src/hildon-code-dialog.c
4657 * src/hildon-color-button.c
4658 * src/hildon-controlbar.c
4659 * src/hildon-date-editor.c
4660 * src/hildon-date-selector.c
4661 * src/hildon-edit-toolbar.c
4662 * src/hildon-find-toolbar.c
4663 * src/hildon-font-selection-dialog.c
4665 * src/hildon-program.c
4666 * src/hildon-range-editor.c
4667 * src/hildon-seekbar.c
4668 * src/hildon-time-editor.c
4669 * src/hildon-time-selector.c
4670 * src/hildon-volumebar-range.c
4671 * src/hildon-volumebar.c
4672 * src/hildon-vvolumebar.c
4673 * src/hildon-weekday-picker.c
4674 * src/hildon-window.c
4675 * src/hildon-wizard-dialog.c:
4677 Lots of documentation fixes.
4679 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4681 Patch contributed by Iván Gómez (igomez@igalia.com)
4683 * src/hildon-check-button.c:
4684 * src/hildon-date-button.c:
4685 * src/hildon-date-selector.c:
4686 * src/hildon-dialog.c:
4687 * src/hildon-edit-toolbar.c:
4688 * src/hildon-entry.c:
4689 * src/hildon-picker-button.c:
4690 * src/hildon-program.c:
4691 * src/hildon-text-view.c:
4692 * src/hildon-time-button.c:
4693 * src/hildon-touch-selector-entry.c:
4694 * src/hildon-window-stack.c:
4696 Add more "since" tags to the new API.
4698 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4700 * doc/hildon-sections.txt: Add below method.
4701 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4702 version for the hildonized scale.
4703 * src/hildon-gtk.h: Add the definition.
4705 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4707 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4709 * doc/hildon-sections.txt: Add missing entries for new methods.
4711 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4713 Added API to pannable are in order to get its adjustments. We
4714 added two properties to manage the values we had in the private
4717 * src/hildon-pannable-area.c:
4718 (hildon_pannable_area_class_init): Added hadjustment and
4719 vadjustment properties in order to expose horizontal and vertical
4721 (hildon_pannable_area_get_property),
4722 (hildon_pannable_area_set_property): Added code to handle the new
4724 (hildon_pannable_area_get_hadjustment),
4725 (hildon_pannable_area_get_vadjustment): API functions to get the
4727 * src/hildon-pannable-area.h:
4728 (hildon_pannable_area_get_hadjustment),
4729 (hildon_pannable_area_get_vadjustment): API functions to get the
4732 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4734 Fixed some leaks, after valgrinding.
4736 * src/hildon-touch-selector.c:
4737 (_default_print_func): Fixed a leak.
4738 (hildon_touch_selector_append_column): Fixed a leak.
4739 * src/hildon-date-button.c:
4740 (hildon_date_button_init): Fixed a leak.
4741 * src/hildon-date-selector.c
4742 (hildon_date_selector_finalize): Fixed a leak.
4744 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4746 Based on a patch by Christian Dywan (christian@imendio.com)
4748 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4750 * src/hildon-gtk.h: Add definition.
4752 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4754 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4756 * src/hildon-picker-button.c: (hildon_picker_button_init),
4757 (hildon_picker_button_new): Set the HildonButton::style property
4758 in the init method, to propagate the value to the derived classes.
4760 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4762 * src/hildon-button.c: (hildon_button_class_init): Do not make
4763 the "style" property a construct property.
4765 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4767 * src/hildon-wizard-dialog.h
4768 * src/hildon-wizard-dialog.c
4769 (hildon_wizard_dialog_set_forward_page_func)
4770 * src/hildon-pannable-area.h
4771 * src/hildon-pannable-area.c
4772 (hildon_pannable_area_set_size_request_policy):
4773 Documentation fixes.
4775 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4777 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4779 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4781 * doc/hildon-sections.txt: Added sections file.
4783 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4786 * src/*.[ch]: Updates.
4788 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4790 * examples/hildon-progress-indicator-example.c: new file
4791 * examples/Makefile.am: include the new example program
4793 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4795 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4797 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4799 * configure.ac: post release version bump
4800 * debian/changelog: version bump
4802 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4807 * configure.ac: bump version
4808 * debian/changelog: updates
4809 * debian/control: bump gtk+ dependency
4811 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4813 * src/hildon-dialog.c: Mark as deprecated.
4814 * src/hildon-dialog.h: Mark as deprecated.
4815 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4816 from HildonDialog and still work, even if
4817 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4818 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4820 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4821 maemo changes) instead)
4823 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4825 * src/hildon-pannable_area.h:
4826 * src/hildon-pannable_area.c:
4827 (hildon_pannable_area_class_init),
4828 (hildon_pannable_area_set_property),
4829 (hildon_pannable_area_get_property),
4830 (hildon_pannable_area_size_request),
4831 (hildon_pannable_area_get_size_request_policy),
4832 (hildon_pannable_area_set_size_request_policy): Added new API
4833 allowing applications to control the request policy. Now they can
4834 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4835 children allocation (HILDON_MOVEMENT_CHILDREN).
4837 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4841 (hildon_gtk_tree_view_set_ui_mode)
4842 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4843 mode of treeviews and iconviews.
4845 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4847 * src/hildon-touch-selector-entry.c:
4848 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4849 of a GtkEntry to get proper theming.
4851 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4852 widget, not GtkEntry)
4854 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4856 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4857 no HildonWizardDialogPageFunc.
4859 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4861 Patch contributed by Iván Gómez (igomez@igalia.com)
4863 * src/hildon-app-menu.c:
4864 * src/hildon-button.c:
4865 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4866 * src/hildon-stackable-window.c:
4867 * src/hildon-time-selector.c:
4868 * src/hildon-touch-selector.c:
4869 * src/hildon-window.c:
4871 Add more "since" tags to the new API in hildon 2.2.
4873 2008-12-05 Tim Janik <timj@imendio.com>
4875 Patch contributed by Christian Dywan (christian@imendio.com)
4877 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4878 HildonSizeType, which are supplied by Gtk+ now.
4880 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4882 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4883 (with maemo changes) instead)
4885 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4887 Patch contributed by Iván Gómez (igomez@igalia.com)
4889 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4892 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4894 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4895 (some_page_func), (main): Update the example to use a
4896 HildonWizardDialogPageFunc function.
4898 * src/hildon-wizard-dialog-private.h: Add private data for
4899 the HildonWizardDialogPageFunc function usage.
4901 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4902 (destroy), (hildon_wizard_dialog_init), (response),
4903 (hildon_wizard_dialog_set_forward_page_func):
4904 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4905 that applications can use to stop a HildonWizardDialog to jump to
4908 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4911 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4913 * src/hildon-program.h
4914 * src/hildon-program-private.h
4915 * src/hildon-program.c (hildon_program_init)
4916 (hildon_program_set_common_app_menu)
4917 (hildon_program_get_common_app_menu):
4918 New API for setting a common HildonAppMenu for all
4919 HildonStackableWindows registered with the HildonProgram.
4921 * src/hildon-stackable-window.c
4922 (hildon_stackable_window_toggle_menu):
4923 Use the common HildonAppMenu if a window doesn't have a specific
4926 * src/hildon-app-menu-private.h
4927 * src/hildon-app-menu.c
4928 (hildon_app_menu_get_parent_window):
4929 Function to obtain the window a HildonAppMenu is attached to.
4930 (hildon_app_menu_set_parent_window):
4931 Hide the menu if the parent window is set to NULL.
4933 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4936 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4937 search widget to popup.
4939 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4941 * configure.ac: post release version bump
4942 * debian/changelog: version bump
4944 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4949 * configure.ac: bump version
4950 * debian/changelog: updates
4952 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4954 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4956 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4957 (hildon_window_stack_window_realized)
4958 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4959 Set the leader GdkWindow when a window is stacked and realized,
4960 unset it when it's unstacked.
4961 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4963 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4965 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4967 * src/hildon-stackable-window.h
4968 * src/hildon-window-stack.h:
4969 Protect definition of HildonWindowStack using the preprocessor.
4971 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4973 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4974 Fix warning if all menu items are hidden.
4976 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4978 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4980 * src/hildon-controlbar.c:
4981 * src/hildon-hvolumebar.c:
4982 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4983 Multiple scale size defines updates.
4985 Fixes: NB#94322 (Scale Updates)
4987 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4989 * examples/hildon-app-menu-example.c (create_menu)
4990 Show items after adding them to the menu, as in the future the
4991 menu will no longer call gtk_widget_show() on the added items.
4993 * src/hildon-app-menu.c:
4994 Update example as explained above.
4996 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-app-menu.c
4999 (hildon_app_menu_insert, hildon_app_menu_add_filter):
5000 Make sure that all menu items have finger height.
5002 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
5004 * src/hildon-picker-dialog.c:
5005 (_on_dialog_response), (_save_current_selection),
5006 (_restore_current_selection), (_clean_current_selection),
5007 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
5008 Defined new functions in order to save the current internal selector
5009 selection previous open the dialog, in case that the use cancel the
5010 interaction, so the widget restores the previous selection.
5012 Fixes: NB#92032 (In calendar application, date values in 'new event'
5015 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5017 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5019 * src/hildon-button.c: Add a reference to the button examples in
5020 hildon-button-example.c
5022 * examples/hildon-button-example.c: Added examples of the most
5023 common button layouts.
5025 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-app-menu.c (hildon_app_menu_show)
5028 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5030 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5032 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5034 * src/hildon-picker-dialog.c:
5035 (hildon_picker_dialog_init): Initialize the signal id for
5036 HildonTouchSelector::columns-changed.
5037 (+on_selector_columns_changed): Set up the interaction mode everytime a
5038 column is added or removed from the HildonTouchSelector.
5039 (_hildon_picker_dialog_set_selector): Connect to
5040 HildonTouchSelector::columns-changed and keep track of it.
5042 Make sure to update the interaction mode of the dialog everytime a
5043 column is added or removed in the HildonTouchSelector.
5045 Fixes: NB#93228 (Done button is not shown always in listpicker)
5047 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5049 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5050 a new ::columns-changed signal.
5051 (hildon_touch_selector_append_column): Emit ::columns-changed.
5052 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5054 Add a ::columns-changed signal, emitted when the number of columns in a
5055 HildonTouchSelector changes.
5057 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5059 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5060 (_hildon_picker_dialog_set_selector): Factor out the code
5061 to set up the dialog interaction mode.
5063 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5065 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5066 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5067 to signal_changed_id.
5069 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5071 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5074 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5076 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5077 Updated the logical ids related to ampm format, as now it is required to
5078 show it correctly localized even on languages with no default
5079 abbreviations for am or pm
5080 (_check_am_pm_format): check correctly the 24h format gconf property
5082 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5084 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5086 * src/hildon-button.c: Documentation updates.
5088 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5090 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5091 * src/hildon-caption.c: (hildon_caption_class_init):
5092 * src/hildon-color-button.c: (hildon_color_button_class_init):
5093 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5094 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5095 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5096 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5098 Remove deprecated GTK+ marshalers and replace them with the ones
5099 provided by GLib, for those available, add a marshaler for
5100 BOOLEAN:VOID, which is not available in GLib, and use it.
5102 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5104 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5105 the text from the previous column if there is no
5106 HildonTouchSelectorColumn::text-property set.
5108 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5110 * src/hildon-button.h
5111 * src/hildon-button.c (hildon_button_set_property)
5112 (hildon_button_get_property, hildon_button_class_init)
5113 (hildon_button_set_style, hildon_button_get_style):
5114 New "style" property to change the visual appearance of the
5117 * src/hildon-picker-button.c (hildon_picker_button_new):
5118 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5120 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5121 HildonButton look like PickerButton)
5123 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5125 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5126 column while building the default string.
5128 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5130 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5131 scroll indicator by default.
5133 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5135 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-main.c: Fix the documentation for hildon_init()
5139 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5141 * doc/hildon-docs.sgml
5145 * src/hildon-window-stack-private.h
5146 * src/hildon-window-stack.h
5147 * src/hildon-window-stack.c:
5148 New HildonWindowStack object, that adds support for multiple
5149 stacks of windows per process.
5151 * src/hildon-stackable-window-private.h
5152 * src/hildon-stackable-window.h
5153 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5154 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5155 (hildon_stackable_window_show, hildon_stackable_window_hide)
5156 (hildon_stackable_window_class_init)
5157 (hildon_stackable_window_init):
5158 Use HildonWindowStack for stack management.
5160 * src/hildon-program.c (hildon_program_pop_window_stack)
5161 (hildon_program_peek_window_stack)
5162 (hildon_program_go_to_root_window):
5163 Add a fallback implementation to the deprecated functions using
5166 * examples/hildon-stackable-window-example.c:
5167 Use the new HildonWindowStack API.
5169 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5171 * src/hildon-stackable-window-private.h
5172 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5173 (hildon_stackable_window_hide, hildon_stackable_window_init):
5174 Remove all window stack management.
5176 * src/hildon-program-private.h
5177 * src/hildon-program.h
5178 * src/hildon-program.c (hildon_program_init)
5179 (hildon_program_pop_window_stack)
5180 (hildon_program_peek_window_stack)
5181 (hildon_program_go_to_root_window):
5182 Remove all window stack management and mark functions as
5185 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5187 * src/hildon-app-menu.c (hildon_app_menu_realize):
5188 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5190 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5192 * configure.ac: post release version bump
5193 * debian/changelog: version bump
5195 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5200 * configure.ac: bump version
5201 * debian/changelog: updates
5203 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5205 Based on initial code by Christian Dywan (christian@imendio.com)
5207 * doc/hildon-docs.sgml: Add section for hildon-main.
5208 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5209 * src/Makefile.am: Add new hildon-main.[ch]
5210 * src/hildon-defines.h: Update the icon sizes.
5211 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5212 new library initialization files and register icon sizes.
5213 * src/hildon-main.h: New declarations.
5214 * src/hildon.h: Include hildon-main.h
5216 Add new initialization functions to the library. These methods
5217 will register the hildon specific icon sizes and can be used in the
5218 future for other hildon specific bits.
5220 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5222 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5224 * src/hildon-window.c: (hildon_window_realize),
5225 (hildon_window_notify), (-hildon_window_update_title): Do not set
5226 the application name in the window title.
5228 Fixes: NB#89754 (Applications shouldn't display their names in the
5231 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5233 * src/hildon-note-private.h:
5234 * src/hildon-note.c: (hildon_note_set_property),
5235 (hildon_note_get_property), (hildon_note_class_init),
5236 (hildon_note_init), (hildon_note_finalize),
5237 (hildon_note_new_confirmation_with_icon_name),
5238 (hildon_note_new_information_with_icon_name):
5240 No need to mark as deprecated the actual code. Revert
5241 to avoid missing symbols in widgets using deprecated API.
5243 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5245 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5247 * src/hildon-volumebar.h
5248 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5249 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5251 * src/hildon-helper.h
5252 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5253 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5255 * examples/Makefile.am:
5256 Deprecate hildon-insensitive-example
5258 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5260 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5262 * examples/hildon-pannable-area-buttons-scroll-example.c:
5263 Make all buttons finger height
5265 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5267 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5269 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5270 update the day model only if it is really required, and to avoid the
5271 full-reconstruction aproach. Now it only add or remove the required days.
5273 The purpose of this is avoid superfluous HildonTouchSelector::changed
5276 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5277 with strange parameters)
5279 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5281 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5283 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5284 the WINDOW_TYPE property.
5286 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5288 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5291 Fix dependency to allow parallel compilation with make -jX
5293 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5295 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5296 color frame and some minor tweaks to make it more consistent with
5299 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5300 highlighted but not visible)
5302 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5304 * examples/Makefile.am: Fixed typo in the Makefile.am.
5306 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5308 Reviewed the use of MAEMO_GTK define, now we add the define in the
5309 compilation line, and we also add it to the pc file.
5311 * configure.ac: Added MAEMO_GTK define to the compilation command
5312 and removed it from the config.h.
5314 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5315 do not have to take care about this define if the library was
5319 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5321 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5323 * examples/Makefile.am,
5324 * examples/hildon-pannable-area-buttons-scroll-example.c,
5325 * examples/hildon-pannable-area-gesture-signals-example.c,
5326 * examples/hildon-pannable-area-scroll-jump-example.c,
5327 * examples/hildon-pannable-area-tree-view-example.c:
5328 Renamed the pannable area examples, now they have more meaningful
5331 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5333 * src/hildon-touch-selector.c:
5334 (hildon_touch_selector_set_column_selection_mode): Used of
5335 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5336 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5337 to avoid re-seting the same selection mode.
5339 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5340 breaks HildonPickerDialog)
5342 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5344 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5345 conditional in the Makefile.am
5347 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5349 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5350 Remove unused methods.
5352 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5354 * src/hildon-button.c (hildon_button_init):
5355 Make button images center-aligned by default
5357 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5360 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5361 activated, we have to think about how to deal with both defines
5362 MAEMO_GTK and MAEMO_CHANGES.
5364 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5366 * examples/hildon-app-menu-example.c (create_menu): Make all
5367 buttons finger size.
5369 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5371 Fixed the compilation without maemo gtk adding ifdefs with
5372 MAEMO_GTK define to the code, we have to check this version more
5375 * examples/Makefile.am: Added control to avoid some examples that
5376 just make sense with maemo gtk.
5379 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5380 hildon modes with the define.
5382 * examples/hildon-edit-toolbar-example.c,
5383 (create_icon_view): Create the icon view without hildon-gtk
5384 helpers if we are not using maemo gtk.
5386 * src/hildon-touch-selector.c,
5387 (_create_new_column): Create the treeview without hildon-gtk
5388 helpers if we are not using maemo gtk.
5390 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5392 * src/hildon-pnnable-area.c,
5393 (hildon_pannable_area_dispose),
5394 (hildon_pannable_area_button_press_cb),
5395 (hildon_pannable_area_child_mapped),
5396 (hildon_pannable_area_add),
5397 (hildon_pannable_area_remove): Added code to control the position
5398 of the event_window when adding and removing children from the
5399 pannable. We have to raise the event window when the child is
5402 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5403 selection mode using custom widget inside pannable)
5405 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5407 * configure.ac: post release version bump
5408 * debian/changelog: version bump
5410 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5415 * configure.ac: bump version
5416 * debian/changelog: updates
5418 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5420 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5421 search mode, in order to avoid lose the focus on the treeview when
5422 a hw key (like enter) is pressed.
5424 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5425 in HildonDateSelector dialog)
5427 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5429 * debian/rules: Added --enable-maintainer-mode
5430 * Makefile.am: Added ACLOCAL_AMFLAGS
5432 This allows to properly regenerate the Makefiles if you modify the
5433 configure.ac or any Makefile.am.
5435 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5437 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5438 properties, not needed at all.
5440 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5442 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5444 * src/hildon-note.c: (hildon_note_set_property),
5445 (hildon_note_get_property), (hildon_note_class_init),
5446 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5447 (hildon_note_new_confirmation_add_buttons): Remove icons.
5448 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5449 (hildon_note_new_information_with_icon_name): Deprecate.
5450 (hildon_note_new_confirmation): Act directly, without calling
5451 the deprecated constructor.
5452 (hildon_note_new_information): Act directly, without calling
5453 the deprecated constructor.
5454 * src/hildon-note.h: Mark deprecate methods as such.
5455 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5456 not run tests on the deprecated methods if built with deprecation
5459 Fixes: NB#91688 (Never show icons in information notes/confirmation
5462 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5464 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5465 (hildon_app_menu_key_press): Remove leftover usage of the
5466 private structure in HildonAppMenu struct.
5467 * src/hildon-app-menu.h: Remove leftover private structure
5468 from the HildonAppMenu struct.
5470 Fixes a crasher when using the HildonAppMenu.
5472 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5474 * src/hildon-picker-dialog.c: Use appropriate logical id
5475 for the default "Done" text.
5477 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5479 * configure.ac: post release version bump
5480 * debian/changelog: version bump
5482 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5484 Modified the way to scroll to the current selection just when the touch
5485 selector is shown on the screen, avoiding a g_idle. Added too a property
5486 to configure this behaviour. See hildon_pannable_area_jump_to_child
5487 documentation for more information.
5489 * src/hildon-touch-selector.c
5490 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5491 Added 'initial-scroll' property
5492 (hildon_touch_selector_set_property): Added
5493 (hildon_touch_selector_map): Removed as not required anymore
5494 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5495 only a concrete column, instead of iterate along all the columns
5497 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5502 * configure.ac: bump version
5503 * debian/changelog: updates
5505 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5507 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5508 compilation time warnings.
5510 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5512 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5513 the default value for HildonPannableArea::mov-mode to
5514 HILDON_PANNABLE_AREA_MODE_VERT.
5516 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5518 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5520 Reverting following commit:
5522 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5524 * src/hildon-app-menu-private.h
5525 * src/hildon-app-menu.[ch]
5526 * src/hildon-button.[ch]
5527 * src/hildon-check-button.[ch]
5528 * src/hildon-entry.[ch]
5529 * src/hildon-pannable-area.[ch]
5530 * src/hildon-text-view.[ch]:
5531 Added private field to the object's structure.
5533 because it causes an ABI breakage. We will need to introduce these
5534 changes later at some point. See NB#91636 for an extensive
5535 explanation and status.
5537 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5539 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5541 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5542 remove special cases that are no longer necessary.
5544 Fixes: NB#91016 (Change toolbar sizes, simplification)
5546 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5548 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5549 is shown in the cancel note.
5551 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5553 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5554 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5555 (hildon_seekbar_init): Remove steppers, remove expose event.
5556 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5558 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5560 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5562 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5563 label font to "SmallSystemFont" for vertically arranged buttons.
5565 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5568 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5570 * src/hildon-check-button.c
5571 (hildon_check_button_set_active, hildon_check_button_clicked):
5572 Don't access private parts directly, use getters instead.
5574 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-check-button.c (hildon_check_button_new):
5577 Align the contents of the check button to the left.
5579 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5581 * src/hildon-pannable-area.c,
5582 (hildon_pannable_area_scroll_to),
5583 (hildon_pannable_area_jump_to),
5584 (hildon_pannable_area_scroll_to_child),
5585 (hildon_pannable_area_jump_to_child): Replace the mapped
5586 precondition of these functions with the realized, it is the
5587 correct state of the widget in this case. Changed the
5588 documentation according to this modification.
5590 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5592 Added a new EXTRA_CFLAGS option to add the deprecated define to
5593 the compilation command. This way we can avoid using the define in
5594 the documentation compilation.
5596 * configure.ac: Defined EXTRA_CFLAGS.
5598 * examples/Makefile.am:
5600 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5602 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5604 * src/hildon-picker-dialog.c:
5605 Defined a utility macro with the desired touch selector height
5606 Removed currently unused separator, and title_label variables from
5608 (hildon_picker_dialog_init): Removed code related to the creation
5609 of unused private variables title_label and separator.
5610 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5611 to ensure correct visualization of the touch selector inside the dialog.
5612 * src/hildon-touch-selector.c
5613 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5614 ensure a concrete height of the widget.
5616 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5619 * tests/Makefile.am:
5621 Remove spurious whitespaces.
5623 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5625 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5626 compilation warning after the cancel button removal.
5628 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5630 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5632 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5633 Makefile.am, that way we can choose not to compile some examples
5634 and tests of the deprecated widgets.
5636 * examples/Makefile.am: Divided the sources in deprecated and
5639 * src/Makefile.am: Added undef statement of the deprecated
5640 symbol to the enums file generation process.
5642 * src/hildon-color-chooser-dialog.c
5643 * src/hildon-color-chooser-dialog.h
5644 * src/hildon-color-button.c
5645 * src/hildon-color-button.h
5646 * src/hildon-color-chooser.c
5647 * src/hildon-color-chooser.h
5648 * src/hildon-controlbar.c
5649 * src/hildon-controlbar.h
5650 * src/hildon-date-editor.c
5651 * src/hildon-date-editor.h
5652 * src/hildon-hvolumebar.c
5653 * src/hildon-hvolumebar.h
5654 * src/hildon-private.c
5655 * src/hildon-private.h
5656 * src/hildon-range-editor.c
5657 * src/hildon-range-editor.h
5658 * src/hildon-seekbar.c
5659 * src/hildon-seekbar.h
5660 * src/hildon-time-editor.c
5661 * src/hildon-time-editor.h
5662 * src/hildon-time-picker.c
5663 * src/hildon-time-picker.h
5664 * src/hildon-volumebar.c
5665 * src/hildon-volumebar.h
5666 * src/hildon-vvolumebar.c
5667 * src/hildon-vvolumebar.h
5668 * src/hildon-bread-crumb-trail.h
5669 * src/hildon-bread-crumb-trail.c
5670 * src/hildon-calendar-popup.c
5671 * src/hildon-calendar-popup.h
5672 * src/hildon-weekday-picker.c:
5673 * src/hildon-weekday-picker.h:
5674 * src/hildon-bread-crumb-widget.c:
5675 * src/hildon-bread-crumb-widget.h:
5676 * src/hildon-bread-crumb.c:
5677 * src/hildon-bread-crumb.h:
5678 * src/hildon-calendar.c:
5679 * src/hildon-calendar.h:
5680 * src/hildon-caption.c:
5681 * src/hildon-code-dialog.c:
5682 * src/hildon-code-dialog.h:
5683 * src/hildon-font-selection-dialog.c:
5684 * src/hildon-font-selection-dialog.h:
5685 * src/hildon-get-password-dialog.c:
5686 * src/hildon-get-password-dialog.h:
5687 * src/hildon-login-dialog.c:
5688 * src/hildon-login-dialog.h:
5689 * src/hildon-number-editor.c:
5690 * src/hildon-number-editor.h:
5691 * src/hildon-set-password-dialog.c:
5692 * src/hildon-set-password-dialog.h:
5693 * src/hildon-sort-dialog.c:
5694 * src/hildon-sort-dialog.h: This is the list of deprecated
5697 * src/hildon-touch-selector.c:
5698 * src/hildon-window.c: Added undef statement to avoid compilation
5701 * tests/Makefile.am: Divided the sources in deprecated and
5704 * tests/check_test.c,
5705 (configure_tests): Marked the deprecated code that was adding
5706 suites with deprecated tests.
5708 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5710 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5712 * src/hildon-touch-selector.c: (_default_print_func): Do not
5713 duplicate a string returned by gtk_tree_model_get(), it is already
5716 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5719 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5721 * src/hildon-pannable-area.c
5722 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5723 method, it had problems when adding a widget with viewport the
5724 second time. Now checks if it already has a viewport and uses it.
5726 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5729 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5731 * src/hildon-pannable-area.c,
5732 (hildon_pannable_area_scroll_to),
5733 (hildon_pannable_area_jump_to),
5734 (hildon_pannable_area_scroll_to_child),
5735 (hildon_pannable_area_jump_to_child): Added a precondition to the
5736 scroll and jump to functions: the widget must be mapped before we
5737 can safely call these functions. We have also added documentation
5738 to the functions to explain how to use them in this situation.
5741 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5743 Reviewed the threading handling of the pannable widget, we have
5744 used the gdk_threads_add_timeout function instead of the usual
5745 glib handlers. This avoids some problems with the threads.
5747 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5748 (hildon_pannable_area_initial_effect),
5749 (hildon_pannable_area_scroll_indicator_fade),
5750 (hildon_pannable_area_button_press_cb),
5751 (hildon_pannable_area_timeout),
5752 (hildon_pannable_area_motion_notify_cb),
5753 (hildon_pannable_area_button_release_cb),
5754 (hildon_pannable_area_scroll_cb),
5755 (hildon_pannable_area_scroll_to): Removed the
5756 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5757 gdk_threads_add_timeout.
5759 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5761 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5766 * configure.ac: bump version
5767 * debian/changelog: updates
5769 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5771 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5772 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5773 * src/hildon-color-chooser-dialog.c:
5774 (hildon_color_chooser_dialog_init):
5775 * src/hildon-font-selection-dialog.c:
5776 (hildon_font_selection_dialog_init):
5777 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5779 Remove all cancel/close-like dialogs, as these are not going to be
5782 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5784 * src/hildon-note.c: (hildon_note_rebuild),
5785 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5788 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5790 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5792 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5793 sure all buttons are shown, even the Cancel/Close-like ones.
5795 Fixes: NB#90861 (Custom Confirmation dialogs should be
5796 protected from cancel button removal)
5798 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5800 * debian/control: Change libhildon1-examples dependency from libhildon1
5802 * debian/libhildon1-examples.install
5804 * Makefile.am: Modified the final install directory for the examples on
5805 package libhildon1-examples
5806 * Makefile.static: Update clean target in order to remove all the binary
5809 Changes suggested by Claudio after review new libhildon1-examples package
5811 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5813 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5814 * src/hildon-touch-selector.c: Ditto.
5816 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5818 * debian/control: Added new package libhildon1-examples, in order to pack
5819 the current hildon examples as documentation
5820 * debian/rules: Not to compress .c files, modify some includes on the
5821 examples (as normally are compiled locally, but when installed it will
5822 require to include the installed libhildon1 library), and rename
5824 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5825 install all the example files on the new example package
5826 * examples/Makefile.static: Added static makefile that can be used to
5827 compile the examples, once installed the new example package
5828 * examples: Most of the examples were modified in order to grant that
5829 all use only '#include "hildon.h"', in order to be easy to prepare
5830 it on the example package
5832 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5835 * debian/libhildon1-dev.install
5836 * debian/libhildon1-doc.install:
5837 Move all gtk-doc files to a separate libhildon1-doc package.
5839 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5841 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5845 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5847 * debian/rules: Fixed a error in order to avoid unnecessary calls
5848 to autogen.sh on package building
5850 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5852 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5854 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5856 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5859 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5861 * src/hildon-picker-button.c
5862 (hildon_picker_button_finalize):
5863 Free priv->done_button_text
5865 * src/hildon-time-button.c
5866 (hildon_time_button_set_time)
5867 * src/hildon-picker-button.c
5868 (hildon_picker_button_clicked)
5869 (hildon_picker_button_selector_selection_changed)
5870 (hildon_picker_button_set_selector)
5871 * src/hildon-date-button.c
5872 (hildon_date_button_set_date):
5873 Free strings returned by hildon_touch_selector_get_current_text()
5875 * src/hildon-button.c (hildon_button_construct_child):
5876 Fix leaks in priv->image and priv->label_box
5878 Fixes: NB#90535 (Memory leak in picker button)
5880 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5882 * src/hildon-button.c: (hildon_button_get_property): Do not access
5883 private elements directly, use getters instead.
5885 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-app-menu-private.h
5888 * src/hildon-app-menu.c
5889 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5890 Store the menu's parent window.
5892 * src/hildon-stackable-window.c
5893 (hildon_stackable_window_toggle_menu)
5894 (hildon_stackable_window_finalize):
5895 Set the menu's parent window when the menu is shown, unset it when
5898 * src/hildon-app-menu.c
5899 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5900 (hildon_app_menu_class_init):
5901 Send unhandled keyboard accelerators to the parent window.
5903 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5905 * src/hildon-stackable-window.c
5906 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5908 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5910 * configure.ac: post release version bump
5912 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5915 * configure.ac: Bump version
5916 * debian/changelog: Updates
5917 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5920 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5922 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5925 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5926 GtkMenu with Hildon style.
5928 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5930 * src/hildon-picker-button.c:
5931 (hildon_picker_button_set_done_button_text): Set the dialog's
5932 done button text here as well.
5934 Fixes: NB#90232 (Picker button does not set the label on done button
5935 for the second time)
5937 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5939 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5942 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5944 * src/hildon-app-menu.c (hildon_app_menu_insert)
5945 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5946 the HildonAppMenu to be activatable using keyboard accelerators
5947 when the menu is not being shown.
5949 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5951 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-stackable-window.c
5954 (hildon_stackable_window_show):
5955 Don't hide old windows automatically when new windows are shown:
5956 this is now a task for the window manager.
5957 (hildon_stackable_window_class_init)
5958 (hildon_stackable_window_hide):
5959 Remove windows from the stack everytime they're hidden.
5960 (hildon_stackable_window_realize):
5961 Don't change the _NET_WM_WINDOW_TYPE property. Use
5962 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5963 it as a stackable window.
5965 * src/hildon-program.c
5966 (hildon_program_pop_window_stack):
5967 Just hide the window to remove it from the stack.
5968 (hildon_program_go_to_root_window):
5969 Don't call gtk_widget_show(), this is now a task for the window
5972 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5974 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5976 * src/hildon-button.c
5977 (hildon_button_construct_child):
5978 Don't pack anything in the button until text or image are
5979 set. This allows adding a custom child after creating the button
5980 with hildon_button_new().
5981 (hildon_button_finalize, hildon_button_class_init)
5982 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5983 alignment and the label box even when they're not packed in the
5986 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5988 * src/hildon-touch-selector.h:
5989 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5990 currently the type definition was using GTK_TYPE_VBOX
5991 * src/hildon-touch-selector.c:
5992 Added some implementation notes in order to clarify that any other widget
5993 added without the column related API will not be included on the
5994 selection logic, and how the widget is freed, as some people ask about
5996 (hildon_touch_selector_remove): Reimplemented in order to free properly
5997 the column related data when you remove the private hbox.
5998 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5999 to get a proper HildonTouchSelectorColumn documentation
6001 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6003 * src/hildon-touch-selector-entry.c:
6004 (hildon_touch_selector_entry_print_func): Return NULL if there is no
6005 text in the GtkEntry and there is no item selected. Fixes a
6008 2008-10-13 Alberto Garcia <agarcia@igalia.com>
6010 * src/hildon-app-menu-private.h
6011 * src/hildon-app-menu.[ch]
6012 * src/hildon-button.[ch]
6013 * src/hildon-check-button.[ch]
6014 * src/hildon-entry.[ch]
6015 * src/hildon-pannable-area.[ch]
6016 * src/hildon-text-view.[ch]:
6017 Added private field to the object's structure.
6019 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6021 * configure.ac: post-release version bump
6023 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6027 * configure.ac: pre-release version bump
6029 * debian/changelog: updates.
6031 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6033 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6034 Disconnect the handler for HildonTouchSelector::changed.
6036 (hildon_picker_button_selector_selection_changed): Update the button
6037 value if the selection change was not triggered by the
6040 (hildon_picker_button_set_selector): connect to
6041 HildonTouchSelector::changed.
6043 Fixes: NB#89650 (Picker button is not updated, when selection in
6044 selector has changed)
6046 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6048 * src/hildon-picker-dialog.c
6049 (hildon_picker_dialog_realize): Removed as not required
6050 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6051 * src/hildon-picker-button.c
6052 (_current_selector_empty): New function, checks if the selector is empty
6053 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6054 if the current selector is empty, in order to avoid to show the dialog
6055 close the dialog in this case (and shows a g_warning).
6057 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6059 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6061 * src/hildon-pannable-area.c,
6062 (hildon_pannable_area_scroll): Added clause to stop movement when
6063 the child of pannable is smaller than one page.
6064 (hildon_pannable_area_scroll_to): Added conditions to avoid
6065 starting the scrolling movement if the child is smaller than one
6066 page, the complete child is in the screen, we do not have to move.
6068 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6070 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6072 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6073 this is managed automatically by the widget when the size of the
6076 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6078 * src/hildon-picker-button.c
6079 (hildon_picker_button_set_done_button_text): Make a copy of the
6080 text, and free the previous value.
6082 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6084 * src/hildon-touch-selector-entry.c:
6085 (hildon_touch_selector_entry_print_func): Return the selected row's
6086 text if the entry is empty.
6088 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6091 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6093 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6095 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6098 * src/hildon-check-button.h
6099 * src/hildon-check-button.c
6100 * examples/hildon-check-button-example.c:
6101 HildonCheckButton is now a new widget. 'toggled' signal added.
6103 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6105 * src/hildon-program-private.h
6106 * src/hildon-program.c (hildon_program_init)
6107 (hildon_program_finalize): Removed unused variables group_leader
6108 and name from HildonProgramPrivate.
6110 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6112 * src/hildon-check-button.c (hildon_check_button_set_active)
6113 (hildon_check_button_get_active, hildon_check_button_new): Use
6114 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6116 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6118 * src/hildon-touch-selector.h
6119 (hildon_touch_selector_set_column_attributes): added deprecation
6120 guard HILDON_DISABLE_DEPRECATED
6121 * src/hildon-time-selector.c
6122 (hildon_time_selector_set_time)
6123 (hildon_time_selector_get_time): Fixed a typo on documentation
6124 * src/hildon-touch-selector.c: update HildonTouchSelector and
6125 HildonTouchSelectorColumn documentation
6126 * src/hildon-touch-selector-entry.c: update "text-column" property
6128 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6129 to be added to the general documentation.
6131 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6133 * examples/hildon-pannable-area-example-4.c,
6135 * examples/hildon-pannable-area-example.c,
6136 (main): Modified the code in order to use the container add, with
6137 viewport treeviews could have problems if they are really big.
6139 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6141 * src/hildon-weekday-picker.c,
6142 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6143 the agreement regarding deprecation in the library.
6145 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6147 * examples/hildon-picker-button-multicolumn-example.c:
6148 (main): Use custom "done" button text.
6150 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6151 (hildon_picker_button_set_property),
6152 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6153 (hildon_picker_button_init),
6154 (+hildon_picker_button_get_done_button_text),
6155 (+hildon_picker_button_set_done_button_text): New methods to customize
6156 the "done" button label in the launched HildonPickerDialog. Also,
6159 * src/hildon-picker-button.h: add the public API.
6161 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/hildon-date-selector.h:
6164 * src/hildon-picker-dialog.h:
6165 * src/hildon-time-selector.h:
6166 * src/hildon-touch-selector-column.h:
6167 * src/hildon-touch-selector.h:
6169 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6170 declarations. Fixes gtk-doc warnings.
6172 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6174 * src/hildon-picker-dialog.h
6175 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6176 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6178 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6179 long text is set as label for done button)
6181 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6183 * src/hildon-dialog.c (hildon_dialog_add_button):
6184 Set fixed width to all buttons in the HildonDialog.
6186 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6188 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6190 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6191 Set widget name using class name plus "-finger" or "-thumb".
6193 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6195 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6196 'clicked' when the state of the button is manually changed.
6198 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6200 * src/hildon-app-menu.c (hildon_app_menu_realize)
6201 (hildon_app_menu_unrealize, hildon_app_menu_init)
6202 (hildon_app_menu_class_init, item_visibility_changed):
6203 Change the menu layout when the size of the screen changes.
6204 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6205 Show warning only when changing the number of colums using the
6208 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6210 * debian/compat: Set to 5
6211 * debian/control: Update dependencies.
6212 * debian/libhildon1-dbg.install: Remove.
6213 * debian/libhildon1-dev.install: Update according to cdbs paths.
6214 * debian/libhildon1.install: Update according to cdbs paths.
6215 * debian/rules: Switch to cdbs.
6217 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6219 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6220 'item' variable renamed to 'filter'
6222 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6224 * src/hildon-app-menu.c (hildon_app_menu_insert)
6225 (hildon_app_menu_add_filter, remove_item_from_list)
6226 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6227 Don't leak hidden items when the menu is destroyed.
6229 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6231 * src/hildon-app-menu.c (hildon_app_menu_insert)
6232 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6233 (hildon_app_menu_set_columns, item_visibility_changed)
6234 (filter_visibility_changed, hildon_app_menu_repack_filters)
6235 (hildon_app_menu_repack_items):
6236 Repack items and filters separately.
6238 Don't repack all items, change only the ones that are needed to
6241 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6243 * src/Makefile.am: added hildon-touch-selector-column.h
6245 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6247 * src/hildon-touch-selector.c: added the property "text-column" to the
6248 class HildonTouchSelectorColumn, and related get/set functions
6249 (_default_printf_func): updated to use "text-column" property
6250 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6251 "text-column" in his documentation, as this is now included on
6252 HildonTouchSelectorColumn. The get/set_property can still be used,
6253 working as a wrapper to the concrete column "text-column" property
6254 (_text_column_modified): callback added in order to handle the signal
6255 "notify::text-column" of the concrete HildonTouchSelectorColumn
6256 (hildon_touch_selector_entry_get_text_column)
6257 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6258 modified in order to use the HildonTouchSelectorColumn "text-column"
6260 * src/hildon-time-selector.c:
6261 * src/hildon-date-selector.c:
6262 * examples/hildon-touch-selector-example.c
6263 * examples/hildon-touch-selector-multi-cells-example.c
6264 * examples/hildon-picker-button-multicolumn-example.c
6265 Set the right value to "text-column" property on the creation of a new
6266 column using hildon_touch_selector_append_column()
6268 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6270 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6272 * src/hildon-app-menu.c
6273 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6274 updating the layout of the menu, don't create all widgets again,
6275 just repack the items in their new places.
6277 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6279 * src/hildon-time-selector.c
6280 (hildon_time_selector_get_time)
6281 (hildon_time_selector_set_time)
6282 Added documentation of these public methods
6284 * src/hildon-date-button.h
6285 * src/hildon-touch-selector-column.h
6286 * src/hildon-time-button.h
6287 * src/hildon-picker-dialog.h
6288 * src/hildon-time-selector.h
6289 * src/hildon-picker-button.h
6290 * src/hildon-touch-selector.h
6291 * src/hildon-time-picker.h
6292 * src/hildon-date-selector.h
6293 * src/hildon-touch-selector-entry.h
6294 Modified in order to use hildon-widgets code style
6296 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6298 Added deprecated support to the compilation process using
6299 HILDON_DISABLE_DEPRECATED
6301 * configure.ac: Added the --disable-deprecated to the configure
6304 * src/hildon-weekday-picker.c:
6305 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6306 to use the deprecated support. We will update the other deprecated
6307 widgets status in a new patch.
6309 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6311 * configure.ac: Fixed typo with fatal warnings support, the
6312 variable name was not correct
6314 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-app-menu.c
6317 * src/hildon-program.c: Update documentation.
6319 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6321 * configure.ac: Post-release version bump.
6323 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6328 * configure.ac: Pre-release version bump.
6329 * debian/changelog: Updates.
6331 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6333 * NEWS: Update news for previous releases.
6335 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6337 * examples/hildon-touch-selector-multi-cells-example.c:
6338 (create_selector): Update the example to use
6339 hildon_touch_selector_append_column() with a NULL renderer and set
6340 the renderers later.
6341 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6342 passed a NULL renderer. This is documented behavior now.
6344 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6345 This must be used if the developer wants full control on the layout of
6346 the renderers to be added to the column.
6348 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6350 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6352 * src/hildon-touch-selector.c: Documentation fixes.
6354 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6356 * src/hildon-wizard-dialog-private.h: Remove image and box.
6357 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6358 (hildon_wizard_dialog_set_property), (response): Completely remove
6359 image/icon support, and the containers required for the layout.
6361 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6363 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6365 * src/hildon-app-menu.c: Updated documentation.
6367 * src/hildon-stackable-window.c
6368 (hildon_stackable_window_set_main_menu): Unref the old menu after
6369 ref'ing the new one.
6371 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6373 * src/hildon-stackable-window.c
6374 (hildon_stackable_window_set_main_menu): Unref the previous menu
6375 instead of destroying it.
6377 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6378 floating reference and set has_user_ref_count to FALSE to make
6379 HildonAppMenu act like a normal ref-counted widget and not a
6382 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6385 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6387 * src/hildon-touch-selector-column.h: new file
6388 * src/hildon-touch-selector.h
6389 * src/hildon-touch-selector.c
6390 Implemented GtkCellLayout interface, in order to allow to configure
6391 the cell layout on each individual selector column
6392 (hildon_touch_selector_set_column_attributes): marked as deprecated
6393 * examples/hildon-touch-selector-multi-cells-example.c
6394 Example of how to use the GtkCellLayout interface on the selector
6396 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6398 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6400 * src/hildon-app-menu.h
6401 * src/hildon-app-menu.c
6402 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6403 (hildon_app_menu_append, hildon_app_menu_prepend):
6404 New methods to prepend, insert and move items in the menu.
6406 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6408 * src/hildon-wizard-dialog.c:
6410 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6412 (create_title): Update logical IDs and related code.
6413 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6415 * src/hildon-wizard-dialog.h: Note that
6416 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6417 point, as it is not used anymore.
6419 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6421 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6423 * src/hildon-note.c:
6424 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6425 shown. Do not display an icon in confirmation notes nor information
6427 (hildon_note_set_button_text): Update logical ID for cancel button.
6429 Fixes: NB#88850 (Update HildonNote button strings + signals)
6431 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6433 * src/hildon-stackable-window.c
6434 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6436 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6438 * src/hildon-app-menu-private.h
6439 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6440 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6441 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6442 temporary property 'columns' to change the number of columns.
6444 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6446 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6448 * examples/hildon-note-example.c: (on_information_clicked),
6449 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6450 debugging information.
6451 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6453 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6454 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6455 in order to close: this will be handled by the WM from now on.
6457 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6459 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6461 * src/hildon-app-menu-private.h
6462 * src/hildon-app-menu.c
6463 (hildon_app_menu_append, hildon_app_menu_add_filter)
6464 (button_visibility_changed, hildon_app_menu_apply_style)
6465 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6466 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6467 layout everytime a button (item or filter) is shown or hidden.
6469 * src/hildon-stackable-window.c
6470 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6473 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6475 * src/hildon-touch-selector.c:
6476 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6477 that the treeview inside the touch selector is in fremantle hildon mode
6478 * examples/hildon-date-button-example.c
6479 * examples/hildon-picker-button-multicolumn-example.c
6480 * examples/hildon-touch-selector-entry-example.c
6481 * examples/hildon-touch-selector-example.c
6482 * examples/hildon-time-button-example.c
6483 * examples/hildon-picker-button-example.c:
6484 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6486 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6488 * examples/hildon-text-view-example.c: (main): Remove the
6489 gtkrc bits, now handled by the theme.
6491 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6493 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6496 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6498 * po/Makefile.am: Install properly the mo files.
6499 * po/en_GB.po: Update translation, to ease testing purposes.
6501 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6503 * examples/hildon-picker-button-example.c: (main): Select an item
6504 in the selector before setting it to the button.
6506 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6508 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6509 Update button's value if the selector has an item active.
6511 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6512 'value' with the selector)
6514 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6516 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6517 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6518 (hildon_picker_button_class_init): Plug the finalize method.
6519 (hildon_picker_button_set_selector): If there's a previously set
6520 selector, unref'it before setting a new one.
6522 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6523 HildonTouchSelector)
6525 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6527 * src/hildon-touch-selector-entry.c:
6528 (hildon_touch_selector_entry_changed): Check if there is no text
6529 selected before setting the entry text.
6532 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6534 * src/hildon-touch-selector.h
6535 * src/hildon-touch-selector.c
6536 (hildon_touch_selector_get_active)
6537 (hildon_touch_selector_set_active): New methods to set/get the
6538 index of the selected item.
6540 * src/hildon-picker-button.h
6541 * src/hildon-picker-button.c
6542 (hildon_picker_button_get_active)
6543 (hildon_picker_button_set_active): New methods to set/get the
6544 index of the selected item.
6546 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6548 * configure.ac: post-release version bump.
6550 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6554 * configure.ac: Pre-release version bump.
6555 * debian/changelog: Updates.
6556 * debian/control: Add myself as maintainer and depend on l10n
6559 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6561 * src/hildon-window.c
6562 (hildon_window_set_main_menu)
6563 * src/hildon-stackable-window.c
6564 (hildon_stackable_window_set_main_menu):
6565 Updated documentation.
6567 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6569 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6570 Don't free selector->priv manually.
6573 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6576 (hildon_gtk_window_set_progress_indicator):
6577 * src/hildon-gtk.h: Added the new API
6578 hildon_gtk_window_set_progress_indicator, it changes the state of
6579 the window progress hint.
6581 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6583 * src/hildon-button.c
6584 * src/hildon-stackable-window.c: Minor documentation updates.
6586 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6588 * src/hildon-stackable-window.c: Updated documentation.
6590 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6592 * src/hildon-defines.h: Update margins definitions
6593 to the Fremantle sizes.
6596 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6598 * src/hildon-touch-selector.c,
6599 (_hildon_touch_selector_set_model): Cleaning the code after
6600 review, removed g_print and #if 0 from the code.
6602 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6604 * src/hildon-edit-toolbar.c: Update documentation.
6606 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6608 * src/hildon-check-button.h
6609 * src/hildon-check-button.c
6610 (hildon_check_button_set_label, hildon_check_button_get_label)
6611 * examples/hildon-check-button-example.c
6612 (button_clicked_cb):
6613 Removed deprecated methods.
6615 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-text-view.c:
6618 Add sample code to the documentation.
6620 * src/hildon-entry.h
6621 * src/hildon-text-view.h:
6622 Minor cosmetic changes.
6624 * src/hildon-entry.c:
6625 Add sample code to the documentation.
6626 (hildon_entry_init, hildon_entry_refresh_contents):
6627 Don't allow NULL values in the placeholder.
6629 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6631 * doc/hildon-docs.sgml
6633 * examples/Makefile.am
6634 * examples/hildon-text-view-example.c
6636 * src/hildon-text-view.c
6637 * src/hildon-text-view.h
6639 New HildonTextView widget, with example.
6641 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6643 * po/POTFILES.in: Add missing files with translatable strings.
6644 Partially fixes NB#88287.
6646 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6648 * examples/hildon-pannable-area-example-2.c: (main): No need to
6649 set the cellrenderer height inside hildon touch lists, the theme does
6652 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6654 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6655 they are integrated in the theme.
6657 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6659 * examples/hildon-entry-example.c: Update the example adding
6660 widgets to modify the text and the placeholder of the HildonEntry.
6662 * src/hildon-entry.c: Show the placeholder everytime the widget
6663 is empty and loses the focus.
6665 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6667 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6669 * src/hildon-pannable-area.c,
6670 (hildon_pannable_area_size_request): Fixed bug in height
6671 requisition, avoid increasing size and add border twice.
6673 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6675 * configure.ac: postrelease version bump.
6677 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6681 * configure.ac: Prerelease version bump.
6682 * debian/changelog: update.
6683 * debian/rules: make -dbg package contain useful debugging symbols.
6685 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6687 * src/hildon-dialog.h
6688 * src/hildon-dialog.c
6689 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6690 New methods to add buttons with finger size.
6691 (hildon_dialog_new_with_buttons):
6692 Create buttons with finger size.
6694 * examples/hildon-dialog-example.c (main): Use HildonDialog
6695 methods to add buttons.
6697 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6699 * src/hildon-entry.c: Updated HildonButton documentation.
6701 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6703 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6704 button value label with (FALSE, FALSE) to prevent NB#88126 from
6707 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6709 * examples/hildon-pannable-area-example.c,
6710 (main): Removed examples panning a vbox inside a pannable
6711 area. Check bug NB#87965
6713 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6715 Patch contributed by Kris Rietveld (kris@imendio.com)
6717 * src/hildon-pannable-area.c,
6718 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6719 get_size and get_position, this saves an X server roundtrip.
6721 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6723 * doc/hildon-docs.sgml
6725 * examples/Makefile.am
6726 * examples/hildon-entry-example.c
6728 * src/hildon-entry.c
6729 * src/hildon-entry.h
6731 New HildonEntry widget, with example.
6733 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6735 * src/hildon-button.c (hildon_button_construct_child): Pack the
6736 image with expand == fill == FALSE. This is a workaround for a bug
6739 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6741 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6742 labels for the text column, to make it more look more dynamic.
6744 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6746 * src/hildon-time-selector.c
6747 Define gettext auxiliar macro N_
6748 (_create_minutes_model)
6749 (_create_hours_model)
6750 (_create_ampm_model): use of strftime in order to fill the model
6751 * src/hildon-date-selector.c
6752 (hildon_date_selector_finalize):
6753 (_locales_init): remove the logic related to get the name of the months
6754 using nl_langinfo, as it is not required anymore
6756 (_create_year_model)
6757 (_create_month_model)
6758 (_update_day_model): use of strftime in order to fill the model properly
6761 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6763 * src/hildon-button.h
6764 * src/hildon-button.c (hildon_button_get_image): New method to
6767 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6769 * src/hildon-touch-selector.c:
6770 (hildon_touch_selector_remove_column): Remove from the correct parent
6771 and also remove the list element and free it.
6774 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6776 * src/hildon-time-selector.c
6777 (_create_hours_model): change the range on 12h ampm format in order to use
6778 a 12-11 range instead of previous 01-12 range
6779 (hildon_time_selector_set_time): change the way to select the current time
6780 on 12h ampm format, due the change on the range
6781 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6784 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6786 * src/hildon-touch-selector.c
6787 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6788 in order to allow use this function on multiple row selection mode if
6789 the column is different that the first one
6792 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6794 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6795 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6797 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6799 * src/hildon-date-selector.h: clean some comments, now on the .c
6800 * src/hildon-date-selector.c
6801 (hildon_date_selector_select_month): first implementation
6802 (hildon_date_selector_select_day): added documentation, reimplemented
6803 using hildon_date_selector_select_current_date to avoid repeat code
6806 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6808 Reviewed interaction logic based on device experiences, refactored
6811 * src/hildon-pannable-area.c,
6812 (hildon_pannable_area_class_init): Updated default vmax speed.
6813 (hildon_pannable_area_calculate_velocity): Added this function, it
6814 avoids duplicate valocity calculation. Adjusted calculation to
6815 avoid problems with zero dist events.
6817 (hildon_pannable_area_motion_notify_cb): Now we use the
6818 calculate_velocity function.
6820 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6822 * src/hildon-date-selector.c
6823 (hildon_date_selector_select_current_date): fix the day range check
6824 as it failed using the last day of the current month
6827 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6829 * src/hildon-touch-selector.c
6830 (hildon_touch_selector_get_num_columns): added a parameter validation
6833 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6835 * examples/Makefile.am
6836 * examples/hildon-edit-toolbar-example.c: Example of the
6837 HildonEditToolbar widget.
6839 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6841 * configure.ac: postrelease version bump.
6843 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6847 * configure.ac: prerelease version bump.
6848 * debian/changelog: update.
6850 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6852 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6853 renderer to display stock icons in the touch list. Also, set the sizes
6854 to the recommended in the style guide.
6856 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6857 * src/hildon-touch-selector.h
6858 (hildon_touch_selector_set_active_iter): renamed, now is
6859 hildon_touch_selector_select_iter
6860 (hildon_touch_selector_get_active_iter): renamed, now is
6861 hildon_touch_selector_get_selected
6862 (hildon_touch_selector_unselect_iter): added
6863 * src/hildon-touch-selector.c
6864 Update after API modification (methods renamed)
6865 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6866 order to avoid problems selecting multiple elements on the column
6867 (hildon_touch_selector_unselect_iter): added the implementation
6868 * src/hildon-time-selector.c
6869 * src/hildon-date-selector.c
6870 * src/hildon-touch-selector-entry.c
6871 Update methods calls after hildon-touch-selector.h API modification (methods
6874 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6876 * src/hildon-stackable-window.c
6877 (hildon_stackable_window_finalize): Call the parent class's finalize.
6879 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6881 * examples/hildon-touch-selector-example.c: (create_selector): Use
6882 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6885 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6887 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6888 set a cell background color, to respect theming.
6890 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6892 * doc/hildon-docs.sgml
6895 * src/hildon-edit-toolbar.c
6896 * src/hildon-edit-toolbar.h
6897 * src/hildon.h: New HildonEditToolbar widget.
6899 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6901 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6904 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6905 * src/hildon-touch-selector.c
6906 (_create_new_column): use g_object_set instead of two g_object_set_property
6908 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6909 * src/hildon-touch-selector.c
6910 (_create_new_column): use of hildon_gtk_tree_view_new to create
6911 the treeview, instead of use directly g_object_new
6912 (_create_new_column): update the property name "vindicator-mode" for the
6913 new one "vscrollbar-policy"
6914 * examples/hildon-date-button-example.c
6915 * examples/hildon-picker-button-multicolumn-example.c
6916 * examples/hildon-touch-selector-entry-example.c
6917 * examples/hildon-touch-selector-example.c
6918 * examples/hildon-time-button-example.c
6919 * examples/hildon-picker-button-example.c
6920 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6921 to all the treeviews inside a pannable area.
6923 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6925 * src/hildon-button.h
6926 * src/hildon-button.c (hildon_button_init)
6927 (hildon_button_set_arrangement, hildon_button_set_alignment)
6928 (hildon_button_set_title_alignment)
6929 (hildon_button_set_value_alignment)
6930 (hildon_button_set_image_alignment)
6931 (hildon_button_construct_child): New methods to set the alignment
6932 of the individual components of the button (title, value,
6933 image). Also, new method to alter the xscale and yscale properties
6934 of the GtkAlignment inside the button, so more complex layouts can
6937 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6939 * src/hildon-button.c (hildon_button_style_set)
6940 (hildon_button_class_init, hildon_button_set_arrangement)
6941 (hildon_button_construct_child): Apply style properties
6942 correctly. Use the 'image-spacing' style property too.
6944 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6946 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6947 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6950 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6952 * src/hildon-pannable-area.c,
6953 (hildon_pannable_area_size_request): Fixed problem with
6954 pannable-area size_request.
6956 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6958 Added management for the grab-focus to a child widget, like a
6959 range, we need to fade out the scrollbar when releasing.
6961 * src/hildon-pannable-area.c,
6962 (hildon_pannable_area_init): Connected the grab-focus signal to
6964 (hildon_pannable_area_grab_notify): Added this function in order
6965 to manage the situation when the grab-focus ends. We have to
6966 fade-out the scrollbar.
6968 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6970 * src/hildon-app-menu.c: Minor documentation update.
6972 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6974 * src/hildon-app-menu.c
6975 * examples/hildon-app-menu-example.c (create_menu): Update
6976 examples and documentation to explain how to connect callbacks.
6978 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6980 * examples/hildon-button-example.c
6981 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6982 hildon_stackable_window_new instead of gtk_window_new
6984 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6986 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6987 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6988 (hildon_pannable_area_set_property),
6989 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6990 (hildon_pannable_area_unrealize),
6991 (hildon_pannable_area_size_request),
6992 (hildon_pannable_area_size_allocate),
6993 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6994 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6995 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6996 (hildon_pannable_area_initial_effect),
6997 (hildon_pannable_area_redraw),
6998 (hildon_pannable_area_scroll_indicator_fade),
6999 (hildon_pannable_area_expose_event),
7000 (hildon_pannable_area_get_topmost), (synth_crossing),
7001 (hildon_pannable_area_button_press_cb),
7002 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
7003 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
7004 (hildon_pannable_area_motion_notify_cb),
7005 (hildon_pannable_area_button_release_cb),
7006 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
7007 (hildon_pannable_area_remove),
7008 (hildon_pannable_calculate_vel_factor): Widget refactorization,
7009 chage the code layout to a more GtkWidget like. Review the use of
7012 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7014 * examples/hildon-pannable-area-example-4.c,
7015 (main): Modified the name of the hindicator_mode to
7018 * src/hildon-pannable-area.c,
7019 (hildon_pannable_area_class_init),
7020 (hildon_pannable_area_motion_notify_cb),
7021 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7022 we have reduced the amount of signals and managed reviewed its
7023 rationale. Changed the default decelerate value.
7025 (hildon_pannable_area_add),
7026 (hildon_pannable_area_redraw): Refactored functions.
7028 (hildon_pannable_area_init),
7029 (hildon_pannable_area_get_property),
7030 (hildon_pannable_area_set_property):
7031 (hildon_pannable_draw_vscroll),
7032 (hildon_pannable_draw_hscroll),
7033 (hildon_pannable_area_initial_effect),
7034 (hildon_pannable_area_expose_event),
7035 (hildon_pannable_area_scroll),
7036 (hildon_pannable_area_button_press_cb),
7037 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7038 and vindicator_mode with hscrollbar_policy and
7039 vscrollbar_policy. Replaced hscroll and vscroll with
7040 hscroll_visible and vscroll_visible.
7042 (hildon_pannable_area_refresh): Refactor the function, remove
7043 variables and check the calls to this function, added resize
7044 conditions in case the children change their layout.
7046 (hildon_pannable_area_size_request): Added more detailed
7047 size_request calculation.
7050 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7052 * src/hildon-color-chooser.c
7053 (init_borders): use the correct gtk_border_free instead of g_free, to
7054 avoid a crash when this widget is used (ie: the three color selection
7057 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7059 * src/hildon-check-button.c,
7060 (hildon_check_button_set_active): Fixed problem when setting the
7061 active value, the widget was not redrawn.
7063 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7065 * src/hildon-pannable-area.c,
7066 (hildon_pannable_area_refresh),
7067 (hildon_pannable_area_scroll),
7068 (hildon_pannable_area_motion_notify_cb): Small code style change.
7070 (hildon_pannable_area_class_init): Default initial_hint set to
7071 FALSE, it is not in the specs.
7073 (hildon_pannable_area_initial_effect),
7074 (hildon_pannable_area_expose_event),
7075 (hildon_pannable_area_map),
7076 (hildon_pannable_area_init): Moved the launching point of the
7077 initial effect, it was in map but the sizes where not correct in
7078 that method so we do not know if we have the reproduce it. Now it
7079 is placed in the expose_event method and uses a variable to
7080 reproduce it just once.
7082 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7084 * src/hildon-pannable-area.c,
7085 (hildon_pannable_draw_vscroll),
7086 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7087 position allowed for the scrollbars.
7089 (hildon_pannable_area_size_allocate): Small style change.
7091 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7093 * src/hildon-pannable-area.c,
7094 (hildon_pannable_area_scroll_indicator_fade),
7095 (hildon_pannable_area_button_press_cb),
7096 (hildon_pannable_area_button_release_cb),
7097 (hildon_pannable_area_scroll_cb),
7098 (hildon_pannable_area_expose_event),
7099 (hildon_pannable_area_init): Added the define parameter
7100 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7101 and refactor the fade variable.
7103 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7105 * src/hildon-pannable-area.c,
7106 (hildon_pannable_area_redraw),
7107 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7108 lines, we were reimplemeting the redraw code.
7110 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7112 * src/hildon-pannable-area.c,
7113 (hildon_pannable_area_scroll_cb),
7114 (hildon_pannable_area_realize),
7115 (hildon_pannable_area_class_init): Added scroll_event management
7116 for pannable area, now we can scroll the usual desktop method.
7118 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7119 initialization of the parameters should depend on idle_id.
7121 (hildon_pannable_area_init),
7122 (hildon_pannable_area_map): Small code style modifications
7124 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7126 * src/hildon-pannable-area.c
7127 (hildon_pannable_area_button_press_cb),
7128 (hildon_pannable_area_motion_notify_cb),
7129 (hildon_pannable_area_button_release_cb),
7130 (hildon_pannable_area_size_allocate),
7131 (hildon_pannable_area_scroll_to): Improved the timeouts
7132 management, we avoid creating them each time.
7134 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7136 * src/hildon-pannable-area.c:
7137 (hildon_pannable_area_refresh),
7138 (hildon_pannable_area_motion_notify_cb),
7139 (hildon_pannable_area_class_init):
7140 * src/hildon-pannable-area.h:
7141 * src/hildon-touch-selector.c
7142 (_create_new_column):
7143 * examples/hildon-pannable-area-example-4.c:
7144 (horizontal_movement),
7145 (vertical_movement),
7147 Replaced the names of enums in the HildonPannableArea:
7148 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7149 HILDON_MOVEMENT_MODE_*
7150 - HILDON_PANNABLE_AREA_MOV_* ->
7152 - Removed HildonPannableAreaIndicatorMode, now we
7155 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7157 * examples/hildon-pannable-area-touch-grid-example.c
7158 * examples/hildon-pannable-area-touch-list-example.c: Fix
7159 compilation warnings.
7161 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7163 * src/hildon-gtk.c (hildon_gtk_button_new)
7164 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7165 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7166 images overriding the value of the "gtk-button-images" setting.
7168 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7170 * src/hildon-check-button.c (hildon_check_button_new):
7171 Instead of using a custom container, display the label and the
7172 checkbox using the standard GtkButton API.
7174 * examples/hildon-check-button-example.c (main): Don't use
7175 hildon_check_button_set_label() anymore
7177 * src/hildon-check-button.h
7178 * src/hildon-check-button.c
7179 (hildon_check_button_set_label, hildon_check_button_get_label):
7180 Set as deprecated, now we're using gtk_button_{get,set}_label()
7182 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7184 * src/hildon-pannable-area.c,
7185 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7186 GtkTreeview first line we detected it after the inclusion of the
7187 GtkWindowImpl in gtk+. We now check if the window is visible, not
7188 just if the pointer is over the window.
7189 (hildon_pannable_axis_scroll),
7190 (hildon_pannable_area_expose_event): Small style changes.
7192 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7194 * src/hildon-button.c: Update documentation.
7196 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7198 * examples/hildon-button-example.c: Add a switch to show images in
7201 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7203 * doc/hildon-docs.sgml: Some docs reorganization.
7205 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7207 * examples/hildon-pannable-area-touch-list-example.c
7209 * examples/hildon-pannable-area-touch-grid-example.c
7210 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7211 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7212 Fix memory leak when setting the tree model.
7214 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7218 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7220 * doc/hildon.types: Remove duplicated hildon_window_get_type
7221 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7222 documentation comment.
7224 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7226 * doc/Makefile.am: Complete list of private headers.
7228 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7230 * doc/hildon-docs.sgml
7231 * src/hildon-app-menu.c
7232 * src/hildon-bread-crumb.c
7233 * src/hildon-button.c
7235 * src/hildon-program.c
7236 * src/hildon-stackable-window.c
7237 * src/hildon-window.c: Lots of documentation updates.
7239 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7241 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7243 * configure.ac: Require Gtk+ 2.12.9 at least
7245 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7247 * src/hildon-pannable-area.c
7248 (hildon_pannable_area_scroll_indicator_fade),
7249 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7250 to protect the return of this timeout callbacks, avoiding deadlocks.
7252 2008-08-12 Christian Dywan <christian@imendio.com>
7255 * src/hildon-*.h: Ensure a consistent include order,
7256 include <gtk/gtk.h> instead of particular files and
7257 only include the topmost header in the gtk stack. See NB #39857
7259 2008-08-12 Christian Dywan <christian@imendio.com>
7261 * src/hildon-picker-dialog.c
7262 * src/hildon-touch-selector.c: Fix warnings about unused and
7263 uninitialized variables.
7265 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7267 * examples/Makefile.am
7268 * examples/hildon-check-button-example.c: Example of the hildon
7271 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7273 * src/hildon-window.h
7274 * src/hildon-window.c (hildon_window_class_init)
7275 (hildon_window_unset_program): Don't make
7276 hildon_window_unset_program a virtual function anymore.
7278 * src/hildon-stackable-window.c: Update documentation
7280 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7283 * doc/hildon-docs.sgml
7284 * doc/visual_index.xml
7285 * src/hildon-defines.c
7287 * src/hildon-helper.c
7288 * src/hildon-range-editor.c: Lots of documentation fixes.
7290 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7292 * examples/hildon-picker-button-multicolumn-example.c
7293 (create_touch_selector): Fix compilation warning.
7295 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7297 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7298 (hildon_pannable_area_button_release_cb)
7299 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7301 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7303 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7306 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7308 * src/hildon-bread-crumb-trail.h
7309 * src/hildon-date-editor.c
7310 * src/hildon-date-selector.c
7311 * src/hildon-pannable-area.c
7312 * src/hildon-picker-dialog.c
7313 * src/hildon-time-selector.c
7314 * src/hildon-touch-selector-entry.c
7315 * src/hildon-touch-selector.c
7316 * src/hildon-touch-selector.h: Misc documentation fixes
7318 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7320 * examples/hildon-date-editor-example.c (main): Updated date
7323 * examples/hildon-note-example.c (on_confirmation_clicked):
7324 Updated confirmation note example.
7326 * src/hildon-date-editor.c
7327 * src/hildon-note.c: Updated sample programs in documentation.
7330 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7332 * src/hildon-date-button.h:
7333 * src/hildon-picker-button.h:
7334 * src/hildon-time-button.c:
7335 * src/hildon-time-button.h:
7337 Some declarations changes to allow gtk-doc to document the widgets
7340 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7342 * src/hildon-date-button.c: Document the widget.
7343 * src/hildon-time-button.c: Document the widget.
7345 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7347 * src/hildon-picker-button.c: Document the widget.
7348 * src/hildon-touch-selector-entry.c: Document the widget.
7350 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7352 * doc/hildon-docs.sgml
7355 * src/hildon-check-button.h
7356 * src/hildon-check-button.c: New functions to create the Hildon
7360 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7362 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7364 * src/hildon-button.h
7365 * src/hildon-button.c
7366 (hildon_button_add_title_size_group)
7367 (hildon_button_add_value_size_group)
7368 (hildon_button_add_image_size_group)
7369 (hildon_button_add_size_groups): New functions to set size groups
7370 for the button labels and image.
7371 (hildon_button_new_full): Removed
7373 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7375 * src/hildon-time-selector.c
7376 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7377 in order to avoid a crash if gconf is not available
7379 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7381 * src/hildon-button.c (hildon_button_set_arrangement)
7382 (hildon_button_construct_child): Don't construct the button child
7383 before setting the arrangement.
7385 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7387 * src/hildon-program-private.h
7388 * src/hildon-program.c
7389 * src/hildon-program.h
7390 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7391 (hildon_program_peek_window_stack)
7392 (hildon_program_pop_window_stack)
7393 (hildon_program_go_to_root_window): HildonProgram now has a
7394 separate list for stackable windows. Functions are provided to
7395 manage that list with a stack-like API.
7397 * src/hildon-stackable-window.c: Stackable window management is
7398 now much simpler with the new HildonProgram API. Windows no
7399 longer need to be manually added to the program, they're
7400 automatically pushed to the top of the stack when shown.
7402 * examples/hildon-stackable-window-example.c: Updated example to
7403 reflect the API changes.
7405 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7407 * src/hildon-touch-selector.c: Comment out unimplemented
7408 hildon_touch_selector_insert_column() to avoid a compile warning.
7410 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7412 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7413 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7414 (hildon_touch_selector_set_column_selection_mode),
7415 (_hildon_touch_selector_set_model),
7416 (hildon_touch_selector_set_model):
7418 Complete review of HildonTouchSelector documentation.
7420 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7422 * doc/hildon-docs.sgml
7426 * src/hildon-gtk.c: Convenience functions for standard Gtk
7427 widgets, used to easily perform frequent operations.
7429 * src/hildon-button-helpers.h
7430 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7432 * src/hildon-helper.h
7433 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7434 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7436 * src/hildon-button.h
7437 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7439 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7441 * src/hildon-button.c (hildon_button_init)
7442 (hildon_button_set_arrangement, hildon_button_construct_child):
7443 Pack the image and the labels inside the same GtkAlignment so
7444 gtk_button_set_alignment() can be used
7446 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7448 * src/hildon-button.h
7449 * src/hildon-button.c
7450 (hildon_button_init, hildon_button_set_image)
7451 (hildon_button_set_image_position)
7452 (hildon_button_construct_child): New functions to add an image to
7455 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7457 * src/hildon-date-button.c
7458 * src/hildon-picker-button.c
7459 * src/hildon-time-button.c
7460 * src/hildon-button.c:
7461 (hildon_button_class_init): "size-flags" renamed to "size"
7462 (hildon_button_set_title): Hide the title label if set to NULL.
7464 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7466 HildonButtonFlags split into HildonButtonArrangement (to set the
7467 button layout) and HildonSizeType (which can be used for any
7470 * src/hildon-button.h
7471 * src/hildon-button.c
7472 (hildon_button_class_init)
7473 (hildon_button_set_arrangement)
7474 (hildon_button_set_property): New "size-flags"
7475 property. "arrangement-flags" renamed to "arrangement".
7476 (hildon_button_new, hildon_button_new_with_text)
7477 (hildon_button_new_full): Constructors updated to reflect type changes.
7479 * src/hildon-helper.h
7480 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7481 to set the size of a widget.
7485 * src/hildon-button-helpers.c
7486 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7488 * src/hildon-date-button.c
7489 * src/hildon-date-button.h
7490 * src/hildon-picker-button.c
7491 * src/hildon-picker-button.h
7492 * src/hildon-time-button.c
7493 * src/hildon-time-button.h: Updated widgets to reflect
7494 HildonButton API changes.
7496 * examples/hildon-button-example.c
7497 * examples/hildon-date-button-example.c
7498 * examples/hildon-picker-button-example.c
7499 * examples/hildon-picker-button-multicolumn-example.c
7500 * examples/hildon-time-button-example.c
7501 * examples/hildon-touch-selector-entry-example.c
7502 * examples/hildon-touch-selector-example.c: Updated examples to
7503 reflect HildonButton API changes.
7505 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7507 * doc/hildon-docs.sgml:
7509 * examples/Makefile.am:
7510 * examples/hildon-touch-selector-entry-example.c:
7512 * src/hildon-touch-selector-entry.c:
7513 * src/hildon-touch-selector-entry.h:
7516 Moved HildonTouchSelectorEntry from sandbox. Added its
7517 documentation and examples.
7519 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7521 * src/hildon-touch-selector.h:
7522 * examples/hildon-picker-button-multicolumn-example.c:
7523 (hildon_touch_selector_append_text_column): Add a gboolean
7524 parameter to determine if text must be centered in the column.
7526 * src/hildon-date-selector.c: (hildon_date_selector_init):
7527 * src/hildon-time-selector.c: (hildon_time_selector_init):
7528 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7529 (create_touch_selector): Update widgets and example to reflect
7532 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7534 * src/hildon-touch-selector.c:
7535 (hildon_touch_selector_set_active_iter): Set also the cursor in
7538 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7540 * doc/hildon-docs.sgml
7543 * src/hildon-toggle-button.c
7544 * src/hildon-toggle-button.h
7545 * src/hildon.h: Removed HildonToggleButton widget, a derived
7546 class is not necessary for this.
7548 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7550 * src/hildon-pannable-area.c,
7551 (hildon_pannable_area_realize),
7552 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7555 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7557 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7558 "done" button the default widget for the dialog.
7560 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7562 * src/hildon-touch-selector.c:
7563 (hildon_touch_selector_class_init),
7564 (hildon_touch_selector_get_property),
7565 (_hildon_touch_selector_set_model),
7566 (_hildon_touch_selector_has_multiple_selection),
7567 (hildon_touch_selector_has_multiple_selection):
7568 Add a "has-multiple-selection" property with a virtual
7569 has_multiple_selection() method to allow derived classes to
7570 override the default value for it. See the method and property
7571 documentation for details.
7573 * src/hildon-touch-selector.h: Add the new API.
7575 * src/hildon-picker-dialog.c: (requires_done_button): Call
7576 hildon_touch_selector_has_multiple_selection() instead of
7577 determining the need for a button itself.
7579 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7581 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7582 (_hildon_touch_selector_set_model),
7583 (hildon_touch_selector_set_model): Move working code to
7584 _hildon_touch_selector_set_mode(). Call the class method instead.
7586 * src/hildon-touch-selector.h: Add (*set_model) to
7587 HildonTouchSelectorClass.
7589 Make hildon_touch_selector_set_model() a virtual method, so that
7590 derived classes can extend it and do fancy stuff with the model.
7592 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7594 * configure.ac: Set back the tarname in AC_INIT to hildon.
7596 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7600 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7601 instead of libesd (NB#86876). Volume handling is still an open issue.
7603 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7606 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7608 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7609 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7610 derived class to ease placement of an entry widget in
7611 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7612 end, where the selector columns are packed now.
7614 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7616 * src/hildon-picker-button.c: Removed the simple _text() API.
7617 * src/hildon-picker-button.h: Likewise.
7619 * src/hildon-touch-selector.h:
7620 * src/hildon-touch-selector.c:
7621 (hildon_touch_selector_new_text),
7622 (hildon_touch_selector_append_text),
7623 (hildon_touch_selector_prepend_text),
7624 (hildon_touch_selector_insert_text):
7626 Moved the simple _text() API from HildonPickerButton to
7627 HildonTouchPicker, to provide better escalability and not to tie
7628 that API to HildonPickerButton.
7630 * examples/hildon-picker-button-example.c: (main): Example updated.
7632 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7634 * src/hildon-button.c: Updated documentation.
7636 * examples/hildon-button-example.c: Add the posibility to create
7637 the buttons using horizontal layout for title and value.
7639 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7641 * src/hildon-app-menu-private.h
7642 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7643 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7644 GtkSizeGroup for the filters, use the 'homogeneous' property of
7647 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7649 * examples/hildon-button-example.c: Updated example.
7651 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7653 * doc/hildon-docs.sgml:
7656 Update documentation.
7658 * examples/Makefile.am: Update renamed examples.
7660 * examples/hildon-picker-button-multicolumn-example.c:
7661 (create_touch_selector), (main): Update after the rename.
7663 * examples/hildon-touch-picker-example.c: Removed.
7664 * examples/hildon-touch-selector-example.c: (value_changed),
7665 (create_selector), (get_visible_content), (main): Renamed from
7666 hildon-touch-picker-example.c
7668 * src/Makefile.am: Updated renamed files.
7670 * src/hildon-date-button.c: (hildon_date_button_init),
7671 (hildon_date_button_get_date), (hildon_date_button_set_date):
7672 * src/hildon-date-selector.c: (hildon_date_selector_init),
7673 (_custom_print_func), (_update_day_model),
7674 (_manage_selector_change_cb),
7675 (hildon_date_selector_select_current_date),
7676 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7677 * src/hildon-date-selector.h:
7678 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7679 (hildon_picker_button_set_property),
7680 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7681 (hildon_picker_button_init), (hildon_picker_button_new_text),
7682 (hildon_picker_button_append_text),
7683 (hildon_picker_button_prepend_text),
7684 (hildon_picker_button_insert_text),
7685 (hildon_picker_button_set_selector),
7686 (hildon_picker_button_get_selector):
7687 * src/hildon-picker-button.h:
7688 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7689 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7690 (_update_title_on_selector_changed_cb), (requires_done_button),
7691 (_hildon_picker_dialog_set_selector),
7692 (hildon_picker_dialog_set_selector),
7693 (hildon_picker_dialog_get_selector):
7694 * src/hildon-picker-dialog.h:
7695 * src/hildon-time-button.c: (hildon_time_button_init),
7696 (hildon_time_button_get_time), (hildon_time_button_set_time):
7697 * src/hildon-time-selector.c: (hildon_time_selector_init),
7698 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7699 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7700 * src/hildon-time-selector.h:
7703 Massive code updates after the rename.
7705 * src/hildon-touch-picker.c: Removed.
7706 * src/hildon-touch-picker.h: Removed.
7708 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7709 (hildon_touch_selector_init), (hildon_touch_selector_map),
7710 (hildon_touch_selector_remove), (_default_print_func),
7711 (_selection_changed_cb), (_create_new_column),
7712 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7713 (hildon_touch_selector_append_text_column),
7714 (hildon_touch_selector_remove_column),
7715 (hildon_touch_selector_set_column_attributes),
7716 (hildon_touch_selector_insert_column),
7717 (hildon_touch_selector_get_num_columns),
7718 (hildon_touch_selector_get_column_selection_mode),
7719 (hildon_touch_selector_set_column_selection_mode),
7720 (hildon_touch_selector_set_print_func),
7721 (hildon_touch_selector_get_print_func),
7722 (hildon_touch_selector_get_active_iter),
7723 (hildon_touch_selector_set_active_iter),
7724 (hildon_touch_selector_get_selected_rows),
7725 (hildon_touch_selector_get_model),
7726 (hildon_touch_selector_set_model),
7727 (hildon_touch_selector_get_current_text),
7728 (_hildon_touch_selector_center_on_selected_items):
7729 * src/hildon-touch-selector.h: Renamed from
7730 hildon-touch-picker.[ch]
7732 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7733 references, code examples, and related documentation.
7735 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7737 * doc/hildon-docs.sgml
7740 * src/hildon-toggle-button.c
7741 * src/hildon-toggle-button.h
7742 * src/hildon.h: New HildonToggleButton widget.
7744 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7746 * src/hildon-button.c: Add API documentation.
7747 (hildon_button_set_size_groups): Check input parameters
7749 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7751 * src/hildon-pannable-area.c
7752 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7753 effect after reaching the movement thredshold. This way we start
7754 using the distance after passing the thredshold.
7756 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7758 * src/hildon-button.c: (hildon_button_set_property): Use the
7759 appropriate g_value_get_flags() method.
7761 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7763 * doc/hildon-docs.sgml:
7766 Add the touch pickers, picker dialogs, and picker button widgets
7767 to the documentation.
7769 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7771 * src/hildon-button.c: (hildon_button_set_property),
7772 (hildon_button_class_init): Make "arrangement-flags" a proper
7773 G_TYPE_FLAGS derived property.
7775 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7777 * examples/Makefile.am: Add below examples.
7778 * examples/hildon-date-button-example.c:
7779 * examples/hildon-picker-button-example.c:
7780 * examples/hildon-picker-button-multicolumn-example.c:
7781 * examples/hildon-time-button-example.c:
7782 * examples/hildon-touch-picker-example.c:
7784 Add examples for the recently added touch pickers,
7785 picker dialogs, and picker button widgets.
7787 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7789 * src/hildon-button.c: Add some API documentation
7791 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7793 * src/hildon-button.h
7794 * src/hildon-button.c
7796 (hildon_button_new_with_text): New constructor to create a button
7797 with no text at all.
7798 (hildon_button_init, hildon_button_set_arrangement)
7799 (hildon_button_set_title, hildon_button_set_value)
7800 (hildon_button_set_text)
7801 (hildon_button_construct_child): Hide the value when it's not used
7802 so the rest of the text is properly aligned.
7803 Allow creating buttons with arbitrary widgets inside (not just
7804 title/value labels).
7806 * examples/hildon-button-example.c (vertical_buttons_window)
7807 (horizontal_buttons_window): Update example to use new API.
7809 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7811 * src/Makefile.am: Added HildonTimeButton.
7812 * src/hildon-time-button.c: Added missing LGPL header.
7813 * src/hildon-time-button.h: Added missing LGPL header.
7814 * src/hildon.h: Add hildon-time-button.h
7816 Copied HildonTimeButton from sandbox to trunk. Future work on this
7817 widget must take place in trunk.
7819 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7821 * src/Makefile.am: Added HildonDateButton.
7822 * src/hildon-date-button.c: Update includes.
7823 * src/hildon.h: Add hildon-date-button.h
7825 Copied HildonDateButton from sandbox to trunk. Future work on this
7826 widget must take place in trunk.
7828 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7830 * src/Makefile.am: Added HildonPickerButton.
7831 * src/hildon-picker-button.h: Update includes.
7832 * src/hildon.h: Add hildon-picker-button.h
7834 Copied HildonPickerButton from sandbox to trunk. Future work on
7835 this widget must take place in trunk.
7837 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7839 * src/Makefile.am: Added HildonPickerDialog.
7840 * src/hildon-picker-dialog.c: Update includes.
7841 * src/hildon.h: Add hildon-picker-dialog.h
7843 Copied HildonPickerDialog from sandbox to trunk. Future work
7844 on this widget must take place in trunk.
7846 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7848 * src/Makefile.am: Added HildonTimeSelector.
7849 * src/hildon.h: Add hildon-time-selector.h
7851 Copied HildonTimeSelector widget from sandbox to trunk. Future
7852 work on this widget must happen in trunk.
7854 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7856 * src/Makefile.am: Added HildonDateSelector.
7857 * src/hildon.h: Add hildon-date-selector.h
7859 Copied HildonDateSelector widget from sandbox to trunk. Future
7860 work on this widget must happen in trunk.
7862 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7864 * src/Makefile.am: Added HildonTouchPicker.
7865 * src/hildon-touch-picker.c: Update includes.
7866 * src/hildon.h: Add hildon-touch-picker.h
7868 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7869 on this widget must happen in trunk.
7871 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7873 * src/hildon-pannable-area.c:
7874 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7876 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7878 * examples/hildon-app-menu-example.c (main): Let the window
7881 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7883 * src/hildon-pannable-area.c
7884 (hildon_pannable_area_class_init): Set the min value of the
7885 overshoot properties to zero, which points out that not
7886 overshooting allowed.
7888 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7890 Modified the procedure to get the widget at a point inside the
7891 pannable area when using the movement type signals. Now the user
7892 has to call a function to get the child, that way we just
7893 calculate the child in case the user really want to use it and not
7896 * src/hildon-marshalers.list: Modified the marshallers, now we do
7897 not have the widget as a parameter.
7899 * src/hildon-pannable-area.c
7900 (hildon_pannable_area_motion_notify_cb),
7901 (hildon_pannable_area_class_init),
7902 (hildon_pannable_get_child_widget_at): Removed the widget
7903 parameter from the signal callback. We have also refactored the
7904 emission of the signals.
7906 * src/hildon-pannable-area.h: Added a new method to the API to
7907 calculate a widget at a point inside the pannable area,
7908 hildon_pannable_get_child_widget_at.
7910 * examples/hildon-pannable-area-example-4.c
7911 (horizontal_movement): Modified the example to use the new API,
7912 added condition to control which widget is under the event. This
7913 way we can avoid scrolling laterally over other widgets.
7915 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7917 * src/hildon-pannable-area.c
7918 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7919 modes, we stop getting the pointer events due to returning the
7920 callback without properly calling the get pointer again. Fixed
7921 also an error using the hscroll and vscroll.
7923 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7925 * src/hildon-app-menu-private.h
7926 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7927 (hildon_app_menu_button_release, hildon_app_menu_init)
7928 (hildon_app_menu_class_init): Don't hide the menu on button
7929 release if the user didn't press outside first.
7931 * src/hildon-window.h
7932 * src/hildon-window.c (hildon_window_toggle_menu)
7933 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7934 hildon_window_toggle_menu a virtual function for the stackable
7935 window to override it.
7937 * src/hildon-stackable-window.h
7938 * src/hildon-stackable-window-private.h
7939 * src/hildon-stackable-window.c
7940 (hildon_stackable_window_realize)
7941 (hildon_stackable_window_finalize)
7942 (hildon_stackable_window_class_init)
7943 (hildon_stackable_window_init)
7944 (hildon_stackable_window_set_main_menu): New function to set the
7945 app menu of a HildonStackableWindow.
7947 * examples/hildon-app-menu-example.c: Remove the button to show
7948 the app menu, now it'll be shown when clicking on the title bar
7951 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7953 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7954 set the widget name if the arrangement flags do not specify
7957 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7959 * src/hildon-button.c: (hildon_button_set_property),
7960 (hildon_button_class_init), (hildon_button_new_full),
7961 (hildon_button_set_arrangement): Added "arrangement-flags"
7964 Make the HildonButtonFlags a construction-only property, to allow
7965 subclasses to set them properly.
7967 2008-07-21 Tim Janik <timj@imendio.com>
7969 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7970 insertion position after backspace, so additional digits are appended,
7973 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7975 * src/hildon-pannable-area.c,
7976 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7977 TODO list, it was complete and removed the g_debug and g_print
7980 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7982 Added the movement modes to the hildon-pannable-area, with this
7983 modes the developers can control in which directions the widget
7984 can scroll. They can also connect to signals in order to do
7985 something when that happens, allowing applications scroll. There
7986 is an example uploaded showing how to use it.
7988 * examples/Makefile.am:
7989 * examples/hildon-pannable-area-example-4.c: Added this example of
7990 an application using the modes.
7992 * src/hildon-marshalers.list: Added a new marshaller for the new
7995 * src/hildon-pannable-area.h: Added new enumerations and flags in
7996 order to control the movement modes and the new signals to warn
7997 about the movements in the area.
7999 * src/hildon-pannable-area.c:
8000 (hildon_pannable_axis_scroll),
8001 (hildon_pannable_area_scroll),
8002 (hildon_pannable_area_motion_notify_cb),
8003 (hildon_pannable_area_get_property),
8004 (hildon_pannable_area_set_property),
8005 (hildon_pannable_area_map),
8006 (hildon_pannable_area_class_init),
8007 (hildon_pannable_area_init),
8008 (hildon_pannable_area_jump_to): Added the modes to control the
8009 movement in the widget. We have added properties to control it,
8010 signals to warn about the movements and refactored some code.
8012 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8014 Changes required in order to allow vfast_factor set to zero to
8017 * src/hildon-pannable-area.c:
8018 (hildon_pannable_area_button_press_cb): Changed the condition, it
8019 is required for not allowing click when vfast_factor is zero.
8020 (hildon_pannable_area_timeout): Initialized velocity variables
8021 when we stop moving, it was less than 1 but not zero and we need
8022 to check zero in some situations.
8023 (hildon_pannable_area_class_init): Changed the default value of
8024 the speed factor, now the button_press is just sent in case the
8025 speed is 2 per cent of the max speed.
8026 (hildon_pannable_area_init): Initialization with 0.
8028 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8030 * src/hildon-pannable-area.c,
8031 (hildon_pannable_area_get_topmost): replaced
8032 gdk_window_get_children with gdk_window_peek_children, this way we
8033 do not have to free the list because it is not a copy.
8035 (hildon_pannable_axis_scroll),
8036 (hildon_pannable_area_scroll),
8037 (hildon_pannable_area_timeout),
8038 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8039 two parameters that were only used inside the
8040 hildon_pannable_area_scroll function.
8042 * examples/hildon-pannable-area-example.c,
8043 (get_sawtooth_label): Fixed small memory leak.
8045 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8047 More checks for the case where the overshoot is bigger than the
8050 * src/hildon-pannable-area.c:
8051 (hildon_pannable_draw_vscroll),
8052 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8053 to draw the slider of the scrollbar under the other scrollbar.
8054 (hildon_pannable_area_expose_event): added new checks to control
8055 the drawing of the overshooting area rectangle, in case it is too
8056 big for the area of the widget.
8057 (hildon_pannable_area_size_allocate): add more checks to avoid
8058 setting a position to the child widget outside the area.
8060 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8062 * src/hildon-pannable-area.c
8063 (hildon_pannable_area_size_allocate): Added conditions to control
8064 when overshooting is bigger than the allocated space for the
8065 children, this avoids negative allocations.
8067 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8069 * doc/hildon-docs.sgml
8071 * examples/Makefile.am
8072 * examples/hildon-button-example.c
8074 * src/hildon-button.c
8075 * src/hildon-button.h
8076 * src/hildon.h: Initial version of the new HildonButton widget,
8079 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8081 * src/hildon-pannable-area.c:
8082 (hildon_pannable_area_button_press_cb),
8083 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8084 (hildon_pannable_area_motion_notify_cb),
8085 (hildon_pannable_area_button_release_cb),
8086 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8087 (hildon_pannable_area_jump_to_child):
8089 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8091 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8093 * examples/Makefile.am
8094 * examples/hildon-pannable-area-touch-grid-example.c
8095 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8096 the Hildon Touch List and Hildon Touch Grid using the
8097 HildonPannableArea widget.
8099 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8101 * src/hildon-pannable-area.c,
8102 (hildon_pannable_area_button_press_cb),
8103 (hildon_pannable_area_refresh),
8104 (hildon_pannable_area_scroll),
8105 (hildon_pannable_area_motion_notify_cb),
8106 (hildon_pannable_area_button_release_cb),
8107 (hildon_pannable_area_expose_event),
8108 (hildon_pannable_area_add),
8109 (hildon_pannable_area_remove),
8110 (hildon_pannable_area_realize),
8111 (hildon_pannable_area_size_allocate),
8112 (hildon_pannable_area_class_init),
8113 (hildon_pannable_area_init),
8114 (hildon_pannable_area_scroll_to_child),
8115 (hildon_pannable_area_jump_to_child): Fixed the problem of
8116 removing the child from the GtkBin, we have rearranged the widget
8117 hierarchy, now there is no GtkAlignment which was not doing
8118 anything interesting but breaking some of the assumptions of
8119 GtkContainer. Now developers if they want to add a GtkAlignment
8120 they could, but it is not inside the area.
8122 We had to review the whole allocation/expose process, now it is
8123 improved and we save at least three signals which would be saving
8124 some time when rendering the widget. The allocation of the
8125 scrollbars is now made in the allocate method as usual.
8127 We have also added some conditions in order to control when there
8128 is no child of the pannable area. Maybe we will need more work
8131 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8133 * src/hildon-pannable-area.c,
8134 (hildon_pannable_area_dispose): Released the fade-out timeout when
8135 disposing the widget.
8137 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8139 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8140 zero, we are going to use that property in order to deactivate the
8142 (hildon_pannable_axis_scroll),
8143 (hildon_pannable_area_size_allocate): Added conditions to control
8144 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8145 call, now it is called in all situations and we can remove calls
8146 in the allocate method.
8147 (hildon_pannable_area_map): Control the situation when
8148 overshoot_max is zero, we do not need the timeout.
8149 (hildon_pannable_area_class_init): Added documentation in order to
8150 point out that setting zero to overshoot_max means deactivate
8153 NOTE: removed trailing whitespaces from my previous comments of
8156 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8158 * src/hildon-pannable-area.c
8159 (hildon_pannable_area_get_property),
8160 (hildon_pannable_area_set_property),
8161 (hildon_pannable_area_map),
8162 (hildon_pannable_area_class_init),
8163 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8164 to cause the widget give a hint about its panning abilities upon
8167 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8169 * src/hildon-pannable-area.c: Several documentation improvements.
8171 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8173 * src/hildon-program.c
8174 * src/hildon-stackable-window.c: Update documentation.
8176 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8178 * src/hildon-stackable-window.c (get_previous_window_if_last):
8179 Renamed get_last_window()
8180 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8181 (hildon_stackable_window_unset_program):
8183 (get_previous_window_if_last):
8184 Detect if the window hasn't been added to a HildonProgram.
8186 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8188 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8190 * src/hildon-pannable-area.c
8191 (hildon_pannable_area_button_press_cb),
8192 (hildon_pannable_axis_scroll),
8193 (hildon_pannable_area_scroll),
8194 (hildon_pannable_area_timeout),
8195 (hildon_pannable_calculate_vel_factor),
8196 (hildon_pannable_area_get_property),
8197 (hildon_pannable_area_set_property),
8198 (hildon_pannable_area_class_init),
8199 (hildon_pannable_area_init),
8200 (hildon_pannable_area_scroll_to),
8201 (hildon_pannable_area_jump_to),
8202 (hildon_pannable_area_scroll_to_child),
8203 (hildon_pannable_area_jump_to_child):
8204 * src/hildon-pannable-area.h: Added the new API functions:
8205 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8206 hildon_pannable_area_scroll_to_child,
8207 hildon_pannable_area_jump_to_child
8210 * examples/Makefile.am
8211 * examples/hildon-pannable-area-example-2.c
8212 * examples/hildon-pannable-area-example-3.c: Added these two new
8213 examples in order to test and show how the new APIs work.
8215 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8217 * examples/hildon-stackable-window-example.c (new_window):
8218 * src/Makefile.am (noinst_HEADERS):
8219 * src/hildon-program.c (hildon_program_go_to_root_window):
8220 * src/hildon-program.h:
8221 * src/hildon-stackable-window-private.h:
8222 * src/hildon-stackable-window.c:
8223 * src/hildon-stackable-window.h:
8224 Create hildon-stackable-window-private.h
8225 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8227 * examples/hildon-app-menu-example.c (create_menu):
8228 * examples/hildon-hvolumebar-insensitive-example.c (main):
8229 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8230 * examples/hildon-toolbar-seekbar-example.c (main):
8231 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8232 * src/hildon-banner.c (hildon_banner_set_property):
8233 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8234 Fix compilation warnings
8236 * src/hildon-window.c:
8239 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8241 * src/hildon-stackable-window.c
8242 (hildon_stackable_window_unset_program):
8243 Calculate correctly whether to show the previous window if the
8244 last one is removed from the stack.
8245 (hildon_stackable_window_go_to_root_window):
8246 Send delete events starting from the topmost window.
8247 Stop if one of the windows is not destroyed.
8249 (hildon_stackable_window_delete_event)
8250 (hildon_stackable_window_class_init):
8251 Ignore the delete event if the window is not the topmost one.
8253 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8255 * src/hildon-pannable-area.c
8256 (hildon_pannable_area_expose_event): Fixed a problem when
8257 selecting the background color of the scrollbars.
8259 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8261 * examples/hildon-stackable-window-example.c
8262 * src/hildon-stackable-window.c
8263 * src/hildon-stackable-window.h
8264 hildon_stackable_window_go_home() renamed to
8265 hildon_stackable_window_go_to_root_window()
8266 Send delete events to windows rather than closing them with
8267 gtk_widget_destroy()
8269 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8271 * src/hildon-pannable-area.c
8272 (hildon_pannable_area_button_release_cb): Fix overshooting in
8275 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8277 * src/hildon-pannable-area.c
8278 (hildon_pannable_area_init): Initially show the scroll indicators.
8279 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8281 Add initial effect showing the widget is pannable.
8283 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8285 * src/hildon-pannable-area.c
8286 (hildon_pannable_area_class_init)
8287 (hildon_pannable_area_set_property)
8288 (hildon_pannable_area_get_property)
8289 (hildon_pannable_area_button_press_cb):
8290 New 'velocity_fast_factor' property to decide which velocity is
8293 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8295 * src/hildon-pannable-area.c
8296 (hildon_pannable_draw_hscroll)
8297 (hildon_pannable_draw_vscroll):
8298 Use float variables to calculate the size of the scrollbars to
8299 avoid error propagation and resizing during scrolling.
8301 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8303 * src/hildon-pannable-area.c
8304 (hildon_pannable_draw_vscroll)
8305 (hildon_pannable_draw_hscroll):
8306 Define a minimum size for the scroll bars
8308 * src/hildon-stackable-window.c
8309 (hildon_stackable_window_go_home): Fix compilation warning
8310 (get_last_window): Minor optimizations
8311 (hildon_stackable_window_class_init): Fix initialization of
8314 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8316 * src/hildon-stackable-window.c: Fixed typos in doc
8318 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8320 * src/hildon-pannable-area.c
8321 (hildon_pannable_area_scroll):
8322 Calculate here whether we need to scroll instead of using the booleans
8323 that tell us whether to /draw/ the scrolling bars.
8325 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8327 * src/hildon-app-menu.h
8329 * src/hildon-app-menu.c
8330 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8331 multiple filter groups related code and API. Now we support only
8333 * examples/hildon-app-menu-example.c:
8335 Update to reflect API changes.
8337 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8339 * src/hildon-stackable-window.c
8340 (hildon_stackable_window_class_init):
8341 Add hildon_stackable_window_realize.
8342 (hildon_stackable_window_realize):
8343 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8344 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8345 to apply theming and behavior specific to HildonStackableWindow
8348 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8350 * src/hildon-note.c (hildon_note_button_release):
8351 Close information notes also when tapping on them
8353 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8355 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8356 ELASTICITY, refactor and review, fix some issues with drawing
8359 * src/hildon-pannable-area.c:
8360 (hildon_pannable_area_button_press_cb): removed the conditions to
8361 avoid clicks when overshooting. It is not required
8363 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8364 define. Refatored and reviewed the code, now we do not need to
8365 manage velocity in motion_notify.
8367 (hildon_pannable_area_motion_notify_cb): We have moved the code
8368 that controls the area_scroll to the axis_scroll function and get
8369 rid of duplicated code.
8371 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8373 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8375 (hildon_pannable_draw_vscroll),
8376 (hildon_pannable_draw_hscroll): Fixed the problems with the
8377 scrollbar drawing, now we do not use two surfaces, it is easier
8378 and saves resources.
8380 (hildon_pannable_area_get_property): Style modification.
8382 (hildon_pannable_area_class_init): Changed some default values.
8384 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8386 * src/hildon-stackable-window.c: Fix some typos in the
8389 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8391 * src/hildon-dialog.c:
8392 Change indentation style
8395 (hildon_note_button_release):
8396 Use root coordinates to check if the release event happened
8399 * src/hildon-app-menu.c
8400 (hildon_app_menu_button_release):
8401 Remove unnecessary check
8403 * examples/hildon-app-menu-example.c
8405 Add cast to fix warning
8407 * src/hildon-app-menu.c
8408 (hildon_app_menu_class_init):
8409 New inner-border style property.
8410 Set all default spacings to 16
8411 (hildon_app_menu_init):
8412 Use vertical-spacing to set the space between filter buttons and
8413 regular menu buttons.
8414 Set the default container border using the inner-border value.
8416 * examples/hildon-app-menu-example.c
8418 Don't set the menu border explicitly, now we have the inner-border
8419 style property for that.
8421 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8423 * src/hildon-app-menu.c (hildon_app_menu_init):
8424 Make the window modal
8426 * src/hildon-note.c (hildon_note_map)
8427 * src/hildon-app-menu.c (hildon_app_menu_map):
8428 Destroy the grab window if we're unable to grab the pointer
8430 * src/hildon-app-menu-private.h
8431 * src/hildon-app-menu.c
8432 (hildon_app_menu_init, hildon_app_menu_finalize)
8433 (hildon_app_menu_map, hildon_app_menu_unmap)
8434 (hildon_app_menu_button_release)
8435 (grab_transfer_window_get):
8436 Bring back the grab window
8437 (hildon_app_menu_realize):
8438 Decorate the window, set WM hint for Matchbox
8440 * src/hildon-note.c (hildon_note_realize):
8441 * src/hildon-banner.c (hildon_banner_realize):
8442 Add WM hints for Matchbox
8444 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8446 * src/hildon-app-menu-private.h
8447 * src/hildon-app-menu.c
8448 (hildon_app_menu_init, hildon_app_menu_finalize)
8449 (hildon_app_menu_map, hildon_app_menu_unmap)
8450 (hildon_app_menu_button_release):
8451 Remove the grab window, it's not needed anymore
8453 * src/hildon-program.c
8454 Fixed typo in documentation
8456 * src/hildon-app-menu.h
8457 * src/hildon-app-menu.c
8458 * examples/hildon-app-menu-example.c
8459 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8461 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8464 Added new transfer_window and close_if_pressed_outside private
8466 (hildon_note_rebuild):
8467 Don't add a cancel button to the information note. It will be
8468 closed when tapping outside
8469 Remove the comment about the OK button in the documentation
8470 (hildon_note_realize):
8471 Set the notification type hint
8472 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8473 Grab/ungrab pointer and keyboard if the note has to be closed when
8475 (hildon_note_button_release):
8476 Close the note when tapping outside (if applicable)
8478 * src/hildon-app-menu.c
8479 Grab/ungrab pointer and keyboard on map/unmap
8480 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8481 Close the menu on button release, not button press
8483 * src/hildon-banner.c
8484 (hildon_banner_set_property)
8485 (hildon_banner_check_position):
8486 Make the banner use the full width of the screen
8487 (hildon_banner_show_information)
8488 (hildon_banner_show_information_with_markup):
8489 Don't display an icon by default
8491 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8493 Added fading scrollbars and adapted all the overshooting code to
8494 horizontal scrolling. We have also fixed bugs with overshooting
8495 and current fading implementation.
8497 * src/hildon-pannable-area.c
8498 (hildon_pannable_area_scroll_indicator_fade): Time out function
8499 used to change the transparency of the scrollbars.
8501 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8502 control and fixed a problem with fading, we now remove the fade
8503 timeout before adding a new one.
8505 (hildon_pannable_axis_scroll):
8506 (hildon_pannable_area_scroll):
8507 (hildon_pannable_area_timeout): Added this functions so we can use
8508 the scroll code both for vertical and horizontal.
8510 (hildon_pannable_area_motion_notify_cb):
8511 (hildon_pannable_area_button_release_cb): Added the horizontal
8512 scrolling control, fixed a problem with the overshooting timeout.
8514 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8515 painting of the scrolls.
8517 (hildon_pannable_draw_vscroll):
8518 (hildon_pannable_draw_hscroll):
8519 (hildon_pannable_area_expose_event):
8520 Draw both scrollbars and rectangles in the overshooting area.
8522 (hildon_pannable_area_get_property):
8523 (hildon_pannable_area_set_property):
8524 Modified the overshoot property to overshoot_max
8526 (hildon_pannable_area_map):
8527 Replaced the comments symbols.
8529 (hildon_pannable_area_size_allocate):
8530 (hildon_pannable_area_class_init):
8531 (hildon_pannable_area_init): Added horizontal scroll, fading
8532 effect properties, fixed a problem when overshooting in the bottom
8535 * examples/hildon-pannable-area-example.c:
8536 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8537 looks better in the example.
8539 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8541 * src/hildon-window.c
8542 * src/hildon-window.h
8543 (hildon_window_class_init)
8544 (hildon_window_unset_program)
8545 (hildon_window_unset_program_real):
8546 Make unset_program a virtual function
8548 * src/hildon-stackable-window.c
8549 * src/hildon-stackable-window.h
8550 Added hildon_stackable_window_go_home()
8552 * examples/Makefile.am
8553 * examples/hildon-stackable-window-example.c
8554 HildonStackableWindow example
8556 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8558 * hildon-pannable-area.c: Added the overshoot property and removed
8559 the OVERSHOOT define. Fixed an indent style error.
8560 (hildon_pannable_area_motion_notify_cb):
8561 (hildon_pannable_area_get_property):
8562 (hildon_pannable_area_set_property): Add overshoot property.
8564 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8567 (hildon_pannable_area_class_init): Installed the new property.
8569 * hildon-pannable-area-example.c: Added a sawtooth function, this
8570 way it is easier to check the movement in the pannable.
8571 (get_sawtooth_label): Added this function.
8572 (main): Now we get the labels from the new get_sawtooth_label
8575 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8577 * src/hildon-app-menu.h
8578 * src/hildon-app-menu.c
8579 Renamed API variables for consistency
8581 (hildon_app_menu_popup): Use also the default window size to
8582 decide where to place the menu
8584 (hildon_app_menu_init, hildon_app_menu_class_init): New
8585 external-border style property
8587 2008-05-26 Michael Natterer <mitch@imendio.com>
8589 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8590 widget_class->tap_and_hold_setup signal slot doesn't exist any
8591 longer, stop overriding it.
8593 (hildon_time_editor_init): g_signal_connect() to the
8594 tap-and-hold-setup signal instead.
8596 (hildon_time_editor_entry_keypress): add cast to fix warning.
8598 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8600 * doc/hildon-docs.sgml
8602 * examples/Makefile.am
8603 * examples/hildon-app-menu-example.c
8605 * src/hildon-app-menu-private.h
8606 * src/hildon-app-menu.c
8607 * src/hildon-app-menu.h
8609 New HildonAppMenu widget
8611 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8613 Rearranged the inheritance of the pannable area, now it inherits
8614 from GtkBin. This will allow us to control the event_window and
8615 the allocation process of the widget, required for some effects.
8617 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8618 GtkBin structures. * src/hildon-pannable-area.c: Added the
8619 event_window variable.
8620 (hildon_pannable_area_button_press_cb):
8621 (hildon_pannable_area_button_release_cb):
8622 (hildon_pannable_area_motion_notify_cb):
8623 Changed the signature of the method, now we override the event
8624 callback instead of connecting to the signal.
8626 (hildon_pannable_area_realize):
8627 (hildon_pannable_area_unrealize):
8628 (hildon_pannable_area_map):
8629 (hildon_pannable_area_unmap):
8630 (hildon_pannable_area_size_allocate):
8631 Added functions to control the widget construction. We add a
8632 INPUT_ONLY window and we put it over the widgets inside the
8633 container, this event_window handles the events.
8635 (hildon_pannable_area_class_init):
8636 Replaced the signal connections with overrides of the event
8639 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8641 Bouncing effect added when touching the borders, you can change
8642 the elasticity of the border changing the ELASTICITY define.
8644 * src/hildon-pannable-area.c: Added ELASTICITY define.
8645 (hildon_pannable_area_timeout): Added inverse velocity when
8646 touching the border of the child widget, that causes a bounce.
8648 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8650 Improved performance, we now do not go to the X server in order to
8651 get the list of window children. Apparently the effect is the
8652 same, we have to be careful and check if this breaks something in
8655 * src/hildon-pannable-area.c:
8656 (get_ordered_children): Removed this function.
8657 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8658 the children windows function with gdk_window_get_children.
8660 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8662 * src/hildon-pannable-area.c:
8663 (hildon_pannable_area_dispose): Fixed a crash when closing the
8664 window and kinetics is activated.
8666 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8668 * src/hildon-pannable-area.h
8669 * src/hildon-pannable-area.c
8670 Changed indentation style to meet the one used in Hildon
8672 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8674 Reviewed the interaction of the AUTO mode, now we use the time
8675 attribute of the events and calculate the velocity in the motion,
8676 doing a gimp like calculation. The velocity is calculated in each
8677 motion event using the last velocity and the current one, the
8678 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8680 * src/hildon-pannable-area.c: Replaced the time based algorithm
8682 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8683 timeout for the AUTO mode when we are still moving the cursor. We
8684 added also the velocity calculation in this function.
8685 (hildon_pannable_area_button_release_cb): launch the timeout in
8686 case we are in AUTO mode. There are still some constants here that
8687 come from the old implementation that should be reviewed and
8690 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8692 * doc/hildon-docs.sgml
8695 * src/hildon-stackable-window.c
8696 * src/hildon-stackable-window.h
8698 New HildonStackableWindow widget
8700 * examples/hildon-dialog-example.c
8701 * examples/hildon-pannable-area-example.c
8704 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8706 * src/hildon-dialog.c
8707 (hildon_dialog_new_with_buttons): New constructor.
8709 * examples/hildon-dialog-example.c
8710 (main): Update the example to use the new
8711 hildon_dialog_new_with_buttons().
8713 * examples/hildon-pannable-area-example.c
8714 (main): Update example.
8716 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8718 * doc/hildon-docs.sgml
8720 Added HildonPannableArea to the documentation.
8722 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8724 * doc/visual_index.xml
8725 Fix reference to HildonLoginDialog in documentation
8727 * doc/hildon-docs.sgml
8729 * examples/Makefile.am
8730 * examples/hildon-dialog-example.c
8732 * src/hildon-dialog.c
8733 * src/hildon-dialog.h
8735 New HildonDialog widget.
8737 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8739 * src/hildon-pannable-area.c
8740 Merge latest changes (r4318, r4342) from libmokoui trunk
8742 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8744 * examples/Makefile.am
8745 * examples/hildon-pannable-area-example.c
8747 * src/hildon-pannable-area.c
8748 * src/hildon-pannable-area.h
8750 New HildonPannableArea widget.
8752 2008-04-15 18:05:19 <timj@imendio.com>
8754 * src/hildon-banner.c: revert the recent change, that introduced
8755 gtk_window_present() calls. this reopens:
8756 Bug 78481 - [freetest] information banners are hidden under browser menu
8757 But resolves another variant of:
8758 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8760 2008-04-15 13:21:13 <timj@imendio.com>
8762 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8763 recreated its layout, spotted by Kris. this fixes all remaining
8764 artefacts and stability issues with the banner code. in particular:
8765 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8767 2008-04-14 16:52:59 <timj@imendio.com>
8769 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8770 operating on unrealized widgets, fixes:
8771 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8773 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8775 2008-04-09 Kristian Rietveld <kris@imendio.com>
8777 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8778 makes banner disappear.
8779 Fixes: NB#79182: info banner flickering with certain message lengts.
8781 * src/hildon-banner.c (hildon_banner_constructor),
8782 (hildon_banner_init), (hildon_banner_set_text),
8783 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8784 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8785 FALSE, reset size requests of label and banner,
8786 (force_to_wrap_truncated): when the text is too wide, always enforce
8787 the maximum possible width instead of recalculating it from the
8788 layout; enforce the maximum banner height of 3 lines,
8789 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8790 nicer wrapping and no truncated chars if space gets tight.
8792 * src/hildon-banner-private.h: add has_been_wrapped and
8793 has_been_truncated fields.
8795 2008-04-07 Sven Herzberg <sven@imendio.com>
8797 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8798 local values in hildon_date_editor_size_allocate
8800 * src/hildon-date-editor.c: moved the real allocation code into the
8803 2008-04-07 Sven Herzberg <sven@imendio.com>
8805 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8806 local values in hildon_date_editor_size_allocate
8808 * src/hildon-date-editor.c: merged the two if() branches together
8810 2008-04-07 Sven Herzberg <sven@imendio.com>
8812 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8813 local values in hildon_date_editor_size_allocate
8815 * src/hildon-date-editor.c: changed the arguments of the if()
8818 2008-04-07 Sven Herzberg <sven@imendio.com>
8820 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8821 local values in hildon_date_editor_size_allocate
8823 * src/hildon-date-editor.c: split the calculation of the allocation
8824 from the real allocation
8826 2008-03-27 Michael Natterer <mitch@imendio.com>
8828 Fixes: NB#81696: The passcode is not overwritten even after
8831 * src/hildon-code-dialog.c
8832 (hildon_code_dialog_button_clicked)
8833 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8834 because that doesn't overwrite selected text. Instead, emit the
8835 "commit" signal on the entry's im_context so the entry's normal
8836 insert logic is triggered. Set the cursor to the end of the entry
8837 after each insert operation so that we *only* insert in the middle
8838 of the text if something was selected.
8840 2008-03-27 Michael Natterer <mitch@imendio.com>
8842 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8843 selector cannot be opened
8845 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8846 when the popup color selector is created. Please connect to this
8847 signal in order to set the dialog's help ID.
8849 2008-03-25 Sven Herzberg <sven@imendio.com>
8851 Fixes: MB#1212: Hide info banners (infoprints) on click
8853 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8854 extracted the close event simulation into an extra function
8855 (hildon_banner_button_press_event): simulate a close event and destroy
8856 the widget if the event wasn't handled
8857 (hildon_banner_class_init): added the button_press_event handler
8858 (hildon_banner_init): added button-press events to the widget
8860 2008-03-25 Sven Herzberg <sven@imendio.com>
8862 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8863 Patch from: Mohammad Anwari <mdamt@maemo.org>
8865 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8866 instead of the right in RTL mode
8867 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8868 breadcrumb button list in RTL mode
8869 * src/hildon-caption.c: mirror the appearance of the caption widget in
8871 * src/hildon-date-editor.c: mirror appearance of the date editor in
8873 * src/hildon-time-editor.c: mirror appearance of the time editor in
8875 * src/hildon-window.c: fix the position of the popup in RTL mode
8877 2008-03-25 Sven Herzberg <sven@imendio.com>
8879 Amendment to the fix of NB#22072. Fix compilation.
8881 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8883 2008-03-19 Sven Herzberg <sven@imendio.com>
8885 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8888 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8889 timeout id properly when the timeout will disappear this leaves no
8890 artifacts around in the destroy(); there will only be the timeout
8891 created by hildon_banner_ensure_timeout() and adding a new timeout
8892 will also work if the timeout gets removed because the timeout_handler
8895 2008-03-19 Michael Natterer <mitch@imendio.com>
8897 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8899 * src/hildon-volumebar.c
8900 * src/hildon-vvolumebar.c
8901 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8902 the widget becomes focussable at all.
8904 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8905 set the focus to wither the mute button or the volumebar.
8907 Remove own "can-focus" property and instead listen to
8908 notify::can-focus in order to update the widget's state.
8910 Implement GtkWidget::focus() and make sure we can also *leave* the
8911 widget, not only enter it, depending on volumebar orientation and
8912 requested focus direction.
8914 Clean up set_mute() to cooperate nicely with all the above.
8916 2008-03-04 Michael Natterer <mitch@imendio.com>
8918 Fixes: NB#78481: information banners are hidden under browser menu
8920 * src/hildon-banner.c: call gtk_window_present() on the banners so
8921 they are risen if they are already visible.
8923 2008-03-03 Sven Herzberg <sven@imendio.com>
8925 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8927 * examples/hildon-window-menu-example.c: (main): extended the window
8928 menu example to serve as a testcase for automatically added
8929 accelerator groups, too
8930 * src/hildon-window.c: (hildon_window_add_accel_group),
8931 (hildon_window_set_menu): added patch by Tommi Komulainen
8933 2008-03-03 Sven Herzberg <sven@imendio.com>
8935 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8937 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8938 knowledge about the border allocators used within GTK+
8940 2008-02-26 Sven Herzberg <sven@imendio.com>
8942 Fixes: MB#2981: Build with asserts broken
8944 * src/hildon-date-editor.c,
8945 * src/hildon-number-editor.c,
8946 * src/hildon-time-editor.c,
8947 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8948 the proper GType instance check
8950 2008-02-25 Sven Herzberg <sven@imendio.com>
8952 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8954 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8955 * examples/hildon-window-menu-example.c: (main): explicitly show
8957 * src/hildon-window.c:
8958 (hildon_window_set_main_menu): moved most of the code from set_menu()
8959 to this place; skipped the call to gtk_widget_show_all(); also didn't
8960 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8961 (hildon_window_set_menu): removed most of the code, just keep the
8962 questionable gtk_widget_show_all()
8963 * src/hildon-window.h: added the new function and deprecate the old
8966 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8972 * debian/changelog: Updating.
8974 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8977 * pkgconfig/Makefile.am:
8978 * pkgconfig/hildon.pc.in:
8981 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8982 use newly created API_MAJOR_VERSION.
8984 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8990 * debian/changelog: Updating.
8992 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8994 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8996 Add outer_border style property, we use it but don't define it (!).
9000 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
9002 * examples/hildon-bread-crumb-trail-example.c (main):
9006 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
9008 Fix logic for the bread crumb trail node removal.
9012 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9018 * debian/changelog: Updating.
9020 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9022 Patch by Alejandro to get/set passwords dialogs accesibility.
9024 * hildon-1/src/hildon-get-password-dialog.c:
9025 * hildon-1/src/hildon-set-password-dialog.c:
9026 Set atk_set_name to the passwd entries in order to allow
9027 accessibility by name on this entries.
9029 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * debian/control: Updating gtk dep.
9036 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9038 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9039 USE_MAEMO_GTK is enabled.
9041 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9043 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9044 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9046 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * debian/changelog: Updating.
9054 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * examples/Makefile.am:
9057 * examples/hildon-logical-color-example.c:
9058 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9059 applied + adding a test case. Fixes: NB#71660.
9061 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9063 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9064 to be visible, fixes warning on map for windows without toolbars.
9066 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9068 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9069 2.11.0, add a check for that besides the MAEMO_GTK check.
9071 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9077 * debian/changelog: Updating.
9079 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9082 visibility. Fixes: NB#70842 and MB#615.
9084 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9086 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9087 set the separator as no-show-all so it doesn't unintentionally appear when
9088 someone does a show_all.
9090 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9092 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9093 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9094 toplevel item. Fixes: NB#62031
9096 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9098 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9099 fix the name of the function in the docs.
9101 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9107 * debian/changelog: Updating.
9109 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9111 * examples/hildon-banner-long-example.c: Adding a test-case for long
9114 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9116 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * src/hildon-color-chooser-dialog.c:
9119 * src/hildon-color-chooser.c:
9120 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9121 memory leaks in font selector and color selector. Fixes: NB#70499 and
9124 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9126 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9128 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9130 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9131 little bit bigger. Fixes: #NB63694.
9133 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9139 * debian/changelog: Updating.
9141 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * doc/hildon-docs.sgml:
9145 * doc/images/bread-crumb-trail.png:
9146 * doc/images/calendar-popup.png:
9147 * doc/images/caption.png:
9148 * doc/images/code-dialog.png:
9149 * doc/images/color-button.png:
9150 * doc/images/color-chooser-dialog.png:
9151 * doc/images/color-chooser.png:
9152 * doc/images/controlbar.png:
9153 * doc/images/date-editor.png:
9154 * doc/images/font-selection-dialog.png:
9155 * doc/images/get-password-dialog.png:
9156 * doc/images/hvolumebar.png:
9157 * doc/images/login-dialog.png:
9158 * doc/images/note.png:
9159 * doc/images/number-editor.png:
9160 * doc/images/range-editor.png:
9161 * doc/images/seekbar.png:
9162 * doc/images/set-password-dialog.png:
9163 * doc/images/sort-dialog.png:
9164 * doc/images/time-editor.png:
9165 * doc/images/time-picker.png:
9166 * doc/images/vvolumebar.png:
9167 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9168 Adding the bread-crumb-trial and helpers to the documentation.
9170 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9172 * examples/hildon-find-toolbar-example.c:
9173 * src/hildon-find-toolbar.c:
9174 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9175 actually continue firing the other handlers if connected. Adding a new
9177 hildon_find_toolbar_get_last_index that gets the index of the most
9178 recently added (last) item. Fixes: NB#52301.
9180 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9183 behaviour. Fixes: NB#68610.
9185 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9187 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9190 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9192 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9193 when realizing the banner. Should make the infonbanner effect a bit more
9196 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9198 * src/hildon-volumebar.c:
9199 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9200 hildon_volumebar_set_range_insensitive_message and
9201 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9203 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * src/hildon-window.c: Fixing the border freeing on destroy.
9207 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9209 * src/hildon-code-dialog-private.h:
9210 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9211 kw keyboard support in HildonCodeDialog.
9213 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * debian/changelog: Updating.
9221 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * src/hildon-date-editor.c:
9224 * src/hildon-number-editor.c:
9225 * src/hildon-private.c:
9226 * src/hildon-private.h:
9227 * src/hildon-time-editor.c:
9228 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9229 handling in subclassed composite widgets. Fixes: NB#66628.
9231 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9233 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9234 from destroy_ callback as it introduces problems in async dbus signal
9235 handlers. Fixes NB#66673.
9237 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9239 * examples/hildon-hvolumebar-example.c:
9240 * src/hildon-volumebar.c: Improving the focus handling in the
9241 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9242 set_property accessor so that "mute" property can be actually set. I'm
9243 scared that nobody noticed it's totally broken.
9245 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9247 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9250 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9252 * src/hildon-calendar.c:
9253 * src/hildon-number-editor.c:
9254 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9255 matches the spec of 6 chars per second. Fixes: NB#60489.
9257 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9259 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9260 gtk_style_lookup_color sometime returns FALSE even though color was
9261 found and values were filled properly. Weird. Removing the warning for the
9264 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9266 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9267 expand vertically. Adding some extra space to the find toolbar buttons to
9268 make them thumbable. Fixes NB#66060.
9270 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9272 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9273 popup with "Ok" and "Cancel". Fixes NB#59299.
9275 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9277 * src/hildon-calendar.c: Process all window updates before executing next
9278 timeout. Fixes: NB#54146.
9280 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9286 * debian/changelog: Updating.
9288 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9290 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9291 the client event and ignore it, since we use the delete event to close
9294 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9296 * src/hildon-helper.c: Remove the bogus warning about color not being
9297 found. Fixes NB#58352.
9299 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9301 * examples/Makefile.am:
9302 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9303 HildonSeekbar widget inside a toolbar.
9305 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9307 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9308 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9309 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9310 don't want to be closed by non-temporary windows on map.
9312 Also use G_DEFINE_TYPE instead of manually typed code.
9314 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9321 * debian/rules: Updating.
9323 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9325 * examples/Makefile.am:
9326 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9327 bug NB#61128. Strangely it works.
9329 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9331 * src/hildon-date-editor.c: When the date editor entry has been changed
9332 but the numbers of characters < max, turn off the skip validation flag.
9333 Prevents a situation when we enter first a valid year and later re-write
9334 it with an invalid one. Fixes NB#60154.
9336 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9338 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9339 code dialog. Fixes NB#64355.
9341 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9343 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9344 switching the page. Fixes NB#49374.
9346 * examples/Makefile.am:
9347 * examples/hildon-wizard-dialog-example.c: Adding an example for
9348 HildonWizardDialog that shows how to handle manual sensitivity setting on
9351 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9355 * src/hildon-version.h.in:
9356 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9358 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9360 * src/hildon-volumebar.c: Updating the docs.
9362 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9368 * debian/changelog: Updating.
9370 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9372 * src/hildon-find-toolbar.c:
9373 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9374 selected item: hildon_find_toolbar_set_active,
9375 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9376 hildon_find_toolbar_get_active_iter . They correspond to respective
9377 GtkComboBox functions.
9379 * examples/Makefile.am:
9380 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9383 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9385 * examples/Makefile.am:
9386 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9389 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9390 when font size > 32 and we pack a focusable widget inside. Actually using
9391 the default response would work too, but since we don't show default
9392 response state in any way (no theming) it would not be visible to the
9393 user. Fixes NB#63430.
9395 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9397 * src/hildon-date-editor.c: Adding the missing variable setter in the
9398 set_property handler. Fixes NB#54182.
9400 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9402 * src/hildon-window.h: Changing the long key press time from 1500ms to
9403 800ms as requested in NB#63700. I have a bad feeling about this, let's
9404 see... Fixes NB#63700.
9406 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9408 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9409 hildon_time_picker_map, hildon_time_picker_realize,
9410 hildon_time_picker_style_set): Split the contents of map to more
9411 appropriate functions; set window decorations on realize and update
9412 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9414 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9419 * debian/changelog: Updating.
9421 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9423 * src/Makefile.am: fixed installation of the header files
9425 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9431 * debian/changelog: Updating.
9433 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9435 * configure.ac: Removing some remaining of --enable-xan.
9437 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9439 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9440 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9442 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9443 2.10.12-osso6 because the move-focus signal needs to be available in
9446 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9448 * examples/Makefile.am:
9449 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9450 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9451 fine. Prolly NB#61128 is fixed now.
9453 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9455 * src/hildon-volumebar.c:
9456 * src/hildon-volumebar.h: Adding the
9457 hildon_volumebar_set_range_insensitive_message and
9458 hildon_volumebar_set_range_insensitive_messagef functions to set
9459 insensitive message on the slider of the volumebar. Fixes NB#61129.
9461 * examples/Makefile.am:
9462 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9463 test the new insensitive messsage functionality on HildonVolumebar.
9465 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9467 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9470 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9472 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9473 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9474 button on after clearing the trail.
9476 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9478 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9480 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9482 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9483 by splitting the installed headers in generated and non-generated groups. Use
9484 only the non-generated headers to create the hildon-enum-types.h file.
9486 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9488 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9490 * src/hildon-window.c: Hide the window before performing the destroy.
9491 Should make the app closing a little tiny bit more snappy.
9493 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9495 * src/hildon-seekbar.c: add gtkrange.h header
9496 * src/hildon-caption.c: remove unused variable
9498 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9500 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9503 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9509 * debian/changelog: Updating.
9511 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9513 * src/hildon-window.c (hildon_window_window_state_event,
9514 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9515 escape timeout on focus-out-event rather than notify::is-topmost; the
9516 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9518 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9520 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9521 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9523 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9525 * src/hildon-window: actually, you need to use the macro always, there's
9526 no private pointer in the instance structure. We should have cleaned this up
9527 when we had the chance...
9529 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9531 * src/hildon-window.c: do not get the private date from HildonWindow before
9532 it passes the g_return_if_fail check. Once it's passed the test, there's no
9533 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9534 if you are only going to access the data once. Whitespace cleanups.
9536 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9538 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9539 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9541 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9547 * debian/changelog: Updating.
9549 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9551 * src/hildon-window.c: When destroying the window, remove (if exists) the
9552 escape timeout handler. Fixes #NB59276.
9554 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9556 * src/hildon-banner.c: When realizing the widget, set the window
9557 transiency. Setting the transiency in the gobject constructor is not
9558 good, as the widget is not realized at that point. Fixes: #NB56624.
9560 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9562 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9563 Add padding for future expansions.
9565 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9567 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9568 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9569 will fake an activation on the previous to the last item of the trail, so
9570 the effect can be overrided by the developer as usual.
9571 Also change the callback for the back button to do the same thing, so its
9572 effect can be overrided too. Fixes: NB#58982
9574 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9576 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9577 HildonCaption. Fixes NB#52379.
9579 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9581 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9582 the internal state of the trail after the user has had the chance of executing
9583 his handler for the signal. Specifically, it may happen that the activated button
9584 is removed and the user still lets the default handler run. This would segfault
9587 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9589 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9590 scrollbar to the preview dialog. Fixes NB#54147.
9592 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9594 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9595 max/min year properties can be altered, so the client can modify it
9596 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9598 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9600 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9601 hildonlike by default. Fixing a problem with disappearing arrows when
9602 scrolling through months and years. Fixes NB#54127.
9604 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9606 * examples/hildon-date-editor-example.c: Adding error callback to the date
9609 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9615 * configure.ac: Updating.
9617 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9619 * configure.ac: Adding a special '--enable-xan' configure option that
9620 turns off the -Werror compilation setting. Usefull for development.
9622 * src/hildon-calendar.c:
9623 * src/hildon-number-editor.c:
9624 * src/hildon-time-picker.c: Adding the 5* multiplier to
9627 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9629 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9630 instead of g_object_ref + gtk_object_sink.
9632 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9638 * debian/changelog: Updating.
9640 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9642 * src/hildon-color-chooser-dialog.c:
9643 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9644 straight from Tommi labs.
9646 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9648 * examples/hildon-finger-example.c: Correcting the header file path.
9650 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9651 the changed signal. Fixes a small memory leak.
9653 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9657 * src/hildon-banner.c: Importing several usefull fixes from the
9658 ubuntu-mobile branch.
9660 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9662 * examples/Makefile.am:
9663 * examples/hildon-finger-example.c: Adding a finger-checking code
9666 * src/hildon-font-selection-dialog.c: Do not allocate the color
9667 structure using the g_new. Fixes NB#54061.
9669 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9671 * src/hildon-helper.c: Correcting tabs in file.
9673 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9675 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9676 control the visibility of the children.
9678 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9680 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9686 * debian/changelog: Updating.
9688 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9690 * src/hildon-bread-crumb-trail.c:
9691 (hildon_bread_crumb_trail_size_allocate):
9693 Make the back button always a square.
9695 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9697 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9698 from the .c file as it's a private file.
9700 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9702 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9703 uses slightly bigger height.
9705 * src/hildon-font-selection-dialog.c: Adding some checks before
9706 freeing memory in the font selection dialog.
9708 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9710 * src/hildon-font-selection-dialog.c: Adding a small check when
9713 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9714 buttons sensitivity on page switching.
9716 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9718 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9719 internal details of adding a bread crumb to the trail.
9721 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9727 * debian/changelog: Updating.
9729 * src/hildon-bread-crumb-trail.h:
9730 * src/hildon-bread-crumb.h: Changing the API guard to
9731 HILDON_ENABLE_UNSTABLE_API.
9733 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9741 * src/hildon-helper.h: Updating.
9743 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9751 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9755 * src/hildon-helper.h: Small fix to make the package actually compile.
9757 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9759 * src/hildon-bread-crumb-trail.h:
9760 * src/hildon-bread-crumb.h:
9762 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9763 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9765 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9767 * examples/hildon-bread-crumb-trail-example.c:
9769 * src/hildon-bread-crumb-trail.c:
9770 * src/hildon-bread-crumb-trail.h:
9771 * src/hildon-bread-crumb.c:
9772 * src/hildon-bread-crumb.h:
9773 * src/hildon-marshalers.list:
9774 * src/hildon-bread-crumb-widget.c:
9775 * src/hildon-bread-crumb-widget.h:
9777 Slight change in the widget design. The bread crumb trail API is
9778 unchanged, but HildonBreadCrumb is now an interface. A *private*
9779 implementation, hildon-bread-crumb-widget, is provided and used
9780 internally by the trail for the push_text/push_icon functions.
9782 The generic push API is still available, so anyone can implement
9783 and use its own bread crumb widget.
9785 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9787 * debian/rules: Fixing the shlibs.
9789 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9791 * src/hildon-banner.c: Fixing a problem with timed banners having
9792 their parrent destroyed before they are.
9794 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9796 * src/hildon-bread-crumb.c:
9797 * src/hildon-bread-crumb.h:
9799 Make the get_natural_size function a vfunc.
9801 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9803 * src/hildon-bread-crumb.c:
9804 * src/hildon-bread-crumb-trail.c:
9808 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9815 * debian/changelog: Updating for release.
9817 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9819 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9820 don't leak the pango layout.
9822 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9825 * examples/hildon-bread-crumb-trail-example.c:
9829 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9831 * debian/changelog: Removing the bug-fixed entries that were actually
9832 resolved as WONTFIX.
9834 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9837 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9839 * src/hildon-bread-crumb-trail.c:
9840 * src/hildon-bread-crumb-trail.h:
9841 * src/hildon-bread-crumb.c:
9842 * src/hildon-bread-crumb.h:
9846 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9848 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9849 until it's passed the type check.
9851 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9853 * examples/hildon-bread-crumb-trail-example.c
9857 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9859 * examples/Makefile.am
9860 * examples/hildon-bread-crumb-trail-example.c
9862 * src/hildon-bread-crumb-trail.c
9863 * src/hildon-bread-crumb-trail.h
9864 * src/hildon-bread-crumb.c
9865 * src/hildon-bread-crumb.h
9867 New HildonBreadCrumbTrail widget.
9869 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9871 * src/hildon-range-editor.c (hildon_range_editor_init),
9872 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9873 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9874 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9875 hildon_time_editor_class_init, hildon_time_editor_init),
9876 src/hildon-get-password-dialog.c (invalid_input,
9877 hildon_get_password_set_property, hildon_get_password_get_property,
9878 create_contents, hildon_get_password_dialog_set_max_characters),
9879 src/hildon-set-password-dialog.c (create_contents),
9880 src/hildon-date-editor.c (hildon_date_editor_init),
9881 src/hildon-login-dialog.c (hildon_login_dialog_init),
9882 src/hildon-number-editor.c (hildon_number_editor_init),
9883 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9884 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9885 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9886 configure option and adding the respective checks in the code.
9887 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9888 hildon_calendar_drag_data_received): fixed some build warnings.
9890 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9892 * debian/changelog: A 1.0.0 release notes.