1 2009-07-02 David King <davidk@openismus.com>
3 * hildon/hildon-animation-actor-private.h
4 (HildonAnimationActorPrivate)
5 * hildon/hildon-animation-actor.c (hildon_animation_actor_show)
6 (hildon_animation_actor_hide)
7 * hildon/hildon-animation-actor.h
8 (hildon_animation_actor_set_show_full)
9 (hildon_animation_actor_set_show): Change "show" parameter type from
12 Fixes: MB#4696 (hildon_animation_actor_set_show() gint argument should
15 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
17 Do not return gboolean in GtkButton:clicked signal handlers
19 * examples/hildon-banner-example.c:
20 (on_information_clicked), (on_animation_clicked),
21 (on_progress_clicked): GtkButton:clicked handlers do not return
24 2009-09-17 Alberto Garcia <agarcia@igalia.com>
26 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
27 Use the Xlib API to take window screenshots, since the GDK API
28 doesn't allow us to set the event mask.
30 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
33 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
35 [2.2.0 Release Candidate 6]
37 * debian/changelog: bump and updates.
39 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
41 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
42 free a GList and avoid potential memory corruption.
44 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
46 [2.2.0 Release Candidate 5]
49 * debian/changelog: bump and updates
51 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
53 Do not set any flag for empty legacy menus
55 * hildon/hildon-program.c: (hildon_program_set_common_menu):
56 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
57 This will probably not work fine with empty legacy menus added to
58 programs or windows and populated later, but so it's life.
60 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
62 Update the application menu flag for application-wise windows
64 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
65 (hildon_program_set_common_app_menu): Also take into account the visibility
68 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
70 Emit HildonAppMenu::changed when menu items change visibility
72 * hildon/hildon-app-menu.c: (item_visibility_changed),
73 (filter_visibility_changed): Also emit ::changed on
74 visibility of items changed.
76 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
78 Do not set the menu flag in a window when a menu is empty
80 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
81 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
82 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
83 changes by using the HildonAppMenu::changed signal.
85 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
87 Add HildonAppMenu::changed signal
89 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
90 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
91 Emit a new HildonAppMenu:changed signal when there are changes in
94 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
96 Add hildon_app_menu_has_visible_children() private method
98 * hildon/hildon-app-menu-private.h: Add below private method.
99 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
100 New method to check the visibility of a HildonAppMenu children.
102 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
104 Set the window menu flag for application-common menus
106 * hildon/hildon-program.c:
107 (+hildon_program_window_set_common_menu_flag): Set or remove the
108 menu flag from a window only this doesn't have its own menu.
109 (+hildon_program_set_common_menu_flag): adjust menu flag for
110 all windows in the program.
111 (hildon_program_add_window),
112 (hildon_program_remove_window): add/remove the menu flag when
113 a window is added to the program.
115 Fixes: NB#137814 (Indicator for view menu in app title area)
117 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
119 Set a special window property for windows with menus
121 * hildon/hildon-window-private.h: Add private
122 hildon_window_set_menu_flag()
123 * hildon/hildon-window.c: (+do_set_has_menu),
124 (+hildon_window_set_menu_flag): set
125 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
126 or remove the property.
127 (hildon_window_set_main_menu),
128 (hildon_window_set_app_menu): call above methods to set or remove
129 the property when a menu is added or removed from the window.
131 Partially fixes: NB#137814 (Indicator for view menu in app title area)
133 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
135 Rename and move the methods to set flags to hildon-private.h
137 * hildon/hildon-gtk.c: (do_set_progress_indicator),
138 (do_set_do_not_disturb), (do_set_portrait_flags): call
139 the new private method hildon_gtk_window_set_clear_window_flag()
140 (hildon_gtk_window_set_progress_indicator),
141 (hildon_gtk_window_set_do_not_disturb),
142 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
143 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
144 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
146 * hildon/hildon-private.h: Add the two new private methds.
148 2009-09-11 Alejandro G. Castro <alex@igalia.com>
150 * hildon/hildon-pannable-area.c,
151 (hildon_pannable_area_init),
152 (hildon_pannable_area_size_allocate),
153 (hildon_pannable_area_button_release_cb): More tuning of the
154 speed, adding a way to calculate the acceleration and fast-panning
155 based on the child size.
157 2009-09-10 Alberto Garcia <agarcia@igalia.com>
159 * hildon/hildon-touch-selector.c
160 (hildon_touch_selector_class_init):
161 Documentation updates
165 2009-09-10 Alberto Garcia <agarcia@igalia.com>
167 * hildon/hildon-touch-selector.c:
168 Documentation updates
170 Fixes: MB#5104 (HildonTouchSelector docs should say no
171 HildonPannableArea is necessary)
173 2009-09-08 Alejandro G. Castro <alex@igalia.com>
175 * hildon/hildon-pannable-area.c,
176 (hildon_pannable_area_timeout): Fixed problem with the timeout
177 function, we need to move before decelerating the first time or we
178 are loosing the first jump.
180 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
182 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
184 [2.2.0 Release Candidate 3]
186 * debian/changelog: updates
188 2009-09-07 Alejandro G. Castro <alex@igalia.com>
190 * hildon/hildon-pannable-area.c,
191 (hildon_pannable_area_class_init): Increased max speed.
193 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
195 [2.2.0 Release Candidate 2]
198 * debian/changelog: bump version, updates
200 2009-09-07 Alejandro G. Castro <alex@igalia.com>
202 * hildon/hildon-pannable-area.c,
203 (hildon_pannable_area_class_init),
204 (hildon_pannable_area_button_release_cb): More tuning for the
207 2009-09-07 Alejandro G. Castro <alex@igalia.com>
209 * hildon/hildon-pannable-area.c,
210 (hildon_pannable_area_class_init):
211 Change the default value of the scrollbar_fade_delay.
213 Fixes: NB#127018 (Panning indicator fades out too slowly)
215 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
217 [2.2.0 Release Candidate 1]
220 * configure.ac: Bump version
221 * debian/changelog: updates
223 2009-09-04 Alejandro G. Castro <alex@igalia.com>
225 * hildon/hildon-pannable-area.c,
226 (hildon_pannable_area_init),
227 (hildon_pannable_area_button_press_cb),
228 (hildon_pannable_area_button_release_cb): Added a new acceleration
229 system to help traversing big lists, tuned the stop threshold.
231 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
233 2009-09-04 Alberto Garcia <agarcia@igalia.com>
235 * hildon/hildon-window.h:
236 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
238 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
240 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
244 * configure.ac: bump version
246 * debian/changelog: updates
248 2009-09-04 Alberto Garcia <agarcia@igalia.com>
250 * hildon/hildon-entry.c
251 * hildon/hildon-text-view.c:
252 Documentation updates
254 2009-09-04 Alberto Garcia <agarcia@igalia.com>
256 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
257 Redraw menu when the number of items change.
259 Fixes: NB#131911 (Appmenu does not resize properly, when number of
262 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
264 * hildon/hildon-pannable-area.c:
265 (hildon_pannable_area_launch_fade_timeout),
266 (hildon_pannable_area_motion_event_scroll),
267 (hildon_pannable_area_check_move),
268 (hildon_pannable_area_button_release_cb),
269 (hildon_pannable_area_scroll_to):
271 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
272 area drawing operations, since this is the recommended for drawing
275 Fixes: NB#110894 (In event view containing very large description
276 field, application menu is displayed blank while panning)
277 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
280 2009-09-03 Alberto Garcia <agarcia@igalia.com>
282 * doc/hildon-sections.txt
283 * hildon/hildon-button.c
284 * hildon/hildon-edit-toolbar.c
285 * hildon/hildon-gtk.[ch]
286 * hildon/hildon-main.c
287 * hildon/hildon-program.c
288 * hildon/hildon-stackable-window.c:
289 Documentation updates
291 2009-08-28 Alberto Garcia <agarcia@igalia.com>
293 * hildon/hildon-app-menu.c
294 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
295 Close the menu if it receives a grab-notify signal.
297 Fixes: NB#134533 (UI freezes if we show a dialog with
298 gtk_dialog_run() while a menu is opened)
300 2009-08-27 Alejandro G. Castro <alex@igalia.com>
302 * hildon/hildon-pannable-area.c,
303 (hildon_pannable_area_class_init): Reverted tuning modifications:
304 "Pannign needs to be faster" and "Pannable kinetics in large lists
307 2009-08-26 Alberto Garcia <agarcia@igalia.com>
309 * hildon/hildon-sound.c (hildon_play_system_sound):
310 Set "module-stream-restore.id" to "x-maemo-system-sound" when
311 playing system sounds
313 Fixes: NB#133767 (Information and confirmation note sound should
314 follow system profile setting)
316 2009-08-26 Alejandro G. Castro <alex@igalia.com>
318 * hildon/hildon-pannable-area.c,
319 (hildon_pannable_area_class_init): Added more force and increased
320 the max speed threshold.
322 Fixes: NB#135344 (Pannign needs to be faster)
324 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
326 [Release 2.1.96, this time for real]
329 * debian/changelog: updates
331 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
333 * hildon/hildon-pannable-area.c
334 (hildon_pannable_area_get_topmost): change the computation of the
335 co-ordinates transformed when no one of the children is a topmost
337 Fixes: NB#133252 (Opening any feed item from RSS always opens the
338 first feed item in browser)
340 2009-08-26 Alejandro G. Castro <alex@igalia.com>
342 * hildon/hildon-pannable-area.c,
343 (hildon_pannable_area_remove_timeouts): Adding this new function
344 with the code that removes the timeouts of the widget.
345 (hildon_pannable_area_dispose),
346 (hildon_pannable_area_unrealize): Use the new remove function to
347 stop timeouts when unrealizing and disposing.
348 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
349 calculation to avoid negative values in some cases.
351 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
353 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
355 * examples/hildon-check-button-example.c: (button_toggled_cb):
356 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
357 (hildon_check_button_set_active), (hildon_check_button_new),
358 (hildon_check_button_clicked), (hildon_check_button_class_init):
359 * hildon/hildon-check-button.h:
360 * hildon/hildon-set-password-dialog.c: (create_contents),
361 (hildon_set_password_response_change), (hildon_checkbox_toggled):
363 Revert "Make HildonCheckButton derive from GtkToggleButton"
365 2009-08-21 Alberto Garcia <agarcia@igalia.com>
369 * configure.ac: bump version
371 * debian/changelog: updates
373 2009-08-21 Alberto Garcia <agarcia@igalia.com>
375 * hildon/hildon-check-button.h
376 * hildon/hildon-check-button.c
377 (hildon_check_button_clicked, hildon_check_button_class_init):
378 Make HildonCheckButton derive from GtkToggleButton
379 (hildon_check_button_toggled, hildon_check_button_set_active)
380 (hildon_check_button_get_active):
381 Deprecate unnecessary HildonCheckButton API and use the
382 one from GtkToggleButton instead.
384 * hildon/hildon-set-password-dialog.c (create_contents)
385 (hildon_set_password_response_change, hildon_checkbox_toggled)
386 * examples/hildon-check-button-example.c (button_toggled_cb):
387 Update to use the GtkToggleButton API
389 Fixes: MB#4739 (HildonCheckButton should inherit from
392 Fixes: NB#132661 (HildonCheckButton should inherit from
395 2009-08-20 Alberto Garcia <agarcia@igalia.com>
397 * hildon/hildon-pannable-area.c
398 (hildon_pannable_area_class_init):
399 Increase default value of HildonPannableArea:velocity_max to 2000
401 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
403 2009-08-18 Alberto Garcia <agarcia@igalia.com>
407 * configure.ac: bump version
409 * debian/changelog: updates
411 2009-08-11 Alejandro G. Castro <alex@igalia.com>
413 * hildon/hildon-pannable-area.c
414 (hildon_pannable_area_size_allocate): Checked the scrollbars
415 before the first try when defining the layout, avoids two
416 allocations in some situations.
418 Fixes: NB#131794 (pannable area produces unnecessary allocations
419 causing performance problems)
421 2009-08-11 Alejandro G. Castro <alex@igalia.com>
423 * hildon/hildon-pannable-area.c
424 (hildon_pannable_area_button_press_cb),
425 (hildon_pannable_area_motion_notify_cb),
426 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
427 the spurious ref added in the copy, fixes leak of window.
429 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
430 if it's realized without showing and then deleted)
432 2009-08-10 Alberto Garcia <agarcia@igalia.com>
436 * configure.ac: bump version
438 * debian/changelog: updates
440 2009-08-06 Alberto Garcia <agarcia@igalia.com>
442 * examples/hildon-hvolumebar-timer-example.c
444 * hildon/hildon-banner.c
445 (hildon_banner_timeout, hildon_banner_ensure_timeout)
446 * hildon/hildon-calendar.c
447 (calendar_timer, start_spinning)
448 * hildon/hildon-color-chooser.c
449 (inline_limited_expose)
450 * hildon/hildon-date-editor.c
451 (hildon_date_editor_entry_focus_in)
452 (hildon_date_editor_entry_validate)
453 (hildon_date_editor_entry_select_all)
454 * hildon/hildon-note.c
456 * hildon/hildon-number-editor.c
457 (hildon_number_editor_button_pressed)
458 (hildon_number_editor_start_timer, do_mouse_timeout),
459 (add_select_all_idle, hildon_number_editor_select_all)
460 * hildon/hildon-time-editor.c
461 (hildon_time_editor_entry_focus_in)
462 (highlight_callback, hildon_time_editor_validate)
463 (hildon_time_editor_entry_select_all)
464 * hildon/hildon-time-picker.c
465 (hildon_time_picker_arrow_press)
466 (hildon_time_picker_key_repeat_timeout)
467 * hildon/hildon-window.c
468 (hildon_window_key_press_event)
469 (hildon_window_escape_timeout):
470 Replace all calls to g_idle_add/g_timeout_add with their
471 gdk_threads counterparts.
473 Fixes: NB#126198 (gdk-threads API should be used to install idle
474 and timeout handlers)
476 2009-08-06 Alejandro G. Castro <alex@igalia.com>
478 * hildon/hildon-pannable-area.c,
479 (hildon_pannable_area_class_init): Increased the overshooting max
480 speed to get a faster effect.
481 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
482 deceleration of the overshooting
483 (hildon_pannable_area_button_release_cb): Calculate initial
484 overshooting speed when finger on the screen using the distance to
485 launch the effect faster.
487 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
488 lists with slow row renderers)
490 2009-08-05 Alberto Garcia <agarcia@igalia.com>
492 * doc/hildon-sections.txt: Add new functions
494 2009-08-05 Alberto Garcia <agarcia@igalia.com>
496 * hildon/hildon-text-view.[ch]
497 * hildon/hildon-entry.[ch]:
498 Add deprecation guards around deprecated functions.
500 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
502 * hildon/hildon-app-menu.c: Remove leftover function declaration.
504 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
506 Remove the grab from HildonAppMenu
508 * hildon/hildon-app-menu.c:
509 Now hildon-desktop places a blocker window behind the menu to handle
510 its closing, so the grab is no longer needed. This simplifies its
511 implementation and allows the system blanking to succeed.
513 Fixes: NB#130910 (Screen gets unlocked when menu is open)
515 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
519 * configure.ac: bump version
521 * debian/changelog: updates
522 * debian/control: raise debian dependency on GTK+
524 2009-08-04 Alberto Garcia <agarcia@igalia.com>
526 * hildon/hildon-text-view.c
527 * hildon/hildon-entry.c:
528 Remove all placeholder code from HildonEntry and HildonTextView
529 and use the API in GtkEntry and GtkTextView instead.
531 * examples/hildon-entry-example.c
532 * examples/hildon-text-view-example.c
533 * examples/hildon-wizard-dialog-example.c
534 * hildon/hildon-get-password-dialog.c
535 * hildon/hildon-login-dialog.c
536 * hildon/hildon-picker-dialog.c
537 * hildon/hildon-set-password-dialog.c
538 * hildon/hildon-touch-selector-entry.c:
539 Replace all deprecated calls to HildonEntry and HildonTextView
540 with their Gtk counterparts.
542 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
545 2009-08-03 Alejandro G. Castro <alex@igalia.com>
547 * hildon/hildon-pannable-area.c,
548 (hildon_pannable_area_check_move),
549 (hildon_pannable_area_button_release_cb),
550 (hildon_pannable_area_scroll_to): Reverted the priority change of
551 the timeout, in some situations, slow renderers, the click do not
552 make it to the mainloop on time.
554 Fixes NB#131013 (unable to stop panning file manager by tapping on
557 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
559 * configure.ac: bump version
561 * debian/changelog: updates
563 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
565 * hildon/hildon-touch-selector.[ch]
566 (hildon_touch_selector_center_on_index): New method that allows to center
567 on a item not selected
569 Fixes NB#130291 (New HildonTouchSelector API is required to center on
572 2009-07-29 Alberto Garcia <agarcia@igalia.com>
574 * hildon/hildon-text-view.c
575 (+set_logical_color, +hildon_text_view_style_set)
576 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
577 (hildon_text_view_init)
578 * hildon/hildon-entry.c
579 (+set_logical_color, +hildon_entry_style_set)
580 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
581 (hildon_entry_class_init, hildon_entry_init)
582 * hildon/hildon-button.c
583 (+set_logical_font, +set_logical_color)
584 (hildon_button_style_set, hildon_button_init)
585 (hildon_button_set_arrangement, hildon_button_set_style):
586 Remove all calls to hildon_helper_set_logical_font() and
587 hildon_helper_set_logical_color(), which are recursive, from
590 Fixes: NB#123409 (Showing dialog consumes significant amount of
593 2009-07-29 Alejandro G. Castro <alex@igalia.com>
595 * hildon/hildon-pannable-area.c,
596 (hildon_pannable_area_timeout): Added the process updates of the
597 scrollbars window in the pannable.
599 Fixes: NB#130043 (scrollindicator not smooth while panning)
601 2009-07-23 Alejandro G. Castro <alex@igalia.com>
603 * hildon/hildon-pannable-area.c,
604 (hildon_pannable_area_check_move),
605 (hildon_pannable_area_button_release_cb),
606 (hildon_pannable_area_scroll_to): Increased the priority of the
607 timeout this way it is going to be handled before the events.
609 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
613 * configure.ac: bump version
614 * debian/changelog: updates
616 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
618 * hildon/hildon-entry.c: (set_property): Do not allow to set
619 automatic height and use finger height instead, to prevent an to
620 have a smaller size than than its theme pixbuf.
622 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
624 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
626 * configure.ac: postrelease version bump.
627 * debian/changelog: post release version bump
629 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
634 * configure.ac: Bump version.
635 * debian/changelog: Updates.
637 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
639 * hildon/hildon-note.c: (label_size_request): Take the note
640 padding into account when setting the size request.
642 Fixes: NB#127896 (Information notes text truncated)
644 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
646 * configure.ac: postrelease version bump.
647 * debian/changelog: post release version bump
649 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
654 * configure.ac: Bump version.
655 * debian/changelog: Updates.
657 2009-07-16 Alejandro G. Castro <alex@igalia.com>
660 * hildon/hildon-text-view.c,
661 (hildon_text_view_button_press_event): Grabbed the focus in button
662 press, this way we are sure the widget has the focus in the
663 release event, required for HIM.
665 Fixes: NB#121445 (Virtual keyboard opening is not working in same
666 way for each text entry field)
668 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
670 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
671 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
672 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
673 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
674 (hildon_pannable_area_[gs]et_center_on_child_focus)
675 Redefined GtkContainer set-focus-child signal, in order to center
676 properly on a child when it receives the focus. Defined a new property
677 "center-on-child-focus" in order to activate this feature (deactivated
678 by default). Public get/set methods defined to manage the property.
680 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
682 2009-07-14 László Pere <lpere@blumsoft.eu>
684 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
685 the new size is applied.
687 Fixes: NB#124510 (The Application Menu is distorted when switched
688 between portrait and landscape mode)
689 Fixes: NB#115388 (Power key menu does not resize itself)
691 2009-07-01 Alberto Garcia <agarcia@igalia.com>
693 * hildon/hildon-banner.c (hildon_banner_map):
694 Set banner position after mapping.
696 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
698 * configure.ac: postrelease version bump.
699 * debian/changelog: post release version bump
701 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
706 * configure.ac: Bump version.
707 * debian/changelog: Updates.
709 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
711 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
714 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
716 * tests/check-hildon-banner.c
718 * tests/test_suites.h
719 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
720 were testing deprecated functions.
721 * examples/hildon-banner-example.c: typo on button3 type, that causes
722 a fail compiling with --with-examples but without --disable-deprecated
724 Missed commit in order to fix compilation using '--enable-fatal' and
725 '--disable-deprecated' (see previous commit)
727 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
729 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
730 functions with #ifndef HILDON_DISABLE_DEPRECATED
731 * examples/hildon-find-toolbar.c: Protect deprecated
732 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
733 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
734 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
735 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
737 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
738 to allow proper compilation of deprecated functions defined on the header
740 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
742 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
744 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
745 Cache the panning indicator color.,
746 (hildon_pannable_area_style_set): Query the color on style changes.
747 (hildon_pannable_draw_vscroll),
748 (hildon_pannable_draw_hscroll),
749 (hildon_pannable_area_expose_event): Use the cached panning indicator
750 color instead of looking it up on every expose and more.
752 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
754 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
755 (hildon_pannable_draw_hscroll),
756 (hildon_pannable_area_expose_event): Fix the panning indicator color,
757 so that it's "SecondaryTextColor", as desired.
759 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
761 * hildon/hildon-picker-dialog.c:
762 (selection_completed): take into account HILDON_UI_MODE_NORMAL
763 * hildon/hildon-touch-selector.c
764 (hildon_touch_selector_init): Initialize hildon-ui-mode
765 (hildon_touch_selector_row_activated): new callback for the
766 "row-activated" signal, in order to save the last activated
767 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
768 if the current hildon-ui-mode is coherent with the touch selector
769 (hildon_touch_selector_class_init)
770 (hildon_touch_selector_get_property)
771 (hildon_touch_selector_set_property)
772 Added "hildon-ui-mode" property
773 (disconnect_model_handlers): renamed to clean_column
774 (hildon_touch_selector_remove): use clean_column function
775 (_create_new_column): use the hildon-ui-mode to create the treeview, and
776 only select the first element on HILDON_UI_MODE_EDIT
777 (hildon_touch_selector_column_init): Initialize last_activate
778 (hildon_touch_selector_append_column): check that the touch selector
779 is coherent with the current hildon-ui-mode
780 (hildon_touch_selector_get_hildon_ui_mode)
781 (hildon_touch_selector_set_hildon_ui_mode)
782 Added a getter/setter for the hildon-ui-mode property
783 (hildon_touch_selector_get_last_activated_row): Added this method in
784 order to get the last activated row.
785 * examples/hildon-touch-selector-normal-mode-example.c
786 New example, that shows how to use the HildonTouchSelector in
787 HILDON_UI_MODE_NORMAL
789 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
790 Kristian Rietveld <kris@lanedo.com> advices
792 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
794 * hildon/hildon-time-selector.c: (update_format_policy): Do
795 not call update_format_dependant_columns() if not necessary.
796 (update_format_dependant_columns): Remove unnecessary check for
797 the number of columns.
799 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
801 * hildon/hildon-note.c (+hildon_note_constructor),
802 (hildon_note_class_init), (+hildon_note_set_padding),
803 (hildon_note_rebuild): Install a constructor where to set the
804 padding properties in the note, so that it actually works fine.
805 Use hildon_note_set_padding() for this, and also to set it during
808 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
810 * configure.ac: Bump GTK+ requirement to 2.14.3.
811 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
812 when using maemo-gtk to define proper margins for the notes.
814 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
815 with the dialog edge)
817 2009-06-24 Alberto Garcia <agarcia@igalia.com>
819 * hildon/hildon-banner.c
820 (hildon_banner_class_init):
822 (+hildon_banner_size_request):
823 Request always the full width of the screen.
824 (hildon_banner_realize)
825 (-hildon_banner_check_position, hildon_banner_map):
826 hildon_banner_check_position() is not needed in Hildon 2.2.
827 (-hildon_banner_reset_wrap_state)
828 (hildon_banner_constructor, hildon_banner_init):
829 Remove unnecessary calls to hildon_banner_reset_wrap_state()
830 (+banner_do_set_text)
831 (force_to_wrap_truncated):
832 Remove has_been_wrapped and has_been_truncated attributes.
833 (+reshow_banner, hildon_banner_real_show_information)
834 (hildon_banner_show_information_with_markup)
835 (hildon_banner_show_animation, hildon_banner_show_progress)
836 (hildon_banner_set_text, hildon_banner_set_markup):
837 Refactor code. Shrink banner vertically to use the minimum space
838 necessary everytime the text of the label is updated.
839 (screen_size_changed):
840 Call force_to_wrap_truncated() when the size of the screen
843 Fixes: NB#120500 (only device memory connect mmc in use info
844 banner is left aligned)
846 Fixes: NB#120613 (Size of HildonBanner varies depending on
847 previously opened banners)
849 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
851 * hildon/hildon-color-chooser.c
852 (hildon_color_chooser_pointer_motion): Take the widget allocation
855 Fixes: NB#124385 (Unable to select exact point in color mixing box
856 in color palette dialog)
858 2009-06-23 Alejandro G. Castro <alex@igalia.com>
860 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
861 (hildon_pannable_area_dispose)
862 (hildon_pannable_area_button_press_cb)
863 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
864 (hildon_pannable_area_button_release_cb)
865 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
866 New 'panning-started' and 'panning-finished' signals.
868 Fixes: NB#121732 (New feature request: Signal to pannable area
869 that informs when panning is stopped.)
871 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
873 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
874 instead of hardcoded colon.
876 Fixes: NB#124090 (New calendar wizard title is not using
877 ecdg_ti_caption_separator)
879 2009-06-22 David King <davidk@openismus.com>
881 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
882 constants and functions, as well as correct many typos throughout the
885 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
888 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
890 * configure.ac: postrelease version bump.
891 * debian/changelog: post release version bump
893 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
898 * configure.ac: Bump version.
899 * debian/changelog: Updates.
901 2009-06-18 Alberto Garcia <agarcia@igalia.com>
903 * hildon/hildon-window-stack.c
904 (hildon_window_stack_pop_and_push_list):
905 Prevent windows from having the same stack index
907 2009-06-18 Alberto Garcia <agarcia@igalia.com>
909 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
910 Use the index of the previous window rather than the stack length
911 to calculate the new index.
915 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
917 * hildon/hildon-date-selector.c
918 (hildon_date_selector_select_current_date)
919 (hildon_date_selector_get_date)
920 (hildon_date_selector_select_day):
921 Update the documentation: uses always the range (1-31), as it is obvious
922 that the final one will depend on the month and the year, but globally
923 the range is this, in a similar GtkCalendar approach
924 (hildon_date_selector_get_date):
925 Update the documentation: add NULL as a valid value for the day, month
928 Fix some details, after talk with David King on bug MB#4698
930 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
932 * hildon/hildon-touch-selector-entry.c
933 * hildon/hildon-touch-selector.c
934 Update the documentation of the "text-column" property
936 2009-06-18 David King <davidk@openismus.com>
938 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
939 several typos and errors throughout the documentation.
941 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
944 2009-06-18 Alberto Garcia <agarcia@igalia.com>
946 * hildon/hildon-note.c (hildon_note_realize):
947 Make HildonNote support portrait mode.
949 Fixes: NB#123448 (HildonNote is not portrait-friendly)
951 2009-06-17 Alberto Garcia <agarcia@igalia.com>
953 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
954 Document this function
956 2009-06-17 David King <davidk@openismus.com>
958 * hildon/hildon-date-selector.c
959 (hildon_date_selector_select_current_date)
960 (hildon_date_selector_get_date): Update documentation regarding days,
961 as the day of the month is dependent on both the month and the year.
962 (hildon_date_selector_get_date): Fix documentation of output arguments.
964 Fixes: MB#4698 (DateSelector documentation has bad output argument
965 description, and the day depends on both the month and the year)
967 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
969 * hildon/hildon-caption.c: Other documentation fixes to
972 2009-06-17 David King <davidk@openismus.com>
974 * hildon/hildon-caption.c: Minor documentation updates for
975 HildonCaption. Fixes MB#4697.
977 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
979 * doc/hildon-docs.sgml: Add hildon-version section.
980 * doc/hildon-sections.txt:
981 * hildon/hildon-version.h.in: Document versioning macros and
984 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
986 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
987 from HildonPickerDialog section.
989 2009-06-16 Alberto Garcia <agarcia@igalia.com>
991 * hildon/hildon-banner.c (hildon_banner_bind_style)
992 (screen_size_changed, hildon_banner_init)
993 (hildon_banner_real_show_information)
994 (hildon_banner_show_information_with_markup)
995 (hildon_banner_show_animation, hildon_banner_show_progress):
996 Set a different widget name to banners in portrait mode, for them
997 to be themed correctly.
999 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1001 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
1002 Set a different widget name to notes in portrait mode, for them to
1003 be themed correctly.
1005 Partially fixes: NB#118401 (HildonNote causes unnecessary
1006 rescaling of images)
1008 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1010 * hildon/hildon-note.c (hildon_note_class_init)
1011 (+hildon_note_size_request, screen_size_changed):
1012 Always request the full width of the screen.
1014 Fixes: NB#118375 (unnecessary rescaling of images)
1016 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1018 * hildon/hildon-pannable-area.c,
1019 (hildon_pannable_area_init),
1020 (hildon_pannable_area_realize): Replaced old code adding flags in
1021 the object init, now we add it with the other flags in the realize
1024 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1026 * hildon/hildon-note.c: (hildon_note_class_init): Several
1027 documentation improvements to the HildonNote widget.
1029 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1031 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1033 Fixes: MB#4556 (HildonNoteType is undocumented)
1035 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1037 * hildon/hildon-picker-button.c:
1038 Explain how HildonPickerButton sets the title of its dialog
1040 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1041 the title of its dialog)
1043 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1045 * hildon/hildon-check-button.c:
1046 Documentation updates
1048 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1051 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1053 * hildon/Makefile.am
1054 * hildon/hildon-edit-toolbar-private.h
1055 * hildon/hildon-edit-toolbar.c
1056 (+hildon_edit_toolbar_set_progress_indicator)
1057 (hildon_edit_toolbar_init): Add progress indicator to the
1060 * hildon/hildon-gtk.c
1061 (hildon_gtk_window_set_progress_indicator):
1062 If the window contains a HildonEditToolbar, enable the progress
1063 indicator there too.
1065 * hildon/hildon-private.h
1066 * hildon/hildon-private.c
1067 (+hildon_private_create_animation)
1068 * hildon/hildon-banner.c
1069 (-hildon_banner_create_animation):
1070 Moved to hildon-private.c
1072 Fixes: NB#102373 (Progress indicator also for the Edit mode
1075 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1077 * hildon/hildon-app-menu-private.h
1078 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1079 (hildon_app_menu_add_filter, +menu_item_button_event)
1080 (hildon_app_menu_button_release, hildon_app_menu_init):
1081 Make sure that buttons receive 'button-release-event' in spite of
1082 the grab held by HildonAppMenu
1084 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1086 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1088 * hildon/hildon-app-menu.c
1089 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1090 New style property to set the size of the group of filter buttons.
1092 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1094 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1099 * configure.ac: Bump version.
1100 * debian/changelog: Updates.
1102 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1104 * hildon/hildon-main.c: Minor documentation fixes.
1106 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1108 * doc/hildon-sections.txt:
1109 * hildon/hildon-defines.h: Document the defines, organize them,
1110 and mark deprecations as such.
1112 Fixes: MB#4463 (Hildon size #defines are undocumented)
1114 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1116 * hildon/hildon-animation-actor.c:
1117 * hildon/hildon-app-menu.c:
1118 * hildon/hildon-button.c:
1119 * hildon/hildon-date-editor.c:
1120 * hildon/hildon-dialog.c:
1121 * hildon/hildon-edit-toolbar.c:
1122 * hildon/hildon-entry.c:
1123 * hildon/hildon-program.c:
1124 * hildon/hildon-remote-texture.c:
1125 * hildon/hildon-stackable-window.c:
1126 * hildon/hildon-text-view.c:
1127 * hildon/hildon-touch-selector.c:
1128 * hildon/hildon-window-stack.c:
1129 * hildon/hildon-window.c:
1131 Remove redundant "represents" wording from most of the documentation.
1133 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1135 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1139 * hildon/Makefile.am
1140 * hildon/hildon-banner-private.h
1141 * hildon/hildon-banner.c:
1142 Move HildonBannerPrivate to hildon-banner.c and remove
1143 hildon-banner-private.h
1144 Use a bit field to store private booleans.
1146 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1148 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1149 Don't install a new idle function if there's already one
1154 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1156 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1157 (+legacy_menu_realized, +legacy_menu_unmapped)
1158 (+set_legacy_menu_type):
1159 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1160 they can be identified by the window manager.
1162 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1163 displayed in wrong location)
1165 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1168 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1170 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1172 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1173 use gtk-doc support)
1175 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1177 * hildon/hildon-code-dialog.c
1178 * hildon/hildon-date-editor.c
1179 * hildon/hildon-number-editor.c
1180 * hildon/hildon-seekbar.c
1181 * hildon/hildon-stackable-window.c
1182 * hildon/hildon-window.c:
1183 Misc documentation updates
1185 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1187 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1188 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1190 Fixes: NB#117931 (Theming issues in accounts dialogs)
1192 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1194 * hildon/hildon-pannable-area.c,
1195 (hildon_pannable_area_button_release_cb): Changed the coordinates
1196 of the original release in case we want to discard the release,
1197 some widgets in Fremantle do not handle the leave-notify.
1199 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1201 * hildon/hildon-pannable-area.c,
1202 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1203 the release using the last refactored functions and avoiding the
1204 movement if an element was selected.
1206 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1208 * hildon/hildon-pannable-area.c,
1209 (hildon_pannable_area_check_move),
1210 (hildon_pannable_area_handle_move),
1211 (hildon_pannable_area_motion_notify_cb): Refactored the
1212 motion_notify method using a couple of new functions.
1214 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1216 * hildon/hildon-date-selector.c:
1217 (hildon_date_selector_construct_ui):
1218 * hildon/hildon-time-selector.c:
1219 (hildon_time_selector_constructor):
1220 * hildon/hildon-touch-selector-entry.c:
1221 (hildon_touch_selector_entry_set_text_column),
1222 (hildon_touch_selector_entry_get_text_column):
1223 * hildon/hildon-touch-selector.c: (_default_print_func),
1224 (hildon_touch_selector_new_text): Use
1225 hildon_touch_selector_set/get_text_column() instead of
1226 setting/getting the "text-column" property.
1228 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1230 * doc/hildon-sections.txt: Add the new public methods below.
1232 * examples/hildon-picker-button-multicolumn-example.c:
1233 (create_touch_selector):
1234 * examples/hildon-touch-selector-example.c: (create_selector):
1235 * examples/hildon-touch-selector-multi-cells-example.c:
1237 Use hildon_touch_selector_column_set_text_column()
1239 * hildon/hildon-touch-selector-column.h:
1240 * hildon/hildon-touch-selector.c:
1241 (hildon_touch_selector_column_set_text_column),
1242 (hildon_touch_selector_column_get_text_column):
1243 Make hildon_touch_selector_column_set/get_column() public, use
1244 them in the inline example, document them, and reference to them
1247 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1249 * hildon/hildon-time-selector.c: Fix the docs for
1250 hildon_time_selector_new_step().
1252 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1254 * hildon/hildon-touch-selector.c: Improve the documentation for
1255 hildon_touch_selector_append_column().
1257 Fixes MB#4641 (Documentation:
1258 hildon_touch_selector_append_column() ref-counting)
1260 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1262 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1263 Comment out test 5, since the hildon_controlbar_set_range() range
1264 check is broken and fixing it would have side effects. Also,
1265 this finally fixes make distcheck.
1267 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1269 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1271 * tests/TEST-CASES.txt: Remove other bogus test.
1272 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1273 Remove bogus test that was setting/retrieving a valid value.
1275 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1277 * tests/TEST-CASES.txt: Remove bogus tests.
1278 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1279 Remove three bogus tests that were actually setting valid colors.
1281 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1283 * configure.ac: post release version bump
1284 * debian/changelog: post release version bump
1286 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1291 * configure.ac: Bump version.
1292 * debian/changelog: Updates.
1294 2009-06-08 Christian Dywan <christian@lanedo.com>
1298 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1299 Correct errors in hildon_format_file-size_for_display and use
1300 translations from the hildon-fm package instead of osso-filemanager.
1302 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1304 * hildon/hildon-pannable-area.c,
1305 (hildon_pannable_area_init): Initialized new values to handle the
1306 adjustment position.
1307 (hildon_pannable_area_adjust_value_changed): Check if the values
1308 changed before even call the redraw function.
1309 (hildon_pannable_area_size_allocate),
1310 (hildon_pannable_axis_scroll),
1311 (hildon_pannable_area_scroll),
1312 (hildon_pannable_area_jump_to): Improved the diagonal movement
1315 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1318 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1320 * examples/hildon-banner-example.c:
1321 Several style updates
1322 (on_animation_clicked, on_animation_idle)
1323 (on_progress_clicked, on_progress_idle):
1324 Add additional reference for the cases when the parent window is
1327 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1329 * doc/hildon-sections.txt
1330 * hildon/hildon-pannable-area.c
1331 * hildon/hildon-banner.h
1332 * hildon/hildon-banner.c: Documentation updates.
1334 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1337 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1339 * hildon/hildon-calendar-popup.h:
1340 * hildon/hildon-caption.h:
1341 * hildon/hildon-code-dialog.h:
1342 * hildon/hildon-controlbar.h:
1343 * hildon/hildon-date-editor.h:
1344 * hildon/hildon-dialog.h:
1345 * hildon/hildon-get-password-dialog.h:
1346 * hildon/hildon-hvolumebar.h:
1347 * hildon/hildon-login-dialog.h:
1348 * hildon/hildon-note.h:
1349 * hildon/hildon-number-editor.h:
1350 * hildon/hildon-range-editor.h:
1351 * hildon/hildon-seekbar.h:
1352 * hildon/hildon-set-password-dialog.h:
1353 * hildon/hildon-sort-dialog.h:
1354 * hildon/hildon-time-editor.h:
1355 * hildon/hildon-time-picker.h:
1356 * hildon/hildon-volumebar-range.h:
1357 * hildon/hildon-volumebar.h:
1358 * hildon/hildon-vvolumebar.h:
1359 * hildon/hildon-weekday-picker.h:
1360 * hildon/hildon-window.h:
1361 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1362 macros with the current replacements
1364 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1366 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1368 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1369 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1370 itself, to make it fit better with Fremantle style.
1372 Fixes: NB#109878 (height and width of focus on color icon is not
1373 consistent with other item in the application tool bar)
1375 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1377 * hildon/hildon-touch-selector.c:
1378 (hildon_touch_selector_optimal_size_request): use the current requisition
1379 as the base, in order to include any possible extra widget, like the
1380 hildon entry on HildonTouchSelectorEntry
1382 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1384 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1386 * configure.ac: post release version bump
1387 * debian/changelog: post release version bump
1389 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1394 * configure.ac: Bump version.
1395 * debian/changelog: Updates.
1397 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1399 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1401 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1402 to ensure the banner contents are centered, instead of relying on
1403 the expand and fill properties in GtkHBox.
1404 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1406 Fixes: NB#108265 (Animation banner not properly centered)
1408 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1410 * hildon/hildon-pannable-area.c
1411 (hildon_pannable_area_initial_effect): Remove the initial_effect
1412 management, check initial_hint
1413 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1414 set initial_effect to FALSE
1415 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1416 by launching the fade_timeout if the scrollbars state has changed and are
1418 * examples/hildon-pannable-area-initial-hint-example.c
1419 Modified to allow to remove rows too. Add and remove rows one by one.
1421 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1423 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1424 Don't close the menu if there's an animation actor below it.
1426 Fixes: NB#117927 (Application menu not usable with animation
1429 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1431 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1432 "focus-on-click" from the dialog button, to avoid stealing the
1433 focus from the entry.
1435 Fixes: NB#118903 (Account setup wizard: Text in Search field
1436 should be focused when "Region" touch list picker is reopened
1439 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1441 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1442 (prepare_action_area): Completely hide the dialog separator.
1444 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1446 * hildon/hildon-touch-selector-entry.c
1447 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1448 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1449 now that the entry is exposed.
1451 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1453 * hildon/hildon-touch-selector-entry.c
1454 (hildon_touch_selector_entry_init): Change the entry's size
1455 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1457 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1459 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1460 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1461 avoid unnecessary scaling.
1463 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1465 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1466 Create grab transfer window before calling parent's map function.
1468 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1469 "crushed" button(s) in the top left corner)
1471 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1473 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1474 Check if the window is already realized when pushing it.
1476 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1478 * configure.ac: post release version bump
1479 * debian/changelog: post release version bump
1481 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1486 * configure.ac: Bump version.
1487 * debian/changelog: Updates.
1489 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1491 * hildon/hildon-app-menu.c: Doc updates.
1493 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1495 * hildon/hildon-banner.c: Remove leftover macro.
1497 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1499 * hildon/hildon-pannable-area.c,
1500 (hildon_pannable_area_scroll_indicator_fade),
1501 (hildon_pannable_area_button_release_cb): Reviewed vmin
1502 conditions, it could cause problems in the fadeout procedure.
1504 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1506 * hildon/hildon-pannable-area.c
1507 (hildon_pannable_area_button_release_cb): Added a threshold to
1508 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1510 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1512 * hildon/hildon-pannable-area.c,
1513 (hildon_pannable_area_set_property): Added code to sync the gtk
1514 dnd threshold with the panning threshold.
1516 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1518 * hildon/hildon-pannable-area.c,
1519 (hildon_pannable_area_class_init): Changed some of the default
1520 values, now it should be less responsive and more accurate.
1522 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1524 * hildon/hildon-pannable-area.c,
1525 (hildon_pannable_area_init),
1526 (hildon_pannable_area_scroll_indicator_fade),
1527 (hildon_pannable_area_button_press_cb),
1528 (hildon_pannable_axis_scroll),
1529 (hildon_pannable_area_timeout),
1530 (hildon_pannable_area_motion_notify_cb),
1531 (hildon_pannable_area_button_release_cb): Changed the name of the
1532 clicked attribute to button_pressed, it is more clear about its use.
1534 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1536 * src/hildon-pannable-area.c
1537 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1539 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1540 vertical scrollbar visibility, and use the data on private section instead,
1541 remove the initial_hint check
1542 (hildon_pannable_area_expose_event): add the initial_hint check here
1544 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1546 * src/hildon-pannable-area.c
1547 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1548 if the fadeout effect was used
1549 (hildon_pannable_area_expose_event): check if it is required to
1550 manage the initial effect on the begining of the function. Previously
1551 it was made at the end, but this doesn't ensure that the scrollbars
1552 will be painted on the first show. Do not set to FALSE initial_effect,
1553 to ensure that the initial hint is showed the first time the pannable
1555 * examples/Makefile.am
1556 * examples/hildon-pannable-area-initial-hint-example.c:
1557 New example, to show that the initial-hint is showed when the widget
1560 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1561 initially if the application can be scrolled)
1563 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1565 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1566 Resize table before adding new items to make sure that
1567 gtk_table_resize() is called just once.
1569 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1571 * hildon/hildon-app-menu-private.h
1572 * hildon/hildon-app-menu.c (item_visibility_changed)
1573 (filter_visibility_changed, hildon_app_menu_show_all)
1574 (hildon_app_menu_hide_all, hildon_app_menu_init):
1575 Rearrange items just once when gtk_widget_show_all()/hide_all()
1578 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1580 * hildon/hildon-app-menu.c
1581 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1582 Don't call gtk_widget_show() on added items.
1584 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1585 automatically when they're added)
1587 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1589 * hildon/hildon-banner.c
1590 (hildon_banner_realize, +hildon_banner_unrealize)
1591 (+screen_size_changed, hildon_banner_class_init):
1592 Redisplay the banner if the screen is rotated.
1594 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1595 on transition from landscape to portrait)
1597 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1599 * hildon/hildon-banner.[ch]:
1600 (hildon_banner_show_information_override_dnd): remove icon_name from the
1601 method definition as it is ignored.
1602 * examples/hildon-banner-dnd-example.c: updated with the change on
1605 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1607 * hildon/hildon-banner-private.h: new require_override_dnd and
1608 overrides_dnd variables
1609 * hildon/hildon-banner.h:
1610 (hildon_banner_show_information_override_dnd): new method, that shows
1611 the information but sets the override flag, in order to show important
1613 * hildon/hildon-banner.c
1614 (hildon_banner_show_information_override_dnd): new method
1615 (hildon_banner_set_override_flag): new utility function
1616 (hildon_banner_real_show_information): new utility function, in order to
1617 generalize the current hildon_banner_show_information_override_dnd and
1618 hildon_banner_show_information_override_dnd
1619 * examples/Makefile.am
1620 * examples/hildon-banner-dnd-example.c: New example that show how to
1621 use the new hildon_banner_show_information_override_dnd
1623 Fixes: NB#114874 (There is no possibility to show hildon banners with
1626 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1628 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1629 behind hildon_pannable_calculate_vel_factor().
1631 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1633 * hildon/hildon-pannable-area.c
1634 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1635 deceleration factors.
1637 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1639 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1640 Reduce the default value for 'scroll_time' to 1 second, since the
1641 current initial scrolling takes too much time.
1643 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1645 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1646 calculate velocity factor during initialization, since the properties
1649 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1651 * hildon/hildon-pannable-area.c
1652 (hildon_pannable_area_set_property): Calculate the velocity factor
1653 after setting the deceleration property and not after.
1655 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1657 * hildon/hildon-entry.c
1658 (hildon_entry_class_init, +set_property, hildon_entry_new)
1659 * hildon/hildon-check-button.c
1660 (hildon_check_button_class_init)
1661 (+set_property, hildon_check_button_new):
1662 Make the theme size a property.
1664 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1665 others) do too much in the _new function)
1667 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1669 * configure.ac: post release version bump
1670 * debian/changelog: post release version bump
1672 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1677 * configure.ac: Bump version.
1678 * debian/changelog: Updates.
1680 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1682 * hildon/hildon-gtk.h
1683 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1684 New API function to take a screenshot of a window
1686 Fixes: NB#106374 (Need API to take a loading screenshot)
1688 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1690 * hildon/hildon-time-selector.c
1691 (update_format_policy): prevent to use hours and minutes unitialized
1693 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1695 * hildon/hildon-window.c (hildon_window_size_request):
1696 Always request the full size of the screen (minus the title bar if
1697 not in fullscreen mode).
1699 Fixes: NB#107486 (HildonWindow should size itself properly)
1701 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1703 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1704 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1705 (on_show_cb), (sound_handling): Disconnect the idle handler for
1706 the sound when the note is finalized to avoid possible crashes.
1708 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1711 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1713 * src/hildon-animation-actor.c,
1714 * src/hildon-remote-texture.c:
1715 Added proper object cleanup to remove signal handler and object
1716 references as HildonAnimationActor and HildonRemoteTexture
1717 objects get destroyed.
1719 Fixes: NB#116682 (Destroying parented animation actors when
1720 parent in unmapped leads to crash)
1722 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1724 Based on a patch by Christian Dywan (christian@imendio.com)
1726 * doc/hildon-sections.txt:
1727 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1728 * hildon/hildon-helper.h: New file size formatting method.
1730 * debian/control: Depend on osso-filemanager l10n package for
1731 proper localization strings.
1733 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1735 * tests/Makefile.am: Include top_srcdir to make possible to build
1736 tests in a different builddir.
1737 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1738 on a different builddir.
1740 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1742 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1743 (hildon_touch_selector_remove): Disconnect model's signal handler
1746 Fixes: NB#116289 (Hildon home crashes while adding task
1749 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1751 * hildon/hildon-button.c
1752 (hildon_button_set_title, hildon_button_set_value):
1753 Hide labels containing an empty string.
1755 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1757 * configure.ac: post release version bump
1758 * debian/changelog: post release version bump
1760 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1765 * configure.ac: Bump version.
1766 * debian/changelog: Updates.
1768 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1770 * hildon/hildon-note-private.h: Removed sound_signal_handler
1771 * hildon/hildon-note.c
1772 (on_show_cb): new callback on note "show" event, this simply adds
1773 a idle, with the function sound_handling
1774 (sound_handling): removed the sound_signal_handler management
1775 (hildon_note_init): connect note "show" event to on_show_cb
1776 (hildon_note_realize): remove the connection to "expose-event"
1778 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1779 device?' confirmation note)
1781 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1783 * hildon/hildon-note.c
1784 (hildon_note_new_information_with_icon_name)
1785 (hildon_note_new_confirmation_with_icon_name):
1786 Terminate the list of parameters in g_object_set() calls
1788 Fixes: NB#115166 (Formatting memory card is not taking place)
1790 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1792 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1793 "dialog-information" role for the sound being played.
1795 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1797 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1798 Don't make the menu a modal window, it causes strange interactions
1799 with the pointer grab and it's not really needed.
1801 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1803 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1805 * hildon/hildon-touch-selector.[ch]
1806 (hildon_touch_selector_optimal_size_request): function added to get a
1807 optimal size request from the touch selector, when you want a dialog to
1808 show as much of the selector
1809 * hildon/hildon-picker-dialog.c:
1810 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1811 (hildon_app_menu_class_init):
1812 New "max-height-landscape" and "max-height-portrait" style properties
1813 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1814 (hildon_picker_dialog_get_max_height): returns the maximum height using
1815 the style properties defined and checking the current portrait/landscape
1817 (_hildon_picker_dialog_set_selector): removed the set_size_request
1819 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1821 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1823 * hildon/hildon-bread-crumb-trail.c:
1824 * hildon/hildon-bread-crumb.c:
1825 * hildon/hildon-seekbar.c:
1826 Add reference to replacements for these deprecated widgets.
1828 Fixes: MB#4461 (Documentation: All deprecations should mention
1831 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1833 * examples/hildon-remote-texture-example.c
1835 Change the include to the hildon-remote-texture in order to compile
1836 properly the examples on the installed libhildon1-examples package
1838 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1840 * tests/Makefile.am: Add check for HildonPickerButton.
1841 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1842 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1843 checks for the HildonPickerButton.
1844 * tests/check_test.c (configure_tests): Add the test suite.
1845 * tests/test_suites.h: likewise.
1847 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1849 * hildon/hildon-touch-selector.c
1850 (+on_row_changed): Emit HildonTouchSelector:changed when the
1851 contents of a selected row change.
1852 (_create_new_column), (_hildon_touch_selector_set_model): connect
1853 to GtkTreeModel:row-changed on a newly set model.
1855 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1857 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1859 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1861 * hildon/hildon-banner.c (hildon_banner_destroy)
1862 (hildon_banner_show_progress, hildon_banner_set_fraction):
1863 Remove the progress bar from HildonBanner and use a progress
1866 Fixes: NB#113761 (Update progress banner to use progress
1869 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1871 * hildon/hildon-banner.c:
1872 Calculate size of the banner label using the actual screen width
1873 rather than using a fixed value.
1875 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1878 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1880 * hildon/hildon-pannable-area.c,
1881 (hildon_pannable_area_class_init): Fixed signals documentation
1884 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1886 * configure.ac: post release version bump
1887 * debian/changelog: post release version bump
1889 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1894 * configure.ac: Bump version.
1895 * debian/changelog: Updates.
1897 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1899 * hildon/hildon-edit-toolbar.c
1900 (hildon_edit_toolbar_init):
1901 Don't let buttons in HildonEditToolbar receive focus.
1903 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1904 typing on an HW arrows key)
1906 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1908 * doc/Makefile.am: Fix build.
1910 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1912 * doc/Makefile.am: Do not redefine content_files.
1914 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1922 Renamed src/ to hildon/
1927 Include <hildon/hildon.h> directly in all examples.
1929 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1931 * src/hildon-sort-dialog.c
1932 (hildon_sort_dialog_add_sort_key_with_sorting)
1936 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1938 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1939 make distcheck passes.
1941 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1943 * Makefile.am: Enable gtk-doc during distcheck.
1945 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1947 * Makefile.am: Do not distribute the debian/ directory.
1949 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1951 * doc/Makefile.am: Add the extra SGML files to content_files,
1952 so that they are distributed properly.
1954 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1956 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1959 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1961 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1962 (hildon_note_new_information_with_icon_name): Set the "icon" property
1963 to preserve soundness.
1965 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/hildon-font-selection-dialog.c
1968 (hildon_font_selection_dialog_set_property): Fail when the "family"
1969 property is set to NULL.
1971 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1976 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1978 * src/hildon-time-selector.h:
1979 Added HildonTimeSelectorFormatPolicy
1980 * src/hildon-time-selector.c:
1981 Added PROP_TIME_FORMAT_POLICY
1982 (_check_ampm_format): renamed to check_automatic_ampm_format
1983 (update_format_policy), (update_format_dependant_columns): new functions
1984 (hildon_time_selector_class_init)
1985 (hildon_time_selector_contructor)
1986 (hildon_time_selector_init)
1987 (hildon_time_selector_get_property)
1988 (hildon_time_selector_set_property)
1989 (hildon_time_selector_get_time)
1990 (hildon_time_selector_set_time)
1991 * src/hildon-touch-selector.h: new file
1992 * src/hildon-touch-selector.c
1993 (hildon_touch_selector_emit_changed)
1994 (hildon_touch_selector_block_changed)
1995 (hildon_touch_selector_unblock_changed)
1996 Added functions to allow to block the emission of the "changed" signal
1997 * src/hildon-picker-dialog.c
1998 (hildon_picker_dialog_show): call the parent show before the custom code
1999 * examples/hildon-time-button-example.c
2000 Modified, so now you can configure the time format using the new property
2002 Added a new property "time-format-policy" that allow to choose the time
2003 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
2004 case it uses gconf in order to check if the time selector must use
2007 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2010 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2012 * src/hildon-note.c (hildon_note_init):
2013 Label in HildonNote must be left aligned, not centered. This
2014 reverts the last commit in HildonNote.
2016 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2017 is connectivity dialog)
2019 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2024 * doc/hildon-sections.txt:
2025 Added hildon_gtk_window_set_do_not_disturb()
2027 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-note.c (hildon_note_init): Center label.
2031 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2034 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2039 * configure.ac: Bump version.
2040 * debian/changelog: Updates.
2042 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2044 * src/hildon-note-private.h: Add button-width to the private data.
2045 * src/hildon-note.c (+resize_button),
2046 (+hildon_note_orientation_update): methods to repack widgets on orientation
2048 (screen_size_changed): Call above method for confirmation notes.
2049 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2050 (hildon_note_rebuild): Store the original width request from buttons.
2052 Fixes: NB#109635 (Confirmation notes do not support portrait)
2054 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2056 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2057 when it is a progress note.
2059 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2061 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2062 in the note, since there are no horizontally arranged contents.
2064 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2066 * src/hildon-gtk.c (+set_flag): new generic method to
2067 set/delay a flag setting in a window.
2068 (hildon_gtk_window_set_progress_indicator):
2069 (hildon_gtk_window_set_do_not_disturb),
2070 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2071 avoid code redundance.
2073 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2075 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2077 * src/hildon-gtk.c (set_clear_window_flag),
2078 (do_set_progress_indicator), (do_set_do_not_disturb),
2079 (do_set_portrait_flags),
2080 (hildon_gtk_window_set_progress_indicator),
2081 (hildon_gtk_window_set_do_not_disturb),
2082 (hildon_gtk_window_set_portrait_flags):
2083 Allow setting dnd-flag, progress indicator, and portrait flags
2084 when the window is not realized.
2086 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2088 * src/hildon-pannable-area.c,
2089 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2090 the size request policy function and defines.
2092 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2094 * doc/hildon-sections.txt: Add the new API.
2095 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2096 method to set the portrait flags.
2097 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2099 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2101 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2104 to allow using this method with other flags.
2105 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2106 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2108 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2110 * src/hildon-touch-selector.c
2111 (hildon_touch_selector_append_text_column):
2112 Make the cell renderer use the smallest width possible.
2114 Fixes: NB#108470 (Selected items in multiple selection are either
2115 having a tick that is cut or not visible at all.)
2117 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2119 * src/hildon-touch-selector.c
2120 (hildon_touch_selector_append_text_column):
2123 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2125 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2126 Use g_strdup_printf() instead of a fixed size buffer.
2128 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2130 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2131 Close banners when a HildonAppMenu is popped up.
2133 Fixes: NB#111027 (Title menu closed immediately if activated when
2134 "Invalid e-mail address" banner is shown)
2136 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2141 * configure.ac: Bump version.
2142 * debian/changelog: Updates.
2144 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2146 * src/hildon-banner.c (hildon_banner_realize):
2147 Mark HildonBanner as supporting portrait mode.
2148 Use GDK to set window properties insetad of direct Xlib calls.
2150 Fixes: NB#111830 (HildonBanner should be marked as supporting
2153 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-note.c (hildon_note_rebuild):
2156 Hide action area in information notes. Prevents text from being
2157 slightly aligned to the left.
2159 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2162 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2164 Patch by Mox Soini (ext-mox.soini@nokia.com)
2166 * src/hildon-banner.c (hildon_banner_create_animation):
2167 Use stylus-sized icons in animation banner.
2169 Fixes: NB#111206 (stylus sized icon for animation banner)
2171 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2175 (+hildon_gtk_window_set_do_not_disturb):
2176 New API to set the do-not-disturb flag.
2178 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2180 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2182 * examples/hildon-progress-indicator-example.c: Fix example
2184 * src/hildon-gtk.c (set_clear_window_flag)
2185 (hildon_gtk_window_set_progress_indicator):
2186 Create a generic function for setting flags to a window.
2187 Use GDK instead of direct Xlib calls.
2189 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2191 * src/hildon-button.c (hildon_button_set_arrangement):
2192 Due to NB#88126, if one of the labels is too long it will be
2193 painted outside the button. The 'value' label is more likely to be
2194 the longest one, so we change its packing options in order to
2195 truncate it if necessary. As a side effect, the 'title' label will
2196 no longer be truncated.
2198 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2200 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2205 * configure.ac: Bump version.
2206 * debian/changelog: Updates.
2208 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2210 Deprecation of the hildon_pannable_area_set_size_request_policy
2211 API, the only policy properly supported in gtk+ nowadays is the
2214 * src/hildon-pannable-area.c,
2215 (hildon_pannable_area_size_request): Added a workaround for the
2216 size_request to avoid the problems of huge pixmaps in case someone
2217 is still using the function.
2218 * src/hildon-pannable-area.h: Deprecated the enum with the
2221 Fixes: NB#110244 (Problems with the
2222 hildon_pannable_area_set_size_request_policy API)
2224 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2226 * src/hildon-pannable-area.c,
2227 (hildon_pannable_area_init),
2228 (hildon_pannable_area_size_request),
2229 (hildon_pannable_area_style_set),
2230 (hildon_pannable_draw_vscroll),
2231 (hildon_pannable_draw_hscroll),
2232 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2233 indicator_width to clarify the use of the attribute.
2235 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2240 * configure.ac: Bump version.
2241 * debian/changelog: Updates.
2243 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2245 * src/hildon-picker-dialog.c
2246 * src/hildon-touch-selector.c
2247 Reverting the change that tried to avoid the hardcoded height on
2248 the picker dialog, as causes problems on the hildon-touch-selector
2251 Fixes: NB#110029 (selectors not scrolling to selected value)
2253 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-touch-selector.c: Fix typos
2257 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2260 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2261 request more motions after using it.
2263 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2265 * src/hildon-calendar.c (hildon_calendar_expose),
2266 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2267 Remove unused variables.
2269 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2271 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2272 variable assignment.
2274 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2277 Check the return value of gtk_tree_selection_get_selected()
2280 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2282 * src/hildon-animation-actor.c
2283 * src/hildon-button.c
2285 * src/hildon-pannable-area.c
2286 * src/hildon-picker-button.c
2287 * src/hildon-program.c
2288 * src/hildon-remote-texture.c
2289 * src/hildon-text-view.c
2290 * src/hildon-touch-selector.c
2291 * src/hildon-window-stack.c
2292 * src/hildon-window.c:
2293 Add missing 'Since: 2.2' tags.
2295 * doc/hildon-sections.txt:
2296 Add some missing symbols.
2298 * doc/hildon-docs.sgml:
2299 New 'Other' section for HildonAnimationActor and
2302 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2304 Patch by Iván Gómez (igomez@igalia.com)
2307 * doc/compiling.sgml
2308 * doc/hildon-docs.sgml
2309 * doc/hildon-sections.txt
2310 * doc/migration.sgml
2311 * doc/resources.sgml
2313 New chapters on using the Hildon library.
2314 Updated the general structure of the reference manual.
2315 Other minor documentation fixes.
2317 * src/hildon-calendar-popup.c
2318 * src/hildon-calendar.c
2319 * src/hildon-controlbar.c
2320 * src/hildon-date-editor.c
2321 * src/hildon-dialog.c
2322 * src/hildon-hvolumebar.c
2323 * src/hildon-number-editor.c
2324 * src/hildon-range-editor.c
2325 * src/hildon-sort-dialog.c
2326 * src/hildon-time-editor.c
2327 * src/hildon-time-picker.c
2328 * src/hildon-volumebar-range.c
2329 * src/hildon-volumebar.c
2330 * src/hildon-vvolumebar.c
2331 * src/hildon-weekday-picker.c:
2332 Add deprecation notes
2334 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2335 Document 'horizontal-movement' and 'vertical-movement' signals.
2337 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2342 * configure.ac: Bump version.
2343 * debian/changelog: Updates.
2345 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2347 * src/hildon-pannable-area.c,
2348 (hildon_pannable_area_class_init): increased the minimum velocity.
2349 (hildon_pannable_area_button_release_cb): Updated the
2350 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2351 setup. Review the code to control that last event.
2353 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2356 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2358 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2360 * src/hildon-get-password-dialog.c
2361 (hildon_get_password_set_property),
2362 (hildon_get_password_get_property), (create_contents):
2363 * src/hildon-login-dialog-private.h:
2364 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2365 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2366 (hildon_login_dialog_get_password):
2367 * src/hildon-set-password-dialog-private.h:
2368 * src/hildon-set-password-dialog.c
2369 (hildon_set_password_set_property),
2370 (hildon_set_password_get_property), (create_contents),
2371 (hildon_set_password_response_change),
2372 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2374 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2375 instead and look more Fremantle style.
2377 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2379 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2381 * doc/hildon-sections.txt
2382 * src/hildon-window-stack.h
2383 * src/hildon-window-stack.c
2384 (+hildon_window_stack_get_windows):
2385 New API to obtain the list of windows on a stack.
2387 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2389 * src/hildon-app-menu.c (hildon_app_menu_popup)
2390 (hildon_app_menu_class_init, -hildon_app_menu_show):
2391 Remove hildon_app_menu_show() and move all its checks to
2392 hildon_app_menu_popup()
2394 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2396 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2397 (_hildon_picker_dialog_set_selector): removed call to
2398 gtk_widget_set_size_request
2399 * src/hildon-touch-selector.c
2400 (_create_new_column): change the pannable size request policy
2402 Avoid to use a hardcoded height for the hildon picker dialog. In order
2403 to get that, we needed to change the hildon pannable size request
2405 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2407 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2409 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2410 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2413 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2415 * debian/control: Depend on osso-system-lock localization package.
2416 * src/hildon-code-dialog.c: Obtain the secu_application_title
2417 translation from osso-system-lock.
2418 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2419 for translation the atk related strings, that's not necessary.
2420 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2421 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2422 cancel button, it is not required.
2424 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2426 * src/hildon-pannable-area.c,
2427 (hildon_pannable_area_class_init): Modified the default value of
2428 the overshooting max speed, we have reduced it.
2430 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2432 * doc/hildon-sections.txt
2433 * src/hildon-window-private.h
2434 * src/hildon-window.h
2435 * src/hildon-window.c (hildon_window_class_init)
2436 (hildon_window_init, hildon_window_finalize)
2437 (hildon_window_realize, hildon_window_get_property)
2438 (hildon_window_set_property, hildon_window_update_markup)
2439 (hildon_window_get_markup, hildon_window_set_markup):
2440 New "markup" property and hildon_window_{get,set}_markup() methods.
2442 * examples/hildon-stackable-window-example.c (new_window):
2443 Update example to use hildon_window_set_markup()
2445 Fixes: NB#106375 (Need API to retitle a window with a title
2448 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2450 * src/hildon-pannable-area.c,
2451 (hildon_pannable_area_class_init): Changed the default value of
2452 the initial_hint to TRUE.
2453 (hildon_pannable_area_initial_effect): Changed the initial effect,
2454 not the effect is just the fade-out of the scrollbars.
2456 Fixes: NB#107775 (No scrollbars can be seen when several items are
2457 available in a dialog)
2459 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-program.c (hildon_program_update_top_most):
2464 Fixes: NB#109179 (Memory leak in Hildon program)
2466 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2468 * src/hildon-banner.c (-get_current_app_window):
2469 Remove unused function.
2471 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2473 * src/hildon-pannable-area.c: Modified the documentation of the
2474 get adjustments functions to explain the problem of using the
2475 adjustment directly.
2476 (hildon_pannable_area_class_init): Improved the explanation about
2479 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2481 * src/hildon-app-menu-private.h
2482 * src/hildon-app-menu.c
2483 (hildon_app_menu_class_init):
2484 Bring back the 'external-border' style property
2485 (hildon_app_menu_class_init, hildon_app_menu_init)
2486 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2487 Set a fixed width-request for the menu, independent of the number
2490 Fixes: NB#94957 (Smoothly opened application menu)
2492 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2494 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2496 * src/hildon-banner.c
2497 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2499 Make sure that the banner is correctly placed the first time it's
2501 (hildon_banner_check_position, -check_fullscreen_state):
2502 Show the banner in the same place no matter if the window is in
2503 fullscreen mode or not.
2505 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2507 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2509 * src/hildon-touch-selector.c (_default_print_func): reorder
2510 concatenation for clarity.
2512 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2514 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2515 for multicolumn selectors.
2517 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2519 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2524 * configure.ac: Bump version.
2525 * debian/changelog: Updates.
2527 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2529 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2532 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2534 * configure.ac: removed libcangerra-gtk dependency
2535 * debian/control: removed libcanberra-gtk dependency
2536 * src/Makefile.am: removed libcanberra gtk related flags
2537 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2538 context, and manage a global canberra context instead
2540 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2542 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2544 Patch by Daniel Borgmann (danielb@openismus.com)
2546 * src/hildon-edit-toolbar.c:
2547 Adjust the left padding.
2548 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2549 Paint background of the edit toolbar.
2551 Fixes: NB#107897 (Patch to make editmodetoolbar background
2552 themeable and adjust margin)
2554 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2556 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2558 * src/hildon-program.c (hildon_program_update_top_most):
2559 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2561 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2562 change when the user tasks in/out of an application)
2564 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2566 * configure.ac: added libcangerra-gtk dependency
2567 * debian/control: added libcanberra-gtk dependency
2568 * src/Makefile.am: added libcanberra gtk related flags
2569 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2572 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2574 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-program.c (hildon_program_remove_window)
2577 (hildon_program_add_window): Add checks for the window
2578 parameter. Don't decrease the window counter if the window is not
2581 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2583 * src/hildon-pannable-area.c,
2584 (hildon_pannable_area_realize): Fixed position of the event_window
2585 in the realize method.
2587 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2589 * src/hildon-app-menu-private.h
2590 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2591 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2592 (hildon_app_menu_key_press, hildon_app_menu_init)
2593 (hildon_app_menu_finalize):
2594 Make sure that all idle functions are removed when the widget is
2597 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2599 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2604 * configure.ac: Bump version.
2605 * debian/changelog: Updates.
2607 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/hildon-entry.c
2610 (+hildon_entry_show_placeholder),
2611 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2612 that replace hildon_entry_update_contents().
2613 (hildon_entry_set_text),
2614 (hildon_entry_set_placeholder),
2615 (hildon_entry_focus_in_event),
2616 (hildon_entry_focus_out_event): Determine when it is needed
2617 either to show or hide the placeholder and call the above methods.
2619 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2620 when the placeholder text is already set)
2622 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2624 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2625 simple GdkPixbufAnim using the new icons for the banner.
2626 (hildon_banner_show_animation): Use the above mentioned method to
2627 create the animation widget.
2629 Fixes: NB#103564 (Make hildon animation banner use individual
2630 image files as the animation)
2632 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2634 * src/hildon-pannable-area.c,
2635 (hildon_pannable_leave_notify_event): Check if the child is NULL
2636 to avoid sending the leave.
2638 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2640 * src/hildon-pannable-area.c,
2641 (hildon_pannable_area_class_init),
2642 (hildon_pannable_leave_notify_event): Added a handler of the
2643 leave-notify-signal to consider when no motion notify before
2646 Fixes: NB#107494 (Items stay selected when clicking and moving
2647 away when inside pannable area)
2649 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2654 * configure.ac: Bump version.
2655 * debian/changelog: Updates.
2657 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2659 Patch by Alberto Garcia (agarcia@igalia.com)
2661 * src/hildon-date-button.c,
2662 (hildon_date_button_class_init),
2663 (hildon_date_button_init): Removed the construct property handling
2664 and created a default selector in the init method.
2665 * src/hildon-picker-button.c,
2666 (hildon_picker_button_class_init): Removed the construct flag of the
2669 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2671 * src/hildon-main.c (hildon_init):
2672 Don't allow hildon_init() to be called more than once.
2674 Fixes: NB#106607 (hildon_init should issue error message upon
2677 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2679 * examples/hildon-pannable-area-touch-list-example.c
2680 * examples/hildon-pannagle-area-touch-grid-example.c
2681 * examples/hildon-edit-toolbar-example.c
2682 * examples/hildon-touch-selector-multi-cells-example.c
2683 Removed the call to gtk_rc_parse_string, as it is not required since
2686 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2688 * src/hildon-pannable-area.c,
2689 (hildon_pannable_area_class_init): Modified the default panning
2690 threshold of the widget to 6px.
2692 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2693 than the threshold value ) within the button is not sending the
2696 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2699 for the treeview in the new column. This way, the touch list will never
2702 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2703 be selected manually for the HW keys to work)
2705 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2708 comparison instead of using strcmp(). Fixes a compiler warning as well.
2710 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2712 * doc/hildon-docs.sgml: Do not set the library version in the
2713 document title, use the releaseinfo tag for that purpose instead.
2715 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2718 Do not jump to the first item if the text in the entry is removed.
2720 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2725 * configure.ac: Bump version.
2726 * debian/changelog: Updates.
2728 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-entry.c (hildon_entry_refresh_contents):
2731 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2732 Use "ReversedSecondaryTextColor" for the placeholder text.
2734 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-text-view.c: Fix compilation warning.
2738 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2740 * src/hildon-button.c (hildon_button_class_init): Don't make
2741 "title" and "value" construction properties, to prevent them from
2742 overwriting labels set from derived classes.
2744 * src/hildon-picker-button.c
2745 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2746 (hildon_picker_button_class_init): Make touch-selector a
2747 construction property.
2749 * src/hildon-date-button.c (hildon_date_button_class_init)
2750 (+hildon_date_button_constructed): Add a default date selector if
2753 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2755 * src/hildon-touch-selector.c: Small documentation fixes.
2757 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2759 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2761 * src/hildon-entry.c (hildon_entry_refresh_contents),
2762 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2763 widget name, set the logical color directly instead and a boolean
2764 showing_placeholder instead.
2765 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2766 use the widget name here either.
2768 Fixes: NB#105678 (HildonTextView should use logical colours
2769 instead of setting widget name)
2771 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2773 Patch by Daniel Elster (danielk@openismus.com)
2775 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2776 Add user_data parameter.
2777 (hildon_touch_selector_set_print_func_full): New function akin
2778 hildon_touch_selector_set_print_func() but with support for user
2779 data and a destroy callback.
2780 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2781 to clean up the print function user data.
2782 (hildon_touch_selector_class_init): Install dispose function.
2783 (HildonTouchSelectorPrivate::print_user_data),
2784 (HildonTouchSelectorPrivate::print_destroy_func): New private
2786 (hildon_touch_selector_init): Initialize new private members.
2787 (hildon_touch_selector_get_current_text): Pass along user data
2788 to the print function.
2789 (_default_print_func): Add dummy user_data to parameter list.
2790 * hildon-date-selector.c (_custom_print_func): ditto,
2791 * hildon-time-selector.c (_custom_print_func): ditto,
2792 * hildon-touch-selector-entry.c
2793 (hildon_touch_selector_entry_print_func): ditto.
2795 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2797 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2799 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2801 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2803 * src/hildon-pannable-area.c,
2804 (hildon_pannable_area_init),
2805 (hildon_pannable_area_button_press_cb),
2806 (hildon_pannable_area_motion_notify_cb): We have added code to
2807 handle the leave and enter events when using the motion events.
2809 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2811 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2813 * src/hildon-date-button.c (hildon_date_button_get_date)
2814 (hildon_date_button_set_date): Make sure that the button has a
2817 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2819 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2821 * src/hildon-pannable-area.c,
2822 (hildon_pannable_area_class_init),
2823 (hildon_pannable_area_calculate_velocity): Modify the use of the
2824 force and adapt the value.
2826 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2828 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2829 (hildon_app_menu_class_init): Hide the menu if it receives a
2830 delete-event, but don't destroy it
2832 Fixes: NB#104485 (Not able to address the call when application
2833 menu is opened at background)
2835 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-app-menu.c
2838 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2839 Remove the "external-border" style property, let the menu take its
2840 natural size (or the one set by the window manager)
2841 (hildon_app_menu_repack_items):
2842 Don't reshow the menu, avoid flickers.
2844 Partially fixes NB#94957 (Smoothly opened application menu)
2846 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2851 * configure.ac: Bump version.
2852 * debian/changelog: Updates.
2854 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2856 * src/hildon-pannable-area.c,
2857 (hildon_pannable_area_motion_notify_cb): We control that the
2858 direction error margin is used just in case the movement is
2859 allowed in the other direction.
2861 Fixes: NB#105012 (buttons inside a pannable area not getting
2862 release event when dragging/releasing)
2864 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2866 * src/hildon-pannable-area.c,
2867 (hildon_pannable_area_class_init),
2868 (hildon_pannable_area_get_property),
2869 (hildon_pannable_area_set_property),
2870 (hildon_pannable_area_initial_effect),
2871 (hildon_pannable_axis_scroll),
2872 (hildon_pannable_area_button_release_cb): Reviewed the
2873 overshooting effect, now it has its own max
2874 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2875 speed when bouncing.
2877 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2882 * configure.ac: Bump version.
2883 * debian/changelog: Updates.
2885 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2887 * src/hildon-pannable-area.c,
2888 (hildon_pannable_area_class_init): Changed the max speed, now
2889 users can launch the widget very fast. Reduced the default force,
2890 that way it is easier to control the launch speed.
2892 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2894 * src/hildon-pannable-area.c,
2895 (hildon_pannable_area_button_release_cb): Removed this check
2896 because it causes problems when the device is overloaded.
2898 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2901 add a current_text field to store the text entered in the
2902 touch selector entry.
2903 (_clean_current_selection): clean up the current text as well.
2904 (_save_current_selection), (_restore_current_selection):
2905 Save/restore the text in the entry if the selector is a
2906 HildonTouchSelectorEntry.
2908 Fixes: NB#102541 (value entered in the touch selector entry is not
2909 shown when opened for second time)
2911 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2913 * doc/hildon-sections.txt:
2914 * src/hildon-touch-selector-entry.c
2915 (+hildon_touch_selector_entry_get_entry):
2916 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2918 Fixes: NB#104815 (I need accessor to the entry inside
2919 HildonTouchSelectorEntry)
2921 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2924 (hildon_app_menu_class_init):
2925 New "filter-vertical-spacing" style property.
2927 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-find-toolbar.c
2930 (hildon_find_toolbar_emit_close)
2931 (hildon_find_toolbar_emit_invalid_input)
2932 (hildon_find_toolbar_entry_activate):
2933 Use g_signal_emit() instead of g_signal_emit_by_name()
2935 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2937 Patch by Mox Soini (ext-mox.soini@nokia.com)
2939 * tests/TEST-CASES.txt
2940 * tests/check-hildon-banner.c
2941 * tests/check-hildon-note.c
2942 * src/hildon-banner.c
2943 * src/hildon-code-dialog.c
2944 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2945 * src/hildon-time-editor.c
2946 * examples/hildon-lookup-example.c (main):
2947 Replace obsolete icon names with new ones.
2949 * src/hildon-find-toolbar-private.h:
2950 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2951 (-hildon_find_toolbar_emit_search):
2952 Remove find button and change icon of close button.
2954 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2956 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-time-button.c (hildon_time_button_new_step):
2959 Use the "touch-selector" property to set the selector directly
2960 when creating the object.
2962 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2964 Added a new example application that allows tuning the pannable
2965 area and replaced defines with properties in order to simplify the
2966 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2967 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2968 PROP_DIRECTION_ERROR_MARGIN.
2970 * examples/hildon-pannable-area-tuning-example.c: New example
2972 * src/hildon-pannable-area.c,
2973 (hildon_pannable_area_class_init),
2974 (hildon_pannable_area_init),
2975 (hildon_pannable_area_get_property),
2976 (hildon_pannable_area_set_property),
2977 (hildon_pannable_area_launch_fade_timeout),
2978 (hildon_pannable_area_adjust_value_changed),
2979 (hildon_pannable_axis_scroll),
2980 (hildon_pannable_area_motion_notify_cb),
2981 (hildon_pannable_area_scroll_cb),
2982 (hildon_pannable_area_button_release_cb): We have converted some
2983 of the defines that control the widget to properties to simplify
2986 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-app-menu.c (hildon_app_menu_map)
2989 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2990 so it's closed if a new window appears.
2992 Fixes: NB#104485 (Not able to address the call when application
2993 menu is opened at background)
2995 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2998 missing 'break' statement in in 'case' construct to avoid
3001 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-touch-selector-entry.c
3004 (hildon_touch_selector_entry_get_property),
3005 (hildon_touch_selector_entry_set_property): Add missing 'break'
3006 statements in in 'case' constructs to avoid incorrect warnings.
3008 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3010 * src/hildon-time-editor.c
3011 (hildon_time_editor_get_time_separators): Do not crash if
3012 the first label is NULL.
3014 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3016 * src/hildon-date-selector.c (_month_days): Check for month to be
3017 strictly less than 12, since otherwise we may overrun the array.
3019 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3021 * src/hildon-date-button.c (+hildon_date_button_new_full)
3022 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3023 (hildon_date_button_init): Set the date selector using a
3024 construction property, to make it happen after HildonButton's
3025 "value" property is set.
3027 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3028 current date by default)
3030 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3032 * doc/hildon-sections.txt
3033 * src/hildon-program.c
3034 * src/hildon-stackable-window.c
3035 * src/hildon-window.c:
3036 Documentation updates
3038 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3041 (hildon_window_stack_new, +hildon_window_stack_set_property)
3042 (+hildon_window_stack_get_property)
3043 (hildon_window_stack_class_init)
3044 (+hildon_window_stack_set_window_group)
3045 (+hildon_window_stack_get_window_group):
3046 Make the window group a construction property.
3048 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3050 * doc/hildon-sections.txt
3051 * src/hildon-stackable-window-private.h
3052 * src/hildon-stackable-window.h
3053 * src/hildon-stackable-window.c
3054 (-hildon_stackable_window_set_app_menu)
3055 (-hildon_stackable_window_get_app_menu)
3056 (-hildon_stackable_window_toggle_menu)
3057 (-hildon_stackable_window_finalize)
3058 (hildon_stackable_window_class_init)
3059 (hildon_stackable_window_init)
3060 * src/hildon-window-private.h
3061 * src/hildon-window.h
3062 * src/hildon-window.c (hildon_window_init)
3063 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3064 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3065 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3066 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3067 Moved all HildonAppMenu code to HildonWindow. The menu does not
3068 require a HildonStackableWindow anymore.
3070 * src/hildon-app-menu.c
3071 * src/hildon-program.c
3072 * examples/hildon-app-menu-example.c (main):
3073 Update examples and documentation to reflect HildonAppMenu
3076 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3078 * src/hildon-remote-texture.c
3079 * src/hildon-animation-actor.c:
3080 Don't include unused private headers.
3082 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-program-private.h
3085 * src/hildon-program.c
3086 (hildon_program_set_common_menu)
3087 (hildon_program_get_common_menu)
3088 (hildon_program_set_common_app_menu)
3089 (hildon_program_get_common_app_menu):
3090 Change common menu pointers from GtkWidget* to GtkMenu* and
3091 HildonAppMenu* to avoid unnecessary casts.
3093 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-window.c (hildon_window_set_main_menu):
3096 Removed incorrect 'Since:' tag
3098 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3100 * src/hildon-pannable-area.c,
3101 (hildon_pannable_area_calculate_velocity): We use now the
3102 RATIO_TOLERANCE here to check the distance, fixed typo in the
3104 (hildon_pannable_area_motion_notify_cb): We have to set the type
3105 and time even if we are not sending the motion.
3107 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3109 * doc/hildon-sections.txt
3110 * src/hildon-app-menu.h
3111 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3112 (+hildon_app_menu_get_filters): New methods to get the contents of
3115 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3118 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-app-menu.c (hildon_app_menu_popup):
3123 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3125 * src/hildon-window.h
3126 * src/hildon-window.c (+hildon_window_get_main_menu)
3127 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3128 and deprecated hildon_window_get_menu().
3130 * src/hildon-stackable-window.h
3131 * src/hildon-stackable-window.c
3132 (+hildon_stackable_window_set_app_menu)
3133 (+hildon_stackable_window_get_app_menu)
3134 (hildon_stackable_window_set_main_menu): Created
3135 hildon_stackable_window_{get,set}_app_menu() and deprecated
3136 hildon_stackable_window_set_main_menu().
3138 * doc/hildon-sections.txt
3139 * examples/hildon-app-menu-example.c (main)
3140 * src/hildon-app-menu.c
3141 * src/hildon-program.c:
3142 Updated examples and documentation.
3144 Fixes: NB#103758 (No way to obtain a menu from a
3145 HildonStackableWindow)
3147 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3152 * configure.ac: Bump version.
3153 * debian/changelog: Updates.
3155 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3157 * examples/hildon-remote-texture-example.c: Include
3158 hildon-remote-texture.h explicitely.
3159 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3160 applications not defining _XOPEN_SOURCE which don't require this header.
3162 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3164 * doc/hildon-sections.txt
3165 * src/hildon-app-menu.h
3166 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3167 New function to pop up a HildonAppMenu
3169 * src/hildon-stackable-window.c
3170 (hildon_stackable_window_toggle_menu):
3171 Use hildon_app_menu_popup() to show the menu.
3173 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-app-menu.c (hildon_app_menu_show)
3176 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3177 menu if there's another window between it and its parent window.
3179 Fixes: NB#100468 (Application menu window is launched even when a
3180 new secondary-window/dialog is pending to be shown/realized)
3182 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-window-stack.c (hildon_window_stack_push)
3185 (hildon_window_stack_pop_and_push):
3186 Don't forget to push/pop the first window.
3187 Reverse the window list before calling _push_list()
3189 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3191 * src/hildon-picker-button.h
3192 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3193 Remove "value_changed" slot to avoid ABI breakage
3195 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3197 * src/hildon-pannable-area.c,
3198 (hildon_pannable_area_realize),
3199 (hildon_pannable_area_unrealize),
3200 (hildon_pannable_draw_vscroll),
3201 (hildon_pannable_draw_hscroll): Changed the method to handle the
3202 GC used to draw the transparent scrollbar, this way we avoid
3203 creating the GC all the time when drawing the scrollbars.
3205 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3207 * src/hildon-pannable-area.c,
3208 (hildon_pannable_area_init),
3209 (hildon_pannable_area_remove): Removed some unnecessary casts.
3210 (hildon_pannable_area_dispose): Disconnected some signals before
3211 releasing the adjustments.
3213 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3215 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3216 Make sure that all widgets contained in the toolbar are shown.
3218 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3220 * doc/hildon-sections.txt
3221 * src/hildon-picker-button.h
3222 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3223 (_selection_changed, hildon_picker_button_on_dialog_response)
3224 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3225 New hildon_picker_button_value_changed() method.
3228 * src/hildon-picker-button-private.h
3229 * src/hildon-picker-button.c (hildon_picker_button_init)
3230 (+hildon_picker_button_disable_value_changed): Add protected
3231 function for disabling the "value-changed" signal.
3233 * src/hildon-date-button.c (hildon_date_button_set_date):
3234 Don't emit "value-changed" for each one of the three columns.
3236 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3237 before actual change of values)
3239 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3241 * src/hildon-pannable-area.c,
3242 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3243 for the treeview overshooting.
3245 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-banner.c (+hildon_banner_bind_style):
3248 Renamed from hildon_banner_bind_label_style(), now naming the
3249 banner itself as well.
3250 (hildon_banner_show_information),
3251 (hildon_banner_show_information_with_markup),
3252 (hildon_banner_show_animation), (hildon_banner_show_progress):
3253 Name the widgets and labels, based on their type.
3255 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3258 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-note.c (hildon_note_set_property): call
3261 hildon_note_rename() on HildonNote:note-type set.
3262 (hildon_note_rename): Name the note and its label, based on the
3263 HildonNote:note-type property.
3265 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3268 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3270 * src/hildon-pannable-area.c,
3271 (hildon_pannable_area_class_init),
3272 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3273 panning parameters, increased SPS and deceleration factor. Added
3274 also a margin to control fake directions.
3276 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3278 Patch by Sven Herzberg (sven@imendio.com)
3280 * configure.ac: Add missing AM_PROG_CC_C_0
3281 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3283 See NB#101420 (Update unit tests and fix make check)
3285 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3287 This patch was applied before but reverted because it caused
3288 problems, we have changed the main condition and tested the
3289 regressions we detected before and they work ok. We have done a
3290 complete review of the topmost algorithm in order to get a more
3293 * src/hildon-pannable-area.c,
3294 (hildon_pannable_area_get_topmost): Added a new parameter to
3295 filter the the windows that do not include those events.
3296 (hildon_pannable_area_button_press_cb),
3297 (hildon_pannable_area_button_release_cb),
3298 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3299 topmost function, we have added the new parameter.
3301 Fixes: NB#97458 (Pannable area prevents propagation of button
3304 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3306 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3307 if all columns in the selector have an item selected.
3308 (_on_dialog_response): Stop "response" signal emission if there is
3309 any selector column without selected items.
3311 Fixes: NB#101889 (Picker dialog should not close when nothing is
3312 selected in multiple selection list)
3314 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3316 * src/hildon-font-selection-dialog.c
3317 (hildon_font_selection_dialog_class_init),
3318 (hildon_font_selection_dialog_init): Remove the preview
3319 button and dialog, since previewing with default theming is likely
3320 to be overcomplicated. The :preview property has now no effect.
3321 Update documentation blurbs to inform about this.
3323 Fixes: NB#92297 (Preview content is not clearly visible for
3324 default colour text)
3326 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3328 Reviewed the geometry that handles the children size and
3329 scrollbar, now it tries a size and reviews the results depending
3330 on the scrollbars visibility.
3332 * src/hildon-pannable-area.c,
3333 (hildon_pannable_area_realize): Fixed a typo.
3334 (hildon_pannable_area_child_allocate_calculate): Added this
3335 function to calculate the child allocation.
3336 (hildon_pannable_area_size_allocate): Reviewed the allocation
3338 (hildon_pannable_area_check_scrollbars),
3339 (hildon_pannable_area_refresh): Refactored refresh function, this
3340 way we can call the code handling the scrollbars without causing a
3341 size_request, it is interesting in the allocate.
3342 (hildon_pannable_area_init): Replace the callbacks of the
3343 value_changed and changed signals to propertly deal with the
3345 (hildon_pannable_area_grab_notify),
3346 (hildon_pannable_area_initial_effect),
3347 (hildon_pannable_area_launch_fade_timeout),
3348 (hildon_pannable_area_adjust_changed),
3349 (hildon_pannable_area_adjust_value_changed),
3350 (hildon_pannable_area_redraw),
3351 (hildon_pannable_area_button_press_cb),
3352 (hildon_pannable_area_button_release_cb),
3353 (hildon_pannable_area_scroll_cb),
3354 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3355 code and use the new functions adjust_changed and
3356 adjust_value_changed.
3358 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3359 Contact editor dialog)
3361 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3366 * configure.ac: Bump version.
3367 * debian/changelog: Updates.
3369 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3371 * src/hildon-pannable-area.c,
3372 (hildon_pannable_area_get_topmost),
3373 (hildon_pannable_area_button_press_cb),
3374 (hildon_pannable_area_button_release_cb),
3375 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3376 topmost function adding the event mask. We have to try a
3377 differente approach because it is still causing problems (NB#9745,
3380 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3382 * src/hildon-banner.c:
3383 Update the maximum width of timed banners.
3384 (force_to_wrap_truncated): Enforce the maximum text width if the
3387 Fixes: NB#102413 (The text margins (wrapping) in information
3388 banner should be HILDON_MARGIN_TRIPLE)
3390 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3392 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3394 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3395 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3396 bound when calculating the scroll indicator position.
3398 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3399 treat ->lower correctly)
3401 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3403 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3404 expose event handling, since it is not necessary to draw the focus
3407 Fixes: NB#102467 (Do not show highlight on the text in
3410 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3412 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3413 full height of the toolbar for the button and the label.
3415 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3417 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3418 padding before the label and after the button.
3420 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3422 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3424 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3425 Add a GtkVSeparator between the button and the back arrow.
3426 Let the button have automatic size.
3427 Set a name to the widget for theming handling.
3429 Fixes: NB#101793 (Make edit toolbar the same height as window
3430 title bar (use title area theming))
3432 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3434 * src/hildon-helper.c (attach_new_color_element): Fix memory
3437 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3439 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3441 * examples/hildon-button-example.c (common_buttons_window): Don't
3444 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3447 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3449 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3451 * src/hildon-gtk.c: Check that the window is realized.
3453 Fixes: NB#102225 (Crash setting the progress indicator to a non
3456 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3458 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3459 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3460 instead of modifying the one in the widget style.
3462 Fixes: NB#101043 (Second row of all the command button are
3463 displayed in transparent mode.)
3465 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-date-button.c
3468 * src/hildon-time-button.c: Add gettext macros
3470 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3472 * src/hildon-date-button.c (hildon_date_button_new):
3473 * src/hildon-time-button.c (hildon_time_button_new_step):
3474 Use new logical strings to set the button default title.
3476 Fixes: NB#99915 (Date and Time options are not localised in Date
3479 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3481 * src/hildon-pannable-area.c
3482 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3483 the PANNING_THRESHOLD.
3485 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3487 * src/hildon-pannable-area.c,
3488 (hildon_pannable_area_class_init): Increased the maximum speed.
3489 (hildon_pannable_area_get_property),
3490 (hildon_pannable_area_set_property),
3491 (hildon_pannable_area_timeout): Added a new low friction mode, it
3492 allows the user avoid friction when launching the widget fast
3493 enough. It is interesting to traverse long lists.
3495 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3497 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3498 (+hildon_stackable_window_delete_event): Ignore delete events if
3499 the window is not the topmost one.
3501 Fixes: NB#101698 (Back button long press and delete-event handling)
3503 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3505 * src/hildon-pannable-area.c,
3506 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3507 gtk-dnd-drag-threshold, it was too big. We have defined our own
3508 dnd define and set a smaller value: PANNIG_THRESHOLD.
3510 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3513 user-defined icons, use always the default one.
3515 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3517 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3519 This patch was applied before but reverted because it caused
3520 problems, we have changed the main condition and tested the
3521 regressions we detected before and they work ok.
3523 * src/hildon-pannable-area.c,
3524 (hildon_pannable_area_get_topmost): Added a new parameter to
3525 filter the the windows that do not include those events. Added
3526 also a condition when finding the window to filter windows that do
3527 not ask for those events.
3528 (hildon_pannable_area_button_press_cb),
3529 (hildon_pannable_area_button_release_cb),
3530 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3531 topmost function, we have added the new parameter.
3533 Fixes: NB#97458 (Pannable area prevents propagation of button
3536 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3538 * tests/check-hildon-color-button.c (START_TEST): do not leak
3541 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3543 * src/hildon-font-selection-dialog.c
3544 (hildon_font_selection_dialog_get_preview_text): Return NULL
3545 instead of FALSE on the g_return_val_if_fail().
3547 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3550 * src/hildon-date-selector.c
3551 (hildon_date_selector_select_current_date):
3552 Do not compare unsigned integers to be greater than or equal 0,
3553 because it's always TRUE.
3555 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3558 (hildon_date_selector_constructor): Do not select the current
3559 date until we are handle the "changed" signal, to avoid having bogus
3560 elements in the days model.
3562 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3565 for num_days, since _month_days() can return a negative value.
3567 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3569 * src/hildon-caption.c (hildon_caption_size_allocate):
3570 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3571 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3573 Initialize allocation variables to 0, to avoid eventually using
3574 unitialized variables.
3576 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3578 * src/hildon-bread-crumb-trail.c
3579 (hildon_bread_crumb_trail_size_allocate):
3580 * src/hildon-calendar.c (hildon_calendar_set_background):
3581 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3582 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3583 * src/hildon-seekbar.c (hildon_seekbar_init):
3584 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3585 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3586 * src/hildon-touch-selector-entry.c
3587 (hildon_touch_selector_get_text_from_model):
3588 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3589 * src/hildon-window.c (hildon_window_finalize):
3591 Remove many unused variables.
3593 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3595 * src/hildon-seekbar.c: (hildon_seekbar_init),
3596 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3598 Remove unnecessary g_assert() calls.
3600 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3602 * src/hildon-caption.c: (hildon_caption_expose),
3603 (hildon_caption_set_property), (hildon_caption_init),
3604 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3605 (hildon_caption_size_request), (hildon_caption_size_allocate),
3606 (hildon_caption_forall), (hildon_caption_set_separator),
3607 (hildon_caption_activate), (hildon_caption_set_child_expand),
3608 (hildon_caption_set_label_text),
3609 (hildon_caption_get_label_alignment):
3611 Remove unnecessary g_assert() calls.
3613 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3615 * src/hildon-banner.c
3616 (hildon_banner_map, hildon_banner_init): Make banner temporary
3617 before mapping it to avoid closing other temporary windows, but
3618 make it non-temporary afterwards to avoid being closed by other
3619 non-temporary windows.
3620 (-hildon_banner_client_event, hildon_banner_init):
3621 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3623 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3626 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3628 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3631 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3633 * src/hildon-remote-texture.c
3634 * src/hildon-remote-texture.h
3635 * src/hildon-remote-texture-private.h
3636 * examples/hildon-remote-texture-example.c:
3637 Updates/fixes to remote-texture and its example.
3639 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3641 Patch by Mox Soini (ext-mox.soini@nokia.com)
3643 * src/hildon-code-dialog.c: Update logical id.
3644 * src/hildon-set-password-dialog.c: Update logical id.
3646 Fixes: NB#100646 (Logical strings is shown for ok in set
3647 password,Password needed dialogs)
3649 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3652 * src/hildon-remote-texture.c
3653 * src/hildon-remote-texture.h
3654 * src/hildon-remote-texture-private.h
3656 Added remote texture widget (for Clutter shared memory textures)
3658 * examples/hildon-remote-texture-example.c
3659 * examples/Makefile.am
3660 Added example file for remote texture usage
3662 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3664 * configure.ac: post release version bump.
3665 * debian/changelog: version bump.
3667 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3672 * configure.ac: Bump version.
3673 * debian/changelog: Updates.
3675 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3677 * src/hildon-date-selector.c (hildon_date_selector_init)
3678 (hildon_date_selector_constructor): Don't connect to the "changed"
3679 signal until the selector is completely constructed.
3681 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3683 * src/hildon-touch-selector.c: (_create_new_column),
3684 (hildon_touch_selector_append_column),
3685 (hildon_touch_selector_set_column_selection_mode),
3686 (hildon_touch_selector_set_active),
3687 (hildon_touch_selector_select_iter):
3688 Emit the HildonTouchSelector::changed signal every time selection
3689 is changed in any of the methods above. This behavior was already
3690 documented but not fully functional.
3692 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3693 selection is programmatically changed)
3695 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3697 * doc/hildon-sections.txt: Remove obsolete icon
3698 sizes from here as well.
3700 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3702 * examples/hildon-stackable-window-example.c (add_window): Remove
3705 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3707 * src/hildon-app-menu.c
3708 (hildon_app_menu_show): Check whether the parent window of a menu
3709 is topmost before popping it up.
3711 Fixes: NB#100468 (Application menu window is launched even when a
3712 new secondary-window/dialog is pending to be shown/realized.)
3714 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3716 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3719 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3721 Patch by Mox Soini (ext-mox.soini@nokia.com)
3723 * src/hildon-banner.c: (hildon_banner_show_animation):
3724 use stylus size instead of obsolete note size.
3725 * src/hildon-defines.h: Update icon sizes.
3727 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3729 * src/hildon-touch-selector-entry.c:
3730 (hildon_touch_selector_entry_init): Disable unsupported
3732 (hildon_touch_selector_entry_get_text_column): Emit a warning
3733 if an unsupported input modes is used and explicitile state
3734 these modes in the documentation.
3736 Fixes: NB#99802 (Hildon touch selector entry not working properly
3737 for some of the input modes)
3739 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3741 * src/hildon-pannable-area.c,
3742 (hildon_pannable_area_init): Added the changed signal handlers of
3745 Fixes: NB#100320 (HildonPannableArea does not listen to
3746 GtkAdjustment "change" signals)
3748 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3750 * doc/hildon-sections.txt
3751 * src/hildon-window-private.h
3752 * src/hildon-window.h
3753 * src/hildon-window.c (hildon_window_init)
3754 (hildon_window_realize, hildon_window_unrealize)
3755 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3756 (hildon_window_size_request, hildon_window_size_allocate)
3757 (hildon_window_forall, hildon_window_show_all)
3758 (hildon_window_destroy, +paint_edit_toolbar)
3759 (+hildon_window_set_edit_toolbar):
3760 New hildon_window_set_edit_toolbar() method, to add a
3761 HildonEditToolbar to a window without having to pack it manually.
3763 Reorganize hildon_window_size_allocate()
3765 * src/hildon-edit-toolbar.c: Update documentation.
3767 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3768 example to use the new API.
3770 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3772 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3774 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3775 Remove from stack before calling parent's hide.
3777 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3780 window is removed from the middle of the stack, update the
3781 transiency of the previous one.
3783 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3786 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3788 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3789 block/unblock the signal handler if it's not actually being used.
3790 Fixes some critical warnings.
3792 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3794 Based on a patch by Iván Gómez (igomez@igalia.com)
3796 * src/hildon-banner.c
3800 * src/hildon-pannable-area.c
3801 * src/hildon-picker-dialog.c
3802 * src/hildon-wizard-dialog.h
3803 * src/hildon-wizard-dialog.c: Documentation updates.
3805 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3806 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3808 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3810 * configure.ac: post release version bump.
3811 * debian/changelog: version bump.
3813 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3818 * configure.ac: Bump version.
3819 * debian/changelog: Updates.
3821 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3823 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3824 a stock icon nor change the relief of the back arrow.
3826 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3827 graphics from theme)
3829 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3831 * src/hildon-button.c (hildon_button_set_alignment): Use
3832 priv->alignment if the button has no child yet.
3834 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3836 * src/hildon-button.c: (hildon_button_init): Set the
3837 button style during initialization to give it the proper
3840 Fixes: NB#99713 (HildonButton value label color is wrong)
3842 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3844 * src/hildon-touch-selector.c: Document
3845 hildon_touch_selector_center_on_selected()
3847 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3849 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3850 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3851 all menu items, but not the menu itself.
3852 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3853 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3854 items after adding them to the menu so keyboard accelerators work.
3855 (hildon_app_menu_show): Don't show the menu if it contains items
3856 but none of them are visible.
3858 * examples/hildon-app-menu-example.c (create_menu): Use
3859 gtk_widget_show_all() to show all menu items.
3861 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3863 * src/hildon-picker-dialog.c:
3864 (-_update_title_on_selector_changed_cb),
3865 (-_dialog_update_title): Removed.
3866 (_select_on_selector_changed_cb), (_on_dialog_response),
3867 (on_selector_columns_changed): Do not update the dialog title.
3868 (setup_interaction_mode): Do not connect to
3869 HildonTouchSelector::changed signal if there's a "done" button, as
3870 the dialog title doesn't need to be updated.
3872 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3875 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3877 Patch by Kristian Rietveld (kris@imendio.com)
3879 * src/hildon-touch-selector.c: (_create_new_column): Use new
3880 GtkTreeView::hildon-row-tapped signal to react to user interactions
3881 instead of ::changed.
3883 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3884 with some dynamic tree model)
3886 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3889 (+screen_size_changed, +label_size_request)
3890 (hildon_note_class_init): Make the Hildon information note have a
3891 minimum height, and make its text hvae a maximum width.
3893 Fixes: NB#98614 (Hildon information note (background) should have
3894 minimum height and maximum text width)
3896 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3898 * src/hildon-banner.h
3899 * src/hildon-banner.c (hildon_banner_show_information)
3900 (hildon_banner_show_informationf)
3901 (hildon_banner_show_information_with_markup): Update documentation
3902 to reflect that the icon_name parameter is not used anymore.
3903 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3904 Remove all code from these functions and mark them as deprecated.
3905 (hildon_banner_show_progress): Mark as deprecated.
3907 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3909 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3911 * src/hildon-pannable-area.c,
3912 (hildon_pannable_area_class_init),
3913 (tranparency_color),
3914 (hildon_pannable_draw_vscroll),
3915 (hildon_pannable_draw_hscroll),
3916 (hildon_pannable_area_expose_event): Added a new way to render the
3917 scrollbars of the pannable area avoiding using cairo at all. This
3918 way we improve the performance of the pannable area rendering. The
3919 cairo rendering procedure is still in the code, we can control
3920 which one to use changing the value of the define
3921 USE_CAIRO_SCROLLBARS.
3923 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3925 * configure.ac: post release version bump.
3926 * debian/changelog: version bump.
3928 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3933 * configure.ac: Bump version.
3934 * debian/changelog: Updates.
3936 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3938 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3939 banners instead of destroying them when they receive a button
3942 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3944 Reverted commit 34028, it was causing regressions, probably the
3945 topmost condition is not correct, we have to check it in more
3946 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3947 propagation of button press events)
3949 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3951 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3952 that the selection is not empty before attempting to retrieve the
3953 current ampm selection.
3955 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-picker-button.c:
3958 (hildon_picker_button_on_dialog_response): Directly update the
3959 button contents when required instead of calling _selection_changed.
3961 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3963 * src/hildon-program.c (hildon_program_update_top_most): Update
3964 'is-topmost' property also when wm_hints is not set.
3966 Fixes: NB#98383 (is-topmost signal is not emitted when task
3967 switcher is clicked.)
3969 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3971 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3975 * src/hildon-animation-actor.c,
3976 * src/hildon-animation-actor.h: Added the animation actor class,
3977 this widget represents an animation actor for WM-assisted
3978 animation effects in the Hildon framework.
3980 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3982 * src/hildon-window-stack-private.h
3983 * src/hildon-window-stack.c
3984 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3985 Avoid calling gtk_widget_show() again indirectly from
3986 hildon_stackable_window_show()
3988 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3993 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3995 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3996 (hildon_time_selector_init): Move the construction of the hours and
3997 ampm columns to the constructor to preserve the order the columns
4000 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4002 * src/hildon-picker-dialog.c:
4003 (hildon_picker_dialog_class_init): Connect a realize method.
4004 (+hildon_picker_dialog_realize): Setup the interaction mode here
4006 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4007 yet, do it during the realize instead.
4008 (_on_dialog_response):
4009 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4010 if the widget is not realized, to avoid the dialog response before it
4013 Avoid premature responses in the HildonPickerDialog that can cause it
4014 to be hidden before it's even shown.
4016 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4018 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4019 (on_selector_columns_changed), (requires_done_button),
4020 (+prepare_action_area), (setup_interaction_mode),
4021 (_hildon_picker_dialog_set_selector):
4023 Split the interaction mode setup into preparation of the
4024 action area (prepare_action_area()) and the connection of
4025 the signals in setup_interaction_mode() and update the code to
4028 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4030 * src/hildon-pannable-area.c,
4031 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4032 per second to 15, we will check if this is ok regarding
4035 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4037 * src/hildon-pannable-area.c,
4038 (hildon_pannable_axis_scroll): Avoid resize if we already have
4039 reached overshoot_max.
4041 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4043 * src/hildon-pannable-area.c,
4044 (hildon_pannable_area_init),
4045 (hildon_pannable_area_realize),
4046 (hildon_pannable_area_size_allocate),
4047 (hildon_pannable_area_map),
4048 (hildon_pannable_area_unmap),
4049 (hildon_pannable_draw_vscroll),
4050 (hildon_pannable_draw_hscroll),
4051 (hildon_pannable_area_expose_event),
4052 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4053 pannable are to avoid the expose events go to the window and
4054 redraw the window. We save this way that part of the stack and the
4055 paint_boxes. We had to change the positions of the elements when
4058 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4060 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4061 * src/hildon-color-chooser-dialog.c:
4062 (hildon_color_chooser_dialog_init):
4063 * src/hildon-font-selection-dialog.c:
4064 (hildon_font_selection_dialog_init),
4065 (hildon_font_selection_dialog_show_preview):
4066 * src/hildon-get-password-dialog.c:
4067 * src/hildon-login-dialog.c:
4068 * src/hildon-set-password-dialog.c:
4069 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4070 * src/hildon-time-picker.c: (hildon_time_picker_init):
4072 Remove obsolete logical string IDs and update to the appropriate ones.
4074 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4076 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4078 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4079 that happens if the window hasn't been realized yet.
4081 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4082 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4084 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4086 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4087 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4090 Fixes: NB#98537 (Device hangs in account settings dialog)
4092 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4094 * configure.ac: post release version bump.
4095 * debian/changelog: version bump
4097 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4102 * configure.ac: Bump version.
4103 * debian/changelog: Updates.
4105 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4107 Added a new function to the HildonTimeButton widget that allows to
4108 change the step of the minutes in the selector associated with the
4109 button: hildon_time_button_new_step
4111 * src/hildon-time-button.c,
4112 (hildon_time_button_init),
4113 (hildon_time_button_new),
4114 (hildon_time_button_new_step):
4115 * src/hildon-time-button.h: Added the new function and refactored
4117 * examples/hildon-time-button-example.c,
4118 (main): We have replaced the function without parameters with the
4119 function with the steps set to 5
4121 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4123 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4125 * src/hildon-time-selector.c,
4126 (hildon_time_selector_class_init),
4127 (hildon_time_selector_constructor),
4128 (hildon_time_selector_get_property),
4129 (hildon_time_selector_set_property),
4130 (_create_minutes_model),
4131 (hildon_time_selector_new_step),
4132 (hildon_time_selector_set_time),
4133 * src/hildon-time-selector.h: Added a new property to the
4134 HildonTimeSelector (minutes-step), we use that property to control
4135 the steps between the minutes in the list of the selector. We have
4136 added a new function to the API to create a widget changing the
4137 step: hildon_time_selector_new_step.
4139 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4141 * src/hildon-time-selector.c,
4142 (hildon_time_selector_class_init),
4143 (hildon_time_selector_constructor),
4144 (hildon_time_selector_init): Overrided the construct function when
4145 creating the time selector object. We have moved the minutes model
4146 handling code from the init to the new construction function:
4147 hildon_time_selector_constructor.
4149 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4151 * examples/hildon-date-button-example.c: (main): Use the new
4152 hildon_date_button_new_with_year_range() method in the example.
4153 * src/hildon-date-button.c:
4154 (+hildon_date_button_new_with_year_range): New public method
4155 to conveniently create a HildonDateButton with a custom year range
4156 in its HildonDateSelector.
4157 * src/hildon-date-button.h: Add the new public method definition.
4159 Fixes: NB#97908 (Not possible to change the year range in
4160 HildonDateSelector/HildonDateButton)
4162 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-date-selector.c:
4165 (+hildon_date_selector_set_property),
4166 (+hildon_date_selector_get_property),
4167 (hildon_date_selector_class_init): Install new properties "min-year"
4168 and "max-year" to define boundaries for the year column.
4169 (_create_year_model): Use the boundary properties to populate the model.
4170 (+hildon_date_selector_new_with_year_range): New public method to
4171 create a HildonDateSelector with a user defined year range.
4172 (hildon_date_selector_select_current_date): Use the new boundaries to
4173 calculate the iterator of current year.
4174 * src/hildon-date-selector.h: Add the new public method definition.
4176 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4178 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4179 Install a constructor method.
4180 (+hildon_date_selector_construct_ui): construct the widget.
4181 (+hildon_date_selector_constructor): new constructor.
4182 (+hildon_date_selector_init): move out widget construction code to
4183 the new constructor.
4185 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4187 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4188 that there's actually a month or year selected before obtaining them.
4189 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4190 of the HildonTouchSelector::changed signal, as it was emitted on every
4191 single item selection.
4193 Fix some warnings and possible crashers due to the selection restoring.
4195 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4197 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4198 the signal handlers only after creating the dialog instead of on every
4201 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4203 * src/hildon-button.c (hildon_button_init)
4204 * src/hildon-check-button.c (hildon_check_button_init)
4205 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4206 focus when clicked by default.
4208 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4210 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4213 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4215 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4216 Alejandro G. Castro (alex@igalia.com)
4218 * src/hildon-picker-dialog.c:
4219 (hildon_picker_dialog_class_init): install new "center-on-show"
4221 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4222 (hildon_picker_dialog_set_property): add setter code for the new
4224 (hildon_picker_dialog_get_property): add getter code for the new
4226 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4227 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4230 Fixes: NB#92849 (Selected item is not always visible when
4231 HildonTouchSelector is shown)
4233 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4235 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4236 Alejandro G. Castro (alex@igalia.com)
4238 * src/hildon-touch-selector.c:
4239 (_create_new_column): Do not connect to the "realize" signal of the
4241 (hildon_touch_selector_append_column): center on the selected items
4242 when a new column is appended.
4243 (hildon_touch_selector_select_iter): Factor out the code to select a
4244 column to hildon_touch_selector_scroll_to().
4245 (+search_nearest_element): Method to retrieve the nearest selected
4246 element to the visible area of the pannable area in a column.
4247 (+on_realize_cb): scroll to the initially selected item.
4248 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4249 the pannable area is realized, otherwise delay this until it is.
4250 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4251 selected items of a given column.
4252 (+hildon_touch_selector_center_on_selected): Public method to center
4253 all columns on the nearest selected item.
4254 * src/hildon-touch-selector.h: Add definition for
4255 hildon_touch_selector_center_on_selected().
4257 Implement public API to ensure visibility of all selected items in
4258 a HildonTouchSelector.
4260 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4262 Fixed a problem in the fading when calling the scroll_to API, and
4263 improve scrollbar fading handling.
4265 * src/hildon-pannable-area.c,
4266 (hildon_pannable_area_grab_notify): avoid the timeout when the
4268 (hildon_pannable_area_button_press_cb),
4269 (hildon_pannable_area_motion_notify_cb): Code style changes.
4270 (hildon_pannable_area_button_release_cb): Review the conditions
4271 when releasing the mouse button to avoid unrequired fading
4273 (hildon_pannable_area_scroll_to): Do not calculate and set the
4274 velocity if the scroll is not required.
4276 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4278 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4279 Don't check whether the new selector is NULL: it cannot be.
4280 Hold a reference to the selector while doing the replacement.
4282 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4284 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4285 unnecessary size_request in a removed widget.
4287 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4290 an unnecessary reference tracking that was leaking.
4292 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4294 Added delayed motion notify event handling, this way we can
4295 discard redrawing if more than 25 events arrive per second.
4297 * src/hildon-pannable-area.c,
4298 (hildon_pannable_area_init): Initialized the new private atributes
4299 controlling this timeout
4300 (hildon_pannable_area_dispose): Remove the timeout that controls
4301 the motion notify events.
4302 (hildon_pannable_area_scroll): Added a condition to control the
4303 use of the acceleration.
4304 (hildon_pannable_area_motion_event_scroll_timeout),
4305 (hildon_pannable_area_motion_event_scroll): Added this two
4306 functions, they handle the motion notify events inside the
4308 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4309 to the scroll method with the new function.
4310 (hildon_pannable_area_button_release_cb): We have to remove the
4311 timeout handler and move to the last position if the last motion
4312 events were not handled.
4314 Fixes: NB#97028 (Pannable area updates on every motion event)
4316 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4318 * src/hildon-pannable-area.c,
4319 (hildon_pannable_area_get_topmost): Added a new parameter to
4320 filter the the windows that do not include those events. Added
4321 also a condition when finding the window to filter windows that do
4322 not ask for those events.
4323 (hildon_pannable_area_button_press_cb),
4324 (hildon_pannable_area_button_release_cb),
4325 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4326 topmost function, we have added the new parameter.
4328 Fixes: NB#97458 (Pannable area prevents propagation of button
4331 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4333 * src/hildon-pannable-area.c,
4334 (hildon_pannable_area_initial_effect): Added controls before
4335 launching the timeout and the idle functions.
4336 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4337 of the method, in some situations it can return with TRUE and 0 in
4339 (hildon_pannable_area_button_press_cb): We do not need to set
4340 DELAY for fading out here.
4342 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4344 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4346 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4347 post-cleaning if the selection is not NULL.
4349 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4351 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4352 all items before restoring the selection.
4354 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4356 * src/hildon-touch-selector.c:
4357 (+hildon_touch_selector_unselect_all):
4358 * src/hildon-touch-selector.h: New API to unselect all items in a
4359 column of the touch selector.
4361 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4363 * src/hildon-pannable-area.c,
4364 (hildon_pannable_area_redraw): Added a call to the refresh
4365 function inside the redraw because apparently in some cases the
4366 change in the adjustment does not imply a size allocate.
4368 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4369 despite the view not being scrollable)
4371 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4373 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4374 leak. Check for NULL before attempting to set the window title.
4376 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4379 whether to show or not the 'Done' button each time the dialog is
4380 shown, as it depends on the HildonTouchSelector selection mode.
4382 Fixes: NB#96226 (In multiple selection mode Done button is shown
4383 sometimes in listpicker)
4385 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4387 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4388 for the number of columns in the HildonTouchSelector more than once.
4390 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4392 * src/hildon-touch-selector.c: Minor documentation fixes.
4394 * src/hildon-picker-dialog.c (+_dialog_update_title)
4395 (_select_on_selector_changed_cb)
4396 (_update_title_on_selector_changed_cb)
4397 (on_selector_columns_changed): Update dialog title when there's no
4398 'Done' button and also when the number of columns in the selector
4402 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4403 (+_selection_changed, hildon_picker_button_on_dialog_response)
4404 (hildon_picker_button_selector_selection_changed)
4405 (+hildon_picker_button_selector_columns_changed)
4406 (hildon_picker_button_set_selector): Update button value and emit
4407 'value-changed' when the number of columns in the selector
4411 Fixes: NB#96225 (Dialog titles are not shown according to the
4412 values selected in the list picker)
4414 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4416 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4417 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4418 New "arrow-width" and "arrow-height" style properties to set the
4419 size of the arrow button.
4420 Set name of arrow button ("hildon-edit-toolbar-arrow").
4422 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4423 graphics from theme)
4425 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4427 * src/hildon-picker-button.c:
4428 (hildon_picker_button_selector_selection_changed): Use
4429 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4430 the dialog is present.
4432 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4433 the selection is accepted in the dialog)
4435 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-color-chooser.h
4438 * src/hildon-color-chooser-dialog.h:
4439 Added G_BEGIN_DECLS and G_END_DECLS
4441 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4443 (_clean_current_selection): plug a leak in the list.
4445 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4447 * src/hildon-picker-dialog.c:
4448 (+free_path_list): Method to free a GList of GtkTreePaths.
4449 (_clean_current_selection), (_save_current_selection),
4450 (_restore_current_selection): Save the current selection in
4451 as a list of lists, to support multiple selection properly.
4453 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4455 patch by Claudio Saavedra (csaavedra@igalia.com)
4457 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4458 Store the press position.
4459 (+hildon_text_view_button_release_event): If the release position is
4460 close enough to the press position, move the cursor here. Otherwise,
4462 (hildon_text_view_class_init): Override GtkTextView press, release, and
4463 motion event handlers, disabling this way text selection through
4464 pointer interaction, and allowing the container widget to handle the
4467 Fixes: NB#95828 (HildonTextView functionality)
4469 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4471 Based on a patch by Iván Gómez (igomez@igalia.com)
4473 * src/hildon-button.[ch]
4474 * src/hildon-calendar.c
4475 * src/hildon-check-button.c
4476 * src/hildon-date-editor.c
4477 * src/hildon-date-selector.c
4478 * src/hildon-picker-button.c
4479 * src/hildon-time-editor.c
4480 * src/hildon-time-selector.c
4481 * src/hildon-touch-selector.[ch]:
4482 Documentation updates
4484 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4486 * src/hildon-pannable-area.c,
4487 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4488 threshold, it was required due to X events handling.
4490 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4492 * src/hildon-pannable-area.c,
4493 (hildon_pannable_area_grab_notify),
4494 (hildon_pannable_area_initial_effect),
4495 (hildon_pannable_area_button_press_cb),
4496 (hildon_pannable_area_button_release_cb),
4497 (hildon_pannable_area_scroll_cb),
4498 (hildon_pannable_area_scroll_to): Review the timeout management of
4499 the scrollbar, the frecuency was incorrectly set.
4501 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4503 * src/hildon-picker-button.c:
4504 (+hildon_picker_button_on_dialog_response),
4505 (hildon_picker_button_clicked): Present the dialog instead of
4506 running it with gtk_dialog_run().
4508 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4511 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4513 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4514 (hildon_app_menu_finalize): When a window is hidden it doesn't
4515 emit notify::is-topmost, so make sure than the menu also
4516 disappears in that case.
4517 (parent_window_topmost_notify): Renamed from parent_window_hidden
4519 Fixes: NB#94460 (stackable window's menu is not closed when its
4522 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4524 * src/hildon-touch-selector-entry.c:
4525 (+hildon_touch_selector_entry_set_input_mode),
4526 (+hildon_touch_selector_entry_get_input_mode):
4527 * src/hildon-touch-selector-entry.h: New methods to access the input
4528 mode in the selector's entry.
4530 Fixes: NB#93410 (API required for setting IM mode in
4531 HildonTouchSelectorEntry)
4533 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4535 * configure.ac: post release version bump.
4536 * debian/changelog: version bump
4538 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4543 * configure.ac: Bump version.
4544 * debian/changelog: Updates.
4546 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4548 * src/hildon-touch-selector.c:
4549 (_hildon_touch_selector_has_multiple_selection): No need
4550 to initialize the variables here.
4552 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4554 * src/hildon-note-private.h
4555 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4556 (hildon_note_finalize, hildon_note_rebuild): Close information
4557 notes when they receive a button press.
4559 Fixes: NB#89890 (Information notes does not get disappeared after
4562 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4564 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4565 mark from the wizard title, as it's not really necessary. Also,
4566 do not display the page title if not set.
4568 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4570 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4571 (parent_window_hidden): Use the window's "is-topmost" property to
4572 detect when to hide the menu.
4574 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4576 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4577 (hildon_app_menu_finalize): If the parent window of the menu is
4578 hidden, hide the menu too.
4580 Fixes: NB#94460 (stackable window's menu is not closed when its
4583 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4586 * debian/libhildon1-examples.install
4588 * examples/Makefile.am:
4589 Use dh_install to install all examples.
4590 Use DEB_SRCDIR instead of defining SOURCE_DIR
4592 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4594 * configure.ac: post release version bump.
4595 * debian/changelog: version bump
4597 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4602 * configure.ac: bump version
4603 * debian/changelog: updates
4604 * debian/control: bump gtk+ dependency
4606 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4608 patch by Christian Dywan (christian@imendio.com)
4610 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4611 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4613 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4615 * src/hildon-check-button.c (hildon_check_button_init)
4616 (hildon_check_button_class_init, hildon_check_button_style_set)
4617 (hildon_check_button_apply_style):
4618 New "checkbox-size" style property.
4620 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4621 larger / configurable size)
4623 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4625 * configure.ac: post release version bump.
4626 * debian/changelog: version bump
4628 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4633 * configure.ac: bump version
4634 * debian/changelog: updates
4636 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4638 * doc/hildon-sections.txt
4639 * src/hildon-pannable-area.c
4640 * src/hildon-program.c
4641 * src/hildon-time-editor.c
4642 * src/hildon-touch-selector-entry.c:
4644 More documentation updates.
4646 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4648 * doc/hildon-sections.txt
4649 * src/hildon-caption.c
4650 * src/hildon-code-dialog.c
4651 * src/hildon-color-button.c
4652 * src/hildon-controlbar.c
4653 * src/hildon-date-editor.c
4654 * src/hildon-date-selector.c
4655 * src/hildon-edit-toolbar.c
4656 * src/hildon-find-toolbar.c
4657 * src/hildon-font-selection-dialog.c
4659 * src/hildon-program.c
4660 * src/hildon-range-editor.c
4661 * src/hildon-seekbar.c
4662 * src/hildon-time-editor.c
4663 * src/hildon-time-selector.c
4664 * src/hildon-volumebar-range.c
4665 * src/hildon-volumebar.c
4666 * src/hildon-vvolumebar.c
4667 * src/hildon-weekday-picker.c
4668 * src/hildon-window.c
4669 * src/hildon-wizard-dialog.c:
4671 Lots of documentation fixes.
4673 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4675 Patch contributed by Iván Gómez (igomez@igalia.com)
4677 * src/hildon-check-button.c:
4678 * src/hildon-date-button.c:
4679 * src/hildon-date-selector.c:
4680 * src/hildon-dialog.c:
4681 * src/hildon-edit-toolbar.c:
4682 * src/hildon-entry.c:
4683 * src/hildon-picker-button.c:
4684 * src/hildon-program.c:
4685 * src/hildon-text-view.c:
4686 * src/hildon-time-button.c:
4687 * src/hildon-touch-selector-entry.c:
4688 * src/hildon-window-stack.c:
4690 Add more "since" tags to the new API.
4692 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4694 * doc/hildon-sections.txt: Add below method.
4695 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4696 version for the hildonized scale.
4697 * src/hildon-gtk.h: Add the definition.
4699 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4701 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4703 * doc/hildon-sections.txt: Add missing entries for new methods.
4705 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4707 Added API to pannable are in order to get its adjustments. We
4708 added two properties to manage the values we had in the private
4711 * src/hildon-pannable-area.c:
4712 (hildon_pannable_area_class_init): Added hadjustment and
4713 vadjustment properties in order to expose horizontal and vertical
4715 (hildon_pannable_area_get_property),
4716 (hildon_pannable_area_set_property): Added code to handle the new
4718 (hildon_pannable_area_get_hadjustment),
4719 (hildon_pannable_area_get_vadjustment): API functions to get the
4721 * src/hildon-pannable-area.h:
4722 (hildon_pannable_area_get_hadjustment),
4723 (hildon_pannable_area_get_vadjustment): API functions to get the
4726 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4728 Fixed some leaks, after valgrinding.
4730 * src/hildon-touch-selector.c:
4731 (_default_print_func): Fixed a leak.
4732 (hildon_touch_selector_append_column): Fixed a leak.
4733 * src/hildon-date-button.c:
4734 (hildon_date_button_init): Fixed a leak.
4735 * src/hildon-date-selector.c
4736 (hildon_date_selector_finalize): Fixed a leak.
4738 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4740 Based on a patch by Christian Dywan (christian@imendio.com)
4742 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4744 * src/hildon-gtk.h: Add definition.
4746 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4748 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-picker-button.c: (hildon_picker_button_init),
4751 (hildon_picker_button_new): Set the HildonButton::style property
4752 in the init method, to propagate the value to the derived classes.
4754 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4756 * src/hildon-button.c: (hildon_button_class_init): Do not make
4757 the "style" property a construct property.
4759 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-wizard-dialog.h
4762 * src/hildon-wizard-dialog.c
4763 (hildon_wizard_dialog_set_forward_page_func)
4764 * src/hildon-pannable-area.h
4765 * src/hildon-pannable-area.c
4766 (hildon_pannable_area_set_size_request_policy):
4767 Documentation fixes.
4769 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4771 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4773 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4775 * doc/hildon-sections.txt: Added sections file.
4777 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4780 * src/*.[ch]: Updates.
4782 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4784 * examples/hildon-progress-indicator-example.c: new file
4785 * examples/Makefile.am: include the new example program
4787 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4791 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4793 * configure.ac: post release version bump
4794 * debian/changelog: version bump
4796 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4801 * configure.ac: bump version
4802 * debian/changelog: updates
4803 * debian/control: bump gtk+ dependency
4805 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4807 * src/hildon-dialog.c: Mark as deprecated.
4808 * src/hildon-dialog.h: Mark as deprecated.
4809 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4810 from HildonDialog and still work, even if
4811 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4812 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4814 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4815 maemo changes) instead)
4817 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4819 * src/hildon-pannable_area.h:
4820 * src/hildon-pannable_area.c:
4821 (hildon_pannable_area_class_init),
4822 (hildon_pannable_area_set_property),
4823 (hildon_pannable_area_get_property),
4824 (hildon_pannable_area_size_request),
4825 (hildon_pannable_area_get_size_request_policy),
4826 (hildon_pannable_area_set_size_request_policy): Added new API
4827 allowing applications to control the request policy. Now they can
4828 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4829 children allocation (HILDON_MOVEMENT_CHILDREN).
4831 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4835 (hildon_gtk_tree_view_set_ui_mode)
4836 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4837 mode of treeviews and iconviews.
4839 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4841 * src/hildon-touch-selector-entry.c:
4842 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4843 of a GtkEntry to get proper theming.
4845 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4846 widget, not GtkEntry)
4848 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4850 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4851 no HildonWizardDialogPageFunc.
4853 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4855 Patch contributed by Iván Gómez (igomez@igalia.com)
4857 * src/hildon-app-menu.c:
4858 * src/hildon-button.c:
4859 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4860 * src/hildon-stackable-window.c:
4861 * src/hildon-time-selector.c:
4862 * src/hildon-touch-selector.c:
4863 * src/hildon-window.c:
4865 Add more "since" tags to the new API in hildon 2.2.
4867 2008-12-05 Tim Janik <timj@imendio.com>
4869 Patch contributed by Christian Dywan (christian@imendio.com)
4871 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4872 HildonSizeType, which are supplied by Gtk+ now.
4874 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4876 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4877 (with maemo changes) instead)
4879 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4881 Patch contributed by Iván Gómez (igomez@igalia.com)
4883 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4886 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4888 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4889 (some_page_func), (main): Update the example to use a
4890 HildonWizardDialogPageFunc function.
4892 * src/hildon-wizard-dialog-private.h: Add private data for
4893 the HildonWizardDialogPageFunc function usage.
4895 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4896 (destroy), (hildon_wizard_dialog_init), (response),
4897 (hildon_wizard_dialog_set_forward_page_func):
4898 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4899 that applications can use to stop a HildonWizardDialog to jump to
4902 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4905 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4907 * src/hildon-program.h
4908 * src/hildon-program-private.h
4909 * src/hildon-program.c (hildon_program_init)
4910 (hildon_program_set_common_app_menu)
4911 (hildon_program_get_common_app_menu):
4912 New API for setting a common HildonAppMenu for all
4913 HildonStackableWindows registered with the HildonProgram.
4915 * src/hildon-stackable-window.c
4916 (hildon_stackable_window_toggle_menu):
4917 Use the common HildonAppMenu if a window doesn't have a specific
4920 * src/hildon-app-menu-private.h
4921 * src/hildon-app-menu.c
4922 (hildon_app_menu_get_parent_window):
4923 Function to obtain the window a HildonAppMenu is attached to.
4924 (hildon_app_menu_set_parent_window):
4925 Hide the menu if the parent window is set to NULL.
4927 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4929 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4930 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4931 search widget to popup.
4933 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4935 * configure.ac: post release version bump
4936 * debian/changelog: version bump
4938 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4943 * configure.ac: bump version
4944 * debian/changelog: updates
4946 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4948 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4950 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4951 (hildon_window_stack_window_realized)
4952 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4953 Set the leader GdkWindow when a window is stacked and realized,
4954 unset it when it's unstacked.
4955 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4957 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4959 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4961 * src/hildon-stackable-window.h
4962 * src/hildon-window-stack.h:
4963 Protect definition of HildonWindowStack using the preprocessor.
4965 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4967 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4968 Fix warning if all menu items are hidden.
4970 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4972 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4974 * src/hildon-controlbar.c:
4975 * src/hildon-hvolumebar.c:
4976 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4977 Multiple scale size defines updates.
4979 Fixes: NB#94322 (Scale Updates)
4981 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4983 * examples/hildon-app-menu-example.c (create_menu)
4984 Show items after adding them to the menu, as in the future the
4985 menu will no longer call gtk_widget_show() on the added items.
4987 * src/hildon-app-menu.c:
4988 Update example as explained above.
4990 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4992 * src/hildon-app-menu.c
4993 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4994 Make sure that all menu items have finger height.
4996 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4998 * src/hildon-picker-dialog.c:
4999 (_on_dialog_response), (_save_current_selection),
5000 (_restore_current_selection), (_clean_current_selection),
5001 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
5002 Defined new functions in order to save the current internal selector
5003 selection previous open the dialog, in case that the use cancel the
5004 interaction, so the widget restores the previous selection.
5006 Fixes: NB#92032 (In calendar application, date values in 'new event'
5009 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5011 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5013 * src/hildon-button.c: Add a reference to the button examples in
5014 hildon-button-example.c
5016 * examples/hildon-button-example.c: Added examples of the most
5017 common button layouts.
5019 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5021 * src/hildon-app-menu.c (hildon_app_menu_show)
5022 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5024 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5026 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-picker-dialog.c:
5029 (hildon_picker_dialog_init): Initialize the signal id for
5030 HildonTouchSelector::columns-changed.
5031 (+on_selector_columns_changed): Set up the interaction mode everytime a
5032 column is added or removed from the HildonTouchSelector.
5033 (_hildon_picker_dialog_set_selector): Connect to
5034 HildonTouchSelector::columns-changed and keep track of it.
5036 Make sure to update the interaction mode of the dialog everytime a
5037 column is added or removed in the HildonTouchSelector.
5039 Fixes: NB#93228 (Done button is not shown always in listpicker)
5041 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5043 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5044 a new ::columns-changed signal.
5045 (hildon_touch_selector_append_column): Emit ::columns-changed.
5046 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5048 Add a ::columns-changed signal, emitted when the number of columns in a
5049 HildonTouchSelector changes.
5051 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5053 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5054 (_hildon_picker_dialog_set_selector): Factor out the code
5055 to set up the dialog interaction mode.
5057 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5059 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5060 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5061 to signal_changed_id.
5063 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5065 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5068 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5070 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5071 Updated the logical ids related to ampm format, as now it is required to
5072 show it correctly localized even on languages with no default
5073 abbreviations for am or pm
5074 (_check_am_pm_format): check correctly the 24h format gconf property
5076 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5078 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5080 * src/hildon-button.c: Documentation updates.
5082 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5084 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5085 * src/hildon-caption.c: (hildon_caption_class_init):
5086 * src/hildon-color-button.c: (hildon_color_button_class_init):
5087 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5088 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5089 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5090 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5092 Remove deprecated GTK+ marshalers and replace them with the ones
5093 provided by GLib, for those available, add a marshaler for
5094 BOOLEAN:VOID, which is not available in GLib, and use it.
5096 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5098 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5099 the text from the previous column if there is no
5100 HildonTouchSelectorColumn::text-property set.
5102 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5104 * src/hildon-button.h
5105 * src/hildon-button.c (hildon_button_set_property)
5106 (hildon_button_get_property, hildon_button_class_init)
5107 (hildon_button_set_style, hildon_button_get_style):
5108 New "style" property to change the visual appearance of the
5111 * src/hildon-picker-button.c (hildon_picker_button_new):
5112 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5114 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5115 HildonButton look like PickerButton)
5117 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5119 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5120 column while building the default string.
5122 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5124 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5125 scroll indicator by default.
5127 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5129 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5131 * src/hildon-main.c: Fix the documentation for hildon_init()
5133 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5135 * doc/hildon-docs.sgml
5139 * src/hildon-window-stack-private.h
5140 * src/hildon-window-stack.h
5141 * src/hildon-window-stack.c:
5142 New HildonWindowStack object, that adds support for multiple
5143 stacks of windows per process.
5145 * src/hildon-stackable-window-private.h
5146 * src/hildon-stackable-window.h
5147 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5148 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5149 (hildon_stackable_window_show, hildon_stackable_window_hide)
5150 (hildon_stackable_window_class_init)
5151 (hildon_stackable_window_init):
5152 Use HildonWindowStack for stack management.
5154 * src/hildon-program.c (hildon_program_pop_window_stack)
5155 (hildon_program_peek_window_stack)
5156 (hildon_program_go_to_root_window):
5157 Add a fallback implementation to the deprecated functions using
5160 * examples/hildon-stackable-window-example.c:
5161 Use the new HildonWindowStack API.
5163 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5165 * src/hildon-stackable-window-private.h
5166 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5167 (hildon_stackable_window_hide, hildon_stackable_window_init):
5168 Remove all window stack management.
5170 * src/hildon-program-private.h
5171 * src/hildon-program.h
5172 * src/hildon-program.c (hildon_program_init)
5173 (hildon_program_pop_window_stack)
5174 (hildon_program_peek_window_stack)
5175 (hildon_program_go_to_root_window):
5176 Remove all window stack management and mark functions as
5179 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-app-menu.c (hildon_app_menu_realize):
5182 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5184 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5186 * configure.ac: post release version bump
5187 * debian/changelog: version bump
5189 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5194 * configure.ac: bump version
5195 * debian/changelog: updates
5197 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5199 Based on initial code by Christian Dywan (christian@imendio.com)
5201 * doc/hildon-docs.sgml: Add section for hildon-main.
5202 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5203 * src/Makefile.am: Add new hildon-main.[ch]
5204 * src/hildon-defines.h: Update the icon sizes.
5205 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5206 new library initialization files and register icon sizes.
5207 * src/hildon-main.h: New declarations.
5208 * src/hildon.h: Include hildon-main.h
5210 Add new initialization functions to the library. These methods
5211 will register the hildon specific icon sizes and can be used in the
5212 future for other hildon specific bits.
5214 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5216 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5218 * src/hildon-window.c: (hildon_window_realize),
5219 (hildon_window_notify), (-hildon_window_update_title): Do not set
5220 the application name in the window title.
5222 Fixes: NB#89754 (Applications shouldn't display their names in the
5225 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5227 * src/hildon-note-private.h:
5228 * src/hildon-note.c: (hildon_note_set_property),
5229 (hildon_note_get_property), (hildon_note_class_init),
5230 (hildon_note_init), (hildon_note_finalize),
5231 (hildon_note_new_confirmation_with_icon_name),
5232 (hildon_note_new_information_with_icon_name):
5234 No need to mark as deprecated the actual code. Revert
5235 to avoid missing symbols in widgets using deprecated API.
5237 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5239 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5241 * src/hildon-volumebar.h
5242 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5243 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5245 * src/hildon-helper.h
5246 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5247 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5249 * examples/Makefile.am:
5250 Deprecate hildon-insensitive-example
5252 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5254 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5256 * examples/hildon-pannable-area-buttons-scroll-example.c:
5257 Make all buttons finger height
5259 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5261 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5263 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5264 update the day model only if it is really required, and to avoid the
5265 full-reconstruction aproach. Now it only add or remove the required days.
5267 The purpose of this is avoid superfluous HildonTouchSelector::changed
5270 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5271 with strange parameters)
5273 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5275 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5277 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5278 the WINDOW_TYPE property.
5280 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5282 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5285 Fix dependency to allow parallel compilation with make -jX
5287 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5290 color frame and some minor tweaks to make it more consistent with
5293 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5294 highlighted but not visible)
5296 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5298 * examples/Makefile.am: Fixed typo in the Makefile.am.
5300 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5302 Reviewed the use of MAEMO_GTK define, now we add the define in the
5303 compilation line, and we also add it to the pc file.
5305 * configure.ac: Added MAEMO_GTK define to the compilation command
5306 and removed it from the config.h.
5308 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5309 do not have to take care about this define if the library was
5313 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5315 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5317 * examples/Makefile.am,
5318 * examples/hildon-pannable-area-buttons-scroll-example.c,
5319 * examples/hildon-pannable-area-gesture-signals-example.c,
5320 * examples/hildon-pannable-area-scroll-jump-example.c,
5321 * examples/hildon-pannable-area-tree-view-example.c:
5322 Renamed the pannable area examples, now they have more meaningful
5325 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5327 * src/hildon-touch-selector.c:
5328 (hildon_touch_selector_set_column_selection_mode): Used of
5329 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5330 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5331 to avoid re-seting the same selection mode.
5333 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5334 breaks HildonPickerDialog)
5336 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5338 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5339 conditional in the Makefile.am
5341 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5343 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5344 Remove unused methods.
5346 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5348 * src/hildon-button.c (hildon_button_init):
5349 Make button images center-aligned by default
5351 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5354 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5355 activated, we have to think about how to deal with both defines
5356 MAEMO_GTK and MAEMO_CHANGES.
5358 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5360 * examples/hildon-app-menu-example.c (create_menu): Make all
5361 buttons finger size.
5363 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5365 Fixed the compilation without maemo gtk adding ifdefs with
5366 MAEMO_GTK define to the code, we have to check this version more
5369 * examples/Makefile.am: Added control to avoid some examples that
5370 just make sense with maemo gtk.
5373 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5374 hildon modes with the define.
5376 * examples/hildon-edit-toolbar-example.c,
5377 (create_icon_view): Create the icon view without hildon-gtk
5378 helpers if we are not using maemo gtk.
5380 * src/hildon-touch-selector.c,
5381 (_create_new_column): Create the treeview without hildon-gtk
5382 helpers if we are not using maemo gtk.
5384 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5386 * src/hildon-pnnable-area.c,
5387 (hildon_pannable_area_dispose),
5388 (hildon_pannable_area_button_press_cb),
5389 (hildon_pannable_area_child_mapped),
5390 (hildon_pannable_area_add),
5391 (hildon_pannable_area_remove): Added code to control the position
5392 of the event_window when adding and removing children from the
5393 pannable. We have to raise the event window when the child is
5396 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5397 selection mode using custom widget inside pannable)
5399 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5401 * configure.ac: post release version bump
5402 * debian/changelog: version bump
5404 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5409 * configure.ac: bump version
5410 * debian/changelog: updates
5412 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5414 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5415 search mode, in order to avoid lose the focus on the treeview when
5416 a hw key (like enter) is pressed.
5418 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5419 in HildonDateSelector dialog)
5421 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5423 * debian/rules: Added --enable-maintainer-mode
5424 * Makefile.am: Added ACLOCAL_AMFLAGS
5426 This allows to properly regenerate the Makefiles if you modify the
5427 configure.ac or any Makefile.am.
5429 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5431 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5432 properties, not needed at all.
5434 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5436 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5438 * src/hildon-note.c: (hildon_note_set_property),
5439 (hildon_note_get_property), (hildon_note_class_init),
5440 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5441 (hildon_note_new_confirmation_add_buttons): Remove icons.
5442 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5443 (hildon_note_new_information_with_icon_name): Deprecate.
5444 (hildon_note_new_confirmation): Act directly, without calling
5445 the deprecated constructor.
5446 (hildon_note_new_information): Act directly, without calling
5447 the deprecated constructor.
5448 * src/hildon-note.h: Mark deprecate methods as such.
5449 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5450 not run tests on the deprecated methods if built with deprecation
5453 Fixes: NB#91688 (Never show icons in information notes/confirmation
5456 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5458 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5459 (hildon_app_menu_key_press): Remove leftover usage of the
5460 private structure in HildonAppMenu struct.
5461 * src/hildon-app-menu.h: Remove leftover private structure
5462 from the HildonAppMenu struct.
5464 Fixes a crasher when using the HildonAppMenu.
5466 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5468 * src/hildon-picker-dialog.c: Use appropriate logical id
5469 for the default "Done" text.
5471 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5473 * configure.ac: post release version bump
5474 * debian/changelog: version bump
5476 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5478 Modified the way to scroll to the current selection just when the touch
5479 selector is shown on the screen, avoiding a g_idle. Added too a property
5480 to configure this behaviour. See hildon_pannable_area_jump_to_child
5481 documentation for more information.
5483 * src/hildon-touch-selector.c
5484 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5485 Added 'initial-scroll' property
5486 (hildon_touch_selector_set_property): Added
5487 (hildon_touch_selector_map): Removed as not required anymore
5488 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5489 only a concrete column, instead of iterate along all the columns
5491 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5496 * configure.ac: bump version
5497 * debian/changelog: updates
5499 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5501 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5502 compilation time warnings.
5504 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5506 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5507 the default value for HildonPannableArea::mov-mode to
5508 HILDON_PANNABLE_AREA_MODE_VERT.
5510 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5512 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5514 Reverting following commit:
5516 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5518 * src/hildon-app-menu-private.h
5519 * src/hildon-app-menu.[ch]
5520 * src/hildon-button.[ch]
5521 * src/hildon-check-button.[ch]
5522 * src/hildon-entry.[ch]
5523 * src/hildon-pannable-area.[ch]
5524 * src/hildon-text-view.[ch]:
5525 Added private field to the object's structure.
5527 because it causes an ABI breakage. We will need to introduce these
5528 changes later at some point. See NB#91636 for an extensive
5529 explanation and status.
5531 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5533 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5535 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5536 remove special cases that are no longer necessary.
5538 Fixes: NB#91016 (Change toolbar sizes, simplification)
5540 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5542 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5543 is shown in the cancel note.
5545 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5547 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5548 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5549 (hildon_seekbar_init): Remove steppers, remove expose event.
5550 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5552 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5554 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5556 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5557 label font to "SmallSystemFont" for vertically arranged buttons.
5559 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5562 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5564 * src/hildon-check-button.c
5565 (hildon_check_button_set_active, hildon_check_button_clicked):
5566 Don't access private parts directly, use getters instead.
5568 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5570 * src/hildon-check-button.c (hildon_check_button_new):
5571 Align the contents of the check button to the left.
5573 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5575 * src/hildon-pannable-area.c,
5576 (hildon_pannable_area_scroll_to),
5577 (hildon_pannable_area_jump_to),
5578 (hildon_pannable_area_scroll_to_child),
5579 (hildon_pannable_area_jump_to_child): Replace the mapped
5580 precondition of these functions with the realized, it is the
5581 correct state of the widget in this case. Changed the
5582 documentation according to this modification.
5584 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5586 Added a new EXTRA_CFLAGS option to add the deprecated define to
5587 the compilation command. This way we can avoid using the define in
5588 the documentation compilation.
5590 * configure.ac: Defined EXTRA_CFLAGS.
5592 * examples/Makefile.am:
5594 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5596 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5598 * src/hildon-picker-dialog.c:
5599 Defined a utility macro with the desired touch selector height
5600 Removed currently unused separator, and title_label variables from
5602 (hildon_picker_dialog_init): Removed code related to the creation
5603 of unused private variables title_label and separator.
5604 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5605 to ensure correct visualization of the touch selector inside the dialog.
5606 * src/hildon-touch-selector.c
5607 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5608 ensure a concrete height of the widget.
5610 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5613 * tests/Makefile.am:
5615 Remove spurious whitespaces.
5617 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5619 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5620 compilation warning after the cancel button removal.
5622 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5624 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5626 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5627 Makefile.am, that way we can choose not to compile some examples
5628 and tests of the deprecated widgets.
5630 * examples/Makefile.am: Divided the sources in deprecated and
5633 * src/Makefile.am: Added undef statement of the deprecated
5634 symbol to the enums file generation process.
5636 * src/hildon-color-chooser-dialog.c
5637 * src/hildon-color-chooser-dialog.h
5638 * src/hildon-color-button.c
5639 * src/hildon-color-button.h
5640 * src/hildon-color-chooser.c
5641 * src/hildon-color-chooser.h
5642 * src/hildon-controlbar.c
5643 * src/hildon-controlbar.h
5644 * src/hildon-date-editor.c
5645 * src/hildon-date-editor.h
5646 * src/hildon-hvolumebar.c
5647 * src/hildon-hvolumebar.h
5648 * src/hildon-private.c
5649 * src/hildon-private.h
5650 * src/hildon-range-editor.c
5651 * src/hildon-range-editor.h
5652 * src/hildon-seekbar.c
5653 * src/hildon-seekbar.h
5654 * src/hildon-time-editor.c
5655 * src/hildon-time-editor.h
5656 * src/hildon-time-picker.c
5657 * src/hildon-time-picker.h
5658 * src/hildon-volumebar.c
5659 * src/hildon-volumebar.h
5660 * src/hildon-vvolumebar.c
5661 * src/hildon-vvolumebar.h
5662 * src/hildon-bread-crumb-trail.h
5663 * src/hildon-bread-crumb-trail.c
5664 * src/hildon-calendar-popup.c
5665 * src/hildon-calendar-popup.h
5666 * src/hildon-weekday-picker.c:
5667 * src/hildon-weekday-picker.h:
5668 * src/hildon-bread-crumb-widget.c:
5669 * src/hildon-bread-crumb-widget.h:
5670 * src/hildon-bread-crumb.c:
5671 * src/hildon-bread-crumb.h:
5672 * src/hildon-calendar.c:
5673 * src/hildon-calendar.h:
5674 * src/hildon-caption.c:
5675 * src/hildon-code-dialog.c:
5676 * src/hildon-code-dialog.h:
5677 * src/hildon-font-selection-dialog.c:
5678 * src/hildon-font-selection-dialog.h:
5679 * src/hildon-get-password-dialog.c:
5680 * src/hildon-get-password-dialog.h:
5681 * src/hildon-login-dialog.c:
5682 * src/hildon-login-dialog.h:
5683 * src/hildon-number-editor.c:
5684 * src/hildon-number-editor.h:
5685 * src/hildon-set-password-dialog.c:
5686 * src/hildon-set-password-dialog.h:
5687 * src/hildon-sort-dialog.c:
5688 * src/hildon-sort-dialog.h: This is the list of deprecated
5691 * src/hildon-touch-selector.c:
5692 * src/hildon-window.c: Added undef statement to avoid compilation
5695 * tests/Makefile.am: Divided the sources in deprecated and
5698 * tests/check_test.c,
5699 (configure_tests): Marked the deprecated code that was adding
5700 suites with deprecated tests.
5702 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5704 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5706 * src/hildon-touch-selector.c: (_default_print_func): Do not
5707 duplicate a string returned by gtk_tree_model_get(), it is already
5710 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5713 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5715 * src/hildon-pannable-area.c
5716 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5717 method, it had problems when adding a widget with viewport the
5718 second time. Now checks if it already has a viewport and uses it.
5720 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5723 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5725 * src/hildon-pannable-area.c,
5726 (hildon_pannable_area_scroll_to),
5727 (hildon_pannable_area_jump_to),
5728 (hildon_pannable_area_scroll_to_child),
5729 (hildon_pannable_area_jump_to_child): Added a precondition to the
5730 scroll and jump to functions: the widget must be mapped before we
5731 can safely call these functions. We have also added documentation
5732 to the functions to explain how to use them in this situation.
5735 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5737 Reviewed the threading handling of the pannable widget, we have
5738 used the gdk_threads_add_timeout function instead of the usual
5739 glib handlers. This avoids some problems with the threads.
5741 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5742 (hildon_pannable_area_initial_effect),
5743 (hildon_pannable_area_scroll_indicator_fade),
5744 (hildon_pannable_area_button_press_cb),
5745 (hildon_pannable_area_timeout),
5746 (hildon_pannable_area_motion_notify_cb),
5747 (hildon_pannable_area_button_release_cb),
5748 (hildon_pannable_area_scroll_cb),
5749 (hildon_pannable_area_scroll_to): Removed the
5750 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5751 gdk_threads_add_timeout.
5753 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5755 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5760 * configure.ac: bump version
5761 * debian/changelog: updates
5763 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5765 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5766 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5767 * src/hildon-color-chooser-dialog.c:
5768 (hildon_color_chooser_dialog_init):
5769 * src/hildon-font-selection-dialog.c:
5770 (hildon_font_selection_dialog_init):
5771 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5773 Remove all cancel/close-like dialogs, as these are not going to be
5776 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5778 * src/hildon-note.c: (hildon_note_rebuild),
5779 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5782 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5784 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5786 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5787 sure all buttons are shown, even the Cancel/Close-like ones.
5789 Fixes: NB#90861 (Custom Confirmation dialogs should be
5790 protected from cancel button removal)
5792 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5794 * debian/control: Change libhildon1-examples dependency from libhildon1
5796 * debian/libhildon1-examples.install
5798 * Makefile.am: Modified the final install directory for the examples on
5799 package libhildon1-examples
5800 * Makefile.static: Update clean target in order to remove all the binary
5803 Changes suggested by Claudio after review new libhildon1-examples package
5805 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5807 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5808 * src/hildon-touch-selector.c: Ditto.
5810 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5812 * debian/control: Added new package libhildon1-examples, in order to pack
5813 the current hildon examples as documentation
5814 * debian/rules: Not to compress .c files, modify some includes on the
5815 examples (as normally are compiled locally, but when installed it will
5816 require to include the installed libhildon1 library), and rename
5818 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5819 install all the example files on the new example package
5820 * examples/Makefile.static: Added static makefile that can be used to
5821 compile the examples, once installed the new example package
5822 * examples: Most of the examples were modified in order to grant that
5823 all use only '#include "hildon.h"', in order to be easy to prepare
5824 it on the example package
5826 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5829 * debian/libhildon1-dev.install
5830 * debian/libhildon1-doc.install:
5831 Move all gtk-doc files to a separate libhildon1-doc package.
5833 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5835 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5837 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5839 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5841 * debian/rules: Fixed a error in order to avoid unnecessary calls
5842 to autogen.sh on package building
5844 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5846 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5848 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5850 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5853 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-picker-button.c
5856 (hildon_picker_button_finalize):
5857 Free priv->done_button_text
5859 * src/hildon-time-button.c
5860 (hildon_time_button_set_time)
5861 * src/hildon-picker-button.c
5862 (hildon_picker_button_clicked)
5863 (hildon_picker_button_selector_selection_changed)
5864 (hildon_picker_button_set_selector)
5865 * src/hildon-date-button.c
5866 (hildon_date_button_set_date):
5867 Free strings returned by hildon_touch_selector_get_current_text()
5869 * src/hildon-button.c (hildon_button_construct_child):
5870 Fix leaks in priv->image and priv->label_box
5872 Fixes: NB#90535 (Memory leak in picker button)
5874 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5876 * src/hildon-button.c: (hildon_button_get_property): Do not access
5877 private elements directly, use getters instead.
5879 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5881 * src/hildon-app-menu-private.h
5882 * src/hildon-app-menu.c
5883 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5884 Store the menu's parent window.
5886 * src/hildon-stackable-window.c
5887 (hildon_stackable_window_toggle_menu)
5888 (hildon_stackable_window_finalize):
5889 Set the menu's parent window when the menu is shown, unset it when
5892 * src/hildon-app-menu.c
5893 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5894 (hildon_app_menu_class_init):
5895 Send unhandled keyboard accelerators to the parent window.
5897 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5899 * src/hildon-stackable-window.c
5900 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5902 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5904 * configure.ac: post release version bump
5906 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5909 * configure.ac: Bump version
5910 * debian/changelog: Updates
5911 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5914 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5916 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5919 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5920 GtkMenu with Hildon style.
5922 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5924 * src/hildon-picker-button.c:
5925 (hildon_picker_button_set_done_button_text): Set the dialog's
5926 done button text here as well.
5928 Fixes: NB#90232 (Picker button does not set the label on done button
5929 for the second time)
5931 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5933 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5936 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5938 * src/hildon-app-menu.c (hildon_app_menu_insert)
5939 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5940 the HildonAppMenu to be activatable using keyboard accelerators
5941 when the menu is not being shown.
5943 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5945 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5947 * src/hildon-stackable-window.c
5948 (hildon_stackable_window_show):
5949 Don't hide old windows automatically when new windows are shown:
5950 this is now a task for the window manager.
5951 (hildon_stackable_window_class_init)
5952 (hildon_stackable_window_hide):
5953 Remove windows from the stack everytime they're hidden.
5954 (hildon_stackable_window_realize):
5955 Don't change the _NET_WM_WINDOW_TYPE property. Use
5956 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5957 it as a stackable window.
5959 * src/hildon-program.c
5960 (hildon_program_pop_window_stack):
5961 Just hide the window to remove it from the stack.
5962 (hildon_program_go_to_root_window):
5963 Don't call gtk_widget_show(), this is now a task for the window
5966 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5968 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5970 * src/hildon-button.c
5971 (hildon_button_construct_child):
5972 Don't pack anything in the button until text or image are
5973 set. This allows adding a custom child after creating the button
5974 with hildon_button_new().
5975 (hildon_button_finalize, hildon_button_class_init)
5976 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5977 alignment and the label box even when they're not packed in the
5980 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5982 * src/hildon-touch-selector.h:
5983 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5984 currently the type definition was using GTK_TYPE_VBOX
5985 * src/hildon-touch-selector.c:
5986 Added some implementation notes in order to clarify that any other widget
5987 added without the column related API will not be included on the
5988 selection logic, and how the widget is freed, as some people ask about
5990 (hildon_touch_selector_remove): Reimplemented in order to free properly
5991 the column related data when you remove the private hbox.
5992 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5993 to get a proper HildonTouchSelectorColumn documentation
5995 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5997 * src/hildon-touch-selector-entry.c:
5998 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5999 text in the GtkEntry and there is no item selected. Fixes a
6002 2008-10-13 Alberto Garcia <agarcia@igalia.com>
6004 * src/hildon-app-menu-private.h
6005 * src/hildon-app-menu.[ch]
6006 * src/hildon-button.[ch]
6007 * src/hildon-check-button.[ch]
6008 * src/hildon-entry.[ch]
6009 * src/hildon-pannable-area.[ch]
6010 * src/hildon-text-view.[ch]:
6011 Added private field to the object's structure.
6013 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6015 * configure.ac: post-release version bump
6017 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6021 * configure.ac: pre-release version bump
6023 * debian/changelog: updates.
6025 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6027 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6028 Disconnect the handler for HildonTouchSelector::changed.
6030 (hildon_picker_button_selector_selection_changed): Update the button
6031 value if the selection change was not triggered by the
6034 (hildon_picker_button_set_selector): connect to
6035 HildonTouchSelector::changed.
6037 Fixes: NB#89650 (Picker button is not updated, when selection in
6038 selector has changed)
6040 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6042 * src/hildon-picker-dialog.c
6043 (hildon_picker_dialog_realize): Removed as not required
6044 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6045 * src/hildon-picker-button.c
6046 (_current_selector_empty): New function, checks if the selector is empty
6047 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6048 if the current selector is empty, in order to avoid to show the dialog
6049 close the dialog in this case (and shows a g_warning).
6051 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6053 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6055 * src/hildon-pannable-area.c,
6056 (hildon_pannable_area_scroll): Added clause to stop movement when
6057 the child of pannable is smaller than one page.
6058 (hildon_pannable_area_scroll_to): Added conditions to avoid
6059 starting the scrolling movement if the child is smaller than one
6060 page, the complete child is in the screen, we do not have to move.
6062 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6064 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6066 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6067 this is managed automatically by the widget when the size of the
6070 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6072 * src/hildon-picker-button.c
6073 (hildon_picker_button_set_done_button_text): Make a copy of the
6074 text, and free the previous value.
6076 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6078 * src/hildon-touch-selector-entry.c:
6079 (hildon_touch_selector_entry_print_func): Return the selected row's
6080 text if the entry is empty.
6082 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6085 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6087 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6089 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6092 * src/hildon-check-button.h
6093 * src/hildon-check-button.c
6094 * examples/hildon-check-button-example.c:
6095 HildonCheckButton is now a new widget. 'toggled' signal added.
6097 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6099 * src/hildon-program-private.h
6100 * src/hildon-program.c (hildon_program_init)
6101 (hildon_program_finalize): Removed unused variables group_leader
6102 and name from HildonProgramPrivate.
6104 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6106 * src/hildon-check-button.c (hildon_check_button_set_active)
6107 (hildon_check_button_get_active, hildon_check_button_new): Use
6108 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6110 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6112 * src/hildon-touch-selector.h
6113 (hildon_touch_selector_set_column_attributes): added deprecation
6114 guard HILDON_DISABLE_DEPRECATED
6115 * src/hildon-time-selector.c
6116 (hildon_time_selector_set_time)
6117 (hildon_time_selector_get_time): Fixed a typo on documentation
6118 * src/hildon-touch-selector.c: update HildonTouchSelector and
6119 HildonTouchSelectorColumn documentation
6120 * src/hildon-touch-selector-entry.c: update "text-column" property
6122 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6123 to be added to the general documentation.
6125 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6127 * examples/hildon-pannable-area-example-4.c,
6129 * examples/hildon-pannable-area-example.c,
6130 (main): Modified the code in order to use the container add, with
6131 viewport treeviews could have problems if they are really big.
6133 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6135 * src/hildon-weekday-picker.c,
6136 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6137 the agreement regarding deprecation in the library.
6139 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6141 * examples/hildon-picker-button-multicolumn-example.c:
6142 (main): Use custom "done" button text.
6144 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6145 (hildon_picker_button_set_property),
6146 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6147 (hildon_picker_button_init),
6148 (+hildon_picker_button_get_done_button_text),
6149 (+hildon_picker_button_set_done_button_text): New methods to customize
6150 the "done" button label in the launched HildonPickerDialog. Also,
6153 * src/hildon-picker-button.h: add the public API.
6155 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6157 * src/hildon-date-selector.h:
6158 * src/hildon-picker-dialog.h:
6159 * src/hildon-time-selector.h:
6160 * src/hildon-touch-selector-column.h:
6161 * src/hildon-touch-selector.h:
6163 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6164 declarations. Fixes gtk-doc warnings.
6166 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6168 * src/hildon-picker-dialog.h
6169 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6170 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6172 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6173 long text is set as label for done button)
6175 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6177 * src/hildon-dialog.c (hildon_dialog_add_button):
6178 Set fixed width to all buttons in the HildonDialog.
6180 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6182 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6184 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6185 Set widget name using class name plus "-finger" or "-thumb".
6187 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6189 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6190 'clicked' when the state of the button is manually changed.
6192 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6194 * src/hildon-app-menu.c (hildon_app_menu_realize)
6195 (hildon_app_menu_unrealize, hildon_app_menu_init)
6196 (hildon_app_menu_class_init, item_visibility_changed):
6197 Change the menu layout when the size of the screen changes.
6198 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6199 Show warning only when changing the number of colums using the
6202 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6204 * debian/compat: Set to 5
6205 * debian/control: Update dependencies.
6206 * debian/libhildon1-dbg.install: Remove.
6207 * debian/libhildon1-dev.install: Update according to cdbs paths.
6208 * debian/libhildon1.install: Update according to cdbs paths.
6209 * debian/rules: Switch to cdbs.
6211 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6214 'item' variable renamed to 'filter'
6216 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6218 * src/hildon-app-menu.c (hildon_app_menu_insert)
6219 (hildon_app_menu_add_filter, remove_item_from_list)
6220 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6221 Don't leak hidden items when the menu is destroyed.
6223 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6225 * src/hildon-app-menu.c (hildon_app_menu_insert)
6226 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6227 (hildon_app_menu_set_columns, item_visibility_changed)
6228 (filter_visibility_changed, hildon_app_menu_repack_filters)
6229 (hildon_app_menu_repack_items):
6230 Repack items and filters separately.
6232 Don't repack all items, change only the ones that are needed to
6235 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6237 * src/Makefile.am: added hildon-touch-selector-column.h
6239 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6241 * src/hildon-touch-selector.c: added the property "text-column" to the
6242 class HildonTouchSelectorColumn, and related get/set functions
6243 (_default_printf_func): updated to use "text-column" property
6244 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6245 "text-column" in his documentation, as this is now included on
6246 HildonTouchSelectorColumn. The get/set_property can still be used,
6247 working as a wrapper to the concrete column "text-column" property
6248 (_text_column_modified): callback added in order to handle the signal
6249 "notify::text-column" of the concrete HildonTouchSelectorColumn
6250 (hildon_touch_selector_entry_get_text_column)
6251 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6252 modified in order to use the HildonTouchSelectorColumn "text-column"
6254 * src/hildon-time-selector.c:
6255 * src/hildon-date-selector.c:
6256 * examples/hildon-touch-selector-example.c
6257 * examples/hildon-touch-selector-multi-cells-example.c
6258 * examples/hildon-picker-button-multicolumn-example.c
6259 Set the right value to "text-column" property on the creation of a new
6260 column using hildon_touch_selector_append_column()
6262 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6264 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6266 * src/hildon-app-menu.c
6267 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6268 updating the layout of the menu, don't create all widgets again,
6269 just repack the items in their new places.
6271 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6273 * src/hildon-time-selector.c
6274 (hildon_time_selector_get_time)
6275 (hildon_time_selector_set_time)
6276 Added documentation of these public methods
6278 * src/hildon-date-button.h
6279 * src/hildon-touch-selector-column.h
6280 * src/hildon-time-button.h
6281 * src/hildon-picker-dialog.h
6282 * src/hildon-time-selector.h
6283 * src/hildon-picker-button.h
6284 * src/hildon-touch-selector.h
6285 * src/hildon-time-picker.h
6286 * src/hildon-date-selector.h
6287 * src/hildon-touch-selector-entry.h
6288 Modified in order to use hildon-widgets code style
6290 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6292 Added deprecated support to the compilation process using
6293 HILDON_DISABLE_DEPRECATED
6295 * configure.ac: Added the --disable-deprecated to the configure
6298 * src/hildon-weekday-picker.c:
6299 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6300 to use the deprecated support. We will update the other deprecated
6301 widgets status in a new patch.
6303 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6305 * configure.ac: Fixed typo with fatal warnings support, the
6306 variable name was not correct
6308 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6310 * src/hildon-app-menu.c
6311 * src/hildon-program.c: Update documentation.
6313 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6315 * configure.ac: Post-release version bump.
6317 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6322 * configure.ac: Pre-release version bump.
6323 * debian/changelog: Updates.
6325 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6327 * NEWS: Update news for previous releases.
6329 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6331 * examples/hildon-touch-selector-multi-cells-example.c:
6332 (create_selector): Update the example to use
6333 hildon_touch_selector_append_column() with a NULL renderer and set
6334 the renderers later.
6335 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6336 passed a NULL renderer. This is documented behavior now.
6338 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6339 This must be used if the developer wants full control on the layout of
6340 the renderers to be added to the column.
6342 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6344 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6346 * src/hildon-touch-selector.c: Documentation fixes.
6348 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6350 * src/hildon-wizard-dialog-private.h: Remove image and box.
6351 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6352 (hildon_wizard_dialog_set_property), (response): Completely remove
6353 image/icon support, and the containers required for the layout.
6355 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6357 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6359 * src/hildon-app-menu.c: Updated documentation.
6361 * src/hildon-stackable-window.c
6362 (hildon_stackable_window_set_main_menu): Unref the old menu after
6363 ref'ing the new one.
6365 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6367 * src/hildon-stackable-window.c
6368 (hildon_stackable_window_set_main_menu): Unref the previous menu
6369 instead of destroying it.
6371 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6372 floating reference and set has_user_ref_count to FALSE to make
6373 HildonAppMenu act like a normal ref-counted widget and not a
6376 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6379 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6381 * src/hildon-touch-selector-column.h: new file
6382 * src/hildon-touch-selector.h
6383 * src/hildon-touch-selector.c
6384 Implemented GtkCellLayout interface, in order to allow to configure
6385 the cell layout on each individual selector column
6386 (hildon_touch_selector_set_column_attributes): marked as deprecated
6387 * examples/hildon-touch-selector-multi-cells-example.c
6388 Example of how to use the GtkCellLayout interface on the selector
6390 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6392 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6394 * src/hildon-app-menu.h
6395 * src/hildon-app-menu.c
6396 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6397 (hildon_app_menu_append, hildon_app_menu_prepend):
6398 New methods to prepend, insert and move items in the menu.
6400 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6402 * src/hildon-wizard-dialog.c:
6404 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6406 (create_title): Update logical IDs and related code.
6407 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6409 * src/hildon-wizard-dialog.h: Note that
6410 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6411 point, as it is not used anymore.
6413 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6415 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6417 * src/hildon-note.c:
6418 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6419 shown. Do not display an icon in confirmation notes nor information
6421 (hildon_note_set_button_text): Update logical ID for cancel button.
6423 Fixes: NB#88850 (Update HildonNote button strings + signals)
6425 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6427 * src/hildon-stackable-window.c
6428 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6430 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6432 * src/hildon-app-menu-private.h
6433 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6434 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6435 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6436 temporary property 'columns' to change the number of columns.
6438 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6440 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6442 * examples/hildon-note-example.c: (on_information_clicked),
6443 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6444 debugging information.
6445 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6447 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6448 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6449 in order to close: this will be handled by the WM from now on.
6451 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6453 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6455 * src/hildon-app-menu-private.h
6456 * src/hildon-app-menu.c
6457 (hildon_app_menu_append, hildon_app_menu_add_filter)
6458 (button_visibility_changed, hildon_app_menu_apply_style)
6459 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6460 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6461 layout everytime a button (item or filter) is shown or hidden.
6463 * src/hildon-stackable-window.c
6464 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6467 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6469 * src/hildon-touch-selector.c:
6470 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6471 that the treeview inside the touch selector is in fremantle hildon mode
6472 * examples/hildon-date-button-example.c
6473 * examples/hildon-picker-button-multicolumn-example.c
6474 * examples/hildon-touch-selector-entry-example.c
6475 * examples/hildon-touch-selector-example.c
6476 * examples/hildon-time-button-example.c
6477 * examples/hildon-picker-button-example.c:
6478 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6480 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6482 * examples/hildon-text-view-example.c: (main): Remove the
6483 gtkrc bits, now handled by the theme.
6485 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6487 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6490 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6492 * po/Makefile.am: Install properly the mo files.
6493 * po/en_GB.po: Update translation, to ease testing purposes.
6495 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6497 * examples/hildon-picker-button-example.c: (main): Select an item
6498 in the selector before setting it to the button.
6500 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6502 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6503 Update button's value if the selector has an item active.
6505 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6506 'value' with the selector)
6508 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6510 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6511 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6512 (hildon_picker_button_class_init): Plug the finalize method.
6513 (hildon_picker_button_set_selector): If there's a previously set
6514 selector, unref'it before setting a new one.
6516 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6517 HildonTouchSelector)
6519 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6521 * src/hildon-touch-selector-entry.c:
6522 (hildon_touch_selector_entry_changed): Check if there is no text
6523 selected before setting the entry text.
6526 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6528 * src/hildon-touch-selector.h
6529 * src/hildon-touch-selector.c
6530 (hildon_touch_selector_get_active)
6531 (hildon_touch_selector_set_active): New methods to set/get the
6532 index of the selected item.
6534 * src/hildon-picker-button.h
6535 * src/hildon-picker-button.c
6536 (hildon_picker_button_get_active)
6537 (hildon_picker_button_set_active): New methods to set/get the
6538 index of the selected item.
6540 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6542 * configure.ac: post-release version bump.
6544 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6548 * configure.ac: Pre-release version bump.
6549 * debian/changelog: Updates.
6550 * debian/control: Add myself as maintainer and depend on l10n
6553 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-window.c
6556 (hildon_window_set_main_menu)
6557 * src/hildon-stackable-window.c
6558 (hildon_stackable_window_set_main_menu):
6559 Updated documentation.
6561 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6563 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6564 Don't free selector->priv manually.
6567 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6570 (hildon_gtk_window_set_progress_indicator):
6571 * src/hildon-gtk.h: Added the new API
6572 hildon_gtk_window_set_progress_indicator, it changes the state of
6573 the window progress hint.
6575 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6577 * src/hildon-button.c
6578 * src/hildon-stackable-window.c: Minor documentation updates.
6580 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6582 * src/hildon-stackable-window.c: Updated documentation.
6584 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6586 * src/hildon-defines.h: Update margins definitions
6587 to the Fremantle sizes.
6590 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6592 * src/hildon-touch-selector.c,
6593 (_hildon_touch_selector_set_model): Cleaning the code after
6594 review, removed g_print and #if 0 from the code.
6596 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6598 * src/hildon-edit-toolbar.c: Update documentation.
6600 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6602 * src/hildon-check-button.h
6603 * src/hildon-check-button.c
6604 (hildon_check_button_set_label, hildon_check_button_get_label)
6605 * examples/hildon-check-button-example.c
6606 (button_clicked_cb):
6607 Removed deprecated methods.
6609 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6611 * src/hildon-text-view.c:
6612 Add sample code to the documentation.
6614 * src/hildon-entry.h
6615 * src/hildon-text-view.h:
6616 Minor cosmetic changes.
6618 * src/hildon-entry.c:
6619 Add sample code to the documentation.
6620 (hildon_entry_init, hildon_entry_refresh_contents):
6621 Don't allow NULL values in the placeholder.
6623 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6625 * doc/hildon-docs.sgml
6627 * examples/Makefile.am
6628 * examples/hildon-text-view-example.c
6630 * src/hildon-text-view.c
6631 * src/hildon-text-view.h
6633 New HildonTextView widget, with example.
6635 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6637 * po/POTFILES.in: Add missing files with translatable strings.
6638 Partially fixes NB#88287.
6640 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6642 * examples/hildon-pannable-area-example-2.c: (main): No need to
6643 set the cellrenderer height inside hildon touch lists, the theme does
6646 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6648 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6649 they are integrated in the theme.
6651 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6653 * examples/hildon-entry-example.c: Update the example adding
6654 widgets to modify the text and the placeholder of the HildonEntry.
6656 * src/hildon-entry.c: Show the placeholder everytime the widget
6657 is empty and loses the focus.
6659 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6661 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6663 * src/hildon-pannable-area.c,
6664 (hildon_pannable_area_size_request): Fixed bug in height
6665 requisition, avoid increasing size and add border twice.
6667 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6669 * configure.ac: postrelease version bump.
6671 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6675 * configure.ac: Prerelease version bump.
6676 * debian/changelog: update.
6677 * debian/rules: make -dbg package contain useful debugging symbols.
6679 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6681 * src/hildon-dialog.h
6682 * src/hildon-dialog.c
6683 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6684 New methods to add buttons with finger size.
6685 (hildon_dialog_new_with_buttons):
6686 Create buttons with finger size.
6688 * examples/hildon-dialog-example.c (main): Use HildonDialog
6689 methods to add buttons.
6691 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6693 * src/hildon-entry.c: Updated HildonButton documentation.
6695 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6697 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6698 button value label with (FALSE, FALSE) to prevent NB#88126 from
6701 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6703 * examples/hildon-pannable-area-example.c,
6704 (main): Removed examples panning a vbox inside a pannable
6705 area. Check bug NB#87965
6707 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6709 Patch contributed by Kris Rietveld (kris@imendio.com)
6711 * src/hildon-pannable-area.c,
6712 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6713 get_size and get_position, this saves an X server roundtrip.
6715 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6717 * doc/hildon-docs.sgml
6719 * examples/Makefile.am
6720 * examples/hildon-entry-example.c
6722 * src/hildon-entry.c
6723 * src/hildon-entry.h
6725 New HildonEntry widget, with example.
6727 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6729 * src/hildon-button.c (hildon_button_construct_child): Pack the
6730 image with expand == fill == FALSE. This is a workaround for a bug
6733 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6735 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6736 labels for the text column, to make it more look more dynamic.
6738 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6740 * src/hildon-time-selector.c
6741 Define gettext auxiliar macro N_
6742 (_create_minutes_model)
6743 (_create_hours_model)
6744 (_create_ampm_model): use of strftime in order to fill the model
6745 * src/hildon-date-selector.c
6746 (hildon_date_selector_finalize):
6747 (_locales_init): remove the logic related to get the name of the months
6748 using nl_langinfo, as it is not required anymore
6750 (_create_year_model)
6751 (_create_month_model)
6752 (_update_day_model): use of strftime in order to fill the model properly
6755 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6757 * src/hildon-button.h
6758 * src/hildon-button.c (hildon_button_get_image): New method to
6761 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6763 * src/hildon-touch-selector.c:
6764 (hildon_touch_selector_remove_column): Remove from the correct parent
6765 and also remove the list element and free it.
6768 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6770 * src/hildon-time-selector.c
6771 (_create_hours_model): change the range on 12h ampm format in order to use
6772 a 12-11 range instead of previous 01-12 range
6773 (hildon_time_selector_set_time): change the way to select the current time
6774 on 12h ampm format, due the change on the range
6775 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6778 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6780 * src/hildon-touch-selector.c
6781 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6782 in order to allow use this function on multiple row selection mode if
6783 the column is different that the first one
6786 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6788 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6789 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6791 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6793 * src/hildon-date-selector.h: clean some comments, now on the .c
6794 * src/hildon-date-selector.c
6795 (hildon_date_selector_select_month): first implementation
6796 (hildon_date_selector_select_day): added documentation, reimplemented
6797 using hildon_date_selector_select_current_date to avoid repeat code
6800 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6802 Reviewed interaction logic based on device experiences, refactored
6805 * src/hildon-pannable-area.c,
6806 (hildon_pannable_area_class_init): Updated default vmax speed.
6807 (hildon_pannable_area_calculate_velocity): Added this function, it
6808 avoids duplicate valocity calculation. Adjusted calculation to
6809 avoid problems with zero dist events.
6811 (hildon_pannable_area_motion_notify_cb): Now we use the
6812 calculate_velocity function.
6814 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6816 * src/hildon-date-selector.c
6817 (hildon_date_selector_select_current_date): fix the day range check
6818 as it failed using the last day of the current month
6821 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6823 * src/hildon-touch-selector.c
6824 (hildon_touch_selector_get_num_columns): added a parameter validation
6827 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6829 * examples/Makefile.am
6830 * examples/hildon-edit-toolbar-example.c: Example of the
6831 HildonEditToolbar widget.
6833 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6835 * configure.ac: postrelease version bump.
6837 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6841 * configure.ac: prerelease version bump.
6842 * debian/changelog: update.
6844 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6846 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6847 renderer to display stock icons in the touch list. Also, set the sizes
6848 to the recommended in the style guide.
6850 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6851 * src/hildon-touch-selector.h
6852 (hildon_touch_selector_set_active_iter): renamed, now is
6853 hildon_touch_selector_select_iter
6854 (hildon_touch_selector_get_active_iter): renamed, now is
6855 hildon_touch_selector_get_selected
6856 (hildon_touch_selector_unselect_iter): added
6857 * src/hildon-touch-selector.c
6858 Update after API modification (methods renamed)
6859 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6860 order to avoid problems selecting multiple elements on the column
6861 (hildon_touch_selector_unselect_iter): added the implementation
6862 * src/hildon-time-selector.c
6863 * src/hildon-date-selector.c
6864 * src/hildon-touch-selector-entry.c
6865 Update methods calls after hildon-touch-selector.h API modification (methods
6868 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6870 * src/hildon-stackable-window.c
6871 (hildon_stackable_window_finalize): Call the parent class's finalize.
6873 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6875 * examples/hildon-touch-selector-example.c: (create_selector): Use
6876 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6879 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6881 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6882 set a cell background color, to respect theming.
6884 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6886 * doc/hildon-docs.sgml
6889 * src/hildon-edit-toolbar.c
6890 * src/hildon-edit-toolbar.h
6891 * src/hildon.h: New HildonEditToolbar widget.
6893 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6895 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6898 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6899 * src/hildon-touch-selector.c
6900 (_create_new_column): use g_object_set instead of two g_object_set_property
6902 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6903 * src/hildon-touch-selector.c
6904 (_create_new_column): use of hildon_gtk_tree_view_new to create
6905 the treeview, instead of use directly g_object_new
6906 (_create_new_column): update the property name "vindicator-mode" for the
6907 new one "vscrollbar-policy"
6908 * examples/hildon-date-button-example.c
6909 * examples/hildon-picker-button-multicolumn-example.c
6910 * examples/hildon-touch-selector-entry-example.c
6911 * examples/hildon-touch-selector-example.c
6912 * examples/hildon-time-button-example.c
6913 * examples/hildon-picker-button-example.c
6914 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6915 to all the treeviews inside a pannable area.
6917 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6919 * src/hildon-button.h
6920 * src/hildon-button.c (hildon_button_init)
6921 (hildon_button_set_arrangement, hildon_button_set_alignment)
6922 (hildon_button_set_title_alignment)
6923 (hildon_button_set_value_alignment)
6924 (hildon_button_set_image_alignment)
6925 (hildon_button_construct_child): New methods to set the alignment
6926 of the individual components of the button (title, value,
6927 image). Also, new method to alter the xscale and yscale properties
6928 of the GtkAlignment inside the button, so more complex layouts can
6931 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6933 * src/hildon-button.c (hildon_button_style_set)
6934 (hildon_button_class_init, hildon_button_set_arrangement)
6935 (hildon_button_construct_child): Apply style properties
6936 correctly. Use the 'image-spacing' style property too.
6938 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6940 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6941 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6944 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6946 * src/hildon-pannable-area.c,
6947 (hildon_pannable_area_size_request): Fixed problem with
6948 pannable-area size_request.
6950 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6952 Added management for the grab-focus to a child widget, like a
6953 range, we need to fade out the scrollbar when releasing.
6955 * src/hildon-pannable-area.c,
6956 (hildon_pannable_area_init): Connected the grab-focus signal to
6958 (hildon_pannable_area_grab_notify): Added this function in order
6959 to manage the situation when the grab-focus ends. We have to
6960 fade-out the scrollbar.
6962 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6964 * src/hildon-app-menu.c: Minor documentation update.
6966 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6968 * src/hildon-app-menu.c
6969 * examples/hildon-app-menu-example.c (create_menu): Update
6970 examples and documentation to explain how to connect callbacks.
6972 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6974 * examples/hildon-button-example.c
6975 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6976 hildon_stackable_window_new instead of gtk_window_new
6978 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6980 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6981 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6982 (hildon_pannable_area_set_property),
6983 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6984 (hildon_pannable_area_unrealize),
6985 (hildon_pannable_area_size_request),
6986 (hildon_pannable_area_size_allocate),
6987 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6988 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6989 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6990 (hildon_pannable_area_initial_effect),
6991 (hildon_pannable_area_redraw),
6992 (hildon_pannable_area_scroll_indicator_fade),
6993 (hildon_pannable_area_expose_event),
6994 (hildon_pannable_area_get_topmost), (synth_crossing),
6995 (hildon_pannable_area_button_press_cb),
6996 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6997 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6998 (hildon_pannable_area_motion_notify_cb),
6999 (hildon_pannable_area_button_release_cb),
7000 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
7001 (hildon_pannable_area_remove),
7002 (hildon_pannable_calculate_vel_factor): Widget refactorization,
7003 chage the code layout to a more GtkWidget like. Review the use of
7006 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7008 * examples/hildon-pannable-area-example-4.c,
7009 (main): Modified the name of the hindicator_mode to
7012 * src/hildon-pannable-area.c,
7013 (hildon_pannable_area_class_init),
7014 (hildon_pannable_area_motion_notify_cb),
7015 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7016 we have reduced the amount of signals and managed reviewed its
7017 rationale. Changed the default decelerate value.
7019 (hildon_pannable_area_add),
7020 (hildon_pannable_area_redraw): Refactored functions.
7022 (hildon_pannable_area_init),
7023 (hildon_pannable_area_get_property),
7024 (hildon_pannable_area_set_property):
7025 (hildon_pannable_draw_vscroll),
7026 (hildon_pannable_draw_hscroll),
7027 (hildon_pannable_area_initial_effect),
7028 (hildon_pannable_area_expose_event),
7029 (hildon_pannable_area_scroll),
7030 (hildon_pannable_area_button_press_cb),
7031 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7032 and vindicator_mode with hscrollbar_policy and
7033 vscrollbar_policy. Replaced hscroll and vscroll with
7034 hscroll_visible and vscroll_visible.
7036 (hildon_pannable_area_refresh): Refactor the function, remove
7037 variables and check the calls to this function, added resize
7038 conditions in case the children change their layout.
7040 (hildon_pannable_area_size_request): Added more detailed
7041 size_request calculation.
7044 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7046 * src/hildon-color-chooser.c
7047 (init_borders): use the correct gtk_border_free instead of g_free, to
7048 avoid a crash when this widget is used (ie: the three color selection
7051 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7053 * src/hildon-check-button.c,
7054 (hildon_check_button_set_active): Fixed problem when setting the
7055 active value, the widget was not redrawn.
7057 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7059 * src/hildon-pannable-area.c,
7060 (hildon_pannable_area_refresh),
7061 (hildon_pannable_area_scroll),
7062 (hildon_pannable_area_motion_notify_cb): Small code style change.
7064 (hildon_pannable_area_class_init): Default initial_hint set to
7065 FALSE, it is not in the specs.
7067 (hildon_pannable_area_initial_effect),
7068 (hildon_pannable_area_expose_event),
7069 (hildon_pannable_area_map),
7070 (hildon_pannable_area_init): Moved the launching point of the
7071 initial effect, it was in map but the sizes where not correct in
7072 that method so we do not know if we have the reproduce it. Now it
7073 is placed in the expose_event method and uses a variable to
7074 reproduce it just once.
7076 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7078 * src/hildon-pannable-area.c,
7079 (hildon_pannable_draw_vscroll),
7080 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7081 position allowed for the scrollbars.
7083 (hildon_pannable_area_size_allocate): Small style change.
7085 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7087 * src/hildon-pannable-area.c,
7088 (hildon_pannable_area_scroll_indicator_fade),
7089 (hildon_pannable_area_button_press_cb),
7090 (hildon_pannable_area_button_release_cb),
7091 (hildon_pannable_area_scroll_cb),
7092 (hildon_pannable_area_expose_event),
7093 (hildon_pannable_area_init): Added the define parameter
7094 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7095 and refactor the fade variable.
7097 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7099 * src/hildon-pannable-area.c,
7100 (hildon_pannable_area_redraw),
7101 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7102 lines, we were reimplemeting the redraw code.
7104 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7106 * src/hildon-pannable-area.c,
7107 (hildon_pannable_area_scroll_cb),
7108 (hildon_pannable_area_realize),
7109 (hildon_pannable_area_class_init): Added scroll_event management
7110 for pannable area, now we can scroll the usual desktop method.
7112 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7113 initialization of the parameters should depend on idle_id.
7115 (hildon_pannable_area_init),
7116 (hildon_pannable_area_map): Small code style modifications
7118 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7120 * src/hildon-pannable-area.c
7121 (hildon_pannable_area_button_press_cb),
7122 (hildon_pannable_area_motion_notify_cb),
7123 (hildon_pannable_area_button_release_cb),
7124 (hildon_pannable_area_size_allocate),
7125 (hildon_pannable_area_scroll_to): Improved the timeouts
7126 management, we avoid creating them each time.
7128 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7130 * src/hildon-pannable-area.c:
7131 (hildon_pannable_area_refresh),
7132 (hildon_pannable_area_motion_notify_cb),
7133 (hildon_pannable_area_class_init):
7134 * src/hildon-pannable-area.h:
7135 * src/hildon-touch-selector.c
7136 (_create_new_column):
7137 * examples/hildon-pannable-area-example-4.c:
7138 (horizontal_movement),
7139 (vertical_movement),
7141 Replaced the names of enums in the HildonPannableArea:
7142 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7143 HILDON_MOVEMENT_MODE_*
7144 - HILDON_PANNABLE_AREA_MOV_* ->
7146 - Removed HildonPannableAreaIndicatorMode, now we
7149 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7151 * examples/hildon-pannable-area-touch-grid-example.c
7152 * examples/hildon-pannable-area-touch-list-example.c: Fix
7153 compilation warnings.
7155 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7157 * src/hildon-gtk.c (hildon_gtk_button_new)
7158 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7159 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7160 images overriding the value of the "gtk-button-images" setting.
7162 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7164 * src/hildon-check-button.c (hildon_check_button_new):
7165 Instead of using a custom container, display the label and the
7166 checkbox using the standard GtkButton API.
7168 * examples/hildon-check-button-example.c (main): Don't use
7169 hildon_check_button_set_label() anymore
7171 * src/hildon-check-button.h
7172 * src/hildon-check-button.c
7173 (hildon_check_button_set_label, hildon_check_button_get_label):
7174 Set as deprecated, now we're using gtk_button_{get,set}_label()
7176 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7178 * src/hildon-pannable-area.c,
7179 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7180 GtkTreeview first line we detected it after the inclusion of the
7181 GtkWindowImpl in gtk+. We now check if the window is visible, not
7182 just if the pointer is over the window.
7183 (hildon_pannable_axis_scroll),
7184 (hildon_pannable_area_expose_event): Small style changes.
7186 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7188 * src/hildon-button.c: Update documentation.
7190 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7192 * examples/hildon-button-example.c: Add a switch to show images in
7195 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7197 * doc/hildon-docs.sgml: Some docs reorganization.
7199 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7201 * examples/hildon-pannable-area-touch-list-example.c
7203 * examples/hildon-pannable-area-touch-grid-example.c
7204 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7205 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7206 Fix memory leak when setting the tree model.
7208 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7212 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7214 * doc/hildon.types: Remove duplicated hildon_window_get_type
7215 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7216 documentation comment.
7218 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7220 * doc/Makefile.am: Complete list of private headers.
7222 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7224 * doc/hildon-docs.sgml
7225 * src/hildon-app-menu.c
7226 * src/hildon-bread-crumb.c
7227 * src/hildon-button.c
7229 * src/hildon-program.c
7230 * src/hildon-stackable-window.c
7231 * src/hildon-window.c: Lots of documentation updates.
7233 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7235 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7237 * configure.ac: Require Gtk+ 2.12.9 at least
7239 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7241 * src/hildon-pannable-area.c
7242 (hildon_pannable_area_scroll_indicator_fade),
7243 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7244 to protect the return of this timeout callbacks, avoiding deadlocks.
7246 2008-08-12 Christian Dywan <christian@imendio.com>
7249 * src/hildon-*.h: Ensure a consistent include order,
7250 include <gtk/gtk.h> instead of particular files and
7251 only include the topmost header in the gtk stack. See NB #39857
7253 2008-08-12 Christian Dywan <christian@imendio.com>
7255 * src/hildon-picker-dialog.c
7256 * src/hildon-touch-selector.c: Fix warnings about unused and
7257 uninitialized variables.
7259 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7261 * examples/Makefile.am
7262 * examples/hildon-check-button-example.c: Example of the hildon
7265 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7267 * src/hildon-window.h
7268 * src/hildon-window.c (hildon_window_class_init)
7269 (hildon_window_unset_program): Don't make
7270 hildon_window_unset_program a virtual function anymore.
7272 * src/hildon-stackable-window.c: Update documentation
7274 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7277 * doc/hildon-docs.sgml
7278 * doc/visual_index.xml
7279 * src/hildon-defines.c
7281 * src/hildon-helper.c
7282 * src/hildon-range-editor.c: Lots of documentation fixes.
7284 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7286 * examples/hildon-picker-button-multicolumn-example.c
7287 (create_touch_selector): Fix compilation warning.
7289 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7291 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7292 (hildon_pannable_area_button_release_cb)
7293 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7295 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7297 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7300 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7302 * src/hildon-bread-crumb-trail.h
7303 * src/hildon-date-editor.c
7304 * src/hildon-date-selector.c
7305 * src/hildon-pannable-area.c
7306 * src/hildon-picker-dialog.c
7307 * src/hildon-time-selector.c
7308 * src/hildon-touch-selector-entry.c
7309 * src/hildon-touch-selector.c
7310 * src/hildon-touch-selector.h: Misc documentation fixes
7312 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7314 * examples/hildon-date-editor-example.c (main): Updated date
7317 * examples/hildon-note-example.c (on_confirmation_clicked):
7318 Updated confirmation note example.
7320 * src/hildon-date-editor.c
7321 * src/hildon-note.c: Updated sample programs in documentation.
7324 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7326 * src/hildon-date-button.h:
7327 * src/hildon-picker-button.h:
7328 * src/hildon-time-button.c:
7329 * src/hildon-time-button.h:
7331 Some declarations changes to allow gtk-doc to document the widgets
7334 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7336 * src/hildon-date-button.c: Document the widget.
7337 * src/hildon-time-button.c: Document the widget.
7339 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7341 * src/hildon-picker-button.c: Document the widget.
7342 * src/hildon-touch-selector-entry.c: Document the widget.
7344 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7346 * doc/hildon-docs.sgml
7349 * src/hildon-check-button.h
7350 * src/hildon-check-button.c: New functions to create the Hildon
7354 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7356 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7358 * src/hildon-button.h
7359 * src/hildon-button.c
7360 (hildon_button_add_title_size_group)
7361 (hildon_button_add_value_size_group)
7362 (hildon_button_add_image_size_group)
7363 (hildon_button_add_size_groups): New functions to set size groups
7364 for the button labels and image.
7365 (hildon_button_new_full): Removed
7367 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7369 * src/hildon-time-selector.c
7370 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7371 in order to avoid a crash if gconf is not available
7373 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7375 * src/hildon-button.c (hildon_button_set_arrangement)
7376 (hildon_button_construct_child): Don't construct the button child
7377 before setting the arrangement.
7379 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7381 * src/hildon-program-private.h
7382 * src/hildon-program.c
7383 * src/hildon-program.h
7384 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7385 (hildon_program_peek_window_stack)
7386 (hildon_program_pop_window_stack)
7387 (hildon_program_go_to_root_window): HildonProgram now has a
7388 separate list for stackable windows. Functions are provided to
7389 manage that list with a stack-like API.
7391 * src/hildon-stackable-window.c: Stackable window management is
7392 now much simpler with the new HildonProgram API. Windows no
7393 longer need to be manually added to the program, they're
7394 automatically pushed to the top of the stack when shown.
7396 * examples/hildon-stackable-window-example.c: Updated example to
7397 reflect the API changes.
7399 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7401 * src/hildon-touch-selector.c: Comment out unimplemented
7402 hildon_touch_selector_insert_column() to avoid a compile warning.
7404 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7406 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7407 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7408 (hildon_touch_selector_set_column_selection_mode),
7409 (_hildon_touch_selector_set_model),
7410 (hildon_touch_selector_set_model):
7412 Complete review of HildonTouchSelector documentation.
7414 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7416 * doc/hildon-docs.sgml
7420 * src/hildon-gtk.c: Convenience functions for standard Gtk
7421 widgets, used to easily perform frequent operations.
7423 * src/hildon-button-helpers.h
7424 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7426 * src/hildon-helper.h
7427 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7428 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7430 * src/hildon-button.h
7431 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7433 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7435 * src/hildon-button.c (hildon_button_init)
7436 (hildon_button_set_arrangement, hildon_button_construct_child):
7437 Pack the image and the labels inside the same GtkAlignment so
7438 gtk_button_set_alignment() can be used
7440 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7442 * src/hildon-button.h
7443 * src/hildon-button.c
7444 (hildon_button_init, hildon_button_set_image)
7445 (hildon_button_set_image_position)
7446 (hildon_button_construct_child): New functions to add an image to
7449 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7451 * src/hildon-date-button.c
7452 * src/hildon-picker-button.c
7453 * src/hildon-time-button.c
7454 * src/hildon-button.c:
7455 (hildon_button_class_init): "size-flags" renamed to "size"
7456 (hildon_button_set_title): Hide the title label if set to NULL.
7458 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7460 HildonButtonFlags split into HildonButtonArrangement (to set the
7461 button layout) and HildonSizeType (which can be used for any
7464 * src/hildon-button.h
7465 * src/hildon-button.c
7466 (hildon_button_class_init)
7467 (hildon_button_set_arrangement)
7468 (hildon_button_set_property): New "size-flags"
7469 property. "arrangement-flags" renamed to "arrangement".
7470 (hildon_button_new, hildon_button_new_with_text)
7471 (hildon_button_new_full): Constructors updated to reflect type changes.
7473 * src/hildon-helper.h
7474 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7475 to set the size of a widget.
7479 * src/hildon-button-helpers.c
7480 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7482 * src/hildon-date-button.c
7483 * src/hildon-date-button.h
7484 * src/hildon-picker-button.c
7485 * src/hildon-picker-button.h
7486 * src/hildon-time-button.c
7487 * src/hildon-time-button.h: Updated widgets to reflect
7488 HildonButton API changes.
7490 * examples/hildon-button-example.c
7491 * examples/hildon-date-button-example.c
7492 * examples/hildon-picker-button-example.c
7493 * examples/hildon-picker-button-multicolumn-example.c
7494 * examples/hildon-time-button-example.c
7495 * examples/hildon-touch-selector-entry-example.c
7496 * examples/hildon-touch-selector-example.c: Updated examples to
7497 reflect HildonButton API changes.
7499 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7501 * doc/hildon-docs.sgml:
7503 * examples/Makefile.am:
7504 * examples/hildon-touch-selector-entry-example.c:
7506 * src/hildon-touch-selector-entry.c:
7507 * src/hildon-touch-selector-entry.h:
7510 Moved HildonTouchSelectorEntry from sandbox. Added its
7511 documentation and examples.
7513 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7515 * src/hildon-touch-selector.h:
7516 * examples/hildon-picker-button-multicolumn-example.c:
7517 (hildon_touch_selector_append_text_column): Add a gboolean
7518 parameter to determine if text must be centered in the column.
7520 * src/hildon-date-selector.c: (hildon_date_selector_init):
7521 * src/hildon-time-selector.c: (hildon_time_selector_init):
7522 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7523 (create_touch_selector): Update widgets and example to reflect
7526 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7528 * src/hildon-touch-selector.c:
7529 (hildon_touch_selector_set_active_iter): Set also the cursor in
7532 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7534 * doc/hildon-docs.sgml
7537 * src/hildon-toggle-button.c
7538 * src/hildon-toggle-button.h
7539 * src/hildon.h: Removed HildonToggleButton widget, a derived
7540 class is not necessary for this.
7542 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7544 * src/hildon-pannable-area.c,
7545 (hildon_pannable_area_realize),
7546 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7549 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7551 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7552 "done" button the default widget for the dialog.
7554 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7556 * src/hildon-touch-selector.c:
7557 (hildon_touch_selector_class_init),
7558 (hildon_touch_selector_get_property),
7559 (_hildon_touch_selector_set_model),
7560 (_hildon_touch_selector_has_multiple_selection),
7561 (hildon_touch_selector_has_multiple_selection):
7562 Add a "has-multiple-selection" property with a virtual
7563 has_multiple_selection() method to allow derived classes to
7564 override the default value for it. See the method and property
7565 documentation for details.
7567 * src/hildon-touch-selector.h: Add the new API.
7569 * src/hildon-picker-dialog.c: (requires_done_button): Call
7570 hildon_touch_selector_has_multiple_selection() instead of
7571 determining the need for a button itself.
7573 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7575 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7576 (_hildon_touch_selector_set_model),
7577 (hildon_touch_selector_set_model): Move working code to
7578 _hildon_touch_selector_set_mode(). Call the class method instead.
7580 * src/hildon-touch-selector.h: Add (*set_model) to
7581 HildonTouchSelectorClass.
7583 Make hildon_touch_selector_set_model() a virtual method, so that
7584 derived classes can extend it and do fancy stuff with the model.
7586 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7588 * configure.ac: Set back the tarname in AC_INIT to hildon.
7590 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7594 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7595 instead of libesd (NB#86876). Volume handling is still an open issue.
7597 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7600 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7602 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7603 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7604 derived class to ease placement of an entry widget in
7605 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7606 end, where the selector columns are packed now.
7608 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7610 * src/hildon-picker-button.c: Removed the simple _text() API.
7611 * src/hildon-picker-button.h: Likewise.
7613 * src/hildon-touch-selector.h:
7614 * src/hildon-touch-selector.c:
7615 (hildon_touch_selector_new_text),
7616 (hildon_touch_selector_append_text),
7617 (hildon_touch_selector_prepend_text),
7618 (hildon_touch_selector_insert_text):
7620 Moved the simple _text() API from HildonPickerButton to
7621 HildonTouchPicker, to provide better escalability and not to tie
7622 that API to HildonPickerButton.
7624 * examples/hildon-picker-button-example.c: (main): Example updated.
7626 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7628 * src/hildon-button.c: Updated documentation.
7630 * examples/hildon-button-example.c: Add the posibility to create
7631 the buttons using horizontal layout for title and value.
7633 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7635 * src/hildon-app-menu-private.h
7636 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7637 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7638 GtkSizeGroup for the filters, use the 'homogeneous' property of
7641 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7643 * examples/hildon-button-example.c: Updated example.
7645 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7647 * doc/hildon-docs.sgml:
7650 Update documentation.
7652 * examples/Makefile.am: Update renamed examples.
7654 * examples/hildon-picker-button-multicolumn-example.c:
7655 (create_touch_selector), (main): Update after the rename.
7657 * examples/hildon-touch-picker-example.c: Removed.
7658 * examples/hildon-touch-selector-example.c: (value_changed),
7659 (create_selector), (get_visible_content), (main): Renamed from
7660 hildon-touch-picker-example.c
7662 * src/Makefile.am: Updated renamed files.
7664 * src/hildon-date-button.c: (hildon_date_button_init),
7665 (hildon_date_button_get_date), (hildon_date_button_set_date):
7666 * src/hildon-date-selector.c: (hildon_date_selector_init),
7667 (_custom_print_func), (_update_day_model),
7668 (_manage_selector_change_cb),
7669 (hildon_date_selector_select_current_date),
7670 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7671 * src/hildon-date-selector.h:
7672 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7673 (hildon_picker_button_set_property),
7674 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7675 (hildon_picker_button_init), (hildon_picker_button_new_text),
7676 (hildon_picker_button_append_text),
7677 (hildon_picker_button_prepend_text),
7678 (hildon_picker_button_insert_text),
7679 (hildon_picker_button_set_selector),
7680 (hildon_picker_button_get_selector):
7681 * src/hildon-picker-button.h:
7682 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7683 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7684 (_update_title_on_selector_changed_cb), (requires_done_button),
7685 (_hildon_picker_dialog_set_selector),
7686 (hildon_picker_dialog_set_selector),
7687 (hildon_picker_dialog_get_selector):
7688 * src/hildon-picker-dialog.h:
7689 * src/hildon-time-button.c: (hildon_time_button_init),
7690 (hildon_time_button_get_time), (hildon_time_button_set_time):
7691 * src/hildon-time-selector.c: (hildon_time_selector_init),
7692 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7693 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7694 * src/hildon-time-selector.h:
7697 Massive code updates after the rename.
7699 * src/hildon-touch-picker.c: Removed.
7700 * src/hildon-touch-picker.h: Removed.
7702 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7703 (hildon_touch_selector_init), (hildon_touch_selector_map),
7704 (hildon_touch_selector_remove), (_default_print_func),
7705 (_selection_changed_cb), (_create_new_column),
7706 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7707 (hildon_touch_selector_append_text_column),
7708 (hildon_touch_selector_remove_column),
7709 (hildon_touch_selector_set_column_attributes),
7710 (hildon_touch_selector_insert_column),
7711 (hildon_touch_selector_get_num_columns),
7712 (hildon_touch_selector_get_column_selection_mode),
7713 (hildon_touch_selector_set_column_selection_mode),
7714 (hildon_touch_selector_set_print_func),
7715 (hildon_touch_selector_get_print_func),
7716 (hildon_touch_selector_get_active_iter),
7717 (hildon_touch_selector_set_active_iter),
7718 (hildon_touch_selector_get_selected_rows),
7719 (hildon_touch_selector_get_model),
7720 (hildon_touch_selector_set_model),
7721 (hildon_touch_selector_get_current_text),
7722 (_hildon_touch_selector_center_on_selected_items):
7723 * src/hildon-touch-selector.h: Renamed from
7724 hildon-touch-picker.[ch]
7726 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7727 references, code examples, and related documentation.
7729 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7731 * doc/hildon-docs.sgml
7734 * src/hildon-toggle-button.c
7735 * src/hildon-toggle-button.h
7736 * src/hildon.h: New HildonToggleButton widget.
7738 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7740 * src/hildon-button.c: Add API documentation.
7741 (hildon_button_set_size_groups): Check input parameters
7743 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7745 * src/hildon-pannable-area.c
7746 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7747 effect after reaching the movement thredshold. This way we start
7748 using the distance after passing the thredshold.
7750 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7752 * src/hildon-button.c: (hildon_button_set_property): Use the
7753 appropriate g_value_get_flags() method.
7755 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7757 * doc/hildon-docs.sgml:
7760 Add the touch pickers, picker dialogs, and picker button widgets
7761 to the documentation.
7763 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7765 * src/hildon-button.c: (hildon_button_set_property),
7766 (hildon_button_class_init): Make "arrangement-flags" a proper
7767 G_TYPE_FLAGS derived property.
7769 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7771 * examples/Makefile.am: Add below examples.
7772 * examples/hildon-date-button-example.c:
7773 * examples/hildon-picker-button-example.c:
7774 * examples/hildon-picker-button-multicolumn-example.c:
7775 * examples/hildon-time-button-example.c:
7776 * examples/hildon-touch-picker-example.c:
7778 Add examples for the recently added touch pickers,
7779 picker dialogs, and picker button widgets.
7781 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7783 * src/hildon-button.c: Add some API documentation
7785 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7787 * src/hildon-button.h
7788 * src/hildon-button.c
7790 (hildon_button_new_with_text): New constructor to create a button
7791 with no text at all.
7792 (hildon_button_init, hildon_button_set_arrangement)
7793 (hildon_button_set_title, hildon_button_set_value)
7794 (hildon_button_set_text)
7795 (hildon_button_construct_child): Hide the value when it's not used
7796 so the rest of the text is properly aligned.
7797 Allow creating buttons with arbitrary widgets inside (not just
7798 title/value labels).
7800 * examples/hildon-button-example.c (vertical_buttons_window)
7801 (horizontal_buttons_window): Update example to use new API.
7803 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7805 * src/Makefile.am: Added HildonTimeButton.
7806 * src/hildon-time-button.c: Added missing LGPL header.
7807 * src/hildon-time-button.h: Added missing LGPL header.
7808 * src/hildon.h: Add hildon-time-button.h
7810 Copied HildonTimeButton from sandbox to trunk. Future work on this
7811 widget must take place in trunk.
7813 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7815 * src/Makefile.am: Added HildonDateButton.
7816 * src/hildon-date-button.c: Update includes.
7817 * src/hildon.h: Add hildon-date-button.h
7819 Copied HildonDateButton from sandbox to trunk. Future work on this
7820 widget must take place in trunk.
7822 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7824 * src/Makefile.am: Added HildonPickerButton.
7825 * src/hildon-picker-button.h: Update includes.
7826 * src/hildon.h: Add hildon-picker-button.h
7828 Copied HildonPickerButton from sandbox to trunk. Future work on
7829 this widget must take place in trunk.
7831 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7833 * src/Makefile.am: Added HildonPickerDialog.
7834 * src/hildon-picker-dialog.c: Update includes.
7835 * src/hildon.h: Add hildon-picker-dialog.h
7837 Copied HildonPickerDialog from sandbox to trunk. Future work
7838 on this widget must take place in trunk.
7840 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7842 * src/Makefile.am: Added HildonTimeSelector.
7843 * src/hildon.h: Add hildon-time-selector.h
7845 Copied HildonTimeSelector widget from sandbox to trunk. Future
7846 work on this widget must happen in trunk.
7848 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7850 * src/Makefile.am: Added HildonDateSelector.
7851 * src/hildon.h: Add hildon-date-selector.h
7853 Copied HildonDateSelector widget from sandbox to trunk. Future
7854 work on this widget must happen in trunk.
7856 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7858 * src/Makefile.am: Added HildonTouchPicker.
7859 * src/hildon-touch-picker.c: Update includes.
7860 * src/hildon.h: Add hildon-touch-picker.h
7862 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7863 on this widget must happen in trunk.
7865 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7867 * src/hildon-pannable-area.c:
7868 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7870 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7872 * examples/hildon-app-menu-example.c (main): Let the window
7875 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7877 * src/hildon-pannable-area.c
7878 (hildon_pannable_area_class_init): Set the min value of the
7879 overshoot properties to zero, which points out that not
7880 overshooting allowed.
7882 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7884 Modified the procedure to get the widget at a point inside the
7885 pannable area when using the movement type signals. Now the user
7886 has to call a function to get the child, that way we just
7887 calculate the child in case the user really want to use it and not
7890 * src/hildon-marshalers.list: Modified the marshallers, now we do
7891 not have the widget as a parameter.
7893 * src/hildon-pannable-area.c
7894 (hildon_pannable_area_motion_notify_cb),
7895 (hildon_pannable_area_class_init),
7896 (hildon_pannable_get_child_widget_at): Removed the widget
7897 parameter from the signal callback. We have also refactored the
7898 emission of the signals.
7900 * src/hildon-pannable-area.h: Added a new method to the API to
7901 calculate a widget at a point inside the pannable area,
7902 hildon_pannable_get_child_widget_at.
7904 * examples/hildon-pannable-area-example-4.c
7905 (horizontal_movement): Modified the example to use the new API,
7906 added condition to control which widget is under the event. This
7907 way we can avoid scrolling laterally over other widgets.
7909 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7911 * src/hildon-pannable-area.c
7912 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7913 modes, we stop getting the pointer events due to returning the
7914 callback without properly calling the get pointer again. Fixed
7915 also an error using the hscroll and vscroll.
7917 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7919 * src/hildon-app-menu-private.h
7920 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7921 (hildon_app_menu_button_release, hildon_app_menu_init)
7922 (hildon_app_menu_class_init): Don't hide the menu on button
7923 release if the user didn't press outside first.
7925 * src/hildon-window.h
7926 * src/hildon-window.c (hildon_window_toggle_menu)
7927 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7928 hildon_window_toggle_menu a virtual function for the stackable
7929 window to override it.
7931 * src/hildon-stackable-window.h
7932 * src/hildon-stackable-window-private.h
7933 * src/hildon-stackable-window.c
7934 (hildon_stackable_window_realize)
7935 (hildon_stackable_window_finalize)
7936 (hildon_stackable_window_class_init)
7937 (hildon_stackable_window_init)
7938 (hildon_stackable_window_set_main_menu): New function to set the
7939 app menu of a HildonStackableWindow.
7941 * examples/hildon-app-menu-example.c: Remove the button to show
7942 the app menu, now it'll be shown when clicking on the title bar
7945 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7947 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7948 set the widget name if the arrangement flags do not specify
7951 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7953 * src/hildon-button.c: (hildon_button_set_property),
7954 (hildon_button_class_init), (hildon_button_new_full),
7955 (hildon_button_set_arrangement): Added "arrangement-flags"
7958 Make the HildonButtonFlags a construction-only property, to allow
7959 subclasses to set them properly.
7961 2008-07-21 Tim Janik <timj@imendio.com>
7963 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7964 insertion position after backspace, so additional digits are appended,
7967 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7969 * src/hildon-pannable-area.c,
7970 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7971 TODO list, it was complete and removed the g_debug and g_print
7974 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7976 Added the movement modes to the hildon-pannable-area, with this
7977 modes the developers can control in which directions the widget
7978 can scroll. They can also connect to signals in order to do
7979 something when that happens, allowing applications scroll. There
7980 is an example uploaded showing how to use it.
7982 * examples/Makefile.am:
7983 * examples/hildon-pannable-area-example-4.c: Added this example of
7984 an application using the modes.
7986 * src/hildon-marshalers.list: Added a new marshaller for the new
7989 * src/hildon-pannable-area.h: Added new enumerations and flags in
7990 order to control the movement modes and the new signals to warn
7991 about the movements in the area.
7993 * src/hildon-pannable-area.c:
7994 (hildon_pannable_axis_scroll),
7995 (hildon_pannable_area_scroll),
7996 (hildon_pannable_area_motion_notify_cb),
7997 (hildon_pannable_area_get_property),
7998 (hildon_pannable_area_set_property),
7999 (hildon_pannable_area_map),
8000 (hildon_pannable_area_class_init),
8001 (hildon_pannable_area_init),
8002 (hildon_pannable_area_jump_to): Added the modes to control the
8003 movement in the widget. We have added properties to control it,
8004 signals to warn about the movements and refactored some code.
8006 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8008 Changes required in order to allow vfast_factor set to zero to
8011 * src/hildon-pannable-area.c:
8012 (hildon_pannable_area_button_press_cb): Changed the condition, it
8013 is required for not allowing click when vfast_factor is zero.
8014 (hildon_pannable_area_timeout): Initialized velocity variables
8015 when we stop moving, it was less than 1 but not zero and we need
8016 to check zero in some situations.
8017 (hildon_pannable_area_class_init): Changed the default value of
8018 the speed factor, now the button_press is just sent in case the
8019 speed is 2 per cent of the max speed.
8020 (hildon_pannable_area_init): Initialization with 0.
8022 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8024 * src/hildon-pannable-area.c,
8025 (hildon_pannable_area_get_topmost): replaced
8026 gdk_window_get_children with gdk_window_peek_children, this way we
8027 do not have to free the list because it is not a copy.
8029 (hildon_pannable_axis_scroll),
8030 (hildon_pannable_area_scroll),
8031 (hildon_pannable_area_timeout),
8032 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8033 two parameters that were only used inside the
8034 hildon_pannable_area_scroll function.
8036 * examples/hildon-pannable-area-example.c,
8037 (get_sawtooth_label): Fixed small memory leak.
8039 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8041 More checks for the case where the overshoot is bigger than the
8044 * src/hildon-pannable-area.c:
8045 (hildon_pannable_draw_vscroll),
8046 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8047 to draw the slider of the scrollbar under the other scrollbar.
8048 (hildon_pannable_area_expose_event): added new checks to control
8049 the drawing of the overshooting area rectangle, in case it is too
8050 big for the area of the widget.
8051 (hildon_pannable_area_size_allocate): add more checks to avoid
8052 setting a position to the child widget outside the area.
8054 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8056 * src/hildon-pannable-area.c
8057 (hildon_pannable_area_size_allocate): Added conditions to control
8058 when overshooting is bigger than the allocated space for the
8059 children, this avoids negative allocations.
8061 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8063 * doc/hildon-docs.sgml
8065 * examples/Makefile.am
8066 * examples/hildon-button-example.c
8068 * src/hildon-button.c
8069 * src/hildon-button.h
8070 * src/hildon.h: Initial version of the new HildonButton widget,
8073 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8075 * src/hildon-pannable-area.c:
8076 (hildon_pannable_area_button_press_cb),
8077 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8078 (hildon_pannable_area_motion_notify_cb),
8079 (hildon_pannable_area_button_release_cb),
8080 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8081 (hildon_pannable_area_jump_to_child):
8083 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8085 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8087 * examples/Makefile.am
8088 * examples/hildon-pannable-area-touch-grid-example.c
8089 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8090 the Hildon Touch List and Hildon Touch Grid using the
8091 HildonPannableArea widget.
8093 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8095 * src/hildon-pannable-area.c,
8096 (hildon_pannable_area_button_press_cb),
8097 (hildon_pannable_area_refresh),
8098 (hildon_pannable_area_scroll),
8099 (hildon_pannable_area_motion_notify_cb),
8100 (hildon_pannable_area_button_release_cb),
8101 (hildon_pannable_area_expose_event),
8102 (hildon_pannable_area_add),
8103 (hildon_pannable_area_remove),
8104 (hildon_pannable_area_realize),
8105 (hildon_pannable_area_size_allocate),
8106 (hildon_pannable_area_class_init),
8107 (hildon_pannable_area_init),
8108 (hildon_pannable_area_scroll_to_child),
8109 (hildon_pannable_area_jump_to_child): Fixed the problem of
8110 removing the child from the GtkBin, we have rearranged the widget
8111 hierarchy, now there is no GtkAlignment which was not doing
8112 anything interesting but breaking some of the assumptions of
8113 GtkContainer. Now developers if they want to add a GtkAlignment
8114 they could, but it is not inside the area.
8116 We had to review the whole allocation/expose process, now it is
8117 improved and we save at least three signals which would be saving
8118 some time when rendering the widget. The allocation of the
8119 scrollbars is now made in the allocate method as usual.
8121 We have also added some conditions in order to control when there
8122 is no child of the pannable area. Maybe we will need more work
8125 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8127 * src/hildon-pannable-area.c,
8128 (hildon_pannable_area_dispose): Released the fade-out timeout when
8129 disposing the widget.
8131 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8133 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8134 zero, we are going to use that property in order to deactivate the
8136 (hildon_pannable_axis_scroll),
8137 (hildon_pannable_area_size_allocate): Added conditions to control
8138 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8139 call, now it is called in all situations and we can remove calls
8140 in the allocate method.
8141 (hildon_pannable_area_map): Control the situation when
8142 overshoot_max is zero, we do not need the timeout.
8143 (hildon_pannable_area_class_init): Added documentation in order to
8144 point out that setting zero to overshoot_max means deactivate
8147 NOTE: removed trailing whitespaces from my previous comments of
8150 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8152 * src/hildon-pannable-area.c
8153 (hildon_pannable_area_get_property),
8154 (hildon_pannable_area_set_property),
8155 (hildon_pannable_area_map),
8156 (hildon_pannable_area_class_init),
8157 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8158 to cause the widget give a hint about its panning abilities upon
8161 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8163 * src/hildon-pannable-area.c: Several documentation improvements.
8165 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8167 * src/hildon-program.c
8168 * src/hildon-stackable-window.c: Update documentation.
8170 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8172 * src/hildon-stackable-window.c (get_previous_window_if_last):
8173 Renamed get_last_window()
8174 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8175 (hildon_stackable_window_unset_program):
8177 (get_previous_window_if_last):
8178 Detect if the window hasn't been added to a HildonProgram.
8180 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8182 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8184 * src/hildon-pannable-area.c
8185 (hildon_pannable_area_button_press_cb),
8186 (hildon_pannable_axis_scroll),
8187 (hildon_pannable_area_scroll),
8188 (hildon_pannable_area_timeout),
8189 (hildon_pannable_calculate_vel_factor),
8190 (hildon_pannable_area_get_property),
8191 (hildon_pannable_area_set_property),
8192 (hildon_pannable_area_class_init),
8193 (hildon_pannable_area_init),
8194 (hildon_pannable_area_scroll_to),
8195 (hildon_pannable_area_jump_to),
8196 (hildon_pannable_area_scroll_to_child),
8197 (hildon_pannable_area_jump_to_child):
8198 * src/hildon-pannable-area.h: Added the new API functions:
8199 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8200 hildon_pannable_area_scroll_to_child,
8201 hildon_pannable_area_jump_to_child
8204 * examples/Makefile.am
8205 * examples/hildon-pannable-area-example-2.c
8206 * examples/hildon-pannable-area-example-3.c: Added these two new
8207 examples in order to test and show how the new APIs work.
8209 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8211 * examples/hildon-stackable-window-example.c (new_window):
8212 * src/Makefile.am (noinst_HEADERS):
8213 * src/hildon-program.c (hildon_program_go_to_root_window):
8214 * src/hildon-program.h:
8215 * src/hildon-stackable-window-private.h:
8216 * src/hildon-stackable-window.c:
8217 * src/hildon-stackable-window.h:
8218 Create hildon-stackable-window-private.h
8219 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8221 * examples/hildon-app-menu-example.c (create_menu):
8222 * examples/hildon-hvolumebar-insensitive-example.c (main):
8223 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8224 * examples/hildon-toolbar-seekbar-example.c (main):
8225 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8226 * src/hildon-banner.c (hildon_banner_set_property):
8227 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8228 Fix compilation warnings
8230 * src/hildon-window.c:
8233 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8235 * src/hildon-stackable-window.c
8236 (hildon_stackable_window_unset_program):
8237 Calculate correctly whether to show the previous window if the
8238 last one is removed from the stack.
8239 (hildon_stackable_window_go_to_root_window):
8240 Send delete events starting from the topmost window.
8241 Stop if one of the windows is not destroyed.
8243 (hildon_stackable_window_delete_event)
8244 (hildon_stackable_window_class_init):
8245 Ignore the delete event if the window is not the topmost one.
8247 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8249 * src/hildon-pannable-area.c
8250 (hildon_pannable_area_expose_event): Fixed a problem when
8251 selecting the background color of the scrollbars.
8253 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8255 * examples/hildon-stackable-window-example.c
8256 * src/hildon-stackable-window.c
8257 * src/hildon-stackable-window.h
8258 hildon_stackable_window_go_home() renamed to
8259 hildon_stackable_window_go_to_root_window()
8260 Send delete events to windows rather than closing them with
8261 gtk_widget_destroy()
8263 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8265 * src/hildon-pannable-area.c
8266 (hildon_pannable_area_button_release_cb): Fix overshooting in
8269 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8271 * src/hildon-pannable-area.c
8272 (hildon_pannable_area_init): Initially show the scroll indicators.
8273 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8275 Add initial effect showing the widget is pannable.
8277 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8279 * src/hildon-pannable-area.c
8280 (hildon_pannable_area_class_init)
8281 (hildon_pannable_area_set_property)
8282 (hildon_pannable_area_get_property)
8283 (hildon_pannable_area_button_press_cb):
8284 New 'velocity_fast_factor' property to decide which velocity is
8287 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8289 * src/hildon-pannable-area.c
8290 (hildon_pannable_draw_hscroll)
8291 (hildon_pannable_draw_vscroll):
8292 Use float variables to calculate the size of the scrollbars to
8293 avoid error propagation and resizing during scrolling.
8295 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8297 * src/hildon-pannable-area.c
8298 (hildon_pannable_draw_vscroll)
8299 (hildon_pannable_draw_hscroll):
8300 Define a minimum size for the scroll bars
8302 * src/hildon-stackable-window.c
8303 (hildon_stackable_window_go_home): Fix compilation warning
8304 (get_last_window): Minor optimizations
8305 (hildon_stackable_window_class_init): Fix initialization of
8308 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8310 * src/hildon-stackable-window.c: Fixed typos in doc
8312 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8314 * src/hildon-pannable-area.c
8315 (hildon_pannable_area_scroll):
8316 Calculate here whether we need to scroll instead of using the booleans
8317 that tell us whether to /draw/ the scrolling bars.
8319 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8321 * src/hildon-app-menu.h
8323 * src/hildon-app-menu.c
8324 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8325 multiple filter groups related code and API. Now we support only
8327 * examples/hildon-app-menu-example.c:
8329 Update to reflect API changes.
8331 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8333 * src/hildon-stackable-window.c
8334 (hildon_stackable_window_class_init):
8335 Add hildon_stackable_window_realize.
8336 (hildon_stackable_window_realize):
8337 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8338 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8339 to apply theming and behavior specific to HildonStackableWindow
8342 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8344 * src/hildon-note.c (hildon_note_button_release):
8345 Close information notes also when tapping on them
8347 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8349 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8350 ELASTICITY, refactor and review, fix some issues with drawing
8353 * src/hildon-pannable-area.c:
8354 (hildon_pannable_area_button_press_cb): removed the conditions to
8355 avoid clicks when overshooting. It is not required
8357 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8358 define. Refatored and reviewed the code, now we do not need to
8359 manage velocity in motion_notify.
8361 (hildon_pannable_area_motion_notify_cb): We have moved the code
8362 that controls the area_scroll to the axis_scroll function and get
8363 rid of duplicated code.
8365 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8367 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8369 (hildon_pannable_draw_vscroll),
8370 (hildon_pannable_draw_hscroll): Fixed the problems with the
8371 scrollbar drawing, now we do not use two surfaces, it is easier
8372 and saves resources.
8374 (hildon_pannable_area_get_property): Style modification.
8376 (hildon_pannable_area_class_init): Changed some default values.
8378 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8380 * src/hildon-stackable-window.c: Fix some typos in the
8383 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8385 * src/hildon-dialog.c:
8386 Change indentation style
8389 (hildon_note_button_release):
8390 Use root coordinates to check if the release event happened
8393 * src/hildon-app-menu.c
8394 (hildon_app_menu_button_release):
8395 Remove unnecessary check
8397 * examples/hildon-app-menu-example.c
8399 Add cast to fix warning
8401 * src/hildon-app-menu.c
8402 (hildon_app_menu_class_init):
8403 New inner-border style property.
8404 Set all default spacings to 16
8405 (hildon_app_menu_init):
8406 Use vertical-spacing to set the space between filter buttons and
8407 regular menu buttons.
8408 Set the default container border using the inner-border value.
8410 * examples/hildon-app-menu-example.c
8412 Don't set the menu border explicitly, now we have the inner-border
8413 style property for that.
8415 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8417 * src/hildon-app-menu.c (hildon_app_menu_init):
8418 Make the window modal
8420 * src/hildon-note.c (hildon_note_map)
8421 * src/hildon-app-menu.c (hildon_app_menu_map):
8422 Destroy the grab window if we're unable to grab the pointer
8424 * src/hildon-app-menu-private.h
8425 * src/hildon-app-menu.c
8426 (hildon_app_menu_init, hildon_app_menu_finalize)
8427 (hildon_app_menu_map, hildon_app_menu_unmap)
8428 (hildon_app_menu_button_release)
8429 (grab_transfer_window_get):
8430 Bring back the grab window
8431 (hildon_app_menu_realize):
8432 Decorate the window, set WM hint for Matchbox
8434 * src/hildon-note.c (hildon_note_realize):
8435 * src/hildon-banner.c (hildon_banner_realize):
8436 Add WM hints for Matchbox
8438 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8440 * src/hildon-app-menu-private.h
8441 * src/hildon-app-menu.c
8442 (hildon_app_menu_init, hildon_app_menu_finalize)
8443 (hildon_app_menu_map, hildon_app_menu_unmap)
8444 (hildon_app_menu_button_release):
8445 Remove the grab window, it's not needed anymore
8447 * src/hildon-program.c
8448 Fixed typo in documentation
8450 * src/hildon-app-menu.h
8451 * src/hildon-app-menu.c
8452 * examples/hildon-app-menu-example.c
8453 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8455 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8458 Added new transfer_window and close_if_pressed_outside private
8460 (hildon_note_rebuild):
8461 Don't add a cancel button to the information note. It will be
8462 closed when tapping outside
8463 Remove the comment about the OK button in the documentation
8464 (hildon_note_realize):
8465 Set the notification type hint
8466 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8467 Grab/ungrab pointer and keyboard if the note has to be closed when
8469 (hildon_note_button_release):
8470 Close the note when tapping outside (if applicable)
8472 * src/hildon-app-menu.c
8473 Grab/ungrab pointer and keyboard on map/unmap
8474 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8475 Close the menu on button release, not button press
8477 * src/hildon-banner.c
8478 (hildon_banner_set_property)
8479 (hildon_banner_check_position):
8480 Make the banner use the full width of the screen
8481 (hildon_banner_show_information)
8482 (hildon_banner_show_information_with_markup):
8483 Don't display an icon by default
8485 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8487 Added fading scrollbars and adapted all the overshooting code to
8488 horizontal scrolling. We have also fixed bugs with overshooting
8489 and current fading implementation.
8491 * src/hildon-pannable-area.c
8492 (hildon_pannable_area_scroll_indicator_fade): Time out function
8493 used to change the transparency of the scrollbars.
8495 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8496 control and fixed a problem with fading, we now remove the fade
8497 timeout before adding a new one.
8499 (hildon_pannable_axis_scroll):
8500 (hildon_pannable_area_scroll):
8501 (hildon_pannable_area_timeout): Added this functions so we can use
8502 the scroll code both for vertical and horizontal.
8504 (hildon_pannable_area_motion_notify_cb):
8505 (hildon_pannable_area_button_release_cb): Added the horizontal
8506 scrolling control, fixed a problem with the overshooting timeout.
8508 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8509 painting of the scrolls.
8511 (hildon_pannable_draw_vscroll):
8512 (hildon_pannable_draw_hscroll):
8513 (hildon_pannable_area_expose_event):
8514 Draw both scrollbars and rectangles in the overshooting area.
8516 (hildon_pannable_area_get_property):
8517 (hildon_pannable_area_set_property):
8518 Modified the overshoot property to overshoot_max
8520 (hildon_pannable_area_map):
8521 Replaced the comments symbols.
8523 (hildon_pannable_area_size_allocate):
8524 (hildon_pannable_area_class_init):
8525 (hildon_pannable_area_init): Added horizontal scroll, fading
8526 effect properties, fixed a problem when overshooting in the bottom
8529 * examples/hildon-pannable-area-example.c:
8530 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8531 looks better in the example.
8533 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8535 * src/hildon-window.c
8536 * src/hildon-window.h
8537 (hildon_window_class_init)
8538 (hildon_window_unset_program)
8539 (hildon_window_unset_program_real):
8540 Make unset_program a virtual function
8542 * src/hildon-stackable-window.c
8543 * src/hildon-stackable-window.h
8544 Added hildon_stackable_window_go_home()
8546 * examples/Makefile.am
8547 * examples/hildon-stackable-window-example.c
8548 HildonStackableWindow example
8550 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8552 * hildon-pannable-area.c: Added the overshoot property and removed
8553 the OVERSHOOT define. Fixed an indent style error.
8554 (hildon_pannable_area_motion_notify_cb):
8555 (hildon_pannable_area_get_property):
8556 (hildon_pannable_area_set_property): Add overshoot property.
8558 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8561 (hildon_pannable_area_class_init): Installed the new property.
8563 * hildon-pannable-area-example.c: Added a sawtooth function, this
8564 way it is easier to check the movement in the pannable.
8565 (get_sawtooth_label): Added this function.
8566 (main): Now we get the labels from the new get_sawtooth_label
8569 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8571 * src/hildon-app-menu.h
8572 * src/hildon-app-menu.c
8573 Renamed API variables for consistency
8575 (hildon_app_menu_popup): Use also the default window size to
8576 decide where to place the menu
8578 (hildon_app_menu_init, hildon_app_menu_class_init): New
8579 external-border style property
8581 2008-05-26 Michael Natterer <mitch@imendio.com>
8583 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8584 widget_class->tap_and_hold_setup signal slot doesn't exist any
8585 longer, stop overriding it.
8587 (hildon_time_editor_init): g_signal_connect() to the
8588 tap-and-hold-setup signal instead.
8590 (hildon_time_editor_entry_keypress): add cast to fix warning.
8592 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8594 * doc/hildon-docs.sgml
8596 * examples/Makefile.am
8597 * examples/hildon-app-menu-example.c
8599 * src/hildon-app-menu-private.h
8600 * src/hildon-app-menu.c
8601 * src/hildon-app-menu.h
8603 New HildonAppMenu widget
8605 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8607 Rearranged the inheritance of the pannable area, now it inherits
8608 from GtkBin. This will allow us to control the event_window and
8609 the allocation process of the widget, required for some effects.
8611 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8612 GtkBin structures. * src/hildon-pannable-area.c: Added the
8613 event_window variable.
8614 (hildon_pannable_area_button_press_cb):
8615 (hildon_pannable_area_button_release_cb):
8616 (hildon_pannable_area_motion_notify_cb):
8617 Changed the signature of the method, now we override the event
8618 callback instead of connecting to the signal.
8620 (hildon_pannable_area_realize):
8621 (hildon_pannable_area_unrealize):
8622 (hildon_pannable_area_map):
8623 (hildon_pannable_area_unmap):
8624 (hildon_pannable_area_size_allocate):
8625 Added functions to control the widget construction. We add a
8626 INPUT_ONLY window and we put it over the widgets inside the
8627 container, this event_window handles the events.
8629 (hildon_pannable_area_class_init):
8630 Replaced the signal connections with overrides of the event
8633 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8635 Bouncing effect added when touching the borders, you can change
8636 the elasticity of the border changing the ELASTICITY define.
8638 * src/hildon-pannable-area.c: Added ELASTICITY define.
8639 (hildon_pannable_area_timeout): Added inverse velocity when
8640 touching the border of the child widget, that causes a bounce.
8642 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8644 Improved performance, we now do not go to the X server in order to
8645 get the list of window children. Apparently the effect is the
8646 same, we have to be careful and check if this breaks something in
8649 * src/hildon-pannable-area.c:
8650 (get_ordered_children): Removed this function.
8651 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8652 the children windows function with gdk_window_get_children.
8654 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8656 * src/hildon-pannable-area.c:
8657 (hildon_pannable_area_dispose): Fixed a crash when closing the
8658 window and kinetics is activated.
8660 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8662 * src/hildon-pannable-area.h
8663 * src/hildon-pannable-area.c
8664 Changed indentation style to meet the one used in Hildon
8666 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8668 Reviewed the interaction of the AUTO mode, now we use the time
8669 attribute of the events and calculate the velocity in the motion,
8670 doing a gimp like calculation. The velocity is calculated in each
8671 motion event using the last velocity and the current one, the
8672 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8674 * src/hildon-pannable-area.c: Replaced the time based algorithm
8676 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8677 timeout for the AUTO mode when we are still moving the cursor. We
8678 added also the velocity calculation in this function.
8679 (hildon_pannable_area_button_release_cb): launch the timeout in
8680 case we are in AUTO mode. There are still some constants here that
8681 come from the old implementation that should be reviewed and
8684 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8686 * doc/hildon-docs.sgml
8689 * src/hildon-stackable-window.c
8690 * src/hildon-stackable-window.h
8692 New HildonStackableWindow widget
8694 * examples/hildon-dialog-example.c
8695 * examples/hildon-pannable-area-example.c
8698 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8700 * src/hildon-dialog.c
8701 (hildon_dialog_new_with_buttons): New constructor.
8703 * examples/hildon-dialog-example.c
8704 (main): Update the example to use the new
8705 hildon_dialog_new_with_buttons().
8707 * examples/hildon-pannable-area-example.c
8708 (main): Update example.
8710 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8712 * doc/hildon-docs.sgml
8714 Added HildonPannableArea to the documentation.
8716 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8718 * doc/visual_index.xml
8719 Fix reference to HildonLoginDialog in documentation
8721 * doc/hildon-docs.sgml
8723 * examples/Makefile.am
8724 * examples/hildon-dialog-example.c
8726 * src/hildon-dialog.c
8727 * src/hildon-dialog.h
8729 New HildonDialog widget.
8731 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8733 * src/hildon-pannable-area.c
8734 Merge latest changes (r4318, r4342) from libmokoui trunk
8736 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8738 * examples/Makefile.am
8739 * examples/hildon-pannable-area-example.c
8741 * src/hildon-pannable-area.c
8742 * src/hildon-pannable-area.h
8744 New HildonPannableArea widget.
8746 2008-04-15 18:05:19 <timj@imendio.com>
8748 * src/hildon-banner.c: revert the recent change, that introduced
8749 gtk_window_present() calls. this reopens:
8750 Bug 78481 - [freetest] information banners are hidden under browser menu
8751 But resolves another variant of:
8752 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8754 2008-04-15 13:21:13 <timj@imendio.com>
8756 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8757 recreated its layout, spotted by Kris. this fixes all remaining
8758 artefacts and stability issues with the banner code. in particular:
8759 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8761 2008-04-14 16:52:59 <timj@imendio.com>
8763 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8764 operating on unrealized widgets, fixes:
8765 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8767 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8769 2008-04-09 Kristian Rietveld <kris@imendio.com>
8771 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8772 makes banner disappear.
8773 Fixes: NB#79182: info banner flickering with certain message lengts.
8775 * src/hildon-banner.c (hildon_banner_constructor),
8776 (hildon_banner_init), (hildon_banner_set_text),
8777 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8778 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8779 FALSE, reset size requests of label and banner,
8780 (force_to_wrap_truncated): when the text is too wide, always enforce
8781 the maximum possible width instead of recalculating it from the
8782 layout; enforce the maximum banner height of 3 lines,
8783 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8784 nicer wrapping and no truncated chars if space gets tight.
8786 * src/hildon-banner-private.h: add has_been_wrapped and
8787 has_been_truncated fields.
8789 2008-04-07 Sven Herzberg <sven@imendio.com>
8791 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8792 local values in hildon_date_editor_size_allocate
8794 * src/hildon-date-editor.c: moved the real allocation code into the
8797 2008-04-07 Sven Herzberg <sven@imendio.com>
8799 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8800 local values in hildon_date_editor_size_allocate
8802 * src/hildon-date-editor.c: merged the two if() branches together
8804 2008-04-07 Sven Herzberg <sven@imendio.com>
8806 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8807 local values in hildon_date_editor_size_allocate
8809 * src/hildon-date-editor.c: changed the arguments of the if()
8812 2008-04-07 Sven Herzberg <sven@imendio.com>
8814 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8815 local values in hildon_date_editor_size_allocate
8817 * src/hildon-date-editor.c: split the calculation of the allocation
8818 from the real allocation
8820 2008-03-27 Michael Natterer <mitch@imendio.com>
8822 Fixes: NB#81696: The passcode is not overwritten even after
8825 * src/hildon-code-dialog.c
8826 (hildon_code_dialog_button_clicked)
8827 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8828 because that doesn't overwrite selected text. Instead, emit the
8829 "commit" signal on the entry's im_context so the entry's normal
8830 insert logic is triggered. Set the cursor to the end of the entry
8831 after each insert operation so that we *only* insert in the middle
8832 of the text if something was selected.
8834 2008-03-27 Michael Natterer <mitch@imendio.com>
8836 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8837 selector cannot be opened
8839 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8840 when the popup color selector is created. Please connect to this
8841 signal in order to set the dialog's help ID.
8843 2008-03-25 Sven Herzberg <sven@imendio.com>
8845 Fixes: MB#1212: Hide info banners (infoprints) on click
8847 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8848 extracted the close event simulation into an extra function
8849 (hildon_banner_button_press_event): simulate a close event and destroy
8850 the widget if the event wasn't handled
8851 (hildon_banner_class_init): added the button_press_event handler
8852 (hildon_banner_init): added button-press events to the widget
8854 2008-03-25 Sven Herzberg <sven@imendio.com>
8856 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8857 Patch from: Mohammad Anwari <mdamt@maemo.org>
8859 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8860 instead of the right in RTL mode
8861 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8862 breadcrumb button list in RTL mode
8863 * src/hildon-caption.c: mirror the appearance of the caption widget in
8865 * src/hildon-date-editor.c: mirror appearance of the date editor in
8867 * src/hildon-time-editor.c: mirror appearance of the time editor in
8869 * src/hildon-window.c: fix the position of the popup in RTL mode
8871 2008-03-25 Sven Herzberg <sven@imendio.com>
8873 Amendment to the fix of NB#22072. Fix compilation.
8875 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8877 2008-03-19 Sven Herzberg <sven@imendio.com>
8879 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8882 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8883 timeout id properly when the timeout will disappear this leaves no
8884 artifacts around in the destroy(); there will only be the timeout
8885 created by hildon_banner_ensure_timeout() and adding a new timeout
8886 will also work if the timeout gets removed because the timeout_handler
8889 2008-03-19 Michael Natterer <mitch@imendio.com>
8891 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8893 * src/hildon-volumebar.c
8894 * src/hildon-vvolumebar.c
8895 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8896 the widget becomes focussable at all.
8898 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8899 set the focus to wither the mute button or the volumebar.
8901 Remove own "can-focus" property and instead listen to
8902 notify::can-focus in order to update the widget's state.
8904 Implement GtkWidget::focus() and make sure we can also *leave* the
8905 widget, not only enter it, depending on volumebar orientation and
8906 requested focus direction.
8908 Clean up set_mute() to cooperate nicely with all the above.
8910 2008-03-04 Michael Natterer <mitch@imendio.com>
8912 Fixes: NB#78481: information banners are hidden under browser menu
8914 * src/hildon-banner.c: call gtk_window_present() on the banners so
8915 they are risen if they are already visible.
8917 2008-03-03 Sven Herzberg <sven@imendio.com>
8919 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8921 * examples/hildon-window-menu-example.c: (main): extended the window
8922 menu example to serve as a testcase for automatically added
8923 accelerator groups, too
8924 * src/hildon-window.c: (hildon_window_add_accel_group),
8925 (hildon_window_set_menu): added patch by Tommi Komulainen
8927 2008-03-03 Sven Herzberg <sven@imendio.com>
8929 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8931 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8932 knowledge about the border allocators used within GTK+
8934 2008-02-26 Sven Herzberg <sven@imendio.com>
8936 Fixes: MB#2981: Build with asserts broken
8938 * src/hildon-date-editor.c,
8939 * src/hildon-number-editor.c,
8940 * src/hildon-time-editor.c,
8941 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8942 the proper GType instance check
8944 2008-02-25 Sven Herzberg <sven@imendio.com>
8946 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8948 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8949 * examples/hildon-window-menu-example.c: (main): explicitly show
8951 * src/hildon-window.c:
8952 (hildon_window_set_main_menu): moved most of the code from set_menu()
8953 to this place; skipped the call to gtk_widget_show_all(); also didn't
8954 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8955 (hildon_window_set_menu): removed most of the code, just keep the
8956 questionable gtk_widget_show_all()
8957 * src/hildon-window.h: added the new function and deprecate the old
8960 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8966 * debian/changelog: Updating.
8968 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8971 * pkgconfig/Makefile.am:
8972 * pkgconfig/hildon.pc.in:
8975 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8976 use newly created API_MAJOR_VERSION.
8978 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8984 * debian/changelog: Updating.
8986 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8988 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8990 Add outer_border style property, we use it but don't define it (!).
8994 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8996 * examples/hildon-bread-crumb-trail-example.c (main):
9000 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
9002 Fix logic for the bread crumb trail node removal.
9006 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * debian/changelog: Updating.
9014 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9016 Patch by Alejandro to get/set passwords dialogs accesibility.
9018 * hildon-1/src/hildon-get-password-dialog.c:
9019 * hildon-1/src/hildon-set-password-dialog.c:
9020 Set atk_set_name to the passwd entries in order to allow
9021 accessibility by name on this entries.
9023 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * debian/control: Updating gtk dep.
9030 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9032 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9033 USE_MAEMO_GTK is enabled.
9035 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9037 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9038 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9040 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9046 * debian/changelog: Updating.
9048 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9050 * examples/Makefile.am:
9051 * examples/hildon-logical-color-example.c:
9052 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9053 applied + adding a test case. Fixes: NB#71660.
9055 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9057 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9058 to be visible, fixes warning on map for windows without toolbars.
9060 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9062 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9063 2.11.0, add a check for that besides the MAEMO_GTK check.
9065 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9071 * debian/changelog: Updating.
9073 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9075 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9076 visibility. Fixes: NB#70842 and MB#615.
9078 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9080 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9081 set the separator as no-show-all so it doesn't unintentionally appear when
9082 someone does a show_all.
9084 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9086 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9087 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9088 toplevel item. Fixes: NB#62031
9090 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9092 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9093 fix the name of the function in the docs.
9095 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * debian/changelog: Updating.
9103 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9105 * examples/hildon-banner-long-example.c: Adding a test-case for long
9108 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9110 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9112 * src/hildon-color-chooser-dialog.c:
9113 * src/hildon-color-chooser.c:
9114 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9115 memory leaks in font selector and color selector. Fixes: NB#70499 and
9118 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9120 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9122 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9124 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9125 little bit bigger. Fixes: #NB63694.
9127 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * debian/changelog: Updating.
9135 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * doc/hildon-docs.sgml:
9139 * doc/images/bread-crumb-trail.png:
9140 * doc/images/calendar-popup.png:
9141 * doc/images/caption.png:
9142 * doc/images/code-dialog.png:
9143 * doc/images/color-button.png:
9144 * doc/images/color-chooser-dialog.png:
9145 * doc/images/color-chooser.png:
9146 * doc/images/controlbar.png:
9147 * doc/images/date-editor.png:
9148 * doc/images/font-selection-dialog.png:
9149 * doc/images/get-password-dialog.png:
9150 * doc/images/hvolumebar.png:
9151 * doc/images/login-dialog.png:
9152 * doc/images/note.png:
9153 * doc/images/number-editor.png:
9154 * doc/images/range-editor.png:
9155 * doc/images/seekbar.png:
9156 * doc/images/set-password-dialog.png:
9157 * doc/images/sort-dialog.png:
9158 * doc/images/time-editor.png:
9159 * doc/images/time-picker.png:
9160 * doc/images/vvolumebar.png:
9161 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9162 Adding the bread-crumb-trial and helpers to the documentation.
9164 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9166 * examples/hildon-find-toolbar-example.c:
9167 * src/hildon-find-toolbar.c:
9168 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9169 actually continue firing the other handlers if connected. Adding a new
9171 hildon_find_toolbar_get_last_index that gets the index of the most
9172 recently added (last) item. Fixes: NB#52301.
9174 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9176 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9177 behaviour. Fixes: NB#68610.
9179 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9184 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9186 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9187 when realizing the banner. Should make the infonbanner effect a bit more
9190 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9192 * src/hildon-volumebar.c:
9193 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9194 hildon_volumebar_set_range_insensitive_message and
9195 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9197 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9199 * src/hildon-window.c: Fixing the border freeing on destroy.
9201 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * src/hildon-code-dialog-private.h:
9204 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9205 kw keyboard support in HildonCodeDialog.
9207 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9213 * debian/changelog: Updating.
9215 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9217 * src/hildon-date-editor.c:
9218 * src/hildon-number-editor.c:
9219 * src/hildon-private.c:
9220 * src/hildon-private.h:
9221 * src/hildon-time-editor.c:
9222 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9223 handling in subclassed composite widgets. Fixes: NB#66628.
9225 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9227 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9228 from destroy_ callback as it introduces problems in async dbus signal
9229 handlers. Fixes NB#66673.
9231 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9233 * examples/hildon-hvolumebar-example.c:
9234 * src/hildon-volumebar.c: Improving the focus handling in the
9235 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9236 set_property accessor so that "mute" property can be actually set. I'm
9237 scared that nobody noticed it's totally broken.
9239 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9241 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9244 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 * src/hildon-calendar.c:
9247 * src/hildon-number-editor.c:
9248 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9249 matches the spec of 6 chars per second. Fixes: NB#60489.
9251 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9254 gtk_style_lookup_color sometime returns FALSE even though color was
9255 found and values were filled properly. Weird. Removing the warning for the
9258 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9260 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9261 expand vertically. Adding some extra space to the find toolbar buttons to
9262 make them thumbable. Fixes NB#66060.
9264 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9266 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9267 popup with "Ok" and "Cancel". Fixes NB#59299.
9269 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9271 * src/hildon-calendar.c: Process all window updates before executing next
9272 timeout. Fixes: NB#54146.
9274 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9280 * debian/changelog: Updating.
9282 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9284 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9285 the client event and ignore it, since we use the delete event to close
9288 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9290 * src/hildon-helper.c: Remove the bogus warning about color not being
9291 found. Fixes NB#58352.
9293 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9295 * examples/Makefile.am:
9296 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9297 HildonSeekbar widget inside a toolbar.
9299 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9301 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9302 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9303 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9304 don't want to be closed by non-temporary windows on map.
9306 Also use G_DEFINE_TYPE instead of manually typed code.
9308 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9315 * debian/rules: Updating.
9317 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9319 * examples/Makefile.am:
9320 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9321 bug NB#61128. Strangely it works.
9323 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9325 * src/hildon-date-editor.c: When the date editor entry has been changed
9326 but the numbers of characters < max, turn off the skip validation flag.
9327 Prevents a situation when we enter first a valid year and later re-write
9328 it with an invalid one. Fixes NB#60154.
9330 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9332 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9333 code dialog. Fixes NB#64355.
9335 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9337 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9338 switching the page. Fixes NB#49374.
9340 * examples/Makefile.am:
9341 * examples/hildon-wizard-dialog-example.c: Adding an example for
9342 HildonWizardDialog that shows how to handle manual sensitivity setting on
9345 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9349 * src/hildon-version.h.in:
9350 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9352 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9354 * src/hildon-volumebar.c: Updating the docs.
9356 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9362 * debian/changelog: Updating.
9364 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9366 * src/hildon-find-toolbar.c:
9367 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9368 selected item: hildon_find_toolbar_set_active,
9369 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9370 hildon_find_toolbar_get_active_iter . They correspond to respective
9371 GtkComboBox functions.
9373 * examples/Makefile.am:
9374 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9377 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9379 * examples/Makefile.am:
9380 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9383 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9384 when font size > 32 and we pack a focusable widget inside. Actually using
9385 the default response would work too, but since we don't show default
9386 response state in any way (no theming) it would not be visible to the
9387 user. Fixes NB#63430.
9389 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9391 * src/hildon-date-editor.c: Adding the missing variable setter in the
9392 set_property handler. Fixes NB#54182.
9394 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9396 * src/hildon-window.h: Changing the long key press time from 1500ms to
9397 800ms as requested in NB#63700. I have a bad feeling about this, let's
9398 see... Fixes NB#63700.
9400 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9402 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9403 hildon_time_picker_map, hildon_time_picker_realize,
9404 hildon_time_picker_style_set): Split the contents of map to more
9405 appropriate functions; set window decorations on realize and update
9406 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9408 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9413 * debian/changelog: Updating.
9415 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9417 * src/Makefile.am: fixed installation of the header files
9419 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9425 * debian/changelog: Updating.
9427 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9429 * configure.ac: Removing some remaining of --enable-xan.
9431 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9433 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9434 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9436 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9437 2.10.12-osso6 because the move-focus signal needs to be available in
9440 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9442 * examples/Makefile.am:
9443 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9444 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9445 fine. Prolly NB#61128 is fixed now.
9447 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9449 * src/hildon-volumebar.c:
9450 * src/hildon-volumebar.h: Adding the
9451 hildon_volumebar_set_range_insensitive_message and
9452 hildon_volumebar_set_range_insensitive_messagef functions to set
9453 insensitive message on the slider of the volumebar. Fixes NB#61129.
9455 * examples/Makefile.am:
9456 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9457 test the new insensitive messsage functionality on HildonVolumebar.
9459 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9461 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9464 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9466 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9467 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9468 button on after clearing the trail.
9470 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9472 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9474 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9476 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9477 by splitting the installed headers in generated and non-generated groups. Use
9478 only the non-generated headers to create the hildon-enum-types.h file.
9480 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9482 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9484 * src/hildon-window.c: Hide the window before performing the destroy.
9485 Should make the app closing a little tiny bit more snappy.
9487 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9489 * src/hildon-seekbar.c: add gtkrange.h header
9490 * src/hildon-caption.c: remove unused variable
9492 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9494 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9497 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9503 * debian/changelog: Updating.
9505 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9507 * src/hildon-window.c (hildon_window_window_state_event,
9508 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9509 escape timeout on focus-out-event rather than notify::is-topmost; the
9510 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9512 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9514 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9515 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9517 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9519 * src/hildon-window: actually, you need to use the macro always, there's
9520 no private pointer in the instance structure. We should have cleaned this up
9521 when we had the chance...
9523 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9525 * src/hildon-window.c: do not get the private date from HildonWindow before
9526 it passes the g_return_if_fail check. Once it's passed the test, there's no
9527 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9528 if you are only going to access the data once. Whitespace cleanups.
9530 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9532 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9533 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9535 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9541 * debian/changelog: Updating.
9543 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9545 * src/hildon-window.c: When destroying the window, remove (if exists) the
9546 escape timeout handler. Fixes #NB59276.
9548 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9550 * src/hildon-banner.c: When realizing the widget, set the window
9551 transiency. Setting the transiency in the gobject constructor is not
9552 good, as the widget is not realized at that point. Fixes: #NB56624.
9554 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9556 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9557 Add padding for future expansions.
9559 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9561 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9562 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9563 will fake an activation on the previous to the last item of the trail, so
9564 the effect can be overrided by the developer as usual.
9565 Also change the callback for the back button to do the same thing, so its
9566 effect can be overrided too. Fixes: NB#58982
9568 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9570 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9571 HildonCaption. Fixes NB#52379.
9573 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9575 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9576 the internal state of the trail after the user has had the chance of executing
9577 his handler for the signal. Specifically, it may happen that the activated button
9578 is removed and the user still lets the default handler run. This would segfault
9581 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9583 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9584 scrollbar to the preview dialog. Fixes NB#54147.
9586 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9588 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9589 max/min year properties can be altered, so the client can modify it
9590 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9592 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9594 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9595 hildonlike by default. Fixing a problem with disappearing arrows when
9596 scrolling through months and years. Fixes NB#54127.
9598 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9600 * examples/hildon-date-editor-example.c: Adding error callback to the date
9603 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9609 * configure.ac: Updating.
9611 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9613 * configure.ac: Adding a special '--enable-xan' configure option that
9614 turns off the -Werror compilation setting. Usefull for development.
9616 * src/hildon-calendar.c:
9617 * src/hildon-number-editor.c:
9618 * src/hildon-time-picker.c: Adding the 5* multiplier to
9621 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9623 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9624 instead of g_object_ref + gtk_object_sink.
9626 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9632 * debian/changelog: Updating.
9634 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9636 * src/hildon-color-chooser-dialog.c:
9637 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9638 straight from Tommi labs.
9640 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9642 * examples/hildon-finger-example.c: Correcting the header file path.
9644 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9645 the changed signal. Fixes a small memory leak.
9647 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9651 * src/hildon-banner.c: Importing several usefull fixes from the
9652 ubuntu-mobile branch.
9654 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9656 * examples/Makefile.am:
9657 * examples/hildon-finger-example.c: Adding a finger-checking code
9660 * src/hildon-font-selection-dialog.c: Do not allocate the color
9661 structure using the g_new. Fixes NB#54061.
9663 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9665 * src/hildon-helper.c: Correcting tabs in file.
9667 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9669 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9670 control the visibility of the children.
9672 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9674 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9680 * debian/changelog: Updating.
9682 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9684 * src/hildon-bread-crumb-trail.c:
9685 (hildon_bread_crumb_trail_size_allocate):
9687 Make the back button always a square.
9689 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9691 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9692 from the .c file as it's a private file.
9694 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9696 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9697 uses slightly bigger height.
9699 * src/hildon-font-selection-dialog.c: Adding some checks before
9700 freeing memory in the font selection dialog.
9702 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9704 * src/hildon-font-selection-dialog.c: Adding a small check when
9707 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9708 buttons sensitivity on page switching.
9710 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9712 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9713 internal details of adding a bread crumb to the trail.
9715 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9721 * debian/changelog: Updating.
9723 * src/hildon-bread-crumb-trail.h:
9724 * src/hildon-bread-crumb.h: Changing the API guard to
9725 HILDON_ENABLE_UNSTABLE_API.
9727 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9735 * src/hildon-helper.h: Updating.
9737 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9745 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9749 * src/hildon-helper.h: Small fix to make the package actually compile.
9751 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9753 * src/hildon-bread-crumb-trail.h:
9754 * src/hildon-bread-crumb.h:
9756 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9757 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9759 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9761 * examples/hildon-bread-crumb-trail-example.c:
9763 * src/hildon-bread-crumb-trail.c:
9764 * src/hildon-bread-crumb-trail.h:
9765 * src/hildon-bread-crumb.c:
9766 * src/hildon-bread-crumb.h:
9767 * src/hildon-marshalers.list:
9768 * src/hildon-bread-crumb-widget.c:
9769 * src/hildon-bread-crumb-widget.h:
9771 Slight change in the widget design. The bread crumb trail API is
9772 unchanged, but HildonBreadCrumb is now an interface. A *private*
9773 implementation, hildon-bread-crumb-widget, is provided and used
9774 internally by the trail for the push_text/push_icon functions.
9776 The generic push API is still available, so anyone can implement
9777 and use its own bread crumb widget.
9779 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9781 * debian/rules: Fixing the shlibs.
9783 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9785 * src/hildon-banner.c: Fixing a problem with timed banners having
9786 their parrent destroyed before they are.
9788 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9790 * src/hildon-bread-crumb.c:
9791 * src/hildon-bread-crumb.h:
9793 Make the get_natural_size function a vfunc.
9795 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9797 * src/hildon-bread-crumb.c:
9798 * src/hildon-bread-crumb-trail.c:
9802 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9809 * debian/changelog: Updating for release.
9811 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9813 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9814 don't leak the pango layout.
9816 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9819 * examples/hildon-bread-crumb-trail-example.c:
9823 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9825 * debian/changelog: Removing the bug-fixed entries that were actually
9826 resolved as WONTFIX.
9828 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9831 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9833 * src/hildon-bread-crumb-trail.c:
9834 * src/hildon-bread-crumb-trail.h:
9835 * src/hildon-bread-crumb.c:
9836 * src/hildon-bread-crumb.h:
9840 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9842 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9843 until it's passed the type check.
9845 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9847 * examples/hildon-bread-crumb-trail-example.c
9851 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9853 * examples/Makefile.am
9854 * examples/hildon-bread-crumb-trail-example.c
9856 * src/hildon-bread-crumb-trail.c
9857 * src/hildon-bread-crumb-trail.h
9858 * src/hildon-bread-crumb.c
9859 * src/hildon-bread-crumb.h
9861 New HildonBreadCrumbTrail widget.
9863 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9865 * src/hildon-range-editor.c (hildon_range_editor_init),
9866 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9867 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9868 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9869 hildon_time_editor_class_init, hildon_time_editor_init),
9870 src/hildon-get-password-dialog.c (invalid_input,
9871 hildon_get_password_set_property, hildon_get_password_get_property,
9872 create_contents, hildon_get_password_dialog_set_max_characters),
9873 src/hildon-set-password-dialog.c (create_contents),
9874 src/hildon-date-editor.c (hildon_date_editor_init),
9875 src/hildon-login-dialog.c (hildon_login_dialog_init),
9876 src/hildon-number-editor.c (hildon_number_editor_init),
9877 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9878 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9879 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9880 configure option and adding the respective checks in the code.
9881 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9882 hildon_calendar_drag_data_received): fixed some build warnings.
9884 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9886 * debian/changelog: A 1.0.0 release notes.