1 2009-09-30 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-banner.c (screen_size_changed):
4 Don't hide and show the banner when the screen size changes.
6 Fixes: NB#141140 (Rotation stops when banner is present)
8 2009-09-24 Claudio Saavedra <csaavedra@igalia.com>
13 * debian/changelog: Bump, update.
15 2009-09-22 Alejandro G. Castro <alex@igalia.com>
17 * hildon/hildon-pannable-area.c,
18 (hildon_pannable_axis_scroll),
19 (hildon_pannable_area_scroll): Unset the scroll_to in some
20 situations, it was causing the timeout did not stop in some cases.
22 Fixes: NB#140186 (HildonPannableArea goes into an infinite loop)
24 2009-07-02 David King <davidk@openismus.com>
26 * hildon/hildon-animation-actor-private.h
27 (HildonAnimationActorPrivate)
28 * hildon/hildon-animation-actor.c (hildon_animation_actor_show)
29 (hildon_animation_actor_hide)
30 * hildon/hildon-animation-actor.h
31 (hildon_animation_actor_set_show_full)
32 (hildon_animation_actor_set_show): Change "show" parameter type from
35 Fixes: MB#4696 (hildon_animation_actor_set_show() gint argument should
38 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
40 [2.2.0 Release Candidate 8]
43 * debian/changelog: update and bump
45 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
47 * hildon/hildon-note.c: Declare hildon_note_set_padding() only when using
50 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
52 * doc/hildon-sections.txt: Add hildon_banner_show_custom_widget()
53 * examples/hildon-banner-example.c: (area_expose),
54 (custom_widget_new), (on_progress_idle): New example showing a custom widget.
55 * hildon/hildon-banner.c:
56 * hildon/hildon-banner.h: Add hildon_banner_show_custom_widget().
58 Fixes: NB#140140 (Allow custom widgets to be used in banners)
60 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
62 * examples/hildon-banner-example.c:
63 (on_information_clicked), (on_animation_clicked),
64 (on_progress_clicked): GtkButton:clicked handlers do not return
67 2009-09-17 Claudio Saavedra <csaavedra@igalia.com>
69 [2.2.0 Release Candidate 7]
72 * debian/changelog: bump and updates
74 2009-09-17 Alberto Garcia <agarcia@igalia.com>
76 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
77 Use the Xlib API to take window screenshots, since the GDK API
78 doesn't allow us to set the event mask.
80 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
83 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
85 [2.2.0 Release Candidate 6]
87 * debian/changelog: bump and updates.
89 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
91 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
92 free a GList and avoid potential memory corruption.
94 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
96 [2.2.0 Release Candidate 5]
99 * debian/changelog: bump and updates
101 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
103 Do not set any flag for empty legacy menus
105 * hildon/hildon-program.c: (hildon_program_set_common_menu):
106 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
107 This will probably not work fine with empty legacy menus added to
108 programs or windows and populated later, but so it's life.
110 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
112 Update the application menu flag for application-wise windows
114 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
115 (hildon_program_set_common_app_menu): Also take into account the visibility
118 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
120 Emit HildonAppMenu::changed when menu items change visibility
122 * hildon/hildon-app-menu.c: (item_visibility_changed),
123 (filter_visibility_changed): Also emit ::changed on
124 visibility of items changed.
126 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
128 Do not set the menu flag in a window when a menu is empty
130 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
131 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
132 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
133 changes by using the HildonAppMenu::changed signal.
135 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
137 Add HildonAppMenu::changed signal
139 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
140 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
141 Emit a new HildonAppMenu:changed signal when there are changes in
144 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
146 Add hildon_app_menu_has_visible_children() private method
148 * hildon/hildon-app-menu-private.h: Add below private method.
149 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
150 New method to check the visibility of a HildonAppMenu children.
152 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
154 Set the window menu flag for application-common menus
156 * hildon/hildon-program.c:
157 (+hildon_program_window_set_common_menu_flag): Set or remove the
158 menu flag from a window only this doesn't have its own menu.
159 (+hildon_program_set_common_menu_flag): adjust menu flag for
160 all windows in the program.
161 (hildon_program_add_window),
162 (hildon_program_remove_window): add/remove the menu flag when
163 a window is added to the program.
165 Fixes: NB#137814 (Indicator for view menu in app title area)
167 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
169 Set a special window property for windows with menus
171 * hildon/hildon-window-private.h: Add private
172 hildon_window_set_menu_flag()
173 * hildon/hildon-window.c: (+do_set_has_menu),
174 (+hildon_window_set_menu_flag): set
175 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
176 or remove the property.
177 (hildon_window_set_main_menu),
178 (hildon_window_set_app_menu): call above methods to set or remove
179 the property when a menu is added or removed from the window.
181 Partially fixes: NB#137814 (Indicator for view menu in app title area)
183 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
185 Rename and move the methods to set flags to hildon-private.h
187 * hildon/hildon-gtk.c: (do_set_progress_indicator),
188 (do_set_do_not_disturb), (do_set_portrait_flags): call
189 the new private method hildon_gtk_window_set_clear_window_flag()
190 (hildon_gtk_window_set_progress_indicator),
191 (hildon_gtk_window_set_do_not_disturb),
192 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
193 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
194 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
196 * hildon/hildon-private.h: Add the two new private methds.
198 2009-09-11 Alejandro G. Castro <alex@igalia.com>
200 * hildon/hildon-pannable-area.c,
201 (hildon_pannable_area_init),
202 (hildon_pannable_area_size_allocate),
203 (hildon_pannable_area_button_release_cb): More tuning of the
204 speed, adding a way to calculate the acceleration and fast-panning
205 based on the child size.
207 2009-09-10 Alberto Garcia <agarcia@igalia.com>
209 * hildon/hildon-touch-selector.c
210 (hildon_touch_selector_class_init):
211 Documentation updates
215 2009-09-10 Alberto Garcia <agarcia@igalia.com>
217 * hildon/hildon-touch-selector.c:
218 Documentation updates
220 Fixes: MB#5104 (HildonTouchSelector docs should say no
221 HildonPannableArea is necessary)
223 2009-09-08 Alejandro G. Castro <alex@igalia.com>
225 * hildon/hildon-pannable-area.c,
226 (hildon_pannable_area_timeout): Fixed problem with the timeout
227 function, we need to move before decelerating the first time or we
228 are loosing the first jump.
230 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
232 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
234 [2.2.0 Release Candidate 3]
236 * debian/changelog: updates
238 2009-09-07 Alejandro G. Castro <alex@igalia.com>
240 * hildon/hildon-pannable-area.c,
241 (hildon_pannable_area_class_init): Increased max speed.
243 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
245 [2.2.0 Release Candidate 2]
248 * debian/changelog: bump version, updates
250 2009-09-07 Alejandro G. Castro <alex@igalia.com>
252 * hildon/hildon-pannable-area.c,
253 (hildon_pannable_area_class_init),
254 (hildon_pannable_area_button_release_cb): More tuning for the
257 2009-09-07 Alejandro G. Castro <alex@igalia.com>
259 * hildon/hildon-pannable-area.c,
260 (hildon_pannable_area_class_init):
261 Change the default value of the scrollbar_fade_delay.
263 Fixes: NB#127018 (Panning indicator fades out too slowly)
265 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
267 [2.2.0 Release Candidate 1]
270 * configure.ac: Bump version
271 * debian/changelog: updates
273 2009-09-04 Alejandro G. Castro <alex@igalia.com>
275 * hildon/hildon-pannable-area.c,
276 (hildon_pannable_area_init),
277 (hildon_pannable_area_button_press_cb),
278 (hildon_pannable_area_button_release_cb): Added a new acceleration
279 system to help traversing big lists, tuned the stop threshold.
281 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
283 2009-09-04 Alberto Garcia <agarcia@igalia.com>
285 * hildon/hildon-window.h:
286 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
288 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
290 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
294 * configure.ac: bump version
296 * debian/changelog: updates
298 2009-09-04 Alberto Garcia <agarcia@igalia.com>
300 * hildon/hildon-entry.c
301 * hildon/hildon-text-view.c:
302 Documentation updates
304 2009-09-04 Alberto Garcia <agarcia@igalia.com>
306 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
307 Redraw menu when the number of items change.
309 Fixes: NB#131911 (Appmenu does not resize properly, when number of
312 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
314 * hildon/hildon-pannable-area.c:
315 (hildon_pannable_area_launch_fade_timeout),
316 (hildon_pannable_area_motion_event_scroll),
317 (hildon_pannable_area_check_move),
318 (hildon_pannable_area_button_release_cb),
319 (hildon_pannable_area_scroll_to):
321 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
322 area drawing operations, since this is the recommended for drawing
325 Fixes: NB#110894 (In event view containing very large description
326 field, application menu is displayed blank while panning)
327 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
330 2009-09-03 Alberto Garcia <agarcia@igalia.com>
332 * doc/hildon-sections.txt
333 * hildon/hildon-button.c
334 * hildon/hildon-edit-toolbar.c
335 * hildon/hildon-gtk.[ch]
336 * hildon/hildon-main.c
337 * hildon/hildon-program.c
338 * hildon/hildon-stackable-window.c:
339 Documentation updates
341 2009-08-28 Alberto Garcia <agarcia@igalia.com>
343 * hildon/hildon-app-menu.c
344 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
345 Close the menu if it receives a grab-notify signal.
347 Fixes: NB#134533 (UI freezes if we show a dialog with
348 gtk_dialog_run() while a menu is opened)
350 2009-08-27 Alejandro G. Castro <alex@igalia.com>
352 * hildon/hildon-pannable-area.c,
353 (hildon_pannable_area_class_init): Reverted tuning modifications:
354 "Pannign needs to be faster" and "Pannable kinetics in large lists
357 2009-08-26 Alberto Garcia <agarcia@igalia.com>
359 * hildon/hildon-sound.c (hildon_play_system_sound):
360 Set "module-stream-restore.id" to "x-maemo-system-sound" when
361 playing system sounds
363 Fixes: NB#133767 (Information and confirmation note sound should
364 follow system profile setting)
366 2009-08-26 Alejandro G. Castro <alex@igalia.com>
368 * hildon/hildon-pannable-area.c,
369 (hildon_pannable_area_class_init): Added more force and increased
370 the max speed threshold.
372 Fixes: NB#135344 (Pannign needs to be faster)
374 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
376 [Release 2.1.96, this time for real]
379 * debian/changelog: updates
381 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
383 * hildon/hildon-pannable-area.c
384 (hildon_pannable_area_get_topmost): change the computation of the
385 co-ordinates transformed when no one of the children is a topmost
387 Fixes: NB#133252 (Opening any feed item from RSS always opens the
388 first feed item in browser)
390 2009-08-26 Alejandro G. Castro <alex@igalia.com>
392 * hildon/hildon-pannable-area.c,
393 (hildon_pannable_area_remove_timeouts): Adding this new function
394 with the code that removes the timeouts of the widget.
395 (hildon_pannable_area_dispose),
396 (hildon_pannable_area_unrealize): Use the new remove function to
397 stop timeouts when unrealizing and disposing.
398 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
399 calculation to avoid negative values in some cases.
401 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
403 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
405 * examples/hildon-check-button-example.c: (button_toggled_cb):
406 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
407 (hildon_check_button_set_active), (hildon_check_button_new),
408 (hildon_check_button_clicked), (hildon_check_button_class_init):
409 * hildon/hildon-check-button.h:
410 * hildon/hildon-set-password-dialog.c: (create_contents),
411 (hildon_set_password_response_change), (hildon_checkbox_toggled):
413 Revert "Make HildonCheckButton derive from GtkToggleButton"
415 2009-08-21 Alberto Garcia <agarcia@igalia.com>
419 * configure.ac: bump version
421 * debian/changelog: updates
423 2009-08-21 Alberto Garcia <agarcia@igalia.com>
425 * hildon/hildon-check-button.h
426 * hildon/hildon-check-button.c
427 (hildon_check_button_clicked, hildon_check_button_class_init):
428 Make HildonCheckButton derive from GtkToggleButton
429 (hildon_check_button_toggled, hildon_check_button_set_active)
430 (hildon_check_button_get_active):
431 Deprecate unnecessary HildonCheckButton API and use the
432 one from GtkToggleButton instead.
434 * hildon/hildon-set-password-dialog.c (create_contents)
435 (hildon_set_password_response_change, hildon_checkbox_toggled)
436 * examples/hildon-check-button-example.c (button_toggled_cb):
437 Update to use the GtkToggleButton API
439 Fixes: MB#4739 (HildonCheckButton should inherit from
442 Fixes: NB#132661 (HildonCheckButton should inherit from
445 2009-08-20 Alberto Garcia <agarcia@igalia.com>
447 * hildon/hildon-pannable-area.c
448 (hildon_pannable_area_class_init):
449 Increase default value of HildonPannableArea:velocity_max to 2000
451 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
453 2009-08-18 Alberto Garcia <agarcia@igalia.com>
457 * configure.ac: bump version
459 * debian/changelog: updates
461 2009-08-11 Alejandro G. Castro <alex@igalia.com>
463 * hildon/hildon-pannable-area.c
464 (hildon_pannable_area_size_allocate): Checked the scrollbars
465 before the first try when defining the layout, avoids two
466 allocations in some situations.
468 Fixes: NB#131794 (pannable area produces unnecessary allocations
469 causing performance problems)
471 2009-08-11 Alejandro G. Castro <alex@igalia.com>
473 * hildon/hildon-pannable-area.c
474 (hildon_pannable_area_button_press_cb),
475 (hildon_pannable_area_motion_notify_cb),
476 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
477 the spurious ref added in the copy, fixes leak of window.
479 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
480 if it's realized without showing and then deleted)
482 2009-08-10 Alberto Garcia <agarcia@igalia.com>
486 * configure.ac: bump version
488 * debian/changelog: updates
490 2009-08-06 Alberto Garcia <agarcia@igalia.com>
492 * examples/hildon-hvolumebar-timer-example.c
494 * hildon/hildon-banner.c
495 (hildon_banner_timeout, hildon_banner_ensure_timeout)
496 * hildon/hildon-calendar.c
497 (calendar_timer, start_spinning)
498 * hildon/hildon-color-chooser.c
499 (inline_limited_expose)
500 * hildon/hildon-date-editor.c
501 (hildon_date_editor_entry_focus_in)
502 (hildon_date_editor_entry_validate)
503 (hildon_date_editor_entry_select_all)
504 * hildon/hildon-note.c
506 * hildon/hildon-number-editor.c
507 (hildon_number_editor_button_pressed)
508 (hildon_number_editor_start_timer, do_mouse_timeout),
509 (add_select_all_idle, hildon_number_editor_select_all)
510 * hildon/hildon-time-editor.c
511 (hildon_time_editor_entry_focus_in)
512 (highlight_callback, hildon_time_editor_validate)
513 (hildon_time_editor_entry_select_all)
514 * hildon/hildon-time-picker.c
515 (hildon_time_picker_arrow_press)
516 (hildon_time_picker_key_repeat_timeout)
517 * hildon/hildon-window.c
518 (hildon_window_key_press_event)
519 (hildon_window_escape_timeout):
520 Replace all calls to g_idle_add/g_timeout_add with their
521 gdk_threads counterparts.
523 Fixes: NB#126198 (gdk-threads API should be used to install idle
524 and timeout handlers)
526 2009-08-06 Alejandro G. Castro <alex@igalia.com>
528 * hildon/hildon-pannable-area.c,
529 (hildon_pannable_area_class_init): Increased the overshooting max
530 speed to get a faster effect.
531 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
532 deceleration of the overshooting
533 (hildon_pannable_area_button_release_cb): Calculate initial
534 overshooting speed when finger on the screen using the distance to
535 launch the effect faster.
537 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
538 lists with slow row renderers)
540 2009-08-05 Alberto Garcia <agarcia@igalia.com>
542 * doc/hildon-sections.txt: Add new functions
544 2009-08-05 Alberto Garcia <agarcia@igalia.com>
546 * hildon/hildon-text-view.[ch]
547 * hildon/hildon-entry.[ch]:
548 Add deprecation guards around deprecated functions.
550 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
552 * hildon/hildon-app-menu.c: Remove leftover function declaration.
554 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
556 Remove the grab from HildonAppMenu
558 * hildon/hildon-app-menu.c:
559 Now hildon-desktop places a blocker window behind the menu to handle
560 its closing, so the grab is no longer needed. This simplifies its
561 implementation and allows the system blanking to succeed.
563 Fixes: NB#130910 (Screen gets unlocked when menu is open)
565 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
569 * configure.ac: bump version
571 * debian/changelog: updates
572 * debian/control: raise debian dependency on GTK+
574 2009-08-04 Alberto Garcia <agarcia@igalia.com>
576 * hildon/hildon-text-view.c
577 * hildon/hildon-entry.c:
578 Remove all placeholder code from HildonEntry and HildonTextView
579 and use the API in GtkEntry and GtkTextView instead.
581 * examples/hildon-entry-example.c
582 * examples/hildon-text-view-example.c
583 * examples/hildon-wizard-dialog-example.c
584 * hildon/hildon-get-password-dialog.c
585 * hildon/hildon-login-dialog.c
586 * hildon/hildon-picker-dialog.c
587 * hildon/hildon-set-password-dialog.c
588 * hildon/hildon-touch-selector-entry.c:
589 Replace all deprecated calls to HildonEntry and HildonTextView
590 with their Gtk counterparts.
592 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
595 2009-08-03 Alejandro G. Castro <alex@igalia.com>
597 * hildon/hildon-pannable-area.c,
598 (hildon_pannable_area_check_move),
599 (hildon_pannable_area_button_release_cb),
600 (hildon_pannable_area_scroll_to): Reverted the priority change of
601 the timeout, in some situations, slow renderers, the click do not
602 make it to the mainloop on time.
604 Fixes NB#131013 (unable to stop panning file manager by tapping on
607 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
609 * configure.ac: bump version
611 * debian/changelog: updates
613 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
615 * hildon/hildon-touch-selector.[ch]
616 (hildon_touch_selector_center_on_index): New method that allows to center
617 on a item not selected
619 Fixes NB#130291 (New HildonTouchSelector API is required to center on
622 2009-07-29 Alberto Garcia <agarcia@igalia.com>
624 * hildon/hildon-text-view.c
625 (+set_logical_color, +hildon_text_view_style_set)
626 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
627 (hildon_text_view_init)
628 * hildon/hildon-entry.c
629 (+set_logical_color, +hildon_entry_style_set)
630 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
631 (hildon_entry_class_init, hildon_entry_init)
632 * hildon/hildon-button.c
633 (+set_logical_font, +set_logical_color)
634 (hildon_button_style_set, hildon_button_init)
635 (hildon_button_set_arrangement, hildon_button_set_style):
636 Remove all calls to hildon_helper_set_logical_font() and
637 hildon_helper_set_logical_color(), which are recursive, from
640 Fixes: NB#123409 (Showing dialog consumes significant amount of
643 2009-07-29 Alejandro G. Castro <alex@igalia.com>
645 * hildon/hildon-pannable-area.c,
646 (hildon_pannable_area_timeout): Added the process updates of the
647 scrollbars window in the pannable.
649 Fixes: NB#130043 (scrollindicator not smooth while panning)
651 2009-07-23 Alejandro G. Castro <alex@igalia.com>
653 * hildon/hildon-pannable-area.c,
654 (hildon_pannable_area_check_move),
655 (hildon_pannable_area_button_release_cb),
656 (hildon_pannable_area_scroll_to): Increased the priority of the
657 timeout this way it is going to be handled before the events.
659 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
663 * configure.ac: bump version
664 * debian/changelog: updates
666 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
668 * hildon/hildon-entry.c: (set_property): Do not allow to set
669 automatic height and use finger height instead, to prevent an to
670 have a smaller size than than its theme pixbuf.
672 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
674 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
676 * configure.ac: postrelease version bump.
677 * debian/changelog: post release version bump
679 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
684 * configure.ac: Bump version.
685 * debian/changelog: Updates.
687 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
689 * hildon/hildon-note.c: (label_size_request): Take the note
690 padding into account when setting the size request.
692 Fixes: NB#127896 (Information notes text truncated)
694 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
696 * configure.ac: postrelease version bump.
697 * debian/changelog: post release version bump
699 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
704 * configure.ac: Bump version.
705 * debian/changelog: Updates.
707 2009-07-16 Alejandro G. Castro <alex@igalia.com>
710 * hildon/hildon-text-view.c,
711 (hildon_text_view_button_press_event): Grabbed the focus in button
712 press, this way we are sure the widget has the focus in the
713 release event, required for HIM.
715 Fixes: NB#121445 (Virtual keyboard opening is not working in same
716 way for each text entry field)
718 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
720 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
721 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
722 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
723 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
724 (hildon_pannable_area_[gs]et_center_on_child_focus)
725 Redefined GtkContainer set-focus-child signal, in order to center
726 properly on a child when it receives the focus. Defined a new property
727 "center-on-child-focus" in order to activate this feature (deactivated
728 by default). Public get/set methods defined to manage the property.
730 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
732 2009-07-14 László Pere <lpere@blumsoft.eu>
734 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
735 the new size is applied.
737 Fixes: NB#124510 (The Application Menu is distorted when switched
738 between portrait and landscape mode)
739 Fixes: NB#115388 (Power key menu does not resize itself)
741 2009-07-01 Alberto Garcia <agarcia@igalia.com>
743 * hildon/hildon-banner.c (hildon_banner_map):
744 Set banner position after mapping.
746 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
748 * configure.ac: postrelease version bump.
749 * debian/changelog: post release version bump
751 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
756 * configure.ac: Bump version.
757 * debian/changelog: Updates.
759 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
761 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
764 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
766 * tests/check-hildon-banner.c
768 * tests/test_suites.h
769 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
770 were testing deprecated functions.
771 * examples/hildon-banner-example.c: typo on button3 type, that causes
772 a fail compiling with --with-examples but without --disable-deprecated
774 Missed commit in order to fix compilation using '--enable-fatal' and
775 '--disable-deprecated' (see previous commit)
777 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
779 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
780 functions with #ifndef HILDON_DISABLE_DEPRECATED
781 * examples/hildon-find-toolbar.c: Protect deprecated
782 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
783 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
784 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
785 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
787 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
788 to allow proper compilation of deprecated functions defined on the header
790 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
792 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
794 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
795 Cache the panning indicator color.,
796 (hildon_pannable_area_style_set): Query the color on style changes.
797 (hildon_pannable_draw_vscroll),
798 (hildon_pannable_draw_hscroll),
799 (hildon_pannable_area_expose_event): Use the cached panning indicator
800 color instead of looking it up on every expose and more.
802 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
804 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
805 (hildon_pannable_draw_hscroll),
806 (hildon_pannable_area_expose_event): Fix the panning indicator color,
807 so that it's "SecondaryTextColor", as desired.
809 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
811 * hildon/hildon-picker-dialog.c:
812 (selection_completed): take into account HILDON_UI_MODE_NORMAL
813 * hildon/hildon-touch-selector.c
814 (hildon_touch_selector_init): Initialize hildon-ui-mode
815 (hildon_touch_selector_row_activated): new callback for the
816 "row-activated" signal, in order to save the last activated
817 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
818 if the current hildon-ui-mode is coherent with the touch selector
819 (hildon_touch_selector_class_init)
820 (hildon_touch_selector_get_property)
821 (hildon_touch_selector_set_property)
822 Added "hildon-ui-mode" property
823 (disconnect_model_handlers): renamed to clean_column
824 (hildon_touch_selector_remove): use clean_column function
825 (_create_new_column): use the hildon-ui-mode to create the treeview, and
826 only select the first element on HILDON_UI_MODE_EDIT
827 (hildon_touch_selector_column_init): Initialize last_activate
828 (hildon_touch_selector_append_column): check that the touch selector
829 is coherent with the current hildon-ui-mode
830 (hildon_touch_selector_get_hildon_ui_mode)
831 (hildon_touch_selector_set_hildon_ui_mode)
832 Added a getter/setter for the hildon-ui-mode property
833 (hildon_touch_selector_get_last_activated_row): Added this method in
834 order to get the last activated row.
835 * examples/hildon-touch-selector-normal-mode-example.c
836 New example, that shows how to use the HildonTouchSelector in
837 HILDON_UI_MODE_NORMAL
839 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
840 Kristian Rietveld <kris@lanedo.com> advices
842 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
844 * hildon/hildon-time-selector.c: (update_format_policy): Do
845 not call update_format_dependant_columns() if not necessary.
846 (update_format_dependant_columns): Remove unnecessary check for
847 the number of columns.
849 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
851 * hildon/hildon-note.c (+hildon_note_constructor),
852 (hildon_note_class_init), (+hildon_note_set_padding),
853 (hildon_note_rebuild): Install a constructor where to set the
854 padding properties in the note, so that it actually works fine.
855 Use hildon_note_set_padding() for this, and also to set it during
858 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
860 * configure.ac: Bump GTK+ requirement to 2.14.3.
861 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
862 when using maemo-gtk to define proper margins for the notes.
864 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
865 with the dialog edge)
867 2009-06-24 Alberto Garcia <agarcia@igalia.com>
869 * hildon/hildon-banner.c
870 (hildon_banner_class_init):
872 (+hildon_banner_size_request):
873 Request always the full width of the screen.
874 (hildon_banner_realize)
875 (-hildon_banner_check_position, hildon_banner_map):
876 hildon_banner_check_position() is not needed in Hildon 2.2.
877 (-hildon_banner_reset_wrap_state)
878 (hildon_banner_constructor, hildon_banner_init):
879 Remove unnecessary calls to hildon_banner_reset_wrap_state()
880 (+banner_do_set_text)
881 (force_to_wrap_truncated):
882 Remove has_been_wrapped and has_been_truncated attributes.
883 (+reshow_banner, hildon_banner_real_show_information)
884 (hildon_banner_show_information_with_markup)
885 (hildon_banner_show_animation, hildon_banner_show_progress)
886 (hildon_banner_set_text, hildon_banner_set_markup):
887 Refactor code. Shrink banner vertically to use the minimum space
888 necessary everytime the text of the label is updated.
889 (screen_size_changed):
890 Call force_to_wrap_truncated() when the size of the screen
893 Fixes: NB#120500 (only device memory connect mmc in use info
894 banner is left aligned)
896 Fixes: NB#120613 (Size of HildonBanner varies depending on
897 previously opened banners)
899 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
901 * hildon/hildon-color-chooser.c
902 (hildon_color_chooser_pointer_motion): Take the widget allocation
905 Fixes: NB#124385 (Unable to select exact point in color mixing box
906 in color palette dialog)
908 2009-06-23 Alejandro G. Castro <alex@igalia.com>
910 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
911 (hildon_pannable_area_dispose)
912 (hildon_pannable_area_button_press_cb)
913 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
914 (hildon_pannable_area_button_release_cb)
915 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
916 New 'panning-started' and 'panning-finished' signals.
918 Fixes: NB#121732 (New feature request: Signal to pannable area
919 that informs when panning is stopped.)
921 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
923 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
924 instead of hardcoded colon.
926 Fixes: NB#124090 (New calendar wizard title is not using
927 ecdg_ti_caption_separator)
929 2009-06-22 David King <davidk@openismus.com>
931 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
932 constants and functions, as well as correct many typos throughout the
935 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
938 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
940 * configure.ac: postrelease version bump.
941 * debian/changelog: post release version bump
943 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
948 * configure.ac: Bump version.
949 * debian/changelog: Updates.
951 2009-06-18 Alberto Garcia <agarcia@igalia.com>
953 * hildon/hildon-window-stack.c
954 (hildon_window_stack_pop_and_push_list):
955 Prevent windows from having the same stack index
957 2009-06-18 Alberto Garcia <agarcia@igalia.com>
959 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
960 Use the index of the previous window rather than the stack length
961 to calculate the new index.
965 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
967 * hildon/hildon-date-selector.c
968 (hildon_date_selector_select_current_date)
969 (hildon_date_selector_get_date)
970 (hildon_date_selector_select_day):
971 Update the documentation: uses always the range (1-31), as it is obvious
972 that the final one will depend on the month and the year, but globally
973 the range is this, in a similar GtkCalendar approach
974 (hildon_date_selector_get_date):
975 Update the documentation: add NULL as a valid value for the day, month
978 Fix some details, after talk with David King on bug MB#4698
980 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
982 * hildon/hildon-touch-selector-entry.c
983 * hildon/hildon-touch-selector.c
984 Update the documentation of the "text-column" property
986 2009-06-18 David King <davidk@openismus.com>
988 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
989 several typos and errors throughout the documentation.
991 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
994 2009-06-18 Alberto Garcia <agarcia@igalia.com>
996 * hildon/hildon-note.c (hildon_note_realize):
997 Make HildonNote support portrait mode.
999 Fixes: NB#123448 (HildonNote is not portrait-friendly)
1001 2009-06-17 Alberto Garcia <agarcia@igalia.com>
1003 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
1004 Document this function
1006 2009-06-17 David King <davidk@openismus.com>
1008 * hildon/hildon-date-selector.c
1009 (hildon_date_selector_select_current_date)
1010 (hildon_date_selector_get_date): Update documentation regarding days,
1011 as the day of the month is dependent on both the month and the year.
1012 (hildon_date_selector_get_date): Fix documentation of output arguments.
1014 Fixes: MB#4698 (DateSelector documentation has bad output argument
1015 description, and the day depends on both the month and the year)
1017 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1019 * hildon/hildon-caption.c: Other documentation fixes to
1022 2009-06-17 David King <davidk@openismus.com>
1024 * hildon/hildon-caption.c: Minor documentation updates for
1025 HildonCaption. Fixes MB#4697.
1027 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1029 * doc/hildon-docs.sgml: Add hildon-version section.
1030 * doc/hildon-sections.txt:
1031 * hildon/hildon-version.h.in: Document versioning macros and
1034 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1036 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
1037 from HildonPickerDialog section.
1039 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1041 * hildon/hildon-banner.c (hildon_banner_bind_style)
1042 (screen_size_changed, hildon_banner_init)
1043 (hildon_banner_real_show_information)
1044 (hildon_banner_show_information_with_markup)
1045 (hildon_banner_show_animation, hildon_banner_show_progress):
1046 Set a different widget name to banners in portrait mode, for them
1047 to be themed correctly.
1049 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1051 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
1052 Set a different widget name to notes in portrait mode, for them to
1053 be themed correctly.
1055 Partially fixes: NB#118401 (HildonNote causes unnecessary
1056 rescaling of images)
1058 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1060 * hildon/hildon-note.c (hildon_note_class_init)
1061 (+hildon_note_size_request, screen_size_changed):
1062 Always request the full width of the screen.
1064 Fixes: NB#118375 (unnecessary rescaling of images)
1066 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1068 * hildon/hildon-pannable-area.c,
1069 (hildon_pannable_area_init),
1070 (hildon_pannable_area_realize): Replaced old code adding flags in
1071 the object init, now we add it with the other flags in the realize
1074 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1076 * hildon/hildon-note.c: (hildon_note_class_init): Several
1077 documentation improvements to the HildonNote widget.
1079 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1081 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1083 Fixes: MB#4556 (HildonNoteType is undocumented)
1085 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1087 * hildon/hildon-picker-button.c:
1088 Explain how HildonPickerButton sets the title of its dialog
1090 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1091 the title of its dialog)
1093 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1095 * hildon/hildon-check-button.c:
1096 Documentation updates
1098 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1101 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1103 * hildon/Makefile.am
1104 * hildon/hildon-edit-toolbar-private.h
1105 * hildon/hildon-edit-toolbar.c
1106 (+hildon_edit_toolbar_set_progress_indicator)
1107 (hildon_edit_toolbar_init): Add progress indicator to the
1110 * hildon/hildon-gtk.c
1111 (hildon_gtk_window_set_progress_indicator):
1112 If the window contains a HildonEditToolbar, enable the progress
1113 indicator there too.
1115 * hildon/hildon-private.h
1116 * hildon/hildon-private.c
1117 (+hildon_private_create_animation)
1118 * hildon/hildon-banner.c
1119 (-hildon_banner_create_animation):
1120 Moved to hildon-private.c
1122 Fixes: NB#102373 (Progress indicator also for the Edit mode
1125 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1127 * hildon/hildon-app-menu-private.h
1128 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1129 (hildon_app_menu_add_filter, +menu_item_button_event)
1130 (hildon_app_menu_button_release, hildon_app_menu_init):
1131 Make sure that buttons receive 'button-release-event' in spite of
1132 the grab held by HildonAppMenu
1134 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1136 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1138 * hildon/hildon-app-menu.c
1139 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1140 New style property to set the size of the group of filter buttons.
1142 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1144 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1149 * configure.ac: Bump version.
1150 * debian/changelog: Updates.
1152 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1154 * hildon/hildon-main.c: Minor documentation fixes.
1156 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1158 * doc/hildon-sections.txt:
1159 * hildon/hildon-defines.h: Document the defines, organize them,
1160 and mark deprecations as such.
1162 Fixes: MB#4463 (Hildon size #defines are undocumented)
1164 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1166 * hildon/hildon-animation-actor.c:
1167 * hildon/hildon-app-menu.c:
1168 * hildon/hildon-button.c:
1169 * hildon/hildon-date-editor.c:
1170 * hildon/hildon-dialog.c:
1171 * hildon/hildon-edit-toolbar.c:
1172 * hildon/hildon-entry.c:
1173 * hildon/hildon-program.c:
1174 * hildon/hildon-remote-texture.c:
1175 * hildon/hildon-stackable-window.c:
1176 * hildon/hildon-text-view.c:
1177 * hildon/hildon-touch-selector.c:
1178 * hildon/hildon-window-stack.c:
1179 * hildon/hildon-window.c:
1181 Remove redundant "represents" wording from most of the documentation.
1183 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1185 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1189 * hildon/Makefile.am
1190 * hildon/hildon-banner-private.h
1191 * hildon/hildon-banner.c:
1192 Move HildonBannerPrivate to hildon-banner.c and remove
1193 hildon-banner-private.h
1194 Use a bit field to store private booleans.
1196 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1198 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1199 Don't install a new idle function if there's already one
1204 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1206 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1207 (+legacy_menu_realized, +legacy_menu_unmapped)
1208 (+set_legacy_menu_type):
1209 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1210 they can be identified by the window manager.
1212 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1213 displayed in wrong location)
1215 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1218 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1220 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1222 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1223 use gtk-doc support)
1225 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1227 * hildon/hildon-code-dialog.c
1228 * hildon/hildon-date-editor.c
1229 * hildon/hildon-number-editor.c
1230 * hildon/hildon-seekbar.c
1231 * hildon/hildon-stackable-window.c
1232 * hildon/hildon-window.c:
1233 Misc documentation updates
1235 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1237 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1238 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1240 Fixes: NB#117931 (Theming issues in accounts dialogs)
1242 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1244 * hildon/hildon-pannable-area.c,
1245 (hildon_pannable_area_button_release_cb): Changed the coordinates
1246 of the original release in case we want to discard the release,
1247 some widgets in Fremantle do not handle the leave-notify.
1249 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1251 * hildon/hildon-pannable-area.c,
1252 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1253 the release using the last refactored functions and avoiding the
1254 movement if an element was selected.
1256 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1258 * hildon/hildon-pannable-area.c,
1259 (hildon_pannable_area_check_move),
1260 (hildon_pannable_area_handle_move),
1261 (hildon_pannable_area_motion_notify_cb): Refactored the
1262 motion_notify method using a couple of new functions.
1264 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1266 * hildon/hildon-date-selector.c:
1267 (hildon_date_selector_construct_ui):
1268 * hildon/hildon-time-selector.c:
1269 (hildon_time_selector_constructor):
1270 * hildon/hildon-touch-selector-entry.c:
1271 (hildon_touch_selector_entry_set_text_column),
1272 (hildon_touch_selector_entry_get_text_column):
1273 * hildon/hildon-touch-selector.c: (_default_print_func),
1274 (hildon_touch_selector_new_text): Use
1275 hildon_touch_selector_set/get_text_column() instead of
1276 setting/getting the "text-column" property.
1278 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1280 * doc/hildon-sections.txt: Add the new public methods below.
1282 * examples/hildon-picker-button-multicolumn-example.c:
1283 (create_touch_selector):
1284 * examples/hildon-touch-selector-example.c: (create_selector):
1285 * examples/hildon-touch-selector-multi-cells-example.c:
1287 Use hildon_touch_selector_column_set_text_column()
1289 * hildon/hildon-touch-selector-column.h:
1290 * hildon/hildon-touch-selector.c:
1291 (hildon_touch_selector_column_set_text_column),
1292 (hildon_touch_selector_column_get_text_column):
1293 Make hildon_touch_selector_column_set/get_column() public, use
1294 them in the inline example, document them, and reference to them
1297 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1299 * hildon/hildon-time-selector.c: Fix the docs for
1300 hildon_time_selector_new_step().
1302 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1304 * hildon/hildon-touch-selector.c: Improve the documentation for
1305 hildon_touch_selector_append_column().
1307 Fixes MB#4641 (Documentation:
1308 hildon_touch_selector_append_column() ref-counting)
1310 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1312 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1313 Comment out test 5, since the hildon_controlbar_set_range() range
1314 check is broken and fixing it would have side effects. Also,
1315 this finally fixes make distcheck.
1317 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1319 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1321 * tests/TEST-CASES.txt: Remove other bogus test.
1322 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1323 Remove bogus test that was setting/retrieving a valid value.
1325 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1327 * tests/TEST-CASES.txt: Remove bogus tests.
1328 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1329 Remove three bogus tests that were actually setting valid colors.
1331 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1333 * configure.ac: post release version bump
1334 * debian/changelog: post release version bump
1336 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1341 * configure.ac: Bump version.
1342 * debian/changelog: Updates.
1344 2009-06-08 Christian Dywan <christian@lanedo.com>
1348 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1349 Correct errors in hildon_format_file-size_for_display and use
1350 translations from the hildon-fm package instead of osso-filemanager.
1352 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1354 * hildon/hildon-pannable-area.c,
1355 (hildon_pannable_area_init): Initialized new values to handle the
1356 adjustment position.
1357 (hildon_pannable_area_adjust_value_changed): Check if the values
1358 changed before even call the redraw function.
1359 (hildon_pannable_area_size_allocate),
1360 (hildon_pannable_axis_scroll),
1361 (hildon_pannable_area_scroll),
1362 (hildon_pannable_area_jump_to): Improved the diagonal movement
1365 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1368 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1370 * examples/hildon-banner-example.c:
1371 Several style updates
1372 (on_animation_clicked, on_animation_idle)
1373 (on_progress_clicked, on_progress_idle):
1374 Add additional reference for the cases when the parent window is
1377 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1379 * doc/hildon-sections.txt
1380 * hildon/hildon-pannable-area.c
1381 * hildon/hildon-banner.h
1382 * hildon/hildon-banner.c: Documentation updates.
1384 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1387 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1389 * hildon/hildon-calendar-popup.h:
1390 * hildon/hildon-caption.h:
1391 * hildon/hildon-code-dialog.h:
1392 * hildon/hildon-controlbar.h:
1393 * hildon/hildon-date-editor.h:
1394 * hildon/hildon-dialog.h:
1395 * hildon/hildon-get-password-dialog.h:
1396 * hildon/hildon-hvolumebar.h:
1397 * hildon/hildon-login-dialog.h:
1398 * hildon/hildon-note.h:
1399 * hildon/hildon-number-editor.h:
1400 * hildon/hildon-range-editor.h:
1401 * hildon/hildon-seekbar.h:
1402 * hildon/hildon-set-password-dialog.h:
1403 * hildon/hildon-sort-dialog.h:
1404 * hildon/hildon-time-editor.h:
1405 * hildon/hildon-time-picker.h:
1406 * hildon/hildon-volumebar-range.h:
1407 * hildon/hildon-volumebar.h:
1408 * hildon/hildon-vvolumebar.h:
1409 * hildon/hildon-weekday-picker.h:
1410 * hildon/hildon-window.h:
1411 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1412 macros with the current replacements
1414 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1416 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1418 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1419 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1420 itself, to make it fit better with Fremantle style.
1422 Fixes: NB#109878 (height and width of focus on color icon is not
1423 consistent with other item in the application tool bar)
1425 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1427 * hildon/hildon-touch-selector.c:
1428 (hildon_touch_selector_optimal_size_request): use the current requisition
1429 as the base, in order to include any possible extra widget, like the
1430 hildon entry on HildonTouchSelectorEntry
1432 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1434 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1436 * configure.ac: post release version bump
1437 * debian/changelog: post release version bump
1439 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1444 * configure.ac: Bump version.
1445 * debian/changelog: Updates.
1447 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1449 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1451 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1452 to ensure the banner contents are centered, instead of relying on
1453 the expand and fill properties in GtkHBox.
1454 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1456 Fixes: NB#108265 (Animation banner not properly centered)
1458 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1460 * hildon/hildon-pannable-area.c
1461 (hildon_pannable_area_initial_effect): Remove the initial_effect
1462 management, check initial_hint
1463 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1464 set initial_effect to FALSE
1465 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1466 by launching the fade_timeout if the scrollbars state has changed and are
1468 * examples/hildon-pannable-area-initial-hint-example.c
1469 Modified to allow to remove rows too. Add and remove rows one by one.
1471 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1473 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1474 Don't close the menu if there's an animation actor below it.
1476 Fixes: NB#117927 (Application menu not usable with animation
1479 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1481 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1482 "focus-on-click" from the dialog button, to avoid stealing the
1483 focus from the entry.
1485 Fixes: NB#118903 (Account setup wizard: Text in Search field
1486 should be focused when "Region" touch list picker is reopened
1489 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1491 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1492 (prepare_action_area): Completely hide the dialog separator.
1494 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1496 * hildon/hildon-touch-selector-entry.c
1497 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1498 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1499 now that the entry is exposed.
1501 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1503 * hildon/hildon-touch-selector-entry.c
1504 (hildon_touch_selector_entry_init): Change the entry's size
1505 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1507 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1509 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1510 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1511 avoid unnecessary scaling.
1513 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1515 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1516 Create grab transfer window before calling parent's map function.
1518 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1519 "crushed" button(s) in the top left corner)
1521 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1523 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1524 Check if the window is already realized when pushing it.
1526 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1528 * configure.ac: post release version bump
1529 * debian/changelog: post release version bump
1531 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1536 * configure.ac: Bump version.
1537 * debian/changelog: Updates.
1539 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1541 * hildon/hildon-app-menu.c: Doc updates.
1543 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1545 * hildon/hildon-banner.c: Remove leftover macro.
1547 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1549 * hildon/hildon-pannable-area.c,
1550 (hildon_pannable_area_scroll_indicator_fade),
1551 (hildon_pannable_area_button_release_cb): Reviewed vmin
1552 conditions, it could cause problems in the fadeout procedure.
1554 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1556 * hildon/hildon-pannable-area.c
1557 (hildon_pannable_area_button_release_cb): Added a threshold to
1558 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1560 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1562 * hildon/hildon-pannable-area.c,
1563 (hildon_pannable_area_set_property): Added code to sync the gtk
1564 dnd threshold with the panning threshold.
1566 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1568 * hildon/hildon-pannable-area.c,
1569 (hildon_pannable_area_class_init): Changed some of the default
1570 values, now it should be less responsive and more accurate.
1572 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1574 * hildon/hildon-pannable-area.c,
1575 (hildon_pannable_area_init),
1576 (hildon_pannable_area_scroll_indicator_fade),
1577 (hildon_pannable_area_button_press_cb),
1578 (hildon_pannable_axis_scroll),
1579 (hildon_pannable_area_timeout),
1580 (hildon_pannable_area_motion_notify_cb),
1581 (hildon_pannable_area_button_release_cb): Changed the name of the
1582 clicked attribute to button_pressed, it is more clear about its use.
1584 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1586 * src/hildon-pannable-area.c
1587 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1589 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1590 vertical scrollbar visibility, and use the data on private section instead,
1591 remove the initial_hint check
1592 (hildon_pannable_area_expose_event): add the initial_hint check here
1594 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1596 * src/hildon-pannable-area.c
1597 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1598 if the fadeout effect was used
1599 (hildon_pannable_area_expose_event): check if it is required to
1600 manage the initial effect on the begining of the function. Previously
1601 it was made at the end, but this doesn't ensure that the scrollbars
1602 will be painted on the first show. Do not set to FALSE initial_effect,
1603 to ensure that the initial hint is showed the first time the pannable
1605 * examples/Makefile.am
1606 * examples/hildon-pannable-area-initial-hint-example.c:
1607 New example, to show that the initial-hint is showed when the widget
1610 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1611 initially if the application can be scrolled)
1613 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1615 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1616 Resize table before adding new items to make sure that
1617 gtk_table_resize() is called just once.
1619 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1621 * hildon/hildon-app-menu-private.h
1622 * hildon/hildon-app-menu.c (item_visibility_changed)
1623 (filter_visibility_changed, hildon_app_menu_show_all)
1624 (hildon_app_menu_hide_all, hildon_app_menu_init):
1625 Rearrange items just once when gtk_widget_show_all()/hide_all()
1628 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1630 * hildon/hildon-app-menu.c
1631 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1632 Don't call gtk_widget_show() on added items.
1634 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1635 automatically when they're added)
1637 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1639 * hildon/hildon-banner.c
1640 (hildon_banner_realize, +hildon_banner_unrealize)
1641 (+screen_size_changed, hildon_banner_class_init):
1642 Redisplay the banner if the screen is rotated.
1644 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1645 on transition from landscape to portrait)
1647 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1649 * hildon/hildon-banner.[ch]:
1650 (hildon_banner_show_information_override_dnd): remove icon_name from the
1651 method definition as it is ignored.
1652 * examples/hildon-banner-dnd-example.c: updated with the change on
1655 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1657 * hildon/hildon-banner-private.h: new require_override_dnd and
1658 overrides_dnd variables
1659 * hildon/hildon-banner.h:
1660 (hildon_banner_show_information_override_dnd): new method, that shows
1661 the information but sets the override flag, in order to show important
1663 * hildon/hildon-banner.c
1664 (hildon_banner_show_information_override_dnd): new method
1665 (hildon_banner_set_override_flag): new utility function
1666 (hildon_banner_real_show_information): new utility function, in order to
1667 generalize the current hildon_banner_show_information_override_dnd and
1668 hildon_banner_show_information_override_dnd
1669 * examples/Makefile.am
1670 * examples/hildon-banner-dnd-example.c: New example that show how to
1671 use the new hildon_banner_show_information_override_dnd
1673 Fixes: NB#114874 (There is no possibility to show hildon banners with
1676 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1678 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1679 behind hildon_pannable_calculate_vel_factor().
1681 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1683 * hildon/hildon-pannable-area.c
1684 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1685 deceleration factors.
1687 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1689 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1690 Reduce the default value for 'scroll_time' to 1 second, since the
1691 current initial scrolling takes too much time.
1693 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1695 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1696 calculate velocity factor during initialization, since the properties
1699 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1701 * hildon/hildon-pannable-area.c
1702 (hildon_pannable_area_set_property): Calculate the velocity factor
1703 after setting the deceleration property and not after.
1705 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1707 * hildon/hildon-entry.c
1708 (hildon_entry_class_init, +set_property, hildon_entry_new)
1709 * hildon/hildon-check-button.c
1710 (hildon_check_button_class_init)
1711 (+set_property, hildon_check_button_new):
1712 Make the theme size a property.
1714 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1715 others) do too much in the _new function)
1717 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1719 * configure.ac: post release version bump
1720 * debian/changelog: post release version bump
1722 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1727 * configure.ac: Bump version.
1728 * debian/changelog: Updates.
1730 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1732 * hildon/hildon-gtk.h
1733 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1734 New API function to take a screenshot of a window
1736 Fixes: NB#106374 (Need API to take a loading screenshot)
1738 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1740 * hildon/hildon-time-selector.c
1741 (update_format_policy): prevent to use hours and minutes unitialized
1743 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1745 * hildon/hildon-window.c (hildon_window_size_request):
1746 Always request the full size of the screen (minus the title bar if
1747 not in fullscreen mode).
1749 Fixes: NB#107486 (HildonWindow should size itself properly)
1751 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1753 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1754 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1755 (on_show_cb), (sound_handling): Disconnect the idle handler for
1756 the sound when the note is finalized to avoid possible crashes.
1758 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1761 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1763 * src/hildon-animation-actor.c,
1764 * src/hildon-remote-texture.c:
1765 Added proper object cleanup to remove signal handler and object
1766 references as HildonAnimationActor and HildonRemoteTexture
1767 objects get destroyed.
1769 Fixes: NB#116682 (Destroying parented animation actors when
1770 parent in unmapped leads to crash)
1772 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1774 Based on a patch by Christian Dywan (christian@imendio.com)
1776 * doc/hildon-sections.txt:
1777 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1778 * hildon/hildon-helper.h: New file size formatting method.
1780 * debian/control: Depend on osso-filemanager l10n package for
1781 proper localization strings.
1783 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1785 * tests/Makefile.am: Include top_srcdir to make possible to build
1786 tests in a different builddir.
1787 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1788 on a different builddir.
1790 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1792 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1793 (hildon_touch_selector_remove): Disconnect model's signal handler
1796 Fixes: NB#116289 (Hildon home crashes while adding task
1799 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1801 * hildon/hildon-button.c
1802 (hildon_button_set_title, hildon_button_set_value):
1803 Hide labels containing an empty string.
1805 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1807 * configure.ac: post release version bump
1808 * debian/changelog: post release version bump
1810 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1815 * configure.ac: Bump version.
1816 * debian/changelog: Updates.
1818 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1820 * hildon/hildon-note-private.h: Removed sound_signal_handler
1821 * hildon/hildon-note.c
1822 (on_show_cb): new callback on note "show" event, this simply adds
1823 a idle, with the function sound_handling
1824 (sound_handling): removed the sound_signal_handler management
1825 (hildon_note_init): connect note "show" event to on_show_cb
1826 (hildon_note_realize): remove the connection to "expose-event"
1828 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1829 device?' confirmation note)
1831 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1833 * hildon/hildon-note.c
1834 (hildon_note_new_information_with_icon_name)
1835 (hildon_note_new_confirmation_with_icon_name):
1836 Terminate the list of parameters in g_object_set() calls
1838 Fixes: NB#115166 (Formatting memory card is not taking place)
1840 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1842 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1843 "dialog-information" role for the sound being played.
1845 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1847 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1848 Don't make the menu a modal window, it causes strange interactions
1849 with the pointer grab and it's not really needed.
1851 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1853 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1855 * hildon/hildon-touch-selector.[ch]
1856 (hildon_touch_selector_optimal_size_request): function added to get a
1857 optimal size request from the touch selector, when you want a dialog to
1858 show as much of the selector
1859 * hildon/hildon-picker-dialog.c:
1860 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1861 (hildon_app_menu_class_init):
1862 New "max-height-landscape" and "max-height-portrait" style properties
1863 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1864 (hildon_picker_dialog_get_max_height): returns the maximum height using
1865 the style properties defined and checking the current portrait/landscape
1867 (_hildon_picker_dialog_set_selector): removed the set_size_request
1869 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1871 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1873 * hildon/hildon-bread-crumb-trail.c:
1874 * hildon/hildon-bread-crumb.c:
1875 * hildon/hildon-seekbar.c:
1876 Add reference to replacements for these deprecated widgets.
1878 Fixes: MB#4461 (Documentation: All deprecations should mention
1881 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1883 * examples/hildon-remote-texture-example.c
1885 Change the include to the hildon-remote-texture in order to compile
1886 properly the examples on the installed libhildon1-examples package
1888 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1890 * tests/Makefile.am: Add check for HildonPickerButton.
1891 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1892 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1893 checks for the HildonPickerButton.
1894 * tests/check_test.c (configure_tests): Add the test suite.
1895 * tests/test_suites.h: likewise.
1897 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1899 * hildon/hildon-touch-selector.c
1900 (+on_row_changed): Emit HildonTouchSelector:changed when the
1901 contents of a selected row change.
1902 (_create_new_column), (_hildon_touch_selector_set_model): connect
1903 to GtkTreeModel:row-changed on a newly set model.
1905 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1907 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1909 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1911 * hildon/hildon-banner.c (hildon_banner_destroy)
1912 (hildon_banner_show_progress, hildon_banner_set_fraction):
1913 Remove the progress bar from HildonBanner and use a progress
1916 Fixes: NB#113761 (Update progress banner to use progress
1919 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1921 * hildon/hildon-banner.c:
1922 Calculate size of the banner label using the actual screen width
1923 rather than using a fixed value.
1925 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1928 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1930 * hildon/hildon-pannable-area.c,
1931 (hildon_pannable_area_class_init): Fixed signals documentation
1934 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1936 * configure.ac: post release version bump
1937 * debian/changelog: post release version bump
1939 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1944 * configure.ac: Bump version.
1945 * debian/changelog: Updates.
1947 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1949 * hildon/hildon-edit-toolbar.c
1950 (hildon_edit_toolbar_init):
1951 Don't let buttons in HildonEditToolbar receive focus.
1953 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1954 typing on an HW arrows key)
1956 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1958 * doc/Makefile.am: Fix build.
1960 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1962 * doc/Makefile.am: Do not redefine content_files.
1964 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1972 Renamed src/ to hildon/
1977 Include <hildon/hildon.h> directly in all examples.
1979 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1981 * src/hildon-sort-dialog.c
1982 (hildon_sort_dialog_add_sort_key_with_sorting)
1986 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1988 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1989 make distcheck passes.
1991 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1993 * Makefile.am: Enable gtk-doc during distcheck.
1995 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1997 * Makefile.am: Do not distribute the debian/ directory.
1999 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
2001 * doc/Makefile.am: Add the extra SGML files to content_files,
2002 so that they are distributed properly.
2004 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
2006 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
2009 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
2011 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
2012 (hildon_note_new_information_with_icon_name): Set the "icon" property
2013 to preserve soundness.
2015 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-font-selection-dialog.c
2018 (hildon_font_selection_dialog_set_property): Fail when the "family"
2019 property is set to NULL.
2021 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
2023 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
2026 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
2028 * src/hildon-time-selector.h:
2029 Added HildonTimeSelectorFormatPolicy
2030 * src/hildon-time-selector.c:
2031 Added PROP_TIME_FORMAT_POLICY
2032 (_check_ampm_format): renamed to check_automatic_ampm_format
2033 (update_format_policy), (update_format_dependant_columns): new functions
2034 (hildon_time_selector_class_init)
2035 (hildon_time_selector_contructor)
2036 (hildon_time_selector_init)
2037 (hildon_time_selector_get_property)
2038 (hildon_time_selector_set_property)
2039 (hildon_time_selector_get_time)
2040 (hildon_time_selector_set_time)
2041 * src/hildon-touch-selector.h: new file
2042 * src/hildon-touch-selector.c
2043 (hildon_touch_selector_emit_changed)
2044 (hildon_touch_selector_block_changed)
2045 (hildon_touch_selector_unblock_changed)
2046 Added functions to allow to block the emission of the "changed" signal
2047 * src/hildon-picker-dialog.c
2048 (hildon_picker_dialog_show): call the parent show before the custom code
2049 * examples/hildon-time-button-example.c
2050 Modified, so now you can configure the time format using the new property
2052 Added a new property "time-format-policy" that allow to choose the time
2053 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
2054 case it uses gconf in order to check if the time selector must use
2057 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2060 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2062 * src/hildon-note.c (hildon_note_init):
2063 Label in HildonNote must be left aligned, not centered. This
2064 reverts the last commit in HildonNote.
2066 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2067 is connectivity dialog)
2069 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2074 * doc/hildon-sections.txt:
2075 Added hildon_gtk_window_set_do_not_disturb()
2077 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-note.c (hildon_note_init): Center label.
2081 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2084 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2089 * configure.ac: Bump version.
2090 * debian/changelog: Updates.
2092 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2094 * src/hildon-note-private.h: Add button-width to the private data.
2095 * src/hildon-note.c (+resize_button),
2096 (+hildon_note_orientation_update): methods to repack widgets on orientation
2098 (screen_size_changed): Call above method for confirmation notes.
2099 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2100 (hildon_note_rebuild): Store the original width request from buttons.
2102 Fixes: NB#109635 (Confirmation notes do not support portrait)
2104 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2106 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2107 when it is a progress note.
2109 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2111 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2112 in the note, since there are no horizontally arranged contents.
2114 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2116 * src/hildon-gtk.c (+set_flag): new generic method to
2117 set/delay a flag setting in a window.
2118 (hildon_gtk_window_set_progress_indicator):
2119 (hildon_gtk_window_set_do_not_disturb),
2120 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2121 avoid code redundance.
2123 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2125 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2127 * src/hildon-gtk.c (set_clear_window_flag),
2128 (do_set_progress_indicator), (do_set_do_not_disturb),
2129 (do_set_portrait_flags),
2130 (hildon_gtk_window_set_progress_indicator),
2131 (hildon_gtk_window_set_do_not_disturb),
2132 (hildon_gtk_window_set_portrait_flags):
2133 Allow setting dnd-flag, progress indicator, and portrait flags
2134 when the window is not realized.
2136 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2138 * src/hildon-pannable-area.c,
2139 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2140 the size request policy function and defines.
2142 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2144 * doc/hildon-sections.txt: Add the new API.
2145 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2146 method to set the portrait flags.
2147 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2149 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2151 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2153 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2154 to allow using this method with other flags.
2155 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2156 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2158 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2160 * src/hildon-touch-selector.c
2161 (hildon_touch_selector_append_text_column):
2162 Make the cell renderer use the smallest width possible.
2164 Fixes: NB#108470 (Selected items in multiple selection are either
2165 having a tick that is cut or not visible at all.)
2167 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-touch-selector.c
2170 (hildon_touch_selector_append_text_column):
2173 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2175 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2176 Use g_strdup_printf() instead of a fixed size buffer.
2178 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2180 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2181 Close banners when a HildonAppMenu is popped up.
2183 Fixes: NB#111027 (Title menu closed immediately if activated when
2184 "Invalid e-mail address" banner is shown)
2186 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2191 * configure.ac: Bump version.
2192 * debian/changelog: Updates.
2194 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-banner.c (hildon_banner_realize):
2197 Mark HildonBanner as supporting portrait mode.
2198 Use GDK to set window properties insetad of direct Xlib calls.
2200 Fixes: NB#111830 (HildonBanner should be marked as supporting
2203 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2205 * src/hildon-note.c (hildon_note_rebuild):
2206 Hide action area in information notes. Prevents text from being
2207 slightly aligned to the left.
2209 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2212 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2214 Patch by Mox Soini (ext-mox.soini@nokia.com)
2216 * src/hildon-banner.c (hildon_banner_create_animation):
2217 Use stylus-sized icons in animation banner.
2219 Fixes: NB#111206 (stylus sized icon for animation banner)
2221 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2225 (+hildon_gtk_window_set_do_not_disturb):
2226 New API to set the do-not-disturb flag.
2228 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2230 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2232 * examples/hildon-progress-indicator-example.c: Fix example
2234 * src/hildon-gtk.c (set_clear_window_flag)
2235 (hildon_gtk_window_set_progress_indicator):
2236 Create a generic function for setting flags to a window.
2237 Use GDK instead of direct Xlib calls.
2239 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2241 * src/hildon-button.c (hildon_button_set_arrangement):
2242 Due to NB#88126, if one of the labels is too long it will be
2243 painted outside the button. The 'value' label is more likely to be
2244 the longest one, so we change its packing options in order to
2245 truncate it if necessary. As a side effect, the 'title' label will
2246 no longer be truncated.
2248 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2250 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2255 * configure.ac: Bump version.
2256 * debian/changelog: Updates.
2258 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2260 Deprecation of the hildon_pannable_area_set_size_request_policy
2261 API, the only policy properly supported in gtk+ nowadays is the
2264 * src/hildon-pannable-area.c,
2265 (hildon_pannable_area_size_request): Added a workaround for the
2266 size_request to avoid the problems of huge pixmaps in case someone
2267 is still using the function.
2268 * src/hildon-pannable-area.h: Deprecated the enum with the
2271 Fixes: NB#110244 (Problems with the
2272 hildon_pannable_area_set_size_request_policy API)
2274 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2276 * src/hildon-pannable-area.c,
2277 (hildon_pannable_area_init),
2278 (hildon_pannable_area_size_request),
2279 (hildon_pannable_area_style_set),
2280 (hildon_pannable_draw_vscroll),
2281 (hildon_pannable_draw_hscroll),
2282 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2283 indicator_width to clarify the use of the attribute.
2285 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2290 * configure.ac: Bump version.
2291 * debian/changelog: Updates.
2293 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2295 * src/hildon-picker-dialog.c
2296 * src/hildon-touch-selector.c
2297 Reverting the change that tried to avoid the hardcoded height on
2298 the picker dialog, as causes problems on the hildon-touch-selector
2301 Fixes: NB#110029 (selectors not scrolling to selected value)
2303 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2305 * src/hildon-touch-selector.c: Fix typos
2307 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2309 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2310 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2311 request more motions after using it.
2313 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-calendar.c (hildon_calendar_expose),
2316 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2317 Remove unused variables.
2319 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2321 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2322 variable assignment.
2324 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2326 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2327 Check the return value of gtk_tree_selection_get_selected()
2330 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2332 * src/hildon-animation-actor.c
2333 * src/hildon-button.c
2335 * src/hildon-pannable-area.c
2336 * src/hildon-picker-button.c
2337 * src/hildon-program.c
2338 * src/hildon-remote-texture.c
2339 * src/hildon-text-view.c
2340 * src/hildon-touch-selector.c
2341 * src/hildon-window-stack.c
2342 * src/hildon-window.c:
2343 Add missing 'Since: 2.2' tags.
2345 * doc/hildon-sections.txt:
2346 Add some missing symbols.
2348 * doc/hildon-docs.sgml:
2349 New 'Other' section for HildonAnimationActor and
2352 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2354 Patch by Iván Gómez (igomez@igalia.com)
2357 * doc/compiling.sgml
2358 * doc/hildon-docs.sgml
2359 * doc/hildon-sections.txt
2360 * doc/migration.sgml
2361 * doc/resources.sgml
2363 New chapters on using the Hildon library.
2364 Updated the general structure of the reference manual.
2365 Other minor documentation fixes.
2367 * src/hildon-calendar-popup.c
2368 * src/hildon-calendar.c
2369 * src/hildon-controlbar.c
2370 * src/hildon-date-editor.c
2371 * src/hildon-dialog.c
2372 * src/hildon-hvolumebar.c
2373 * src/hildon-number-editor.c
2374 * src/hildon-range-editor.c
2375 * src/hildon-sort-dialog.c
2376 * src/hildon-time-editor.c
2377 * src/hildon-time-picker.c
2378 * src/hildon-volumebar-range.c
2379 * src/hildon-volumebar.c
2380 * src/hildon-vvolumebar.c
2381 * src/hildon-weekday-picker.c:
2382 Add deprecation notes
2384 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2385 Document 'horizontal-movement' and 'vertical-movement' signals.
2387 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2392 * configure.ac: Bump version.
2393 * debian/changelog: Updates.
2395 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2397 * src/hildon-pannable-area.c,
2398 (hildon_pannable_area_class_init): increased the minimum velocity.
2399 (hildon_pannable_area_button_release_cb): Updated the
2400 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2401 setup. Review the code to control that last event.
2403 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2406 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2408 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2410 * src/hildon-get-password-dialog.c
2411 (hildon_get_password_set_property),
2412 (hildon_get_password_get_property), (create_contents):
2413 * src/hildon-login-dialog-private.h:
2414 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2415 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2416 (hildon_login_dialog_get_password):
2417 * src/hildon-set-password-dialog-private.h:
2418 * src/hildon-set-password-dialog.c
2419 (hildon_set_password_set_property),
2420 (hildon_set_password_get_property), (create_contents),
2421 (hildon_set_password_response_change),
2422 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2424 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2425 instead and look more Fremantle style.
2427 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2429 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2431 * doc/hildon-sections.txt
2432 * src/hildon-window-stack.h
2433 * src/hildon-window-stack.c
2434 (+hildon_window_stack_get_windows):
2435 New API to obtain the list of windows on a stack.
2437 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2439 * src/hildon-app-menu.c (hildon_app_menu_popup)
2440 (hildon_app_menu_class_init, -hildon_app_menu_show):
2441 Remove hildon_app_menu_show() and move all its checks to
2442 hildon_app_menu_popup()
2444 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2446 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2447 (_hildon_picker_dialog_set_selector): removed call to
2448 gtk_widget_set_size_request
2449 * src/hildon-touch-selector.c
2450 (_create_new_column): change the pannable size request policy
2452 Avoid to use a hardcoded height for the hildon picker dialog. In order
2453 to get that, we needed to change the hildon pannable size request
2455 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2457 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2460 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2463 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2465 * debian/control: Depend on osso-system-lock localization package.
2466 * src/hildon-code-dialog.c: Obtain the secu_application_title
2467 translation from osso-system-lock.
2468 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2469 for translation the atk related strings, that's not necessary.
2470 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2471 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2472 cancel button, it is not required.
2474 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2476 * src/hildon-pannable-area.c,
2477 (hildon_pannable_area_class_init): Modified the default value of
2478 the overshooting max speed, we have reduced it.
2480 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2482 * doc/hildon-sections.txt
2483 * src/hildon-window-private.h
2484 * src/hildon-window.h
2485 * src/hildon-window.c (hildon_window_class_init)
2486 (hildon_window_init, hildon_window_finalize)
2487 (hildon_window_realize, hildon_window_get_property)
2488 (hildon_window_set_property, hildon_window_update_markup)
2489 (hildon_window_get_markup, hildon_window_set_markup):
2490 New "markup" property and hildon_window_{get,set}_markup() methods.
2492 * examples/hildon-stackable-window-example.c (new_window):
2493 Update example to use hildon_window_set_markup()
2495 Fixes: NB#106375 (Need API to retitle a window with a title
2498 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2500 * src/hildon-pannable-area.c,
2501 (hildon_pannable_area_class_init): Changed the default value of
2502 the initial_hint to TRUE.
2503 (hildon_pannable_area_initial_effect): Changed the initial effect,
2504 not the effect is just the fade-out of the scrollbars.
2506 Fixes: NB#107775 (No scrollbars can be seen when several items are
2507 available in a dialog)
2509 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2511 * src/hildon-program.c (hildon_program_update_top_most):
2514 Fixes: NB#109179 (Memory leak in Hildon program)
2516 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2518 * src/hildon-banner.c (-get_current_app_window):
2519 Remove unused function.
2521 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2523 * src/hildon-pannable-area.c: Modified the documentation of the
2524 get adjustments functions to explain the problem of using the
2525 adjustment directly.
2526 (hildon_pannable_area_class_init): Improved the explanation about
2529 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2531 * src/hildon-app-menu-private.h
2532 * src/hildon-app-menu.c
2533 (hildon_app_menu_class_init):
2534 Bring back the 'external-border' style property
2535 (hildon_app_menu_class_init, hildon_app_menu_init)
2536 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2537 Set a fixed width-request for the menu, independent of the number
2540 Fixes: NB#94957 (Smoothly opened application menu)
2542 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2544 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2546 * src/hildon-banner.c
2547 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2549 Make sure that the banner is correctly placed the first time it's
2551 (hildon_banner_check_position, -check_fullscreen_state):
2552 Show the banner in the same place no matter if the window is in
2553 fullscreen mode or not.
2555 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2557 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2559 * src/hildon-touch-selector.c (_default_print_func): reorder
2560 concatenation for clarity.
2562 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2564 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2565 for multicolumn selectors.
2567 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2569 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2574 * configure.ac: Bump version.
2575 * debian/changelog: Updates.
2577 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2582 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2584 * configure.ac: removed libcangerra-gtk dependency
2585 * debian/control: removed libcanberra-gtk dependency
2586 * src/Makefile.am: removed libcanberra gtk related flags
2587 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2588 context, and manage a global canberra context instead
2590 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2592 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2594 Patch by Daniel Borgmann (danielb@openismus.com)
2596 * src/hildon-edit-toolbar.c:
2597 Adjust the left padding.
2598 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2599 Paint background of the edit toolbar.
2601 Fixes: NB#107897 (Patch to make editmodetoolbar background
2602 themeable and adjust margin)
2604 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2606 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2608 * src/hildon-program.c (hildon_program_update_top_most):
2609 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2611 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2612 change when the user tasks in/out of an application)
2614 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2616 * configure.ac: added libcangerra-gtk dependency
2617 * debian/control: added libcanberra-gtk dependency
2618 * src/Makefile.am: added libcanberra gtk related flags
2619 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2622 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2624 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-program.c (hildon_program_remove_window)
2627 (hildon_program_add_window): Add checks for the window
2628 parameter. Don't decrease the window counter if the window is not
2631 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2633 * src/hildon-pannable-area.c,
2634 (hildon_pannable_area_realize): Fixed position of the event_window
2635 in the realize method.
2637 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-app-menu-private.h
2640 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2641 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2642 (hildon_app_menu_key_press, hildon_app_menu_init)
2643 (hildon_app_menu_finalize):
2644 Make sure that all idle functions are removed when the widget is
2647 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2649 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2654 * configure.ac: Bump version.
2655 * debian/changelog: Updates.
2657 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-entry.c
2660 (+hildon_entry_show_placeholder),
2661 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2662 that replace hildon_entry_update_contents().
2663 (hildon_entry_set_text),
2664 (hildon_entry_set_placeholder),
2665 (hildon_entry_focus_in_event),
2666 (hildon_entry_focus_out_event): Determine when it is needed
2667 either to show or hide the placeholder and call the above methods.
2669 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2670 when the placeholder text is already set)
2672 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2674 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2675 simple GdkPixbufAnim using the new icons for the banner.
2676 (hildon_banner_show_animation): Use the above mentioned method to
2677 create the animation widget.
2679 Fixes: NB#103564 (Make hildon animation banner use individual
2680 image files as the animation)
2682 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2684 * src/hildon-pannable-area.c,
2685 (hildon_pannable_leave_notify_event): Check if the child is NULL
2686 to avoid sending the leave.
2688 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2690 * src/hildon-pannable-area.c,
2691 (hildon_pannable_area_class_init),
2692 (hildon_pannable_leave_notify_event): Added a handler of the
2693 leave-notify-signal to consider when no motion notify before
2696 Fixes: NB#107494 (Items stay selected when clicking and moving
2697 away when inside pannable area)
2699 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2704 * configure.ac: Bump version.
2705 * debian/changelog: Updates.
2707 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2709 Patch by Alberto Garcia (agarcia@igalia.com)
2711 * src/hildon-date-button.c,
2712 (hildon_date_button_class_init),
2713 (hildon_date_button_init): Removed the construct property handling
2714 and created a default selector in the init method.
2715 * src/hildon-picker-button.c,
2716 (hildon_picker_button_class_init): Removed the construct flag of the
2719 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2721 * src/hildon-main.c (hildon_init):
2722 Don't allow hildon_init() to be called more than once.
2724 Fixes: NB#106607 (hildon_init should issue error message upon
2727 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2729 * examples/hildon-pannable-area-touch-list-example.c
2730 * examples/hildon-pannagle-area-touch-grid-example.c
2731 * examples/hildon-edit-toolbar-example.c
2732 * examples/hildon-touch-selector-multi-cells-example.c
2733 Removed the call to gtk_rc_parse_string, as it is not required since
2736 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2738 * src/hildon-pannable-area.c,
2739 (hildon_pannable_area_class_init): Modified the default panning
2740 threshold of the widget to 6px.
2742 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2743 than the threshold value ) within the button is not sending the
2746 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2748 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2749 for the treeview in the new column. This way, the touch list will never
2752 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2753 be selected manually for the HW keys to work)
2755 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2757 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2758 comparison instead of using strcmp(). Fixes a compiler warning as well.
2760 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2762 * doc/hildon-docs.sgml: Do not set the library version in the
2763 document title, use the releaseinfo tag for that purpose instead.
2765 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2767 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2768 Do not jump to the first item if the text in the entry is removed.
2770 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2775 * configure.ac: Bump version.
2776 * debian/changelog: Updates.
2778 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2780 * src/hildon-entry.c (hildon_entry_refresh_contents):
2781 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2782 Use "ReversedSecondaryTextColor" for the placeholder text.
2784 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-text-view.c: Fix compilation warning.
2788 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2790 * src/hildon-button.c (hildon_button_class_init): Don't make
2791 "title" and "value" construction properties, to prevent them from
2792 overwriting labels set from derived classes.
2794 * src/hildon-picker-button.c
2795 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2796 (hildon_picker_button_class_init): Make touch-selector a
2797 construction property.
2799 * src/hildon-date-button.c (hildon_date_button_class_init)
2800 (+hildon_date_button_constructed): Add a default date selector if
2803 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-touch-selector.c: Small documentation fixes.
2807 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2809 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2811 * src/hildon-entry.c (hildon_entry_refresh_contents),
2812 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2813 widget name, set the logical color directly instead and a boolean
2814 showing_placeholder instead.
2815 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2816 use the widget name here either.
2818 Fixes: NB#105678 (HildonTextView should use logical colours
2819 instead of setting widget name)
2821 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2823 Patch by Daniel Elster (danielk@openismus.com)
2825 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2826 Add user_data parameter.
2827 (hildon_touch_selector_set_print_func_full): New function akin
2828 hildon_touch_selector_set_print_func() but with support for user
2829 data and a destroy callback.
2830 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2831 to clean up the print function user data.
2832 (hildon_touch_selector_class_init): Install dispose function.
2833 (HildonTouchSelectorPrivate::print_user_data),
2834 (HildonTouchSelectorPrivate::print_destroy_func): New private
2836 (hildon_touch_selector_init): Initialize new private members.
2837 (hildon_touch_selector_get_current_text): Pass along user data
2838 to the print function.
2839 (_default_print_func): Add dummy user_data to parameter list.
2840 * hildon-date-selector.c (_custom_print_func): ditto,
2841 * hildon-time-selector.c (_custom_print_func): ditto,
2842 * hildon-touch-selector-entry.c
2843 (hildon_touch_selector_entry_print_func): ditto.
2845 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2847 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2849 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2851 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2853 * src/hildon-pannable-area.c,
2854 (hildon_pannable_area_init),
2855 (hildon_pannable_area_button_press_cb),
2856 (hildon_pannable_area_motion_notify_cb): We have added code to
2857 handle the leave and enter events when using the motion events.
2859 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2861 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2863 * src/hildon-date-button.c (hildon_date_button_get_date)
2864 (hildon_date_button_set_date): Make sure that the button has a
2867 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2869 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2871 * src/hildon-pannable-area.c,
2872 (hildon_pannable_area_class_init),
2873 (hildon_pannable_area_calculate_velocity): Modify the use of the
2874 force and adapt the value.
2876 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2879 (hildon_app_menu_class_init): Hide the menu if it receives a
2880 delete-event, but don't destroy it
2882 Fixes: NB#104485 (Not able to address the call when application
2883 menu is opened at background)
2885 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2887 * src/hildon-app-menu.c
2888 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2889 Remove the "external-border" style property, let the menu take its
2890 natural size (or the one set by the window manager)
2891 (hildon_app_menu_repack_items):
2892 Don't reshow the menu, avoid flickers.
2894 Partially fixes NB#94957 (Smoothly opened application menu)
2896 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2901 * configure.ac: Bump version.
2902 * debian/changelog: Updates.
2904 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2906 * src/hildon-pannable-area.c,
2907 (hildon_pannable_area_motion_notify_cb): We control that the
2908 direction error margin is used just in case the movement is
2909 allowed in the other direction.
2911 Fixes: NB#105012 (buttons inside a pannable area not getting
2912 release event when dragging/releasing)
2914 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2916 * src/hildon-pannable-area.c,
2917 (hildon_pannable_area_class_init),
2918 (hildon_pannable_area_get_property),
2919 (hildon_pannable_area_set_property),
2920 (hildon_pannable_area_initial_effect),
2921 (hildon_pannable_axis_scroll),
2922 (hildon_pannable_area_button_release_cb): Reviewed the
2923 overshooting effect, now it has its own max
2924 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2925 speed when bouncing.
2927 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2932 * configure.ac: Bump version.
2933 * debian/changelog: Updates.
2935 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2937 * src/hildon-pannable-area.c,
2938 (hildon_pannable_area_class_init): Changed the max speed, now
2939 users can launch the widget very fast. Reduced the default force,
2940 that way it is easier to control the launch speed.
2942 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2944 * src/hildon-pannable-area.c,
2945 (hildon_pannable_area_button_release_cb): Removed this check
2946 because it causes problems when the device is overloaded.
2948 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2950 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2951 add a current_text field to store the text entered in the
2952 touch selector entry.
2953 (_clean_current_selection): clean up the current text as well.
2954 (_save_current_selection), (_restore_current_selection):
2955 Save/restore the text in the entry if the selector is a
2956 HildonTouchSelectorEntry.
2958 Fixes: NB#102541 (value entered in the touch selector entry is not
2959 shown when opened for second time)
2961 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2963 * doc/hildon-sections.txt:
2964 * src/hildon-touch-selector-entry.c
2965 (+hildon_touch_selector_entry_get_entry):
2966 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2968 Fixes: NB#104815 (I need accessor to the entry inside
2969 HildonTouchSelectorEntry)
2971 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2973 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2974 (hildon_app_menu_class_init):
2975 New "filter-vertical-spacing" style property.
2977 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-find-toolbar.c
2980 (hildon_find_toolbar_emit_close)
2981 (hildon_find_toolbar_emit_invalid_input)
2982 (hildon_find_toolbar_entry_activate):
2983 Use g_signal_emit() instead of g_signal_emit_by_name()
2985 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2987 Patch by Mox Soini (ext-mox.soini@nokia.com)
2989 * tests/TEST-CASES.txt
2990 * tests/check-hildon-banner.c
2991 * tests/check-hildon-note.c
2992 * src/hildon-banner.c
2993 * src/hildon-code-dialog.c
2994 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2995 * src/hildon-time-editor.c
2996 * examples/hildon-lookup-example.c (main):
2997 Replace obsolete icon names with new ones.
2999 * src/hildon-find-toolbar-private.h:
3000 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
3001 (-hildon_find_toolbar_emit_search):
3002 Remove find button and change icon of close button.
3004 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
3006 2009-03-05 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-time-button.c (hildon_time_button_new_step):
3009 Use the "touch-selector" property to set the selector directly
3010 when creating the object.
3012 2009-03-05 Alejandro G. Castro <alex@igalia.com>
3014 Added a new example application that allows tuning the pannable
3015 area and replaced defines with properties in order to simplify the
3016 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
3017 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
3018 PROP_DIRECTION_ERROR_MARGIN.
3020 * examples/hildon-pannable-area-tuning-example.c: New example
3022 * src/hildon-pannable-area.c,
3023 (hildon_pannable_area_class_init),
3024 (hildon_pannable_area_init),
3025 (hildon_pannable_area_get_property),
3026 (hildon_pannable_area_set_property),
3027 (hildon_pannable_area_launch_fade_timeout),
3028 (hildon_pannable_area_adjust_value_changed),
3029 (hildon_pannable_axis_scroll),
3030 (hildon_pannable_area_motion_notify_cb),
3031 (hildon_pannable_area_scroll_cb),
3032 (hildon_pannable_area_button_release_cb): We have converted some
3033 of the defines that control the widget to properties to simplify
3036 2009-03-05 Alberto Garcia <agarcia@igalia.com>
3038 * src/hildon-app-menu.c (hildon_app_menu_map)
3039 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
3040 so it's closed if a new window appears.
3042 Fixes: NB#104485 (Not able to address the call when application
3043 menu is opened at background)
3045 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-color-button.c (hildon_color_button_get_property):Add
3048 missing 'break' statement in in 'case' construct to avoid
3051 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3053 * src/hildon-touch-selector-entry.c
3054 (hildon_touch_selector_entry_get_property),
3055 (hildon_touch_selector_entry_set_property): Add missing 'break'
3056 statements in in 'case' constructs to avoid incorrect warnings.
3058 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3060 * src/hildon-time-editor.c
3061 (hildon_time_editor_get_time_separators): Do not crash if
3062 the first label is NULL.
3064 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3066 * src/hildon-date-selector.c (_month_days): Check for month to be
3067 strictly less than 12, since otherwise we may overrun the array.
3069 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3071 * src/hildon-date-button.c (+hildon_date_button_new_full)
3072 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3073 (hildon_date_button_init): Set the date selector using a
3074 construction property, to make it happen after HildonButton's
3075 "value" property is set.
3077 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3078 current date by default)
3080 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3082 * doc/hildon-sections.txt
3083 * src/hildon-program.c
3084 * src/hildon-stackable-window.c
3085 * src/hildon-window.c:
3086 Documentation updates
3088 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3091 (hildon_window_stack_new, +hildon_window_stack_set_property)
3092 (+hildon_window_stack_get_property)
3093 (hildon_window_stack_class_init)
3094 (+hildon_window_stack_set_window_group)
3095 (+hildon_window_stack_get_window_group):
3096 Make the window group a construction property.
3098 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3100 * doc/hildon-sections.txt
3101 * src/hildon-stackable-window-private.h
3102 * src/hildon-stackable-window.h
3103 * src/hildon-stackable-window.c
3104 (-hildon_stackable_window_set_app_menu)
3105 (-hildon_stackable_window_get_app_menu)
3106 (-hildon_stackable_window_toggle_menu)
3107 (-hildon_stackable_window_finalize)
3108 (hildon_stackable_window_class_init)
3109 (hildon_stackable_window_init)
3110 * src/hildon-window-private.h
3111 * src/hildon-window.h
3112 * src/hildon-window.c (hildon_window_init)
3113 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3114 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3115 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3116 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3117 Moved all HildonAppMenu code to HildonWindow. The menu does not
3118 require a HildonStackableWindow anymore.
3120 * src/hildon-app-menu.c
3121 * src/hildon-program.c
3122 * examples/hildon-app-menu-example.c (main):
3123 Update examples and documentation to reflect HildonAppMenu
3126 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-remote-texture.c
3129 * src/hildon-animation-actor.c:
3130 Don't include unused private headers.
3132 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3134 * src/hildon-program-private.h
3135 * src/hildon-program.c
3136 (hildon_program_set_common_menu)
3137 (hildon_program_get_common_menu)
3138 (hildon_program_set_common_app_menu)
3139 (hildon_program_get_common_app_menu):
3140 Change common menu pointers from GtkWidget* to GtkMenu* and
3141 HildonAppMenu* to avoid unnecessary casts.
3143 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3145 * src/hildon-window.c (hildon_window_set_main_menu):
3146 Removed incorrect 'Since:' tag
3148 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3150 * src/hildon-pannable-area.c,
3151 (hildon_pannable_area_calculate_velocity): We use now the
3152 RATIO_TOLERANCE here to check the distance, fixed typo in the
3154 (hildon_pannable_area_motion_notify_cb): We have to set the type
3155 and time even if we are not sending the motion.
3157 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3159 * doc/hildon-sections.txt
3160 * src/hildon-app-menu.h
3161 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3162 (+hildon_app_menu_get_filters): New methods to get the contents of
3165 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3168 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3170 * src/hildon-app-menu.c (hildon_app_menu_popup):
3173 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-window.h
3176 * src/hildon-window.c (+hildon_window_get_main_menu)
3177 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3178 and deprecated hildon_window_get_menu().
3180 * src/hildon-stackable-window.h
3181 * src/hildon-stackable-window.c
3182 (+hildon_stackable_window_set_app_menu)
3183 (+hildon_stackable_window_get_app_menu)
3184 (hildon_stackable_window_set_main_menu): Created
3185 hildon_stackable_window_{get,set}_app_menu() and deprecated
3186 hildon_stackable_window_set_main_menu().
3188 * doc/hildon-sections.txt
3189 * examples/hildon-app-menu-example.c (main)
3190 * src/hildon-app-menu.c
3191 * src/hildon-program.c:
3192 Updated examples and documentation.
3194 Fixes: NB#103758 (No way to obtain a menu from a
3195 HildonStackableWindow)
3197 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3202 * configure.ac: Bump version.
3203 * debian/changelog: Updates.
3205 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3207 * examples/hildon-remote-texture-example.c: Include
3208 hildon-remote-texture.h explicitely.
3209 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3210 applications not defining _XOPEN_SOURCE which don't require this header.
3212 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3214 * doc/hildon-sections.txt
3215 * src/hildon-app-menu.h
3216 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3217 New function to pop up a HildonAppMenu
3219 * src/hildon-stackable-window.c
3220 (hildon_stackable_window_toggle_menu):
3221 Use hildon_app_menu_popup() to show the menu.
3223 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-app-menu.c (hildon_app_menu_show)
3226 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3227 menu if there's another window between it and its parent window.
3229 Fixes: NB#100468 (Application menu window is launched even when a
3230 new secondary-window/dialog is pending to be shown/realized)
3232 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-window-stack.c (hildon_window_stack_push)
3235 (hildon_window_stack_pop_and_push):
3236 Don't forget to push/pop the first window.
3237 Reverse the window list before calling _push_list()
3239 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-picker-button.h
3242 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3243 Remove "value_changed" slot to avoid ABI breakage
3245 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3247 * src/hildon-pannable-area.c,
3248 (hildon_pannable_area_realize),
3249 (hildon_pannable_area_unrealize),
3250 (hildon_pannable_draw_vscroll),
3251 (hildon_pannable_draw_hscroll): Changed the method to handle the
3252 GC used to draw the transparent scrollbar, this way we avoid
3253 creating the GC all the time when drawing the scrollbars.
3255 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3257 * src/hildon-pannable-area.c,
3258 (hildon_pannable_area_init),
3259 (hildon_pannable_area_remove): Removed some unnecessary casts.
3260 (hildon_pannable_area_dispose): Disconnected some signals before
3261 releasing the adjustments.
3263 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3266 Make sure that all widgets contained in the toolbar are shown.
3268 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3270 * doc/hildon-sections.txt
3271 * src/hildon-picker-button.h
3272 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3273 (_selection_changed, hildon_picker_button_on_dialog_response)
3274 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3275 New hildon_picker_button_value_changed() method.
3278 * src/hildon-picker-button-private.h
3279 * src/hildon-picker-button.c (hildon_picker_button_init)
3280 (+hildon_picker_button_disable_value_changed): Add protected
3281 function for disabling the "value-changed" signal.
3283 * src/hildon-date-button.c (hildon_date_button_set_date):
3284 Don't emit "value-changed" for each one of the three columns.
3286 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3287 before actual change of values)
3289 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3291 * src/hildon-pannable-area.c,
3292 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3293 for the treeview overshooting.
3295 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3297 * src/hildon-banner.c (+hildon_banner_bind_style):
3298 Renamed from hildon_banner_bind_label_style(), now naming the
3299 banner itself as well.
3300 (hildon_banner_show_information),
3301 (hildon_banner_show_information_with_markup),
3302 (hildon_banner_show_animation), (hildon_banner_show_progress):
3303 Name the widgets and labels, based on their type.
3305 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3308 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3310 * src/hildon-note.c (hildon_note_set_property): call
3311 hildon_note_rename() on HildonNote:note-type set.
3312 (hildon_note_rename): Name the note and its label, based on the
3313 HildonNote:note-type property.
3315 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3318 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3320 * src/hildon-pannable-area.c,
3321 (hildon_pannable_area_class_init),
3322 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3323 panning parameters, increased SPS and deceleration factor. Added
3324 also a margin to control fake directions.
3326 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3328 Patch by Sven Herzberg (sven@imendio.com)
3330 * configure.ac: Add missing AM_PROG_CC_C_0
3331 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3333 See NB#101420 (Update unit tests and fix make check)
3335 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3337 This patch was applied before but reverted because it caused
3338 problems, we have changed the main condition and tested the
3339 regressions we detected before and they work ok. We have done a
3340 complete review of the topmost algorithm in order to get a more
3343 * src/hildon-pannable-area.c,
3344 (hildon_pannable_area_get_topmost): Added a new parameter to
3345 filter the the windows that do not include those events.
3346 (hildon_pannable_area_button_press_cb),
3347 (hildon_pannable_area_button_release_cb),
3348 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3349 topmost function, we have added the new parameter.
3351 Fixes: NB#97458 (Pannable area prevents propagation of button
3354 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3356 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3357 if all columns in the selector have an item selected.
3358 (_on_dialog_response): Stop "response" signal emission if there is
3359 any selector column without selected items.
3361 Fixes: NB#101889 (Picker dialog should not close when nothing is
3362 selected in multiple selection list)
3364 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3366 * src/hildon-font-selection-dialog.c
3367 (hildon_font_selection_dialog_class_init),
3368 (hildon_font_selection_dialog_init): Remove the preview
3369 button and dialog, since previewing with default theming is likely
3370 to be overcomplicated. The :preview property has now no effect.
3371 Update documentation blurbs to inform about this.
3373 Fixes: NB#92297 (Preview content is not clearly visible for
3374 default colour text)
3376 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3378 Reviewed the geometry that handles the children size and
3379 scrollbar, now it tries a size and reviews the results depending
3380 on the scrollbars visibility.
3382 * src/hildon-pannable-area.c,
3383 (hildon_pannable_area_realize): Fixed a typo.
3384 (hildon_pannable_area_child_allocate_calculate): Added this
3385 function to calculate the child allocation.
3386 (hildon_pannable_area_size_allocate): Reviewed the allocation
3388 (hildon_pannable_area_check_scrollbars),
3389 (hildon_pannable_area_refresh): Refactored refresh function, this
3390 way we can call the code handling the scrollbars without causing a
3391 size_request, it is interesting in the allocate.
3392 (hildon_pannable_area_init): Replace the callbacks of the
3393 value_changed and changed signals to propertly deal with the
3395 (hildon_pannable_area_grab_notify),
3396 (hildon_pannable_area_initial_effect),
3397 (hildon_pannable_area_launch_fade_timeout),
3398 (hildon_pannable_area_adjust_changed),
3399 (hildon_pannable_area_adjust_value_changed),
3400 (hildon_pannable_area_redraw),
3401 (hildon_pannable_area_button_press_cb),
3402 (hildon_pannable_area_button_release_cb),
3403 (hildon_pannable_area_scroll_cb),
3404 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3405 code and use the new functions adjust_changed and
3406 adjust_value_changed.
3408 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3409 Contact editor dialog)
3411 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3416 * configure.ac: Bump version.
3417 * debian/changelog: Updates.
3419 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3421 * src/hildon-pannable-area.c,
3422 (hildon_pannable_area_get_topmost),
3423 (hildon_pannable_area_button_press_cb),
3424 (hildon_pannable_area_button_release_cb),
3425 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3426 topmost function adding the event mask. We have to try a
3427 differente approach because it is still causing problems (NB#9745,
3430 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3432 * src/hildon-banner.c:
3433 Update the maximum width of timed banners.
3434 (force_to_wrap_truncated): Enforce the maximum text width if the
3437 Fixes: NB#102413 (The text margins (wrapping) in information
3438 banner should be HILDON_MARGIN_TRIPLE)
3440 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3442 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3444 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3445 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3446 bound when calculating the scroll indicator position.
3448 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3449 treat ->lower correctly)
3451 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3453 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3454 expose event handling, since it is not necessary to draw the focus
3457 Fixes: NB#102467 (Do not show highlight on the text in
3460 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3463 full height of the toolbar for the button and the label.
3465 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3468 padding before the label and after the button.
3470 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3472 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3474 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3475 Add a GtkVSeparator between the button and the back arrow.
3476 Let the button have automatic size.
3477 Set a name to the widget for theming handling.
3479 Fixes: NB#101793 (Make edit toolbar the same height as window
3480 title bar (use title area theming))
3482 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3484 * src/hildon-helper.c (attach_new_color_element): Fix memory
3487 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3489 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3491 * examples/hildon-button-example.c (common_buttons_window): Don't
3494 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3496 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3497 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3499 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3501 * src/hildon-gtk.c: Check that the window is realized.
3503 Fixes: NB#102225 (Crash setting the progress indicator to a non
3506 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3509 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3510 instead of modifying the one in the widget style.
3512 Fixes: NB#101043 (Second row of all the command button are
3513 displayed in transparent mode.)
3515 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3517 * src/hildon-date-button.c
3518 * src/hildon-time-button.c: Add gettext macros
3520 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3522 * src/hildon-date-button.c (hildon_date_button_new):
3523 * src/hildon-time-button.c (hildon_time_button_new_step):
3524 Use new logical strings to set the button default title.
3526 Fixes: NB#99915 (Date and Time options are not localised in Date
3529 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3531 * src/hildon-pannable-area.c
3532 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3533 the PANNING_THRESHOLD.
3535 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3537 * src/hildon-pannable-area.c,
3538 (hildon_pannable_area_class_init): Increased the maximum speed.
3539 (hildon_pannable_area_get_property),
3540 (hildon_pannable_area_set_property),
3541 (hildon_pannable_area_timeout): Added a new low friction mode, it
3542 allows the user avoid friction when launching the widget fast
3543 enough. It is interesting to traverse long lists.
3545 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3547 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3548 (+hildon_stackable_window_delete_event): Ignore delete events if
3549 the window is not the topmost one.
3551 Fixes: NB#101698 (Back button long press and delete-event handling)
3553 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3555 * src/hildon-pannable-area.c,
3556 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3557 gtk-dnd-drag-threshold, it was too big. We have defined our own
3558 dnd define and set a smaller value: PANNIG_THRESHOLD.
3560 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3562 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3563 user-defined icons, use always the default one.
3565 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3567 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3569 This patch was applied before but reverted because it caused
3570 problems, we have changed the main condition and tested the
3571 regressions we detected before and they work ok.
3573 * src/hildon-pannable-area.c,
3574 (hildon_pannable_area_get_topmost): Added a new parameter to
3575 filter the the windows that do not include those events. Added
3576 also a condition when finding the window to filter windows that do
3577 not ask for those events.
3578 (hildon_pannable_area_button_press_cb),
3579 (hildon_pannable_area_button_release_cb),
3580 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3581 topmost function, we have added the new parameter.
3583 Fixes: NB#97458 (Pannable area prevents propagation of button
3586 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3588 * tests/check-hildon-color-button.c (START_TEST): do not leak
3591 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-font-selection-dialog.c
3594 (hildon_font_selection_dialog_get_preview_text): Return NULL
3595 instead of FALSE on the g_return_val_if_fail().
3597 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3599 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3600 * src/hildon-date-selector.c
3601 (hildon_date_selector_select_current_date):
3602 Do not compare unsigned integers to be greater than or equal 0,
3603 because it's always TRUE.
3605 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3607 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3608 (hildon_date_selector_constructor): Do not select the current
3609 date until we are handle the "changed" signal, to avoid having bogus
3610 elements in the days model.
3612 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3614 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3615 for num_days, since _month_days() can return a negative value.
3617 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3619 * src/hildon-caption.c (hildon_caption_size_allocate):
3620 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3621 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3623 Initialize allocation variables to 0, to avoid eventually using
3624 unitialized variables.
3626 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-bread-crumb-trail.c
3629 (hildon_bread_crumb_trail_size_allocate):
3630 * src/hildon-calendar.c (hildon_calendar_set_background):
3631 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3632 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3633 * src/hildon-seekbar.c (hildon_seekbar_init):
3634 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3635 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3636 * src/hildon-touch-selector-entry.c
3637 (hildon_touch_selector_get_text_from_model):
3638 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3639 * src/hildon-window.c (hildon_window_finalize):
3641 Remove many unused variables.
3643 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3645 * src/hildon-seekbar.c: (hildon_seekbar_init),
3646 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3648 Remove unnecessary g_assert() calls.
3650 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3652 * src/hildon-caption.c: (hildon_caption_expose),
3653 (hildon_caption_set_property), (hildon_caption_init),
3654 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3655 (hildon_caption_size_request), (hildon_caption_size_allocate),
3656 (hildon_caption_forall), (hildon_caption_set_separator),
3657 (hildon_caption_activate), (hildon_caption_set_child_expand),
3658 (hildon_caption_set_label_text),
3659 (hildon_caption_get_label_alignment):
3661 Remove unnecessary g_assert() calls.
3663 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3665 * src/hildon-banner.c
3666 (hildon_banner_map, hildon_banner_init): Make banner temporary
3667 before mapping it to avoid closing other temporary windows, but
3668 make it non-temporary afterwards to avoid being closed by other
3669 non-temporary windows.
3670 (-hildon_banner_client_event, hildon_banner_init):
3671 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3673 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3676 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3678 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3681 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3683 * src/hildon-remote-texture.c
3684 * src/hildon-remote-texture.h
3685 * src/hildon-remote-texture-private.h
3686 * examples/hildon-remote-texture-example.c:
3687 Updates/fixes to remote-texture and its example.
3689 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3691 Patch by Mox Soini (ext-mox.soini@nokia.com)
3693 * src/hildon-code-dialog.c: Update logical id.
3694 * src/hildon-set-password-dialog.c: Update logical id.
3696 Fixes: NB#100646 (Logical strings is shown for ok in set
3697 password,Password needed dialogs)
3699 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3702 * src/hildon-remote-texture.c
3703 * src/hildon-remote-texture.h
3704 * src/hildon-remote-texture-private.h
3706 Added remote texture widget (for Clutter shared memory textures)
3708 * examples/hildon-remote-texture-example.c
3709 * examples/Makefile.am
3710 Added example file for remote texture usage
3712 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3714 * configure.ac: post release version bump.
3715 * debian/changelog: version bump.
3717 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3722 * configure.ac: Bump version.
3723 * debian/changelog: Updates.
3725 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3727 * src/hildon-date-selector.c (hildon_date_selector_init)
3728 (hildon_date_selector_constructor): Don't connect to the "changed"
3729 signal until the selector is completely constructed.
3731 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3733 * src/hildon-touch-selector.c: (_create_new_column),
3734 (hildon_touch_selector_append_column),
3735 (hildon_touch_selector_set_column_selection_mode),
3736 (hildon_touch_selector_set_active),
3737 (hildon_touch_selector_select_iter):
3738 Emit the HildonTouchSelector::changed signal every time selection
3739 is changed in any of the methods above. This behavior was already
3740 documented but not fully functional.
3742 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3743 selection is programmatically changed)
3745 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3747 * doc/hildon-sections.txt: Remove obsolete icon
3748 sizes from here as well.
3750 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3752 * examples/hildon-stackable-window-example.c (add_window): Remove
3755 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3757 * src/hildon-app-menu.c
3758 (hildon_app_menu_show): Check whether the parent window of a menu
3759 is topmost before popping it up.
3761 Fixes: NB#100468 (Application menu window is launched even when a
3762 new secondary-window/dialog is pending to be shown/realized.)
3764 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3766 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3769 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3771 Patch by Mox Soini (ext-mox.soini@nokia.com)
3773 * src/hildon-banner.c: (hildon_banner_show_animation):
3774 use stylus size instead of obsolete note size.
3775 * src/hildon-defines.h: Update icon sizes.
3777 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3779 * src/hildon-touch-selector-entry.c:
3780 (hildon_touch_selector_entry_init): Disable unsupported
3782 (hildon_touch_selector_entry_get_text_column): Emit a warning
3783 if an unsupported input modes is used and explicitile state
3784 these modes in the documentation.
3786 Fixes: NB#99802 (Hildon touch selector entry not working properly
3787 for some of the input modes)
3789 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3791 * src/hildon-pannable-area.c,
3792 (hildon_pannable_area_init): Added the changed signal handlers of
3795 Fixes: NB#100320 (HildonPannableArea does not listen to
3796 GtkAdjustment "change" signals)
3798 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3800 * doc/hildon-sections.txt
3801 * src/hildon-window-private.h
3802 * src/hildon-window.h
3803 * src/hildon-window.c (hildon_window_init)
3804 (hildon_window_realize, hildon_window_unrealize)
3805 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3806 (hildon_window_size_request, hildon_window_size_allocate)
3807 (hildon_window_forall, hildon_window_show_all)
3808 (hildon_window_destroy, +paint_edit_toolbar)
3809 (+hildon_window_set_edit_toolbar):
3810 New hildon_window_set_edit_toolbar() method, to add a
3811 HildonEditToolbar to a window without having to pack it manually.
3813 Reorganize hildon_window_size_allocate()
3815 * src/hildon-edit-toolbar.c: Update documentation.
3817 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3818 example to use the new API.
3820 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3822 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3824 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3825 Remove from stack before calling parent's hide.
3827 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3830 window is removed from the middle of the stack, update the
3831 transiency of the previous one.
3833 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3836 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3838 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3839 block/unblock the signal handler if it's not actually being used.
3840 Fixes some critical warnings.
3842 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3844 Based on a patch by Iván Gómez (igomez@igalia.com)
3846 * src/hildon-banner.c
3850 * src/hildon-pannable-area.c
3851 * src/hildon-picker-dialog.c
3852 * src/hildon-wizard-dialog.h
3853 * src/hildon-wizard-dialog.c: Documentation updates.
3855 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3856 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3858 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3860 * configure.ac: post release version bump.
3861 * debian/changelog: version bump.
3863 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3868 * configure.ac: Bump version.
3869 * debian/changelog: Updates.
3871 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3873 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3874 a stock icon nor change the relief of the back arrow.
3876 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3877 graphics from theme)
3879 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3881 * src/hildon-button.c (hildon_button_set_alignment): Use
3882 priv->alignment if the button has no child yet.
3884 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-button.c: (hildon_button_init): Set the
3887 button style during initialization to give it the proper
3890 Fixes: NB#99713 (HildonButton value label color is wrong)
3892 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3894 * src/hildon-touch-selector.c: Document
3895 hildon_touch_selector_center_on_selected()
3897 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3899 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3900 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3901 all menu items, but not the menu itself.
3902 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3903 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3904 items after adding them to the menu so keyboard accelerators work.
3905 (hildon_app_menu_show): Don't show the menu if it contains items
3906 but none of them are visible.
3908 * examples/hildon-app-menu-example.c (create_menu): Use
3909 gtk_widget_show_all() to show all menu items.
3911 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3913 * src/hildon-picker-dialog.c:
3914 (-_update_title_on_selector_changed_cb),
3915 (-_dialog_update_title): Removed.
3916 (_select_on_selector_changed_cb), (_on_dialog_response),
3917 (on_selector_columns_changed): Do not update the dialog title.
3918 (setup_interaction_mode): Do not connect to
3919 HildonTouchSelector::changed signal if there's a "done" button, as
3920 the dialog title doesn't need to be updated.
3922 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3925 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3927 Patch by Kristian Rietveld (kris@imendio.com)
3929 * src/hildon-touch-selector.c: (_create_new_column): Use new
3930 GtkTreeView::hildon-row-tapped signal to react to user interactions
3931 instead of ::changed.
3933 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3934 with some dynamic tree model)
3936 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3938 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3939 (+screen_size_changed, +label_size_request)
3940 (hildon_note_class_init): Make the Hildon information note have a
3941 minimum height, and make its text hvae a maximum width.
3943 Fixes: NB#98614 (Hildon information note (background) should have
3944 minimum height and maximum text width)
3946 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3948 * src/hildon-banner.h
3949 * src/hildon-banner.c (hildon_banner_show_information)
3950 (hildon_banner_show_informationf)
3951 (hildon_banner_show_information_with_markup): Update documentation
3952 to reflect that the icon_name parameter is not used anymore.
3953 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3954 Remove all code from these functions and mark them as deprecated.
3955 (hildon_banner_show_progress): Mark as deprecated.
3957 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3959 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3961 * src/hildon-pannable-area.c,
3962 (hildon_pannable_area_class_init),
3963 (tranparency_color),
3964 (hildon_pannable_draw_vscroll),
3965 (hildon_pannable_draw_hscroll),
3966 (hildon_pannable_area_expose_event): Added a new way to render the
3967 scrollbars of the pannable area avoiding using cairo at all. This
3968 way we improve the performance of the pannable area rendering. The
3969 cairo rendering procedure is still in the code, we can control
3970 which one to use changing the value of the define
3971 USE_CAIRO_SCROLLBARS.
3973 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3975 * configure.ac: post release version bump.
3976 * debian/changelog: version bump.
3978 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3983 * configure.ac: Bump version.
3984 * debian/changelog: Updates.
3986 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3988 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3989 banners instead of destroying them when they receive a button
3992 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3994 Reverted commit 34028, it was causing regressions, probably the
3995 topmost condition is not correct, we have to check it in more
3996 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3997 propagation of button press events)
3999 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
4001 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
4002 that the selection is not empty before attempting to retrieve the
4003 current ampm selection.
4005 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
4007 * src/hildon-picker-button.c:
4008 (hildon_picker_button_on_dialog_response): Directly update the
4009 button contents when required instead of calling _selection_changed.
4011 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4013 * src/hildon-program.c (hildon_program_update_top_most): Update
4014 'is-topmost' property also when wm_hints is not set.
4016 Fixes: NB#98383 (is-topmost signal is not emitted when task
4017 switcher is clicked.)
4019 2009-01-23 Alejandro G. Castro <alex@igalia.com>
4021 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
4025 * src/hildon-animation-actor.c,
4026 * src/hildon-animation-actor.h: Added the animation actor class,
4027 this widget represents an animation actor for WM-assisted
4028 animation effects in the Hildon framework.
4030 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4032 * src/hildon-window-stack-private.h
4033 * src/hildon-window-stack.c
4034 * src/hildon-stackable-window.c (hildon_stackable_window_show):
4035 Avoid calling gtk_widget_show() again indirectly from
4036 hildon_stackable_window_show()
4038 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4040 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
4043 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4045 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
4046 (hildon_time_selector_init): Move the construction of the hours and
4047 ampm columns to the constructor to preserve the order the columns
4050 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4052 * src/hildon-picker-dialog.c:
4053 (hildon_picker_dialog_class_init): Connect a realize method.
4054 (+hildon_picker_dialog_realize): Setup the interaction mode here
4056 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4057 yet, do it during the realize instead.
4058 (_on_dialog_response):
4059 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4060 if the widget is not realized, to avoid the dialog response before it
4063 Avoid premature responses in the HildonPickerDialog that can cause it
4064 to be hidden before it's even shown.
4066 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4068 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4069 (on_selector_columns_changed), (requires_done_button),
4070 (+prepare_action_area), (setup_interaction_mode),
4071 (_hildon_picker_dialog_set_selector):
4073 Split the interaction mode setup into preparation of the
4074 action area (prepare_action_area()) and the connection of
4075 the signals in setup_interaction_mode() and update the code to
4078 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4080 * src/hildon-pannable-area.c,
4081 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4082 per second to 15, we will check if this is ok regarding
4085 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4087 * src/hildon-pannable-area.c,
4088 (hildon_pannable_axis_scroll): Avoid resize if we already have
4089 reached overshoot_max.
4091 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4093 * src/hildon-pannable-area.c,
4094 (hildon_pannable_area_init),
4095 (hildon_pannable_area_realize),
4096 (hildon_pannable_area_size_allocate),
4097 (hildon_pannable_area_map),
4098 (hildon_pannable_area_unmap),
4099 (hildon_pannable_draw_vscroll),
4100 (hildon_pannable_draw_hscroll),
4101 (hildon_pannable_area_expose_event),
4102 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4103 pannable are to avoid the expose events go to the window and
4104 redraw the window. We save this way that part of the stack and the
4105 paint_boxes. We had to change the positions of the elements when
4108 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4110 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4111 * src/hildon-color-chooser-dialog.c:
4112 (hildon_color_chooser_dialog_init):
4113 * src/hildon-font-selection-dialog.c:
4114 (hildon_font_selection_dialog_init),
4115 (hildon_font_selection_dialog_show_preview):
4116 * src/hildon-get-password-dialog.c:
4117 * src/hildon-login-dialog.c:
4118 * src/hildon-set-password-dialog.c:
4119 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4120 * src/hildon-time-picker.c: (hildon_time_picker_init):
4122 Remove obsolete logical string IDs and update to the appropriate ones.
4124 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4126 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4128 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4129 that happens if the window hasn't been realized yet.
4131 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4132 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4134 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4136 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4137 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4140 Fixes: NB#98537 (Device hangs in account settings dialog)
4142 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4144 * configure.ac: post release version bump.
4145 * debian/changelog: version bump
4147 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4152 * configure.ac: Bump version.
4153 * debian/changelog: Updates.
4155 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4157 Added a new function to the HildonTimeButton widget that allows to
4158 change the step of the minutes in the selector associated with the
4159 button: hildon_time_button_new_step
4161 * src/hildon-time-button.c,
4162 (hildon_time_button_init),
4163 (hildon_time_button_new),
4164 (hildon_time_button_new_step):
4165 * src/hildon-time-button.h: Added the new function and refactored
4167 * examples/hildon-time-button-example.c,
4168 (main): We have replaced the function without parameters with the
4169 function with the steps set to 5
4171 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4173 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4175 * src/hildon-time-selector.c,
4176 (hildon_time_selector_class_init),
4177 (hildon_time_selector_constructor),
4178 (hildon_time_selector_get_property),
4179 (hildon_time_selector_set_property),
4180 (_create_minutes_model),
4181 (hildon_time_selector_new_step),
4182 (hildon_time_selector_set_time),
4183 * src/hildon-time-selector.h: Added a new property to the
4184 HildonTimeSelector (minutes-step), we use that property to control
4185 the steps between the minutes in the list of the selector. We have
4186 added a new function to the API to create a widget changing the
4187 step: hildon_time_selector_new_step.
4189 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4191 * src/hildon-time-selector.c,
4192 (hildon_time_selector_class_init),
4193 (hildon_time_selector_constructor),
4194 (hildon_time_selector_init): Overrided the construct function when
4195 creating the time selector object. We have moved the minutes model
4196 handling code from the init to the new construction function:
4197 hildon_time_selector_constructor.
4199 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4201 * examples/hildon-date-button-example.c: (main): Use the new
4202 hildon_date_button_new_with_year_range() method in the example.
4203 * src/hildon-date-button.c:
4204 (+hildon_date_button_new_with_year_range): New public method
4205 to conveniently create a HildonDateButton with a custom year range
4206 in its HildonDateSelector.
4207 * src/hildon-date-button.h: Add the new public method definition.
4209 Fixes: NB#97908 (Not possible to change the year range in
4210 HildonDateSelector/HildonDateButton)
4212 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4214 * src/hildon-date-selector.c:
4215 (+hildon_date_selector_set_property),
4216 (+hildon_date_selector_get_property),
4217 (hildon_date_selector_class_init): Install new properties "min-year"
4218 and "max-year" to define boundaries for the year column.
4219 (_create_year_model): Use the boundary properties to populate the model.
4220 (+hildon_date_selector_new_with_year_range): New public method to
4221 create a HildonDateSelector with a user defined year range.
4222 (hildon_date_selector_select_current_date): Use the new boundaries to
4223 calculate the iterator of current year.
4224 * src/hildon-date-selector.h: Add the new public method definition.
4226 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4228 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4229 Install a constructor method.
4230 (+hildon_date_selector_construct_ui): construct the widget.
4231 (+hildon_date_selector_constructor): new constructor.
4232 (+hildon_date_selector_init): move out widget construction code to
4233 the new constructor.
4235 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4237 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4238 that there's actually a month or year selected before obtaining them.
4239 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4240 of the HildonTouchSelector::changed signal, as it was emitted on every
4241 single item selection.
4243 Fix some warnings and possible crashers due to the selection restoring.
4245 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4247 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4248 the signal handlers only after creating the dialog instead of on every
4251 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4253 * src/hildon-button.c (hildon_button_init)
4254 * src/hildon-check-button.c (hildon_check_button_init)
4255 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4256 focus when clicked by default.
4258 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4260 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4263 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4265 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4266 Alejandro G. Castro (alex@igalia.com)
4268 * src/hildon-picker-dialog.c:
4269 (hildon_picker_dialog_class_init): install new "center-on-show"
4271 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4272 (hildon_picker_dialog_set_property): add setter code for the new
4274 (hildon_picker_dialog_get_property): add getter code for the new
4276 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4277 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4280 Fixes: NB#92849 (Selected item is not always visible when
4281 HildonTouchSelector is shown)
4283 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4285 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4286 Alejandro G. Castro (alex@igalia.com)
4288 * src/hildon-touch-selector.c:
4289 (_create_new_column): Do not connect to the "realize" signal of the
4291 (hildon_touch_selector_append_column): center on the selected items
4292 when a new column is appended.
4293 (hildon_touch_selector_select_iter): Factor out the code to select a
4294 column to hildon_touch_selector_scroll_to().
4295 (+search_nearest_element): Method to retrieve the nearest selected
4296 element to the visible area of the pannable area in a column.
4297 (+on_realize_cb): scroll to the initially selected item.
4298 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4299 the pannable area is realized, otherwise delay this until it is.
4300 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4301 selected items of a given column.
4302 (+hildon_touch_selector_center_on_selected): Public method to center
4303 all columns on the nearest selected item.
4304 * src/hildon-touch-selector.h: Add definition for
4305 hildon_touch_selector_center_on_selected().
4307 Implement public API to ensure visibility of all selected items in
4308 a HildonTouchSelector.
4310 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4312 Fixed a problem in the fading when calling the scroll_to API, and
4313 improve scrollbar fading handling.
4315 * src/hildon-pannable-area.c,
4316 (hildon_pannable_area_grab_notify): avoid the timeout when the
4318 (hildon_pannable_area_button_press_cb),
4319 (hildon_pannable_area_motion_notify_cb): Code style changes.
4320 (hildon_pannable_area_button_release_cb): Review the conditions
4321 when releasing the mouse button to avoid unrequired fading
4323 (hildon_pannable_area_scroll_to): Do not calculate and set the
4324 velocity if the scroll is not required.
4326 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4328 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4329 Don't check whether the new selector is NULL: it cannot be.
4330 Hold a reference to the selector while doing the replacement.
4332 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4335 unnecessary size_request in a removed widget.
4337 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4339 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4340 an unnecessary reference tracking that was leaking.
4342 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4344 Added delayed motion notify event handling, this way we can
4345 discard redrawing if more than 25 events arrive per second.
4347 * src/hildon-pannable-area.c,
4348 (hildon_pannable_area_init): Initialized the new private atributes
4349 controlling this timeout
4350 (hildon_pannable_area_dispose): Remove the timeout that controls
4351 the motion notify events.
4352 (hildon_pannable_area_scroll): Added a condition to control the
4353 use of the acceleration.
4354 (hildon_pannable_area_motion_event_scroll_timeout),
4355 (hildon_pannable_area_motion_event_scroll): Added this two
4356 functions, they handle the motion notify events inside the
4358 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4359 to the scroll method with the new function.
4360 (hildon_pannable_area_button_release_cb): We have to remove the
4361 timeout handler and move to the last position if the last motion
4362 events were not handled.
4364 Fixes: NB#97028 (Pannable area updates on every motion event)
4366 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4368 * src/hildon-pannable-area.c,
4369 (hildon_pannable_area_get_topmost): Added a new parameter to
4370 filter the the windows that do not include those events. Added
4371 also a condition when finding the window to filter windows that do
4372 not ask for those events.
4373 (hildon_pannable_area_button_press_cb),
4374 (hildon_pannable_area_button_release_cb),
4375 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4376 topmost function, we have added the new parameter.
4378 Fixes: NB#97458 (Pannable area prevents propagation of button
4381 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4383 * src/hildon-pannable-area.c,
4384 (hildon_pannable_area_initial_effect): Added controls before
4385 launching the timeout and the idle functions.
4386 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4387 of the method, in some situations it can return with TRUE and 0 in
4389 (hildon_pannable_area_button_press_cb): We do not need to set
4390 DELAY for fading out here.
4392 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4394 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4396 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4397 post-cleaning if the selection is not NULL.
4399 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4401 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4402 all items before restoring the selection.
4404 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4406 * src/hildon-touch-selector.c:
4407 (+hildon_touch_selector_unselect_all):
4408 * src/hildon-touch-selector.h: New API to unselect all items in a
4409 column of the touch selector.
4411 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4413 * src/hildon-pannable-area.c,
4414 (hildon_pannable_area_redraw): Added a call to the refresh
4415 function inside the redraw because apparently in some cases the
4416 change in the adjustment does not imply a size allocate.
4418 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4419 despite the view not being scrollable)
4421 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4424 leak. Check for NULL before attempting to set the window title.
4426 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4428 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4429 whether to show or not the 'Done' button each time the dialog is
4430 shown, as it depends on the HildonTouchSelector selection mode.
4432 Fixes: NB#96226 (In multiple selection mode Done button is shown
4433 sometimes in listpicker)
4435 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4437 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4438 for the number of columns in the HildonTouchSelector more than once.
4440 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4442 * src/hildon-touch-selector.c: Minor documentation fixes.
4444 * src/hildon-picker-dialog.c (+_dialog_update_title)
4445 (_select_on_selector_changed_cb)
4446 (_update_title_on_selector_changed_cb)
4447 (on_selector_columns_changed): Update dialog title when there's no
4448 'Done' button and also when the number of columns in the selector
4452 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4453 (+_selection_changed, hildon_picker_button_on_dialog_response)
4454 (hildon_picker_button_selector_selection_changed)
4455 (+hildon_picker_button_selector_columns_changed)
4456 (hildon_picker_button_set_selector): Update button value and emit
4457 'value-changed' when the number of columns in the selector
4461 Fixes: NB#96225 (Dialog titles are not shown according to the
4462 values selected in the list picker)
4464 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4466 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4467 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4468 New "arrow-width" and "arrow-height" style properties to set the
4469 size of the arrow button.
4470 Set name of arrow button ("hildon-edit-toolbar-arrow").
4472 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4473 graphics from theme)
4475 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4477 * src/hildon-picker-button.c:
4478 (hildon_picker_button_selector_selection_changed): Use
4479 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4480 the dialog is present.
4482 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4483 the selection is accepted in the dialog)
4485 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4487 * src/hildon-color-chooser.h
4488 * src/hildon-color-chooser-dialog.h:
4489 Added G_BEGIN_DECLS and G_END_DECLS
4491 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4493 (_clean_current_selection): plug a leak in the list.
4495 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4497 * src/hildon-picker-dialog.c:
4498 (+free_path_list): Method to free a GList of GtkTreePaths.
4499 (_clean_current_selection), (_save_current_selection),
4500 (_restore_current_selection): Save the current selection in
4501 as a list of lists, to support multiple selection properly.
4503 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4505 patch by Claudio Saavedra (csaavedra@igalia.com)
4507 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4508 Store the press position.
4509 (+hildon_text_view_button_release_event): If the release position is
4510 close enough to the press position, move the cursor here. Otherwise,
4512 (hildon_text_view_class_init): Override GtkTextView press, release, and
4513 motion event handlers, disabling this way text selection through
4514 pointer interaction, and allowing the container widget to handle the
4517 Fixes: NB#95828 (HildonTextView functionality)
4519 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4521 Based on a patch by Iván Gómez (igomez@igalia.com)
4523 * src/hildon-button.[ch]
4524 * src/hildon-calendar.c
4525 * src/hildon-check-button.c
4526 * src/hildon-date-editor.c
4527 * src/hildon-date-selector.c
4528 * src/hildon-picker-button.c
4529 * src/hildon-time-editor.c
4530 * src/hildon-time-selector.c
4531 * src/hildon-touch-selector.[ch]:
4532 Documentation updates
4534 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4536 * src/hildon-pannable-area.c,
4537 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4538 threshold, it was required due to X events handling.
4540 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4542 * src/hildon-pannable-area.c,
4543 (hildon_pannable_area_grab_notify),
4544 (hildon_pannable_area_initial_effect),
4545 (hildon_pannable_area_button_press_cb),
4546 (hildon_pannable_area_button_release_cb),
4547 (hildon_pannable_area_scroll_cb),
4548 (hildon_pannable_area_scroll_to): Review the timeout management of
4549 the scrollbar, the frecuency was incorrectly set.
4551 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4553 * src/hildon-picker-button.c:
4554 (+hildon_picker_button_on_dialog_response),
4555 (hildon_picker_button_clicked): Present the dialog instead of
4556 running it with gtk_dialog_run().
4558 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4561 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4563 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4564 (hildon_app_menu_finalize): When a window is hidden it doesn't
4565 emit notify::is-topmost, so make sure than the menu also
4566 disappears in that case.
4567 (parent_window_topmost_notify): Renamed from parent_window_hidden
4569 Fixes: NB#94460 (stackable window's menu is not closed when its
4572 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4574 * src/hildon-touch-selector-entry.c:
4575 (+hildon_touch_selector_entry_set_input_mode),
4576 (+hildon_touch_selector_entry_get_input_mode):
4577 * src/hildon-touch-selector-entry.h: New methods to access the input
4578 mode in the selector's entry.
4580 Fixes: NB#93410 (API required for setting IM mode in
4581 HildonTouchSelectorEntry)
4583 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4585 * configure.ac: post release version bump.
4586 * debian/changelog: version bump
4588 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4593 * configure.ac: Bump version.
4594 * debian/changelog: Updates.
4596 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4598 * src/hildon-touch-selector.c:
4599 (_hildon_touch_selector_has_multiple_selection): No need
4600 to initialize the variables here.
4602 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4604 * src/hildon-note-private.h
4605 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4606 (hildon_note_finalize, hildon_note_rebuild): Close information
4607 notes when they receive a button press.
4609 Fixes: NB#89890 (Information notes does not get disappeared after
4612 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4614 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4615 mark from the wizard title, as it's not really necessary. Also,
4616 do not display the page title if not set.
4618 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4620 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4621 (parent_window_hidden): Use the window's "is-topmost" property to
4622 detect when to hide the menu.
4624 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4626 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4627 (hildon_app_menu_finalize): If the parent window of the menu is
4628 hidden, hide the menu too.
4630 Fixes: NB#94460 (stackable window's menu is not closed when its
4633 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4636 * debian/libhildon1-examples.install
4638 * examples/Makefile.am:
4639 Use dh_install to install all examples.
4640 Use DEB_SRCDIR instead of defining SOURCE_DIR
4642 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4644 * configure.ac: post release version bump.
4645 * debian/changelog: version bump
4647 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4652 * configure.ac: bump version
4653 * debian/changelog: updates
4654 * debian/control: bump gtk+ dependency
4656 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4658 patch by Christian Dywan (christian@imendio.com)
4660 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4661 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4663 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4665 * src/hildon-check-button.c (hildon_check_button_init)
4666 (hildon_check_button_class_init, hildon_check_button_style_set)
4667 (hildon_check_button_apply_style):
4668 New "checkbox-size" style property.
4670 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4671 larger / configurable size)
4673 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4675 * configure.ac: post release version bump.
4676 * debian/changelog: version bump
4678 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4683 * configure.ac: bump version
4684 * debian/changelog: updates
4686 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4688 * doc/hildon-sections.txt
4689 * src/hildon-pannable-area.c
4690 * src/hildon-program.c
4691 * src/hildon-time-editor.c
4692 * src/hildon-touch-selector-entry.c:
4694 More documentation updates.
4696 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4698 * doc/hildon-sections.txt
4699 * src/hildon-caption.c
4700 * src/hildon-code-dialog.c
4701 * src/hildon-color-button.c
4702 * src/hildon-controlbar.c
4703 * src/hildon-date-editor.c
4704 * src/hildon-date-selector.c
4705 * src/hildon-edit-toolbar.c
4706 * src/hildon-find-toolbar.c
4707 * src/hildon-font-selection-dialog.c
4709 * src/hildon-program.c
4710 * src/hildon-range-editor.c
4711 * src/hildon-seekbar.c
4712 * src/hildon-time-editor.c
4713 * src/hildon-time-selector.c
4714 * src/hildon-volumebar-range.c
4715 * src/hildon-volumebar.c
4716 * src/hildon-vvolumebar.c
4717 * src/hildon-weekday-picker.c
4718 * src/hildon-window.c
4719 * src/hildon-wizard-dialog.c:
4721 Lots of documentation fixes.
4723 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4725 Patch contributed by Iván Gómez (igomez@igalia.com)
4727 * src/hildon-check-button.c:
4728 * src/hildon-date-button.c:
4729 * src/hildon-date-selector.c:
4730 * src/hildon-dialog.c:
4731 * src/hildon-edit-toolbar.c:
4732 * src/hildon-entry.c:
4733 * src/hildon-picker-button.c:
4734 * src/hildon-program.c:
4735 * src/hildon-text-view.c:
4736 * src/hildon-time-button.c:
4737 * src/hildon-touch-selector-entry.c:
4738 * src/hildon-window-stack.c:
4740 Add more "since" tags to the new API.
4742 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4744 * doc/hildon-sections.txt: Add below method.
4745 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4746 version for the hildonized scale.
4747 * src/hildon-gtk.h: Add the definition.
4749 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4751 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4753 * doc/hildon-sections.txt: Add missing entries for new methods.
4755 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4757 Added API to pannable are in order to get its adjustments. We
4758 added two properties to manage the values we had in the private
4761 * src/hildon-pannable-area.c:
4762 (hildon_pannable_area_class_init): Added hadjustment and
4763 vadjustment properties in order to expose horizontal and vertical
4765 (hildon_pannable_area_get_property),
4766 (hildon_pannable_area_set_property): Added code to handle the new
4768 (hildon_pannable_area_get_hadjustment),
4769 (hildon_pannable_area_get_vadjustment): API functions to get the
4771 * src/hildon-pannable-area.h:
4772 (hildon_pannable_area_get_hadjustment),
4773 (hildon_pannable_area_get_vadjustment): API functions to get the
4776 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4778 Fixed some leaks, after valgrinding.
4780 * src/hildon-touch-selector.c:
4781 (_default_print_func): Fixed a leak.
4782 (hildon_touch_selector_append_column): Fixed a leak.
4783 * src/hildon-date-button.c:
4784 (hildon_date_button_init): Fixed a leak.
4785 * src/hildon-date-selector.c
4786 (hildon_date_selector_finalize): Fixed a leak.
4788 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4790 Based on a patch by Christian Dywan (christian@imendio.com)
4792 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4794 * src/hildon-gtk.h: Add definition.
4796 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4798 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-picker-button.c: (hildon_picker_button_init),
4801 (hildon_picker_button_new): Set the HildonButton::style property
4802 in the init method, to propagate the value to the derived classes.
4804 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-button.c: (hildon_button_class_init): Do not make
4807 the "style" property a construct property.
4809 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4811 * src/hildon-wizard-dialog.h
4812 * src/hildon-wizard-dialog.c
4813 (hildon_wizard_dialog_set_forward_page_func)
4814 * src/hildon-pannable-area.h
4815 * src/hildon-pannable-area.c
4816 (hildon_pannable_area_set_size_request_policy):
4817 Documentation fixes.
4819 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4821 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4823 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4825 * doc/hildon-sections.txt: Added sections file.
4827 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4830 * src/*.[ch]: Updates.
4832 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4834 * examples/hildon-progress-indicator-example.c: new file
4835 * examples/Makefile.am: include the new example program
4837 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4839 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4841 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4843 * configure.ac: post release version bump
4844 * debian/changelog: version bump
4846 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4851 * configure.ac: bump version
4852 * debian/changelog: updates
4853 * debian/control: bump gtk+ dependency
4855 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4857 * src/hildon-dialog.c: Mark as deprecated.
4858 * src/hildon-dialog.h: Mark as deprecated.
4859 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4860 from HildonDialog and still work, even if
4861 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4862 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4864 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4865 maemo changes) instead)
4867 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4869 * src/hildon-pannable_area.h:
4870 * src/hildon-pannable_area.c:
4871 (hildon_pannable_area_class_init),
4872 (hildon_pannable_area_set_property),
4873 (hildon_pannable_area_get_property),
4874 (hildon_pannable_area_size_request),
4875 (hildon_pannable_area_get_size_request_policy),
4876 (hildon_pannable_area_set_size_request_policy): Added new API
4877 allowing applications to control the request policy. Now they can
4878 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4879 children allocation (HILDON_MOVEMENT_CHILDREN).
4881 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4885 (hildon_gtk_tree_view_set_ui_mode)
4886 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4887 mode of treeviews and iconviews.
4889 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4891 * src/hildon-touch-selector-entry.c:
4892 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4893 of a GtkEntry to get proper theming.
4895 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4896 widget, not GtkEntry)
4898 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4900 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4901 no HildonWizardDialogPageFunc.
4903 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4905 Patch contributed by Iván Gómez (igomez@igalia.com)
4907 * src/hildon-app-menu.c:
4908 * src/hildon-button.c:
4909 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4910 * src/hildon-stackable-window.c:
4911 * src/hildon-time-selector.c:
4912 * src/hildon-touch-selector.c:
4913 * src/hildon-window.c:
4915 Add more "since" tags to the new API in hildon 2.2.
4917 2008-12-05 Tim Janik <timj@imendio.com>
4919 Patch contributed by Christian Dywan (christian@imendio.com)
4921 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4922 HildonSizeType, which are supplied by Gtk+ now.
4924 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4926 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4927 (with maemo changes) instead)
4929 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4931 Patch contributed by Iván Gómez (igomez@igalia.com)
4933 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4936 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4938 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4939 (some_page_func), (main): Update the example to use a
4940 HildonWizardDialogPageFunc function.
4942 * src/hildon-wizard-dialog-private.h: Add private data for
4943 the HildonWizardDialogPageFunc function usage.
4945 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4946 (destroy), (hildon_wizard_dialog_init), (response),
4947 (hildon_wizard_dialog_set_forward_page_func):
4948 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4949 that applications can use to stop a HildonWizardDialog to jump to
4952 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4955 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4957 * src/hildon-program.h
4958 * src/hildon-program-private.h
4959 * src/hildon-program.c (hildon_program_init)
4960 (hildon_program_set_common_app_menu)
4961 (hildon_program_get_common_app_menu):
4962 New API for setting a common HildonAppMenu for all
4963 HildonStackableWindows registered with the HildonProgram.
4965 * src/hildon-stackable-window.c
4966 (hildon_stackable_window_toggle_menu):
4967 Use the common HildonAppMenu if a window doesn't have a specific
4970 * src/hildon-app-menu-private.h
4971 * src/hildon-app-menu.c
4972 (hildon_app_menu_get_parent_window):
4973 Function to obtain the window a HildonAppMenu is attached to.
4974 (hildon_app_menu_set_parent_window):
4975 Hide the menu if the parent window is set to NULL.
4977 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4979 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4980 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4981 search widget to popup.
4983 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4985 * configure.ac: post release version bump
4986 * debian/changelog: version bump
4988 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4993 * configure.ac: bump version
4994 * debian/changelog: updates
4996 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4998 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
5000 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
5001 (hildon_window_stack_window_realized)
5002 (hildon_window_stack_remove, _hildon_window_stack_do_push):
5003 Set the leader GdkWindow when a window is stacked and realized,
5004 unset it when it's unstacked.
5005 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
5007 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
5009 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5011 * src/hildon-stackable-window.h
5012 * src/hildon-window-stack.h:
5013 Protect definition of HildonWindowStack using the preprocessor.
5015 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5017 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
5018 Fix warning if all menu items are hidden.
5020 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
5022 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5024 * src/hildon-controlbar.c:
5025 * src/hildon-hvolumebar.c:
5026 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
5027 Multiple scale size defines updates.
5029 Fixes: NB#94322 (Scale Updates)
5031 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5033 * examples/hildon-app-menu-example.c (create_menu)
5034 Show items after adding them to the menu, as in the future the
5035 menu will no longer call gtk_widget_show() on the added items.
5037 * src/hildon-app-menu.c:
5038 Update example as explained above.
5040 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-app-menu.c
5043 (hildon_app_menu_insert, hildon_app_menu_add_filter):
5044 Make sure that all menu items have finger height.
5046 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
5048 * src/hildon-picker-dialog.c:
5049 (_on_dialog_response), (_save_current_selection),
5050 (_restore_current_selection), (_clean_current_selection),
5051 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
5052 Defined new functions in order to save the current internal selector
5053 selection previous open the dialog, in case that the use cancel the
5054 interaction, so the widget restores the previous selection.
5056 Fixes: NB#92032 (In calendar application, date values in 'new event'
5059 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5061 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5063 * src/hildon-button.c: Add a reference to the button examples in
5064 hildon-button-example.c
5066 * examples/hildon-button-example.c: Added examples of the most
5067 common button layouts.
5069 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5071 * src/hildon-app-menu.c (hildon_app_menu_show)
5072 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5074 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5076 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/hildon-picker-dialog.c:
5079 (hildon_picker_dialog_init): Initialize the signal id for
5080 HildonTouchSelector::columns-changed.
5081 (+on_selector_columns_changed): Set up the interaction mode everytime a
5082 column is added or removed from the HildonTouchSelector.
5083 (_hildon_picker_dialog_set_selector): Connect to
5084 HildonTouchSelector::columns-changed and keep track of it.
5086 Make sure to update the interaction mode of the dialog everytime a
5087 column is added or removed in the HildonTouchSelector.
5089 Fixes: NB#93228 (Done button is not shown always in listpicker)
5091 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5093 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5094 a new ::columns-changed signal.
5095 (hildon_touch_selector_append_column): Emit ::columns-changed.
5096 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5098 Add a ::columns-changed signal, emitted when the number of columns in a
5099 HildonTouchSelector changes.
5101 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5103 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5104 (_hildon_picker_dialog_set_selector): Factor out the code
5105 to set up the dialog interaction mode.
5107 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5109 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5110 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5111 to signal_changed_id.
5113 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5115 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5118 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5120 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5121 Updated the logical ids related to ampm format, as now it is required to
5122 show it correctly localized even on languages with no default
5123 abbreviations for am or pm
5124 (_check_am_pm_format): check correctly the 24h format gconf property
5126 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5128 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5130 * src/hildon-button.c: Documentation updates.
5132 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5134 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5135 * src/hildon-caption.c: (hildon_caption_class_init):
5136 * src/hildon-color-button.c: (hildon_color_button_class_init):
5137 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5138 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5139 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5140 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5142 Remove deprecated GTK+ marshalers and replace them with the ones
5143 provided by GLib, for those available, add a marshaler for
5144 BOOLEAN:VOID, which is not available in GLib, and use it.
5146 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5148 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5149 the text from the previous column if there is no
5150 HildonTouchSelectorColumn::text-property set.
5152 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-button.h
5155 * src/hildon-button.c (hildon_button_set_property)
5156 (hildon_button_get_property, hildon_button_class_init)
5157 (hildon_button_set_style, hildon_button_get_style):
5158 New "style" property to change the visual appearance of the
5161 * src/hildon-picker-button.c (hildon_picker_button_new):
5162 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5164 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5165 HildonButton look like PickerButton)
5167 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5169 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5170 column while building the default string.
5172 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5174 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5175 scroll indicator by default.
5177 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5179 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5181 * src/hildon-main.c: Fix the documentation for hildon_init()
5183 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5185 * doc/hildon-docs.sgml
5189 * src/hildon-window-stack-private.h
5190 * src/hildon-window-stack.h
5191 * src/hildon-window-stack.c:
5192 New HildonWindowStack object, that adds support for multiple
5193 stacks of windows per process.
5195 * src/hildon-stackable-window-private.h
5196 * src/hildon-stackable-window.h
5197 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5198 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5199 (hildon_stackable_window_show, hildon_stackable_window_hide)
5200 (hildon_stackable_window_class_init)
5201 (hildon_stackable_window_init):
5202 Use HildonWindowStack for stack management.
5204 * src/hildon-program.c (hildon_program_pop_window_stack)
5205 (hildon_program_peek_window_stack)
5206 (hildon_program_go_to_root_window):
5207 Add a fallback implementation to the deprecated functions using
5210 * examples/hildon-stackable-window-example.c:
5211 Use the new HildonWindowStack API.
5213 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5215 * src/hildon-stackable-window-private.h
5216 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5217 (hildon_stackable_window_hide, hildon_stackable_window_init):
5218 Remove all window stack management.
5220 * src/hildon-program-private.h
5221 * src/hildon-program.h
5222 * src/hildon-program.c (hildon_program_init)
5223 (hildon_program_pop_window_stack)
5224 (hildon_program_peek_window_stack)
5225 (hildon_program_go_to_root_window):
5226 Remove all window stack management and mark functions as
5229 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5231 * src/hildon-app-menu.c (hildon_app_menu_realize):
5232 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5234 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5236 * configure.ac: post release version bump
5237 * debian/changelog: version bump
5239 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5244 * configure.ac: bump version
5245 * debian/changelog: updates
5247 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5249 Based on initial code by Christian Dywan (christian@imendio.com)
5251 * doc/hildon-docs.sgml: Add section for hildon-main.
5252 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5253 * src/Makefile.am: Add new hildon-main.[ch]
5254 * src/hildon-defines.h: Update the icon sizes.
5255 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5256 new library initialization files and register icon sizes.
5257 * src/hildon-main.h: New declarations.
5258 * src/hildon.h: Include hildon-main.h
5260 Add new initialization functions to the library. These methods
5261 will register the hildon specific icon sizes and can be used in the
5262 future for other hildon specific bits.
5264 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5266 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5268 * src/hildon-window.c: (hildon_window_realize),
5269 (hildon_window_notify), (-hildon_window_update_title): Do not set
5270 the application name in the window title.
5272 Fixes: NB#89754 (Applications shouldn't display their names in the
5275 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5277 * src/hildon-note-private.h:
5278 * src/hildon-note.c: (hildon_note_set_property),
5279 (hildon_note_get_property), (hildon_note_class_init),
5280 (hildon_note_init), (hildon_note_finalize),
5281 (hildon_note_new_confirmation_with_icon_name),
5282 (hildon_note_new_information_with_icon_name):
5284 No need to mark as deprecated the actual code. Revert
5285 to avoid missing symbols in widgets using deprecated API.
5287 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5289 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5291 * src/hildon-volumebar.h
5292 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5293 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5295 * src/hildon-helper.h
5296 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5297 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5299 * examples/Makefile.am:
5300 Deprecate hildon-insensitive-example
5302 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5304 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5306 * examples/hildon-pannable-area-buttons-scroll-example.c:
5307 Make all buttons finger height
5309 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5311 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5313 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5314 update the day model only if it is really required, and to avoid the
5315 full-reconstruction aproach. Now it only add or remove the required days.
5317 The purpose of this is avoid superfluous HildonTouchSelector::changed
5320 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5321 with strange parameters)
5323 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5325 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5327 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5328 the WINDOW_TYPE property.
5330 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5332 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5335 Fix dependency to allow parallel compilation with make -jX
5337 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5339 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5340 color frame and some minor tweaks to make it more consistent with
5343 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5344 highlighted but not visible)
5346 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5348 * examples/Makefile.am: Fixed typo in the Makefile.am.
5350 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5352 Reviewed the use of MAEMO_GTK define, now we add the define in the
5353 compilation line, and we also add it to the pc file.
5355 * configure.ac: Added MAEMO_GTK define to the compilation command
5356 and removed it from the config.h.
5358 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5359 do not have to take care about this define if the library was
5363 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5365 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5367 * examples/Makefile.am,
5368 * examples/hildon-pannable-area-buttons-scroll-example.c,
5369 * examples/hildon-pannable-area-gesture-signals-example.c,
5370 * examples/hildon-pannable-area-scroll-jump-example.c,
5371 * examples/hildon-pannable-area-tree-view-example.c:
5372 Renamed the pannable area examples, now they have more meaningful
5375 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5377 * src/hildon-touch-selector.c:
5378 (hildon_touch_selector_set_column_selection_mode): Used of
5379 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5380 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5381 to avoid re-seting the same selection mode.
5383 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5384 breaks HildonPickerDialog)
5386 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5388 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5389 conditional in the Makefile.am
5391 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5393 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5394 Remove unused methods.
5396 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5398 * src/hildon-button.c (hildon_button_init):
5399 Make button images center-aligned by default
5401 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5404 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5405 activated, we have to think about how to deal with both defines
5406 MAEMO_GTK and MAEMO_CHANGES.
5408 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5410 * examples/hildon-app-menu-example.c (create_menu): Make all
5411 buttons finger size.
5413 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5415 Fixed the compilation without maemo gtk adding ifdefs with
5416 MAEMO_GTK define to the code, we have to check this version more
5419 * examples/Makefile.am: Added control to avoid some examples that
5420 just make sense with maemo gtk.
5423 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5424 hildon modes with the define.
5426 * examples/hildon-edit-toolbar-example.c,
5427 (create_icon_view): Create the icon view without hildon-gtk
5428 helpers if we are not using maemo gtk.
5430 * src/hildon-touch-selector.c,
5431 (_create_new_column): Create the treeview without hildon-gtk
5432 helpers if we are not using maemo gtk.
5434 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5436 * src/hildon-pnnable-area.c,
5437 (hildon_pannable_area_dispose),
5438 (hildon_pannable_area_button_press_cb),
5439 (hildon_pannable_area_child_mapped),
5440 (hildon_pannable_area_add),
5441 (hildon_pannable_area_remove): Added code to control the position
5442 of the event_window when adding and removing children from the
5443 pannable. We have to raise the event window when the child is
5446 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5447 selection mode using custom widget inside pannable)
5449 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5451 * configure.ac: post release version bump
5452 * debian/changelog: version bump
5454 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5459 * configure.ac: bump version
5460 * debian/changelog: updates
5462 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5464 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5465 search mode, in order to avoid lose the focus on the treeview when
5466 a hw key (like enter) is pressed.
5468 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5469 in HildonDateSelector dialog)
5471 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5473 * debian/rules: Added --enable-maintainer-mode
5474 * Makefile.am: Added ACLOCAL_AMFLAGS
5476 This allows to properly regenerate the Makefiles if you modify the
5477 configure.ac or any Makefile.am.
5479 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5481 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5482 properties, not needed at all.
5484 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5486 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5488 * src/hildon-note.c: (hildon_note_set_property),
5489 (hildon_note_get_property), (hildon_note_class_init),
5490 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5491 (hildon_note_new_confirmation_add_buttons): Remove icons.
5492 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5493 (hildon_note_new_information_with_icon_name): Deprecate.
5494 (hildon_note_new_confirmation): Act directly, without calling
5495 the deprecated constructor.
5496 (hildon_note_new_information): Act directly, without calling
5497 the deprecated constructor.
5498 * src/hildon-note.h: Mark deprecate methods as such.
5499 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5500 not run tests on the deprecated methods if built with deprecation
5503 Fixes: NB#91688 (Never show icons in information notes/confirmation
5506 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5508 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5509 (hildon_app_menu_key_press): Remove leftover usage of the
5510 private structure in HildonAppMenu struct.
5511 * src/hildon-app-menu.h: Remove leftover private structure
5512 from the HildonAppMenu struct.
5514 Fixes a crasher when using the HildonAppMenu.
5516 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5518 * src/hildon-picker-dialog.c: Use appropriate logical id
5519 for the default "Done" text.
5521 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5523 * configure.ac: post release version bump
5524 * debian/changelog: version bump
5526 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5528 Modified the way to scroll to the current selection just when the touch
5529 selector is shown on the screen, avoiding a g_idle. Added too a property
5530 to configure this behaviour. See hildon_pannable_area_jump_to_child
5531 documentation for more information.
5533 * src/hildon-touch-selector.c
5534 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5535 Added 'initial-scroll' property
5536 (hildon_touch_selector_set_property): Added
5537 (hildon_touch_selector_map): Removed as not required anymore
5538 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5539 only a concrete column, instead of iterate along all the columns
5541 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5546 * configure.ac: bump version
5547 * debian/changelog: updates
5549 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5551 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5552 compilation time warnings.
5554 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5556 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5557 the default value for HildonPannableArea::mov-mode to
5558 HILDON_PANNABLE_AREA_MODE_VERT.
5560 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5562 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5564 Reverting following commit:
5566 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-app-menu-private.h
5569 * src/hildon-app-menu.[ch]
5570 * src/hildon-button.[ch]
5571 * src/hildon-check-button.[ch]
5572 * src/hildon-entry.[ch]
5573 * src/hildon-pannable-area.[ch]
5574 * src/hildon-text-view.[ch]:
5575 Added private field to the object's structure.
5577 because it causes an ABI breakage. We will need to introduce these
5578 changes later at some point. See NB#91636 for an extensive
5579 explanation and status.
5581 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5583 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5585 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5586 remove special cases that are no longer necessary.
5588 Fixes: NB#91016 (Change toolbar sizes, simplification)
5590 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5592 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5593 is shown in the cancel note.
5595 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5597 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5598 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5599 (hildon_seekbar_init): Remove steppers, remove expose event.
5600 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5602 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5604 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5606 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5607 label font to "SmallSystemFont" for vertically arranged buttons.
5609 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5612 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5614 * src/hildon-check-button.c
5615 (hildon_check_button_set_active, hildon_check_button_clicked):
5616 Don't access private parts directly, use getters instead.
5618 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5620 * src/hildon-check-button.c (hildon_check_button_new):
5621 Align the contents of the check button to the left.
5623 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5625 * src/hildon-pannable-area.c,
5626 (hildon_pannable_area_scroll_to),
5627 (hildon_pannable_area_jump_to),
5628 (hildon_pannable_area_scroll_to_child),
5629 (hildon_pannable_area_jump_to_child): Replace the mapped
5630 precondition of these functions with the realized, it is the
5631 correct state of the widget in this case. Changed the
5632 documentation according to this modification.
5634 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5636 Added a new EXTRA_CFLAGS option to add the deprecated define to
5637 the compilation command. This way we can avoid using the define in
5638 the documentation compilation.
5640 * configure.ac: Defined EXTRA_CFLAGS.
5642 * examples/Makefile.am:
5644 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5646 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5648 * src/hildon-picker-dialog.c:
5649 Defined a utility macro with the desired touch selector height
5650 Removed currently unused separator, and title_label variables from
5652 (hildon_picker_dialog_init): Removed code related to the creation
5653 of unused private variables title_label and separator.
5654 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5655 to ensure correct visualization of the touch selector inside the dialog.
5656 * src/hildon-touch-selector.c
5657 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5658 ensure a concrete height of the widget.
5660 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5663 * tests/Makefile.am:
5665 Remove spurious whitespaces.
5667 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5669 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5670 compilation warning after the cancel button removal.
5672 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5674 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5676 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5677 Makefile.am, that way we can choose not to compile some examples
5678 and tests of the deprecated widgets.
5680 * examples/Makefile.am: Divided the sources in deprecated and
5683 * src/Makefile.am: Added undef statement of the deprecated
5684 symbol to the enums file generation process.
5686 * src/hildon-color-chooser-dialog.c
5687 * src/hildon-color-chooser-dialog.h
5688 * src/hildon-color-button.c
5689 * src/hildon-color-button.h
5690 * src/hildon-color-chooser.c
5691 * src/hildon-color-chooser.h
5692 * src/hildon-controlbar.c
5693 * src/hildon-controlbar.h
5694 * src/hildon-date-editor.c
5695 * src/hildon-date-editor.h
5696 * src/hildon-hvolumebar.c
5697 * src/hildon-hvolumebar.h
5698 * src/hildon-private.c
5699 * src/hildon-private.h
5700 * src/hildon-range-editor.c
5701 * src/hildon-range-editor.h
5702 * src/hildon-seekbar.c
5703 * src/hildon-seekbar.h
5704 * src/hildon-time-editor.c
5705 * src/hildon-time-editor.h
5706 * src/hildon-time-picker.c
5707 * src/hildon-time-picker.h
5708 * src/hildon-volumebar.c
5709 * src/hildon-volumebar.h
5710 * src/hildon-vvolumebar.c
5711 * src/hildon-vvolumebar.h
5712 * src/hildon-bread-crumb-trail.h
5713 * src/hildon-bread-crumb-trail.c
5714 * src/hildon-calendar-popup.c
5715 * src/hildon-calendar-popup.h
5716 * src/hildon-weekday-picker.c:
5717 * src/hildon-weekday-picker.h:
5718 * src/hildon-bread-crumb-widget.c:
5719 * src/hildon-bread-crumb-widget.h:
5720 * src/hildon-bread-crumb.c:
5721 * src/hildon-bread-crumb.h:
5722 * src/hildon-calendar.c:
5723 * src/hildon-calendar.h:
5724 * src/hildon-caption.c:
5725 * src/hildon-code-dialog.c:
5726 * src/hildon-code-dialog.h:
5727 * src/hildon-font-selection-dialog.c:
5728 * src/hildon-font-selection-dialog.h:
5729 * src/hildon-get-password-dialog.c:
5730 * src/hildon-get-password-dialog.h:
5731 * src/hildon-login-dialog.c:
5732 * src/hildon-login-dialog.h:
5733 * src/hildon-number-editor.c:
5734 * src/hildon-number-editor.h:
5735 * src/hildon-set-password-dialog.c:
5736 * src/hildon-set-password-dialog.h:
5737 * src/hildon-sort-dialog.c:
5738 * src/hildon-sort-dialog.h: This is the list of deprecated
5741 * src/hildon-touch-selector.c:
5742 * src/hildon-window.c: Added undef statement to avoid compilation
5745 * tests/Makefile.am: Divided the sources in deprecated and
5748 * tests/check_test.c,
5749 (configure_tests): Marked the deprecated code that was adding
5750 suites with deprecated tests.
5752 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5754 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5756 * src/hildon-touch-selector.c: (_default_print_func): Do not
5757 duplicate a string returned by gtk_tree_model_get(), it is already
5760 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5763 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5765 * src/hildon-pannable-area.c
5766 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5767 method, it had problems when adding a widget with viewport the
5768 second time. Now checks if it already has a viewport and uses it.
5770 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5773 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5775 * src/hildon-pannable-area.c,
5776 (hildon_pannable_area_scroll_to),
5777 (hildon_pannable_area_jump_to),
5778 (hildon_pannable_area_scroll_to_child),
5779 (hildon_pannable_area_jump_to_child): Added a precondition to the
5780 scroll and jump to functions: the widget must be mapped before we
5781 can safely call these functions. We have also added documentation
5782 to the functions to explain how to use them in this situation.
5785 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5787 Reviewed the threading handling of the pannable widget, we have
5788 used the gdk_threads_add_timeout function instead of the usual
5789 glib handlers. This avoids some problems with the threads.
5791 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5792 (hildon_pannable_area_initial_effect),
5793 (hildon_pannable_area_scroll_indicator_fade),
5794 (hildon_pannable_area_button_press_cb),
5795 (hildon_pannable_area_timeout),
5796 (hildon_pannable_area_motion_notify_cb),
5797 (hildon_pannable_area_button_release_cb),
5798 (hildon_pannable_area_scroll_cb),
5799 (hildon_pannable_area_scroll_to): Removed the
5800 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5801 gdk_threads_add_timeout.
5803 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5805 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5810 * configure.ac: bump version
5811 * debian/changelog: updates
5813 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5815 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5816 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5817 * src/hildon-color-chooser-dialog.c:
5818 (hildon_color_chooser_dialog_init):
5819 * src/hildon-font-selection-dialog.c:
5820 (hildon_font_selection_dialog_init):
5821 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5823 Remove all cancel/close-like dialogs, as these are not going to be
5826 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5828 * src/hildon-note.c: (hildon_note_rebuild),
5829 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5832 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5834 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5836 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5837 sure all buttons are shown, even the Cancel/Close-like ones.
5839 Fixes: NB#90861 (Custom Confirmation dialogs should be
5840 protected from cancel button removal)
5842 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5844 * debian/control: Change libhildon1-examples dependency from libhildon1
5846 * debian/libhildon1-examples.install
5848 * Makefile.am: Modified the final install directory for the examples on
5849 package libhildon1-examples
5850 * Makefile.static: Update clean target in order to remove all the binary
5853 Changes suggested by Claudio after review new libhildon1-examples package
5855 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5857 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5858 * src/hildon-touch-selector.c: Ditto.
5860 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5862 * debian/control: Added new package libhildon1-examples, in order to pack
5863 the current hildon examples as documentation
5864 * debian/rules: Not to compress .c files, modify some includes on the
5865 examples (as normally are compiled locally, but when installed it will
5866 require to include the installed libhildon1 library), and rename
5868 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5869 install all the example files on the new example package
5870 * examples/Makefile.static: Added static makefile that can be used to
5871 compile the examples, once installed the new example package
5872 * examples: Most of the examples were modified in order to grant that
5873 all use only '#include "hildon.h"', in order to be easy to prepare
5874 it on the example package
5876 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5879 * debian/libhildon1-dev.install
5880 * debian/libhildon1-doc.install:
5881 Move all gtk-doc files to a separate libhildon1-doc package.
5883 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5885 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5887 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5889 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5891 * debian/rules: Fixed a error in order to avoid unnecessary calls
5892 to autogen.sh on package building
5894 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5896 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5898 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5900 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5903 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5905 * src/hildon-picker-button.c
5906 (hildon_picker_button_finalize):
5907 Free priv->done_button_text
5909 * src/hildon-time-button.c
5910 (hildon_time_button_set_time)
5911 * src/hildon-picker-button.c
5912 (hildon_picker_button_clicked)
5913 (hildon_picker_button_selector_selection_changed)
5914 (hildon_picker_button_set_selector)
5915 * src/hildon-date-button.c
5916 (hildon_date_button_set_date):
5917 Free strings returned by hildon_touch_selector_get_current_text()
5919 * src/hildon-button.c (hildon_button_construct_child):
5920 Fix leaks in priv->image and priv->label_box
5922 Fixes: NB#90535 (Memory leak in picker button)
5924 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5926 * src/hildon-button.c: (hildon_button_get_property): Do not access
5927 private elements directly, use getters instead.
5929 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5931 * src/hildon-app-menu-private.h
5932 * src/hildon-app-menu.c
5933 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5934 Store the menu's parent window.
5936 * src/hildon-stackable-window.c
5937 (hildon_stackable_window_toggle_menu)
5938 (hildon_stackable_window_finalize):
5939 Set the menu's parent window when the menu is shown, unset it when
5942 * src/hildon-app-menu.c
5943 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5944 (hildon_app_menu_class_init):
5945 Send unhandled keyboard accelerators to the parent window.
5947 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5949 * src/hildon-stackable-window.c
5950 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5952 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5954 * configure.ac: post release version bump
5956 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5959 * configure.ac: Bump version
5960 * debian/changelog: Updates
5961 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5964 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5966 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5969 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5970 GtkMenu with Hildon style.
5972 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5974 * src/hildon-picker-button.c:
5975 (hildon_picker_button_set_done_button_text): Set the dialog's
5976 done button text here as well.
5978 Fixes: NB#90232 (Picker button does not set the label on done button
5979 for the second time)
5981 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5983 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5986 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5988 * src/hildon-app-menu.c (hildon_app_menu_insert)
5989 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5990 the HildonAppMenu to be activatable using keyboard accelerators
5991 when the menu is not being shown.
5993 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5995 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5997 * src/hildon-stackable-window.c
5998 (hildon_stackable_window_show):
5999 Don't hide old windows automatically when new windows are shown:
6000 this is now a task for the window manager.
6001 (hildon_stackable_window_class_init)
6002 (hildon_stackable_window_hide):
6003 Remove windows from the stack everytime they're hidden.
6004 (hildon_stackable_window_realize):
6005 Don't change the _NET_WM_WINDOW_TYPE property. Use
6006 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
6007 it as a stackable window.
6009 * src/hildon-program.c
6010 (hildon_program_pop_window_stack):
6011 Just hide the window to remove it from the stack.
6012 (hildon_program_go_to_root_window):
6013 Don't call gtk_widget_show(), this is now a task for the window
6016 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
6018 2008-10-15 Alberto Garcia <agarcia@igalia.com>
6020 * src/hildon-button.c
6021 (hildon_button_construct_child):
6022 Don't pack anything in the button until text or image are
6023 set. This allows adding a custom child after creating the button
6024 with hildon_button_new().
6025 (hildon_button_finalize, hildon_button_class_init)
6026 (hildon_button_init, hildon_button_set_arrangement): Destroy the
6027 alignment and the label box even when they're not packed in the
6030 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
6032 * src/hildon-touch-selector.h:
6033 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
6034 currently the type definition was using GTK_TYPE_VBOX
6035 * src/hildon-touch-selector.c:
6036 Added some implementation notes in order to clarify that any other widget
6037 added without the column related API will not be included on the
6038 selection logic, and how the widget is freed, as some people ask about
6040 (hildon_touch_selector_remove): Reimplemented in order to free properly
6041 the column related data when you remove the private hbox.
6042 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
6043 to get a proper HildonTouchSelectorColumn documentation
6045 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6047 * src/hildon-touch-selector-entry.c:
6048 (hildon_touch_selector_entry_print_func): Return NULL if there is no
6049 text in the GtkEntry and there is no item selected. Fixes a
6052 2008-10-13 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-app-menu-private.h
6055 * src/hildon-app-menu.[ch]
6056 * src/hildon-button.[ch]
6057 * src/hildon-check-button.[ch]
6058 * src/hildon-entry.[ch]
6059 * src/hildon-pannable-area.[ch]
6060 * src/hildon-text-view.[ch]:
6061 Added private field to the object's structure.
6063 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6065 * configure.ac: post-release version bump
6067 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6071 * configure.ac: pre-release version bump
6073 * debian/changelog: updates.
6075 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6077 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6078 Disconnect the handler for HildonTouchSelector::changed.
6080 (hildon_picker_button_selector_selection_changed): Update the button
6081 value if the selection change was not triggered by the
6084 (hildon_picker_button_set_selector): connect to
6085 HildonTouchSelector::changed.
6087 Fixes: NB#89650 (Picker button is not updated, when selection in
6088 selector has changed)
6090 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6092 * src/hildon-picker-dialog.c
6093 (hildon_picker_dialog_realize): Removed as not required
6094 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6095 * src/hildon-picker-button.c
6096 (_current_selector_empty): New function, checks if the selector is empty
6097 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6098 if the current selector is empty, in order to avoid to show the dialog
6099 close the dialog in this case (and shows a g_warning).
6101 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6103 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6105 * src/hildon-pannable-area.c,
6106 (hildon_pannable_area_scroll): Added clause to stop movement when
6107 the child of pannable is smaller than one page.
6108 (hildon_pannable_area_scroll_to): Added conditions to avoid
6109 starting the scrolling movement if the child is smaller than one
6110 page, the complete child is in the screen, we do not have to move.
6112 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6114 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6116 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6117 this is managed automatically by the widget when the size of the
6120 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6122 * src/hildon-picker-button.c
6123 (hildon_picker_button_set_done_button_text): Make a copy of the
6124 text, and free the previous value.
6126 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6128 * src/hildon-touch-selector-entry.c:
6129 (hildon_touch_selector_entry_print_func): Return the selected row's
6130 text if the entry is empty.
6132 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6135 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6137 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6139 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6142 * src/hildon-check-button.h
6143 * src/hildon-check-button.c
6144 * examples/hildon-check-button-example.c:
6145 HildonCheckButton is now a new widget. 'toggled' signal added.
6147 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-program-private.h
6150 * src/hildon-program.c (hildon_program_init)
6151 (hildon_program_finalize): Removed unused variables group_leader
6152 and name from HildonProgramPrivate.
6154 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6156 * src/hildon-check-button.c (hildon_check_button_set_active)
6157 (hildon_check_button_get_active, hildon_check_button_new): Use
6158 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6160 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6162 * src/hildon-touch-selector.h
6163 (hildon_touch_selector_set_column_attributes): added deprecation
6164 guard HILDON_DISABLE_DEPRECATED
6165 * src/hildon-time-selector.c
6166 (hildon_time_selector_set_time)
6167 (hildon_time_selector_get_time): Fixed a typo on documentation
6168 * src/hildon-touch-selector.c: update HildonTouchSelector and
6169 HildonTouchSelectorColumn documentation
6170 * src/hildon-touch-selector-entry.c: update "text-column" property
6172 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6173 to be added to the general documentation.
6175 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6177 * examples/hildon-pannable-area-example-4.c,
6179 * examples/hildon-pannable-area-example.c,
6180 (main): Modified the code in order to use the container add, with
6181 viewport treeviews could have problems if they are really big.
6183 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6185 * src/hildon-weekday-picker.c,
6186 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6187 the agreement regarding deprecation in the library.
6189 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6191 * examples/hildon-picker-button-multicolumn-example.c:
6192 (main): Use custom "done" button text.
6194 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6195 (hildon_picker_button_set_property),
6196 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6197 (hildon_picker_button_init),
6198 (+hildon_picker_button_get_done_button_text),
6199 (+hildon_picker_button_set_done_button_text): New methods to customize
6200 the "done" button label in the launched HildonPickerDialog. Also,
6203 * src/hildon-picker-button.h: add the public API.
6205 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6207 * src/hildon-date-selector.h:
6208 * src/hildon-picker-dialog.h:
6209 * src/hildon-time-selector.h:
6210 * src/hildon-touch-selector-column.h:
6211 * src/hildon-touch-selector.h:
6213 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6214 declarations. Fixes gtk-doc warnings.
6216 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6218 * src/hildon-picker-dialog.h
6219 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6220 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6222 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6223 long text is set as label for done button)
6225 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6227 * src/hildon-dialog.c (hildon_dialog_add_button):
6228 Set fixed width to all buttons in the HildonDialog.
6230 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6232 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6234 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6235 Set widget name using class name plus "-finger" or "-thumb".
6237 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6239 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6240 'clicked' when the state of the button is manually changed.
6242 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6244 * src/hildon-app-menu.c (hildon_app_menu_realize)
6245 (hildon_app_menu_unrealize, hildon_app_menu_init)
6246 (hildon_app_menu_class_init, item_visibility_changed):
6247 Change the menu layout when the size of the screen changes.
6248 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6249 Show warning only when changing the number of colums using the
6252 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6254 * debian/compat: Set to 5
6255 * debian/control: Update dependencies.
6256 * debian/libhildon1-dbg.install: Remove.
6257 * debian/libhildon1-dev.install: Update according to cdbs paths.
6258 * debian/libhildon1.install: Update according to cdbs paths.
6259 * debian/rules: Switch to cdbs.
6261 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6264 'item' variable renamed to 'filter'
6266 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-app-menu.c (hildon_app_menu_insert)
6269 (hildon_app_menu_add_filter, remove_item_from_list)
6270 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6271 Don't leak hidden items when the menu is destroyed.
6273 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6275 * src/hildon-app-menu.c (hildon_app_menu_insert)
6276 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6277 (hildon_app_menu_set_columns, item_visibility_changed)
6278 (filter_visibility_changed, hildon_app_menu_repack_filters)
6279 (hildon_app_menu_repack_items):
6280 Repack items and filters separately.
6282 Don't repack all items, change only the ones that are needed to
6285 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6287 * src/Makefile.am: added hildon-touch-selector-column.h
6289 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6291 * src/hildon-touch-selector.c: added the property "text-column" to the
6292 class HildonTouchSelectorColumn, and related get/set functions
6293 (_default_printf_func): updated to use "text-column" property
6294 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6295 "text-column" in his documentation, as this is now included on
6296 HildonTouchSelectorColumn. The get/set_property can still be used,
6297 working as a wrapper to the concrete column "text-column" property
6298 (_text_column_modified): callback added in order to handle the signal
6299 "notify::text-column" of the concrete HildonTouchSelectorColumn
6300 (hildon_touch_selector_entry_get_text_column)
6301 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6302 modified in order to use the HildonTouchSelectorColumn "text-column"
6304 * src/hildon-time-selector.c:
6305 * src/hildon-date-selector.c:
6306 * examples/hildon-touch-selector-example.c
6307 * examples/hildon-touch-selector-multi-cells-example.c
6308 * examples/hildon-picker-button-multicolumn-example.c
6309 Set the right value to "text-column" property on the creation of a new
6310 column using hildon_touch_selector_append_column()
6312 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6314 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-app-menu.c
6317 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6318 updating the layout of the menu, don't create all widgets again,
6319 just repack the items in their new places.
6321 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6323 * src/hildon-time-selector.c
6324 (hildon_time_selector_get_time)
6325 (hildon_time_selector_set_time)
6326 Added documentation of these public methods
6328 * src/hildon-date-button.h
6329 * src/hildon-touch-selector-column.h
6330 * src/hildon-time-button.h
6331 * src/hildon-picker-dialog.h
6332 * src/hildon-time-selector.h
6333 * src/hildon-picker-button.h
6334 * src/hildon-touch-selector.h
6335 * src/hildon-time-picker.h
6336 * src/hildon-date-selector.h
6337 * src/hildon-touch-selector-entry.h
6338 Modified in order to use hildon-widgets code style
6340 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6342 Added deprecated support to the compilation process using
6343 HILDON_DISABLE_DEPRECATED
6345 * configure.ac: Added the --disable-deprecated to the configure
6348 * src/hildon-weekday-picker.c:
6349 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6350 to use the deprecated support. We will update the other deprecated
6351 widgets status in a new patch.
6353 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6355 * configure.ac: Fixed typo with fatal warnings support, the
6356 variable name was not correct
6358 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6360 * src/hildon-app-menu.c
6361 * src/hildon-program.c: Update documentation.
6363 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6365 * configure.ac: Post-release version bump.
6367 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6372 * configure.ac: Pre-release version bump.
6373 * debian/changelog: Updates.
6375 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6377 * NEWS: Update news for previous releases.
6379 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6381 * examples/hildon-touch-selector-multi-cells-example.c:
6382 (create_selector): Update the example to use
6383 hildon_touch_selector_append_column() with a NULL renderer and set
6384 the renderers later.
6385 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6386 passed a NULL renderer. This is documented behavior now.
6388 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6389 This must be used if the developer wants full control on the layout of
6390 the renderers to be added to the column.
6392 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6394 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6396 * src/hildon-touch-selector.c: Documentation fixes.
6398 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6400 * src/hildon-wizard-dialog-private.h: Remove image and box.
6401 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6402 (hildon_wizard_dialog_set_property), (response): Completely remove
6403 image/icon support, and the containers required for the layout.
6405 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6407 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6409 * src/hildon-app-menu.c: Updated documentation.
6411 * src/hildon-stackable-window.c
6412 (hildon_stackable_window_set_main_menu): Unref the old menu after
6413 ref'ing the new one.
6415 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6417 * src/hildon-stackable-window.c
6418 (hildon_stackable_window_set_main_menu): Unref the previous menu
6419 instead of destroying it.
6421 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6422 floating reference and set has_user_ref_count to FALSE to make
6423 HildonAppMenu act like a normal ref-counted widget and not a
6426 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6429 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6431 * src/hildon-touch-selector-column.h: new file
6432 * src/hildon-touch-selector.h
6433 * src/hildon-touch-selector.c
6434 Implemented GtkCellLayout interface, in order to allow to configure
6435 the cell layout on each individual selector column
6436 (hildon_touch_selector_set_column_attributes): marked as deprecated
6437 * examples/hildon-touch-selector-multi-cells-example.c
6438 Example of how to use the GtkCellLayout interface on the selector
6440 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6442 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-app-menu.h
6445 * src/hildon-app-menu.c
6446 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6447 (hildon_app_menu_append, hildon_app_menu_prepend):
6448 New methods to prepend, insert and move items in the menu.
6450 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6452 * src/hildon-wizard-dialog.c:
6454 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6456 (create_title): Update logical IDs and related code.
6457 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6459 * src/hildon-wizard-dialog.h: Note that
6460 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6461 point, as it is not used anymore.
6463 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6465 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6467 * src/hildon-note.c:
6468 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6469 shown. Do not display an icon in confirmation notes nor information
6471 (hildon_note_set_button_text): Update logical ID for cancel button.
6473 Fixes: NB#88850 (Update HildonNote button strings + signals)
6475 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6477 * src/hildon-stackable-window.c
6478 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6480 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6482 * src/hildon-app-menu-private.h
6483 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6484 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6485 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6486 temporary property 'columns' to change the number of columns.
6488 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6490 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6492 * examples/hildon-note-example.c: (on_information_clicked),
6493 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6494 debugging information.
6495 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6497 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6498 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6499 in order to close: this will be handled by the WM from now on.
6501 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6503 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6505 * src/hildon-app-menu-private.h
6506 * src/hildon-app-menu.c
6507 (hildon_app_menu_append, hildon_app_menu_add_filter)
6508 (button_visibility_changed, hildon_app_menu_apply_style)
6509 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6510 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6511 layout everytime a button (item or filter) is shown or hidden.
6513 * src/hildon-stackable-window.c
6514 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6517 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6519 * src/hildon-touch-selector.c:
6520 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6521 that the treeview inside the touch selector is in fremantle hildon mode
6522 * examples/hildon-date-button-example.c
6523 * examples/hildon-picker-button-multicolumn-example.c
6524 * examples/hildon-touch-selector-entry-example.c
6525 * examples/hildon-touch-selector-example.c
6526 * examples/hildon-time-button-example.c
6527 * examples/hildon-picker-button-example.c:
6528 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6530 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6532 * examples/hildon-text-view-example.c: (main): Remove the
6533 gtkrc bits, now handled by the theme.
6535 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6537 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6540 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6542 * po/Makefile.am: Install properly the mo files.
6543 * po/en_GB.po: Update translation, to ease testing purposes.
6545 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6547 * examples/hildon-picker-button-example.c: (main): Select an item
6548 in the selector before setting it to the button.
6550 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6552 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6553 Update button's value if the selector has an item active.
6555 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6556 'value' with the selector)
6558 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6560 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6561 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6562 (hildon_picker_button_class_init): Plug the finalize method.
6563 (hildon_picker_button_set_selector): If there's a previously set
6564 selector, unref'it before setting a new one.
6566 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6567 HildonTouchSelector)
6569 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6571 * src/hildon-touch-selector-entry.c:
6572 (hildon_touch_selector_entry_changed): Check if there is no text
6573 selected before setting the entry text.
6576 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6578 * src/hildon-touch-selector.h
6579 * src/hildon-touch-selector.c
6580 (hildon_touch_selector_get_active)
6581 (hildon_touch_selector_set_active): New methods to set/get the
6582 index of the selected item.
6584 * src/hildon-picker-button.h
6585 * src/hildon-picker-button.c
6586 (hildon_picker_button_get_active)
6587 (hildon_picker_button_set_active): New methods to set/get the
6588 index of the selected item.
6590 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6592 * configure.ac: post-release version bump.
6594 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6598 * configure.ac: Pre-release version bump.
6599 * debian/changelog: Updates.
6600 * debian/control: Add myself as maintainer and depend on l10n
6603 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6605 * src/hildon-window.c
6606 (hildon_window_set_main_menu)
6607 * src/hildon-stackable-window.c
6608 (hildon_stackable_window_set_main_menu):
6609 Updated documentation.
6611 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6613 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6614 Don't free selector->priv manually.
6617 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6620 (hildon_gtk_window_set_progress_indicator):
6621 * src/hildon-gtk.h: Added the new API
6622 hildon_gtk_window_set_progress_indicator, it changes the state of
6623 the window progress hint.
6625 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6627 * src/hildon-button.c
6628 * src/hildon-stackable-window.c: Minor documentation updates.
6630 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6632 * src/hildon-stackable-window.c: Updated documentation.
6634 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6636 * src/hildon-defines.h: Update margins definitions
6637 to the Fremantle sizes.
6640 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6642 * src/hildon-touch-selector.c,
6643 (_hildon_touch_selector_set_model): Cleaning the code after
6644 review, removed g_print and #if 0 from the code.
6646 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6648 * src/hildon-edit-toolbar.c: Update documentation.
6650 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6652 * src/hildon-check-button.h
6653 * src/hildon-check-button.c
6654 (hildon_check_button_set_label, hildon_check_button_get_label)
6655 * examples/hildon-check-button-example.c
6656 (button_clicked_cb):
6657 Removed deprecated methods.
6659 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6661 * src/hildon-text-view.c:
6662 Add sample code to the documentation.
6664 * src/hildon-entry.h
6665 * src/hildon-text-view.h:
6666 Minor cosmetic changes.
6668 * src/hildon-entry.c:
6669 Add sample code to the documentation.
6670 (hildon_entry_init, hildon_entry_refresh_contents):
6671 Don't allow NULL values in the placeholder.
6673 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6675 * doc/hildon-docs.sgml
6677 * examples/Makefile.am
6678 * examples/hildon-text-view-example.c
6680 * src/hildon-text-view.c
6681 * src/hildon-text-view.h
6683 New HildonTextView widget, with example.
6685 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6687 * po/POTFILES.in: Add missing files with translatable strings.
6688 Partially fixes NB#88287.
6690 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6692 * examples/hildon-pannable-area-example-2.c: (main): No need to
6693 set the cellrenderer height inside hildon touch lists, the theme does
6696 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6698 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6699 they are integrated in the theme.
6701 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6703 * examples/hildon-entry-example.c: Update the example adding
6704 widgets to modify the text and the placeholder of the HildonEntry.
6706 * src/hildon-entry.c: Show the placeholder everytime the widget
6707 is empty and loses the focus.
6709 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6711 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6713 * src/hildon-pannable-area.c,
6714 (hildon_pannable_area_size_request): Fixed bug in height
6715 requisition, avoid increasing size and add border twice.
6717 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6719 * configure.ac: postrelease version bump.
6721 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6725 * configure.ac: Prerelease version bump.
6726 * debian/changelog: update.
6727 * debian/rules: make -dbg package contain useful debugging symbols.
6729 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6731 * src/hildon-dialog.h
6732 * src/hildon-dialog.c
6733 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6734 New methods to add buttons with finger size.
6735 (hildon_dialog_new_with_buttons):
6736 Create buttons with finger size.
6738 * examples/hildon-dialog-example.c (main): Use HildonDialog
6739 methods to add buttons.
6741 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6743 * src/hildon-entry.c: Updated HildonButton documentation.
6745 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6747 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6748 button value label with (FALSE, FALSE) to prevent NB#88126 from
6751 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6753 * examples/hildon-pannable-area-example.c,
6754 (main): Removed examples panning a vbox inside a pannable
6755 area. Check bug NB#87965
6757 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6759 Patch contributed by Kris Rietveld (kris@imendio.com)
6761 * src/hildon-pannable-area.c,
6762 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6763 get_size and get_position, this saves an X server roundtrip.
6765 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6767 * doc/hildon-docs.sgml
6769 * examples/Makefile.am
6770 * examples/hildon-entry-example.c
6772 * src/hildon-entry.c
6773 * src/hildon-entry.h
6775 New HildonEntry widget, with example.
6777 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6779 * src/hildon-button.c (hildon_button_construct_child): Pack the
6780 image with expand == fill == FALSE. This is a workaround for a bug
6783 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6785 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6786 labels for the text column, to make it more look more dynamic.
6788 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6790 * src/hildon-time-selector.c
6791 Define gettext auxiliar macro N_
6792 (_create_minutes_model)
6793 (_create_hours_model)
6794 (_create_ampm_model): use of strftime in order to fill the model
6795 * src/hildon-date-selector.c
6796 (hildon_date_selector_finalize):
6797 (_locales_init): remove the logic related to get the name of the months
6798 using nl_langinfo, as it is not required anymore
6800 (_create_year_model)
6801 (_create_month_model)
6802 (_update_day_model): use of strftime in order to fill the model properly
6805 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6807 * src/hildon-button.h
6808 * src/hildon-button.c (hildon_button_get_image): New method to
6811 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6813 * src/hildon-touch-selector.c:
6814 (hildon_touch_selector_remove_column): Remove from the correct parent
6815 and also remove the list element and free it.
6818 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6820 * src/hildon-time-selector.c
6821 (_create_hours_model): change the range on 12h ampm format in order to use
6822 a 12-11 range instead of previous 01-12 range
6823 (hildon_time_selector_set_time): change the way to select the current time
6824 on 12h ampm format, due the change on the range
6825 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6828 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6830 * src/hildon-touch-selector.c
6831 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6832 in order to allow use this function on multiple row selection mode if
6833 the column is different that the first one
6836 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6838 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6839 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6841 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6843 * src/hildon-date-selector.h: clean some comments, now on the .c
6844 * src/hildon-date-selector.c
6845 (hildon_date_selector_select_month): first implementation
6846 (hildon_date_selector_select_day): added documentation, reimplemented
6847 using hildon_date_selector_select_current_date to avoid repeat code
6850 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6852 Reviewed interaction logic based on device experiences, refactored
6855 * src/hildon-pannable-area.c,
6856 (hildon_pannable_area_class_init): Updated default vmax speed.
6857 (hildon_pannable_area_calculate_velocity): Added this function, it
6858 avoids duplicate valocity calculation. Adjusted calculation to
6859 avoid problems with zero dist events.
6861 (hildon_pannable_area_motion_notify_cb): Now we use the
6862 calculate_velocity function.
6864 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6866 * src/hildon-date-selector.c
6867 (hildon_date_selector_select_current_date): fix the day range check
6868 as it failed using the last day of the current month
6871 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6873 * src/hildon-touch-selector.c
6874 (hildon_touch_selector_get_num_columns): added a parameter validation
6877 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6879 * examples/Makefile.am
6880 * examples/hildon-edit-toolbar-example.c: Example of the
6881 HildonEditToolbar widget.
6883 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6885 * configure.ac: postrelease version bump.
6887 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6891 * configure.ac: prerelease version bump.
6892 * debian/changelog: update.
6894 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6896 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6897 renderer to display stock icons in the touch list. Also, set the sizes
6898 to the recommended in the style guide.
6900 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6901 * src/hildon-touch-selector.h
6902 (hildon_touch_selector_set_active_iter): renamed, now is
6903 hildon_touch_selector_select_iter
6904 (hildon_touch_selector_get_active_iter): renamed, now is
6905 hildon_touch_selector_get_selected
6906 (hildon_touch_selector_unselect_iter): added
6907 * src/hildon-touch-selector.c
6908 Update after API modification (methods renamed)
6909 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6910 order to avoid problems selecting multiple elements on the column
6911 (hildon_touch_selector_unselect_iter): added the implementation
6912 * src/hildon-time-selector.c
6913 * src/hildon-date-selector.c
6914 * src/hildon-touch-selector-entry.c
6915 Update methods calls after hildon-touch-selector.h API modification (methods
6918 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6920 * src/hildon-stackable-window.c
6921 (hildon_stackable_window_finalize): Call the parent class's finalize.
6923 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6925 * examples/hildon-touch-selector-example.c: (create_selector): Use
6926 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6929 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6931 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6932 set a cell background color, to respect theming.
6934 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6936 * doc/hildon-docs.sgml
6939 * src/hildon-edit-toolbar.c
6940 * src/hildon-edit-toolbar.h
6941 * src/hildon.h: New HildonEditToolbar widget.
6943 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6945 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6948 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6949 * src/hildon-touch-selector.c
6950 (_create_new_column): use g_object_set instead of two g_object_set_property
6952 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6953 * src/hildon-touch-selector.c
6954 (_create_new_column): use of hildon_gtk_tree_view_new to create
6955 the treeview, instead of use directly g_object_new
6956 (_create_new_column): update the property name "vindicator-mode" for the
6957 new one "vscrollbar-policy"
6958 * examples/hildon-date-button-example.c
6959 * examples/hildon-picker-button-multicolumn-example.c
6960 * examples/hildon-touch-selector-entry-example.c
6961 * examples/hildon-touch-selector-example.c
6962 * examples/hildon-time-button-example.c
6963 * examples/hildon-picker-button-example.c
6964 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6965 to all the treeviews inside a pannable area.
6967 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6969 * src/hildon-button.h
6970 * src/hildon-button.c (hildon_button_init)
6971 (hildon_button_set_arrangement, hildon_button_set_alignment)
6972 (hildon_button_set_title_alignment)
6973 (hildon_button_set_value_alignment)
6974 (hildon_button_set_image_alignment)
6975 (hildon_button_construct_child): New methods to set the alignment
6976 of the individual components of the button (title, value,
6977 image). Also, new method to alter the xscale and yscale properties
6978 of the GtkAlignment inside the button, so more complex layouts can
6981 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6983 * src/hildon-button.c (hildon_button_style_set)
6984 (hildon_button_class_init, hildon_button_set_arrangement)
6985 (hildon_button_construct_child): Apply style properties
6986 correctly. Use the 'image-spacing' style property too.
6988 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6990 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6991 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6994 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6996 * src/hildon-pannable-area.c,
6997 (hildon_pannable_area_size_request): Fixed problem with
6998 pannable-area size_request.
7000 2008-08-26 Alejandro G. Castro <alex@igalia.com>
7002 Added management for the grab-focus to a child widget, like a
7003 range, we need to fade out the scrollbar when releasing.
7005 * src/hildon-pannable-area.c,
7006 (hildon_pannable_area_init): Connected the grab-focus signal to
7008 (hildon_pannable_area_grab_notify): Added this function in order
7009 to manage the situation when the grab-focus ends. We have to
7010 fade-out the scrollbar.
7012 2008-08-25 Alberto Garcia <agarcia@igalia.com>
7014 * src/hildon-app-menu.c: Minor documentation update.
7016 2008-08-25 Alberto Garcia <agarcia@igalia.com>
7018 * src/hildon-app-menu.c
7019 * examples/hildon-app-menu-example.c (create_menu): Update
7020 examples and documentation to explain how to connect callbacks.
7022 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
7024 * examples/hildon-button-example.c
7025 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
7026 hildon_stackable_window_new instead of gtk_window_new
7028 2008-08-22 Alejandro G. Castro <alex@igalia.com>
7030 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
7031 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
7032 (hildon_pannable_area_set_property),
7033 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
7034 (hildon_pannable_area_unrealize),
7035 (hildon_pannable_area_size_request),
7036 (hildon_pannable_area_size_allocate),
7037 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
7038 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
7039 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
7040 (hildon_pannable_area_initial_effect),
7041 (hildon_pannable_area_redraw),
7042 (hildon_pannable_area_scroll_indicator_fade),
7043 (hildon_pannable_area_expose_event),
7044 (hildon_pannable_area_get_topmost), (synth_crossing),
7045 (hildon_pannable_area_button_press_cb),
7046 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
7047 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
7048 (hildon_pannable_area_motion_notify_cb),
7049 (hildon_pannable_area_button_release_cb),
7050 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
7051 (hildon_pannable_area_remove),
7052 (hildon_pannable_calculate_vel_factor): Widget refactorization,
7053 chage the code layout to a more GtkWidget like. Review the use of
7056 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7058 * examples/hildon-pannable-area-example-4.c,
7059 (main): Modified the name of the hindicator_mode to
7062 * src/hildon-pannable-area.c,
7063 (hildon_pannable_area_class_init),
7064 (hildon_pannable_area_motion_notify_cb),
7065 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7066 we have reduced the amount of signals and managed reviewed its
7067 rationale. Changed the default decelerate value.
7069 (hildon_pannable_area_add),
7070 (hildon_pannable_area_redraw): Refactored functions.
7072 (hildon_pannable_area_init),
7073 (hildon_pannable_area_get_property),
7074 (hildon_pannable_area_set_property):
7075 (hildon_pannable_draw_vscroll),
7076 (hildon_pannable_draw_hscroll),
7077 (hildon_pannable_area_initial_effect),
7078 (hildon_pannable_area_expose_event),
7079 (hildon_pannable_area_scroll),
7080 (hildon_pannable_area_button_press_cb),
7081 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7082 and vindicator_mode with hscrollbar_policy and
7083 vscrollbar_policy. Replaced hscroll and vscroll with
7084 hscroll_visible and vscroll_visible.
7086 (hildon_pannable_area_refresh): Refactor the function, remove
7087 variables and check the calls to this function, added resize
7088 conditions in case the children change their layout.
7090 (hildon_pannable_area_size_request): Added more detailed
7091 size_request calculation.
7094 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7096 * src/hildon-color-chooser.c
7097 (init_borders): use the correct gtk_border_free instead of g_free, to
7098 avoid a crash when this widget is used (ie: the three color selection
7101 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7103 * src/hildon-check-button.c,
7104 (hildon_check_button_set_active): Fixed problem when setting the
7105 active value, the widget was not redrawn.
7107 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7109 * src/hildon-pannable-area.c,
7110 (hildon_pannable_area_refresh),
7111 (hildon_pannable_area_scroll),
7112 (hildon_pannable_area_motion_notify_cb): Small code style change.
7114 (hildon_pannable_area_class_init): Default initial_hint set to
7115 FALSE, it is not in the specs.
7117 (hildon_pannable_area_initial_effect),
7118 (hildon_pannable_area_expose_event),
7119 (hildon_pannable_area_map),
7120 (hildon_pannable_area_init): Moved the launching point of the
7121 initial effect, it was in map but the sizes where not correct in
7122 that method so we do not know if we have the reproduce it. Now it
7123 is placed in the expose_event method and uses a variable to
7124 reproduce it just once.
7126 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7128 * src/hildon-pannable-area.c,
7129 (hildon_pannable_draw_vscroll),
7130 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7131 position allowed for the scrollbars.
7133 (hildon_pannable_area_size_allocate): Small style change.
7135 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7137 * src/hildon-pannable-area.c,
7138 (hildon_pannable_area_scroll_indicator_fade),
7139 (hildon_pannable_area_button_press_cb),
7140 (hildon_pannable_area_button_release_cb),
7141 (hildon_pannable_area_scroll_cb),
7142 (hildon_pannable_area_expose_event),
7143 (hildon_pannable_area_init): Added the define parameter
7144 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7145 and refactor the fade variable.
7147 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7149 * src/hildon-pannable-area.c,
7150 (hildon_pannable_area_redraw),
7151 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7152 lines, we were reimplemeting the redraw code.
7154 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7156 * src/hildon-pannable-area.c,
7157 (hildon_pannable_area_scroll_cb),
7158 (hildon_pannable_area_realize),
7159 (hildon_pannable_area_class_init): Added scroll_event management
7160 for pannable area, now we can scroll the usual desktop method.
7162 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7163 initialization of the parameters should depend on idle_id.
7165 (hildon_pannable_area_init),
7166 (hildon_pannable_area_map): Small code style modifications
7168 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7170 * src/hildon-pannable-area.c
7171 (hildon_pannable_area_button_press_cb),
7172 (hildon_pannable_area_motion_notify_cb),
7173 (hildon_pannable_area_button_release_cb),
7174 (hildon_pannable_area_size_allocate),
7175 (hildon_pannable_area_scroll_to): Improved the timeouts
7176 management, we avoid creating them each time.
7178 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7180 * src/hildon-pannable-area.c:
7181 (hildon_pannable_area_refresh),
7182 (hildon_pannable_area_motion_notify_cb),
7183 (hildon_pannable_area_class_init):
7184 * src/hildon-pannable-area.h:
7185 * src/hildon-touch-selector.c
7186 (_create_new_column):
7187 * examples/hildon-pannable-area-example-4.c:
7188 (horizontal_movement),
7189 (vertical_movement),
7191 Replaced the names of enums in the HildonPannableArea:
7192 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7193 HILDON_MOVEMENT_MODE_*
7194 - HILDON_PANNABLE_AREA_MOV_* ->
7196 - Removed HildonPannableAreaIndicatorMode, now we
7199 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7201 * examples/hildon-pannable-area-touch-grid-example.c
7202 * examples/hildon-pannable-area-touch-list-example.c: Fix
7203 compilation warnings.
7205 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7207 * src/hildon-gtk.c (hildon_gtk_button_new)
7208 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7209 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7210 images overriding the value of the "gtk-button-images" setting.
7212 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7214 * src/hildon-check-button.c (hildon_check_button_new):
7215 Instead of using a custom container, display the label and the
7216 checkbox using the standard GtkButton API.
7218 * examples/hildon-check-button-example.c (main): Don't use
7219 hildon_check_button_set_label() anymore
7221 * src/hildon-check-button.h
7222 * src/hildon-check-button.c
7223 (hildon_check_button_set_label, hildon_check_button_get_label):
7224 Set as deprecated, now we're using gtk_button_{get,set}_label()
7226 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7228 * src/hildon-pannable-area.c,
7229 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7230 GtkTreeview first line we detected it after the inclusion of the
7231 GtkWindowImpl in gtk+. We now check if the window is visible, not
7232 just if the pointer is over the window.
7233 (hildon_pannable_axis_scroll),
7234 (hildon_pannable_area_expose_event): Small style changes.
7236 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7238 * src/hildon-button.c: Update documentation.
7240 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7242 * examples/hildon-button-example.c: Add a switch to show images in
7245 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7247 * doc/hildon-docs.sgml: Some docs reorganization.
7249 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7251 * examples/hildon-pannable-area-touch-list-example.c
7253 * examples/hildon-pannable-area-touch-grid-example.c
7254 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7255 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7256 Fix memory leak when setting the tree model.
7258 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7262 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7264 * doc/hildon.types: Remove duplicated hildon_window_get_type
7265 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7266 documentation comment.
7268 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7270 * doc/Makefile.am: Complete list of private headers.
7272 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7274 * doc/hildon-docs.sgml
7275 * src/hildon-app-menu.c
7276 * src/hildon-bread-crumb.c
7277 * src/hildon-button.c
7279 * src/hildon-program.c
7280 * src/hildon-stackable-window.c
7281 * src/hildon-window.c: Lots of documentation updates.
7283 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7285 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7287 * configure.ac: Require Gtk+ 2.12.9 at least
7289 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7291 * src/hildon-pannable-area.c
7292 (hildon_pannable_area_scroll_indicator_fade),
7293 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7294 to protect the return of this timeout callbacks, avoiding deadlocks.
7296 2008-08-12 Christian Dywan <christian@imendio.com>
7299 * src/hildon-*.h: Ensure a consistent include order,
7300 include <gtk/gtk.h> instead of particular files and
7301 only include the topmost header in the gtk stack. See NB #39857
7303 2008-08-12 Christian Dywan <christian@imendio.com>
7305 * src/hildon-picker-dialog.c
7306 * src/hildon-touch-selector.c: Fix warnings about unused and
7307 uninitialized variables.
7309 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7311 * examples/Makefile.am
7312 * examples/hildon-check-button-example.c: Example of the hildon
7315 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7317 * src/hildon-window.h
7318 * src/hildon-window.c (hildon_window_class_init)
7319 (hildon_window_unset_program): Don't make
7320 hildon_window_unset_program a virtual function anymore.
7322 * src/hildon-stackable-window.c: Update documentation
7324 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7327 * doc/hildon-docs.sgml
7328 * doc/visual_index.xml
7329 * src/hildon-defines.c
7331 * src/hildon-helper.c
7332 * src/hildon-range-editor.c: Lots of documentation fixes.
7334 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7336 * examples/hildon-picker-button-multicolumn-example.c
7337 (create_touch_selector): Fix compilation warning.
7339 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7341 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7342 (hildon_pannable_area_button_release_cb)
7343 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7345 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7347 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7350 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7352 * src/hildon-bread-crumb-trail.h
7353 * src/hildon-date-editor.c
7354 * src/hildon-date-selector.c
7355 * src/hildon-pannable-area.c
7356 * src/hildon-picker-dialog.c
7357 * src/hildon-time-selector.c
7358 * src/hildon-touch-selector-entry.c
7359 * src/hildon-touch-selector.c
7360 * src/hildon-touch-selector.h: Misc documentation fixes
7362 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7364 * examples/hildon-date-editor-example.c (main): Updated date
7367 * examples/hildon-note-example.c (on_confirmation_clicked):
7368 Updated confirmation note example.
7370 * src/hildon-date-editor.c
7371 * src/hildon-note.c: Updated sample programs in documentation.
7374 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7376 * src/hildon-date-button.h:
7377 * src/hildon-picker-button.h:
7378 * src/hildon-time-button.c:
7379 * src/hildon-time-button.h:
7381 Some declarations changes to allow gtk-doc to document the widgets
7384 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7386 * src/hildon-date-button.c: Document the widget.
7387 * src/hildon-time-button.c: Document the widget.
7389 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7391 * src/hildon-picker-button.c: Document the widget.
7392 * src/hildon-touch-selector-entry.c: Document the widget.
7394 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7396 * doc/hildon-docs.sgml
7399 * src/hildon-check-button.h
7400 * src/hildon-check-button.c: New functions to create the Hildon
7404 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7406 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7408 * src/hildon-button.h
7409 * src/hildon-button.c
7410 (hildon_button_add_title_size_group)
7411 (hildon_button_add_value_size_group)
7412 (hildon_button_add_image_size_group)
7413 (hildon_button_add_size_groups): New functions to set size groups
7414 for the button labels and image.
7415 (hildon_button_new_full): Removed
7417 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7419 * src/hildon-time-selector.c
7420 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7421 in order to avoid a crash if gconf is not available
7423 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7425 * src/hildon-button.c (hildon_button_set_arrangement)
7426 (hildon_button_construct_child): Don't construct the button child
7427 before setting the arrangement.
7429 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7431 * src/hildon-program-private.h
7432 * src/hildon-program.c
7433 * src/hildon-program.h
7434 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7435 (hildon_program_peek_window_stack)
7436 (hildon_program_pop_window_stack)
7437 (hildon_program_go_to_root_window): HildonProgram now has a
7438 separate list for stackable windows. Functions are provided to
7439 manage that list with a stack-like API.
7441 * src/hildon-stackable-window.c: Stackable window management is
7442 now much simpler with the new HildonProgram API. Windows no
7443 longer need to be manually added to the program, they're
7444 automatically pushed to the top of the stack when shown.
7446 * examples/hildon-stackable-window-example.c: Updated example to
7447 reflect the API changes.
7449 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7451 * src/hildon-touch-selector.c: Comment out unimplemented
7452 hildon_touch_selector_insert_column() to avoid a compile warning.
7454 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7456 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7457 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7458 (hildon_touch_selector_set_column_selection_mode),
7459 (_hildon_touch_selector_set_model),
7460 (hildon_touch_selector_set_model):
7462 Complete review of HildonTouchSelector documentation.
7464 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7466 * doc/hildon-docs.sgml
7470 * src/hildon-gtk.c: Convenience functions for standard Gtk
7471 widgets, used to easily perform frequent operations.
7473 * src/hildon-button-helpers.h
7474 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7476 * src/hildon-helper.h
7477 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7478 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7480 * src/hildon-button.h
7481 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7483 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7485 * src/hildon-button.c (hildon_button_init)
7486 (hildon_button_set_arrangement, hildon_button_construct_child):
7487 Pack the image and the labels inside the same GtkAlignment so
7488 gtk_button_set_alignment() can be used
7490 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7492 * src/hildon-button.h
7493 * src/hildon-button.c
7494 (hildon_button_init, hildon_button_set_image)
7495 (hildon_button_set_image_position)
7496 (hildon_button_construct_child): New functions to add an image to
7499 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7501 * src/hildon-date-button.c
7502 * src/hildon-picker-button.c
7503 * src/hildon-time-button.c
7504 * src/hildon-button.c:
7505 (hildon_button_class_init): "size-flags" renamed to "size"
7506 (hildon_button_set_title): Hide the title label if set to NULL.
7508 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7510 HildonButtonFlags split into HildonButtonArrangement (to set the
7511 button layout) and HildonSizeType (which can be used for any
7514 * src/hildon-button.h
7515 * src/hildon-button.c
7516 (hildon_button_class_init)
7517 (hildon_button_set_arrangement)
7518 (hildon_button_set_property): New "size-flags"
7519 property. "arrangement-flags" renamed to "arrangement".
7520 (hildon_button_new, hildon_button_new_with_text)
7521 (hildon_button_new_full): Constructors updated to reflect type changes.
7523 * src/hildon-helper.h
7524 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7525 to set the size of a widget.
7529 * src/hildon-button-helpers.c
7530 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7532 * src/hildon-date-button.c
7533 * src/hildon-date-button.h
7534 * src/hildon-picker-button.c
7535 * src/hildon-picker-button.h
7536 * src/hildon-time-button.c
7537 * src/hildon-time-button.h: Updated widgets to reflect
7538 HildonButton API changes.
7540 * examples/hildon-button-example.c
7541 * examples/hildon-date-button-example.c
7542 * examples/hildon-picker-button-example.c
7543 * examples/hildon-picker-button-multicolumn-example.c
7544 * examples/hildon-time-button-example.c
7545 * examples/hildon-touch-selector-entry-example.c
7546 * examples/hildon-touch-selector-example.c: Updated examples to
7547 reflect HildonButton API changes.
7549 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7551 * doc/hildon-docs.sgml:
7553 * examples/Makefile.am:
7554 * examples/hildon-touch-selector-entry-example.c:
7556 * src/hildon-touch-selector-entry.c:
7557 * src/hildon-touch-selector-entry.h:
7560 Moved HildonTouchSelectorEntry from sandbox. Added its
7561 documentation and examples.
7563 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7565 * src/hildon-touch-selector.h:
7566 * examples/hildon-picker-button-multicolumn-example.c:
7567 (hildon_touch_selector_append_text_column): Add a gboolean
7568 parameter to determine if text must be centered in the column.
7570 * src/hildon-date-selector.c: (hildon_date_selector_init):
7571 * src/hildon-time-selector.c: (hildon_time_selector_init):
7572 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7573 (create_touch_selector): Update widgets and example to reflect
7576 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7578 * src/hildon-touch-selector.c:
7579 (hildon_touch_selector_set_active_iter): Set also the cursor in
7582 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7584 * doc/hildon-docs.sgml
7587 * src/hildon-toggle-button.c
7588 * src/hildon-toggle-button.h
7589 * src/hildon.h: Removed HildonToggleButton widget, a derived
7590 class is not necessary for this.
7592 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7594 * src/hildon-pannable-area.c,
7595 (hildon_pannable_area_realize),
7596 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7599 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7601 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7602 "done" button the default widget for the dialog.
7604 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7606 * src/hildon-touch-selector.c:
7607 (hildon_touch_selector_class_init),
7608 (hildon_touch_selector_get_property),
7609 (_hildon_touch_selector_set_model),
7610 (_hildon_touch_selector_has_multiple_selection),
7611 (hildon_touch_selector_has_multiple_selection):
7612 Add a "has-multiple-selection" property with a virtual
7613 has_multiple_selection() method to allow derived classes to
7614 override the default value for it. See the method and property
7615 documentation for details.
7617 * src/hildon-touch-selector.h: Add the new API.
7619 * src/hildon-picker-dialog.c: (requires_done_button): Call
7620 hildon_touch_selector_has_multiple_selection() instead of
7621 determining the need for a button itself.
7623 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7625 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7626 (_hildon_touch_selector_set_model),
7627 (hildon_touch_selector_set_model): Move working code to
7628 _hildon_touch_selector_set_mode(). Call the class method instead.
7630 * src/hildon-touch-selector.h: Add (*set_model) to
7631 HildonTouchSelectorClass.
7633 Make hildon_touch_selector_set_model() a virtual method, so that
7634 derived classes can extend it and do fancy stuff with the model.
7636 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7638 * configure.ac: Set back the tarname in AC_INIT to hildon.
7640 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7644 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7645 instead of libesd (NB#86876). Volume handling is still an open issue.
7647 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7650 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7652 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7653 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7654 derived class to ease placement of an entry widget in
7655 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7656 end, where the selector columns are packed now.
7658 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7660 * src/hildon-picker-button.c: Removed the simple _text() API.
7661 * src/hildon-picker-button.h: Likewise.
7663 * src/hildon-touch-selector.h:
7664 * src/hildon-touch-selector.c:
7665 (hildon_touch_selector_new_text),
7666 (hildon_touch_selector_append_text),
7667 (hildon_touch_selector_prepend_text),
7668 (hildon_touch_selector_insert_text):
7670 Moved the simple _text() API from HildonPickerButton to
7671 HildonTouchPicker, to provide better escalability and not to tie
7672 that API to HildonPickerButton.
7674 * examples/hildon-picker-button-example.c: (main): Example updated.
7676 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7678 * src/hildon-button.c: Updated documentation.
7680 * examples/hildon-button-example.c: Add the posibility to create
7681 the buttons using horizontal layout for title and value.
7683 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7685 * src/hildon-app-menu-private.h
7686 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7687 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7688 GtkSizeGroup for the filters, use the 'homogeneous' property of
7691 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7693 * examples/hildon-button-example.c: Updated example.
7695 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7697 * doc/hildon-docs.sgml:
7700 Update documentation.
7702 * examples/Makefile.am: Update renamed examples.
7704 * examples/hildon-picker-button-multicolumn-example.c:
7705 (create_touch_selector), (main): Update after the rename.
7707 * examples/hildon-touch-picker-example.c: Removed.
7708 * examples/hildon-touch-selector-example.c: (value_changed),
7709 (create_selector), (get_visible_content), (main): Renamed from
7710 hildon-touch-picker-example.c
7712 * src/Makefile.am: Updated renamed files.
7714 * src/hildon-date-button.c: (hildon_date_button_init),
7715 (hildon_date_button_get_date), (hildon_date_button_set_date):
7716 * src/hildon-date-selector.c: (hildon_date_selector_init),
7717 (_custom_print_func), (_update_day_model),
7718 (_manage_selector_change_cb),
7719 (hildon_date_selector_select_current_date),
7720 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7721 * src/hildon-date-selector.h:
7722 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7723 (hildon_picker_button_set_property),
7724 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7725 (hildon_picker_button_init), (hildon_picker_button_new_text),
7726 (hildon_picker_button_append_text),
7727 (hildon_picker_button_prepend_text),
7728 (hildon_picker_button_insert_text),
7729 (hildon_picker_button_set_selector),
7730 (hildon_picker_button_get_selector):
7731 * src/hildon-picker-button.h:
7732 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7733 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7734 (_update_title_on_selector_changed_cb), (requires_done_button),
7735 (_hildon_picker_dialog_set_selector),
7736 (hildon_picker_dialog_set_selector),
7737 (hildon_picker_dialog_get_selector):
7738 * src/hildon-picker-dialog.h:
7739 * src/hildon-time-button.c: (hildon_time_button_init),
7740 (hildon_time_button_get_time), (hildon_time_button_set_time):
7741 * src/hildon-time-selector.c: (hildon_time_selector_init),
7742 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7743 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7744 * src/hildon-time-selector.h:
7747 Massive code updates after the rename.
7749 * src/hildon-touch-picker.c: Removed.
7750 * src/hildon-touch-picker.h: Removed.
7752 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7753 (hildon_touch_selector_init), (hildon_touch_selector_map),
7754 (hildon_touch_selector_remove), (_default_print_func),
7755 (_selection_changed_cb), (_create_new_column),
7756 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7757 (hildon_touch_selector_append_text_column),
7758 (hildon_touch_selector_remove_column),
7759 (hildon_touch_selector_set_column_attributes),
7760 (hildon_touch_selector_insert_column),
7761 (hildon_touch_selector_get_num_columns),
7762 (hildon_touch_selector_get_column_selection_mode),
7763 (hildon_touch_selector_set_column_selection_mode),
7764 (hildon_touch_selector_set_print_func),
7765 (hildon_touch_selector_get_print_func),
7766 (hildon_touch_selector_get_active_iter),
7767 (hildon_touch_selector_set_active_iter),
7768 (hildon_touch_selector_get_selected_rows),
7769 (hildon_touch_selector_get_model),
7770 (hildon_touch_selector_set_model),
7771 (hildon_touch_selector_get_current_text),
7772 (_hildon_touch_selector_center_on_selected_items):
7773 * src/hildon-touch-selector.h: Renamed from
7774 hildon-touch-picker.[ch]
7776 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7777 references, code examples, and related documentation.
7779 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7781 * doc/hildon-docs.sgml
7784 * src/hildon-toggle-button.c
7785 * src/hildon-toggle-button.h
7786 * src/hildon.h: New HildonToggleButton widget.
7788 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7790 * src/hildon-button.c: Add API documentation.
7791 (hildon_button_set_size_groups): Check input parameters
7793 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7795 * src/hildon-pannable-area.c
7796 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7797 effect after reaching the movement thredshold. This way we start
7798 using the distance after passing the thredshold.
7800 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7802 * src/hildon-button.c: (hildon_button_set_property): Use the
7803 appropriate g_value_get_flags() method.
7805 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7807 * doc/hildon-docs.sgml:
7810 Add the touch pickers, picker dialogs, and picker button widgets
7811 to the documentation.
7813 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7815 * src/hildon-button.c: (hildon_button_set_property),
7816 (hildon_button_class_init): Make "arrangement-flags" a proper
7817 G_TYPE_FLAGS derived property.
7819 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7821 * examples/Makefile.am: Add below examples.
7822 * examples/hildon-date-button-example.c:
7823 * examples/hildon-picker-button-example.c:
7824 * examples/hildon-picker-button-multicolumn-example.c:
7825 * examples/hildon-time-button-example.c:
7826 * examples/hildon-touch-picker-example.c:
7828 Add examples for the recently added touch pickers,
7829 picker dialogs, and picker button widgets.
7831 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7833 * src/hildon-button.c: Add some API documentation
7835 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7837 * src/hildon-button.h
7838 * src/hildon-button.c
7840 (hildon_button_new_with_text): New constructor to create a button
7841 with no text at all.
7842 (hildon_button_init, hildon_button_set_arrangement)
7843 (hildon_button_set_title, hildon_button_set_value)
7844 (hildon_button_set_text)
7845 (hildon_button_construct_child): Hide the value when it's not used
7846 so the rest of the text is properly aligned.
7847 Allow creating buttons with arbitrary widgets inside (not just
7848 title/value labels).
7850 * examples/hildon-button-example.c (vertical_buttons_window)
7851 (horizontal_buttons_window): Update example to use new API.
7853 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7855 * src/Makefile.am: Added HildonTimeButton.
7856 * src/hildon-time-button.c: Added missing LGPL header.
7857 * src/hildon-time-button.h: Added missing LGPL header.
7858 * src/hildon.h: Add hildon-time-button.h
7860 Copied HildonTimeButton from sandbox to trunk. Future work on this
7861 widget must take place in trunk.
7863 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7865 * src/Makefile.am: Added HildonDateButton.
7866 * src/hildon-date-button.c: Update includes.
7867 * src/hildon.h: Add hildon-date-button.h
7869 Copied HildonDateButton from sandbox to trunk. Future work on this
7870 widget must take place in trunk.
7872 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7874 * src/Makefile.am: Added HildonPickerButton.
7875 * src/hildon-picker-button.h: Update includes.
7876 * src/hildon.h: Add hildon-picker-button.h
7878 Copied HildonPickerButton from sandbox to trunk. Future work on
7879 this widget must take place in trunk.
7881 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7883 * src/Makefile.am: Added HildonPickerDialog.
7884 * src/hildon-picker-dialog.c: Update includes.
7885 * src/hildon.h: Add hildon-picker-dialog.h
7887 Copied HildonPickerDialog from sandbox to trunk. Future work
7888 on this widget must take place in trunk.
7890 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7892 * src/Makefile.am: Added HildonTimeSelector.
7893 * src/hildon.h: Add hildon-time-selector.h
7895 Copied HildonTimeSelector widget from sandbox to trunk. Future
7896 work on this widget must happen in trunk.
7898 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7900 * src/Makefile.am: Added HildonDateSelector.
7901 * src/hildon.h: Add hildon-date-selector.h
7903 Copied HildonDateSelector widget from sandbox to trunk. Future
7904 work on this widget must happen in trunk.
7906 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7908 * src/Makefile.am: Added HildonTouchPicker.
7909 * src/hildon-touch-picker.c: Update includes.
7910 * src/hildon.h: Add hildon-touch-picker.h
7912 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7913 on this widget must happen in trunk.
7915 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7917 * src/hildon-pannable-area.c:
7918 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7920 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7922 * examples/hildon-app-menu-example.c (main): Let the window
7925 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7927 * src/hildon-pannable-area.c
7928 (hildon_pannable_area_class_init): Set the min value of the
7929 overshoot properties to zero, which points out that not
7930 overshooting allowed.
7932 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7934 Modified the procedure to get the widget at a point inside the
7935 pannable area when using the movement type signals. Now the user
7936 has to call a function to get the child, that way we just
7937 calculate the child in case the user really want to use it and not
7940 * src/hildon-marshalers.list: Modified the marshallers, now we do
7941 not have the widget as a parameter.
7943 * src/hildon-pannable-area.c
7944 (hildon_pannable_area_motion_notify_cb),
7945 (hildon_pannable_area_class_init),
7946 (hildon_pannable_get_child_widget_at): Removed the widget
7947 parameter from the signal callback. We have also refactored the
7948 emission of the signals.
7950 * src/hildon-pannable-area.h: Added a new method to the API to
7951 calculate a widget at a point inside the pannable area,
7952 hildon_pannable_get_child_widget_at.
7954 * examples/hildon-pannable-area-example-4.c
7955 (horizontal_movement): Modified the example to use the new API,
7956 added condition to control which widget is under the event. This
7957 way we can avoid scrolling laterally over other widgets.
7959 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7961 * src/hildon-pannable-area.c
7962 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7963 modes, we stop getting the pointer events due to returning the
7964 callback without properly calling the get pointer again. Fixed
7965 also an error using the hscroll and vscroll.
7967 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7969 * src/hildon-app-menu-private.h
7970 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7971 (hildon_app_menu_button_release, hildon_app_menu_init)
7972 (hildon_app_menu_class_init): Don't hide the menu on button
7973 release if the user didn't press outside first.
7975 * src/hildon-window.h
7976 * src/hildon-window.c (hildon_window_toggle_menu)
7977 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7978 hildon_window_toggle_menu a virtual function for the stackable
7979 window to override it.
7981 * src/hildon-stackable-window.h
7982 * src/hildon-stackable-window-private.h
7983 * src/hildon-stackable-window.c
7984 (hildon_stackable_window_realize)
7985 (hildon_stackable_window_finalize)
7986 (hildon_stackable_window_class_init)
7987 (hildon_stackable_window_init)
7988 (hildon_stackable_window_set_main_menu): New function to set the
7989 app menu of a HildonStackableWindow.
7991 * examples/hildon-app-menu-example.c: Remove the button to show
7992 the app menu, now it'll be shown when clicking on the title bar
7995 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7997 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7998 set the widget name if the arrangement flags do not specify
8001 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
8003 * src/hildon-button.c: (hildon_button_set_property),
8004 (hildon_button_class_init), (hildon_button_new_full),
8005 (hildon_button_set_arrangement): Added "arrangement-flags"
8008 Make the HildonButtonFlags a construction-only property, to allow
8009 subclasses to set them properly.
8011 2008-07-21 Tim Janik <timj@imendio.com>
8013 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
8014 insertion position after backspace, so additional digits are appended,
8017 2008-07-17 Alejandro G. Castro <alex@igalia.com>
8019 * src/hildon-pannable-area.c,
8020 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
8021 TODO list, it was complete and removed the g_debug and g_print
8024 2008-07-17 Alejandro G. Castro <alex@igalia.com>
8026 Added the movement modes to the hildon-pannable-area, with this
8027 modes the developers can control in which directions the widget
8028 can scroll. They can also connect to signals in order to do
8029 something when that happens, allowing applications scroll. There
8030 is an example uploaded showing how to use it.
8032 * examples/Makefile.am:
8033 * examples/hildon-pannable-area-example-4.c: Added this example of
8034 an application using the modes.
8036 * src/hildon-marshalers.list: Added a new marshaller for the new
8039 * src/hildon-pannable-area.h: Added new enumerations and flags in
8040 order to control the movement modes and the new signals to warn
8041 about the movements in the area.
8043 * src/hildon-pannable-area.c:
8044 (hildon_pannable_axis_scroll),
8045 (hildon_pannable_area_scroll),
8046 (hildon_pannable_area_motion_notify_cb),
8047 (hildon_pannable_area_get_property),
8048 (hildon_pannable_area_set_property),
8049 (hildon_pannable_area_map),
8050 (hildon_pannable_area_class_init),
8051 (hildon_pannable_area_init),
8052 (hildon_pannable_area_jump_to): Added the modes to control the
8053 movement in the widget. We have added properties to control it,
8054 signals to warn about the movements and refactored some code.
8056 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8058 Changes required in order to allow vfast_factor set to zero to
8061 * src/hildon-pannable-area.c:
8062 (hildon_pannable_area_button_press_cb): Changed the condition, it
8063 is required for not allowing click when vfast_factor is zero.
8064 (hildon_pannable_area_timeout): Initialized velocity variables
8065 when we stop moving, it was less than 1 but not zero and we need
8066 to check zero in some situations.
8067 (hildon_pannable_area_class_init): Changed the default value of
8068 the speed factor, now the button_press is just sent in case the
8069 speed is 2 per cent of the max speed.
8070 (hildon_pannable_area_init): Initialization with 0.
8072 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8074 * src/hildon-pannable-area.c,
8075 (hildon_pannable_area_get_topmost): replaced
8076 gdk_window_get_children with gdk_window_peek_children, this way we
8077 do not have to free the list because it is not a copy.
8079 (hildon_pannable_axis_scroll),
8080 (hildon_pannable_area_scroll),
8081 (hildon_pannable_area_timeout),
8082 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8083 two parameters that were only used inside the
8084 hildon_pannable_area_scroll function.
8086 * examples/hildon-pannable-area-example.c,
8087 (get_sawtooth_label): Fixed small memory leak.
8089 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8091 More checks for the case where the overshoot is bigger than the
8094 * src/hildon-pannable-area.c:
8095 (hildon_pannable_draw_vscroll),
8096 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8097 to draw the slider of the scrollbar under the other scrollbar.
8098 (hildon_pannable_area_expose_event): added new checks to control
8099 the drawing of the overshooting area rectangle, in case it is too
8100 big for the area of the widget.
8101 (hildon_pannable_area_size_allocate): add more checks to avoid
8102 setting a position to the child widget outside the area.
8104 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8106 * src/hildon-pannable-area.c
8107 (hildon_pannable_area_size_allocate): Added conditions to control
8108 when overshooting is bigger than the allocated space for the
8109 children, this avoids negative allocations.
8111 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8113 * doc/hildon-docs.sgml
8115 * examples/Makefile.am
8116 * examples/hildon-button-example.c
8118 * src/hildon-button.c
8119 * src/hildon-button.h
8120 * src/hildon.h: Initial version of the new HildonButton widget,
8123 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8125 * src/hildon-pannable-area.c:
8126 (hildon_pannable_area_button_press_cb),
8127 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8128 (hildon_pannable_area_motion_notify_cb),
8129 (hildon_pannable_area_button_release_cb),
8130 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8131 (hildon_pannable_area_jump_to_child):
8133 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8135 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8137 * examples/Makefile.am
8138 * examples/hildon-pannable-area-touch-grid-example.c
8139 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8140 the Hildon Touch List and Hildon Touch Grid using the
8141 HildonPannableArea widget.
8143 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8145 * src/hildon-pannable-area.c,
8146 (hildon_pannable_area_button_press_cb),
8147 (hildon_pannable_area_refresh),
8148 (hildon_pannable_area_scroll),
8149 (hildon_pannable_area_motion_notify_cb),
8150 (hildon_pannable_area_button_release_cb),
8151 (hildon_pannable_area_expose_event),
8152 (hildon_pannable_area_add),
8153 (hildon_pannable_area_remove),
8154 (hildon_pannable_area_realize),
8155 (hildon_pannable_area_size_allocate),
8156 (hildon_pannable_area_class_init),
8157 (hildon_pannable_area_init),
8158 (hildon_pannable_area_scroll_to_child),
8159 (hildon_pannable_area_jump_to_child): Fixed the problem of
8160 removing the child from the GtkBin, we have rearranged the widget
8161 hierarchy, now there is no GtkAlignment which was not doing
8162 anything interesting but breaking some of the assumptions of
8163 GtkContainer. Now developers if they want to add a GtkAlignment
8164 they could, but it is not inside the area.
8166 We had to review the whole allocation/expose process, now it is
8167 improved and we save at least three signals which would be saving
8168 some time when rendering the widget. The allocation of the
8169 scrollbars is now made in the allocate method as usual.
8171 We have also added some conditions in order to control when there
8172 is no child of the pannable area. Maybe we will need more work
8175 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8177 * src/hildon-pannable-area.c,
8178 (hildon_pannable_area_dispose): Released the fade-out timeout when
8179 disposing the widget.
8181 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8183 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8184 zero, we are going to use that property in order to deactivate the
8186 (hildon_pannable_axis_scroll),
8187 (hildon_pannable_area_size_allocate): Added conditions to control
8188 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8189 call, now it is called in all situations and we can remove calls
8190 in the allocate method.
8191 (hildon_pannable_area_map): Control the situation when
8192 overshoot_max is zero, we do not need the timeout.
8193 (hildon_pannable_area_class_init): Added documentation in order to
8194 point out that setting zero to overshoot_max means deactivate
8197 NOTE: removed trailing whitespaces from my previous comments of
8200 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8202 * src/hildon-pannable-area.c
8203 (hildon_pannable_area_get_property),
8204 (hildon_pannable_area_set_property),
8205 (hildon_pannable_area_map),
8206 (hildon_pannable_area_class_init),
8207 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8208 to cause the widget give a hint about its panning abilities upon
8211 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8213 * src/hildon-pannable-area.c: Several documentation improvements.
8215 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8217 * src/hildon-program.c
8218 * src/hildon-stackable-window.c: Update documentation.
8220 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8222 * src/hildon-stackable-window.c (get_previous_window_if_last):
8223 Renamed get_last_window()
8224 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8225 (hildon_stackable_window_unset_program):
8227 (get_previous_window_if_last):
8228 Detect if the window hasn't been added to a HildonProgram.
8230 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8232 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8234 * src/hildon-pannable-area.c
8235 (hildon_pannable_area_button_press_cb),
8236 (hildon_pannable_axis_scroll),
8237 (hildon_pannable_area_scroll),
8238 (hildon_pannable_area_timeout),
8239 (hildon_pannable_calculate_vel_factor),
8240 (hildon_pannable_area_get_property),
8241 (hildon_pannable_area_set_property),
8242 (hildon_pannable_area_class_init),
8243 (hildon_pannable_area_init),
8244 (hildon_pannable_area_scroll_to),
8245 (hildon_pannable_area_jump_to),
8246 (hildon_pannable_area_scroll_to_child),
8247 (hildon_pannable_area_jump_to_child):
8248 * src/hildon-pannable-area.h: Added the new API functions:
8249 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8250 hildon_pannable_area_scroll_to_child,
8251 hildon_pannable_area_jump_to_child
8254 * examples/Makefile.am
8255 * examples/hildon-pannable-area-example-2.c
8256 * examples/hildon-pannable-area-example-3.c: Added these two new
8257 examples in order to test and show how the new APIs work.
8259 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8261 * examples/hildon-stackable-window-example.c (new_window):
8262 * src/Makefile.am (noinst_HEADERS):
8263 * src/hildon-program.c (hildon_program_go_to_root_window):
8264 * src/hildon-program.h:
8265 * src/hildon-stackable-window-private.h:
8266 * src/hildon-stackable-window.c:
8267 * src/hildon-stackable-window.h:
8268 Create hildon-stackable-window-private.h
8269 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8271 * examples/hildon-app-menu-example.c (create_menu):
8272 * examples/hildon-hvolumebar-insensitive-example.c (main):
8273 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8274 * examples/hildon-toolbar-seekbar-example.c (main):
8275 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8276 * src/hildon-banner.c (hildon_banner_set_property):
8277 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8278 Fix compilation warnings
8280 * src/hildon-window.c:
8283 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8285 * src/hildon-stackable-window.c
8286 (hildon_stackable_window_unset_program):
8287 Calculate correctly whether to show the previous window if the
8288 last one is removed from the stack.
8289 (hildon_stackable_window_go_to_root_window):
8290 Send delete events starting from the topmost window.
8291 Stop if one of the windows is not destroyed.
8293 (hildon_stackable_window_delete_event)
8294 (hildon_stackable_window_class_init):
8295 Ignore the delete event if the window is not the topmost one.
8297 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8299 * src/hildon-pannable-area.c
8300 (hildon_pannable_area_expose_event): Fixed a problem when
8301 selecting the background color of the scrollbars.
8303 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8305 * examples/hildon-stackable-window-example.c
8306 * src/hildon-stackable-window.c
8307 * src/hildon-stackable-window.h
8308 hildon_stackable_window_go_home() renamed to
8309 hildon_stackable_window_go_to_root_window()
8310 Send delete events to windows rather than closing them with
8311 gtk_widget_destroy()
8313 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8315 * src/hildon-pannable-area.c
8316 (hildon_pannable_area_button_release_cb): Fix overshooting in
8319 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8321 * src/hildon-pannable-area.c
8322 (hildon_pannable_area_init): Initially show the scroll indicators.
8323 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8325 Add initial effect showing the widget is pannable.
8327 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8329 * src/hildon-pannable-area.c
8330 (hildon_pannable_area_class_init)
8331 (hildon_pannable_area_set_property)
8332 (hildon_pannable_area_get_property)
8333 (hildon_pannable_area_button_press_cb):
8334 New 'velocity_fast_factor' property to decide which velocity is
8337 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8339 * src/hildon-pannable-area.c
8340 (hildon_pannable_draw_hscroll)
8341 (hildon_pannable_draw_vscroll):
8342 Use float variables to calculate the size of the scrollbars to
8343 avoid error propagation and resizing during scrolling.
8345 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8347 * src/hildon-pannable-area.c
8348 (hildon_pannable_draw_vscroll)
8349 (hildon_pannable_draw_hscroll):
8350 Define a minimum size for the scroll bars
8352 * src/hildon-stackable-window.c
8353 (hildon_stackable_window_go_home): Fix compilation warning
8354 (get_last_window): Minor optimizations
8355 (hildon_stackable_window_class_init): Fix initialization of
8358 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8360 * src/hildon-stackable-window.c: Fixed typos in doc
8362 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8364 * src/hildon-pannable-area.c
8365 (hildon_pannable_area_scroll):
8366 Calculate here whether we need to scroll instead of using the booleans
8367 that tell us whether to /draw/ the scrolling bars.
8369 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8371 * src/hildon-app-menu.h
8373 * src/hildon-app-menu.c
8374 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8375 multiple filter groups related code and API. Now we support only
8377 * examples/hildon-app-menu-example.c:
8379 Update to reflect API changes.
8381 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8383 * src/hildon-stackable-window.c
8384 (hildon_stackable_window_class_init):
8385 Add hildon_stackable_window_realize.
8386 (hildon_stackable_window_realize):
8387 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8388 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8389 to apply theming and behavior specific to HildonStackableWindow
8392 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8394 * src/hildon-note.c (hildon_note_button_release):
8395 Close information notes also when tapping on them
8397 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8399 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8400 ELASTICITY, refactor and review, fix some issues with drawing
8403 * src/hildon-pannable-area.c:
8404 (hildon_pannable_area_button_press_cb): removed the conditions to
8405 avoid clicks when overshooting. It is not required
8407 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8408 define. Refatored and reviewed the code, now we do not need to
8409 manage velocity in motion_notify.
8411 (hildon_pannable_area_motion_notify_cb): We have moved the code
8412 that controls the area_scroll to the axis_scroll function and get
8413 rid of duplicated code.
8415 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8417 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8419 (hildon_pannable_draw_vscroll),
8420 (hildon_pannable_draw_hscroll): Fixed the problems with the
8421 scrollbar drawing, now we do not use two surfaces, it is easier
8422 and saves resources.
8424 (hildon_pannable_area_get_property): Style modification.
8426 (hildon_pannable_area_class_init): Changed some default values.
8428 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8430 * src/hildon-stackable-window.c: Fix some typos in the
8433 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8435 * src/hildon-dialog.c:
8436 Change indentation style
8439 (hildon_note_button_release):
8440 Use root coordinates to check if the release event happened
8443 * src/hildon-app-menu.c
8444 (hildon_app_menu_button_release):
8445 Remove unnecessary check
8447 * examples/hildon-app-menu-example.c
8449 Add cast to fix warning
8451 * src/hildon-app-menu.c
8452 (hildon_app_menu_class_init):
8453 New inner-border style property.
8454 Set all default spacings to 16
8455 (hildon_app_menu_init):
8456 Use vertical-spacing to set the space between filter buttons and
8457 regular menu buttons.
8458 Set the default container border using the inner-border value.
8460 * examples/hildon-app-menu-example.c
8462 Don't set the menu border explicitly, now we have the inner-border
8463 style property for that.
8465 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8467 * src/hildon-app-menu.c (hildon_app_menu_init):
8468 Make the window modal
8470 * src/hildon-note.c (hildon_note_map)
8471 * src/hildon-app-menu.c (hildon_app_menu_map):
8472 Destroy the grab window if we're unable to grab the pointer
8474 * src/hildon-app-menu-private.h
8475 * src/hildon-app-menu.c
8476 (hildon_app_menu_init, hildon_app_menu_finalize)
8477 (hildon_app_menu_map, hildon_app_menu_unmap)
8478 (hildon_app_menu_button_release)
8479 (grab_transfer_window_get):
8480 Bring back the grab window
8481 (hildon_app_menu_realize):
8482 Decorate the window, set WM hint for Matchbox
8484 * src/hildon-note.c (hildon_note_realize):
8485 * src/hildon-banner.c (hildon_banner_realize):
8486 Add WM hints for Matchbox
8488 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8490 * src/hildon-app-menu-private.h
8491 * src/hildon-app-menu.c
8492 (hildon_app_menu_init, hildon_app_menu_finalize)
8493 (hildon_app_menu_map, hildon_app_menu_unmap)
8494 (hildon_app_menu_button_release):
8495 Remove the grab window, it's not needed anymore
8497 * src/hildon-program.c
8498 Fixed typo in documentation
8500 * src/hildon-app-menu.h
8501 * src/hildon-app-menu.c
8502 * examples/hildon-app-menu-example.c
8503 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8505 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8508 Added new transfer_window and close_if_pressed_outside private
8510 (hildon_note_rebuild):
8511 Don't add a cancel button to the information note. It will be
8512 closed when tapping outside
8513 Remove the comment about the OK button in the documentation
8514 (hildon_note_realize):
8515 Set the notification type hint
8516 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8517 Grab/ungrab pointer and keyboard if the note has to be closed when
8519 (hildon_note_button_release):
8520 Close the note when tapping outside (if applicable)
8522 * src/hildon-app-menu.c
8523 Grab/ungrab pointer and keyboard on map/unmap
8524 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8525 Close the menu on button release, not button press
8527 * src/hildon-banner.c
8528 (hildon_banner_set_property)
8529 (hildon_banner_check_position):
8530 Make the banner use the full width of the screen
8531 (hildon_banner_show_information)
8532 (hildon_banner_show_information_with_markup):
8533 Don't display an icon by default
8535 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8537 Added fading scrollbars and adapted all the overshooting code to
8538 horizontal scrolling. We have also fixed bugs with overshooting
8539 and current fading implementation.
8541 * src/hildon-pannable-area.c
8542 (hildon_pannable_area_scroll_indicator_fade): Time out function
8543 used to change the transparency of the scrollbars.
8545 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8546 control and fixed a problem with fading, we now remove the fade
8547 timeout before adding a new one.
8549 (hildon_pannable_axis_scroll):
8550 (hildon_pannable_area_scroll):
8551 (hildon_pannable_area_timeout): Added this functions so we can use
8552 the scroll code both for vertical and horizontal.
8554 (hildon_pannable_area_motion_notify_cb):
8555 (hildon_pannable_area_button_release_cb): Added the horizontal
8556 scrolling control, fixed a problem with the overshooting timeout.
8558 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8559 painting of the scrolls.
8561 (hildon_pannable_draw_vscroll):
8562 (hildon_pannable_draw_hscroll):
8563 (hildon_pannable_area_expose_event):
8564 Draw both scrollbars and rectangles in the overshooting area.
8566 (hildon_pannable_area_get_property):
8567 (hildon_pannable_area_set_property):
8568 Modified the overshoot property to overshoot_max
8570 (hildon_pannable_area_map):
8571 Replaced the comments symbols.
8573 (hildon_pannable_area_size_allocate):
8574 (hildon_pannable_area_class_init):
8575 (hildon_pannable_area_init): Added horizontal scroll, fading
8576 effect properties, fixed a problem when overshooting in the bottom
8579 * examples/hildon-pannable-area-example.c:
8580 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8581 looks better in the example.
8583 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8585 * src/hildon-window.c
8586 * src/hildon-window.h
8587 (hildon_window_class_init)
8588 (hildon_window_unset_program)
8589 (hildon_window_unset_program_real):
8590 Make unset_program a virtual function
8592 * src/hildon-stackable-window.c
8593 * src/hildon-stackable-window.h
8594 Added hildon_stackable_window_go_home()
8596 * examples/Makefile.am
8597 * examples/hildon-stackable-window-example.c
8598 HildonStackableWindow example
8600 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8602 * hildon-pannable-area.c: Added the overshoot property and removed
8603 the OVERSHOOT define. Fixed an indent style error.
8604 (hildon_pannable_area_motion_notify_cb):
8605 (hildon_pannable_area_get_property):
8606 (hildon_pannable_area_set_property): Add overshoot property.
8608 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8611 (hildon_pannable_area_class_init): Installed the new property.
8613 * hildon-pannable-area-example.c: Added a sawtooth function, this
8614 way it is easier to check the movement in the pannable.
8615 (get_sawtooth_label): Added this function.
8616 (main): Now we get the labels from the new get_sawtooth_label
8619 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8621 * src/hildon-app-menu.h
8622 * src/hildon-app-menu.c
8623 Renamed API variables for consistency
8625 (hildon_app_menu_popup): Use also the default window size to
8626 decide where to place the menu
8628 (hildon_app_menu_init, hildon_app_menu_class_init): New
8629 external-border style property
8631 2008-05-26 Michael Natterer <mitch@imendio.com>
8633 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8634 widget_class->tap_and_hold_setup signal slot doesn't exist any
8635 longer, stop overriding it.
8637 (hildon_time_editor_init): g_signal_connect() to the
8638 tap-and-hold-setup signal instead.
8640 (hildon_time_editor_entry_keypress): add cast to fix warning.
8642 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8644 * doc/hildon-docs.sgml
8646 * examples/Makefile.am
8647 * examples/hildon-app-menu-example.c
8649 * src/hildon-app-menu-private.h
8650 * src/hildon-app-menu.c
8651 * src/hildon-app-menu.h
8653 New HildonAppMenu widget
8655 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8657 Rearranged the inheritance of the pannable area, now it inherits
8658 from GtkBin. This will allow us to control the event_window and
8659 the allocation process of the widget, required for some effects.
8661 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8662 GtkBin structures. * src/hildon-pannable-area.c: Added the
8663 event_window variable.
8664 (hildon_pannable_area_button_press_cb):
8665 (hildon_pannable_area_button_release_cb):
8666 (hildon_pannable_area_motion_notify_cb):
8667 Changed the signature of the method, now we override the event
8668 callback instead of connecting to the signal.
8670 (hildon_pannable_area_realize):
8671 (hildon_pannable_area_unrealize):
8672 (hildon_pannable_area_map):
8673 (hildon_pannable_area_unmap):
8674 (hildon_pannable_area_size_allocate):
8675 Added functions to control the widget construction. We add a
8676 INPUT_ONLY window and we put it over the widgets inside the
8677 container, this event_window handles the events.
8679 (hildon_pannable_area_class_init):
8680 Replaced the signal connections with overrides of the event
8683 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8685 Bouncing effect added when touching the borders, you can change
8686 the elasticity of the border changing the ELASTICITY define.
8688 * src/hildon-pannable-area.c: Added ELASTICITY define.
8689 (hildon_pannable_area_timeout): Added inverse velocity when
8690 touching the border of the child widget, that causes a bounce.
8692 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8694 Improved performance, we now do not go to the X server in order to
8695 get the list of window children. Apparently the effect is the
8696 same, we have to be careful and check if this breaks something in
8699 * src/hildon-pannable-area.c:
8700 (get_ordered_children): Removed this function.
8701 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8702 the children windows function with gdk_window_get_children.
8704 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8706 * src/hildon-pannable-area.c:
8707 (hildon_pannable_area_dispose): Fixed a crash when closing the
8708 window and kinetics is activated.
8710 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8712 * src/hildon-pannable-area.h
8713 * src/hildon-pannable-area.c
8714 Changed indentation style to meet the one used in Hildon
8716 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8718 Reviewed the interaction of the AUTO mode, now we use the time
8719 attribute of the events and calculate the velocity in the motion,
8720 doing a gimp like calculation. The velocity is calculated in each
8721 motion event using the last velocity and the current one, the
8722 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8724 * src/hildon-pannable-area.c: Replaced the time based algorithm
8726 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8727 timeout for the AUTO mode when we are still moving the cursor. We
8728 added also the velocity calculation in this function.
8729 (hildon_pannable_area_button_release_cb): launch the timeout in
8730 case we are in AUTO mode. There are still some constants here that
8731 come from the old implementation that should be reviewed and
8734 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8736 * doc/hildon-docs.sgml
8739 * src/hildon-stackable-window.c
8740 * src/hildon-stackable-window.h
8742 New HildonStackableWindow widget
8744 * examples/hildon-dialog-example.c
8745 * examples/hildon-pannable-area-example.c
8748 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8750 * src/hildon-dialog.c
8751 (hildon_dialog_new_with_buttons): New constructor.
8753 * examples/hildon-dialog-example.c
8754 (main): Update the example to use the new
8755 hildon_dialog_new_with_buttons().
8757 * examples/hildon-pannable-area-example.c
8758 (main): Update example.
8760 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8762 * doc/hildon-docs.sgml
8764 Added HildonPannableArea to the documentation.
8766 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8768 * doc/visual_index.xml
8769 Fix reference to HildonLoginDialog in documentation
8771 * doc/hildon-docs.sgml
8773 * examples/Makefile.am
8774 * examples/hildon-dialog-example.c
8776 * src/hildon-dialog.c
8777 * src/hildon-dialog.h
8779 New HildonDialog widget.
8781 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8783 * src/hildon-pannable-area.c
8784 Merge latest changes (r4318, r4342) from libmokoui trunk
8786 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8788 * examples/Makefile.am
8789 * examples/hildon-pannable-area-example.c
8791 * src/hildon-pannable-area.c
8792 * src/hildon-pannable-area.h
8794 New HildonPannableArea widget.
8796 2008-04-15 18:05:19 <timj@imendio.com>
8798 * src/hildon-banner.c: revert the recent change, that introduced
8799 gtk_window_present() calls. this reopens:
8800 Bug 78481 - [freetest] information banners are hidden under browser menu
8801 But resolves another variant of:
8802 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8804 2008-04-15 13:21:13 <timj@imendio.com>
8806 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8807 recreated its layout, spotted by Kris. this fixes all remaining
8808 artefacts and stability issues with the banner code. in particular:
8809 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8811 2008-04-14 16:52:59 <timj@imendio.com>
8813 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8814 operating on unrealized widgets, fixes:
8815 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8817 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8819 2008-04-09 Kristian Rietveld <kris@imendio.com>
8821 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8822 makes banner disappear.
8823 Fixes: NB#79182: info banner flickering with certain message lengts.
8825 * src/hildon-banner.c (hildon_banner_constructor),
8826 (hildon_banner_init), (hildon_banner_set_text),
8827 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8828 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8829 FALSE, reset size requests of label and banner,
8830 (force_to_wrap_truncated): when the text is too wide, always enforce
8831 the maximum possible width instead of recalculating it from the
8832 layout; enforce the maximum banner height of 3 lines,
8833 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8834 nicer wrapping and no truncated chars if space gets tight.
8836 * src/hildon-banner-private.h: add has_been_wrapped and
8837 has_been_truncated fields.
8839 2008-04-07 Sven Herzberg <sven@imendio.com>
8841 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8842 local values in hildon_date_editor_size_allocate
8844 * src/hildon-date-editor.c: moved the real allocation code into the
8847 2008-04-07 Sven Herzberg <sven@imendio.com>
8849 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8850 local values in hildon_date_editor_size_allocate
8852 * src/hildon-date-editor.c: merged the two if() branches together
8854 2008-04-07 Sven Herzberg <sven@imendio.com>
8856 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8857 local values in hildon_date_editor_size_allocate
8859 * src/hildon-date-editor.c: changed the arguments of the if()
8862 2008-04-07 Sven Herzberg <sven@imendio.com>
8864 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8865 local values in hildon_date_editor_size_allocate
8867 * src/hildon-date-editor.c: split the calculation of the allocation
8868 from the real allocation
8870 2008-03-27 Michael Natterer <mitch@imendio.com>
8872 Fixes: NB#81696: The passcode is not overwritten even after
8875 * src/hildon-code-dialog.c
8876 (hildon_code_dialog_button_clicked)
8877 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8878 because that doesn't overwrite selected text. Instead, emit the
8879 "commit" signal on the entry's im_context so the entry's normal
8880 insert logic is triggered. Set the cursor to the end of the entry
8881 after each insert operation so that we *only* insert in the middle
8882 of the text if something was selected.
8884 2008-03-27 Michael Natterer <mitch@imendio.com>
8886 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8887 selector cannot be opened
8889 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8890 when the popup color selector is created. Please connect to this
8891 signal in order to set the dialog's help ID.
8893 2008-03-25 Sven Herzberg <sven@imendio.com>
8895 Fixes: MB#1212: Hide info banners (infoprints) on click
8897 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8898 extracted the close event simulation into an extra function
8899 (hildon_banner_button_press_event): simulate a close event and destroy
8900 the widget if the event wasn't handled
8901 (hildon_banner_class_init): added the button_press_event handler
8902 (hildon_banner_init): added button-press events to the widget
8904 2008-03-25 Sven Herzberg <sven@imendio.com>
8906 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8907 Patch from: Mohammad Anwari <mdamt@maemo.org>
8909 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8910 instead of the right in RTL mode
8911 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8912 breadcrumb button list in RTL mode
8913 * src/hildon-caption.c: mirror the appearance of the caption widget in
8915 * src/hildon-date-editor.c: mirror appearance of the date editor in
8917 * src/hildon-time-editor.c: mirror appearance of the time editor in
8919 * src/hildon-window.c: fix the position of the popup in RTL mode
8921 2008-03-25 Sven Herzberg <sven@imendio.com>
8923 Amendment to the fix of NB#22072. Fix compilation.
8925 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8927 2008-03-19 Sven Herzberg <sven@imendio.com>
8929 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8932 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8933 timeout id properly when the timeout will disappear this leaves no
8934 artifacts around in the destroy(); there will only be the timeout
8935 created by hildon_banner_ensure_timeout() and adding a new timeout
8936 will also work if the timeout gets removed because the timeout_handler
8939 2008-03-19 Michael Natterer <mitch@imendio.com>
8941 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8943 * src/hildon-volumebar.c
8944 * src/hildon-vvolumebar.c
8945 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8946 the widget becomes focussable at all.
8948 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8949 set the focus to wither the mute button or the volumebar.
8951 Remove own "can-focus" property and instead listen to
8952 notify::can-focus in order to update the widget's state.
8954 Implement GtkWidget::focus() and make sure we can also *leave* the
8955 widget, not only enter it, depending on volumebar orientation and
8956 requested focus direction.
8958 Clean up set_mute() to cooperate nicely with all the above.
8960 2008-03-04 Michael Natterer <mitch@imendio.com>
8962 Fixes: NB#78481: information banners are hidden under browser menu
8964 * src/hildon-banner.c: call gtk_window_present() on the banners so
8965 they are risen if they are already visible.
8967 2008-03-03 Sven Herzberg <sven@imendio.com>
8969 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8971 * examples/hildon-window-menu-example.c: (main): extended the window
8972 menu example to serve as a testcase for automatically added
8973 accelerator groups, too
8974 * src/hildon-window.c: (hildon_window_add_accel_group),
8975 (hildon_window_set_menu): added patch by Tommi Komulainen
8977 2008-03-03 Sven Herzberg <sven@imendio.com>
8979 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8981 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8982 knowledge about the border allocators used within GTK+
8984 2008-02-26 Sven Herzberg <sven@imendio.com>
8986 Fixes: MB#2981: Build with asserts broken
8988 * src/hildon-date-editor.c,
8989 * src/hildon-number-editor.c,
8990 * src/hildon-time-editor.c,
8991 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8992 the proper GType instance check
8994 2008-02-25 Sven Herzberg <sven@imendio.com>
8996 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8998 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8999 * examples/hildon-window-menu-example.c: (main): explicitly show
9001 * src/hildon-window.c:
9002 (hildon_window_set_main_menu): moved most of the code from set_menu()
9003 to this place; skipped the call to gtk_widget_show_all(); also didn't
9004 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
9005 (hildon_window_set_menu): removed most of the code, just keep the
9006 questionable gtk_widget_show_all()
9007 * src/hildon-window.h: added the new function and deprecate the old
9010 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
9016 * debian/changelog: Updating.
9018 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
9021 * pkgconfig/Makefile.am:
9022 * pkgconfig/hildon.pc.in:
9025 Do not use PACKAGE_VERSION_MAJOR as the API revision,
9026 use newly created API_MAJOR_VERSION.
9028 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9034 * debian/changelog: Updating.
9036 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9038 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
9040 Add outer_border style property, we use it but don't define it (!).
9044 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
9046 * examples/hildon-bread-crumb-trail-example.c (main):
9050 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
9052 Fix logic for the bread crumb trail node removal.
9056 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9062 * debian/changelog: Updating.
9064 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 Patch by Alejandro to get/set passwords dialogs accesibility.
9068 * hildon-1/src/hildon-get-password-dialog.c:
9069 * hildon-1/src/hildon-set-password-dialog.c:
9070 Set atk_set_name to the passwd entries in order to allow
9071 accessibility by name on this entries.
9073 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9078 * debian/control: Updating gtk dep.
9080 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9082 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9083 USE_MAEMO_GTK is enabled.
9085 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9087 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9088 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9090 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9096 * debian/changelog: Updating.
9098 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9100 * examples/Makefile.am:
9101 * examples/hildon-logical-color-example.c:
9102 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9103 applied + adding a test case. Fixes: NB#71660.
9105 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9107 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9108 to be visible, fixes warning on map for windows without toolbars.
9110 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9112 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9113 2.11.0, add a check for that besides the MAEMO_GTK check.
9115 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9121 * debian/changelog: Updating.
9123 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9126 visibility. Fixes: NB#70842 and MB#615.
9128 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9130 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9131 set the separator as no-show-all so it doesn't unintentionally appear when
9132 someone does a show_all.
9134 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9136 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9137 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9138 toplevel item. Fixes: NB#62031
9140 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9142 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9143 fix the name of the function in the docs.
9145 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9151 * debian/changelog: Updating.
9153 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9155 * examples/hildon-banner-long-example.c: Adding a test-case for long
9158 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9160 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9162 * src/hildon-color-chooser-dialog.c:
9163 * src/hildon-color-chooser.c:
9164 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9165 memory leaks in font selector and color selector. Fixes: NB#70499 and
9168 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9170 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9172 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9175 little bit bigger. Fixes: #NB63694.
9177 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9183 * debian/changelog: Updating.
9185 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9188 * doc/hildon-docs.sgml:
9189 * doc/images/bread-crumb-trail.png:
9190 * doc/images/calendar-popup.png:
9191 * doc/images/caption.png:
9192 * doc/images/code-dialog.png:
9193 * doc/images/color-button.png:
9194 * doc/images/color-chooser-dialog.png:
9195 * doc/images/color-chooser.png:
9196 * doc/images/controlbar.png:
9197 * doc/images/date-editor.png:
9198 * doc/images/font-selection-dialog.png:
9199 * doc/images/get-password-dialog.png:
9200 * doc/images/hvolumebar.png:
9201 * doc/images/login-dialog.png:
9202 * doc/images/note.png:
9203 * doc/images/number-editor.png:
9204 * doc/images/range-editor.png:
9205 * doc/images/seekbar.png:
9206 * doc/images/set-password-dialog.png:
9207 * doc/images/sort-dialog.png:
9208 * doc/images/time-editor.png:
9209 * doc/images/time-picker.png:
9210 * doc/images/vvolumebar.png:
9211 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9212 Adding the bread-crumb-trial and helpers to the documentation.
9214 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9216 * examples/hildon-find-toolbar-example.c:
9217 * src/hildon-find-toolbar.c:
9218 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9219 actually continue firing the other handlers if connected. Adding a new
9221 hildon_find_toolbar_get_last_index that gets the index of the most
9222 recently added (last) item. Fixes: NB#52301.
9224 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9227 behaviour. Fixes: NB#68610.
9229 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9234 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9237 when realizing the banner. Should make the infonbanner effect a bit more
9240 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * src/hildon-volumebar.c:
9243 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9244 hildon_volumebar_set_range_insensitive_message and
9245 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9247 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9249 * src/hildon-window.c: Fixing the border freeing on destroy.
9251 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * src/hildon-code-dialog-private.h:
9254 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9255 kw keyboard support in HildonCodeDialog.
9257 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9263 * debian/changelog: Updating.
9265 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9267 * src/hildon-date-editor.c:
9268 * src/hildon-number-editor.c:
9269 * src/hildon-private.c:
9270 * src/hildon-private.h:
9271 * src/hildon-time-editor.c:
9272 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9273 handling in subclassed composite widgets. Fixes: NB#66628.
9275 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9277 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9278 from destroy_ callback as it introduces problems in async dbus signal
9279 handlers. Fixes NB#66673.
9281 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9283 * examples/hildon-hvolumebar-example.c:
9284 * src/hildon-volumebar.c: Improving the focus handling in the
9285 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9286 set_property accessor so that "mute" property can be actually set. I'm
9287 scared that nobody noticed it's totally broken.
9289 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9291 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9294 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9296 * src/hildon-calendar.c:
9297 * src/hildon-number-editor.c:
9298 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9299 matches the spec of 6 chars per second. Fixes: NB#60489.
9301 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9304 gtk_style_lookup_color sometime returns FALSE even though color was
9305 found and values were filled properly. Weird. Removing the warning for the
9308 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9310 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9311 expand vertically. Adding some extra space to the find toolbar buttons to
9312 make them thumbable. Fixes NB#66060.
9314 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9316 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9317 popup with "Ok" and "Cancel". Fixes NB#59299.
9319 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9321 * src/hildon-calendar.c: Process all window updates before executing next
9322 timeout. Fixes: NB#54146.
9324 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9330 * debian/changelog: Updating.
9332 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9334 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9335 the client event and ignore it, since we use the delete event to close
9338 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9340 * src/hildon-helper.c: Remove the bogus warning about color not being
9341 found. Fixes NB#58352.
9343 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9345 * examples/Makefile.am:
9346 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9347 HildonSeekbar widget inside a toolbar.
9349 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9351 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9352 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9353 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9354 don't want to be closed by non-temporary windows on map.
9356 Also use G_DEFINE_TYPE instead of manually typed code.
9358 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9365 * debian/rules: Updating.
9367 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9369 * examples/Makefile.am:
9370 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9371 bug NB#61128. Strangely it works.
9373 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9375 * src/hildon-date-editor.c: When the date editor entry has been changed
9376 but the numbers of characters < max, turn off the skip validation flag.
9377 Prevents a situation when we enter first a valid year and later re-write
9378 it with an invalid one. Fixes NB#60154.
9380 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9382 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9383 code dialog. Fixes NB#64355.
9385 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9387 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9388 switching the page. Fixes NB#49374.
9390 * examples/Makefile.am:
9391 * examples/hildon-wizard-dialog-example.c: Adding an example for
9392 HildonWizardDialog that shows how to handle manual sensitivity setting on
9395 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9399 * src/hildon-version.h.in:
9400 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9402 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9404 * src/hildon-volumebar.c: Updating the docs.
9406 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9412 * debian/changelog: Updating.
9414 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9416 * src/hildon-find-toolbar.c:
9417 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9418 selected item: hildon_find_toolbar_set_active,
9419 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9420 hildon_find_toolbar_get_active_iter . They correspond to respective
9421 GtkComboBox functions.
9423 * examples/Makefile.am:
9424 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9427 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9429 * examples/Makefile.am:
9430 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9433 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9434 when font size > 32 and we pack a focusable widget inside. Actually using
9435 the default response would work too, but since we don't show default
9436 response state in any way (no theming) it would not be visible to the
9437 user. Fixes NB#63430.
9439 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9441 * src/hildon-date-editor.c: Adding the missing variable setter in the
9442 set_property handler. Fixes NB#54182.
9444 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9446 * src/hildon-window.h: Changing the long key press time from 1500ms to
9447 800ms as requested in NB#63700. I have a bad feeling about this, let's
9448 see... Fixes NB#63700.
9450 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9452 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9453 hildon_time_picker_map, hildon_time_picker_realize,
9454 hildon_time_picker_style_set): Split the contents of map to more
9455 appropriate functions; set window decorations on realize and update
9456 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9458 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9463 * debian/changelog: Updating.
9465 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9467 * src/Makefile.am: fixed installation of the header files
9469 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9475 * debian/changelog: Updating.
9477 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9479 * configure.ac: Removing some remaining of --enable-xan.
9481 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9483 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9484 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9486 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9487 2.10.12-osso6 because the move-focus signal needs to be available in
9490 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9492 * examples/Makefile.am:
9493 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9494 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9495 fine. Prolly NB#61128 is fixed now.
9497 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9499 * src/hildon-volumebar.c:
9500 * src/hildon-volumebar.h: Adding the
9501 hildon_volumebar_set_range_insensitive_message and
9502 hildon_volumebar_set_range_insensitive_messagef functions to set
9503 insensitive message on the slider of the volumebar. Fixes NB#61129.
9505 * examples/Makefile.am:
9506 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9507 test the new insensitive messsage functionality on HildonVolumebar.
9509 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9511 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9514 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9516 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9517 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9518 button on after clearing the trail.
9520 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9522 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9524 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9526 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9527 by splitting the installed headers in generated and non-generated groups. Use
9528 only the non-generated headers to create the hildon-enum-types.h file.
9530 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9532 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9534 * src/hildon-window.c: Hide the window before performing the destroy.
9535 Should make the app closing a little tiny bit more snappy.
9537 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9539 * src/hildon-seekbar.c: add gtkrange.h header
9540 * src/hildon-caption.c: remove unused variable
9542 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9544 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9547 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9553 * debian/changelog: Updating.
9555 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9557 * src/hildon-window.c (hildon_window_window_state_event,
9558 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9559 escape timeout on focus-out-event rather than notify::is-topmost; the
9560 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9562 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9564 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9565 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9567 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9569 * src/hildon-window: actually, you need to use the macro always, there's
9570 no private pointer in the instance structure. We should have cleaned this up
9571 when we had the chance...
9573 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9575 * src/hildon-window.c: do not get the private date from HildonWindow before
9576 it passes the g_return_if_fail check. Once it's passed the test, there's no
9577 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9578 if you are only going to access the data once. Whitespace cleanups.
9580 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9582 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9583 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9585 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9591 * debian/changelog: Updating.
9593 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9595 * src/hildon-window.c: When destroying the window, remove (if exists) the
9596 escape timeout handler. Fixes #NB59276.
9598 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9600 * src/hildon-banner.c: When realizing the widget, set the window
9601 transiency. Setting the transiency in the gobject constructor is not
9602 good, as the widget is not realized at that point. Fixes: #NB56624.
9604 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9606 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9607 Add padding for future expansions.
9609 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9611 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9612 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9613 will fake an activation on the previous to the last item of the trail, so
9614 the effect can be overrided by the developer as usual.
9615 Also change the callback for the back button to do the same thing, so its
9616 effect can be overrided too. Fixes: NB#58982
9618 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9620 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9621 HildonCaption. Fixes NB#52379.
9623 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9625 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9626 the internal state of the trail after the user has had the chance of executing
9627 his handler for the signal. Specifically, it may happen that the activated button
9628 is removed and the user still lets the default handler run. This would segfault
9631 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9633 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9634 scrollbar to the preview dialog. Fixes NB#54147.
9636 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9638 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9639 max/min year properties can be altered, so the client can modify it
9640 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9642 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9644 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9645 hildonlike by default. Fixing a problem with disappearing arrows when
9646 scrolling through months and years. Fixes NB#54127.
9648 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9650 * examples/hildon-date-editor-example.c: Adding error callback to the date
9653 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9659 * configure.ac: Updating.
9661 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9663 * configure.ac: Adding a special '--enable-xan' configure option that
9664 turns off the -Werror compilation setting. Usefull for development.
9666 * src/hildon-calendar.c:
9667 * src/hildon-number-editor.c:
9668 * src/hildon-time-picker.c: Adding the 5* multiplier to
9671 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9673 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9674 instead of g_object_ref + gtk_object_sink.
9676 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9682 * debian/changelog: Updating.
9684 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9686 * src/hildon-color-chooser-dialog.c:
9687 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9688 straight from Tommi labs.
9690 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9692 * examples/hildon-finger-example.c: Correcting the header file path.
9694 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9695 the changed signal. Fixes a small memory leak.
9697 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9701 * src/hildon-banner.c: Importing several usefull fixes from the
9702 ubuntu-mobile branch.
9704 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9706 * examples/Makefile.am:
9707 * examples/hildon-finger-example.c: Adding a finger-checking code
9710 * src/hildon-font-selection-dialog.c: Do not allocate the color
9711 structure using the g_new. Fixes NB#54061.
9713 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9715 * src/hildon-helper.c: Correcting tabs in file.
9717 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9719 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9720 control the visibility of the children.
9722 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9724 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9730 * debian/changelog: Updating.
9732 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9734 * src/hildon-bread-crumb-trail.c:
9735 (hildon_bread_crumb_trail_size_allocate):
9737 Make the back button always a square.
9739 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9741 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9742 from the .c file as it's a private file.
9744 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9746 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9747 uses slightly bigger height.
9749 * src/hildon-font-selection-dialog.c: Adding some checks before
9750 freeing memory in the font selection dialog.
9752 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9754 * src/hildon-font-selection-dialog.c: Adding a small check when
9757 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9758 buttons sensitivity on page switching.
9760 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9762 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9763 internal details of adding a bread crumb to the trail.
9765 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9771 * debian/changelog: Updating.
9773 * src/hildon-bread-crumb-trail.h:
9774 * src/hildon-bread-crumb.h: Changing the API guard to
9775 HILDON_ENABLE_UNSTABLE_API.
9777 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9785 * src/hildon-helper.h: Updating.
9787 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9795 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9799 * src/hildon-helper.h: Small fix to make the package actually compile.
9801 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9803 * src/hildon-bread-crumb-trail.h:
9804 * src/hildon-bread-crumb.h:
9806 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9807 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9809 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9811 * examples/hildon-bread-crumb-trail-example.c:
9813 * src/hildon-bread-crumb-trail.c:
9814 * src/hildon-bread-crumb-trail.h:
9815 * src/hildon-bread-crumb.c:
9816 * src/hildon-bread-crumb.h:
9817 * src/hildon-marshalers.list:
9818 * src/hildon-bread-crumb-widget.c:
9819 * src/hildon-bread-crumb-widget.h:
9821 Slight change in the widget design. The bread crumb trail API is
9822 unchanged, but HildonBreadCrumb is now an interface. A *private*
9823 implementation, hildon-bread-crumb-widget, is provided and used
9824 internally by the trail for the push_text/push_icon functions.
9826 The generic push API is still available, so anyone can implement
9827 and use its own bread crumb widget.
9829 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9831 * debian/rules: Fixing the shlibs.
9833 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9835 * src/hildon-banner.c: Fixing a problem with timed banners having
9836 their parrent destroyed before they are.
9838 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9840 * src/hildon-bread-crumb.c:
9841 * src/hildon-bread-crumb.h:
9843 Make the get_natural_size function a vfunc.
9845 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9847 * src/hildon-bread-crumb.c:
9848 * src/hildon-bread-crumb-trail.c:
9852 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9859 * debian/changelog: Updating for release.
9861 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9863 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9864 don't leak the pango layout.
9866 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9869 * examples/hildon-bread-crumb-trail-example.c:
9873 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9875 * debian/changelog: Removing the bug-fixed entries that were actually
9876 resolved as WONTFIX.
9878 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9881 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9883 * src/hildon-bread-crumb-trail.c:
9884 * src/hildon-bread-crumb-trail.h:
9885 * src/hildon-bread-crumb.c:
9886 * src/hildon-bread-crumb.h:
9890 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9892 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9893 until it's passed the type check.
9895 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9897 * examples/hildon-bread-crumb-trail-example.c
9901 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9903 * examples/Makefile.am
9904 * examples/hildon-bread-crumb-trail-example.c
9906 * src/hildon-bread-crumb-trail.c
9907 * src/hildon-bread-crumb-trail.h
9908 * src/hildon-bread-crumb.c
9909 * src/hildon-bread-crumb.h
9911 New HildonBreadCrumbTrail widget.
9913 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9915 * src/hildon-range-editor.c (hildon_range_editor_init),
9916 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9917 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9918 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9919 hildon_time_editor_class_init, hildon_time_editor_init),
9920 src/hildon-get-password-dialog.c (invalid_input,
9921 hildon_get_password_set_property, hildon_get_password_get_property,
9922 create_contents, hildon_get_password_dialog_set_max_characters),
9923 src/hildon-set-password-dialog.c (create_contents),
9924 src/hildon-date-editor.c (hildon_date_editor_init),
9925 src/hildon-login-dialog.c (hildon_login_dialog_init),
9926 src/hildon-number-editor.c (hildon_number_editor_init),
9927 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9928 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9929 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9930 configure option and adding the respective checks in the code.
9931 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9932 hildon_calendar_drag_data_received): fixed some build warnings.
9934 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9936 * debian/changelog: A 1.0.0 release notes.