1 2009-10-01 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-banner.c (hildon_banner_timeout):
4 Remove the timeout, if present, before setting it to 0.
6 Fixes: NB#141447 (HildonBanner crashes if a new one is shown
9 2009-09-30 Alberto Garcia <agarcia@igalia.com>
11 * hildon/hildon-banner.c (screen_size_changed):
12 Don't hide and show the banner when the screen size changes.
14 Fixes: NB#141140 (Rotation stops when banner is present)
16 2009-09-22 Alejandro G. Castro <alex@igalia.com>
18 * hildon/hildon-pannable-area.c,
19 (hildon_pannable_axis_scroll),
20 (hildon_pannable_area_scroll): Unset the scroll_to in some
21 situations, it was causing the timeout did not stop in some cases.
23 Fixes: NB#140186 (HildonPannableArea goes into an infinite loop)
25 2009-07-02 David King <davidk@openismus.com>
27 * hildon/hildon-animation-actor-private.h
28 (HildonAnimationActorPrivate)
29 * hildon/hildon-animation-actor.c (hildon_animation_actor_show)
30 (hildon_animation_actor_hide)
31 * hildon/hildon-animation-actor.h
32 (hildon_animation_actor_set_show_full)
33 (hildon_animation_actor_set_show): Change "show" parameter type from
36 Fixes: MB#4696 (hildon_animation_actor_set_show() gint argument should
39 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
41 Do not return gboolean in GtkButton:clicked signal handlers
43 * examples/hildon-banner-example.c:
44 (on_information_clicked), (on_animation_clicked),
45 (on_progress_clicked): GtkButton:clicked handlers do not return
48 2009-09-17 Alberto Garcia <agarcia@igalia.com>
50 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
51 Use the Xlib API to take window screenshots, since the GDK API
52 doesn't allow us to set the event mask.
54 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
57 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
59 [2.2.0 Release Candidate 6]
61 * debian/changelog: bump and updates.
63 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
65 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
66 free a GList and avoid potential memory corruption.
68 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
70 [2.2.0 Release Candidate 5]
73 * debian/changelog: bump and updates
75 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
77 Do not set any flag for empty legacy menus
79 * hildon/hildon-program.c: (hildon_program_set_common_menu):
80 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
81 This will probably not work fine with empty legacy menus added to
82 programs or windows and populated later, but so it's life.
84 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
86 Update the application menu flag for application-wise windows
88 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
89 (hildon_program_set_common_app_menu): Also take into account the visibility
92 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
94 Emit HildonAppMenu::changed when menu items change visibility
96 * hildon/hildon-app-menu.c: (item_visibility_changed),
97 (filter_visibility_changed): Also emit ::changed on
98 visibility of items changed.
100 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
102 Do not set the menu flag in a window when a menu is empty
104 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
105 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
106 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
107 changes by using the HildonAppMenu::changed signal.
109 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
111 Add HildonAppMenu::changed signal
113 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
114 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
115 Emit a new HildonAppMenu:changed signal when there are changes in
118 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
120 Add hildon_app_menu_has_visible_children() private method
122 * hildon/hildon-app-menu-private.h: Add below private method.
123 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
124 New method to check the visibility of a HildonAppMenu children.
126 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
128 Set the window menu flag for application-common menus
130 * hildon/hildon-program.c:
131 (+hildon_program_window_set_common_menu_flag): Set or remove the
132 menu flag from a window only this doesn't have its own menu.
133 (+hildon_program_set_common_menu_flag): adjust menu flag for
134 all windows in the program.
135 (hildon_program_add_window),
136 (hildon_program_remove_window): add/remove the menu flag when
137 a window is added to the program.
139 Fixes: NB#137814 (Indicator for view menu in app title area)
141 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
143 Set a special window property for windows with menus
145 * hildon/hildon-window-private.h: Add private
146 hildon_window_set_menu_flag()
147 * hildon/hildon-window.c: (+do_set_has_menu),
148 (+hildon_window_set_menu_flag): set
149 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
150 or remove the property.
151 (hildon_window_set_main_menu),
152 (hildon_window_set_app_menu): call above methods to set or remove
153 the property when a menu is added or removed from the window.
155 Partially fixes: NB#137814 (Indicator for view menu in app title area)
157 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
159 Rename and move the methods to set flags to hildon-private.h
161 * hildon/hildon-gtk.c: (do_set_progress_indicator),
162 (do_set_do_not_disturb), (do_set_portrait_flags): call
163 the new private method hildon_gtk_window_set_clear_window_flag()
164 (hildon_gtk_window_set_progress_indicator),
165 (hildon_gtk_window_set_do_not_disturb),
166 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
167 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
168 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
170 * hildon/hildon-private.h: Add the two new private methds.
172 2009-09-11 Alejandro G. Castro <alex@igalia.com>
174 * hildon/hildon-pannable-area.c,
175 (hildon_pannable_area_init),
176 (hildon_pannable_area_size_allocate),
177 (hildon_pannable_area_button_release_cb): More tuning of the
178 speed, adding a way to calculate the acceleration and fast-panning
179 based on the child size.
181 2009-09-10 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-touch-selector.c
184 (hildon_touch_selector_class_init):
185 Documentation updates
189 2009-09-10 Alberto Garcia <agarcia@igalia.com>
191 * hildon/hildon-touch-selector.c:
192 Documentation updates
194 Fixes: MB#5104 (HildonTouchSelector docs should say no
195 HildonPannableArea is necessary)
197 2009-09-08 Alejandro G. Castro <alex@igalia.com>
199 * hildon/hildon-pannable-area.c,
200 (hildon_pannable_area_timeout): Fixed problem with the timeout
201 function, we need to move before decelerating the first time or we
202 are loosing the first jump.
204 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
206 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
208 [2.2.0 Release Candidate 3]
210 * debian/changelog: updates
212 2009-09-07 Alejandro G. Castro <alex@igalia.com>
214 * hildon/hildon-pannable-area.c,
215 (hildon_pannable_area_class_init): Increased max speed.
217 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
219 [2.2.0 Release Candidate 2]
222 * debian/changelog: bump version, updates
224 2009-09-07 Alejandro G. Castro <alex@igalia.com>
226 * hildon/hildon-pannable-area.c,
227 (hildon_pannable_area_class_init),
228 (hildon_pannable_area_button_release_cb): More tuning for the
231 2009-09-07 Alejandro G. Castro <alex@igalia.com>
233 * hildon/hildon-pannable-area.c,
234 (hildon_pannable_area_class_init):
235 Change the default value of the scrollbar_fade_delay.
237 Fixes: NB#127018 (Panning indicator fades out too slowly)
239 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
241 [2.2.0 Release Candidate 1]
244 * configure.ac: Bump version
245 * debian/changelog: updates
247 2009-09-04 Alejandro G. Castro <alex@igalia.com>
249 * hildon/hildon-pannable-area.c,
250 (hildon_pannable_area_init),
251 (hildon_pannable_area_button_press_cb),
252 (hildon_pannable_area_button_release_cb): Added a new acceleration
253 system to help traversing big lists, tuned the stop threshold.
255 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
257 2009-09-04 Alberto Garcia <agarcia@igalia.com>
259 * hildon/hildon-window.h:
260 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
262 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
264 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
268 * configure.ac: bump version
270 * debian/changelog: updates
272 2009-09-04 Alberto Garcia <agarcia@igalia.com>
274 * hildon/hildon-entry.c
275 * hildon/hildon-text-view.c:
276 Documentation updates
278 2009-09-04 Alberto Garcia <agarcia@igalia.com>
280 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
281 Redraw menu when the number of items change.
283 Fixes: NB#131911 (Appmenu does not resize properly, when number of
286 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
288 * hildon/hildon-pannable-area.c:
289 (hildon_pannable_area_launch_fade_timeout),
290 (hildon_pannable_area_motion_event_scroll),
291 (hildon_pannable_area_check_move),
292 (hildon_pannable_area_button_release_cb),
293 (hildon_pannable_area_scroll_to):
295 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
296 area drawing operations, since this is the recommended for drawing
299 Fixes: NB#110894 (In event view containing very large description
300 field, application menu is displayed blank while panning)
301 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
304 2009-09-03 Alberto Garcia <agarcia@igalia.com>
306 * doc/hildon-sections.txt
307 * hildon/hildon-button.c
308 * hildon/hildon-edit-toolbar.c
309 * hildon/hildon-gtk.[ch]
310 * hildon/hildon-main.c
311 * hildon/hildon-program.c
312 * hildon/hildon-stackable-window.c:
313 Documentation updates
315 2009-08-28 Alberto Garcia <agarcia@igalia.com>
317 * hildon/hildon-app-menu.c
318 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
319 Close the menu if it receives a grab-notify signal.
321 Fixes: NB#134533 (UI freezes if we show a dialog with
322 gtk_dialog_run() while a menu is opened)
324 2009-08-27 Alejandro G. Castro <alex@igalia.com>
326 * hildon/hildon-pannable-area.c,
327 (hildon_pannable_area_class_init): Reverted tuning modifications:
328 "Pannign needs to be faster" and "Pannable kinetics in large lists
331 2009-08-26 Alberto Garcia <agarcia@igalia.com>
333 * hildon/hildon-sound.c (hildon_play_system_sound):
334 Set "module-stream-restore.id" to "x-maemo-system-sound" when
335 playing system sounds
337 Fixes: NB#133767 (Information and confirmation note sound should
338 follow system profile setting)
340 2009-08-26 Alejandro G. Castro <alex@igalia.com>
342 * hildon/hildon-pannable-area.c,
343 (hildon_pannable_area_class_init): Added more force and increased
344 the max speed threshold.
346 Fixes: NB#135344 (Pannign needs to be faster)
348 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
350 [Release 2.1.96, this time for real]
353 * debian/changelog: updates
355 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
357 * hildon/hildon-pannable-area.c
358 (hildon_pannable_area_get_topmost): change the computation of the
359 co-ordinates transformed when no one of the children is a topmost
361 Fixes: NB#133252 (Opening any feed item from RSS always opens the
362 first feed item in browser)
364 2009-08-26 Alejandro G. Castro <alex@igalia.com>
366 * hildon/hildon-pannable-area.c,
367 (hildon_pannable_area_remove_timeouts): Adding this new function
368 with the code that removes the timeouts of the widget.
369 (hildon_pannable_area_dispose),
370 (hildon_pannable_area_unrealize): Use the new remove function to
371 stop timeouts when unrealizing and disposing.
372 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
373 calculation to avoid negative values in some cases.
375 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
377 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
379 * examples/hildon-check-button-example.c: (button_toggled_cb):
380 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
381 (hildon_check_button_set_active), (hildon_check_button_new),
382 (hildon_check_button_clicked), (hildon_check_button_class_init):
383 * hildon/hildon-check-button.h:
384 * hildon/hildon-set-password-dialog.c: (create_contents),
385 (hildon_set_password_response_change), (hildon_checkbox_toggled):
387 Revert "Make HildonCheckButton derive from GtkToggleButton"
389 2009-08-21 Alberto Garcia <agarcia@igalia.com>
393 * configure.ac: bump version
395 * debian/changelog: updates
397 2009-08-21 Alberto Garcia <agarcia@igalia.com>
399 * hildon/hildon-check-button.h
400 * hildon/hildon-check-button.c
401 (hildon_check_button_clicked, hildon_check_button_class_init):
402 Make HildonCheckButton derive from GtkToggleButton
403 (hildon_check_button_toggled, hildon_check_button_set_active)
404 (hildon_check_button_get_active):
405 Deprecate unnecessary HildonCheckButton API and use the
406 one from GtkToggleButton instead.
408 * hildon/hildon-set-password-dialog.c (create_contents)
409 (hildon_set_password_response_change, hildon_checkbox_toggled)
410 * examples/hildon-check-button-example.c (button_toggled_cb):
411 Update to use the GtkToggleButton API
413 Fixes: MB#4739 (HildonCheckButton should inherit from
416 Fixes: NB#132661 (HildonCheckButton should inherit from
419 2009-08-20 Alberto Garcia <agarcia@igalia.com>
421 * hildon/hildon-pannable-area.c
422 (hildon_pannable_area_class_init):
423 Increase default value of HildonPannableArea:velocity_max to 2000
425 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
427 2009-08-18 Alberto Garcia <agarcia@igalia.com>
431 * configure.ac: bump version
433 * debian/changelog: updates
435 2009-08-11 Alejandro G. Castro <alex@igalia.com>
437 * hildon/hildon-pannable-area.c
438 (hildon_pannable_area_size_allocate): Checked the scrollbars
439 before the first try when defining the layout, avoids two
440 allocations in some situations.
442 Fixes: NB#131794 (pannable area produces unnecessary allocations
443 causing performance problems)
445 2009-08-11 Alejandro G. Castro <alex@igalia.com>
447 * hildon/hildon-pannable-area.c
448 (hildon_pannable_area_button_press_cb),
449 (hildon_pannable_area_motion_notify_cb),
450 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
451 the spurious ref added in the copy, fixes leak of window.
453 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
454 if it's realized without showing and then deleted)
456 2009-08-10 Alberto Garcia <agarcia@igalia.com>
460 * configure.ac: bump version
462 * debian/changelog: updates
464 2009-08-06 Alberto Garcia <agarcia@igalia.com>
466 * examples/hildon-hvolumebar-timer-example.c
468 * hildon/hildon-banner.c
469 (hildon_banner_timeout, hildon_banner_ensure_timeout)
470 * hildon/hildon-calendar.c
471 (calendar_timer, start_spinning)
472 * hildon/hildon-color-chooser.c
473 (inline_limited_expose)
474 * hildon/hildon-date-editor.c
475 (hildon_date_editor_entry_focus_in)
476 (hildon_date_editor_entry_validate)
477 (hildon_date_editor_entry_select_all)
478 * hildon/hildon-note.c
480 * hildon/hildon-number-editor.c
481 (hildon_number_editor_button_pressed)
482 (hildon_number_editor_start_timer, do_mouse_timeout),
483 (add_select_all_idle, hildon_number_editor_select_all)
484 * hildon/hildon-time-editor.c
485 (hildon_time_editor_entry_focus_in)
486 (highlight_callback, hildon_time_editor_validate)
487 (hildon_time_editor_entry_select_all)
488 * hildon/hildon-time-picker.c
489 (hildon_time_picker_arrow_press)
490 (hildon_time_picker_key_repeat_timeout)
491 * hildon/hildon-window.c
492 (hildon_window_key_press_event)
493 (hildon_window_escape_timeout):
494 Replace all calls to g_idle_add/g_timeout_add with their
495 gdk_threads counterparts.
497 Fixes: NB#126198 (gdk-threads API should be used to install idle
498 and timeout handlers)
500 2009-08-06 Alejandro G. Castro <alex@igalia.com>
502 * hildon/hildon-pannable-area.c,
503 (hildon_pannable_area_class_init): Increased the overshooting max
504 speed to get a faster effect.
505 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
506 deceleration of the overshooting
507 (hildon_pannable_area_button_release_cb): Calculate initial
508 overshooting speed when finger on the screen using the distance to
509 launch the effect faster.
511 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
512 lists with slow row renderers)
514 2009-08-05 Alberto Garcia <agarcia@igalia.com>
516 * doc/hildon-sections.txt: Add new functions
518 2009-08-05 Alberto Garcia <agarcia@igalia.com>
520 * hildon/hildon-text-view.[ch]
521 * hildon/hildon-entry.[ch]:
522 Add deprecation guards around deprecated functions.
524 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
526 * hildon/hildon-app-menu.c: Remove leftover function declaration.
528 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
530 Remove the grab from HildonAppMenu
532 * hildon/hildon-app-menu.c:
533 Now hildon-desktop places a blocker window behind the menu to handle
534 its closing, so the grab is no longer needed. This simplifies its
535 implementation and allows the system blanking to succeed.
537 Fixes: NB#130910 (Screen gets unlocked when menu is open)
539 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
543 * configure.ac: bump version
545 * debian/changelog: updates
546 * debian/control: raise debian dependency on GTK+
548 2009-08-04 Alberto Garcia <agarcia@igalia.com>
550 * hildon/hildon-text-view.c
551 * hildon/hildon-entry.c:
552 Remove all placeholder code from HildonEntry and HildonTextView
553 and use the API in GtkEntry and GtkTextView instead.
555 * examples/hildon-entry-example.c
556 * examples/hildon-text-view-example.c
557 * examples/hildon-wizard-dialog-example.c
558 * hildon/hildon-get-password-dialog.c
559 * hildon/hildon-login-dialog.c
560 * hildon/hildon-picker-dialog.c
561 * hildon/hildon-set-password-dialog.c
562 * hildon/hildon-touch-selector-entry.c:
563 Replace all deprecated calls to HildonEntry and HildonTextView
564 with their Gtk counterparts.
566 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
569 2009-08-03 Alejandro G. Castro <alex@igalia.com>
571 * hildon/hildon-pannable-area.c,
572 (hildon_pannable_area_check_move),
573 (hildon_pannable_area_button_release_cb),
574 (hildon_pannable_area_scroll_to): Reverted the priority change of
575 the timeout, in some situations, slow renderers, the click do not
576 make it to the mainloop on time.
578 Fixes NB#131013 (unable to stop panning file manager by tapping on
581 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
583 * configure.ac: bump version
585 * debian/changelog: updates
587 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
589 * hildon/hildon-touch-selector.[ch]
590 (hildon_touch_selector_center_on_index): New method that allows to center
591 on a item not selected
593 Fixes NB#130291 (New HildonTouchSelector API is required to center on
596 2009-07-29 Alberto Garcia <agarcia@igalia.com>
598 * hildon/hildon-text-view.c
599 (+set_logical_color, +hildon_text_view_style_set)
600 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
601 (hildon_text_view_init)
602 * hildon/hildon-entry.c
603 (+set_logical_color, +hildon_entry_style_set)
604 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
605 (hildon_entry_class_init, hildon_entry_init)
606 * hildon/hildon-button.c
607 (+set_logical_font, +set_logical_color)
608 (hildon_button_style_set, hildon_button_init)
609 (hildon_button_set_arrangement, hildon_button_set_style):
610 Remove all calls to hildon_helper_set_logical_font() and
611 hildon_helper_set_logical_color(), which are recursive, from
614 Fixes: NB#123409 (Showing dialog consumes significant amount of
617 2009-07-29 Alejandro G. Castro <alex@igalia.com>
619 * hildon/hildon-pannable-area.c,
620 (hildon_pannable_area_timeout): Added the process updates of the
621 scrollbars window in the pannable.
623 Fixes: NB#130043 (scrollindicator not smooth while panning)
625 2009-07-23 Alejandro G. Castro <alex@igalia.com>
627 * hildon/hildon-pannable-area.c,
628 (hildon_pannable_area_check_move),
629 (hildon_pannable_area_button_release_cb),
630 (hildon_pannable_area_scroll_to): Increased the priority of the
631 timeout this way it is going to be handled before the events.
633 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
637 * configure.ac: bump version
638 * debian/changelog: updates
640 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
642 * hildon/hildon-entry.c: (set_property): Do not allow to set
643 automatic height and use finger height instead, to prevent an to
644 have a smaller size than than its theme pixbuf.
646 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
648 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
650 * configure.ac: postrelease version bump.
651 * debian/changelog: post release version bump
653 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
658 * configure.ac: Bump version.
659 * debian/changelog: Updates.
661 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
663 * hildon/hildon-note.c: (label_size_request): Take the note
664 padding into account when setting the size request.
666 Fixes: NB#127896 (Information notes text truncated)
668 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
670 * configure.ac: postrelease version bump.
671 * debian/changelog: post release version bump
673 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
678 * configure.ac: Bump version.
679 * debian/changelog: Updates.
681 2009-07-16 Alejandro G. Castro <alex@igalia.com>
684 * hildon/hildon-text-view.c,
685 (hildon_text_view_button_press_event): Grabbed the focus in button
686 press, this way we are sure the widget has the focus in the
687 release event, required for HIM.
689 Fixes: NB#121445 (Virtual keyboard opening is not working in same
690 way for each text entry field)
692 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
694 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
695 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
696 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
697 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
698 (hildon_pannable_area_[gs]et_center_on_child_focus)
699 Redefined GtkContainer set-focus-child signal, in order to center
700 properly on a child when it receives the focus. Defined a new property
701 "center-on-child-focus" in order to activate this feature (deactivated
702 by default). Public get/set methods defined to manage the property.
704 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
706 2009-07-14 László Pere <lpere@blumsoft.eu>
708 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
709 the new size is applied.
711 Fixes: NB#124510 (The Application Menu is distorted when switched
712 between portrait and landscape mode)
713 Fixes: NB#115388 (Power key menu does not resize itself)
715 2009-07-01 Alberto Garcia <agarcia@igalia.com>
717 * hildon/hildon-banner.c (hildon_banner_map):
718 Set banner position after mapping.
720 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
722 * configure.ac: postrelease version bump.
723 * debian/changelog: post release version bump
725 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
730 * configure.ac: Bump version.
731 * debian/changelog: Updates.
733 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
735 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
738 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
740 * tests/check-hildon-banner.c
742 * tests/test_suites.h
743 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
744 were testing deprecated functions.
745 * examples/hildon-banner-example.c: typo on button3 type, that causes
746 a fail compiling with --with-examples but without --disable-deprecated
748 Missed commit in order to fix compilation using '--enable-fatal' and
749 '--disable-deprecated' (see previous commit)
751 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
753 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
754 functions with #ifndef HILDON_DISABLE_DEPRECATED
755 * examples/hildon-find-toolbar.c: Protect deprecated
756 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
757 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
758 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
759 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
761 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
762 to allow proper compilation of deprecated functions defined on the header
764 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
766 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
768 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
769 Cache the panning indicator color.,
770 (hildon_pannable_area_style_set): Query the color on style changes.
771 (hildon_pannable_draw_vscroll),
772 (hildon_pannable_draw_hscroll),
773 (hildon_pannable_area_expose_event): Use the cached panning indicator
774 color instead of looking it up on every expose and more.
776 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
778 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
779 (hildon_pannable_draw_hscroll),
780 (hildon_pannable_area_expose_event): Fix the panning indicator color,
781 so that it's "SecondaryTextColor", as desired.
783 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
785 * hildon/hildon-picker-dialog.c:
786 (selection_completed): take into account HILDON_UI_MODE_NORMAL
787 * hildon/hildon-touch-selector.c
788 (hildon_touch_selector_init): Initialize hildon-ui-mode
789 (hildon_touch_selector_row_activated): new callback for the
790 "row-activated" signal, in order to save the last activated
791 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
792 if the current hildon-ui-mode is coherent with the touch selector
793 (hildon_touch_selector_class_init)
794 (hildon_touch_selector_get_property)
795 (hildon_touch_selector_set_property)
796 Added "hildon-ui-mode" property
797 (disconnect_model_handlers): renamed to clean_column
798 (hildon_touch_selector_remove): use clean_column function
799 (_create_new_column): use the hildon-ui-mode to create the treeview, and
800 only select the first element on HILDON_UI_MODE_EDIT
801 (hildon_touch_selector_column_init): Initialize last_activate
802 (hildon_touch_selector_append_column): check that the touch selector
803 is coherent with the current hildon-ui-mode
804 (hildon_touch_selector_get_hildon_ui_mode)
805 (hildon_touch_selector_set_hildon_ui_mode)
806 Added a getter/setter for the hildon-ui-mode property
807 (hildon_touch_selector_get_last_activated_row): Added this method in
808 order to get the last activated row.
809 * examples/hildon-touch-selector-normal-mode-example.c
810 New example, that shows how to use the HildonTouchSelector in
811 HILDON_UI_MODE_NORMAL
813 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
814 Kristian Rietveld <kris@lanedo.com> advices
816 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
818 * hildon/hildon-time-selector.c: (update_format_policy): Do
819 not call update_format_dependant_columns() if not necessary.
820 (update_format_dependant_columns): Remove unnecessary check for
821 the number of columns.
823 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
825 * hildon/hildon-note.c (+hildon_note_constructor),
826 (hildon_note_class_init), (+hildon_note_set_padding),
827 (hildon_note_rebuild): Install a constructor where to set the
828 padding properties in the note, so that it actually works fine.
829 Use hildon_note_set_padding() for this, and also to set it during
832 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
834 * configure.ac: Bump GTK+ requirement to 2.14.3.
835 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
836 when using maemo-gtk to define proper margins for the notes.
838 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
839 with the dialog edge)
841 2009-06-24 Alberto Garcia <agarcia@igalia.com>
843 * hildon/hildon-banner.c
844 (hildon_banner_class_init):
846 (+hildon_banner_size_request):
847 Request always the full width of the screen.
848 (hildon_banner_realize)
849 (-hildon_banner_check_position, hildon_banner_map):
850 hildon_banner_check_position() is not needed in Hildon 2.2.
851 (-hildon_banner_reset_wrap_state)
852 (hildon_banner_constructor, hildon_banner_init):
853 Remove unnecessary calls to hildon_banner_reset_wrap_state()
854 (+banner_do_set_text)
855 (force_to_wrap_truncated):
856 Remove has_been_wrapped and has_been_truncated attributes.
857 (+reshow_banner, hildon_banner_real_show_information)
858 (hildon_banner_show_information_with_markup)
859 (hildon_banner_show_animation, hildon_banner_show_progress)
860 (hildon_banner_set_text, hildon_banner_set_markup):
861 Refactor code. Shrink banner vertically to use the minimum space
862 necessary everytime the text of the label is updated.
863 (screen_size_changed):
864 Call force_to_wrap_truncated() when the size of the screen
867 Fixes: NB#120500 (only device memory connect mmc in use info
868 banner is left aligned)
870 Fixes: NB#120613 (Size of HildonBanner varies depending on
871 previously opened banners)
873 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
875 * hildon/hildon-color-chooser.c
876 (hildon_color_chooser_pointer_motion): Take the widget allocation
879 Fixes: NB#124385 (Unable to select exact point in color mixing box
880 in color palette dialog)
882 2009-06-23 Alejandro G. Castro <alex@igalia.com>
884 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
885 (hildon_pannable_area_dispose)
886 (hildon_pannable_area_button_press_cb)
887 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
888 (hildon_pannable_area_button_release_cb)
889 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
890 New 'panning-started' and 'panning-finished' signals.
892 Fixes: NB#121732 (New feature request: Signal to pannable area
893 that informs when panning is stopped.)
895 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
897 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
898 instead of hardcoded colon.
900 Fixes: NB#124090 (New calendar wizard title is not using
901 ecdg_ti_caption_separator)
903 2009-06-22 David King <davidk@openismus.com>
905 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
906 constants and functions, as well as correct many typos throughout the
909 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
912 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
914 * configure.ac: postrelease version bump.
915 * debian/changelog: post release version bump
917 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
922 * configure.ac: Bump version.
923 * debian/changelog: Updates.
925 2009-06-18 Alberto Garcia <agarcia@igalia.com>
927 * hildon/hildon-window-stack.c
928 (hildon_window_stack_pop_and_push_list):
929 Prevent windows from having the same stack index
931 2009-06-18 Alberto Garcia <agarcia@igalia.com>
933 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
934 Use the index of the previous window rather than the stack length
935 to calculate the new index.
939 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
941 * hildon/hildon-date-selector.c
942 (hildon_date_selector_select_current_date)
943 (hildon_date_selector_get_date)
944 (hildon_date_selector_select_day):
945 Update the documentation: uses always the range (1-31), as it is obvious
946 that the final one will depend on the month and the year, but globally
947 the range is this, in a similar GtkCalendar approach
948 (hildon_date_selector_get_date):
949 Update the documentation: add NULL as a valid value for the day, month
952 Fix some details, after talk with David King on bug MB#4698
954 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
956 * hildon/hildon-touch-selector-entry.c
957 * hildon/hildon-touch-selector.c
958 Update the documentation of the "text-column" property
960 2009-06-18 David King <davidk@openismus.com>
962 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
963 several typos and errors throughout the documentation.
965 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
968 2009-06-18 Alberto Garcia <agarcia@igalia.com>
970 * hildon/hildon-note.c (hildon_note_realize):
971 Make HildonNote support portrait mode.
973 Fixes: NB#123448 (HildonNote is not portrait-friendly)
975 2009-06-17 Alberto Garcia <agarcia@igalia.com>
977 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
978 Document this function
980 2009-06-17 David King <davidk@openismus.com>
982 * hildon/hildon-date-selector.c
983 (hildon_date_selector_select_current_date)
984 (hildon_date_selector_get_date): Update documentation regarding days,
985 as the day of the month is dependent on both the month and the year.
986 (hildon_date_selector_get_date): Fix documentation of output arguments.
988 Fixes: MB#4698 (DateSelector documentation has bad output argument
989 description, and the day depends on both the month and the year)
991 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
993 * hildon/hildon-caption.c: Other documentation fixes to
996 2009-06-17 David King <davidk@openismus.com>
998 * hildon/hildon-caption.c: Minor documentation updates for
999 HildonCaption. Fixes MB#4697.
1001 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1003 * doc/hildon-docs.sgml: Add hildon-version section.
1004 * doc/hildon-sections.txt:
1005 * hildon/hildon-version.h.in: Document versioning macros and
1008 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1010 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
1011 from HildonPickerDialog section.
1013 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1015 * hildon/hildon-banner.c (hildon_banner_bind_style)
1016 (screen_size_changed, hildon_banner_init)
1017 (hildon_banner_real_show_information)
1018 (hildon_banner_show_information_with_markup)
1019 (hildon_banner_show_animation, hildon_banner_show_progress):
1020 Set a different widget name to banners in portrait mode, for them
1021 to be themed correctly.
1023 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1025 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
1026 Set a different widget name to notes in portrait mode, for them to
1027 be themed correctly.
1029 Partially fixes: NB#118401 (HildonNote causes unnecessary
1030 rescaling of images)
1032 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1034 * hildon/hildon-note.c (hildon_note_class_init)
1035 (+hildon_note_size_request, screen_size_changed):
1036 Always request the full width of the screen.
1038 Fixes: NB#118375 (unnecessary rescaling of images)
1040 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1042 * hildon/hildon-pannable-area.c,
1043 (hildon_pannable_area_init),
1044 (hildon_pannable_area_realize): Replaced old code adding flags in
1045 the object init, now we add it with the other flags in the realize
1048 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1050 * hildon/hildon-note.c: (hildon_note_class_init): Several
1051 documentation improvements to the HildonNote widget.
1053 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1055 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1057 Fixes: MB#4556 (HildonNoteType is undocumented)
1059 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1061 * hildon/hildon-picker-button.c:
1062 Explain how HildonPickerButton sets the title of its dialog
1064 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1065 the title of its dialog)
1067 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1069 * hildon/hildon-check-button.c:
1070 Documentation updates
1072 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1075 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1077 * hildon/Makefile.am
1078 * hildon/hildon-edit-toolbar-private.h
1079 * hildon/hildon-edit-toolbar.c
1080 (+hildon_edit_toolbar_set_progress_indicator)
1081 (hildon_edit_toolbar_init): Add progress indicator to the
1084 * hildon/hildon-gtk.c
1085 (hildon_gtk_window_set_progress_indicator):
1086 If the window contains a HildonEditToolbar, enable the progress
1087 indicator there too.
1089 * hildon/hildon-private.h
1090 * hildon/hildon-private.c
1091 (+hildon_private_create_animation)
1092 * hildon/hildon-banner.c
1093 (-hildon_banner_create_animation):
1094 Moved to hildon-private.c
1096 Fixes: NB#102373 (Progress indicator also for the Edit mode
1099 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1101 * hildon/hildon-app-menu-private.h
1102 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1103 (hildon_app_menu_add_filter, +menu_item_button_event)
1104 (hildon_app_menu_button_release, hildon_app_menu_init):
1105 Make sure that buttons receive 'button-release-event' in spite of
1106 the grab held by HildonAppMenu
1108 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1110 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1112 * hildon/hildon-app-menu.c
1113 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1114 New style property to set the size of the group of filter buttons.
1116 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1118 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1123 * configure.ac: Bump version.
1124 * debian/changelog: Updates.
1126 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1128 * hildon/hildon-main.c: Minor documentation fixes.
1130 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1132 * doc/hildon-sections.txt:
1133 * hildon/hildon-defines.h: Document the defines, organize them,
1134 and mark deprecations as such.
1136 Fixes: MB#4463 (Hildon size #defines are undocumented)
1138 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1140 * hildon/hildon-animation-actor.c:
1141 * hildon/hildon-app-menu.c:
1142 * hildon/hildon-button.c:
1143 * hildon/hildon-date-editor.c:
1144 * hildon/hildon-dialog.c:
1145 * hildon/hildon-edit-toolbar.c:
1146 * hildon/hildon-entry.c:
1147 * hildon/hildon-program.c:
1148 * hildon/hildon-remote-texture.c:
1149 * hildon/hildon-stackable-window.c:
1150 * hildon/hildon-text-view.c:
1151 * hildon/hildon-touch-selector.c:
1152 * hildon/hildon-window-stack.c:
1153 * hildon/hildon-window.c:
1155 Remove redundant "represents" wording from most of the documentation.
1157 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1159 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1163 * hildon/Makefile.am
1164 * hildon/hildon-banner-private.h
1165 * hildon/hildon-banner.c:
1166 Move HildonBannerPrivate to hildon-banner.c and remove
1167 hildon-banner-private.h
1168 Use a bit field to store private booleans.
1170 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1172 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1173 Don't install a new idle function if there's already one
1178 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1180 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1181 (+legacy_menu_realized, +legacy_menu_unmapped)
1182 (+set_legacy_menu_type):
1183 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1184 they can be identified by the window manager.
1186 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1187 displayed in wrong location)
1189 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1192 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1194 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1196 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1197 use gtk-doc support)
1199 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1201 * hildon/hildon-code-dialog.c
1202 * hildon/hildon-date-editor.c
1203 * hildon/hildon-number-editor.c
1204 * hildon/hildon-seekbar.c
1205 * hildon/hildon-stackable-window.c
1206 * hildon/hildon-window.c:
1207 Misc documentation updates
1209 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1211 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1212 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1214 Fixes: NB#117931 (Theming issues in accounts dialogs)
1216 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1218 * hildon/hildon-pannable-area.c,
1219 (hildon_pannable_area_button_release_cb): Changed the coordinates
1220 of the original release in case we want to discard the release,
1221 some widgets in Fremantle do not handle the leave-notify.
1223 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1225 * hildon/hildon-pannable-area.c,
1226 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1227 the release using the last refactored functions and avoiding the
1228 movement if an element was selected.
1230 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1232 * hildon/hildon-pannable-area.c,
1233 (hildon_pannable_area_check_move),
1234 (hildon_pannable_area_handle_move),
1235 (hildon_pannable_area_motion_notify_cb): Refactored the
1236 motion_notify method using a couple of new functions.
1238 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1240 * hildon/hildon-date-selector.c:
1241 (hildon_date_selector_construct_ui):
1242 * hildon/hildon-time-selector.c:
1243 (hildon_time_selector_constructor):
1244 * hildon/hildon-touch-selector-entry.c:
1245 (hildon_touch_selector_entry_set_text_column),
1246 (hildon_touch_selector_entry_get_text_column):
1247 * hildon/hildon-touch-selector.c: (_default_print_func),
1248 (hildon_touch_selector_new_text): Use
1249 hildon_touch_selector_set/get_text_column() instead of
1250 setting/getting the "text-column" property.
1252 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1254 * doc/hildon-sections.txt: Add the new public methods below.
1256 * examples/hildon-picker-button-multicolumn-example.c:
1257 (create_touch_selector):
1258 * examples/hildon-touch-selector-example.c: (create_selector):
1259 * examples/hildon-touch-selector-multi-cells-example.c:
1261 Use hildon_touch_selector_column_set_text_column()
1263 * hildon/hildon-touch-selector-column.h:
1264 * hildon/hildon-touch-selector.c:
1265 (hildon_touch_selector_column_set_text_column),
1266 (hildon_touch_selector_column_get_text_column):
1267 Make hildon_touch_selector_column_set/get_column() public, use
1268 them in the inline example, document them, and reference to them
1271 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1273 * hildon/hildon-time-selector.c: Fix the docs for
1274 hildon_time_selector_new_step().
1276 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1278 * hildon/hildon-touch-selector.c: Improve the documentation for
1279 hildon_touch_selector_append_column().
1281 Fixes MB#4641 (Documentation:
1282 hildon_touch_selector_append_column() ref-counting)
1284 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1286 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1287 Comment out test 5, since the hildon_controlbar_set_range() range
1288 check is broken and fixing it would have side effects. Also,
1289 this finally fixes make distcheck.
1291 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1293 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1295 * tests/TEST-CASES.txt: Remove other bogus test.
1296 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1297 Remove bogus test that was setting/retrieving a valid value.
1299 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1301 * tests/TEST-CASES.txt: Remove bogus tests.
1302 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1303 Remove three bogus tests that were actually setting valid colors.
1305 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1307 * configure.ac: post release version bump
1308 * debian/changelog: post release version bump
1310 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1315 * configure.ac: Bump version.
1316 * debian/changelog: Updates.
1318 2009-06-08 Christian Dywan <christian@lanedo.com>
1322 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1323 Correct errors in hildon_format_file-size_for_display and use
1324 translations from the hildon-fm package instead of osso-filemanager.
1326 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1328 * hildon/hildon-pannable-area.c,
1329 (hildon_pannable_area_init): Initialized new values to handle the
1330 adjustment position.
1331 (hildon_pannable_area_adjust_value_changed): Check if the values
1332 changed before even call the redraw function.
1333 (hildon_pannable_area_size_allocate),
1334 (hildon_pannable_axis_scroll),
1335 (hildon_pannable_area_scroll),
1336 (hildon_pannable_area_jump_to): Improved the diagonal movement
1339 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1342 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1344 * examples/hildon-banner-example.c:
1345 Several style updates
1346 (on_animation_clicked, on_animation_idle)
1347 (on_progress_clicked, on_progress_idle):
1348 Add additional reference for the cases when the parent window is
1351 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1353 * doc/hildon-sections.txt
1354 * hildon/hildon-pannable-area.c
1355 * hildon/hildon-banner.h
1356 * hildon/hildon-banner.c: Documentation updates.
1358 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1361 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1363 * hildon/hildon-calendar-popup.h:
1364 * hildon/hildon-caption.h:
1365 * hildon/hildon-code-dialog.h:
1366 * hildon/hildon-controlbar.h:
1367 * hildon/hildon-date-editor.h:
1368 * hildon/hildon-dialog.h:
1369 * hildon/hildon-get-password-dialog.h:
1370 * hildon/hildon-hvolumebar.h:
1371 * hildon/hildon-login-dialog.h:
1372 * hildon/hildon-note.h:
1373 * hildon/hildon-number-editor.h:
1374 * hildon/hildon-range-editor.h:
1375 * hildon/hildon-seekbar.h:
1376 * hildon/hildon-set-password-dialog.h:
1377 * hildon/hildon-sort-dialog.h:
1378 * hildon/hildon-time-editor.h:
1379 * hildon/hildon-time-picker.h:
1380 * hildon/hildon-volumebar-range.h:
1381 * hildon/hildon-volumebar.h:
1382 * hildon/hildon-vvolumebar.h:
1383 * hildon/hildon-weekday-picker.h:
1384 * hildon/hildon-window.h:
1385 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1386 macros with the current replacements
1388 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1390 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1392 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1393 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1394 itself, to make it fit better with Fremantle style.
1396 Fixes: NB#109878 (height and width of focus on color icon is not
1397 consistent with other item in the application tool bar)
1399 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1401 * hildon/hildon-touch-selector.c:
1402 (hildon_touch_selector_optimal_size_request): use the current requisition
1403 as the base, in order to include any possible extra widget, like the
1404 hildon entry on HildonTouchSelectorEntry
1406 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1408 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1410 * configure.ac: post release version bump
1411 * debian/changelog: post release version bump
1413 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1418 * configure.ac: Bump version.
1419 * debian/changelog: Updates.
1421 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1423 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1425 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1426 to ensure the banner contents are centered, instead of relying on
1427 the expand and fill properties in GtkHBox.
1428 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1430 Fixes: NB#108265 (Animation banner not properly centered)
1432 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1434 * hildon/hildon-pannable-area.c
1435 (hildon_pannable_area_initial_effect): Remove the initial_effect
1436 management, check initial_hint
1437 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1438 set initial_effect to FALSE
1439 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1440 by launching the fade_timeout if the scrollbars state has changed and are
1442 * examples/hildon-pannable-area-initial-hint-example.c
1443 Modified to allow to remove rows too. Add and remove rows one by one.
1445 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1447 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1448 Don't close the menu if there's an animation actor below it.
1450 Fixes: NB#117927 (Application menu not usable with animation
1453 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1455 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1456 "focus-on-click" from the dialog button, to avoid stealing the
1457 focus from the entry.
1459 Fixes: NB#118903 (Account setup wizard: Text in Search field
1460 should be focused when "Region" touch list picker is reopened
1463 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1465 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1466 (prepare_action_area): Completely hide the dialog separator.
1468 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1470 * hildon/hildon-touch-selector-entry.c
1471 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1472 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1473 now that the entry is exposed.
1475 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1477 * hildon/hildon-touch-selector-entry.c
1478 (hildon_touch_selector_entry_init): Change the entry's size
1479 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1481 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1483 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1484 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1485 avoid unnecessary scaling.
1487 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1489 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1490 Create grab transfer window before calling parent's map function.
1492 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1493 "crushed" button(s) in the top left corner)
1495 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1497 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1498 Check if the window is already realized when pushing it.
1500 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1502 * configure.ac: post release version bump
1503 * debian/changelog: post release version bump
1505 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1510 * configure.ac: Bump version.
1511 * debian/changelog: Updates.
1513 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1515 * hildon/hildon-app-menu.c: Doc updates.
1517 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1519 * hildon/hildon-banner.c: Remove leftover macro.
1521 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1523 * hildon/hildon-pannable-area.c,
1524 (hildon_pannable_area_scroll_indicator_fade),
1525 (hildon_pannable_area_button_release_cb): Reviewed vmin
1526 conditions, it could cause problems in the fadeout procedure.
1528 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1530 * hildon/hildon-pannable-area.c
1531 (hildon_pannable_area_button_release_cb): Added a threshold to
1532 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1534 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1536 * hildon/hildon-pannable-area.c,
1537 (hildon_pannable_area_set_property): Added code to sync the gtk
1538 dnd threshold with the panning threshold.
1540 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1542 * hildon/hildon-pannable-area.c,
1543 (hildon_pannable_area_class_init): Changed some of the default
1544 values, now it should be less responsive and more accurate.
1546 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1548 * hildon/hildon-pannable-area.c,
1549 (hildon_pannable_area_init),
1550 (hildon_pannable_area_scroll_indicator_fade),
1551 (hildon_pannable_area_button_press_cb),
1552 (hildon_pannable_axis_scroll),
1553 (hildon_pannable_area_timeout),
1554 (hildon_pannable_area_motion_notify_cb),
1555 (hildon_pannable_area_button_release_cb): Changed the name of the
1556 clicked attribute to button_pressed, it is more clear about its use.
1558 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1560 * src/hildon-pannable-area.c
1561 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1563 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1564 vertical scrollbar visibility, and use the data on private section instead,
1565 remove the initial_hint check
1566 (hildon_pannable_area_expose_event): add the initial_hint check here
1568 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1570 * src/hildon-pannable-area.c
1571 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1572 if the fadeout effect was used
1573 (hildon_pannable_area_expose_event): check if it is required to
1574 manage the initial effect on the begining of the function. Previously
1575 it was made at the end, but this doesn't ensure that the scrollbars
1576 will be painted on the first show. Do not set to FALSE initial_effect,
1577 to ensure that the initial hint is showed the first time the pannable
1579 * examples/Makefile.am
1580 * examples/hildon-pannable-area-initial-hint-example.c:
1581 New example, to show that the initial-hint is showed when the widget
1584 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1585 initially if the application can be scrolled)
1587 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1589 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1590 Resize table before adding new items to make sure that
1591 gtk_table_resize() is called just once.
1593 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1595 * hildon/hildon-app-menu-private.h
1596 * hildon/hildon-app-menu.c (item_visibility_changed)
1597 (filter_visibility_changed, hildon_app_menu_show_all)
1598 (hildon_app_menu_hide_all, hildon_app_menu_init):
1599 Rearrange items just once when gtk_widget_show_all()/hide_all()
1602 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1604 * hildon/hildon-app-menu.c
1605 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1606 Don't call gtk_widget_show() on added items.
1608 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1609 automatically when they're added)
1611 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1613 * hildon/hildon-banner.c
1614 (hildon_banner_realize, +hildon_banner_unrealize)
1615 (+screen_size_changed, hildon_banner_class_init):
1616 Redisplay the banner if the screen is rotated.
1618 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1619 on transition from landscape to portrait)
1621 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1623 * hildon/hildon-banner.[ch]:
1624 (hildon_banner_show_information_override_dnd): remove icon_name from the
1625 method definition as it is ignored.
1626 * examples/hildon-banner-dnd-example.c: updated with the change on
1629 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1631 * hildon/hildon-banner-private.h: new require_override_dnd and
1632 overrides_dnd variables
1633 * hildon/hildon-banner.h:
1634 (hildon_banner_show_information_override_dnd): new method, that shows
1635 the information but sets the override flag, in order to show important
1637 * hildon/hildon-banner.c
1638 (hildon_banner_show_information_override_dnd): new method
1639 (hildon_banner_set_override_flag): new utility function
1640 (hildon_banner_real_show_information): new utility function, in order to
1641 generalize the current hildon_banner_show_information_override_dnd and
1642 hildon_banner_show_information_override_dnd
1643 * examples/Makefile.am
1644 * examples/hildon-banner-dnd-example.c: New example that show how to
1645 use the new hildon_banner_show_information_override_dnd
1647 Fixes: NB#114874 (There is no possibility to show hildon banners with
1650 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1652 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1653 behind hildon_pannable_calculate_vel_factor().
1655 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1657 * hildon/hildon-pannable-area.c
1658 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1659 deceleration factors.
1661 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1663 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1664 Reduce the default value for 'scroll_time' to 1 second, since the
1665 current initial scrolling takes too much time.
1667 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1669 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1670 calculate velocity factor during initialization, since the properties
1673 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1675 * hildon/hildon-pannable-area.c
1676 (hildon_pannable_area_set_property): Calculate the velocity factor
1677 after setting the deceleration property and not after.
1679 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1681 * hildon/hildon-entry.c
1682 (hildon_entry_class_init, +set_property, hildon_entry_new)
1683 * hildon/hildon-check-button.c
1684 (hildon_check_button_class_init)
1685 (+set_property, hildon_check_button_new):
1686 Make the theme size a property.
1688 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1689 others) do too much in the _new function)
1691 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1693 * configure.ac: post release version bump
1694 * debian/changelog: post release version bump
1696 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1701 * configure.ac: Bump version.
1702 * debian/changelog: Updates.
1704 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1706 * hildon/hildon-gtk.h
1707 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1708 New API function to take a screenshot of a window
1710 Fixes: NB#106374 (Need API to take a loading screenshot)
1712 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1714 * hildon/hildon-time-selector.c
1715 (update_format_policy): prevent to use hours and minutes unitialized
1717 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1719 * hildon/hildon-window.c (hildon_window_size_request):
1720 Always request the full size of the screen (minus the title bar if
1721 not in fullscreen mode).
1723 Fixes: NB#107486 (HildonWindow should size itself properly)
1725 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1727 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1728 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1729 (on_show_cb), (sound_handling): Disconnect the idle handler for
1730 the sound when the note is finalized to avoid possible crashes.
1732 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1735 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1737 * src/hildon-animation-actor.c,
1738 * src/hildon-remote-texture.c:
1739 Added proper object cleanup to remove signal handler and object
1740 references as HildonAnimationActor and HildonRemoteTexture
1741 objects get destroyed.
1743 Fixes: NB#116682 (Destroying parented animation actors when
1744 parent in unmapped leads to crash)
1746 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1748 Based on a patch by Christian Dywan (christian@imendio.com)
1750 * doc/hildon-sections.txt:
1751 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1752 * hildon/hildon-helper.h: New file size formatting method.
1754 * debian/control: Depend on osso-filemanager l10n package for
1755 proper localization strings.
1757 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1759 * tests/Makefile.am: Include top_srcdir to make possible to build
1760 tests in a different builddir.
1761 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1762 on a different builddir.
1764 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1766 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1767 (hildon_touch_selector_remove): Disconnect model's signal handler
1770 Fixes: NB#116289 (Hildon home crashes while adding task
1773 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1775 * hildon/hildon-button.c
1776 (hildon_button_set_title, hildon_button_set_value):
1777 Hide labels containing an empty string.
1779 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1781 * configure.ac: post release version bump
1782 * debian/changelog: post release version bump
1784 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1789 * configure.ac: Bump version.
1790 * debian/changelog: Updates.
1792 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1794 * hildon/hildon-note-private.h: Removed sound_signal_handler
1795 * hildon/hildon-note.c
1796 (on_show_cb): new callback on note "show" event, this simply adds
1797 a idle, with the function sound_handling
1798 (sound_handling): removed the sound_signal_handler management
1799 (hildon_note_init): connect note "show" event to on_show_cb
1800 (hildon_note_realize): remove the connection to "expose-event"
1802 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1803 device?' confirmation note)
1805 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1807 * hildon/hildon-note.c
1808 (hildon_note_new_information_with_icon_name)
1809 (hildon_note_new_confirmation_with_icon_name):
1810 Terminate the list of parameters in g_object_set() calls
1812 Fixes: NB#115166 (Formatting memory card is not taking place)
1814 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1816 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1817 "dialog-information" role for the sound being played.
1819 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1821 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1822 Don't make the menu a modal window, it causes strange interactions
1823 with the pointer grab and it's not really needed.
1825 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1827 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1829 * hildon/hildon-touch-selector.[ch]
1830 (hildon_touch_selector_optimal_size_request): function added to get a
1831 optimal size request from the touch selector, when you want a dialog to
1832 show as much of the selector
1833 * hildon/hildon-picker-dialog.c:
1834 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1835 (hildon_app_menu_class_init):
1836 New "max-height-landscape" and "max-height-portrait" style properties
1837 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1838 (hildon_picker_dialog_get_max_height): returns the maximum height using
1839 the style properties defined and checking the current portrait/landscape
1841 (_hildon_picker_dialog_set_selector): removed the set_size_request
1843 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1845 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1847 * hildon/hildon-bread-crumb-trail.c:
1848 * hildon/hildon-bread-crumb.c:
1849 * hildon/hildon-seekbar.c:
1850 Add reference to replacements for these deprecated widgets.
1852 Fixes: MB#4461 (Documentation: All deprecations should mention
1855 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1857 * examples/hildon-remote-texture-example.c
1859 Change the include to the hildon-remote-texture in order to compile
1860 properly the examples on the installed libhildon1-examples package
1862 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1864 * tests/Makefile.am: Add check for HildonPickerButton.
1865 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1866 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1867 checks for the HildonPickerButton.
1868 * tests/check_test.c (configure_tests): Add the test suite.
1869 * tests/test_suites.h: likewise.
1871 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1873 * hildon/hildon-touch-selector.c
1874 (+on_row_changed): Emit HildonTouchSelector:changed when the
1875 contents of a selected row change.
1876 (_create_new_column), (_hildon_touch_selector_set_model): connect
1877 to GtkTreeModel:row-changed on a newly set model.
1879 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1881 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1883 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1885 * hildon/hildon-banner.c (hildon_banner_destroy)
1886 (hildon_banner_show_progress, hildon_banner_set_fraction):
1887 Remove the progress bar from HildonBanner and use a progress
1890 Fixes: NB#113761 (Update progress banner to use progress
1893 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1895 * hildon/hildon-banner.c:
1896 Calculate size of the banner label using the actual screen width
1897 rather than using a fixed value.
1899 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1902 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1904 * hildon/hildon-pannable-area.c,
1905 (hildon_pannable_area_class_init): Fixed signals documentation
1908 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1910 * configure.ac: post release version bump
1911 * debian/changelog: post release version bump
1913 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1918 * configure.ac: Bump version.
1919 * debian/changelog: Updates.
1921 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1923 * hildon/hildon-edit-toolbar.c
1924 (hildon_edit_toolbar_init):
1925 Don't let buttons in HildonEditToolbar receive focus.
1927 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1928 typing on an HW arrows key)
1930 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1932 * doc/Makefile.am: Fix build.
1934 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1936 * doc/Makefile.am: Do not redefine content_files.
1938 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1946 Renamed src/ to hildon/
1951 Include <hildon/hildon.h> directly in all examples.
1953 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1955 * src/hildon-sort-dialog.c
1956 (hildon_sort_dialog_add_sort_key_with_sorting)
1960 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1962 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1963 make distcheck passes.
1965 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1967 * Makefile.am: Enable gtk-doc during distcheck.
1969 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1971 * Makefile.am: Do not distribute the debian/ directory.
1973 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1975 * doc/Makefile.am: Add the extra SGML files to content_files,
1976 so that they are distributed properly.
1978 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1980 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1983 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1985 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1986 (hildon_note_new_information_with_icon_name): Set the "icon" property
1987 to preserve soundness.
1989 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1991 * src/hildon-font-selection-dialog.c
1992 (hildon_font_selection_dialog_set_property): Fail when the "family"
1993 property is set to NULL.
1995 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1997 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
2000 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
2002 * src/hildon-time-selector.h:
2003 Added HildonTimeSelectorFormatPolicy
2004 * src/hildon-time-selector.c:
2005 Added PROP_TIME_FORMAT_POLICY
2006 (_check_ampm_format): renamed to check_automatic_ampm_format
2007 (update_format_policy), (update_format_dependant_columns): new functions
2008 (hildon_time_selector_class_init)
2009 (hildon_time_selector_contructor)
2010 (hildon_time_selector_init)
2011 (hildon_time_selector_get_property)
2012 (hildon_time_selector_set_property)
2013 (hildon_time_selector_get_time)
2014 (hildon_time_selector_set_time)
2015 * src/hildon-touch-selector.h: new file
2016 * src/hildon-touch-selector.c
2017 (hildon_touch_selector_emit_changed)
2018 (hildon_touch_selector_block_changed)
2019 (hildon_touch_selector_unblock_changed)
2020 Added functions to allow to block the emission of the "changed" signal
2021 * src/hildon-picker-dialog.c
2022 (hildon_picker_dialog_show): call the parent show before the custom code
2023 * examples/hildon-time-button-example.c
2024 Modified, so now you can configure the time format using the new property
2026 Added a new property "time-format-policy" that allow to choose the time
2027 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
2028 case it uses gconf in order to check if the time selector must use
2031 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2034 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2036 * src/hildon-note.c (hildon_note_init):
2037 Label in HildonNote must be left aligned, not centered. This
2038 reverts the last commit in HildonNote.
2040 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2041 is connectivity dialog)
2043 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2048 * doc/hildon-sections.txt:
2049 Added hildon_gtk_window_set_do_not_disturb()
2051 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2053 * src/hildon-note.c (hildon_note_init): Center label.
2055 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2058 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2063 * configure.ac: Bump version.
2064 * debian/changelog: Updates.
2066 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-note-private.h: Add button-width to the private data.
2069 * src/hildon-note.c (+resize_button),
2070 (+hildon_note_orientation_update): methods to repack widgets on orientation
2072 (screen_size_changed): Call above method for confirmation notes.
2073 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2074 (hildon_note_rebuild): Store the original width request from buttons.
2076 Fixes: NB#109635 (Confirmation notes do not support portrait)
2078 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2081 when it is a progress note.
2083 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2085 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2086 in the note, since there are no horizontally arranged contents.
2088 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-gtk.c (+set_flag): new generic method to
2091 set/delay a flag setting in a window.
2092 (hildon_gtk_window_set_progress_indicator):
2093 (hildon_gtk_window_set_do_not_disturb),
2094 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2095 avoid code redundance.
2097 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2099 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2101 * src/hildon-gtk.c (set_clear_window_flag),
2102 (do_set_progress_indicator), (do_set_do_not_disturb),
2103 (do_set_portrait_flags),
2104 (hildon_gtk_window_set_progress_indicator),
2105 (hildon_gtk_window_set_do_not_disturb),
2106 (hildon_gtk_window_set_portrait_flags):
2107 Allow setting dnd-flag, progress indicator, and portrait flags
2108 when the window is not realized.
2110 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2112 * src/hildon-pannable-area.c,
2113 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2114 the size request policy function and defines.
2116 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2118 * doc/hildon-sections.txt: Add the new API.
2119 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2120 method to set the portrait flags.
2121 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2123 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2125 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2127 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2128 to allow using this method with other flags.
2129 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2130 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2132 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2134 * src/hildon-touch-selector.c
2135 (hildon_touch_selector_append_text_column):
2136 Make the cell renderer use the smallest width possible.
2138 Fixes: NB#108470 (Selected items in multiple selection are either
2139 having a tick that is cut or not visible at all.)
2141 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-touch-selector.c
2144 (hildon_touch_selector_append_text_column):
2147 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2149 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2150 Use g_strdup_printf() instead of a fixed size buffer.
2152 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2154 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2155 Close banners when a HildonAppMenu is popped up.
2157 Fixes: NB#111027 (Title menu closed immediately if activated when
2158 "Invalid e-mail address" banner is shown)
2160 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2165 * configure.ac: Bump version.
2166 * debian/changelog: Updates.
2168 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-banner.c (hildon_banner_realize):
2171 Mark HildonBanner as supporting portrait mode.
2172 Use GDK to set window properties insetad of direct Xlib calls.
2174 Fixes: NB#111830 (HildonBanner should be marked as supporting
2177 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2179 * src/hildon-note.c (hildon_note_rebuild):
2180 Hide action area in information notes. Prevents text from being
2181 slightly aligned to the left.
2183 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2186 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2188 Patch by Mox Soini (ext-mox.soini@nokia.com)
2190 * src/hildon-banner.c (hildon_banner_create_animation):
2191 Use stylus-sized icons in animation banner.
2193 Fixes: NB#111206 (stylus sized icon for animation banner)
2195 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2199 (+hildon_gtk_window_set_do_not_disturb):
2200 New API to set the do-not-disturb flag.
2202 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2204 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2206 * examples/hildon-progress-indicator-example.c: Fix example
2208 * src/hildon-gtk.c (set_clear_window_flag)
2209 (hildon_gtk_window_set_progress_indicator):
2210 Create a generic function for setting flags to a window.
2211 Use GDK instead of direct Xlib calls.
2213 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-button.c (hildon_button_set_arrangement):
2216 Due to NB#88126, if one of the labels is too long it will be
2217 painted outside the button. The 'value' label is more likely to be
2218 the longest one, so we change its packing options in order to
2219 truncate it if necessary. As a side effect, the 'title' label will
2220 no longer be truncated.
2222 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2224 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2229 * configure.ac: Bump version.
2230 * debian/changelog: Updates.
2232 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2234 Deprecation of the hildon_pannable_area_set_size_request_policy
2235 API, the only policy properly supported in gtk+ nowadays is the
2238 * src/hildon-pannable-area.c,
2239 (hildon_pannable_area_size_request): Added a workaround for the
2240 size_request to avoid the problems of huge pixmaps in case someone
2241 is still using the function.
2242 * src/hildon-pannable-area.h: Deprecated the enum with the
2245 Fixes: NB#110244 (Problems with the
2246 hildon_pannable_area_set_size_request_policy API)
2248 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2250 * src/hildon-pannable-area.c,
2251 (hildon_pannable_area_init),
2252 (hildon_pannable_area_size_request),
2253 (hildon_pannable_area_style_set),
2254 (hildon_pannable_draw_vscroll),
2255 (hildon_pannable_draw_hscroll),
2256 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2257 indicator_width to clarify the use of the attribute.
2259 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2264 * configure.ac: Bump version.
2265 * debian/changelog: Updates.
2267 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2269 * src/hildon-picker-dialog.c
2270 * src/hildon-touch-selector.c
2271 Reverting the change that tried to avoid the hardcoded height on
2272 the picker dialog, as causes problems on the hildon-touch-selector
2275 Fixes: NB#110029 (selectors not scrolling to selected value)
2277 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2279 * src/hildon-touch-selector.c: Fix typos
2281 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2283 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2284 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2285 request more motions after using it.
2287 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/hildon-calendar.c (hildon_calendar_expose),
2290 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2291 Remove unused variables.
2293 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2295 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2296 variable assignment.
2298 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2300 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2301 Check the return value of gtk_tree_selection_get_selected()
2304 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2306 * src/hildon-animation-actor.c
2307 * src/hildon-button.c
2309 * src/hildon-pannable-area.c
2310 * src/hildon-picker-button.c
2311 * src/hildon-program.c
2312 * src/hildon-remote-texture.c
2313 * src/hildon-text-view.c
2314 * src/hildon-touch-selector.c
2315 * src/hildon-window-stack.c
2316 * src/hildon-window.c:
2317 Add missing 'Since: 2.2' tags.
2319 * doc/hildon-sections.txt:
2320 Add some missing symbols.
2322 * doc/hildon-docs.sgml:
2323 New 'Other' section for HildonAnimationActor and
2326 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2328 Patch by Iván Gómez (igomez@igalia.com)
2331 * doc/compiling.sgml
2332 * doc/hildon-docs.sgml
2333 * doc/hildon-sections.txt
2334 * doc/migration.sgml
2335 * doc/resources.sgml
2337 New chapters on using the Hildon library.
2338 Updated the general structure of the reference manual.
2339 Other minor documentation fixes.
2341 * src/hildon-calendar-popup.c
2342 * src/hildon-calendar.c
2343 * src/hildon-controlbar.c
2344 * src/hildon-date-editor.c
2345 * src/hildon-dialog.c
2346 * src/hildon-hvolumebar.c
2347 * src/hildon-number-editor.c
2348 * src/hildon-range-editor.c
2349 * src/hildon-sort-dialog.c
2350 * src/hildon-time-editor.c
2351 * src/hildon-time-picker.c
2352 * src/hildon-volumebar-range.c
2353 * src/hildon-volumebar.c
2354 * src/hildon-vvolumebar.c
2355 * src/hildon-weekday-picker.c:
2356 Add deprecation notes
2358 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2359 Document 'horizontal-movement' and 'vertical-movement' signals.
2361 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2366 * configure.ac: Bump version.
2367 * debian/changelog: Updates.
2369 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2371 * src/hildon-pannable-area.c,
2372 (hildon_pannable_area_class_init): increased the minimum velocity.
2373 (hildon_pannable_area_button_release_cb): Updated the
2374 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2375 setup. Review the code to control that last event.
2377 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2380 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2382 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2384 * src/hildon-get-password-dialog.c
2385 (hildon_get_password_set_property),
2386 (hildon_get_password_get_property), (create_contents):
2387 * src/hildon-login-dialog-private.h:
2388 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2389 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2390 (hildon_login_dialog_get_password):
2391 * src/hildon-set-password-dialog-private.h:
2392 * src/hildon-set-password-dialog.c
2393 (hildon_set_password_set_property),
2394 (hildon_set_password_get_property), (create_contents),
2395 (hildon_set_password_response_change),
2396 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2398 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2399 instead and look more Fremantle style.
2401 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2403 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2405 * doc/hildon-sections.txt
2406 * src/hildon-window-stack.h
2407 * src/hildon-window-stack.c
2408 (+hildon_window_stack_get_windows):
2409 New API to obtain the list of windows on a stack.
2411 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2413 * src/hildon-app-menu.c (hildon_app_menu_popup)
2414 (hildon_app_menu_class_init, -hildon_app_menu_show):
2415 Remove hildon_app_menu_show() and move all its checks to
2416 hildon_app_menu_popup()
2418 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2420 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2421 (_hildon_picker_dialog_set_selector): removed call to
2422 gtk_widget_set_size_request
2423 * src/hildon-touch-selector.c
2424 (_create_new_column): change the pannable size request policy
2426 Avoid to use a hardcoded height for the hildon picker dialog. In order
2427 to get that, we needed to change the hildon pannable size request
2429 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2431 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2434 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2437 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2439 * debian/control: Depend on osso-system-lock localization package.
2440 * src/hildon-code-dialog.c: Obtain the secu_application_title
2441 translation from osso-system-lock.
2442 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2443 for translation the atk related strings, that's not necessary.
2444 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2445 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2446 cancel button, it is not required.
2448 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2450 * src/hildon-pannable-area.c,
2451 (hildon_pannable_area_class_init): Modified the default value of
2452 the overshooting max speed, we have reduced it.
2454 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2456 * doc/hildon-sections.txt
2457 * src/hildon-window-private.h
2458 * src/hildon-window.h
2459 * src/hildon-window.c (hildon_window_class_init)
2460 (hildon_window_init, hildon_window_finalize)
2461 (hildon_window_realize, hildon_window_get_property)
2462 (hildon_window_set_property, hildon_window_update_markup)
2463 (hildon_window_get_markup, hildon_window_set_markup):
2464 New "markup" property and hildon_window_{get,set}_markup() methods.
2466 * examples/hildon-stackable-window-example.c (new_window):
2467 Update example to use hildon_window_set_markup()
2469 Fixes: NB#106375 (Need API to retitle a window with a title
2472 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2474 * src/hildon-pannable-area.c,
2475 (hildon_pannable_area_class_init): Changed the default value of
2476 the initial_hint to TRUE.
2477 (hildon_pannable_area_initial_effect): Changed the initial effect,
2478 not the effect is just the fade-out of the scrollbars.
2480 Fixes: NB#107775 (No scrollbars can be seen when several items are
2481 available in a dialog)
2483 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2485 * src/hildon-program.c (hildon_program_update_top_most):
2488 Fixes: NB#109179 (Memory leak in Hildon program)
2490 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2492 * src/hildon-banner.c (-get_current_app_window):
2493 Remove unused function.
2495 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2497 * src/hildon-pannable-area.c: Modified the documentation of the
2498 get adjustments functions to explain the problem of using the
2499 adjustment directly.
2500 (hildon_pannable_area_class_init): Improved the explanation about
2503 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-app-menu-private.h
2506 * src/hildon-app-menu.c
2507 (hildon_app_menu_class_init):
2508 Bring back the 'external-border' style property
2509 (hildon_app_menu_class_init, hildon_app_menu_init)
2510 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2511 Set a fixed width-request for the menu, independent of the number
2514 Fixes: NB#94957 (Smoothly opened application menu)
2516 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2518 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2520 * src/hildon-banner.c
2521 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2523 Make sure that the banner is correctly placed the first time it's
2525 (hildon_banner_check_position, -check_fullscreen_state):
2526 Show the banner in the same place no matter if the window is in
2527 fullscreen mode or not.
2529 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2531 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2533 * src/hildon-touch-selector.c (_default_print_func): reorder
2534 concatenation for clarity.
2536 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2539 for multicolumn selectors.
2541 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2543 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2548 * configure.ac: Bump version.
2549 * debian/changelog: Updates.
2551 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2553 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2556 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2558 * configure.ac: removed libcangerra-gtk dependency
2559 * debian/control: removed libcanberra-gtk dependency
2560 * src/Makefile.am: removed libcanberra gtk related flags
2561 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2562 context, and manage a global canberra context instead
2564 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2566 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2568 Patch by Daniel Borgmann (danielb@openismus.com)
2570 * src/hildon-edit-toolbar.c:
2571 Adjust the left padding.
2572 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2573 Paint background of the edit toolbar.
2575 Fixes: NB#107897 (Patch to make editmodetoolbar background
2576 themeable and adjust margin)
2578 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2580 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2582 * src/hildon-program.c (hildon_program_update_top_most):
2583 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2585 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2586 change when the user tasks in/out of an application)
2588 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2590 * configure.ac: added libcangerra-gtk dependency
2591 * debian/control: added libcanberra-gtk dependency
2592 * src/Makefile.am: added libcanberra gtk related flags
2593 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2596 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2598 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-program.c (hildon_program_remove_window)
2601 (hildon_program_add_window): Add checks for the window
2602 parameter. Don't decrease the window counter if the window is not
2605 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2607 * src/hildon-pannable-area.c,
2608 (hildon_pannable_area_realize): Fixed position of the event_window
2609 in the realize method.
2611 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2613 * src/hildon-app-menu-private.h
2614 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2615 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2616 (hildon_app_menu_key_press, hildon_app_menu_init)
2617 (hildon_app_menu_finalize):
2618 Make sure that all idle functions are removed when the widget is
2621 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2623 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2628 * configure.ac: Bump version.
2629 * debian/changelog: Updates.
2631 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-entry.c
2634 (+hildon_entry_show_placeholder),
2635 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2636 that replace hildon_entry_update_contents().
2637 (hildon_entry_set_text),
2638 (hildon_entry_set_placeholder),
2639 (hildon_entry_focus_in_event),
2640 (hildon_entry_focus_out_event): Determine when it is needed
2641 either to show or hide the placeholder and call the above methods.
2643 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2644 when the placeholder text is already set)
2646 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2648 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2649 simple GdkPixbufAnim using the new icons for the banner.
2650 (hildon_banner_show_animation): Use the above mentioned method to
2651 create the animation widget.
2653 Fixes: NB#103564 (Make hildon animation banner use individual
2654 image files as the animation)
2656 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2658 * src/hildon-pannable-area.c,
2659 (hildon_pannable_leave_notify_event): Check if the child is NULL
2660 to avoid sending the leave.
2662 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2664 * src/hildon-pannable-area.c,
2665 (hildon_pannable_area_class_init),
2666 (hildon_pannable_leave_notify_event): Added a handler of the
2667 leave-notify-signal to consider when no motion notify before
2670 Fixes: NB#107494 (Items stay selected when clicking and moving
2671 away when inside pannable area)
2673 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2678 * configure.ac: Bump version.
2679 * debian/changelog: Updates.
2681 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2683 Patch by Alberto Garcia (agarcia@igalia.com)
2685 * src/hildon-date-button.c,
2686 (hildon_date_button_class_init),
2687 (hildon_date_button_init): Removed the construct property handling
2688 and created a default selector in the init method.
2689 * src/hildon-picker-button.c,
2690 (hildon_picker_button_class_init): Removed the construct flag of the
2693 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2695 * src/hildon-main.c (hildon_init):
2696 Don't allow hildon_init() to be called more than once.
2698 Fixes: NB#106607 (hildon_init should issue error message upon
2701 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2703 * examples/hildon-pannable-area-touch-list-example.c
2704 * examples/hildon-pannagle-area-touch-grid-example.c
2705 * examples/hildon-edit-toolbar-example.c
2706 * examples/hildon-touch-selector-multi-cells-example.c
2707 Removed the call to gtk_rc_parse_string, as it is not required since
2710 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2712 * src/hildon-pannable-area.c,
2713 (hildon_pannable_area_class_init): Modified the default panning
2714 threshold of the widget to 6px.
2716 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2717 than the threshold value ) within the button is not sending the
2720 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2722 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2723 for the treeview in the new column. This way, the touch list will never
2726 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2727 be selected manually for the HW keys to work)
2729 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2732 comparison instead of using strcmp(). Fixes a compiler warning as well.
2734 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2736 * doc/hildon-docs.sgml: Do not set the library version in the
2737 document title, use the releaseinfo tag for that purpose instead.
2739 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2741 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2742 Do not jump to the first item if the text in the entry is removed.
2744 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2749 * configure.ac: Bump version.
2750 * debian/changelog: Updates.
2752 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-entry.c (hildon_entry_refresh_contents):
2755 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2756 Use "ReversedSecondaryTextColor" for the placeholder text.
2758 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-text-view.c: Fix compilation warning.
2762 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2764 * src/hildon-button.c (hildon_button_class_init): Don't make
2765 "title" and "value" construction properties, to prevent them from
2766 overwriting labels set from derived classes.
2768 * src/hildon-picker-button.c
2769 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2770 (hildon_picker_button_class_init): Make touch-selector a
2771 construction property.
2773 * src/hildon-date-button.c (hildon_date_button_class_init)
2774 (+hildon_date_button_constructed): Add a default date selector if
2777 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2779 * src/hildon-touch-selector.c: Small documentation fixes.
2781 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2783 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2785 * src/hildon-entry.c (hildon_entry_refresh_contents),
2786 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2787 widget name, set the logical color directly instead and a boolean
2788 showing_placeholder instead.
2789 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2790 use the widget name here either.
2792 Fixes: NB#105678 (HildonTextView should use logical colours
2793 instead of setting widget name)
2795 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2797 Patch by Daniel Elster (danielk@openismus.com)
2799 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2800 Add user_data parameter.
2801 (hildon_touch_selector_set_print_func_full): New function akin
2802 hildon_touch_selector_set_print_func() but with support for user
2803 data and a destroy callback.
2804 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2805 to clean up the print function user data.
2806 (hildon_touch_selector_class_init): Install dispose function.
2807 (HildonTouchSelectorPrivate::print_user_data),
2808 (HildonTouchSelectorPrivate::print_destroy_func): New private
2810 (hildon_touch_selector_init): Initialize new private members.
2811 (hildon_touch_selector_get_current_text): Pass along user data
2812 to the print function.
2813 (_default_print_func): Add dummy user_data to parameter list.
2814 * hildon-date-selector.c (_custom_print_func): ditto,
2815 * hildon-time-selector.c (_custom_print_func): ditto,
2816 * hildon-touch-selector-entry.c
2817 (hildon_touch_selector_entry_print_func): ditto.
2819 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2821 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2823 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2825 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2827 * src/hildon-pannable-area.c,
2828 (hildon_pannable_area_init),
2829 (hildon_pannable_area_button_press_cb),
2830 (hildon_pannable_area_motion_notify_cb): We have added code to
2831 handle the leave and enter events when using the motion events.
2833 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2835 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-date-button.c (hildon_date_button_get_date)
2838 (hildon_date_button_set_date): Make sure that the button has a
2841 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2843 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2845 * src/hildon-pannable-area.c,
2846 (hildon_pannable_area_class_init),
2847 (hildon_pannable_area_calculate_velocity): Modify the use of the
2848 force and adapt the value.
2850 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2853 (hildon_app_menu_class_init): Hide the menu if it receives a
2854 delete-event, but don't destroy it
2856 Fixes: NB#104485 (Not able to address the call when application
2857 menu is opened at background)
2859 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-app-menu.c
2862 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2863 Remove the "external-border" style property, let the menu take its
2864 natural size (or the one set by the window manager)
2865 (hildon_app_menu_repack_items):
2866 Don't reshow the menu, avoid flickers.
2868 Partially fixes NB#94957 (Smoothly opened application menu)
2870 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2875 * configure.ac: Bump version.
2876 * debian/changelog: Updates.
2878 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2880 * src/hildon-pannable-area.c,
2881 (hildon_pannable_area_motion_notify_cb): We control that the
2882 direction error margin is used just in case the movement is
2883 allowed in the other direction.
2885 Fixes: NB#105012 (buttons inside a pannable area not getting
2886 release event when dragging/releasing)
2888 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2890 * src/hildon-pannable-area.c,
2891 (hildon_pannable_area_class_init),
2892 (hildon_pannable_area_get_property),
2893 (hildon_pannable_area_set_property),
2894 (hildon_pannable_area_initial_effect),
2895 (hildon_pannable_axis_scroll),
2896 (hildon_pannable_area_button_release_cb): Reviewed the
2897 overshooting effect, now it has its own max
2898 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2899 speed when bouncing.
2901 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2906 * configure.ac: Bump version.
2907 * debian/changelog: Updates.
2909 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2911 * src/hildon-pannable-area.c,
2912 (hildon_pannable_area_class_init): Changed the max speed, now
2913 users can launch the widget very fast. Reduced the default force,
2914 that way it is easier to control the launch speed.
2916 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2918 * src/hildon-pannable-area.c,
2919 (hildon_pannable_area_button_release_cb): Removed this check
2920 because it causes problems when the device is overloaded.
2922 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2924 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2925 add a current_text field to store the text entered in the
2926 touch selector entry.
2927 (_clean_current_selection): clean up the current text as well.
2928 (_save_current_selection), (_restore_current_selection):
2929 Save/restore the text in the entry if the selector is a
2930 HildonTouchSelectorEntry.
2932 Fixes: NB#102541 (value entered in the touch selector entry is not
2933 shown when opened for second time)
2935 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2937 * doc/hildon-sections.txt:
2938 * src/hildon-touch-selector-entry.c
2939 (+hildon_touch_selector_entry_get_entry):
2940 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2942 Fixes: NB#104815 (I need accessor to the entry inside
2943 HildonTouchSelectorEntry)
2945 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2947 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2948 (hildon_app_menu_class_init):
2949 New "filter-vertical-spacing" style property.
2951 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-find-toolbar.c
2954 (hildon_find_toolbar_emit_close)
2955 (hildon_find_toolbar_emit_invalid_input)
2956 (hildon_find_toolbar_entry_activate):
2957 Use g_signal_emit() instead of g_signal_emit_by_name()
2959 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2961 Patch by Mox Soini (ext-mox.soini@nokia.com)
2963 * tests/TEST-CASES.txt
2964 * tests/check-hildon-banner.c
2965 * tests/check-hildon-note.c
2966 * src/hildon-banner.c
2967 * src/hildon-code-dialog.c
2968 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2969 * src/hildon-time-editor.c
2970 * examples/hildon-lookup-example.c (main):
2971 Replace obsolete icon names with new ones.
2973 * src/hildon-find-toolbar-private.h:
2974 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2975 (-hildon_find_toolbar_emit_search):
2976 Remove find button and change icon of close button.
2978 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2980 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-time-button.c (hildon_time_button_new_step):
2983 Use the "touch-selector" property to set the selector directly
2984 when creating the object.
2986 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2988 Added a new example application that allows tuning the pannable
2989 area and replaced defines with properties in order to simplify the
2990 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2991 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2992 PROP_DIRECTION_ERROR_MARGIN.
2994 * examples/hildon-pannable-area-tuning-example.c: New example
2996 * src/hildon-pannable-area.c,
2997 (hildon_pannable_area_class_init),
2998 (hildon_pannable_area_init),
2999 (hildon_pannable_area_get_property),
3000 (hildon_pannable_area_set_property),
3001 (hildon_pannable_area_launch_fade_timeout),
3002 (hildon_pannable_area_adjust_value_changed),
3003 (hildon_pannable_axis_scroll),
3004 (hildon_pannable_area_motion_notify_cb),
3005 (hildon_pannable_area_scroll_cb),
3006 (hildon_pannable_area_button_release_cb): We have converted some
3007 of the defines that control the widget to properties to simplify
3010 2009-03-05 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-app-menu.c (hildon_app_menu_map)
3013 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
3014 so it's closed if a new window appears.
3016 Fixes: NB#104485 (Not able to address the call when application
3017 menu is opened at background)
3019 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/hildon-color-button.c (hildon_color_button_get_property):Add
3022 missing 'break' statement in in 'case' construct to avoid
3025 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3027 * src/hildon-touch-selector-entry.c
3028 (hildon_touch_selector_entry_get_property),
3029 (hildon_touch_selector_entry_set_property): Add missing 'break'
3030 statements in in 'case' constructs to avoid incorrect warnings.
3032 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3034 * src/hildon-time-editor.c
3035 (hildon_time_editor_get_time_separators): Do not crash if
3036 the first label is NULL.
3038 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3040 * src/hildon-date-selector.c (_month_days): Check for month to be
3041 strictly less than 12, since otherwise we may overrun the array.
3043 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3045 * src/hildon-date-button.c (+hildon_date_button_new_full)
3046 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3047 (hildon_date_button_init): Set the date selector using a
3048 construction property, to make it happen after HildonButton's
3049 "value" property is set.
3051 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3052 current date by default)
3054 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3056 * doc/hildon-sections.txt
3057 * src/hildon-program.c
3058 * src/hildon-stackable-window.c
3059 * src/hildon-window.c:
3060 Documentation updates
3062 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3064 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3065 (hildon_window_stack_new, +hildon_window_stack_set_property)
3066 (+hildon_window_stack_get_property)
3067 (hildon_window_stack_class_init)
3068 (+hildon_window_stack_set_window_group)
3069 (+hildon_window_stack_get_window_group):
3070 Make the window group a construction property.
3072 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3074 * doc/hildon-sections.txt
3075 * src/hildon-stackable-window-private.h
3076 * src/hildon-stackable-window.h
3077 * src/hildon-stackable-window.c
3078 (-hildon_stackable_window_set_app_menu)
3079 (-hildon_stackable_window_get_app_menu)
3080 (-hildon_stackable_window_toggle_menu)
3081 (-hildon_stackable_window_finalize)
3082 (hildon_stackable_window_class_init)
3083 (hildon_stackable_window_init)
3084 * src/hildon-window-private.h
3085 * src/hildon-window.h
3086 * src/hildon-window.c (hildon_window_init)
3087 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3088 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3089 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3090 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3091 Moved all HildonAppMenu code to HildonWindow. The menu does not
3092 require a HildonStackableWindow anymore.
3094 * src/hildon-app-menu.c
3095 * src/hildon-program.c
3096 * examples/hildon-app-menu-example.c (main):
3097 Update examples and documentation to reflect HildonAppMenu
3100 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3102 * src/hildon-remote-texture.c
3103 * src/hildon-animation-actor.c:
3104 Don't include unused private headers.
3106 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-program-private.h
3109 * src/hildon-program.c
3110 (hildon_program_set_common_menu)
3111 (hildon_program_get_common_menu)
3112 (hildon_program_set_common_app_menu)
3113 (hildon_program_get_common_app_menu):
3114 Change common menu pointers from GtkWidget* to GtkMenu* and
3115 HildonAppMenu* to avoid unnecessary casts.
3117 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3119 * src/hildon-window.c (hildon_window_set_main_menu):
3120 Removed incorrect 'Since:' tag
3122 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3124 * src/hildon-pannable-area.c,
3125 (hildon_pannable_area_calculate_velocity): We use now the
3126 RATIO_TOLERANCE here to check the distance, fixed typo in the
3128 (hildon_pannable_area_motion_notify_cb): We have to set the type
3129 and time even if we are not sending the motion.
3131 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3133 * doc/hildon-sections.txt
3134 * src/hildon-app-menu.h
3135 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3136 (+hildon_app_menu_get_filters): New methods to get the contents of
3139 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3142 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-app-menu.c (hildon_app_menu_popup):
3147 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3149 * src/hildon-window.h
3150 * src/hildon-window.c (+hildon_window_get_main_menu)
3151 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3152 and deprecated hildon_window_get_menu().
3154 * src/hildon-stackable-window.h
3155 * src/hildon-stackable-window.c
3156 (+hildon_stackable_window_set_app_menu)
3157 (+hildon_stackable_window_get_app_menu)
3158 (hildon_stackable_window_set_main_menu): Created
3159 hildon_stackable_window_{get,set}_app_menu() and deprecated
3160 hildon_stackable_window_set_main_menu().
3162 * doc/hildon-sections.txt
3163 * examples/hildon-app-menu-example.c (main)
3164 * src/hildon-app-menu.c
3165 * src/hildon-program.c:
3166 Updated examples and documentation.
3168 Fixes: NB#103758 (No way to obtain a menu from a
3169 HildonStackableWindow)
3171 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3176 * configure.ac: Bump version.
3177 * debian/changelog: Updates.
3179 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3181 * examples/hildon-remote-texture-example.c: Include
3182 hildon-remote-texture.h explicitely.
3183 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3184 applications not defining _XOPEN_SOURCE which don't require this header.
3186 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3188 * doc/hildon-sections.txt
3189 * src/hildon-app-menu.h
3190 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3191 New function to pop up a HildonAppMenu
3193 * src/hildon-stackable-window.c
3194 (hildon_stackable_window_toggle_menu):
3195 Use hildon_app_menu_popup() to show the menu.
3197 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3199 * src/hildon-app-menu.c (hildon_app_menu_show)
3200 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3201 menu if there's another window between it and its parent window.
3203 Fixes: NB#100468 (Application menu window is launched even when a
3204 new secondary-window/dialog is pending to be shown/realized)
3206 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-window-stack.c (hildon_window_stack_push)
3209 (hildon_window_stack_pop_and_push):
3210 Don't forget to push/pop the first window.
3211 Reverse the window list before calling _push_list()
3213 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3215 * src/hildon-picker-button.h
3216 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3217 Remove "value_changed" slot to avoid ABI breakage
3219 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3221 * src/hildon-pannable-area.c,
3222 (hildon_pannable_area_realize),
3223 (hildon_pannable_area_unrealize),
3224 (hildon_pannable_draw_vscroll),
3225 (hildon_pannable_draw_hscroll): Changed the method to handle the
3226 GC used to draw the transparent scrollbar, this way we avoid
3227 creating the GC all the time when drawing the scrollbars.
3229 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3231 * src/hildon-pannable-area.c,
3232 (hildon_pannable_area_init),
3233 (hildon_pannable_area_remove): Removed some unnecessary casts.
3234 (hildon_pannable_area_dispose): Disconnected some signals before
3235 releasing the adjustments.
3237 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3239 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3240 Make sure that all widgets contained in the toolbar are shown.
3242 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3244 * doc/hildon-sections.txt
3245 * src/hildon-picker-button.h
3246 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3247 (_selection_changed, hildon_picker_button_on_dialog_response)
3248 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3249 New hildon_picker_button_value_changed() method.
3252 * src/hildon-picker-button-private.h
3253 * src/hildon-picker-button.c (hildon_picker_button_init)
3254 (+hildon_picker_button_disable_value_changed): Add protected
3255 function for disabling the "value-changed" signal.
3257 * src/hildon-date-button.c (hildon_date_button_set_date):
3258 Don't emit "value-changed" for each one of the three columns.
3260 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3261 before actual change of values)
3263 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3265 * src/hildon-pannable-area.c,
3266 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3267 for the treeview overshooting.
3269 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3271 * src/hildon-banner.c (+hildon_banner_bind_style):
3272 Renamed from hildon_banner_bind_label_style(), now naming the
3273 banner itself as well.
3274 (hildon_banner_show_information),
3275 (hildon_banner_show_information_with_markup),
3276 (hildon_banner_show_animation), (hildon_banner_show_progress):
3277 Name the widgets and labels, based on their type.
3279 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3282 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3284 * src/hildon-note.c (hildon_note_set_property): call
3285 hildon_note_rename() on HildonNote:note-type set.
3286 (hildon_note_rename): Name the note and its label, based on the
3287 HildonNote:note-type property.
3289 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3292 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3294 * src/hildon-pannable-area.c,
3295 (hildon_pannable_area_class_init),
3296 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3297 panning parameters, increased SPS and deceleration factor. Added
3298 also a margin to control fake directions.
3300 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3302 Patch by Sven Herzberg (sven@imendio.com)
3304 * configure.ac: Add missing AM_PROG_CC_C_0
3305 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3307 See NB#101420 (Update unit tests and fix make check)
3309 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3311 This patch was applied before but reverted because it caused
3312 problems, we have changed the main condition and tested the
3313 regressions we detected before and they work ok. We have done a
3314 complete review of the topmost algorithm in order to get a more
3317 * src/hildon-pannable-area.c,
3318 (hildon_pannable_area_get_topmost): Added a new parameter to
3319 filter the the windows that do not include those events.
3320 (hildon_pannable_area_button_press_cb),
3321 (hildon_pannable_area_button_release_cb),
3322 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3323 topmost function, we have added the new parameter.
3325 Fixes: NB#97458 (Pannable area prevents propagation of button
3328 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3330 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3331 if all columns in the selector have an item selected.
3332 (_on_dialog_response): Stop "response" signal emission if there is
3333 any selector column without selected items.
3335 Fixes: NB#101889 (Picker dialog should not close when nothing is
3336 selected in multiple selection list)
3338 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-font-selection-dialog.c
3341 (hildon_font_selection_dialog_class_init),
3342 (hildon_font_selection_dialog_init): Remove the preview
3343 button and dialog, since previewing with default theming is likely
3344 to be overcomplicated. The :preview property has now no effect.
3345 Update documentation blurbs to inform about this.
3347 Fixes: NB#92297 (Preview content is not clearly visible for
3348 default colour text)
3350 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3352 Reviewed the geometry that handles the children size and
3353 scrollbar, now it tries a size and reviews the results depending
3354 on the scrollbars visibility.
3356 * src/hildon-pannable-area.c,
3357 (hildon_pannable_area_realize): Fixed a typo.
3358 (hildon_pannable_area_child_allocate_calculate): Added this
3359 function to calculate the child allocation.
3360 (hildon_pannable_area_size_allocate): Reviewed the allocation
3362 (hildon_pannable_area_check_scrollbars),
3363 (hildon_pannable_area_refresh): Refactored refresh function, this
3364 way we can call the code handling the scrollbars without causing a
3365 size_request, it is interesting in the allocate.
3366 (hildon_pannable_area_init): Replace the callbacks of the
3367 value_changed and changed signals to propertly deal with the
3369 (hildon_pannable_area_grab_notify),
3370 (hildon_pannable_area_initial_effect),
3371 (hildon_pannable_area_launch_fade_timeout),
3372 (hildon_pannable_area_adjust_changed),
3373 (hildon_pannable_area_adjust_value_changed),
3374 (hildon_pannable_area_redraw),
3375 (hildon_pannable_area_button_press_cb),
3376 (hildon_pannable_area_button_release_cb),
3377 (hildon_pannable_area_scroll_cb),
3378 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3379 code and use the new functions adjust_changed and
3380 adjust_value_changed.
3382 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3383 Contact editor dialog)
3385 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3390 * configure.ac: Bump version.
3391 * debian/changelog: Updates.
3393 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3395 * src/hildon-pannable-area.c,
3396 (hildon_pannable_area_get_topmost),
3397 (hildon_pannable_area_button_press_cb),
3398 (hildon_pannable_area_button_release_cb),
3399 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3400 topmost function adding the event mask. We have to try a
3401 differente approach because it is still causing problems (NB#9745,
3404 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3406 * src/hildon-banner.c:
3407 Update the maximum width of timed banners.
3408 (force_to_wrap_truncated): Enforce the maximum text width if the
3411 Fixes: NB#102413 (The text margins (wrapping) in information
3412 banner should be HILDON_MARGIN_TRIPLE)
3414 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3416 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3418 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3419 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3420 bound when calculating the scroll indicator position.
3422 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3423 treat ->lower correctly)
3425 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3427 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3428 expose event handling, since it is not necessary to draw the focus
3431 Fixes: NB#102467 (Do not show highlight on the text in
3434 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3436 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3437 full height of the toolbar for the button and the label.
3439 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3441 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3442 padding before the label and after the button.
3444 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3448 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3449 Add a GtkVSeparator between the button and the back arrow.
3450 Let the button have automatic size.
3451 Set a name to the widget for theming handling.
3453 Fixes: NB#101793 (Make edit toolbar the same height as window
3454 title bar (use title area theming))
3456 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3458 * src/hildon-helper.c (attach_new_color_element): Fix memory
3461 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3463 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3465 * examples/hildon-button-example.c (common_buttons_window): Don't
3468 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3470 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3471 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3473 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3475 * src/hildon-gtk.c: Check that the window is realized.
3477 Fixes: NB#102225 (Crash setting the progress indicator to a non
3480 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3482 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3483 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3484 instead of modifying the one in the widget style.
3486 Fixes: NB#101043 (Second row of all the command button are
3487 displayed in transparent mode.)
3489 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3491 * src/hildon-date-button.c
3492 * src/hildon-time-button.c: Add gettext macros
3494 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3496 * src/hildon-date-button.c (hildon_date_button_new):
3497 * src/hildon-time-button.c (hildon_time_button_new_step):
3498 Use new logical strings to set the button default title.
3500 Fixes: NB#99915 (Date and Time options are not localised in Date
3503 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3505 * src/hildon-pannable-area.c
3506 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3507 the PANNING_THRESHOLD.
3509 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3511 * src/hildon-pannable-area.c,
3512 (hildon_pannable_area_class_init): Increased the maximum speed.
3513 (hildon_pannable_area_get_property),
3514 (hildon_pannable_area_set_property),
3515 (hildon_pannable_area_timeout): Added a new low friction mode, it
3516 allows the user avoid friction when launching the widget fast
3517 enough. It is interesting to traverse long lists.
3519 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3522 (+hildon_stackable_window_delete_event): Ignore delete events if
3523 the window is not the topmost one.
3525 Fixes: NB#101698 (Back button long press and delete-event handling)
3527 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3529 * src/hildon-pannable-area.c,
3530 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3531 gtk-dnd-drag-threshold, it was too big. We have defined our own
3532 dnd define and set a smaller value: PANNIG_THRESHOLD.
3534 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3536 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3537 user-defined icons, use always the default one.
3539 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3541 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3543 This patch was applied before but reverted because it caused
3544 problems, we have changed the main condition and tested the
3545 regressions we detected before and they work ok.
3547 * src/hildon-pannable-area.c,
3548 (hildon_pannable_area_get_topmost): Added a new parameter to
3549 filter the the windows that do not include those events. Added
3550 also a condition when finding the window to filter windows that do
3551 not ask for those events.
3552 (hildon_pannable_area_button_press_cb),
3553 (hildon_pannable_area_button_release_cb),
3554 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3555 topmost function, we have added the new parameter.
3557 Fixes: NB#97458 (Pannable area prevents propagation of button
3560 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3562 * tests/check-hildon-color-button.c (START_TEST): do not leak
3565 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3567 * src/hildon-font-selection-dialog.c
3568 (hildon_font_selection_dialog_get_preview_text): Return NULL
3569 instead of FALSE on the g_return_val_if_fail().
3571 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3574 * src/hildon-date-selector.c
3575 (hildon_date_selector_select_current_date):
3576 Do not compare unsigned integers to be greater than or equal 0,
3577 because it's always TRUE.
3579 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3581 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3582 (hildon_date_selector_constructor): Do not select the current
3583 date until we are handle the "changed" signal, to avoid having bogus
3584 elements in the days model.
3586 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3588 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3589 for num_days, since _month_days() can return a negative value.
3591 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-caption.c (hildon_caption_size_allocate):
3594 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3595 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3597 Initialize allocation variables to 0, to avoid eventually using
3598 unitialized variables.
3600 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3602 * src/hildon-bread-crumb-trail.c
3603 (hildon_bread_crumb_trail_size_allocate):
3604 * src/hildon-calendar.c (hildon_calendar_set_background):
3605 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3606 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3607 * src/hildon-seekbar.c (hildon_seekbar_init):
3608 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3609 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3610 * src/hildon-touch-selector-entry.c
3611 (hildon_touch_selector_get_text_from_model):
3612 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3613 * src/hildon-window.c (hildon_window_finalize):
3615 Remove many unused variables.
3617 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3619 * src/hildon-seekbar.c: (hildon_seekbar_init),
3620 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3622 Remove unnecessary g_assert() calls.
3624 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3626 * src/hildon-caption.c: (hildon_caption_expose),
3627 (hildon_caption_set_property), (hildon_caption_init),
3628 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3629 (hildon_caption_size_request), (hildon_caption_size_allocate),
3630 (hildon_caption_forall), (hildon_caption_set_separator),
3631 (hildon_caption_activate), (hildon_caption_set_child_expand),
3632 (hildon_caption_set_label_text),
3633 (hildon_caption_get_label_alignment):
3635 Remove unnecessary g_assert() calls.
3637 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-banner.c
3640 (hildon_banner_map, hildon_banner_init): Make banner temporary
3641 before mapping it to avoid closing other temporary windows, but
3642 make it non-temporary afterwards to avoid being closed by other
3643 non-temporary windows.
3644 (-hildon_banner_client_event, hildon_banner_init):
3645 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3647 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3650 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3652 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3655 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3657 * src/hildon-remote-texture.c
3658 * src/hildon-remote-texture.h
3659 * src/hildon-remote-texture-private.h
3660 * examples/hildon-remote-texture-example.c:
3661 Updates/fixes to remote-texture and its example.
3663 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3665 Patch by Mox Soini (ext-mox.soini@nokia.com)
3667 * src/hildon-code-dialog.c: Update logical id.
3668 * src/hildon-set-password-dialog.c: Update logical id.
3670 Fixes: NB#100646 (Logical strings is shown for ok in set
3671 password,Password needed dialogs)
3673 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3676 * src/hildon-remote-texture.c
3677 * src/hildon-remote-texture.h
3678 * src/hildon-remote-texture-private.h
3680 Added remote texture widget (for Clutter shared memory textures)
3682 * examples/hildon-remote-texture-example.c
3683 * examples/Makefile.am
3684 Added example file for remote texture usage
3686 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3688 * configure.ac: post release version bump.
3689 * debian/changelog: version bump.
3691 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3696 * configure.ac: Bump version.
3697 * debian/changelog: Updates.
3699 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3701 * src/hildon-date-selector.c (hildon_date_selector_init)
3702 (hildon_date_selector_constructor): Don't connect to the "changed"
3703 signal until the selector is completely constructed.
3705 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-touch-selector.c: (_create_new_column),
3708 (hildon_touch_selector_append_column),
3709 (hildon_touch_selector_set_column_selection_mode),
3710 (hildon_touch_selector_set_active),
3711 (hildon_touch_selector_select_iter):
3712 Emit the HildonTouchSelector::changed signal every time selection
3713 is changed in any of the methods above. This behavior was already
3714 documented but not fully functional.
3716 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3717 selection is programmatically changed)
3719 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3721 * doc/hildon-sections.txt: Remove obsolete icon
3722 sizes from here as well.
3724 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3726 * examples/hildon-stackable-window-example.c (add_window): Remove
3729 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3731 * src/hildon-app-menu.c
3732 (hildon_app_menu_show): Check whether the parent window of a menu
3733 is topmost before popping it up.
3735 Fixes: NB#100468 (Application menu window is launched even when a
3736 new secondary-window/dialog is pending to be shown/realized.)
3738 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3740 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3743 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3745 Patch by Mox Soini (ext-mox.soini@nokia.com)
3747 * src/hildon-banner.c: (hildon_banner_show_animation):
3748 use stylus size instead of obsolete note size.
3749 * src/hildon-defines.h: Update icon sizes.
3751 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3753 * src/hildon-touch-selector-entry.c:
3754 (hildon_touch_selector_entry_init): Disable unsupported
3756 (hildon_touch_selector_entry_get_text_column): Emit a warning
3757 if an unsupported input modes is used and explicitile state
3758 these modes in the documentation.
3760 Fixes: NB#99802 (Hildon touch selector entry not working properly
3761 for some of the input modes)
3763 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3765 * src/hildon-pannable-area.c,
3766 (hildon_pannable_area_init): Added the changed signal handlers of
3769 Fixes: NB#100320 (HildonPannableArea does not listen to
3770 GtkAdjustment "change" signals)
3772 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3774 * doc/hildon-sections.txt
3775 * src/hildon-window-private.h
3776 * src/hildon-window.h
3777 * src/hildon-window.c (hildon_window_init)
3778 (hildon_window_realize, hildon_window_unrealize)
3779 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3780 (hildon_window_size_request, hildon_window_size_allocate)
3781 (hildon_window_forall, hildon_window_show_all)
3782 (hildon_window_destroy, +paint_edit_toolbar)
3783 (+hildon_window_set_edit_toolbar):
3784 New hildon_window_set_edit_toolbar() method, to add a
3785 HildonEditToolbar to a window without having to pack it manually.
3787 Reorganize hildon_window_size_allocate()
3789 * src/hildon-edit-toolbar.c: Update documentation.
3791 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3792 example to use the new API.
3794 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3796 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3798 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3799 Remove from stack before calling parent's hide.
3801 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3804 window is removed from the middle of the stack, update the
3805 transiency of the previous one.
3807 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3810 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3812 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3813 block/unblock the signal handler if it's not actually being used.
3814 Fixes some critical warnings.
3816 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3818 Based on a patch by Iván Gómez (igomez@igalia.com)
3820 * src/hildon-banner.c
3824 * src/hildon-pannable-area.c
3825 * src/hildon-picker-dialog.c
3826 * src/hildon-wizard-dialog.h
3827 * src/hildon-wizard-dialog.c: Documentation updates.
3829 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3830 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3832 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3834 * configure.ac: post release version bump.
3835 * debian/changelog: version bump.
3837 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3842 * configure.ac: Bump version.
3843 * debian/changelog: Updates.
3845 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3848 a stock icon nor change the relief of the back arrow.
3850 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3851 graphics from theme)
3853 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3855 * src/hildon-button.c (hildon_button_set_alignment): Use
3856 priv->alignment if the button has no child yet.
3858 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3860 * src/hildon-button.c: (hildon_button_init): Set the
3861 button style during initialization to give it the proper
3864 Fixes: NB#99713 (HildonButton value label color is wrong)
3866 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3868 * src/hildon-touch-selector.c: Document
3869 hildon_touch_selector_center_on_selected()
3871 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3873 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3874 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3875 all menu items, but not the menu itself.
3876 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3877 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3878 items after adding them to the menu so keyboard accelerators work.
3879 (hildon_app_menu_show): Don't show the menu if it contains items
3880 but none of them are visible.
3882 * examples/hildon-app-menu-example.c (create_menu): Use
3883 gtk_widget_show_all() to show all menu items.
3885 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3887 * src/hildon-picker-dialog.c:
3888 (-_update_title_on_selector_changed_cb),
3889 (-_dialog_update_title): Removed.
3890 (_select_on_selector_changed_cb), (_on_dialog_response),
3891 (on_selector_columns_changed): Do not update the dialog title.
3892 (setup_interaction_mode): Do not connect to
3893 HildonTouchSelector::changed signal if there's a "done" button, as
3894 the dialog title doesn't need to be updated.
3896 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3899 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3901 Patch by Kristian Rietveld (kris@imendio.com)
3903 * src/hildon-touch-selector.c: (_create_new_column): Use new
3904 GtkTreeView::hildon-row-tapped signal to react to user interactions
3905 instead of ::changed.
3907 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3908 with some dynamic tree model)
3910 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3912 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3913 (+screen_size_changed, +label_size_request)
3914 (hildon_note_class_init): Make the Hildon information note have a
3915 minimum height, and make its text hvae a maximum width.
3917 Fixes: NB#98614 (Hildon information note (background) should have
3918 minimum height and maximum text width)
3920 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3922 * src/hildon-banner.h
3923 * src/hildon-banner.c (hildon_banner_show_information)
3924 (hildon_banner_show_informationf)
3925 (hildon_banner_show_information_with_markup): Update documentation
3926 to reflect that the icon_name parameter is not used anymore.
3927 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3928 Remove all code from these functions and mark them as deprecated.
3929 (hildon_banner_show_progress): Mark as deprecated.
3931 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3933 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3935 * src/hildon-pannable-area.c,
3936 (hildon_pannable_area_class_init),
3937 (tranparency_color),
3938 (hildon_pannable_draw_vscroll),
3939 (hildon_pannable_draw_hscroll),
3940 (hildon_pannable_area_expose_event): Added a new way to render the
3941 scrollbars of the pannable area avoiding using cairo at all. This
3942 way we improve the performance of the pannable area rendering. The
3943 cairo rendering procedure is still in the code, we can control
3944 which one to use changing the value of the define
3945 USE_CAIRO_SCROLLBARS.
3947 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3949 * configure.ac: post release version bump.
3950 * debian/changelog: version bump.
3952 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3957 * configure.ac: Bump version.
3958 * debian/changelog: Updates.
3960 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3962 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3963 banners instead of destroying them when they receive a button
3966 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3968 Reverted commit 34028, it was causing regressions, probably the
3969 topmost condition is not correct, we have to check it in more
3970 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3971 propagation of button press events)
3973 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3975 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3976 that the selection is not empty before attempting to retrieve the
3977 current ampm selection.
3979 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3981 * src/hildon-picker-button.c:
3982 (hildon_picker_button_on_dialog_response): Directly update the
3983 button contents when required instead of calling _selection_changed.
3985 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3987 * src/hildon-program.c (hildon_program_update_top_most): Update
3988 'is-topmost' property also when wm_hints is not set.
3990 Fixes: NB#98383 (is-topmost signal is not emitted when task
3991 switcher is clicked.)
3993 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3995 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3999 * src/hildon-animation-actor.c,
4000 * src/hildon-animation-actor.h: Added the animation actor class,
4001 this widget represents an animation actor for WM-assisted
4002 animation effects in the Hildon framework.
4004 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4006 * src/hildon-window-stack-private.h
4007 * src/hildon-window-stack.c
4008 * src/hildon-stackable-window.c (hildon_stackable_window_show):
4009 Avoid calling gtk_widget_show() again indirectly from
4010 hildon_stackable_window_show()
4012 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4014 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
4017 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4019 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
4020 (hildon_time_selector_init): Move the construction of the hours and
4021 ampm columns to the constructor to preserve the order the columns
4024 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4026 * src/hildon-picker-dialog.c:
4027 (hildon_picker_dialog_class_init): Connect a realize method.
4028 (+hildon_picker_dialog_realize): Setup the interaction mode here
4030 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4031 yet, do it during the realize instead.
4032 (_on_dialog_response):
4033 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4034 if the widget is not realized, to avoid the dialog response before it
4037 Avoid premature responses in the HildonPickerDialog that can cause it
4038 to be hidden before it's even shown.
4040 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4042 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4043 (on_selector_columns_changed), (requires_done_button),
4044 (+prepare_action_area), (setup_interaction_mode),
4045 (_hildon_picker_dialog_set_selector):
4047 Split the interaction mode setup into preparation of the
4048 action area (prepare_action_area()) and the connection of
4049 the signals in setup_interaction_mode() and update the code to
4052 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4054 * src/hildon-pannable-area.c,
4055 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4056 per second to 15, we will check if this is ok regarding
4059 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4061 * src/hildon-pannable-area.c,
4062 (hildon_pannable_axis_scroll): Avoid resize if we already have
4063 reached overshoot_max.
4065 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4067 * src/hildon-pannable-area.c,
4068 (hildon_pannable_area_init),
4069 (hildon_pannable_area_realize),
4070 (hildon_pannable_area_size_allocate),
4071 (hildon_pannable_area_map),
4072 (hildon_pannable_area_unmap),
4073 (hildon_pannable_draw_vscroll),
4074 (hildon_pannable_draw_hscroll),
4075 (hildon_pannable_area_expose_event),
4076 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4077 pannable are to avoid the expose events go to the window and
4078 redraw the window. We save this way that part of the stack and the
4079 paint_boxes. We had to change the positions of the elements when
4082 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4084 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4085 * src/hildon-color-chooser-dialog.c:
4086 (hildon_color_chooser_dialog_init):
4087 * src/hildon-font-selection-dialog.c:
4088 (hildon_font_selection_dialog_init),
4089 (hildon_font_selection_dialog_show_preview):
4090 * src/hildon-get-password-dialog.c:
4091 * src/hildon-login-dialog.c:
4092 * src/hildon-set-password-dialog.c:
4093 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4094 * src/hildon-time-picker.c: (hildon_time_picker_init):
4096 Remove obsolete logical string IDs and update to the appropriate ones.
4098 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4100 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4102 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4103 that happens if the window hasn't been realized yet.
4105 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4106 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4108 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4110 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4111 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4114 Fixes: NB#98537 (Device hangs in account settings dialog)
4116 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4118 * configure.ac: post release version bump.
4119 * debian/changelog: version bump
4121 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4126 * configure.ac: Bump version.
4127 * debian/changelog: Updates.
4129 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4131 Added a new function to the HildonTimeButton widget that allows to
4132 change the step of the minutes in the selector associated with the
4133 button: hildon_time_button_new_step
4135 * src/hildon-time-button.c,
4136 (hildon_time_button_init),
4137 (hildon_time_button_new),
4138 (hildon_time_button_new_step):
4139 * src/hildon-time-button.h: Added the new function and refactored
4141 * examples/hildon-time-button-example.c,
4142 (main): We have replaced the function without parameters with the
4143 function with the steps set to 5
4145 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4147 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4149 * src/hildon-time-selector.c,
4150 (hildon_time_selector_class_init),
4151 (hildon_time_selector_constructor),
4152 (hildon_time_selector_get_property),
4153 (hildon_time_selector_set_property),
4154 (_create_minutes_model),
4155 (hildon_time_selector_new_step),
4156 (hildon_time_selector_set_time),
4157 * src/hildon-time-selector.h: Added a new property to the
4158 HildonTimeSelector (minutes-step), we use that property to control
4159 the steps between the minutes in the list of the selector. We have
4160 added a new function to the API to create a widget changing the
4161 step: hildon_time_selector_new_step.
4163 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4165 * src/hildon-time-selector.c,
4166 (hildon_time_selector_class_init),
4167 (hildon_time_selector_constructor),
4168 (hildon_time_selector_init): Overrided the construct function when
4169 creating the time selector object. We have moved the minutes model
4170 handling code from the init to the new construction function:
4171 hildon_time_selector_constructor.
4173 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4175 * examples/hildon-date-button-example.c: (main): Use the new
4176 hildon_date_button_new_with_year_range() method in the example.
4177 * src/hildon-date-button.c:
4178 (+hildon_date_button_new_with_year_range): New public method
4179 to conveniently create a HildonDateButton with a custom year range
4180 in its HildonDateSelector.
4181 * src/hildon-date-button.h: Add the new public method definition.
4183 Fixes: NB#97908 (Not possible to change the year range in
4184 HildonDateSelector/HildonDateButton)
4186 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-date-selector.c:
4189 (+hildon_date_selector_set_property),
4190 (+hildon_date_selector_get_property),
4191 (hildon_date_selector_class_init): Install new properties "min-year"
4192 and "max-year" to define boundaries for the year column.
4193 (_create_year_model): Use the boundary properties to populate the model.
4194 (+hildon_date_selector_new_with_year_range): New public method to
4195 create a HildonDateSelector with a user defined year range.
4196 (hildon_date_selector_select_current_date): Use the new boundaries to
4197 calculate the iterator of current year.
4198 * src/hildon-date-selector.h: Add the new public method definition.
4200 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4202 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4203 Install a constructor method.
4204 (+hildon_date_selector_construct_ui): construct the widget.
4205 (+hildon_date_selector_constructor): new constructor.
4206 (+hildon_date_selector_init): move out widget construction code to
4207 the new constructor.
4209 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4211 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4212 that there's actually a month or year selected before obtaining them.
4213 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4214 of the HildonTouchSelector::changed signal, as it was emitted on every
4215 single item selection.
4217 Fix some warnings and possible crashers due to the selection restoring.
4219 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4221 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4222 the signal handlers only after creating the dialog instead of on every
4225 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4227 * src/hildon-button.c (hildon_button_init)
4228 * src/hildon-check-button.c (hildon_check_button_init)
4229 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4230 focus when clicked by default.
4232 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4237 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4239 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4240 Alejandro G. Castro (alex@igalia.com)
4242 * src/hildon-picker-dialog.c:
4243 (hildon_picker_dialog_class_init): install new "center-on-show"
4245 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4246 (hildon_picker_dialog_set_property): add setter code for the new
4248 (hildon_picker_dialog_get_property): add getter code for the new
4250 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4251 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4254 Fixes: NB#92849 (Selected item is not always visible when
4255 HildonTouchSelector is shown)
4257 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4259 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4260 Alejandro G. Castro (alex@igalia.com)
4262 * src/hildon-touch-selector.c:
4263 (_create_new_column): Do not connect to the "realize" signal of the
4265 (hildon_touch_selector_append_column): center on the selected items
4266 when a new column is appended.
4267 (hildon_touch_selector_select_iter): Factor out the code to select a
4268 column to hildon_touch_selector_scroll_to().
4269 (+search_nearest_element): Method to retrieve the nearest selected
4270 element to the visible area of the pannable area in a column.
4271 (+on_realize_cb): scroll to the initially selected item.
4272 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4273 the pannable area is realized, otherwise delay this until it is.
4274 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4275 selected items of a given column.
4276 (+hildon_touch_selector_center_on_selected): Public method to center
4277 all columns on the nearest selected item.
4278 * src/hildon-touch-selector.h: Add definition for
4279 hildon_touch_selector_center_on_selected().
4281 Implement public API to ensure visibility of all selected items in
4282 a HildonTouchSelector.
4284 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4286 Fixed a problem in the fading when calling the scroll_to API, and
4287 improve scrollbar fading handling.
4289 * src/hildon-pannable-area.c,
4290 (hildon_pannable_area_grab_notify): avoid the timeout when the
4292 (hildon_pannable_area_button_press_cb),
4293 (hildon_pannable_area_motion_notify_cb): Code style changes.
4294 (hildon_pannable_area_button_release_cb): Review the conditions
4295 when releasing the mouse button to avoid unrequired fading
4297 (hildon_pannable_area_scroll_to): Do not calculate and set the
4298 velocity if the scroll is not required.
4300 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4302 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4303 Don't check whether the new selector is NULL: it cannot be.
4304 Hold a reference to the selector while doing the replacement.
4306 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4309 unnecessary size_request in a removed widget.
4311 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4313 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4314 an unnecessary reference tracking that was leaking.
4316 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4318 Added delayed motion notify event handling, this way we can
4319 discard redrawing if more than 25 events arrive per second.
4321 * src/hildon-pannable-area.c,
4322 (hildon_pannable_area_init): Initialized the new private atributes
4323 controlling this timeout
4324 (hildon_pannable_area_dispose): Remove the timeout that controls
4325 the motion notify events.
4326 (hildon_pannable_area_scroll): Added a condition to control the
4327 use of the acceleration.
4328 (hildon_pannable_area_motion_event_scroll_timeout),
4329 (hildon_pannable_area_motion_event_scroll): Added this two
4330 functions, they handle the motion notify events inside the
4332 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4333 to the scroll method with the new function.
4334 (hildon_pannable_area_button_release_cb): We have to remove the
4335 timeout handler and move to the last position if the last motion
4336 events were not handled.
4338 Fixes: NB#97028 (Pannable area updates on every motion event)
4340 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4342 * src/hildon-pannable-area.c,
4343 (hildon_pannable_area_get_topmost): Added a new parameter to
4344 filter the the windows that do not include those events. Added
4345 also a condition when finding the window to filter windows that do
4346 not ask for those events.
4347 (hildon_pannable_area_button_press_cb),
4348 (hildon_pannable_area_button_release_cb),
4349 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4350 topmost function, we have added the new parameter.
4352 Fixes: NB#97458 (Pannable area prevents propagation of button
4355 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4357 * src/hildon-pannable-area.c,
4358 (hildon_pannable_area_initial_effect): Added controls before
4359 launching the timeout and the idle functions.
4360 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4361 of the method, in some situations it can return with TRUE and 0 in
4363 (hildon_pannable_area_button_press_cb): We do not need to set
4364 DELAY for fading out here.
4366 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4368 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4370 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4371 post-cleaning if the selection is not NULL.
4373 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4375 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4376 all items before restoring the selection.
4378 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-touch-selector.c:
4381 (+hildon_touch_selector_unselect_all):
4382 * src/hildon-touch-selector.h: New API to unselect all items in a
4383 column of the touch selector.
4385 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4387 * src/hildon-pannable-area.c,
4388 (hildon_pannable_area_redraw): Added a call to the refresh
4389 function inside the redraw because apparently in some cases the
4390 change in the adjustment does not imply a size allocate.
4392 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4393 despite the view not being scrollable)
4395 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4397 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4398 leak. Check for NULL before attempting to set the window title.
4400 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4402 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4403 whether to show or not the 'Done' button each time the dialog is
4404 shown, as it depends on the HildonTouchSelector selection mode.
4406 Fixes: NB#96226 (In multiple selection mode Done button is shown
4407 sometimes in listpicker)
4409 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4412 for the number of columns in the HildonTouchSelector more than once.
4414 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4416 * src/hildon-touch-selector.c: Minor documentation fixes.
4418 * src/hildon-picker-dialog.c (+_dialog_update_title)
4419 (_select_on_selector_changed_cb)
4420 (_update_title_on_selector_changed_cb)
4421 (on_selector_columns_changed): Update dialog title when there's no
4422 'Done' button and also when the number of columns in the selector
4426 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4427 (+_selection_changed, hildon_picker_button_on_dialog_response)
4428 (hildon_picker_button_selector_selection_changed)
4429 (+hildon_picker_button_selector_columns_changed)
4430 (hildon_picker_button_set_selector): Update button value and emit
4431 'value-changed' when the number of columns in the selector
4435 Fixes: NB#96225 (Dialog titles are not shown according to the
4436 values selected in the list picker)
4438 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4440 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4441 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4442 New "arrow-width" and "arrow-height" style properties to set the
4443 size of the arrow button.
4444 Set name of arrow button ("hildon-edit-toolbar-arrow").
4446 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4447 graphics from theme)
4449 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4451 * src/hildon-picker-button.c:
4452 (hildon_picker_button_selector_selection_changed): Use
4453 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4454 the dialog is present.
4456 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4457 the selection is accepted in the dialog)
4459 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4461 * src/hildon-color-chooser.h
4462 * src/hildon-color-chooser-dialog.h:
4463 Added G_BEGIN_DECLS and G_END_DECLS
4465 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4467 (_clean_current_selection): plug a leak in the list.
4469 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4471 * src/hildon-picker-dialog.c:
4472 (+free_path_list): Method to free a GList of GtkTreePaths.
4473 (_clean_current_selection), (_save_current_selection),
4474 (_restore_current_selection): Save the current selection in
4475 as a list of lists, to support multiple selection properly.
4477 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4479 patch by Claudio Saavedra (csaavedra@igalia.com)
4481 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4482 Store the press position.
4483 (+hildon_text_view_button_release_event): If the release position is
4484 close enough to the press position, move the cursor here. Otherwise,
4486 (hildon_text_view_class_init): Override GtkTextView press, release, and
4487 motion event handlers, disabling this way text selection through
4488 pointer interaction, and allowing the container widget to handle the
4491 Fixes: NB#95828 (HildonTextView functionality)
4493 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4495 Based on a patch by Iván Gómez (igomez@igalia.com)
4497 * src/hildon-button.[ch]
4498 * src/hildon-calendar.c
4499 * src/hildon-check-button.c
4500 * src/hildon-date-editor.c
4501 * src/hildon-date-selector.c
4502 * src/hildon-picker-button.c
4503 * src/hildon-time-editor.c
4504 * src/hildon-time-selector.c
4505 * src/hildon-touch-selector.[ch]:
4506 Documentation updates
4508 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4510 * src/hildon-pannable-area.c,
4511 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4512 threshold, it was required due to X events handling.
4514 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4516 * src/hildon-pannable-area.c,
4517 (hildon_pannable_area_grab_notify),
4518 (hildon_pannable_area_initial_effect),
4519 (hildon_pannable_area_button_press_cb),
4520 (hildon_pannable_area_button_release_cb),
4521 (hildon_pannable_area_scroll_cb),
4522 (hildon_pannable_area_scroll_to): Review the timeout management of
4523 the scrollbar, the frecuency was incorrectly set.
4525 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-picker-button.c:
4528 (+hildon_picker_button_on_dialog_response),
4529 (hildon_picker_button_clicked): Present the dialog instead of
4530 running it with gtk_dialog_run().
4532 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4535 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4537 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4538 (hildon_app_menu_finalize): When a window is hidden it doesn't
4539 emit notify::is-topmost, so make sure than the menu also
4540 disappears in that case.
4541 (parent_window_topmost_notify): Renamed from parent_window_hidden
4543 Fixes: NB#94460 (stackable window's menu is not closed when its
4546 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4548 * src/hildon-touch-selector-entry.c:
4549 (+hildon_touch_selector_entry_set_input_mode),
4550 (+hildon_touch_selector_entry_get_input_mode):
4551 * src/hildon-touch-selector-entry.h: New methods to access the input
4552 mode in the selector's entry.
4554 Fixes: NB#93410 (API required for setting IM mode in
4555 HildonTouchSelectorEntry)
4557 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4559 * configure.ac: post release version bump.
4560 * debian/changelog: version bump
4562 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4567 * configure.ac: Bump version.
4568 * debian/changelog: Updates.
4570 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4572 * src/hildon-touch-selector.c:
4573 (_hildon_touch_selector_has_multiple_selection): No need
4574 to initialize the variables here.
4576 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-note-private.h
4579 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4580 (hildon_note_finalize, hildon_note_rebuild): Close information
4581 notes when they receive a button press.
4583 Fixes: NB#89890 (Information notes does not get disappeared after
4586 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4588 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4589 mark from the wizard title, as it's not really necessary. Also,
4590 do not display the page title if not set.
4592 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4594 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4595 (parent_window_hidden): Use the window's "is-topmost" property to
4596 detect when to hide the menu.
4598 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4601 (hildon_app_menu_finalize): If the parent window of the menu is
4602 hidden, hide the menu too.
4604 Fixes: NB#94460 (stackable window's menu is not closed when its
4607 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4610 * debian/libhildon1-examples.install
4612 * examples/Makefile.am:
4613 Use dh_install to install all examples.
4614 Use DEB_SRCDIR instead of defining SOURCE_DIR
4616 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4618 * configure.ac: post release version bump.
4619 * debian/changelog: version bump
4621 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4626 * configure.ac: bump version
4627 * debian/changelog: updates
4628 * debian/control: bump gtk+ dependency
4630 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4632 patch by Christian Dywan (christian@imendio.com)
4634 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4635 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4637 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4639 * src/hildon-check-button.c (hildon_check_button_init)
4640 (hildon_check_button_class_init, hildon_check_button_style_set)
4641 (hildon_check_button_apply_style):
4642 New "checkbox-size" style property.
4644 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4645 larger / configurable size)
4647 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4649 * configure.ac: post release version bump.
4650 * debian/changelog: version bump
4652 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4657 * configure.ac: bump version
4658 * debian/changelog: updates
4660 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4662 * doc/hildon-sections.txt
4663 * src/hildon-pannable-area.c
4664 * src/hildon-program.c
4665 * src/hildon-time-editor.c
4666 * src/hildon-touch-selector-entry.c:
4668 More documentation updates.
4670 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4672 * doc/hildon-sections.txt
4673 * src/hildon-caption.c
4674 * src/hildon-code-dialog.c
4675 * src/hildon-color-button.c
4676 * src/hildon-controlbar.c
4677 * src/hildon-date-editor.c
4678 * src/hildon-date-selector.c
4679 * src/hildon-edit-toolbar.c
4680 * src/hildon-find-toolbar.c
4681 * src/hildon-font-selection-dialog.c
4683 * src/hildon-program.c
4684 * src/hildon-range-editor.c
4685 * src/hildon-seekbar.c
4686 * src/hildon-time-editor.c
4687 * src/hildon-time-selector.c
4688 * src/hildon-volumebar-range.c
4689 * src/hildon-volumebar.c
4690 * src/hildon-vvolumebar.c
4691 * src/hildon-weekday-picker.c
4692 * src/hildon-window.c
4693 * src/hildon-wizard-dialog.c:
4695 Lots of documentation fixes.
4697 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4699 Patch contributed by Iván Gómez (igomez@igalia.com)
4701 * src/hildon-check-button.c:
4702 * src/hildon-date-button.c:
4703 * src/hildon-date-selector.c:
4704 * src/hildon-dialog.c:
4705 * src/hildon-edit-toolbar.c:
4706 * src/hildon-entry.c:
4707 * src/hildon-picker-button.c:
4708 * src/hildon-program.c:
4709 * src/hildon-text-view.c:
4710 * src/hildon-time-button.c:
4711 * src/hildon-touch-selector-entry.c:
4712 * src/hildon-window-stack.c:
4714 Add more "since" tags to the new API.
4716 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4718 * doc/hildon-sections.txt: Add below method.
4719 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4720 version for the hildonized scale.
4721 * src/hildon-gtk.h: Add the definition.
4723 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4725 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4727 * doc/hildon-sections.txt: Add missing entries for new methods.
4729 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4731 Added API to pannable are in order to get its adjustments. We
4732 added two properties to manage the values we had in the private
4735 * src/hildon-pannable-area.c:
4736 (hildon_pannable_area_class_init): Added hadjustment and
4737 vadjustment properties in order to expose horizontal and vertical
4739 (hildon_pannable_area_get_property),
4740 (hildon_pannable_area_set_property): Added code to handle the new
4742 (hildon_pannable_area_get_hadjustment),
4743 (hildon_pannable_area_get_vadjustment): API functions to get the
4745 * src/hildon-pannable-area.h:
4746 (hildon_pannable_area_get_hadjustment),
4747 (hildon_pannable_area_get_vadjustment): API functions to get the
4750 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4752 Fixed some leaks, after valgrinding.
4754 * src/hildon-touch-selector.c:
4755 (_default_print_func): Fixed a leak.
4756 (hildon_touch_selector_append_column): Fixed a leak.
4757 * src/hildon-date-button.c:
4758 (hildon_date_button_init): Fixed a leak.
4759 * src/hildon-date-selector.c
4760 (hildon_date_selector_finalize): Fixed a leak.
4762 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4764 Based on a patch by Christian Dywan (christian@imendio.com)
4766 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4768 * src/hildon-gtk.h: Add definition.
4770 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4772 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4774 * src/hildon-picker-button.c: (hildon_picker_button_init),
4775 (hildon_picker_button_new): Set the HildonButton::style property
4776 in the init method, to propagate the value to the derived classes.
4778 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4780 * src/hildon-button.c: (hildon_button_class_init): Do not make
4781 the "style" property a construct property.
4783 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4785 * src/hildon-wizard-dialog.h
4786 * src/hildon-wizard-dialog.c
4787 (hildon_wizard_dialog_set_forward_page_func)
4788 * src/hildon-pannable-area.h
4789 * src/hildon-pannable-area.c
4790 (hildon_pannable_area_set_size_request_policy):
4791 Documentation fixes.
4793 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4795 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4797 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4799 * doc/hildon-sections.txt: Added sections file.
4801 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4804 * src/*.[ch]: Updates.
4806 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4808 * examples/hildon-progress-indicator-example.c: new file
4809 * examples/Makefile.am: include the new example program
4811 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4815 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4817 * configure.ac: post release version bump
4818 * debian/changelog: version bump
4820 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4825 * configure.ac: bump version
4826 * debian/changelog: updates
4827 * debian/control: bump gtk+ dependency
4829 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-dialog.c: Mark as deprecated.
4832 * src/hildon-dialog.h: Mark as deprecated.
4833 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4834 from HildonDialog and still work, even if
4835 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4836 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4838 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4839 maemo changes) instead)
4841 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4843 * src/hildon-pannable_area.h:
4844 * src/hildon-pannable_area.c:
4845 (hildon_pannable_area_class_init),
4846 (hildon_pannable_area_set_property),
4847 (hildon_pannable_area_get_property),
4848 (hildon_pannable_area_size_request),
4849 (hildon_pannable_area_get_size_request_policy),
4850 (hildon_pannable_area_set_size_request_policy): Added new API
4851 allowing applications to control the request policy. Now they can
4852 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4853 children allocation (HILDON_MOVEMENT_CHILDREN).
4855 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4859 (hildon_gtk_tree_view_set_ui_mode)
4860 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4861 mode of treeviews and iconviews.
4863 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4865 * src/hildon-touch-selector-entry.c:
4866 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4867 of a GtkEntry to get proper theming.
4869 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4870 widget, not GtkEntry)
4872 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4874 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4875 no HildonWizardDialogPageFunc.
4877 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4879 Patch contributed by Iván Gómez (igomez@igalia.com)
4881 * src/hildon-app-menu.c:
4882 * src/hildon-button.c:
4883 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4884 * src/hildon-stackable-window.c:
4885 * src/hildon-time-selector.c:
4886 * src/hildon-touch-selector.c:
4887 * src/hildon-window.c:
4889 Add more "since" tags to the new API in hildon 2.2.
4891 2008-12-05 Tim Janik <timj@imendio.com>
4893 Patch contributed by Christian Dywan (christian@imendio.com)
4895 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4896 HildonSizeType, which are supplied by Gtk+ now.
4898 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4900 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4901 (with maemo changes) instead)
4903 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4905 Patch contributed by Iván Gómez (igomez@igalia.com)
4907 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4910 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4912 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4913 (some_page_func), (main): Update the example to use a
4914 HildonWizardDialogPageFunc function.
4916 * src/hildon-wizard-dialog-private.h: Add private data for
4917 the HildonWizardDialogPageFunc function usage.
4919 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4920 (destroy), (hildon_wizard_dialog_init), (response),
4921 (hildon_wizard_dialog_set_forward_page_func):
4922 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4923 that applications can use to stop a HildonWizardDialog to jump to
4926 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4929 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4931 * src/hildon-program.h
4932 * src/hildon-program-private.h
4933 * src/hildon-program.c (hildon_program_init)
4934 (hildon_program_set_common_app_menu)
4935 (hildon_program_get_common_app_menu):
4936 New API for setting a common HildonAppMenu for all
4937 HildonStackableWindows registered with the HildonProgram.
4939 * src/hildon-stackable-window.c
4940 (hildon_stackable_window_toggle_menu):
4941 Use the common HildonAppMenu if a window doesn't have a specific
4944 * src/hildon-app-menu-private.h
4945 * src/hildon-app-menu.c
4946 (hildon_app_menu_get_parent_window):
4947 Function to obtain the window a HildonAppMenu is attached to.
4948 (hildon_app_menu_set_parent_window):
4949 Hide the menu if the parent window is set to NULL.
4951 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4953 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4954 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4955 search widget to popup.
4957 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4959 * configure.ac: post release version bump
4960 * debian/changelog: version bump
4962 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4967 * configure.ac: bump version
4968 * debian/changelog: updates
4970 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4972 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4974 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4975 (hildon_window_stack_window_realized)
4976 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4977 Set the leader GdkWindow when a window is stacked and realized,
4978 unset it when it's unstacked.
4979 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4981 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4983 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4985 * src/hildon-stackable-window.h
4986 * src/hildon-window-stack.h:
4987 Protect definition of HildonWindowStack using the preprocessor.
4989 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4991 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4992 Fix warning if all menu items are hidden.
4994 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4996 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4998 * src/hildon-controlbar.c:
4999 * src/hildon-hvolumebar.c:
5000 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
5001 Multiple scale size defines updates.
5003 Fixes: NB#94322 (Scale Updates)
5005 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5007 * examples/hildon-app-menu-example.c (create_menu)
5008 Show items after adding them to the menu, as in the future the
5009 menu will no longer call gtk_widget_show() on the added items.
5011 * src/hildon-app-menu.c:
5012 Update example as explained above.
5014 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5016 * src/hildon-app-menu.c
5017 (hildon_app_menu_insert, hildon_app_menu_add_filter):
5018 Make sure that all menu items have finger height.
5020 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
5022 * src/hildon-picker-dialog.c:
5023 (_on_dialog_response), (_save_current_selection),
5024 (_restore_current_selection), (_clean_current_selection),
5025 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
5026 Defined new functions in order to save the current internal selector
5027 selection previous open the dialog, in case that the use cancel the
5028 interaction, so the widget restores the previous selection.
5030 Fixes: NB#92032 (In calendar application, date values in 'new event'
5033 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5035 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5037 * src/hildon-button.c: Add a reference to the button examples in
5038 hildon-button-example.c
5040 * examples/hildon-button-example.c: Added examples of the most
5041 common button layouts.
5043 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5045 * src/hildon-app-menu.c (hildon_app_menu_show)
5046 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5048 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5050 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5052 * src/hildon-picker-dialog.c:
5053 (hildon_picker_dialog_init): Initialize the signal id for
5054 HildonTouchSelector::columns-changed.
5055 (+on_selector_columns_changed): Set up the interaction mode everytime a
5056 column is added or removed from the HildonTouchSelector.
5057 (_hildon_picker_dialog_set_selector): Connect to
5058 HildonTouchSelector::columns-changed and keep track of it.
5060 Make sure to update the interaction mode of the dialog everytime a
5061 column is added or removed in the HildonTouchSelector.
5063 Fixes: NB#93228 (Done button is not shown always in listpicker)
5065 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5067 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5068 a new ::columns-changed signal.
5069 (hildon_touch_selector_append_column): Emit ::columns-changed.
5070 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5072 Add a ::columns-changed signal, emitted when the number of columns in a
5073 HildonTouchSelector changes.
5075 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5077 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5078 (_hildon_picker_dialog_set_selector): Factor out the code
5079 to set up the dialog interaction mode.
5081 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5083 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5084 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5085 to signal_changed_id.
5087 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5089 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5092 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5094 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5095 Updated the logical ids related to ampm format, as now it is required to
5096 show it correctly localized even on languages with no default
5097 abbreviations for am or pm
5098 (_check_am_pm_format): check correctly the 24h format gconf property
5100 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5102 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5104 * src/hildon-button.c: Documentation updates.
5106 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5108 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5109 * src/hildon-caption.c: (hildon_caption_class_init):
5110 * src/hildon-color-button.c: (hildon_color_button_class_init):
5111 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5112 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5113 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5114 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5116 Remove deprecated GTK+ marshalers and replace them with the ones
5117 provided by GLib, for those available, add a marshaler for
5118 BOOLEAN:VOID, which is not available in GLib, and use it.
5120 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5122 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5123 the text from the previous column if there is no
5124 HildonTouchSelectorColumn::text-property set.
5126 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5128 * src/hildon-button.h
5129 * src/hildon-button.c (hildon_button_set_property)
5130 (hildon_button_get_property, hildon_button_class_init)
5131 (hildon_button_set_style, hildon_button_get_style):
5132 New "style" property to change the visual appearance of the
5135 * src/hildon-picker-button.c (hildon_picker_button_new):
5136 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5138 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5139 HildonButton look like PickerButton)
5141 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5143 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5144 column while building the default string.
5146 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5148 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5149 scroll indicator by default.
5151 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5153 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5155 * src/hildon-main.c: Fix the documentation for hildon_init()
5157 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5159 * doc/hildon-docs.sgml
5163 * src/hildon-window-stack-private.h
5164 * src/hildon-window-stack.h
5165 * src/hildon-window-stack.c:
5166 New HildonWindowStack object, that adds support for multiple
5167 stacks of windows per process.
5169 * src/hildon-stackable-window-private.h
5170 * src/hildon-stackable-window.h
5171 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5172 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5173 (hildon_stackable_window_show, hildon_stackable_window_hide)
5174 (hildon_stackable_window_class_init)
5175 (hildon_stackable_window_init):
5176 Use HildonWindowStack for stack management.
5178 * src/hildon-program.c (hildon_program_pop_window_stack)
5179 (hildon_program_peek_window_stack)
5180 (hildon_program_go_to_root_window):
5181 Add a fallback implementation to the deprecated functions using
5184 * examples/hildon-stackable-window-example.c:
5185 Use the new HildonWindowStack API.
5187 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5189 * src/hildon-stackable-window-private.h
5190 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5191 (hildon_stackable_window_hide, hildon_stackable_window_init):
5192 Remove all window stack management.
5194 * src/hildon-program-private.h
5195 * src/hildon-program.h
5196 * src/hildon-program.c (hildon_program_init)
5197 (hildon_program_pop_window_stack)
5198 (hildon_program_peek_window_stack)
5199 (hildon_program_go_to_root_window):
5200 Remove all window stack management and mark functions as
5203 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5205 * src/hildon-app-menu.c (hildon_app_menu_realize):
5206 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5208 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5210 * configure.ac: post release version bump
5211 * debian/changelog: version bump
5213 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5218 * configure.ac: bump version
5219 * debian/changelog: updates
5221 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5223 Based on initial code by Christian Dywan (christian@imendio.com)
5225 * doc/hildon-docs.sgml: Add section for hildon-main.
5226 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5227 * src/Makefile.am: Add new hildon-main.[ch]
5228 * src/hildon-defines.h: Update the icon sizes.
5229 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5230 new library initialization files and register icon sizes.
5231 * src/hildon-main.h: New declarations.
5232 * src/hildon.h: Include hildon-main.h
5234 Add new initialization functions to the library. These methods
5235 will register the hildon specific icon sizes and can be used in the
5236 future for other hildon specific bits.
5238 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5240 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5242 * src/hildon-window.c: (hildon_window_realize),
5243 (hildon_window_notify), (-hildon_window_update_title): Do not set
5244 the application name in the window title.
5246 Fixes: NB#89754 (Applications shouldn't display their names in the
5249 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5251 * src/hildon-note-private.h:
5252 * src/hildon-note.c: (hildon_note_set_property),
5253 (hildon_note_get_property), (hildon_note_class_init),
5254 (hildon_note_init), (hildon_note_finalize),
5255 (hildon_note_new_confirmation_with_icon_name),
5256 (hildon_note_new_information_with_icon_name):
5258 No need to mark as deprecated the actual code. Revert
5259 to avoid missing symbols in widgets using deprecated API.
5261 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5263 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5265 * src/hildon-volumebar.h
5266 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5267 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5269 * src/hildon-helper.h
5270 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5271 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5273 * examples/Makefile.am:
5274 Deprecate hildon-insensitive-example
5276 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5278 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5280 * examples/hildon-pannable-area-buttons-scroll-example.c:
5281 Make all buttons finger height
5283 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5285 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5287 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5288 update the day model only if it is really required, and to avoid the
5289 full-reconstruction aproach. Now it only add or remove the required days.
5291 The purpose of this is avoid superfluous HildonTouchSelector::changed
5294 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5295 with strange parameters)
5297 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5299 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5301 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5302 the WINDOW_TYPE property.
5304 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5306 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5309 Fix dependency to allow parallel compilation with make -jX
5311 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5313 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5314 color frame and some minor tweaks to make it more consistent with
5317 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5318 highlighted but not visible)
5320 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5322 * examples/Makefile.am: Fixed typo in the Makefile.am.
5324 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5326 Reviewed the use of MAEMO_GTK define, now we add the define in the
5327 compilation line, and we also add it to the pc file.
5329 * configure.ac: Added MAEMO_GTK define to the compilation command
5330 and removed it from the config.h.
5332 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5333 do not have to take care about this define if the library was
5337 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5339 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5341 * examples/Makefile.am,
5342 * examples/hildon-pannable-area-buttons-scroll-example.c,
5343 * examples/hildon-pannable-area-gesture-signals-example.c,
5344 * examples/hildon-pannable-area-scroll-jump-example.c,
5345 * examples/hildon-pannable-area-tree-view-example.c:
5346 Renamed the pannable area examples, now they have more meaningful
5349 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5351 * src/hildon-touch-selector.c:
5352 (hildon_touch_selector_set_column_selection_mode): Used of
5353 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5354 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5355 to avoid re-seting the same selection mode.
5357 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5358 breaks HildonPickerDialog)
5360 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5362 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5363 conditional in the Makefile.am
5365 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5367 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5368 Remove unused methods.
5370 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5372 * src/hildon-button.c (hildon_button_init):
5373 Make button images center-aligned by default
5375 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5378 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5379 activated, we have to think about how to deal with both defines
5380 MAEMO_GTK and MAEMO_CHANGES.
5382 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5384 * examples/hildon-app-menu-example.c (create_menu): Make all
5385 buttons finger size.
5387 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5389 Fixed the compilation without maemo gtk adding ifdefs with
5390 MAEMO_GTK define to the code, we have to check this version more
5393 * examples/Makefile.am: Added control to avoid some examples that
5394 just make sense with maemo gtk.
5397 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5398 hildon modes with the define.
5400 * examples/hildon-edit-toolbar-example.c,
5401 (create_icon_view): Create the icon view without hildon-gtk
5402 helpers if we are not using maemo gtk.
5404 * src/hildon-touch-selector.c,
5405 (_create_new_column): Create the treeview without hildon-gtk
5406 helpers if we are not using maemo gtk.
5408 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5410 * src/hildon-pnnable-area.c,
5411 (hildon_pannable_area_dispose),
5412 (hildon_pannable_area_button_press_cb),
5413 (hildon_pannable_area_child_mapped),
5414 (hildon_pannable_area_add),
5415 (hildon_pannable_area_remove): Added code to control the position
5416 of the event_window when adding and removing children from the
5417 pannable. We have to raise the event window when the child is
5420 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5421 selection mode using custom widget inside pannable)
5423 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5425 * configure.ac: post release version bump
5426 * debian/changelog: version bump
5428 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5433 * configure.ac: bump version
5434 * debian/changelog: updates
5436 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5438 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5439 search mode, in order to avoid lose the focus on the treeview when
5440 a hw key (like enter) is pressed.
5442 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5443 in HildonDateSelector dialog)
5445 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5447 * debian/rules: Added --enable-maintainer-mode
5448 * Makefile.am: Added ACLOCAL_AMFLAGS
5450 This allows to properly regenerate the Makefiles if you modify the
5451 configure.ac or any Makefile.am.
5453 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5455 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5456 properties, not needed at all.
5458 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5460 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5462 * src/hildon-note.c: (hildon_note_set_property),
5463 (hildon_note_get_property), (hildon_note_class_init),
5464 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5465 (hildon_note_new_confirmation_add_buttons): Remove icons.
5466 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5467 (hildon_note_new_information_with_icon_name): Deprecate.
5468 (hildon_note_new_confirmation): Act directly, without calling
5469 the deprecated constructor.
5470 (hildon_note_new_information): Act directly, without calling
5471 the deprecated constructor.
5472 * src/hildon-note.h: Mark deprecate methods as such.
5473 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5474 not run tests on the deprecated methods if built with deprecation
5477 Fixes: NB#91688 (Never show icons in information notes/confirmation
5480 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5482 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5483 (hildon_app_menu_key_press): Remove leftover usage of the
5484 private structure in HildonAppMenu struct.
5485 * src/hildon-app-menu.h: Remove leftover private structure
5486 from the HildonAppMenu struct.
5488 Fixes a crasher when using the HildonAppMenu.
5490 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5492 * src/hildon-picker-dialog.c: Use appropriate logical id
5493 for the default "Done" text.
5495 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5497 * configure.ac: post release version bump
5498 * debian/changelog: version bump
5500 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5502 Modified the way to scroll to the current selection just when the touch
5503 selector is shown on the screen, avoiding a g_idle. Added too a property
5504 to configure this behaviour. See hildon_pannable_area_jump_to_child
5505 documentation for more information.
5507 * src/hildon-touch-selector.c
5508 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5509 Added 'initial-scroll' property
5510 (hildon_touch_selector_set_property): Added
5511 (hildon_touch_selector_map): Removed as not required anymore
5512 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5513 only a concrete column, instead of iterate along all the columns
5515 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5520 * configure.ac: bump version
5521 * debian/changelog: updates
5523 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5525 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5526 compilation time warnings.
5528 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5530 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5531 the default value for HildonPannableArea::mov-mode to
5532 HILDON_PANNABLE_AREA_MODE_VERT.
5534 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5536 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5538 Reverting following commit:
5540 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5542 * src/hildon-app-menu-private.h
5543 * src/hildon-app-menu.[ch]
5544 * src/hildon-button.[ch]
5545 * src/hildon-check-button.[ch]
5546 * src/hildon-entry.[ch]
5547 * src/hildon-pannable-area.[ch]
5548 * src/hildon-text-view.[ch]:
5549 Added private field to the object's structure.
5551 because it causes an ABI breakage. We will need to introduce these
5552 changes later at some point. See NB#91636 for an extensive
5553 explanation and status.
5555 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5557 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5559 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5560 remove special cases that are no longer necessary.
5562 Fixes: NB#91016 (Change toolbar sizes, simplification)
5564 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5566 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5567 is shown in the cancel note.
5569 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5571 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5572 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5573 (hildon_seekbar_init): Remove steppers, remove expose event.
5574 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5576 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5578 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5580 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5581 label font to "SmallSystemFont" for vertically arranged buttons.
5583 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5586 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5588 * src/hildon-check-button.c
5589 (hildon_check_button_set_active, hildon_check_button_clicked):
5590 Don't access private parts directly, use getters instead.
5592 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5594 * src/hildon-check-button.c (hildon_check_button_new):
5595 Align the contents of the check button to the left.
5597 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5599 * src/hildon-pannable-area.c,
5600 (hildon_pannable_area_scroll_to),
5601 (hildon_pannable_area_jump_to),
5602 (hildon_pannable_area_scroll_to_child),
5603 (hildon_pannable_area_jump_to_child): Replace the mapped
5604 precondition of these functions with the realized, it is the
5605 correct state of the widget in this case. Changed the
5606 documentation according to this modification.
5608 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5610 Added a new EXTRA_CFLAGS option to add the deprecated define to
5611 the compilation command. This way we can avoid using the define in
5612 the documentation compilation.
5614 * configure.ac: Defined EXTRA_CFLAGS.
5616 * examples/Makefile.am:
5618 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5620 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5622 * src/hildon-picker-dialog.c:
5623 Defined a utility macro with the desired touch selector height
5624 Removed currently unused separator, and title_label variables from
5626 (hildon_picker_dialog_init): Removed code related to the creation
5627 of unused private variables title_label and separator.
5628 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5629 to ensure correct visualization of the touch selector inside the dialog.
5630 * src/hildon-touch-selector.c
5631 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5632 ensure a concrete height of the widget.
5634 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5637 * tests/Makefile.am:
5639 Remove spurious whitespaces.
5641 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5644 compilation warning after the cancel button removal.
5646 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5648 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5650 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5651 Makefile.am, that way we can choose not to compile some examples
5652 and tests of the deprecated widgets.
5654 * examples/Makefile.am: Divided the sources in deprecated and
5657 * src/Makefile.am: Added undef statement of the deprecated
5658 symbol to the enums file generation process.
5660 * src/hildon-color-chooser-dialog.c
5661 * src/hildon-color-chooser-dialog.h
5662 * src/hildon-color-button.c
5663 * src/hildon-color-button.h
5664 * src/hildon-color-chooser.c
5665 * src/hildon-color-chooser.h
5666 * src/hildon-controlbar.c
5667 * src/hildon-controlbar.h
5668 * src/hildon-date-editor.c
5669 * src/hildon-date-editor.h
5670 * src/hildon-hvolumebar.c
5671 * src/hildon-hvolumebar.h
5672 * src/hildon-private.c
5673 * src/hildon-private.h
5674 * src/hildon-range-editor.c
5675 * src/hildon-range-editor.h
5676 * src/hildon-seekbar.c
5677 * src/hildon-seekbar.h
5678 * src/hildon-time-editor.c
5679 * src/hildon-time-editor.h
5680 * src/hildon-time-picker.c
5681 * src/hildon-time-picker.h
5682 * src/hildon-volumebar.c
5683 * src/hildon-volumebar.h
5684 * src/hildon-vvolumebar.c
5685 * src/hildon-vvolumebar.h
5686 * src/hildon-bread-crumb-trail.h
5687 * src/hildon-bread-crumb-trail.c
5688 * src/hildon-calendar-popup.c
5689 * src/hildon-calendar-popup.h
5690 * src/hildon-weekday-picker.c:
5691 * src/hildon-weekday-picker.h:
5692 * src/hildon-bread-crumb-widget.c:
5693 * src/hildon-bread-crumb-widget.h:
5694 * src/hildon-bread-crumb.c:
5695 * src/hildon-bread-crumb.h:
5696 * src/hildon-calendar.c:
5697 * src/hildon-calendar.h:
5698 * src/hildon-caption.c:
5699 * src/hildon-code-dialog.c:
5700 * src/hildon-code-dialog.h:
5701 * src/hildon-font-selection-dialog.c:
5702 * src/hildon-font-selection-dialog.h:
5703 * src/hildon-get-password-dialog.c:
5704 * src/hildon-get-password-dialog.h:
5705 * src/hildon-login-dialog.c:
5706 * src/hildon-login-dialog.h:
5707 * src/hildon-number-editor.c:
5708 * src/hildon-number-editor.h:
5709 * src/hildon-set-password-dialog.c:
5710 * src/hildon-set-password-dialog.h:
5711 * src/hildon-sort-dialog.c:
5712 * src/hildon-sort-dialog.h: This is the list of deprecated
5715 * src/hildon-touch-selector.c:
5716 * src/hildon-window.c: Added undef statement to avoid compilation
5719 * tests/Makefile.am: Divided the sources in deprecated and
5722 * tests/check_test.c,
5723 (configure_tests): Marked the deprecated code that was adding
5724 suites with deprecated tests.
5726 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5728 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5730 * src/hildon-touch-selector.c: (_default_print_func): Do not
5731 duplicate a string returned by gtk_tree_model_get(), it is already
5734 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5737 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5739 * src/hildon-pannable-area.c
5740 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5741 method, it had problems when adding a widget with viewport the
5742 second time. Now checks if it already has a viewport and uses it.
5744 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5747 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5749 * src/hildon-pannable-area.c,
5750 (hildon_pannable_area_scroll_to),
5751 (hildon_pannable_area_jump_to),
5752 (hildon_pannable_area_scroll_to_child),
5753 (hildon_pannable_area_jump_to_child): Added a precondition to the
5754 scroll and jump to functions: the widget must be mapped before we
5755 can safely call these functions. We have also added documentation
5756 to the functions to explain how to use them in this situation.
5759 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5761 Reviewed the threading handling of the pannable widget, we have
5762 used the gdk_threads_add_timeout function instead of the usual
5763 glib handlers. This avoids some problems with the threads.
5765 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5766 (hildon_pannable_area_initial_effect),
5767 (hildon_pannable_area_scroll_indicator_fade),
5768 (hildon_pannable_area_button_press_cb),
5769 (hildon_pannable_area_timeout),
5770 (hildon_pannable_area_motion_notify_cb),
5771 (hildon_pannable_area_button_release_cb),
5772 (hildon_pannable_area_scroll_cb),
5773 (hildon_pannable_area_scroll_to): Removed the
5774 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5775 gdk_threads_add_timeout.
5777 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5779 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5784 * configure.ac: bump version
5785 * debian/changelog: updates
5787 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5789 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5790 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5791 * src/hildon-color-chooser-dialog.c:
5792 (hildon_color_chooser_dialog_init):
5793 * src/hildon-font-selection-dialog.c:
5794 (hildon_font_selection_dialog_init):
5795 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5797 Remove all cancel/close-like dialogs, as these are not going to be
5800 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-note.c: (hildon_note_rebuild),
5803 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5806 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5808 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5810 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5811 sure all buttons are shown, even the Cancel/Close-like ones.
5813 Fixes: NB#90861 (Custom Confirmation dialogs should be
5814 protected from cancel button removal)
5816 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5818 * debian/control: Change libhildon1-examples dependency from libhildon1
5820 * debian/libhildon1-examples.install
5822 * Makefile.am: Modified the final install directory for the examples on
5823 package libhildon1-examples
5824 * Makefile.static: Update clean target in order to remove all the binary
5827 Changes suggested by Claudio after review new libhildon1-examples package
5829 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5831 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5832 * src/hildon-touch-selector.c: Ditto.
5834 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5836 * debian/control: Added new package libhildon1-examples, in order to pack
5837 the current hildon examples as documentation
5838 * debian/rules: Not to compress .c files, modify some includes on the
5839 examples (as normally are compiled locally, but when installed it will
5840 require to include the installed libhildon1 library), and rename
5842 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5843 install all the example files on the new example package
5844 * examples/Makefile.static: Added static makefile that can be used to
5845 compile the examples, once installed the new example package
5846 * examples: Most of the examples were modified in order to grant that
5847 all use only '#include "hildon.h"', in order to be easy to prepare
5848 it on the example package
5850 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5853 * debian/libhildon1-dev.install
5854 * debian/libhildon1-doc.install:
5855 Move all gtk-doc files to a separate libhildon1-doc package.
5857 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5859 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5861 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5863 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5865 * debian/rules: Fixed a error in order to avoid unnecessary calls
5866 to autogen.sh on package building
5868 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5870 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5872 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5874 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5877 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-picker-button.c
5880 (hildon_picker_button_finalize):
5881 Free priv->done_button_text
5883 * src/hildon-time-button.c
5884 (hildon_time_button_set_time)
5885 * src/hildon-picker-button.c
5886 (hildon_picker_button_clicked)
5887 (hildon_picker_button_selector_selection_changed)
5888 (hildon_picker_button_set_selector)
5889 * src/hildon-date-button.c
5890 (hildon_date_button_set_date):
5891 Free strings returned by hildon_touch_selector_get_current_text()
5893 * src/hildon-button.c (hildon_button_construct_child):
5894 Fix leaks in priv->image and priv->label_box
5896 Fixes: NB#90535 (Memory leak in picker button)
5898 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5900 * src/hildon-button.c: (hildon_button_get_property): Do not access
5901 private elements directly, use getters instead.
5903 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5905 * src/hildon-app-menu-private.h
5906 * src/hildon-app-menu.c
5907 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5908 Store the menu's parent window.
5910 * src/hildon-stackable-window.c
5911 (hildon_stackable_window_toggle_menu)
5912 (hildon_stackable_window_finalize):
5913 Set the menu's parent window when the menu is shown, unset it when
5916 * src/hildon-app-menu.c
5917 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5918 (hildon_app_menu_class_init):
5919 Send unhandled keyboard accelerators to the parent window.
5921 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5923 * src/hildon-stackable-window.c
5924 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5926 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5928 * configure.ac: post release version bump
5930 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5933 * configure.ac: Bump version
5934 * debian/changelog: Updates
5935 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5938 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5940 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5943 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5944 GtkMenu with Hildon style.
5946 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5948 * src/hildon-picker-button.c:
5949 (hildon_picker_button_set_done_button_text): Set the dialog's
5950 done button text here as well.
5952 Fixes: NB#90232 (Picker button does not set the label on done button
5953 for the second time)
5955 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5957 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5960 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5962 * src/hildon-app-menu.c (hildon_app_menu_insert)
5963 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5964 the HildonAppMenu to be activatable using keyboard accelerators
5965 when the menu is not being shown.
5967 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5969 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-stackable-window.c
5972 (hildon_stackable_window_show):
5973 Don't hide old windows automatically when new windows are shown:
5974 this is now a task for the window manager.
5975 (hildon_stackable_window_class_init)
5976 (hildon_stackable_window_hide):
5977 Remove windows from the stack everytime they're hidden.
5978 (hildon_stackable_window_realize):
5979 Don't change the _NET_WM_WINDOW_TYPE property. Use
5980 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5981 it as a stackable window.
5983 * src/hildon-program.c
5984 (hildon_program_pop_window_stack):
5985 Just hide the window to remove it from the stack.
5986 (hildon_program_go_to_root_window):
5987 Don't call gtk_widget_show(), this is now a task for the window
5990 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5992 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5994 * src/hildon-button.c
5995 (hildon_button_construct_child):
5996 Don't pack anything in the button until text or image are
5997 set. This allows adding a custom child after creating the button
5998 with hildon_button_new().
5999 (hildon_button_finalize, hildon_button_class_init)
6000 (hildon_button_init, hildon_button_set_arrangement): Destroy the
6001 alignment and the label box even when they're not packed in the
6004 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
6006 * src/hildon-touch-selector.h:
6007 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
6008 currently the type definition was using GTK_TYPE_VBOX
6009 * src/hildon-touch-selector.c:
6010 Added some implementation notes in order to clarify that any other widget
6011 added without the column related API will not be included on the
6012 selection logic, and how the widget is freed, as some people ask about
6014 (hildon_touch_selector_remove): Reimplemented in order to free properly
6015 the column related data when you remove the private hbox.
6016 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
6017 to get a proper HildonTouchSelectorColumn documentation
6019 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6021 * src/hildon-touch-selector-entry.c:
6022 (hildon_touch_selector_entry_print_func): Return NULL if there is no
6023 text in the GtkEntry and there is no item selected. Fixes a
6026 2008-10-13 Alberto Garcia <agarcia@igalia.com>
6028 * src/hildon-app-menu-private.h
6029 * src/hildon-app-menu.[ch]
6030 * src/hildon-button.[ch]
6031 * src/hildon-check-button.[ch]
6032 * src/hildon-entry.[ch]
6033 * src/hildon-pannable-area.[ch]
6034 * src/hildon-text-view.[ch]:
6035 Added private field to the object's structure.
6037 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6039 * configure.ac: post-release version bump
6041 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6045 * configure.ac: pre-release version bump
6047 * debian/changelog: updates.
6049 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6051 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6052 Disconnect the handler for HildonTouchSelector::changed.
6054 (hildon_picker_button_selector_selection_changed): Update the button
6055 value if the selection change was not triggered by the
6058 (hildon_picker_button_set_selector): connect to
6059 HildonTouchSelector::changed.
6061 Fixes: NB#89650 (Picker button is not updated, when selection in
6062 selector has changed)
6064 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6066 * src/hildon-picker-dialog.c
6067 (hildon_picker_dialog_realize): Removed as not required
6068 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6069 * src/hildon-picker-button.c
6070 (_current_selector_empty): New function, checks if the selector is empty
6071 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6072 if the current selector is empty, in order to avoid to show the dialog
6073 close the dialog in this case (and shows a g_warning).
6075 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6077 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6079 * src/hildon-pannable-area.c,
6080 (hildon_pannable_area_scroll): Added clause to stop movement when
6081 the child of pannable is smaller than one page.
6082 (hildon_pannable_area_scroll_to): Added conditions to avoid
6083 starting the scrolling movement if the child is smaller than one
6084 page, the complete child is in the screen, we do not have to move.
6086 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6088 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6090 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6091 this is managed automatically by the widget when the size of the
6094 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6096 * src/hildon-picker-button.c
6097 (hildon_picker_button_set_done_button_text): Make a copy of the
6098 text, and free the previous value.
6100 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6102 * src/hildon-touch-selector-entry.c:
6103 (hildon_touch_selector_entry_print_func): Return the selected row's
6104 text if the entry is empty.
6106 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6109 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6111 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6113 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6116 * src/hildon-check-button.h
6117 * src/hildon-check-button.c
6118 * examples/hildon-check-button-example.c:
6119 HildonCheckButton is now a new widget. 'toggled' signal added.
6121 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6123 * src/hildon-program-private.h
6124 * src/hildon-program.c (hildon_program_init)
6125 (hildon_program_finalize): Removed unused variables group_leader
6126 and name from HildonProgramPrivate.
6128 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6130 * src/hildon-check-button.c (hildon_check_button_set_active)
6131 (hildon_check_button_get_active, hildon_check_button_new): Use
6132 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6134 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6136 * src/hildon-touch-selector.h
6137 (hildon_touch_selector_set_column_attributes): added deprecation
6138 guard HILDON_DISABLE_DEPRECATED
6139 * src/hildon-time-selector.c
6140 (hildon_time_selector_set_time)
6141 (hildon_time_selector_get_time): Fixed a typo on documentation
6142 * src/hildon-touch-selector.c: update HildonTouchSelector and
6143 HildonTouchSelectorColumn documentation
6144 * src/hildon-touch-selector-entry.c: update "text-column" property
6146 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6147 to be added to the general documentation.
6149 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6151 * examples/hildon-pannable-area-example-4.c,
6153 * examples/hildon-pannable-area-example.c,
6154 (main): Modified the code in order to use the container add, with
6155 viewport treeviews could have problems if they are really big.
6157 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6159 * src/hildon-weekday-picker.c,
6160 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6161 the agreement regarding deprecation in the library.
6163 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6165 * examples/hildon-picker-button-multicolumn-example.c:
6166 (main): Use custom "done" button text.
6168 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6169 (hildon_picker_button_set_property),
6170 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6171 (hildon_picker_button_init),
6172 (+hildon_picker_button_get_done_button_text),
6173 (+hildon_picker_button_set_done_button_text): New methods to customize
6174 the "done" button label in the launched HildonPickerDialog. Also,
6177 * src/hildon-picker-button.h: add the public API.
6179 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6181 * src/hildon-date-selector.h:
6182 * src/hildon-picker-dialog.h:
6183 * src/hildon-time-selector.h:
6184 * src/hildon-touch-selector-column.h:
6185 * src/hildon-touch-selector.h:
6187 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6188 declarations. Fixes gtk-doc warnings.
6190 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6192 * src/hildon-picker-dialog.h
6193 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6194 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6196 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6197 long text is set as label for done button)
6199 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6201 * src/hildon-dialog.c (hildon_dialog_add_button):
6202 Set fixed width to all buttons in the HildonDialog.
6204 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6206 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6208 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6209 Set widget name using class name plus "-finger" or "-thumb".
6211 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6214 'clicked' when the state of the button is manually changed.
6216 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6218 * src/hildon-app-menu.c (hildon_app_menu_realize)
6219 (hildon_app_menu_unrealize, hildon_app_menu_init)
6220 (hildon_app_menu_class_init, item_visibility_changed):
6221 Change the menu layout when the size of the screen changes.
6222 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6223 Show warning only when changing the number of colums using the
6226 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6228 * debian/compat: Set to 5
6229 * debian/control: Update dependencies.
6230 * debian/libhildon1-dbg.install: Remove.
6231 * debian/libhildon1-dev.install: Update according to cdbs paths.
6232 * debian/libhildon1.install: Update according to cdbs paths.
6233 * debian/rules: Switch to cdbs.
6235 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6237 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6238 'item' variable renamed to 'filter'
6240 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6242 * src/hildon-app-menu.c (hildon_app_menu_insert)
6243 (hildon_app_menu_add_filter, remove_item_from_list)
6244 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6245 Don't leak hidden items when the menu is destroyed.
6247 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6249 * src/hildon-app-menu.c (hildon_app_menu_insert)
6250 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6251 (hildon_app_menu_set_columns, item_visibility_changed)
6252 (filter_visibility_changed, hildon_app_menu_repack_filters)
6253 (hildon_app_menu_repack_items):
6254 Repack items and filters separately.
6256 Don't repack all items, change only the ones that are needed to
6259 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6261 * src/Makefile.am: added hildon-touch-selector-column.h
6263 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6265 * src/hildon-touch-selector.c: added the property "text-column" to the
6266 class HildonTouchSelectorColumn, and related get/set functions
6267 (_default_printf_func): updated to use "text-column" property
6268 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6269 "text-column" in his documentation, as this is now included on
6270 HildonTouchSelectorColumn. The get/set_property can still be used,
6271 working as a wrapper to the concrete column "text-column" property
6272 (_text_column_modified): callback added in order to handle the signal
6273 "notify::text-column" of the concrete HildonTouchSelectorColumn
6274 (hildon_touch_selector_entry_get_text_column)
6275 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6276 modified in order to use the HildonTouchSelectorColumn "text-column"
6278 * src/hildon-time-selector.c:
6279 * src/hildon-date-selector.c:
6280 * examples/hildon-touch-selector-example.c
6281 * examples/hildon-touch-selector-multi-cells-example.c
6282 * examples/hildon-picker-button-multicolumn-example.c
6283 Set the right value to "text-column" property on the creation of a new
6284 column using hildon_touch_selector_append_column()
6286 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6288 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6290 * src/hildon-app-menu.c
6291 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6292 updating the layout of the menu, don't create all widgets again,
6293 just repack the items in their new places.
6295 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6297 * src/hildon-time-selector.c
6298 (hildon_time_selector_get_time)
6299 (hildon_time_selector_set_time)
6300 Added documentation of these public methods
6302 * src/hildon-date-button.h
6303 * src/hildon-touch-selector-column.h
6304 * src/hildon-time-button.h
6305 * src/hildon-picker-dialog.h
6306 * src/hildon-time-selector.h
6307 * src/hildon-picker-button.h
6308 * src/hildon-touch-selector.h
6309 * src/hildon-time-picker.h
6310 * src/hildon-date-selector.h
6311 * src/hildon-touch-selector-entry.h
6312 Modified in order to use hildon-widgets code style
6314 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6316 Added deprecated support to the compilation process using
6317 HILDON_DISABLE_DEPRECATED
6319 * configure.ac: Added the --disable-deprecated to the configure
6322 * src/hildon-weekday-picker.c:
6323 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6324 to use the deprecated support. We will update the other deprecated
6325 widgets status in a new patch.
6327 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6329 * configure.ac: Fixed typo with fatal warnings support, the
6330 variable name was not correct
6332 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6334 * src/hildon-app-menu.c
6335 * src/hildon-program.c: Update documentation.
6337 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6339 * configure.ac: Post-release version bump.
6341 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6346 * configure.ac: Pre-release version bump.
6347 * debian/changelog: Updates.
6349 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6351 * NEWS: Update news for previous releases.
6353 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6355 * examples/hildon-touch-selector-multi-cells-example.c:
6356 (create_selector): Update the example to use
6357 hildon_touch_selector_append_column() with a NULL renderer and set
6358 the renderers later.
6359 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6360 passed a NULL renderer. This is documented behavior now.
6362 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6363 This must be used if the developer wants full control on the layout of
6364 the renderers to be added to the column.
6366 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6368 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6370 * src/hildon-touch-selector.c: Documentation fixes.
6372 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6374 * src/hildon-wizard-dialog-private.h: Remove image and box.
6375 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6376 (hildon_wizard_dialog_set_property), (response): Completely remove
6377 image/icon support, and the containers required for the layout.
6379 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6381 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6383 * src/hildon-app-menu.c: Updated documentation.
6385 * src/hildon-stackable-window.c
6386 (hildon_stackable_window_set_main_menu): Unref the old menu after
6387 ref'ing the new one.
6389 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6391 * src/hildon-stackable-window.c
6392 (hildon_stackable_window_set_main_menu): Unref the previous menu
6393 instead of destroying it.
6395 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6396 floating reference and set has_user_ref_count to FALSE to make
6397 HildonAppMenu act like a normal ref-counted widget and not a
6400 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6403 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6405 * src/hildon-touch-selector-column.h: new file
6406 * src/hildon-touch-selector.h
6407 * src/hildon-touch-selector.c
6408 Implemented GtkCellLayout interface, in order to allow to configure
6409 the cell layout on each individual selector column
6410 (hildon_touch_selector_set_column_attributes): marked as deprecated
6411 * examples/hildon-touch-selector-multi-cells-example.c
6412 Example of how to use the GtkCellLayout interface on the selector
6414 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6416 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6418 * src/hildon-app-menu.h
6419 * src/hildon-app-menu.c
6420 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6421 (hildon_app_menu_append, hildon_app_menu_prepend):
6422 New methods to prepend, insert and move items in the menu.
6424 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6426 * src/hildon-wizard-dialog.c:
6428 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6430 (create_title): Update logical IDs and related code.
6431 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6433 * src/hildon-wizard-dialog.h: Note that
6434 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6435 point, as it is not used anymore.
6437 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6439 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6441 * src/hildon-note.c:
6442 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6443 shown. Do not display an icon in confirmation notes nor information
6445 (hildon_note_set_button_text): Update logical ID for cancel button.
6447 Fixes: NB#88850 (Update HildonNote button strings + signals)
6449 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6451 * src/hildon-stackable-window.c
6452 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6454 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6456 * src/hildon-app-menu-private.h
6457 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6458 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6459 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6460 temporary property 'columns' to change the number of columns.
6462 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6464 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6466 * examples/hildon-note-example.c: (on_information_clicked),
6467 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6468 debugging information.
6469 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6471 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6472 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6473 in order to close: this will be handled by the WM from now on.
6475 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6477 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6479 * src/hildon-app-menu-private.h
6480 * src/hildon-app-menu.c
6481 (hildon_app_menu_append, hildon_app_menu_add_filter)
6482 (button_visibility_changed, hildon_app_menu_apply_style)
6483 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6484 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6485 layout everytime a button (item or filter) is shown or hidden.
6487 * src/hildon-stackable-window.c
6488 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6491 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6493 * src/hildon-touch-selector.c:
6494 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6495 that the treeview inside the touch selector is in fremantle hildon mode
6496 * examples/hildon-date-button-example.c
6497 * examples/hildon-picker-button-multicolumn-example.c
6498 * examples/hildon-touch-selector-entry-example.c
6499 * examples/hildon-touch-selector-example.c
6500 * examples/hildon-time-button-example.c
6501 * examples/hildon-picker-button-example.c:
6502 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6504 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6506 * examples/hildon-text-view-example.c: (main): Remove the
6507 gtkrc bits, now handled by the theme.
6509 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6511 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6514 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6516 * po/Makefile.am: Install properly the mo files.
6517 * po/en_GB.po: Update translation, to ease testing purposes.
6519 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6521 * examples/hildon-picker-button-example.c: (main): Select an item
6522 in the selector before setting it to the button.
6524 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6526 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6527 Update button's value if the selector has an item active.
6529 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6530 'value' with the selector)
6532 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6534 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6535 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6536 (hildon_picker_button_class_init): Plug the finalize method.
6537 (hildon_picker_button_set_selector): If there's a previously set
6538 selector, unref'it before setting a new one.
6540 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6541 HildonTouchSelector)
6543 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6545 * src/hildon-touch-selector-entry.c:
6546 (hildon_touch_selector_entry_changed): Check if there is no text
6547 selected before setting the entry text.
6550 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6552 * src/hildon-touch-selector.h
6553 * src/hildon-touch-selector.c
6554 (hildon_touch_selector_get_active)
6555 (hildon_touch_selector_set_active): New methods to set/get the
6556 index of the selected item.
6558 * src/hildon-picker-button.h
6559 * src/hildon-picker-button.c
6560 (hildon_picker_button_get_active)
6561 (hildon_picker_button_set_active): New methods to set/get the
6562 index of the selected item.
6564 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6566 * configure.ac: post-release version bump.
6568 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6572 * configure.ac: Pre-release version bump.
6573 * debian/changelog: Updates.
6574 * debian/control: Add myself as maintainer and depend on l10n
6577 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6579 * src/hildon-window.c
6580 (hildon_window_set_main_menu)
6581 * src/hildon-stackable-window.c
6582 (hildon_stackable_window_set_main_menu):
6583 Updated documentation.
6585 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6587 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6588 Don't free selector->priv manually.
6591 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6594 (hildon_gtk_window_set_progress_indicator):
6595 * src/hildon-gtk.h: Added the new API
6596 hildon_gtk_window_set_progress_indicator, it changes the state of
6597 the window progress hint.
6599 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6601 * src/hildon-button.c
6602 * src/hildon-stackable-window.c: Minor documentation updates.
6604 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6606 * src/hildon-stackable-window.c: Updated documentation.
6608 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6610 * src/hildon-defines.h: Update margins definitions
6611 to the Fremantle sizes.
6614 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6616 * src/hildon-touch-selector.c,
6617 (_hildon_touch_selector_set_model): Cleaning the code after
6618 review, removed g_print and #if 0 from the code.
6620 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6622 * src/hildon-edit-toolbar.c: Update documentation.
6624 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6626 * src/hildon-check-button.h
6627 * src/hildon-check-button.c
6628 (hildon_check_button_set_label, hildon_check_button_get_label)
6629 * examples/hildon-check-button-example.c
6630 (button_clicked_cb):
6631 Removed deprecated methods.
6633 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6635 * src/hildon-text-view.c:
6636 Add sample code to the documentation.
6638 * src/hildon-entry.h
6639 * src/hildon-text-view.h:
6640 Minor cosmetic changes.
6642 * src/hildon-entry.c:
6643 Add sample code to the documentation.
6644 (hildon_entry_init, hildon_entry_refresh_contents):
6645 Don't allow NULL values in the placeholder.
6647 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6649 * doc/hildon-docs.sgml
6651 * examples/Makefile.am
6652 * examples/hildon-text-view-example.c
6654 * src/hildon-text-view.c
6655 * src/hildon-text-view.h
6657 New HildonTextView widget, with example.
6659 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6661 * po/POTFILES.in: Add missing files with translatable strings.
6662 Partially fixes NB#88287.
6664 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6666 * examples/hildon-pannable-area-example-2.c: (main): No need to
6667 set the cellrenderer height inside hildon touch lists, the theme does
6670 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6672 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6673 they are integrated in the theme.
6675 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6677 * examples/hildon-entry-example.c: Update the example adding
6678 widgets to modify the text and the placeholder of the HildonEntry.
6680 * src/hildon-entry.c: Show the placeholder everytime the widget
6681 is empty and loses the focus.
6683 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6685 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6687 * src/hildon-pannable-area.c,
6688 (hildon_pannable_area_size_request): Fixed bug in height
6689 requisition, avoid increasing size and add border twice.
6691 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6693 * configure.ac: postrelease version bump.
6695 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6699 * configure.ac: Prerelease version bump.
6700 * debian/changelog: update.
6701 * debian/rules: make -dbg package contain useful debugging symbols.
6703 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6705 * src/hildon-dialog.h
6706 * src/hildon-dialog.c
6707 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6708 New methods to add buttons with finger size.
6709 (hildon_dialog_new_with_buttons):
6710 Create buttons with finger size.
6712 * examples/hildon-dialog-example.c (main): Use HildonDialog
6713 methods to add buttons.
6715 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6717 * src/hildon-entry.c: Updated HildonButton documentation.
6719 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6721 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6722 button value label with (FALSE, FALSE) to prevent NB#88126 from
6725 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6727 * examples/hildon-pannable-area-example.c,
6728 (main): Removed examples panning a vbox inside a pannable
6729 area. Check bug NB#87965
6731 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6733 Patch contributed by Kris Rietveld (kris@imendio.com)
6735 * src/hildon-pannable-area.c,
6736 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6737 get_size and get_position, this saves an X server roundtrip.
6739 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6741 * doc/hildon-docs.sgml
6743 * examples/Makefile.am
6744 * examples/hildon-entry-example.c
6746 * src/hildon-entry.c
6747 * src/hildon-entry.h
6749 New HildonEntry widget, with example.
6751 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6753 * src/hildon-button.c (hildon_button_construct_child): Pack the
6754 image with expand == fill == FALSE. This is a workaround for a bug
6757 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6759 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6760 labels for the text column, to make it more look more dynamic.
6762 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6764 * src/hildon-time-selector.c
6765 Define gettext auxiliar macro N_
6766 (_create_minutes_model)
6767 (_create_hours_model)
6768 (_create_ampm_model): use of strftime in order to fill the model
6769 * src/hildon-date-selector.c
6770 (hildon_date_selector_finalize):
6771 (_locales_init): remove the logic related to get the name of the months
6772 using nl_langinfo, as it is not required anymore
6774 (_create_year_model)
6775 (_create_month_model)
6776 (_update_day_model): use of strftime in order to fill the model properly
6779 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6781 * src/hildon-button.h
6782 * src/hildon-button.c (hildon_button_get_image): New method to
6785 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6787 * src/hildon-touch-selector.c:
6788 (hildon_touch_selector_remove_column): Remove from the correct parent
6789 and also remove the list element and free it.
6792 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6794 * src/hildon-time-selector.c
6795 (_create_hours_model): change the range on 12h ampm format in order to use
6796 a 12-11 range instead of previous 01-12 range
6797 (hildon_time_selector_set_time): change the way to select the current time
6798 on 12h ampm format, due the change on the range
6799 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6802 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6804 * src/hildon-touch-selector.c
6805 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6806 in order to allow use this function on multiple row selection mode if
6807 the column is different that the first one
6810 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6812 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6813 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6815 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6817 * src/hildon-date-selector.h: clean some comments, now on the .c
6818 * src/hildon-date-selector.c
6819 (hildon_date_selector_select_month): first implementation
6820 (hildon_date_selector_select_day): added documentation, reimplemented
6821 using hildon_date_selector_select_current_date to avoid repeat code
6824 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6826 Reviewed interaction logic based on device experiences, refactored
6829 * src/hildon-pannable-area.c,
6830 (hildon_pannable_area_class_init): Updated default vmax speed.
6831 (hildon_pannable_area_calculate_velocity): Added this function, it
6832 avoids duplicate valocity calculation. Adjusted calculation to
6833 avoid problems with zero dist events.
6835 (hildon_pannable_area_motion_notify_cb): Now we use the
6836 calculate_velocity function.
6838 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6840 * src/hildon-date-selector.c
6841 (hildon_date_selector_select_current_date): fix the day range check
6842 as it failed using the last day of the current month
6845 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6847 * src/hildon-touch-selector.c
6848 (hildon_touch_selector_get_num_columns): added a parameter validation
6851 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6853 * examples/Makefile.am
6854 * examples/hildon-edit-toolbar-example.c: Example of the
6855 HildonEditToolbar widget.
6857 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6859 * configure.ac: postrelease version bump.
6861 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6865 * configure.ac: prerelease version bump.
6866 * debian/changelog: update.
6868 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6870 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6871 renderer to display stock icons in the touch list. Also, set the sizes
6872 to the recommended in the style guide.
6874 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6875 * src/hildon-touch-selector.h
6876 (hildon_touch_selector_set_active_iter): renamed, now is
6877 hildon_touch_selector_select_iter
6878 (hildon_touch_selector_get_active_iter): renamed, now is
6879 hildon_touch_selector_get_selected
6880 (hildon_touch_selector_unselect_iter): added
6881 * src/hildon-touch-selector.c
6882 Update after API modification (methods renamed)
6883 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6884 order to avoid problems selecting multiple elements on the column
6885 (hildon_touch_selector_unselect_iter): added the implementation
6886 * src/hildon-time-selector.c
6887 * src/hildon-date-selector.c
6888 * src/hildon-touch-selector-entry.c
6889 Update methods calls after hildon-touch-selector.h API modification (methods
6892 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6894 * src/hildon-stackable-window.c
6895 (hildon_stackable_window_finalize): Call the parent class's finalize.
6897 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6899 * examples/hildon-touch-selector-example.c: (create_selector): Use
6900 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6903 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6905 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6906 set a cell background color, to respect theming.
6908 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6910 * doc/hildon-docs.sgml
6913 * src/hildon-edit-toolbar.c
6914 * src/hildon-edit-toolbar.h
6915 * src/hildon.h: New HildonEditToolbar widget.
6917 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6919 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6922 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6923 * src/hildon-touch-selector.c
6924 (_create_new_column): use g_object_set instead of two g_object_set_property
6926 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6927 * src/hildon-touch-selector.c
6928 (_create_new_column): use of hildon_gtk_tree_view_new to create
6929 the treeview, instead of use directly g_object_new
6930 (_create_new_column): update the property name "vindicator-mode" for the
6931 new one "vscrollbar-policy"
6932 * examples/hildon-date-button-example.c
6933 * examples/hildon-picker-button-multicolumn-example.c
6934 * examples/hildon-touch-selector-entry-example.c
6935 * examples/hildon-touch-selector-example.c
6936 * examples/hildon-time-button-example.c
6937 * examples/hildon-picker-button-example.c
6938 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6939 to all the treeviews inside a pannable area.
6941 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6943 * src/hildon-button.h
6944 * src/hildon-button.c (hildon_button_init)
6945 (hildon_button_set_arrangement, hildon_button_set_alignment)
6946 (hildon_button_set_title_alignment)
6947 (hildon_button_set_value_alignment)
6948 (hildon_button_set_image_alignment)
6949 (hildon_button_construct_child): New methods to set the alignment
6950 of the individual components of the button (title, value,
6951 image). Also, new method to alter the xscale and yscale properties
6952 of the GtkAlignment inside the button, so more complex layouts can
6955 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6957 * src/hildon-button.c (hildon_button_style_set)
6958 (hildon_button_class_init, hildon_button_set_arrangement)
6959 (hildon_button_construct_child): Apply style properties
6960 correctly. Use the 'image-spacing' style property too.
6962 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6964 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6965 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6968 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6970 * src/hildon-pannable-area.c,
6971 (hildon_pannable_area_size_request): Fixed problem with
6972 pannable-area size_request.
6974 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6976 Added management for the grab-focus to a child widget, like a
6977 range, we need to fade out the scrollbar when releasing.
6979 * src/hildon-pannable-area.c,
6980 (hildon_pannable_area_init): Connected the grab-focus signal to
6982 (hildon_pannable_area_grab_notify): Added this function in order
6983 to manage the situation when the grab-focus ends. We have to
6984 fade-out the scrollbar.
6986 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6988 * src/hildon-app-menu.c: Minor documentation update.
6990 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6992 * src/hildon-app-menu.c
6993 * examples/hildon-app-menu-example.c (create_menu): Update
6994 examples and documentation to explain how to connect callbacks.
6996 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6998 * examples/hildon-button-example.c
6999 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
7000 hildon_stackable_window_new instead of gtk_window_new
7002 2008-08-22 Alejandro G. Castro <alex@igalia.com>
7004 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
7005 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
7006 (hildon_pannable_area_set_property),
7007 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
7008 (hildon_pannable_area_unrealize),
7009 (hildon_pannable_area_size_request),
7010 (hildon_pannable_area_size_allocate),
7011 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
7012 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
7013 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
7014 (hildon_pannable_area_initial_effect),
7015 (hildon_pannable_area_redraw),
7016 (hildon_pannable_area_scroll_indicator_fade),
7017 (hildon_pannable_area_expose_event),
7018 (hildon_pannable_area_get_topmost), (synth_crossing),
7019 (hildon_pannable_area_button_press_cb),
7020 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
7021 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
7022 (hildon_pannable_area_motion_notify_cb),
7023 (hildon_pannable_area_button_release_cb),
7024 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
7025 (hildon_pannable_area_remove),
7026 (hildon_pannable_calculate_vel_factor): Widget refactorization,
7027 chage the code layout to a more GtkWidget like. Review the use of
7030 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7032 * examples/hildon-pannable-area-example-4.c,
7033 (main): Modified the name of the hindicator_mode to
7036 * src/hildon-pannable-area.c,
7037 (hildon_pannable_area_class_init),
7038 (hildon_pannable_area_motion_notify_cb),
7039 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7040 we have reduced the amount of signals and managed reviewed its
7041 rationale. Changed the default decelerate value.
7043 (hildon_pannable_area_add),
7044 (hildon_pannable_area_redraw): Refactored functions.
7046 (hildon_pannable_area_init),
7047 (hildon_pannable_area_get_property),
7048 (hildon_pannable_area_set_property):
7049 (hildon_pannable_draw_vscroll),
7050 (hildon_pannable_draw_hscroll),
7051 (hildon_pannable_area_initial_effect),
7052 (hildon_pannable_area_expose_event),
7053 (hildon_pannable_area_scroll),
7054 (hildon_pannable_area_button_press_cb),
7055 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7056 and vindicator_mode with hscrollbar_policy and
7057 vscrollbar_policy. Replaced hscroll and vscroll with
7058 hscroll_visible and vscroll_visible.
7060 (hildon_pannable_area_refresh): Refactor the function, remove
7061 variables and check the calls to this function, added resize
7062 conditions in case the children change their layout.
7064 (hildon_pannable_area_size_request): Added more detailed
7065 size_request calculation.
7068 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7070 * src/hildon-color-chooser.c
7071 (init_borders): use the correct gtk_border_free instead of g_free, to
7072 avoid a crash when this widget is used (ie: the three color selection
7075 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7077 * src/hildon-check-button.c,
7078 (hildon_check_button_set_active): Fixed problem when setting the
7079 active value, the widget was not redrawn.
7081 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7083 * src/hildon-pannable-area.c,
7084 (hildon_pannable_area_refresh),
7085 (hildon_pannable_area_scroll),
7086 (hildon_pannable_area_motion_notify_cb): Small code style change.
7088 (hildon_pannable_area_class_init): Default initial_hint set to
7089 FALSE, it is not in the specs.
7091 (hildon_pannable_area_initial_effect),
7092 (hildon_pannable_area_expose_event),
7093 (hildon_pannable_area_map),
7094 (hildon_pannable_area_init): Moved the launching point of the
7095 initial effect, it was in map but the sizes where not correct in
7096 that method so we do not know if we have the reproduce it. Now it
7097 is placed in the expose_event method and uses a variable to
7098 reproduce it just once.
7100 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7102 * src/hildon-pannable-area.c,
7103 (hildon_pannable_draw_vscroll),
7104 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7105 position allowed for the scrollbars.
7107 (hildon_pannable_area_size_allocate): Small style change.
7109 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7111 * src/hildon-pannable-area.c,
7112 (hildon_pannable_area_scroll_indicator_fade),
7113 (hildon_pannable_area_button_press_cb),
7114 (hildon_pannable_area_button_release_cb),
7115 (hildon_pannable_area_scroll_cb),
7116 (hildon_pannable_area_expose_event),
7117 (hildon_pannable_area_init): Added the define parameter
7118 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7119 and refactor the fade variable.
7121 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7123 * src/hildon-pannable-area.c,
7124 (hildon_pannable_area_redraw),
7125 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7126 lines, we were reimplemeting the redraw code.
7128 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7130 * src/hildon-pannable-area.c,
7131 (hildon_pannable_area_scroll_cb),
7132 (hildon_pannable_area_realize),
7133 (hildon_pannable_area_class_init): Added scroll_event management
7134 for pannable area, now we can scroll the usual desktop method.
7136 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7137 initialization of the parameters should depend on idle_id.
7139 (hildon_pannable_area_init),
7140 (hildon_pannable_area_map): Small code style modifications
7142 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7144 * src/hildon-pannable-area.c
7145 (hildon_pannable_area_button_press_cb),
7146 (hildon_pannable_area_motion_notify_cb),
7147 (hildon_pannable_area_button_release_cb),
7148 (hildon_pannable_area_size_allocate),
7149 (hildon_pannable_area_scroll_to): Improved the timeouts
7150 management, we avoid creating them each time.
7152 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7154 * src/hildon-pannable-area.c:
7155 (hildon_pannable_area_refresh),
7156 (hildon_pannable_area_motion_notify_cb),
7157 (hildon_pannable_area_class_init):
7158 * src/hildon-pannable-area.h:
7159 * src/hildon-touch-selector.c
7160 (_create_new_column):
7161 * examples/hildon-pannable-area-example-4.c:
7162 (horizontal_movement),
7163 (vertical_movement),
7165 Replaced the names of enums in the HildonPannableArea:
7166 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7167 HILDON_MOVEMENT_MODE_*
7168 - HILDON_PANNABLE_AREA_MOV_* ->
7170 - Removed HildonPannableAreaIndicatorMode, now we
7173 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7175 * examples/hildon-pannable-area-touch-grid-example.c
7176 * examples/hildon-pannable-area-touch-list-example.c: Fix
7177 compilation warnings.
7179 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7181 * src/hildon-gtk.c (hildon_gtk_button_new)
7182 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7183 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7184 images overriding the value of the "gtk-button-images" setting.
7186 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7188 * src/hildon-check-button.c (hildon_check_button_new):
7189 Instead of using a custom container, display the label and the
7190 checkbox using the standard GtkButton API.
7192 * examples/hildon-check-button-example.c (main): Don't use
7193 hildon_check_button_set_label() anymore
7195 * src/hildon-check-button.h
7196 * src/hildon-check-button.c
7197 (hildon_check_button_set_label, hildon_check_button_get_label):
7198 Set as deprecated, now we're using gtk_button_{get,set}_label()
7200 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7202 * src/hildon-pannable-area.c,
7203 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7204 GtkTreeview first line we detected it after the inclusion of the
7205 GtkWindowImpl in gtk+. We now check if the window is visible, not
7206 just if the pointer is over the window.
7207 (hildon_pannable_axis_scroll),
7208 (hildon_pannable_area_expose_event): Small style changes.
7210 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7212 * src/hildon-button.c: Update documentation.
7214 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7216 * examples/hildon-button-example.c: Add a switch to show images in
7219 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7221 * doc/hildon-docs.sgml: Some docs reorganization.
7223 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7225 * examples/hildon-pannable-area-touch-list-example.c
7227 * examples/hildon-pannable-area-touch-grid-example.c
7228 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7229 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7230 Fix memory leak when setting the tree model.
7232 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7236 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7238 * doc/hildon.types: Remove duplicated hildon_window_get_type
7239 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7240 documentation comment.
7242 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7244 * doc/Makefile.am: Complete list of private headers.
7246 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7248 * doc/hildon-docs.sgml
7249 * src/hildon-app-menu.c
7250 * src/hildon-bread-crumb.c
7251 * src/hildon-button.c
7253 * src/hildon-program.c
7254 * src/hildon-stackable-window.c
7255 * src/hildon-window.c: Lots of documentation updates.
7257 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7259 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7261 * configure.ac: Require Gtk+ 2.12.9 at least
7263 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7265 * src/hildon-pannable-area.c
7266 (hildon_pannable_area_scroll_indicator_fade),
7267 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7268 to protect the return of this timeout callbacks, avoiding deadlocks.
7270 2008-08-12 Christian Dywan <christian@imendio.com>
7273 * src/hildon-*.h: Ensure a consistent include order,
7274 include <gtk/gtk.h> instead of particular files and
7275 only include the topmost header in the gtk stack. See NB #39857
7277 2008-08-12 Christian Dywan <christian@imendio.com>
7279 * src/hildon-picker-dialog.c
7280 * src/hildon-touch-selector.c: Fix warnings about unused and
7281 uninitialized variables.
7283 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7285 * examples/Makefile.am
7286 * examples/hildon-check-button-example.c: Example of the hildon
7289 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7291 * src/hildon-window.h
7292 * src/hildon-window.c (hildon_window_class_init)
7293 (hildon_window_unset_program): Don't make
7294 hildon_window_unset_program a virtual function anymore.
7296 * src/hildon-stackable-window.c: Update documentation
7298 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7301 * doc/hildon-docs.sgml
7302 * doc/visual_index.xml
7303 * src/hildon-defines.c
7305 * src/hildon-helper.c
7306 * src/hildon-range-editor.c: Lots of documentation fixes.
7308 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7310 * examples/hildon-picker-button-multicolumn-example.c
7311 (create_touch_selector): Fix compilation warning.
7313 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7315 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7316 (hildon_pannable_area_button_release_cb)
7317 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7319 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7321 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7324 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7326 * src/hildon-bread-crumb-trail.h
7327 * src/hildon-date-editor.c
7328 * src/hildon-date-selector.c
7329 * src/hildon-pannable-area.c
7330 * src/hildon-picker-dialog.c
7331 * src/hildon-time-selector.c
7332 * src/hildon-touch-selector-entry.c
7333 * src/hildon-touch-selector.c
7334 * src/hildon-touch-selector.h: Misc documentation fixes
7336 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7338 * examples/hildon-date-editor-example.c (main): Updated date
7341 * examples/hildon-note-example.c (on_confirmation_clicked):
7342 Updated confirmation note example.
7344 * src/hildon-date-editor.c
7345 * src/hildon-note.c: Updated sample programs in documentation.
7348 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7350 * src/hildon-date-button.h:
7351 * src/hildon-picker-button.h:
7352 * src/hildon-time-button.c:
7353 * src/hildon-time-button.h:
7355 Some declarations changes to allow gtk-doc to document the widgets
7358 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7360 * src/hildon-date-button.c: Document the widget.
7361 * src/hildon-time-button.c: Document the widget.
7363 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7365 * src/hildon-picker-button.c: Document the widget.
7366 * src/hildon-touch-selector-entry.c: Document the widget.
7368 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7370 * doc/hildon-docs.sgml
7373 * src/hildon-check-button.h
7374 * src/hildon-check-button.c: New functions to create the Hildon
7378 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7380 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7382 * src/hildon-button.h
7383 * src/hildon-button.c
7384 (hildon_button_add_title_size_group)
7385 (hildon_button_add_value_size_group)
7386 (hildon_button_add_image_size_group)
7387 (hildon_button_add_size_groups): New functions to set size groups
7388 for the button labels and image.
7389 (hildon_button_new_full): Removed
7391 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7393 * src/hildon-time-selector.c
7394 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7395 in order to avoid a crash if gconf is not available
7397 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7399 * src/hildon-button.c (hildon_button_set_arrangement)
7400 (hildon_button_construct_child): Don't construct the button child
7401 before setting the arrangement.
7403 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7405 * src/hildon-program-private.h
7406 * src/hildon-program.c
7407 * src/hildon-program.h
7408 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7409 (hildon_program_peek_window_stack)
7410 (hildon_program_pop_window_stack)
7411 (hildon_program_go_to_root_window): HildonProgram now has a
7412 separate list for stackable windows. Functions are provided to
7413 manage that list with a stack-like API.
7415 * src/hildon-stackable-window.c: Stackable window management is
7416 now much simpler with the new HildonProgram API. Windows no
7417 longer need to be manually added to the program, they're
7418 automatically pushed to the top of the stack when shown.
7420 * examples/hildon-stackable-window-example.c: Updated example to
7421 reflect the API changes.
7423 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7425 * src/hildon-touch-selector.c: Comment out unimplemented
7426 hildon_touch_selector_insert_column() to avoid a compile warning.
7428 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7430 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7431 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7432 (hildon_touch_selector_set_column_selection_mode),
7433 (_hildon_touch_selector_set_model),
7434 (hildon_touch_selector_set_model):
7436 Complete review of HildonTouchSelector documentation.
7438 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7440 * doc/hildon-docs.sgml
7444 * src/hildon-gtk.c: Convenience functions for standard Gtk
7445 widgets, used to easily perform frequent operations.
7447 * src/hildon-button-helpers.h
7448 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7450 * src/hildon-helper.h
7451 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7452 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7454 * src/hildon-button.h
7455 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7457 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7459 * src/hildon-button.c (hildon_button_init)
7460 (hildon_button_set_arrangement, hildon_button_construct_child):
7461 Pack the image and the labels inside the same GtkAlignment so
7462 gtk_button_set_alignment() can be used
7464 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7466 * src/hildon-button.h
7467 * src/hildon-button.c
7468 (hildon_button_init, hildon_button_set_image)
7469 (hildon_button_set_image_position)
7470 (hildon_button_construct_child): New functions to add an image to
7473 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7475 * src/hildon-date-button.c
7476 * src/hildon-picker-button.c
7477 * src/hildon-time-button.c
7478 * src/hildon-button.c:
7479 (hildon_button_class_init): "size-flags" renamed to "size"
7480 (hildon_button_set_title): Hide the title label if set to NULL.
7482 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7484 HildonButtonFlags split into HildonButtonArrangement (to set the
7485 button layout) and HildonSizeType (which can be used for any
7488 * src/hildon-button.h
7489 * src/hildon-button.c
7490 (hildon_button_class_init)
7491 (hildon_button_set_arrangement)
7492 (hildon_button_set_property): New "size-flags"
7493 property. "arrangement-flags" renamed to "arrangement".
7494 (hildon_button_new, hildon_button_new_with_text)
7495 (hildon_button_new_full): Constructors updated to reflect type changes.
7497 * src/hildon-helper.h
7498 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7499 to set the size of a widget.
7503 * src/hildon-button-helpers.c
7504 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7506 * src/hildon-date-button.c
7507 * src/hildon-date-button.h
7508 * src/hildon-picker-button.c
7509 * src/hildon-picker-button.h
7510 * src/hildon-time-button.c
7511 * src/hildon-time-button.h: Updated widgets to reflect
7512 HildonButton API changes.
7514 * examples/hildon-button-example.c
7515 * examples/hildon-date-button-example.c
7516 * examples/hildon-picker-button-example.c
7517 * examples/hildon-picker-button-multicolumn-example.c
7518 * examples/hildon-time-button-example.c
7519 * examples/hildon-touch-selector-entry-example.c
7520 * examples/hildon-touch-selector-example.c: Updated examples to
7521 reflect HildonButton API changes.
7523 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7525 * doc/hildon-docs.sgml:
7527 * examples/Makefile.am:
7528 * examples/hildon-touch-selector-entry-example.c:
7530 * src/hildon-touch-selector-entry.c:
7531 * src/hildon-touch-selector-entry.h:
7534 Moved HildonTouchSelectorEntry from sandbox. Added its
7535 documentation and examples.
7537 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7539 * src/hildon-touch-selector.h:
7540 * examples/hildon-picker-button-multicolumn-example.c:
7541 (hildon_touch_selector_append_text_column): Add a gboolean
7542 parameter to determine if text must be centered in the column.
7544 * src/hildon-date-selector.c: (hildon_date_selector_init):
7545 * src/hildon-time-selector.c: (hildon_time_selector_init):
7546 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7547 (create_touch_selector): Update widgets and example to reflect
7550 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/hildon-touch-selector.c:
7553 (hildon_touch_selector_set_active_iter): Set also the cursor in
7556 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7558 * doc/hildon-docs.sgml
7561 * src/hildon-toggle-button.c
7562 * src/hildon-toggle-button.h
7563 * src/hildon.h: Removed HildonToggleButton widget, a derived
7564 class is not necessary for this.
7566 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7568 * src/hildon-pannable-area.c,
7569 (hildon_pannable_area_realize),
7570 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7573 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7575 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7576 "done" button the default widget for the dialog.
7578 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7580 * src/hildon-touch-selector.c:
7581 (hildon_touch_selector_class_init),
7582 (hildon_touch_selector_get_property),
7583 (_hildon_touch_selector_set_model),
7584 (_hildon_touch_selector_has_multiple_selection),
7585 (hildon_touch_selector_has_multiple_selection):
7586 Add a "has-multiple-selection" property with a virtual
7587 has_multiple_selection() method to allow derived classes to
7588 override the default value for it. See the method and property
7589 documentation for details.
7591 * src/hildon-touch-selector.h: Add the new API.
7593 * src/hildon-picker-dialog.c: (requires_done_button): Call
7594 hildon_touch_selector_has_multiple_selection() instead of
7595 determining the need for a button itself.
7597 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7599 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7600 (_hildon_touch_selector_set_model),
7601 (hildon_touch_selector_set_model): Move working code to
7602 _hildon_touch_selector_set_mode(). Call the class method instead.
7604 * src/hildon-touch-selector.h: Add (*set_model) to
7605 HildonTouchSelectorClass.
7607 Make hildon_touch_selector_set_model() a virtual method, so that
7608 derived classes can extend it and do fancy stuff with the model.
7610 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7612 * configure.ac: Set back the tarname in AC_INIT to hildon.
7614 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7618 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7619 instead of libesd (NB#86876). Volume handling is still an open issue.
7621 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7624 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7626 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7627 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7628 derived class to ease placement of an entry widget in
7629 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7630 end, where the selector columns are packed now.
7632 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7634 * src/hildon-picker-button.c: Removed the simple _text() API.
7635 * src/hildon-picker-button.h: Likewise.
7637 * src/hildon-touch-selector.h:
7638 * src/hildon-touch-selector.c:
7639 (hildon_touch_selector_new_text),
7640 (hildon_touch_selector_append_text),
7641 (hildon_touch_selector_prepend_text),
7642 (hildon_touch_selector_insert_text):
7644 Moved the simple _text() API from HildonPickerButton to
7645 HildonTouchPicker, to provide better escalability and not to tie
7646 that API to HildonPickerButton.
7648 * examples/hildon-picker-button-example.c: (main): Example updated.
7650 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7652 * src/hildon-button.c: Updated documentation.
7654 * examples/hildon-button-example.c: Add the posibility to create
7655 the buttons using horizontal layout for title and value.
7657 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7659 * src/hildon-app-menu-private.h
7660 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7661 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7662 GtkSizeGroup for the filters, use the 'homogeneous' property of
7665 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7667 * examples/hildon-button-example.c: Updated example.
7669 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7671 * doc/hildon-docs.sgml:
7674 Update documentation.
7676 * examples/Makefile.am: Update renamed examples.
7678 * examples/hildon-picker-button-multicolumn-example.c:
7679 (create_touch_selector), (main): Update after the rename.
7681 * examples/hildon-touch-picker-example.c: Removed.
7682 * examples/hildon-touch-selector-example.c: (value_changed),
7683 (create_selector), (get_visible_content), (main): Renamed from
7684 hildon-touch-picker-example.c
7686 * src/Makefile.am: Updated renamed files.
7688 * src/hildon-date-button.c: (hildon_date_button_init),
7689 (hildon_date_button_get_date), (hildon_date_button_set_date):
7690 * src/hildon-date-selector.c: (hildon_date_selector_init),
7691 (_custom_print_func), (_update_day_model),
7692 (_manage_selector_change_cb),
7693 (hildon_date_selector_select_current_date),
7694 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7695 * src/hildon-date-selector.h:
7696 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7697 (hildon_picker_button_set_property),
7698 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7699 (hildon_picker_button_init), (hildon_picker_button_new_text),
7700 (hildon_picker_button_append_text),
7701 (hildon_picker_button_prepend_text),
7702 (hildon_picker_button_insert_text),
7703 (hildon_picker_button_set_selector),
7704 (hildon_picker_button_get_selector):
7705 * src/hildon-picker-button.h:
7706 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7707 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7708 (_update_title_on_selector_changed_cb), (requires_done_button),
7709 (_hildon_picker_dialog_set_selector),
7710 (hildon_picker_dialog_set_selector),
7711 (hildon_picker_dialog_get_selector):
7712 * src/hildon-picker-dialog.h:
7713 * src/hildon-time-button.c: (hildon_time_button_init),
7714 (hildon_time_button_get_time), (hildon_time_button_set_time):
7715 * src/hildon-time-selector.c: (hildon_time_selector_init),
7716 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7717 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7718 * src/hildon-time-selector.h:
7721 Massive code updates after the rename.
7723 * src/hildon-touch-picker.c: Removed.
7724 * src/hildon-touch-picker.h: Removed.
7726 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7727 (hildon_touch_selector_init), (hildon_touch_selector_map),
7728 (hildon_touch_selector_remove), (_default_print_func),
7729 (_selection_changed_cb), (_create_new_column),
7730 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7731 (hildon_touch_selector_append_text_column),
7732 (hildon_touch_selector_remove_column),
7733 (hildon_touch_selector_set_column_attributes),
7734 (hildon_touch_selector_insert_column),
7735 (hildon_touch_selector_get_num_columns),
7736 (hildon_touch_selector_get_column_selection_mode),
7737 (hildon_touch_selector_set_column_selection_mode),
7738 (hildon_touch_selector_set_print_func),
7739 (hildon_touch_selector_get_print_func),
7740 (hildon_touch_selector_get_active_iter),
7741 (hildon_touch_selector_set_active_iter),
7742 (hildon_touch_selector_get_selected_rows),
7743 (hildon_touch_selector_get_model),
7744 (hildon_touch_selector_set_model),
7745 (hildon_touch_selector_get_current_text),
7746 (_hildon_touch_selector_center_on_selected_items):
7747 * src/hildon-touch-selector.h: Renamed from
7748 hildon-touch-picker.[ch]
7750 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7751 references, code examples, and related documentation.
7753 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7755 * doc/hildon-docs.sgml
7758 * src/hildon-toggle-button.c
7759 * src/hildon-toggle-button.h
7760 * src/hildon.h: New HildonToggleButton widget.
7762 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7764 * src/hildon-button.c: Add API documentation.
7765 (hildon_button_set_size_groups): Check input parameters
7767 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7769 * src/hildon-pannable-area.c
7770 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7771 effect after reaching the movement thredshold. This way we start
7772 using the distance after passing the thredshold.
7774 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7776 * src/hildon-button.c: (hildon_button_set_property): Use the
7777 appropriate g_value_get_flags() method.
7779 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7781 * doc/hildon-docs.sgml:
7784 Add the touch pickers, picker dialogs, and picker button widgets
7785 to the documentation.
7787 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7789 * src/hildon-button.c: (hildon_button_set_property),
7790 (hildon_button_class_init): Make "arrangement-flags" a proper
7791 G_TYPE_FLAGS derived property.
7793 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7795 * examples/Makefile.am: Add below examples.
7796 * examples/hildon-date-button-example.c:
7797 * examples/hildon-picker-button-example.c:
7798 * examples/hildon-picker-button-multicolumn-example.c:
7799 * examples/hildon-time-button-example.c:
7800 * examples/hildon-touch-picker-example.c:
7802 Add examples for the recently added touch pickers,
7803 picker dialogs, and picker button widgets.
7805 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7807 * src/hildon-button.c: Add some API documentation
7809 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7811 * src/hildon-button.h
7812 * src/hildon-button.c
7814 (hildon_button_new_with_text): New constructor to create a button
7815 with no text at all.
7816 (hildon_button_init, hildon_button_set_arrangement)
7817 (hildon_button_set_title, hildon_button_set_value)
7818 (hildon_button_set_text)
7819 (hildon_button_construct_child): Hide the value when it's not used
7820 so the rest of the text is properly aligned.
7821 Allow creating buttons with arbitrary widgets inside (not just
7822 title/value labels).
7824 * examples/hildon-button-example.c (vertical_buttons_window)
7825 (horizontal_buttons_window): Update example to use new API.
7827 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7829 * src/Makefile.am: Added HildonTimeButton.
7830 * src/hildon-time-button.c: Added missing LGPL header.
7831 * src/hildon-time-button.h: Added missing LGPL header.
7832 * src/hildon.h: Add hildon-time-button.h
7834 Copied HildonTimeButton from sandbox to trunk. Future work on this
7835 widget must take place in trunk.
7837 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7839 * src/Makefile.am: Added HildonDateButton.
7840 * src/hildon-date-button.c: Update includes.
7841 * src/hildon.h: Add hildon-date-button.h
7843 Copied HildonDateButton from sandbox to trunk. Future work on this
7844 widget must take place in trunk.
7846 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7848 * src/Makefile.am: Added HildonPickerButton.
7849 * src/hildon-picker-button.h: Update includes.
7850 * src/hildon.h: Add hildon-picker-button.h
7852 Copied HildonPickerButton from sandbox to trunk. Future work on
7853 this widget must take place in trunk.
7855 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7857 * src/Makefile.am: Added HildonPickerDialog.
7858 * src/hildon-picker-dialog.c: Update includes.
7859 * src/hildon.h: Add hildon-picker-dialog.h
7861 Copied HildonPickerDialog from sandbox to trunk. Future work
7862 on this widget must take place in trunk.
7864 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7866 * src/Makefile.am: Added HildonTimeSelector.
7867 * src/hildon.h: Add hildon-time-selector.h
7869 Copied HildonTimeSelector widget from sandbox to trunk. Future
7870 work on this widget must happen in trunk.
7872 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7874 * src/Makefile.am: Added HildonDateSelector.
7875 * src/hildon.h: Add hildon-date-selector.h
7877 Copied HildonDateSelector widget from sandbox to trunk. Future
7878 work on this widget must happen in trunk.
7880 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7882 * src/Makefile.am: Added HildonTouchPicker.
7883 * src/hildon-touch-picker.c: Update includes.
7884 * src/hildon.h: Add hildon-touch-picker.h
7886 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7887 on this widget must happen in trunk.
7889 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7891 * src/hildon-pannable-area.c:
7892 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7894 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7896 * examples/hildon-app-menu-example.c (main): Let the window
7899 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7901 * src/hildon-pannable-area.c
7902 (hildon_pannable_area_class_init): Set the min value of the
7903 overshoot properties to zero, which points out that not
7904 overshooting allowed.
7906 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7908 Modified the procedure to get the widget at a point inside the
7909 pannable area when using the movement type signals. Now the user
7910 has to call a function to get the child, that way we just
7911 calculate the child in case the user really want to use it and not
7914 * src/hildon-marshalers.list: Modified the marshallers, now we do
7915 not have the widget as a parameter.
7917 * src/hildon-pannable-area.c
7918 (hildon_pannable_area_motion_notify_cb),
7919 (hildon_pannable_area_class_init),
7920 (hildon_pannable_get_child_widget_at): Removed the widget
7921 parameter from the signal callback. We have also refactored the
7922 emission of the signals.
7924 * src/hildon-pannable-area.h: Added a new method to the API to
7925 calculate a widget at a point inside the pannable area,
7926 hildon_pannable_get_child_widget_at.
7928 * examples/hildon-pannable-area-example-4.c
7929 (horizontal_movement): Modified the example to use the new API,
7930 added condition to control which widget is under the event. This
7931 way we can avoid scrolling laterally over other widgets.
7933 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7935 * src/hildon-pannable-area.c
7936 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7937 modes, we stop getting the pointer events due to returning the
7938 callback without properly calling the get pointer again. Fixed
7939 also an error using the hscroll and vscroll.
7941 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7943 * src/hildon-app-menu-private.h
7944 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7945 (hildon_app_menu_button_release, hildon_app_menu_init)
7946 (hildon_app_menu_class_init): Don't hide the menu on button
7947 release if the user didn't press outside first.
7949 * src/hildon-window.h
7950 * src/hildon-window.c (hildon_window_toggle_menu)
7951 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7952 hildon_window_toggle_menu a virtual function for the stackable
7953 window to override it.
7955 * src/hildon-stackable-window.h
7956 * src/hildon-stackable-window-private.h
7957 * src/hildon-stackable-window.c
7958 (hildon_stackable_window_realize)
7959 (hildon_stackable_window_finalize)
7960 (hildon_stackable_window_class_init)
7961 (hildon_stackable_window_init)
7962 (hildon_stackable_window_set_main_menu): New function to set the
7963 app menu of a HildonStackableWindow.
7965 * examples/hildon-app-menu-example.c: Remove the button to show
7966 the app menu, now it'll be shown when clicking on the title bar
7969 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7971 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7972 set the widget name if the arrangement flags do not specify
7975 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7977 * src/hildon-button.c: (hildon_button_set_property),
7978 (hildon_button_class_init), (hildon_button_new_full),
7979 (hildon_button_set_arrangement): Added "arrangement-flags"
7982 Make the HildonButtonFlags a construction-only property, to allow
7983 subclasses to set them properly.
7985 2008-07-21 Tim Janik <timj@imendio.com>
7987 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7988 insertion position after backspace, so additional digits are appended,
7991 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7993 * src/hildon-pannable-area.c,
7994 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7995 TODO list, it was complete and removed the g_debug and g_print
7998 2008-07-17 Alejandro G. Castro <alex@igalia.com>
8000 Added the movement modes to the hildon-pannable-area, with this
8001 modes the developers can control in which directions the widget
8002 can scroll. They can also connect to signals in order to do
8003 something when that happens, allowing applications scroll. There
8004 is an example uploaded showing how to use it.
8006 * examples/Makefile.am:
8007 * examples/hildon-pannable-area-example-4.c: Added this example of
8008 an application using the modes.
8010 * src/hildon-marshalers.list: Added a new marshaller for the new
8013 * src/hildon-pannable-area.h: Added new enumerations and flags in
8014 order to control the movement modes and the new signals to warn
8015 about the movements in the area.
8017 * src/hildon-pannable-area.c:
8018 (hildon_pannable_axis_scroll),
8019 (hildon_pannable_area_scroll),
8020 (hildon_pannable_area_motion_notify_cb),
8021 (hildon_pannable_area_get_property),
8022 (hildon_pannable_area_set_property),
8023 (hildon_pannable_area_map),
8024 (hildon_pannable_area_class_init),
8025 (hildon_pannable_area_init),
8026 (hildon_pannable_area_jump_to): Added the modes to control the
8027 movement in the widget. We have added properties to control it,
8028 signals to warn about the movements and refactored some code.
8030 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8032 Changes required in order to allow vfast_factor set to zero to
8035 * src/hildon-pannable-area.c:
8036 (hildon_pannable_area_button_press_cb): Changed the condition, it
8037 is required for not allowing click when vfast_factor is zero.
8038 (hildon_pannable_area_timeout): Initialized velocity variables
8039 when we stop moving, it was less than 1 but not zero and we need
8040 to check zero in some situations.
8041 (hildon_pannable_area_class_init): Changed the default value of
8042 the speed factor, now the button_press is just sent in case the
8043 speed is 2 per cent of the max speed.
8044 (hildon_pannable_area_init): Initialization with 0.
8046 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8048 * src/hildon-pannable-area.c,
8049 (hildon_pannable_area_get_topmost): replaced
8050 gdk_window_get_children with gdk_window_peek_children, this way we
8051 do not have to free the list because it is not a copy.
8053 (hildon_pannable_axis_scroll),
8054 (hildon_pannable_area_scroll),
8055 (hildon_pannable_area_timeout),
8056 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8057 two parameters that were only used inside the
8058 hildon_pannable_area_scroll function.
8060 * examples/hildon-pannable-area-example.c,
8061 (get_sawtooth_label): Fixed small memory leak.
8063 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8065 More checks for the case where the overshoot is bigger than the
8068 * src/hildon-pannable-area.c:
8069 (hildon_pannable_draw_vscroll),
8070 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8071 to draw the slider of the scrollbar under the other scrollbar.
8072 (hildon_pannable_area_expose_event): added new checks to control
8073 the drawing of the overshooting area rectangle, in case it is too
8074 big for the area of the widget.
8075 (hildon_pannable_area_size_allocate): add more checks to avoid
8076 setting a position to the child widget outside the area.
8078 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8080 * src/hildon-pannable-area.c
8081 (hildon_pannable_area_size_allocate): Added conditions to control
8082 when overshooting is bigger than the allocated space for the
8083 children, this avoids negative allocations.
8085 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8087 * doc/hildon-docs.sgml
8089 * examples/Makefile.am
8090 * examples/hildon-button-example.c
8092 * src/hildon-button.c
8093 * src/hildon-button.h
8094 * src/hildon.h: Initial version of the new HildonButton widget,
8097 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8099 * src/hildon-pannable-area.c:
8100 (hildon_pannable_area_button_press_cb),
8101 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8102 (hildon_pannable_area_motion_notify_cb),
8103 (hildon_pannable_area_button_release_cb),
8104 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8105 (hildon_pannable_area_jump_to_child):
8107 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8109 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8111 * examples/Makefile.am
8112 * examples/hildon-pannable-area-touch-grid-example.c
8113 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8114 the Hildon Touch List and Hildon Touch Grid using the
8115 HildonPannableArea widget.
8117 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8119 * src/hildon-pannable-area.c,
8120 (hildon_pannable_area_button_press_cb),
8121 (hildon_pannable_area_refresh),
8122 (hildon_pannable_area_scroll),
8123 (hildon_pannable_area_motion_notify_cb),
8124 (hildon_pannable_area_button_release_cb),
8125 (hildon_pannable_area_expose_event),
8126 (hildon_pannable_area_add),
8127 (hildon_pannable_area_remove),
8128 (hildon_pannable_area_realize),
8129 (hildon_pannable_area_size_allocate),
8130 (hildon_pannable_area_class_init),
8131 (hildon_pannable_area_init),
8132 (hildon_pannable_area_scroll_to_child),
8133 (hildon_pannable_area_jump_to_child): Fixed the problem of
8134 removing the child from the GtkBin, we have rearranged the widget
8135 hierarchy, now there is no GtkAlignment which was not doing
8136 anything interesting but breaking some of the assumptions of
8137 GtkContainer. Now developers if they want to add a GtkAlignment
8138 they could, but it is not inside the area.
8140 We had to review the whole allocation/expose process, now it is
8141 improved and we save at least three signals which would be saving
8142 some time when rendering the widget. The allocation of the
8143 scrollbars is now made in the allocate method as usual.
8145 We have also added some conditions in order to control when there
8146 is no child of the pannable area. Maybe we will need more work
8149 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8151 * src/hildon-pannable-area.c,
8152 (hildon_pannable_area_dispose): Released the fade-out timeout when
8153 disposing the widget.
8155 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8157 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8158 zero, we are going to use that property in order to deactivate the
8160 (hildon_pannable_axis_scroll),
8161 (hildon_pannable_area_size_allocate): Added conditions to control
8162 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8163 call, now it is called in all situations and we can remove calls
8164 in the allocate method.
8165 (hildon_pannable_area_map): Control the situation when
8166 overshoot_max is zero, we do not need the timeout.
8167 (hildon_pannable_area_class_init): Added documentation in order to
8168 point out that setting zero to overshoot_max means deactivate
8171 NOTE: removed trailing whitespaces from my previous comments of
8174 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8176 * src/hildon-pannable-area.c
8177 (hildon_pannable_area_get_property),
8178 (hildon_pannable_area_set_property),
8179 (hildon_pannable_area_map),
8180 (hildon_pannable_area_class_init),
8181 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8182 to cause the widget give a hint about its panning abilities upon
8185 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8187 * src/hildon-pannable-area.c: Several documentation improvements.
8189 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8191 * src/hildon-program.c
8192 * src/hildon-stackable-window.c: Update documentation.
8194 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8196 * src/hildon-stackable-window.c (get_previous_window_if_last):
8197 Renamed get_last_window()
8198 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8199 (hildon_stackable_window_unset_program):
8201 (get_previous_window_if_last):
8202 Detect if the window hasn't been added to a HildonProgram.
8204 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8206 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8208 * src/hildon-pannable-area.c
8209 (hildon_pannable_area_button_press_cb),
8210 (hildon_pannable_axis_scroll),
8211 (hildon_pannable_area_scroll),
8212 (hildon_pannable_area_timeout),
8213 (hildon_pannable_calculate_vel_factor),
8214 (hildon_pannable_area_get_property),
8215 (hildon_pannable_area_set_property),
8216 (hildon_pannable_area_class_init),
8217 (hildon_pannable_area_init),
8218 (hildon_pannable_area_scroll_to),
8219 (hildon_pannable_area_jump_to),
8220 (hildon_pannable_area_scroll_to_child),
8221 (hildon_pannable_area_jump_to_child):
8222 * src/hildon-pannable-area.h: Added the new API functions:
8223 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8224 hildon_pannable_area_scroll_to_child,
8225 hildon_pannable_area_jump_to_child
8228 * examples/Makefile.am
8229 * examples/hildon-pannable-area-example-2.c
8230 * examples/hildon-pannable-area-example-3.c: Added these two new
8231 examples in order to test and show how the new APIs work.
8233 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8235 * examples/hildon-stackable-window-example.c (new_window):
8236 * src/Makefile.am (noinst_HEADERS):
8237 * src/hildon-program.c (hildon_program_go_to_root_window):
8238 * src/hildon-program.h:
8239 * src/hildon-stackable-window-private.h:
8240 * src/hildon-stackable-window.c:
8241 * src/hildon-stackable-window.h:
8242 Create hildon-stackable-window-private.h
8243 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8245 * examples/hildon-app-menu-example.c (create_menu):
8246 * examples/hildon-hvolumebar-insensitive-example.c (main):
8247 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8248 * examples/hildon-toolbar-seekbar-example.c (main):
8249 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8250 * src/hildon-banner.c (hildon_banner_set_property):
8251 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8252 Fix compilation warnings
8254 * src/hildon-window.c:
8257 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8259 * src/hildon-stackable-window.c
8260 (hildon_stackable_window_unset_program):
8261 Calculate correctly whether to show the previous window if the
8262 last one is removed from the stack.
8263 (hildon_stackable_window_go_to_root_window):
8264 Send delete events starting from the topmost window.
8265 Stop if one of the windows is not destroyed.
8267 (hildon_stackable_window_delete_event)
8268 (hildon_stackable_window_class_init):
8269 Ignore the delete event if the window is not the topmost one.
8271 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8273 * src/hildon-pannable-area.c
8274 (hildon_pannable_area_expose_event): Fixed a problem when
8275 selecting the background color of the scrollbars.
8277 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8279 * examples/hildon-stackable-window-example.c
8280 * src/hildon-stackable-window.c
8281 * src/hildon-stackable-window.h
8282 hildon_stackable_window_go_home() renamed to
8283 hildon_stackable_window_go_to_root_window()
8284 Send delete events to windows rather than closing them with
8285 gtk_widget_destroy()
8287 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8289 * src/hildon-pannable-area.c
8290 (hildon_pannable_area_button_release_cb): Fix overshooting in
8293 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8295 * src/hildon-pannable-area.c
8296 (hildon_pannable_area_init): Initially show the scroll indicators.
8297 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8299 Add initial effect showing the widget is pannable.
8301 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8303 * src/hildon-pannable-area.c
8304 (hildon_pannable_area_class_init)
8305 (hildon_pannable_area_set_property)
8306 (hildon_pannable_area_get_property)
8307 (hildon_pannable_area_button_press_cb):
8308 New 'velocity_fast_factor' property to decide which velocity is
8311 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8313 * src/hildon-pannable-area.c
8314 (hildon_pannable_draw_hscroll)
8315 (hildon_pannable_draw_vscroll):
8316 Use float variables to calculate the size of the scrollbars to
8317 avoid error propagation and resizing during scrolling.
8319 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8321 * src/hildon-pannable-area.c
8322 (hildon_pannable_draw_vscroll)
8323 (hildon_pannable_draw_hscroll):
8324 Define a minimum size for the scroll bars
8326 * src/hildon-stackable-window.c
8327 (hildon_stackable_window_go_home): Fix compilation warning
8328 (get_last_window): Minor optimizations
8329 (hildon_stackable_window_class_init): Fix initialization of
8332 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8334 * src/hildon-stackable-window.c: Fixed typos in doc
8336 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8338 * src/hildon-pannable-area.c
8339 (hildon_pannable_area_scroll):
8340 Calculate here whether we need to scroll instead of using the booleans
8341 that tell us whether to /draw/ the scrolling bars.
8343 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8345 * src/hildon-app-menu.h
8347 * src/hildon-app-menu.c
8348 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8349 multiple filter groups related code and API. Now we support only
8351 * examples/hildon-app-menu-example.c:
8353 Update to reflect API changes.
8355 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8357 * src/hildon-stackable-window.c
8358 (hildon_stackable_window_class_init):
8359 Add hildon_stackable_window_realize.
8360 (hildon_stackable_window_realize):
8361 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8362 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8363 to apply theming and behavior specific to HildonStackableWindow
8366 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8368 * src/hildon-note.c (hildon_note_button_release):
8369 Close information notes also when tapping on them
8371 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8373 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8374 ELASTICITY, refactor and review, fix some issues with drawing
8377 * src/hildon-pannable-area.c:
8378 (hildon_pannable_area_button_press_cb): removed the conditions to
8379 avoid clicks when overshooting. It is not required
8381 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8382 define. Refatored and reviewed the code, now we do not need to
8383 manage velocity in motion_notify.
8385 (hildon_pannable_area_motion_notify_cb): We have moved the code
8386 that controls the area_scroll to the axis_scroll function and get
8387 rid of duplicated code.
8389 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8391 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8393 (hildon_pannable_draw_vscroll),
8394 (hildon_pannable_draw_hscroll): Fixed the problems with the
8395 scrollbar drawing, now we do not use two surfaces, it is easier
8396 and saves resources.
8398 (hildon_pannable_area_get_property): Style modification.
8400 (hildon_pannable_area_class_init): Changed some default values.
8402 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8404 * src/hildon-stackable-window.c: Fix some typos in the
8407 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8409 * src/hildon-dialog.c:
8410 Change indentation style
8413 (hildon_note_button_release):
8414 Use root coordinates to check if the release event happened
8417 * src/hildon-app-menu.c
8418 (hildon_app_menu_button_release):
8419 Remove unnecessary check
8421 * examples/hildon-app-menu-example.c
8423 Add cast to fix warning
8425 * src/hildon-app-menu.c
8426 (hildon_app_menu_class_init):
8427 New inner-border style property.
8428 Set all default spacings to 16
8429 (hildon_app_menu_init):
8430 Use vertical-spacing to set the space between filter buttons and
8431 regular menu buttons.
8432 Set the default container border using the inner-border value.
8434 * examples/hildon-app-menu-example.c
8436 Don't set the menu border explicitly, now we have the inner-border
8437 style property for that.
8439 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8441 * src/hildon-app-menu.c (hildon_app_menu_init):
8442 Make the window modal
8444 * src/hildon-note.c (hildon_note_map)
8445 * src/hildon-app-menu.c (hildon_app_menu_map):
8446 Destroy the grab window if we're unable to grab the pointer
8448 * src/hildon-app-menu-private.h
8449 * src/hildon-app-menu.c
8450 (hildon_app_menu_init, hildon_app_menu_finalize)
8451 (hildon_app_menu_map, hildon_app_menu_unmap)
8452 (hildon_app_menu_button_release)
8453 (grab_transfer_window_get):
8454 Bring back the grab window
8455 (hildon_app_menu_realize):
8456 Decorate the window, set WM hint for Matchbox
8458 * src/hildon-note.c (hildon_note_realize):
8459 * src/hildon-banner.c (hildon_banner_realize):
8460 Add WM hints for Matchbox
8462 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8464 * src/hildon-app-menu-private.h
8465 * src/hildon-app-menu.c
8466 (hildon_app_menu_init, hildon_app_menu_finalize)
8467 (hildon_app_menu_map, hildon_app_menu_unmap)
8468 (hildon_app_menu_button_release):
8469 Remove the grab window, it's not needed anymore
8471 * src/hildon-program.c
8472 Fixed typo in documentation
8474 * src/hildon-app-menu.h
8475 * src/hildon-app-menu.c
8476 * examples/hildon-app-menu-example.c
8477 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8479 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8482 Added new transfer_window and close_if_pressed_outside private
8484 (hildon_note_rebuild):
8485 Don't add a cancel button to the information note. It will be
8486 closed when tapping outside
8487 Remove the comment about the OK button in the documentation
8488 (hildon_note_realize):
8489 Set the notification type hint
8490 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8491 Grab/ungrab pointer and keyboard if the note has to be closed when
8493 (hildon_note_button_release):
8494 Close the note when tapping outside (if applicable)
8496 * src/hildon-app-menu.c
8497 Grab/ungrab pointer and keyboard on map/unmap
8498 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8499 Close the menu on button release, not button press
8501 * src/hildon-banner.c
8502 (hildon_banner_set_property)
8503 (hildon_banner_check_position):
8504 Make the banner use the full width of the screen
8505 (hildon_banner_show_information)
8506 (hildon_banner_show_information_with_markup):
8507 Don't display an icon by default
8509 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8511 Added fading scrollbars and adapted all the overshooting code to
8512 horizontal scrolling. We have also fixed bugs with overshooting
8513 and current fading implementation.
8515 * src/hildon-pannable-area.c
8516 (hildon_pannable_area_scroll_indicator_fade): Time out function
8517 used to change the transparency of the scrollbars.
8519 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8520 control and fixed a problem with fading, we now remove the fade
8521 timeout before adding a new one.
8523 (hildon_pannable_axis_scroll):
8524 (hildon_pannable_area_scroll):
8525 (hildon_pannable_area_timeout): Added this functions so we can use
8526 the scroll code both for vertical and horizontal.
8528 (hildon_pannable_area_motion_notify_cb):
8529 (hildon_pannable_area_button_release_cb): Added the horizontal
8530 scrolling control, fixed a problem with the overshooting timeout.
8532 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8533 painting of the scrolls.
8535 (hildon_pannable_draw_vscroll):
8536 (hildon_pannable_draw_hscroll):
8537 (hildon_pannable_area_expose_event):
8538 Draw both scrollbars and rectangles in the overshooting area.
8540 (hildon_pannable_area_get_property):
8541 (hildon_pannable_area_set_property):
8542 Modified the overshoot property to overshoot_max
8544 (hildon_pannable_area_map):
8545 Replaced the comments symbols.
8547 (hildon_pannable_area_size_allocate):
8548 (hildon_pannable_area_class_init):
8549 (hildon_pannable_area_init): Added horizontal scroll, fading
8550 effect properties, fixed a problem when overshooting in the bottom
8553 * examples/hildon-pannable-area-example.c:
8554 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8555 looks better in the example.
8557 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8559 * src/hildon-window.c
8560 * src/hildon-window.h
8561 (hildon_window_class_init)
8562 (hildon_window_unset_program)
8563 (hildon_window_unset_program_real):
8564 Make unset_program a virtual function
8566 * src/hildon-stackable-window.c
8567 * src/hildon-stackable-window.h
8568 Added hildon_stackable_window_go_home()
8570 * examples/Makefile.am
8571 * examples/hildon-stackable-window-example.c
8572 HildonStackableWindow example
8574 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8576 * hildon-pannable-area.c: Added the overshoot property and removed
8577 the OVERSHOOT define. Fixed an indent style error.
8578 (hildon_pannable_area_motion_notify_cb):
8579 (hildon_pannable_area_get_property):
8580 (hildon_pannable_area_set_property): Add overshoot property.
8582 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8585 (hildon_pannable_area_class_init): Installed the new property.
8587 * hildon-pannable-area-example.c: Added a sawtooth function, this
8588 way it is easier to check the movement in the pannable.
8589 (get_sawtooth_label): Added this function.
8590 (main): Now we get the labels from the new get_sawtooth_label
8593 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8595 * src/hildon-app-menu.h
8596 * src/hildon-app-menu.c
8597 Renamed API variables for consistency
8599 (hildon_app_menu_popup): Use also the default window size to
8600 decide where to place the menu
8602 (hildon_app_menu_init, hildon_app_menu_class_init): New
8603 external-border style property
8605 2008-05-26 Michael Natterer <mitch@imendio.com>
8607 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8608 widget_class->tap_and_hold_setup signal slot doesn't exist any
8609 longer, stop overriding it.
8611 (hildon_time_editor_init): g_signal_connect() to the
8612 tap-and-hold-setup signal instead.
8614 (hildon_time_editor_entry_keypress): add cast to fix warning.
8616 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8618 * doc/hildon-docs.sgml
8620 * examples/Makefile.am
8621 * examples/hildon-app-menu-example.c
8623 * src/hildon-app-menu-private.h
8624 * src/hildon-app-menu.c
8625 * src/hildon-app-menu.h
8627 New HildonAppMenu widget
8629 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8631 Rearranged the inheritance of the pannable area, now it inherits
8632 from GtkBin. This will allow us to control the event_window and
8633 the allocation process of the widget, required for some effects.
8635 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8636 GtkBin structures. * src/hildon-pannable-area.c: Added the
8637 event_window variable.
8638 (hildon_pannable_area_button_press_cb):
8639 (hildon_pannable_area_button_release_cb):
8640 (hildon_pannable_area_motion_notify_cb):
8641 Changed the signature of the method, now we override the event
8642 callback instead of connecting to the signal.
8644 (hildon_pannable_area_realize):
8645 (hildon_pannable_area_unrealize):
8646 (hildon_pannable_area_map):
8647 (hildon_pannable_area_unmap):
8648 (hildon_pannable_area_size_allocate):
8649 Added functions to control the widget construction. We add a
8650 INPUT_ONLY window and we put it over the widgets inside the
8651 container, this event_window handles the events.
8653 (hildon_pannable_area_class_init):
8654 Replaced the signal connections with overrides of the event
8657 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8659 Bouncing effect added when touching the borders, you can change
8660 the elasticity of the border changing the ELASTICITY define.
8662 * src/hildon-pannable-area.c: Added ELASTICITY define.
8663 (hildon_pannable_area_timeout): Added inverse velocity when
8664 touching the border of the child widget, that causes a bounce.
8666 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8668 Improved performance, we now do not go to the X server in order to
8669 get the list of window children. Apparently the effect is the
8670 same, we have to be careful and check if this breaks something in
8673 * src/hildon-pannable-area.c:
8674 (get_ordered_children): Removed this function.
8675 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8676 the children windows function with gdk_window_get_children.
8678 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8680 * src/hildon-pannable-area.c:
8681 (hildon_pannable_area_dispose): Fixed a crash when closing the
8682 window and kinetics is activated.
8684 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8686 * src/hildon-pannable-area.h
8687 * src/hildon-pannable-area.c
8688 Changed indentation style to meet the one used in Hildon
8690 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8692 Reviewed the interaction of the AUTO mode, now we use the time
8693 attribute of the events and calculate the velocity in the motion,
8694 doing a gimp like calculation. The velocity is calculated in each
8695 motion event using the last velocity and the current one, the
8696 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8698 * src/hildon-pannable-area.c: Replaced the time based algorithm
8700 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8701 timeout for the AUTO mode when we are still moving the cursor. We
8702 added also the velocity calculation in this function.
8703 (hildon_pannable_area_button_release_cb): launch the timeout in
8704 case we are in AUTO mode. There are still some constants here that
8705 come from the old implementation that should be reviewed and
8708 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8710 * doc/hildon-docs.sgml
8713 * src/hildon-stackable-window.c
8714 * src/hildon-stackable-window.h
8716 New HildonStackableWindow widget
8718 * examples/hildon-dialog-example.c
8719 * examples/hildon-pannable-area-example.c
8722 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8724 * src/hildon-dialog.c
8725 (hildon_dialog_new_with_buttons): New constructor.
8727 * examples/hildon-dialog-example.c
8728 (main): Update the example to use the new
8729 hildon_dialog_new_with_buttons().
8731 * examples/hildon-pannable-area-example.c
8732 (main): Update example.
8734 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8736 * doc/hildon-docs.sgml
8738 Added HildonPannableArea to the documentation.
8740 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8742 * doc/visual_index.xml
8743 Fix reference to HildonLoginDialog in documentation
8745 * doc/hildon-docs.sgml
8747 * examples/Makefile.am
8748 * examples/hildon-dialog-example.c
8750 * src/hildon-dialog.c
8751 * src/hildon-dialog.h
8753 New HildonDialog widget.
8755 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8757 * src/hildon-pannable-area.c
8758 Merge latest changes (r4318, r4342) from libmokoui trunk
8760 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8762 * examples/Makefile.am
8763 * examples/hildon-pannable-area-example.c
8765 * src/hildon-pannable-area.c
8766 * src/hildon-pannable-area.h
8768 New HildonPannableArea widget.
8770 2008-04-15 18:05:19 <timj@imendio.com>
8772 * src/hildon-banner.c: revert the recent change, that introduced
8773 gtk_window_present() calls. this reopens:
8774 Bug 78481 - [freetest] information banners are hidden under browser menu
8775 But resolves another variant of:
8776 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8778 2008-04-15 13:21:13 <timj@imendio.com>
8780 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8781 recreated its layout, spotted by Kris. this fixes all remaining
8782 artefacts and stability issues with the banner code. in particular:
8783 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8785 2008-04-14 16:52:59 <timj@imendio.com>
8787 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8788 operating on unrealized widgets, fixes:
8789 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8791 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8793 2008-04-09 Kristian Rietveld <kris@imendio.com>
8795 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8796 makes banner disappear.
8797 Fixes: NB#79182: info banner flickering with certain message lengts.
8799 * src/hildon-banner.c (hildon_banner_constructor),
8800 (hildon_banner_init), (hildon_banner_set_text),
8801 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8802 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8803 FALSE, reset size requests of label and banner,
8804 (force_to_wrap_truncated): when the text is too wide, always enforce
8805 the maximum possible width instead of recalculating it from the
8806 layout; enforce the maximum banner height of 3 lines,
8807 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8808 nicer wrapping and no truncated chars if space gets tight.
8810 * src/hildon-banner-private.h: add has_been_wrapped and
8811 has_been_truncated fields.
8813 2008-04-07 Sven Herzberg <sven@imendio.com>
8815 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8816 local values in hildon_date_editor_size_allocate
8818 * src/hildon-date-editor.c: moved the real allocation code into the
8821 2008-04-07 Sven Herzberg <sven@imendio.com>
8823 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8824 local values in hildon_date_editor_size_allocate
8826 * src/hildon-date-editor.c: merged the two if() branches together
8828 2008-04-07 Sven Herzberg <sven@imendio.com>
8830 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8831 local values in hildon_date_editor_size_allocate
8833 * src/hildon-date-editor.c: changed the arguments of the if()
8836 2008-04-07 Sven Herzberg <sven@imendio.com>
8838 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8839 local values in hildon_date_editor_size_allocate
8841 * src/hildon-date-editor.c: split the calculation of the allocation
8842 from the real allocation
8844 2008-03-27 Michael Natterer <mitch@imendio.com>
8846 Fixes: NB#81696: The passcode is not overwritten even after
8849 * src/hildon-code-dialog.c
8850 (hildon_code_dialog_button_clicked)
8851 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8852 because that doesn't overwrite selected text. Instead, emit the
8853 "commit" signal on the entry's im_context so the entry's normal
8854 insert logic is triggered. Set the cursor to the end of the entry
8855 after each insert operation so that we *only* insert in the middle
8856 of the text if something was selected.
8858 2008-03-27 Michael Natterer <mitch@imendio.com>
8860 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8861 selector cannot be opened
8863 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8864 when the popup color selector is created. Please connect to this
8865 signal in order to set the dialog's help ID.
8867 2008-03-25 Sven Herzberg <sven@imendio.com>
8869 Fixes: MB#1212: Hide info banners (infoprints) on click
8871 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8872 extracted the close event simulation into an extra function
8873 (hildon_banner_button_press_event): simulate a close event and destroy
8874 the widget if the event wasn't handled
8875 (hildon_banner_class_init): added the button_press_event handler
8876 (hildon_banner_init): added button-press events to the widget
8878 2008-03-25 Sven Herzberg <sven@imendio.com>
8880 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8881 Patch from: Mohammad Anwari <mdamt@maemo.org>
8883 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8884 instead of the right in RTL mode
8885 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8886 breadcrumb button list in RTL mode
8887 * src/hildon-caption.c: mirror the appearance of the caption widget in
8889 * src/hildon-date-editor.c: mirror appearance of the date editor in
8891 * src/hildon-time-editor.c: mirror appearance of the time editor in
8893 * src/hildon-window.c: fix the position of the popup in RTL mode
8895 2008-03-25 Sven Herzberg <sven@imendio.com>
8897 Amendment to the fix of NB#22072. Fix compilation.
8899 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8901 2008-03-19 Sven Herzberg <sven@imendio.com>
8903 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8906 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8907 timeout id properly when the timeout will disappear this leaves no
8908 artifacts around in the destroy(); there will only be the timeout
8909 created by hildon_banner_ensure_timeout() and adding a new timeout
8910 will also work if the timeout gets removed because the timeout_handler
8913 2008-03-19 Michael Natterer <mitch@imendio.com>
8915 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8917 * src/hildon-volumebar.c
8918 * src/hildon-vvolumebar.c
8919 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8920 the widget becomes focussable at all.
8922 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8923 set the focus to wither the mute button or the volumebar.
8925 Remove own "can-focus" property and instead listen to
8926 notify::can-focus in order to update the widget's state.
8928 Implement GtkWidget::focus() and make sure we can also *leave* the
8929 widget, not only enter it, depending on volumebar orientation and
8930 requested focus direction.
8932 Clean up set_mute() to cooperate nicely with all the above.
8934 2008-03-04 Michael Natterer <mitch@imendio.com>
8936 Fixes: NB#78481: information banners are hidden under browser menu
8938 * src/hildon-banner.c: call gtk_window_present() on the banners so
8939 they are risen if they are already visible.
8941 2008-03-03 Sven Herzberg <sven@imendio.com>
8943 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8945 * examples/hildon-window-menu-example.c: (main): extended the window
8946 menu example to serve as a testcase for automatically added
8947 accelerator groups, too
8948 * src/hildon-window.c: (hildon_window_add_accel_group),
8949 (hildon_window_set_menu): added patch by Tommi Komulainen
8951 2008-03-03 Sven Herzberg <sven@imendio.com>
8953 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8955 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8956 knowledge about the border allocators used within GTK+
8958 2008-02-26 Sven Herzberg <sven@imendio.com>
8960 Fixes: MB#2981: Build with asserts broken
8962 * src/hildon-date-editor.c,
8963 * src/hildon-number-editor.c,
8964 * src/hildon-time-editor.c,
8965 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8966 the proper GType instance check
8968 2008-02-25 Sven Herzberg <sven@imendio.com>
8970 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8972 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8973 * examples/hildon-window-menu-example.c: (main): explicitly show
8975 * src/hildon-window.c:
8976 (hildon_window_set_main_menu): moved most of the code from set_menu()
8977 to this place; skipped the call to gtk_widget_show_all(); also didn't
8978 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8979 (hildon_window_set_menu): removed most of the code, just keep the
8980 questionable gtk_widget_show_all()
8981 * src/hildon-window.h: added the new function and deprecate the old
8984 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8990 * debian/changelog: Updating.
8992 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8995 * pkgconfig/Makefile.am:
8996 * pkgconfig/hildon.pc.in:
8999 Do not use PACKAGE_VERSION_MAJOR as the API revision,
9000 use newly created API_MAJOR_VERSION.
9002 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9008 * debian/changelog: Updating.
9010 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9012 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
9014 Add outer_border style property, we use it but don't define it (!).
9018 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
9020 * examples/hildon-bread-crumb-trail-example.c (main):
9024 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
9026 Fix logic for the bread crumb trail node removal.
9030 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * debian/changelog: Updating.
9038 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 Patch by Alejandro to get/set passwords dialogs accesibility.
9042 * hildon-1/src/hildon-get-password-dialog.c:
9043 * hildon-1/src/hildon-set-password-dialog.c:
9044 Set atk_set_name to the passwd entries in order to allow
9045 accessibility by name on this entries.
9047 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * debian/control: Updating gtk dep.
9054 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9056 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9057 USE_MAEMO_GTK is enabled.
9059 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9061 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9062 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9064 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9070 * debian/changelog: Updating.
9072 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * examples/Makefile.am:
9075 * examples/hildon-logical-color-example.c:
9076 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9077 applied + adding a test case. Fixes: NB#71660.
9079 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9081 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9082 to be visible, fixes warning on map for windows without toolbars.
9084 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9086 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9087 2.11.0, add a check for that besides the MAEMO_GTK check.
9089 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * debian/changelog: Updating.
9097 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9100 visibility. Fixes: NB#70842 and MB#615.
9102 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9104 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9105 set the separator as no-show-all so it doesn't unintentionally appear when
9106 someone does a show_all.
9108 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9110 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9111 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9112 toplevel item. Fixes: NB#62031
9114 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9116 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9117 fix the name of the function in the docs.
9119 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * debian/changelog: Updating.
9127 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9129 * examples/hildon-banner-long-example.c: Adding a test-case for long
9132 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9134 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9136 * src/hildon-color-chooser-dialog.c:
9137 * src/hildon-color-chooser.c:
9138 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9139 memory leaks in font selector and color selector. Fixes: NB#70499 and
9142 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9144 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9146 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9149 little bit bigger. Fixes: #NB63694.
9151 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * debian/changelog: Updating.
9159 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9162 * doc/hildon-docs.sgml:
9163 * doc/images/bread-crumb-trail.png:
9164 * doc/images/calendar-popup.png:
9165 * doc/images/caption.png:
9166 * doc/images/code-dialog.png:
9167 * doc/images/color-button.png:
9168 * doc/images/color-chooser-dialog.png:
9169 * doc/images/color-chooser.png:
9170 * doc/images/controlbar.png:
9171 * doc/images/date-editor.png:
9172 * doc/images/font-selection-dialog.png:
9173 * doc/images/get-password-dialog.png:
9174 * doc/images/hvolumebar.png:
9175 * doc/images/login-dialog.png:
9176 * doc/images/note.png:
9177 * doc/images/number-editor.png:
9178 * doc/images/range-editor.png:
9179 * doc/images/seekbar.png:
9180 * doc/images/set-password-dialog.png:
9181 * doc/images/sort-dialog.png:
9182 * doc/images/time-editor.png:
9183 * doc/images/time-picker.png:
9184 * doc/images/vvolumebar.png:
9185 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9186 Adding the bread-crumb-trial and helpers to the documentation.
9188 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * examples/hildon-find-toolbar-example.c:
9191 * src/hildon-find-toolbar.c:
9192 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9193 actually continue firing the other handlers if connected. Adding a new
9195 hildon_find_toolbar_get_last_index that gets the index of the most
9196 recently added (last) item. Fixes: NB#52301.
9198 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9200 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9201 behaviour. Fixes: NB#68610.
9203 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9208 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9211 when realizing the banner. Should make the infonbanner effect a bit more
9214 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9216 * src/hildon-volumebar.c:
9217 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9218 hildon_volumebar_set_range_insensitive_message and
9219 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9221 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * src/hildon-window.c: Fixing the border freeing on destroy.
9225 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9227 * src/hildon-code-dialog-private.h:
9228 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9229 kw keyboard support in HildonCodeDialog.
9231 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9237 * debian/changelog: Updating.
9239 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9241 * src/hildon-date-editor.c:
9242 * src/hildon-number-editor.c:
9243 * src/hildon-private.c:
9244 * src/hildon-private.h:
9245 * src/hildon-time-editor.c:
9246 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9247 handling in subclassed composite widgets. Fixes: NB#66628.
9249 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9251 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9252 from destroy_ callback as it introduces problems in async dbus signal
9253 handlers. Fixes NB#66673.
9255 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * examples/hildon-hvolumebar-example.c:
9258 * src/hildon-volumebar.c: Improving the focus handling in the
9259 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9260 set_property accessor so that "mute" property can be actually set. I'm
9261 scared that nobody noticed it's totally broken.
9263 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9268 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 * src/hildon-calendar.c:
9271 * src/hildon-number-editor.c:
9272 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9273 matches the spec of 6 chars per second. Fixes: NB#60489.
9275 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9277 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9278 gtk_style_lookup_color sometime returns FALSE even though color was
9279 found and values were filled properly. Weird. Removing the warning for the
9282 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9284 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9285 expand vertically. Adding some extra space to the find toolbar buttons to
9286 make them thumbable. Fixes NB#66060.
9288 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9290 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9291 popup with "Ok" and "Cancel". Fixes NB#59299.
9293 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9295 * src/hildon-calendar.c: Process all window updates before executing next
9296 timeout. Fixes: NB#54146.
9298 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9304 * debian/changelog: Updating.
9306 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9308 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9309 the client event and ignore it, since we use the delete event to close
9312 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9314 * src/hildon-helper.c: Remove the bogus warning about color not being
9315 found. Fixes NB#58352.
9317 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9319 * examples/Makefile.am:
9320 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9321 HildonSeekbar widget inside a toolbar.
9323 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9325 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9326 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9327 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9328 don't want to be closed by non-temporary windows on map.
9330 Also use G_DEFINE_TYPE instead of manually typed code.
9332 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9339 * debian/rules: Updating.
9341 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9343 * examples/Makefile.am:
9344 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9345 bug NB#61128. Strangely it works.
9347 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9349 * src/hildon-date-editor.c: When the date editor entry has been changed
9350 but the numbers of characters < max, turn off the skip validation flag.
9351 Prevents a situation when we enter first a valid year and later re-write
9352 it with an invalid one. Fixes NB#60154.
9354 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9356 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9357 code dialog. Fixes NB#64355.
9359 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9361 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9362 switching the page. Fixes NB#49374.
9364 * examples/Makefile.am:
9365 * examples/hildon-wizard-dialog-example.c: Adding an example for
9366 HildonWizardDialog that shows how to handle manual sensitivity setting on
9369 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9373 * src/hildon-version.h.in:
9374 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9376 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9378 * src/hildon-volumebar.c: Updating the docs.
9380 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9386 * debian/changelog: Updating.
9388 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9390 * src/hildon-find-toolbar.c:
9391 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9392 selected item: hildon_find_toolbar_set_active,
9393 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9394 hildon_find_toolbar_get_active_iter . They correspond to respective
9395 GtkComboBox functions.
9397 * examples/Makefile.am:
9398 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9401 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9403 * examples/Makefile.am:
9404 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9407 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9408 when font size > 32 and we pack a focusable widget inside. Actually using
9409 the default response would work too, but since we don't show default
9410 response state in any way (no theming) it would not be visible to the
9411 user. Fixes NB#63430.
9413 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9415 * src/hildon-date-editor.c: Adding the missing variable setter in the
9416 set_property handler. Fixes NB#54182.
9418 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9420 * src/hildon-window.h: Changing the long key press time from 1500ms to
9421 800ms as requested in NB#63700. I have a bad feeling about this, let's
9422 see... Fixes NB#63700.
9424 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9426 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9427 hildon_time_picker_map, hildon_time_picker_realize,
9428 hildon_time_picker_style_set): Split the contents of map to more
9429 appropriate functions; set window decorations on realize and update
9430 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9432 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9437 * debian/changelog: Updating.
9439 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9441 * src/Makefile.am: fixed installation of the header files
9443 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9449 * debian/changelog: Updating.
9451 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9453 * configure.ac: Removing some remaining of --enable-xan.
9455 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9457 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9458 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9460 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9461 2.10.12-osso6 because the move-focus signal needs to be available in
9464 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9466 * examples/Makefile.am:
9467 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9468 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9469 fine. Prolly NB#61128 is fixed now.
9471 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9473 * src/hildon-volumebar.c:
9474 * src/hildon-volumebar.h: Adding the
9475 hildon_volumebar_set_range_insensitive_message and
9476 hildon_volumebar_set_range_insensitive_messagef functions to set
9477 insensitive message on the slider of the volumebar. Fixes NB#61129.
9479 * examples/Makefile.am:
9480 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9481 test the new insensitive messsage functionality on HildonVolumebar.
9483 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9485 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9488 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9490 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9491 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9492 button on after clearing the trail.
9494 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9496 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9498 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9500 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9501 by splitting the installed headers in generated and non-generated groups. Use
9502 only the non-generated headers to create the hildon-enum-types.h file.
9504 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9506 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9508 * src/hildon-window.c: Hide the window before performing the destroy.
9509 Should make the app closing a little tiny bit more snappy.
9511 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9513 * src/hildon-seekbar.c: add gtkrange.h header
9514 * src/hildon-caption.c: remove unused variable
9516 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9518 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9521 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9527 * debian/changelog: Updating.
9529 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9531 * src/hildon-window.c (hildon_window_window_state_event,
9532 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9533 escape timeout on focus-out-event rather than notify::is-topmost; the
9534 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9536 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9538 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9539 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9541 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9543 * src/hildon-window: actually, you need to use the macro always, there's
9544 no private pointer in the instance structure. We should have cleaned this up
9545 when we had the chance...
9547 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9549 * src/hildon-window.c: do not get the private date from HildonWindow before
9550 it passes the g_return_if_fail check. Once it's passed the test, there's no
9551 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9552 if you are only going to access the data once. Whitespace cleanups.
9554 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9556 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9557 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9559 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9565 * debian/changelog: Updating.
9567 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9569 * src/hildon-window.c: When destroying the window, remove (if exists) the
9570 escape timeout handler. Fixes #NB59276.
9572 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9574 * src/hildon-banner.c: When realizing the widget, set the window
9575 transiency. Setting the transiency in the gobject constructor is not
9576 good, as the widget is not realized at that point. Fixes: #NB56624.
9578 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9580 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9581 Add padding for future expansions.
9583 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9585 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9586 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9587 will fake an activation on the previous to the last item of the trail, so
9588 the effect can be overrided by the developer as usual.
9589 Also change the callback for the back button to do the same thing, so its
9590 effect can be overrided too. Fixes: NB#58982
9592 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9594 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9595 HildonCaption. Fixes NB#52379.
9597 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9599 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9600 the internal state of the trail after the user has had the chance of executing
9601 his handler for the signal. Specifically, it may happen that the activated button
9602 is removed and the user still lets the default handler run. This would segfault
9605 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9607 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9608 scrollbar to the preview dialog. Fixes NB#54147.
9610 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9612 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9613 max/min year properties can be altered, so the client can modify it
9614 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9616 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9618 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9619 hildonlike by default. Fixing a problem with disappearing arrows when
9620 scrolling through months and years. Fixes NB#54127.
9622 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9624 * examples/hildon-date-editor-example.c: Adding error callback to the date
9627 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9633 * configure.ac: Updating.
9635 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9637 * configure.ac: Adding a special '--enable-xan' configure option that
9638 turns off the -Werror compilation setting. Usefull for development.
9640 * src/hildon-calendar.c:
9641 * src/hildon-number-editor.c:
9642 * src/hildon-time-picker.c: Adding the 5* multiplier to
9645 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9647 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9648 instead of g_object_ref + gtk_object_sink.
9650 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9656 * debian/changelog: Updating.
9658 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9660 * src/hildon-color-chooser-dialog.c:
9661 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9662 straight from Tommi labs.
9664 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9666 * examples/hildon-finger-example.c: Correcting the header file path.
9668 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9669 the changed signal. Fixes a small memory leak.
9671 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9675 * src/hildon-banner.c: Importing several usefull fixes from the
9676 ubuntu-mobile branch.
9678 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9680 * examples/Makefile.am:
9681 * examples/hildon-finger-example.c: Adding a finger-checking code
9684 * src/hildon-font-selection-dialog.c: Do not allocate the color
9685 structure using the g_new. Fixes NB#54061.
9687 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9689 * src/hildon-helper.c: Correcting tabs in file.
9691 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9693 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9694 control the visibility of the children.
9696 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9698 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9704 * debian/changelog: Updating.
9706 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9708 * src/hildon-bread-crumb-trail.c:
9709 (hildon_bread_crumb_trail_size_allocate):
9711 Make the back button always a square.
9713 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9715 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9716 from the .c file as it's a private file.
9718 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9720 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9721 uses slightly bigger height.
9723 * src/hildon-font-selection-dialog.c: Adding some checks before
9724 freeing memory in the font selection dialog.
9726 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9728 * src/hildon-font-selection-dialog.c: Adding a small check when
9731 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9732 buttons sensitivity on page switching.
9734 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9736 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9737 internal details of adding a bread crumb to the trail.
9739 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9745 * debian/changelog: Updating.
9747 * src/hildon-bread-crumb-trail.h:
9748 * src/hildon-bread-crumb.h: Changing the API guard to
9749 HILDON_ENABLE_UNSTABLE_API.
9751 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9759 * src/hildon-helper.h: Updating.
9761 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9769 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9773 * src/hildon-helper.h: Small fix to make the package actually compile.
9775 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9777 * src/hildon-bread-crumb-trail.h:
9778 * src/hildon-bread-crumb.h:
9780 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9781 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9783 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9785 * examples/hildon-bread-crumb-trail-example.c:
9787 * src/hildon-bread-crumb-trail.c:
9788 * src/hildon-bread-crumb-trail.h:
9789 * src/hildon-bread-crumb.c:
9790 * src/hildon-bread-crumb.h:
9791 * src/hildon-marshalers.list:
9792 * src/hildon-bread-crumb-widget.c:
9793 * src/hildon-bread-crumb-widget.h:
9795 Slight change in the widget design. The bread crumb trail API is
9796 unchanged, but HildonBreadCrumb is now an interface. A *private*
9797 implementation, hildon-bread-crumb-widget, is provided and used
9798 internally by the trail for the push_text/push_icon functions.
9800 The generic push API is still available, so anyone can implement
9801 and use its own bread crumb widget.
9803 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9805 * debian/rules: Fixing the shlibs.
9807 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9809 * src/hildon-banner.c: Fixing a problem with timed banners having
9810 their parrent destroyed before they are.
9812 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9814 * src/hildon-bread-crumb.c:
9815 * src/hildon-bread-crumb.h:
9817 Make the get_natural_size function a vfunc.
9819 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9821 * src/hildon-bread-crumb.c:
9822 * src/hildon-bread-crumb-trail.c:
9826 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9833 * debian/changelog: Updating for release.
9835 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9837 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9838 don't leak the pango layout.
9840 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9843 * examples/hildon-bread-crumb-trail-example.c:
9847 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9849 * debian/changelog: Removing the bug-fixed entries that were actually
9850 resolved as WONTFIX.
9852 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9855 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9857 * src/hildon-bread-crumb-trail.c:
9858 * src/hildon-bread-crumb-trail.h:
9859 * src/hildon-bread-crumb.c:
9860 * src/hildon-bread-crumb.h:
9864 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9866 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9867 until it's passed the type check.
9869 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9871 * examples/hildon-bread-crumb-trail-example.c
9875 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9877 * examples/Makefile.am
9878 * examples/hildon-bread-crumb-trail-example.c
9880 * src/hildon-bread-crumb-trail.c
9881 * src/hildon-bread-crumb-trail.h
9882 * src/hildon-bread-crumb.c
9883 * src/hildon-bread-crumb.h
9885 New HildonBreadCrumbTrail widget.
9887 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9889 * src/hildon-range-editor.c (hildon_range_editor_init),
9890 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9891 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9892 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9893 hildon_time_editor_class_init, hildon_time_editor_init),
9894 src/hildon-get-password-dialog.c (invalid_input,
9895 hildon_get_password_set_property, hildon_get_password_get_property,
9896 create_contents, hildon_get_password_dialog_set_max_characters),
9897 src/hildon-set-password-dialog.c (create_contents),
9898 src/hildon-date-editor.c (hildon_date_editor_init),
9899 src/hildon-login-dialog.c (hildon_login_dialog_init),
9900 src/hildon-number-editor.c (hildon_number_editor_init),
9901 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9902 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9903 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9904 configure option and adding the respective checks in the code.
9905 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9906 hildon_calendar_drag_data_received): fixed some build warnings.
9908 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9910 * debian/changelog: A 1.0.0 release notes.