1 2009-09-30 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-banner.c (screen_size_changed):
4 Don't hide and show the banner when the screen size changes.
6 Fixes: NB#141140 (Rotation stops when banner is present)
8 2009-09-22 Alejandro G. Castro <alex@igalia.com>
10 * hildon/hildon-pannable-area.c,
11 (hildon_pannable_axis_scroll),
12 (hildon_pannable_area_scroll): Unset the scroll_to in some
13 situations, it was causing the timeout did not stop in some cases.
15 Fixes: NB#140186 (HildonPannableArea goes into an infinite loop)
17 2009-07-02 David King <davidk@openismus.com>
19 * hildon/hildon-animation-actor-private.h
20 (HildonAnimationActorPrivate)
21 * hildon/hildon-animation-actor.c (hildon_animation_actor_show)
22 (hildon_animation_actor_hide)
23 * hildon/hildon-animation-actor.h
24 (hildon_animation_actor_set_show_full)
25 (hildon_animation_actor_set_show): Change "show" parameter type from
28 Fixes: MB#4696 (hildon_animation_actor_set_show() gint argument should
31 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
33 Do not return gboolean in GtkButton:clicked signal handlers
35 * examples/hildon-banner-example.c:
36 (on_information_clicked), (on_animation_clicked),
37 (on_progress_clicked): GtkButton:clicked handlers do not return
40 2009-09-17 Alberto Garcia <agarcia@igalia.com>
42 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
43 Use the Xlib API to take window screenshots, since the GDK API
44 doesn't allow us to set the event mask.
46 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
49 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
51 [2.2.0 Release Candidate 6]
53 * debian/changelog: bump and updates.
55 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
57 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
58 free a GList and avoid potential memory corruption.
60 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
62 [2.2.0 Release Candidate 5]
65 * debian/changelog: bump and updates
67 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
69 Do not set any flag for empty legacy menus
71 * hildon/hildon-program.c: (hildon_program_set_common_menu):
72 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
73 This will probably not work fine with empty legacy menus added to
74 programs or windows and populated later, but so it's life.
76 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
78 Update the application menu flag for application-wise windows
80 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
81 (hildon_program_set_common_app_menu): Also take into account the visibility
84 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
86 Emit HildonAppMenu::changed when menu items change visibility
88 * hildon/hildon-app-menu.c: (item_visibility_changed),
89 (filter_visibility_changed): Also emit ::changed on
90 visibility of items changed.
92 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
94 Do not set the menu flag in a window when a menu is empty
96 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
97 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
98 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
99 changes by using the HildonAppMenu::changed signal.
101 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
103 Add HildonAppMenu::changed signal
105 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
106 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
107 Emit a new HildonAppMenu:changed signal when there are changes in
110 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
112 Add hildon_app_menu_has_visible_children() private method
114 * hildon/hildon-app-menu-private.h: Add below private method.
115 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
116 New method to check the visibility of a HildonAppMenu children.
118 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
120 Set the window menu flag for application-common menus
122 * hildon/hildon-program.c:
123 (+hildon_program_window_set_common_menu_flag): Set or remove the
124 menu flag from a window only this doesn't have its own menu.
125 (+hildon_program_set_common_menu_flag): adjust menu flag for
126 all windows in the program.
127 (hildon_program_add_window),
128 (hildon_program_remove_window): add/remove the menu flag when
129 a window is added to the program.
131 Fixes: NB#137814 (Indicator for view menu in app title area)
133 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
135 Set a special window property for windows with menus
137 * hildon/hildon-window-private.h: Add private
138 hildon_window_set_menu_flag()
139 * hildon/hildon-window.c: (+do_set_has_menu),
140 (+hildon_window_set_menu_flag): set
141 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
142 or remove the property.
143 (hildon_window_set_main_menu),
144 (hildon_window_set_app_menu): call above methods to set or remove
145 the property when a menu is added or removed from the window.
147 Partially fixes: NB#137814 (Indicator for view menu in app title area)
149 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
151 Rename and move the methods to set flags to hildon-private.h
153 * hildon/hildon-gtk.c: (do_set_progress_indicator),
154 (do_set_do_not_disturb), (do_set_portrait_flags): call
155 the new private method hildon_gtk_window_set_clear_window_flag()
156 (hildon_gtk_window_set_progress_indicator),
157 (hildon_gtk_window_set_do_not_disturb),
158 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
159 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
160 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
162 * hildon/hildon-private.h: Add the two new private methds.
164 2009-09-11 Alejandro G. Castro <alex@igalia.com>
166 * hildon/hildon-pannable-area.c,
167 (hildon_pannable_area_init),
168 (hildon_pannable_area_size_allocate),
169 (hildon_pannable_area_button_release_cb): More tuning of the
170 speed, adding a way to calculate the acceleration and fast-panning
171 based on the child size.
173 2009-09-10 Alberto Garcia <agarcia@igalia.com>
175 * hildon/hildon-touch-selector.c
176 (hildon_touch_selector_class_init):
177 Documentation updates
181 2009-09-10 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-touch-selector.c:
184 Documentation updates
186 Fixes: MB#5104 (HildonTouchSelector docs should say no
187 HildonPannableArea is necessary)
189 2009-09-08 Alejandro G. Castro <alex@igalia.com>
191 * hildon/hildon-pannable-area.c,
192 (hildon_pannable_area_timeout): Fixed problem with the timeout
193 function, we need to move before decelerating the first time or we
194 are loosing the first jump.
196 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
198 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
200 [2.2.0 Release Candidate 3]
202 * debian/changelog: updates
204 2009-09-07 Alejandro G. Castro <alex@igalia.com>
206 * hildon/hildon-pannable-area.c,
207 (hildon_pannable_area_class_init): Increased max speed.
209 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
211 [2.2.0 Release Candidate 2]
214 * debian/changelog: bump version, updates
216 2009-09-07 Alejandro G. Castro <alex@igalia.com>
218 * hildon/hildon-pannable-area.c,
219 (hildon_pannable_area_class_init),
220 (hildon_pannable_area_button_release_cb): More tuning for the
223 2009-09-07 Alejandro G. Castro <alex@igalia.com>
225 * hildon/hildon-pannable-area.c,
226 (hildon_pannable_area_class_init):
227 Change the default value of the scrollbar_fade_delay.
229 Fixes: NB#127018 (Panning indicator fades out too slowly)
231 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
233 [2.2.0 Release Candidate 1]
236 * configure.ac: Bump version
237 * debian/changelog: updates
239 2009-09-04 Alejandro G. Castro <alex@igalia.com>
241 * hildon/hildon-pannable-area.c,
242 (hildon_pannable_area_init),
243 (hildon_pannable_area_button_press_cb),
244 (hildon_pannable_area_button_release_cb): Added a new acceleration
245 system to help traversing big lists, tuned the stop threshold.
247 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
249 2009-09-04 Alberto Garcia <agarcia@igalia.com>
251 * hildon/hildon-window.h:
252 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
254 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
256 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: bump version
262 * debian/changelog: updates
264 2009-09-04 Alberto Garcia <agarcia@igalia.com>
266 * hildon/hildon-entry.c
267 * hildon/hildon-text-view.c:
268 Documentation updates
270 2009-09-04 Alberto Garcia <agarcia@igalia.com>
272 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
273 Redraw menu when the number of items change.
275 Fixes: NB#131911 (Appmenu does not resize properly, when number of
278 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
280 * hildon/hildon-pannable-area.c:
281 (hildon_pannable_area_launch_fade_timeout),
282 (hildon_pannable_area_motion_event_scroll),
283 (hildon_pannable_area_check_move),
284 (hildon_pannable_area_button_release_cb),
285 (hildon_pannable_area_scroll_to):
287 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
288 area drawing operations, since this is the recommended for drawing
291 Fixes: NB#110894 (In event view containing very large description
292 field, application menu is displayed blank while panning)
293 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
296 2009-09-03 Alberto Garcia <agarcia@igalia.com>
298 * doc/hildon-sections.txt
299 * hildon/hildon-button.c
300 * hildon/hildon-edit-toolbar.c
301 * hildon/hildon-gtk.[ch]
302 * hildon/hildon-main.c
303 * hildon/hildon-program.c
304 * hildon/hildon-stackable-window.c:
305 Documentation updates
307 2009-08-28 Alberto Garcia <agarcia@igalia.com>
309 * hildon/hildon-app-menu.c
310 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
311 Close the menu if it receives a grab-notify signal.
313 Fixes: NB#134533 (UI freezes if we show a dialog with
314 gtk_dialog_run() while a menu is opened)
316 2009-08-27 Alejandro G. Castro <alex@igalia.com>
318 * hildon/hildon-pannable-area.c,
319 (hildon_pannable_area_class_init): Reverted tuning modifications:
320 "Pannign needs to be faster" and "Pannable kinetics in large lists
323 2009-08-26 Alberto Garcia <agarcia@igalia.com>
325 * hildon/hildon-sound.c (hildon_play_system_sound):
326 Set "module-stream-restore.id" to "x-maemo-system-sound" when
327 playing system sounds
329 Fixes: NB#133767 (Information and confirmation note sound should
330 follow system profile setting)
332 2009-08-26 Alejandro G. Castro <alex@igalia.com>
334 * hildon/hildon-pannable-area.c,
335 (hildon_pannable_area_class_init): Added more force and increased
336 the max speed threshold.
338 Fixes: NB#135344 (Pannign needs to be faster)
340 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
342 [Release 2.1.96, this time for real]
345 * debian/changelog: updates
347 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
349 * hildon/hildon-pannable-area.c
350 (hildon_pannable_area_get_topmost): change the computation of the
351 co-ordinates transformed when no one of the children is a topmost
353 Fixes: NB#133252 (Opening any feed item from RSS always opens the
354 first feed item in browser)
356 2009-08-26 Alejandro G. Castro <alex@igalia.com>
358 * hildon/hildon-pannable-area.c,
359 (hildon_pannable_area_remove_timeouts): Adding this new function
360 with the code that removes the timeouts of the widget.
361 (hildon_pannable_area_dispose),
362 (hildon_pannable_area_unrealize): Use the new remove function to
363 stop timeouts when unrealizing and disposing.
364 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
365 calculation to avoid negative values in some cases.
367 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
369 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
371 * examples/hildon-check-button-example.c: (button_toggled_cb):
372 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
373 (hildon_check_button_set_active), (hildon_check_button_new),
374 (hildon_check_button_clicked), (hildon_check_button_class_init):
375 * hildon/hildon-check-button.h:
376 * hildon/hildon-set-password-dialog.c: (create_contents),
377 (hildon_set_password_response_change), (hildon_checkbox_toggled):
379 Revert "Make HildonCheckButton derive from GtkToggleButton"
381 2009-08-21 Alberto Garcia <agarcia@igalia.com>
385 * configure.ac: bump version
387 * debian/changelog: updates
389 2009-08-21 Alberto Garcia <agarcia@igalia.com>
391 * hildon/hildon-check-button.h
392 * hildon/hildon-check-button.c
393 (hildon_check_button_clicked, hildon_check_button_class_init):
394 Make HildonCheckButton derive from GtkToggleButton
395 (hildon_check_button_toggled, hildon_check_button_set_active)
396 (hildon_check_button_get_active):
397 Deprecate unnecessary HildonCheckButton API and use the
398 one from GtkToggleButton instead.
400 * hildon/hildon-set-password-dialog.c (create_contents)
401 (hildon_set_password_response_change, hildon_checkbox_toggled)
402 * examples/hildon-check-button-example.c (button_toggled_cb):
403 Update to use the GtkToggleButton API
405 Fixes: MB#4739 (HildonCheckButton should inherit from
408 Fixes: NB#132661 (HildonCheckButton should inherit from
411 2009-08-20 Alberto Garcia <agarcia@igalia.com>
413 * hildon/hildon-pannable-area.c
414 (hildon_pannable_area_class_init):
415 Increase default value of HildonPannableArea:velocity_max to 2000
417 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
419 2009-08-18 Alberto Garcia <agarcia@igalia.com>
423 * configure.ac: bump version
425 * debian/changelog: updates
427 2009-08-11 Alejandro G. Castro <alex@igalia.com>
429 * hildon/hildon-pannable-area.c
430 (hildon_pannable_area_size_allocate): Checked the scrollbars
431 before the first try when defining the layout, avoids two
432 allocations in some situations.
434 Fixes: NB#131794 (pannable area produces unnecessary allocations
435 causing performance problems)
437 2009-08-11 Alejandro G. Castro <alex@igalia.com>
439 * hildon/hildon-pannable-area.c
440 (hildon_pannable_area_button_press_cb),
441 (hildon_pannable_area_motion_notify_cb),
442 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
443 the spurious ref added in the copy, fixes leak of window.
445 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
446 if it's realized without showing and then deleted)
448 2009-08-10 Alberto Garcia <agarcia@igalia.com>
452 * configure.ac: bump version
454 * debian/changelog: updates
456 2009-08-06 Alberto Garcia <agarcia@igalia.com>
458 * examples/hildon-hvolumebar-timer-example.c
460 * hildon/hildon-banner.c
461 (hildon_banner_timeout, hildon_banner_ensure_timeout)
462 * hildon/hildon-calendar.c
463 (calendar_timer, start_spinning)
464 * hildon/hildon-color-chooser.c
465 (inline_limited_expose)
466 * hildon/hildon-date-editor.c
467 (hildon_date_editor_entry_focus_in)
468 (hildon_date_editor_entry_validate)
469 (hildon_date_editor_entry_select_all)
470 * hildon/hildon-note.c
472 * hildon/hildon-number-editor.c
473 (hildon_number_editor_button_pressed)
474 (hildon_number_editor_start_timer, do_mouse_timeout),
475 (add_select_all_idle, hildon_number_editor_select_all)
476 * hildon/hildon-time-editor.c
477 (hildon_time_editor_entry_focus_in)
478 (highlight_callback, hildon_time_editor_validate)
479 (hildon_time_editor_entry_select_all)
480 * hildon/hildon-time-picker.c
481 (hildon_time_picker_arrow_press)
482 (hildon_time_picker_key_repeat_timeout)
483 * hildon/hildon-window.c
484 (hildon_window_key_press_event)
485 (hildon_window_escape_timeout):
486 Replace all calls to g_idle_add/g_timeout_add with their
487 gdk_threads counterparts.
489 Fixes: NB#126198 (gdk-threads API should be used to install idle
490 and timeout handlers)
492 2009-08-06 Alejandro G. Castro <alex@igalia.com>
494 * hildon/hildon-pannable-area.c,
495 (hildon_pannable_area_class_init): Increased the overshooting max
496 speed to get a faster effect.
497 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
498 deceleration of the overshooting
499 (hildon_pannable_area_button_release_cb): Calculate initial
500 overshooting speed when finger on the screen using the distance to
501 launch the effect faster.
503 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
504 lists with slow row renderers)
506 2009-08-05 Alberto Garcia <agarcia@igalia.com>
508 * doc/hildon-sections.txt: Add new functions
510 2009-08-05 Alberto Garcia <agarcia@igalia.com>
512 * hildon/hildon-text-view.[ch]
513 * hildon/hildon-entry.[ch]:
514 Add deprecation guards around deprecated functions.
516 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
518 * hildon/hildon-app-menu.c: Remove leftover function declaration.
520 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
522 Remove the grab from HildonAppMenu
524 * hildon/hildon-app-menu.c:
525 Now hildon-desktop places a blocker window behind the menu to handle
526 its closing, so the grab is no longer needed. This simplifies its
527 implementation and allows the system blanking to succeed.
529 Fixes: NB#130910 (Screen gets unlocked when menu is open)
531 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
535 * configure.ac: bump version
537 * debian/changelog: updates
538 * debian/control: raise debian dependency on GTK+
540 2009-08-04 Alberto Garcia <agarcia@igalia.com>
542 * hildon/hildon-text-view.c
543 * hildon/hildon-entry.c:
544 Remove all placeholder code from HildonEntry and HildonTextView
545 and use the API in GtkEntry and GtkTextView instead.
547 * examples/hildon-entry-example.c
548 * examples/hildon-text-view-example.c
549 * examples/hildon-wizard-dialog-example.c
550 * hildon/hildon-get-password-dialog.c
551 * hildon/hildon-login-dialog.c
552 * hildon/hildon-picker-dialog.c
553 * hildon/hildon-set-password-dialog.c
554 * hildon/hildon-touch-selector-entry.c:
555 Replace all deprecated calls to HildonEntry and HildonTextView
556 with their Gtk counterparts.
558 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
561 2009-08-03 Alejandro G. Castro <alex@igalia.com>
563 * hildon/hildon-pannable-area.c,
564 (hildon_pannable_area_check_move),
565 (hildon_pannable_area_button_release_cb),
566 (hildon_pannable_area_scroll_to): Reverted the priority change of
567 the timeout, in some situations, slow renderers, the click do not
568 make it to the mainloop on time.
570 Fixes NB#131013 (unable to stop panning file manager by tapping on
573 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
575 * configure.ac: bump version
577 * debian/changelog: updates
579 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
581 * hildon/hildon-touch-selector.[ch]
582 (hildon_touch_selector_center_on_index): New method that allows to center
583 on a item not selected
585 Fixes NB#130291 (New HildonTouchSelector API is required to center on
588 2009-07-29 Alberto Garcia <agarcia@igalia.com>
590 * hildon/hildon-text-view.c
591 (+set_logical_color, +hildon_text_view_style_set)
592 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
593 (hildon_text_view_init)
594 * hildon/hildon-entry.c
595 (+set_logical_color, +hildon_entry_style_set)
596 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
597 (hildon_entry_class_init, hildon_entry_init)
598 * hildon/hildon-button.c
599 (+set_logical_font, +set_logical_color)
600 (hildon_button_style_set, hildon_button_init)
601 (hildon_button_set_arrangement, hildon_button_set_style):
602 Remove all calls to hildon_helper_set_logical_font() and
603 hildon_helper_set_logical_color(), which are recursive, from
606 Fixes: NB#123409 (Showing dialog consumes significant amount of
609 2009-07-29 Alejandro G. Castro <alex@igalia.com>
611 * hildon/hildon-pannable-area.c,
612 (hildon_pannable_area_timeout): Added the process updates of the
613 scrollbars window in the pannable.
615 Fixes: NB#130043 (scrollindicator not smooth while panning)
617 2009-07-23 Alejandro G. Castro <alex@igalia.com>
619 * hildon/hildon-pannable-area.c,
620 (hildon_pannable_area_check_move),
621 (hildon_pannable_area_button_release_cb),
622 (hildon_pannable_area_scroll_to): Increased the priority of the
623 timeout this way it is going to be handled before the events.
625 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
629 * configure.ac: bump version
630 * debian/changelog: updates
632 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
634 * hildon/hildon-entry.c: (set_property): Do not allow to set
635 automatic height and use finger height instead, to prevent an to
636 have a smaller size than than its theme pixbuf.
638 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
640 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
642 * configure.ac: postrelease version bump.
643 * debian/changelog: post release version bump
645 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
650 * configure.ac: Bump version.
651 * debian/changelog: Updates.
653 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
655 * hildon/hildon-note.c: (label_size_request): Take the note
656 padding into account when setting the size request.
658 Fixes: NB#127896 (Information notes text truncated)
660 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
662 * configure.ac: postrelease version bump.
663 * debian/changelog: post release version bump
665 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
670 * configure.ac: Bump version.
671 * debian/changelog: Updates.
673 2009-07-16 Alejandro G. Castro <alex@igalia.com>
676 * hildon/hildon-text-view.c,
677 (hildon_text_view_button_press_event): Grabbed the focus in button
678 press, this way we are sure the widget has the focus in the
679 release event, required for HIM.
681 Fixes: NB#121445 (Virtual keyboard opening is not working in same
682 way for each text entry field)
684 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
686 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
687 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
688 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
689 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
690 (hildon_pannable_area_[gs]et_center_on_child_focus)
691 Redefined GtkContainer set-focus-child signal, in order to center
692 properly on a child when it receives the focus. Defined a new property
693 "center-on-child-focus" in order to activate this feature (deactivated
694 by default). Public get/set methods defined to manage the property.
696 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
698 2009-07-14 László Pere <lpere@blumsoft.eu>
700 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
701 the new size is applied.
703 Fixes: NB#124510 (The Application Menu is distorted when switched
704 between portrait and landscape mode)
705 Fixes: NB#115388 (Power key menu does not resize itself)
707 2009-07-01 Alberto Garcia <agarcia@igalia.com>
709 * hildon/hildon-banner.c (hildon_banner_map):
710 Set banner position after mapping.
712 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
714 * configure.ac: postrelease version bump.
715 * debian/changelog: post release version bump
717 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
722 * configure.ac: Bump version.
723 * debian/changelog: Updates.
725 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
727 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
730 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
732 * tests/check-hildon-banner.c
734 * tests/test_suites.h
735 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
736 were testing deprecated functions.
737 * examples/hildon-banner-example.c: typo on button3 type, that causes
738 a fail compiling with --with-examples but without --disable-deprecated
740 Missed commit in order to fix compilation using '--enable-fatal' and
741 '--disable-deprecated' (see previous commit)
743 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
745 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
746 functions with #ifndef HILDON_DISABLE_DEPRECATED
747 * examples/hildon-find-toolbar.c: Protect deprecated
748 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
749 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
750 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
751 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
753 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
754 to allow proper compilation of deprecated functions defined on the header
756 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
758 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
760 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
761 Cache the panning indicator color.,
762 (hildon_pannable_area_style_set): Query the color on style changes.
763 (hildon_pannable_draw_vscroll),
764 (hildon_pannable_draw_hscroll),
765 (hildon_pannable_area_expose_event): Use the cached panning indicator
766 color instead of looking it up on every expose and more.
768 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
770 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
771 (hildon_pannable_draw_hscroll),
772 (hildon_pannable_area_expose_event): Fix the panning indicator color,
773 so that it's "SecondaryTextColor", as desired.
775 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
777 * hildon/hildon-picker-dialog.c:
778 (selection_completed): take into account HILDON_UI_MODE_NORMAL
779 * hildon/hildon-touch-selector.c
780 (hildon_touch_selector_init): Initialize hildon-ui-mode
781 (hildon_touch_selector_row_activated): new callback for the
782 "row-activated" signal, in order to save the last activated
783 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
784 if the current hildon-ui-mode is coherent with the touch selector
785 (hildon_touch_selector_class_init)
786 (hildon_touch_selector_get_property)
787 (hildon_touch_selector_set_property)
788 Added "hildon-ui-mode" property
789 (disconnect_model_handlers): renamed to clean_column
790 (hildon_touch_selector_remove): use clean_column function
791 (_create_new_column): use the hildon-ui-mode to create the treeview, and
792 only select the first element on HILDON_UI_MODE_EDIT
793 (hildon_touch_selector_column_init): Initialize last_activate
794 (hildon_touch_selector_append_column): check that the touch selector
795 is coherent with the current hildon-ui-mode
796 (hildon_touch_selector_get_hildon_ui_mode)
797 (hildon_touch_selector_set_hildon_ui_mode)
798 Added a getter/setter for the hildon-ui-mode property
799 (hildon_touch_selector_get_last_activated_row): Added this method in
800 order to get the last activated row.
801 * examples/hildon-touch-selector-normal-mode-example.c
802 New example, that shows how to use the HildonTouchSelector in
803 HILDON_UI_MODE_NORMAL
805 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
806 Kristian Rietveld <kris@lanedo.com> advices
808 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
810 * hildon/hildon-time-selector.c: (update_format_policy): Do
811 not call update_format_dependant_columns() if not necessary.
812 (update_format_dependant_columns): Remove unnecessary check for
813 the number of columns.
815 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
817 * hildon/hildon-note.c (+hildon_note_constructor),
818 (hildon_note_class_init), (+hildon_note_set_padding),
819 (hildon_note_rebuild): Install a constructor where to set the
820 padding properties in the note, so that it actually works fine.
821 Use hildon_note_set_padding() for this, and also to set it during
824 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
826 * configure.ac: Bump GTK+ requirement to 2.14.3.
827 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
828 when using maemo-gtk to define proper margins for the notes.
830 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
831 with the dialog edge)
833 2009-06-24 Alberto Garcia <agarcia@igalia.com>
835 * hildon/hildon-banner.c
836 (hildon_banner_class_init):
838 (+hildon_banner_size_request):
839 Request always the full width of the screen.
840 (hildon_banner_realize)
841 (-hildon_banner_check_position, hildon_banner_map):
842 hildon_banner_check_position() is not needed in Hildon 2.2.
843 (-hildon_banner_reset_wrap_state)
844 (hildon_banner_constructor, hildon_banner_init):
845 Remove unnecessary calls to hildon_banner_reset_wrap_state()
846 (+banner_do_set_text)
847 (force_to_wrap_truncated):
848 Remove has_been_wrapped and has_been_truncated attributes.
849 (+reshow_banner, hildon_banner_real_show_information)
850 (hildon_banner_show_information_with_markup)
851 (hildon_banner_show_animation, hildon_banner_show_progress)
852 (hildon_banner_set_text, hildon_banner_set_markup):
853 Refactor code. Shrink banner vertically to use the minimum space
854 necessary everytime the text of the label is updated.
855 (screen_size_changed):
856 Call force_to_wrap_truncated() when the size of the screen
859 Fixes: NB#120500 (only device memory connect mmc in use info
860 banner is left aligned)
862 Fixes: NB#120613 (Size of HildonBanner varies depending on
863 previously opened banners)
865 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
867 * hildon/hildon-color-chooser.c
868 (hildon_color_chooser_pointer_motion): Take the widget allocation
871 Fixes: NB#124385 (Unable to select exact point in color mixing box
872 in color palette dialog)
874 2009-06-23 Alejandro G. Castro <alex@igalia.com>
876 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
877 (hildon_pannable_area_dispose)
878 (hildon_pannable_area_button_press_cb)
879 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
880 (hildon_pannable_area_button_release_cb)
881 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
882 New 'panning-started' and 'panning-finished' signals.
884 Fixes: NB#121732 (New feature request: Signal to pannable area
885 that informs when panning is stopped.)
887 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
889 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
890 instead of hardcoded colon.
892 Fixes: NB#124090 (New calendar wizard title is not using
893 ecdg_ti_caption_separator)
895 2009-06-22 David King <davidk@openismus.com>
897 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
898 constants and functions, as well as correct many typos throughout the
901 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
904 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
906 * configure.ac: postrelease version bump.
907 * debian/changelog: post release version bump
909 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
914 * configure.ac: Bump version.
915 * debian/changelog: Updates.
917 2009-06-18 Alberto Garcia <agarcia@igalia.com>
919 * hildon/hildon-window-stack.c
920 (hildon_window_stack_pop_and_push_list):
921 Prevent windows from having the same stack index
923 2009-06-18 Alberto Garcia <agarcia@igalia.com>
925 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
926 Use the index of the previous window rather than the stack length
927 to calculate the new index.
931 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
933 * hildon/hildon-date-selector.c
934 (hildon_date_selector_select_current_date)
935 (hildon_date_selector_get_date)
936 (hildon_date_selector_select_day):
937 Update the documentation: uses always the range (1-31), as it is obvious
938 that the final one will depend on the month and the year, but globally
939 the range is this, in a similar GtkCalendar approach
940 (hildon_date_selector_get_date):
941 Update the documentation: add NULL as a valid value for the day, month
944 Fix some details, after talk with David King on bug MB#4698
946 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
948 * hildon/hildon-touch-selector-entry.c
949 * hildon/hildon-touch-selector.c
950 Update the documentation of the "text-column" property
952 2009-06-18 David King <davidk@openismus.com>
954 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
955 several typos and errors throughout the documentation.
957 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
960 2009-06-18 Alberto Garcia <agarcia@igalia.com>
962 * hildon/hildon-note.c (hildon_note_realize):
963 Make HildonNote support portrait mode.
965 Fixes: NB#123448 (HildonNote is not portrait-friendly)
967 2009-06-17 Alberto Garcia <agarcia@igalia.com>
969 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
970 Document this function
972 2009-06-17 David King <davidk@openismus.com>
974 * hildon/hildon-date-selector.c
975 (hildon_date_selector_select_current_date)
976 (hildon_date_selector_get_date): Update documentation regarding days,
977 as the day of the month is dependent on both the month and the year.
978 (hildon_date_selector_get_date): Fix documentation of output arguments.
980 Fixes: MB#4698 (DateSelector documentation has bad output argument
981 description, and the day depends on both the month and the year)
983 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
985 * hildon/hildon-caption.c: Other documentation fixes to
988 2009-06-17 David King <davidk@openismus.com>
990 * hildon/hildon-caption.c: Minor documentation updates for
991 HildonCaption. Fixes MB#4697.
993 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
995 * doc/hildon-docs.sgml: Add hildon-version section.
996 * doc/hildon-sections.txt:
997 * hildon/hildon-version.h.in: Document versioning macros and
1000 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1002 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
1003 from HildonPickerDialog section.
1005 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1007 * hildon/hildon-banner.c (hildon_banner_bind_style)
1008 (screen_size_changed, hildon_banner_init)
1009 (hildon_banner_real_show_information)
1010 (hildon_banner_show_information_with_markup)
1011 (hildon_banner_show_animation, hildon_banner_show_progress):
1012 Set a different widget name to banners in portrait mode, for them
1013 to be themed correctly.
1015 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1017 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
1018 Set a different widget name to notes in portrait mode, for them to
1019 be themed correctly.
1021 Partially fixes: NB#118401 (HildonNote causes unnecessary
1022 rescaling of images)
1024 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1026 * hildon/hildon-note.c (hildon_note_class_init)
1027 (+hildon_note_size_request, screen_size_changed):
1028 Always request the full width of the screen.
1030 Fixes: NB#118375 (unnecessary rescaling of images)
1032 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1034 * hildon/hildon-pannable-area.c,
1035 (hildon_pannable_area_init),
1036 (hildon_pannable_area_realize): Replaced old code adding flags in
1037 the object init, now we add it with the other flags in the realize
1040 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1042 * hildon/hildon-note.c: (hildon_note_class_init): Several
1043 documentation improvements to the HildonNote widget.
1045 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1047 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1049 Fixes: MB#4556 (HildonNoteType is undocumented)
1051 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1053 * hildon/hildon-picker-button.c:
1054 Explain how HildonPickerButton sets the title of its dialog
1056 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1057 the title of its dialog)
1059 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1061 * hildon/hildon-check-button.c:
1062 Documentation updates
1064 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1067 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1069 * hildon/Makefile.am
1070 * hildon/hildon-edit-toolbar-private.h
1071 * hildon/hildon-edit-toolbar.c
1072 (+hildon_edit_toolbar_set_progress_indicator)
1073 (hildon_edit_toolbar_init): Add progress indicator to the
1076 * hildon/hildon-gtk.c
1077 (hildon_gtk_window_set_progress_indicator):
1078 If the window contains a HildonEditToolbar, enable the progress
1079 indicator there too.
1081 * hildon/hildon-private.h
1082 * hildon/hildon-private.c
1083 (+hildon_private_create_animation)
1084 * hildon/hildon-banner.c
1085 (-hildon_banner_create_animation):
1086 Moved to hildon-private.c
1088 Fixes: NB#102373 (Progress indicator also for the Edit mode
1091 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1093 * hildon/hildon-app-menu-private.h
1094 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1095 (hildon_app_menu_add_filter, +menu_item_button_event)
1096 (hildon_app_menu_button_release, hildon_app_menu_init):
1097 Make sure that buttons receive 'button-release-event' in spite of
1098 the grab held by HildonAppMenu
1100 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1102 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1104 * hildon/hildon-app-menu.c
1105 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1106 New style property to set the size of the group of filter buttons.
1108 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1110 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1115 * configure.ac: Bump version.
1116 * debian/changelog: Updates.
1118 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1120 * hildon/hildon-main.c: Minor documentation fixes.
1122 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1124 * doc/hildon-sections.txt:
1125 * hildon/hildon-defines.h: Document the defines, organize them,
1126 and mark deprecations as such.
1128 Fixes: MB#4463 (Hildon size #defines are undocumented)
1130 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1132 * hildon/hildon-animation-actor.c:
1133 * hildon/hildon-app-menu.c:
1134 * hildon/hildon-button.c:
1135 * hildon/hildon-date-editor.c:
1136 * hildon/hildon-dialog.c:
1137 * hildon/hildon-edit-toolbar.c:
1138 * hildon/hildon-entry.c:
1139 * hildon/hildon-program.c:
1140 * hildon/hildon-remote-texture.c:
1141 * hildon/hildon-stackable-window.c:
1142 * hildon/hildon-text-view.c:
1143 * hildon/hildon-touch-selector.c:
1144 * hildon/hildon-window-stack.c:
1145 * hildon/hildon-window.c:
1147 Remove redundant "represents" wording from most of the documentation.
1149 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1151 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1155 * hildon/Makefile.am
1156 * hildon/hildon-banner-private.h
1157 * hildon/hildon-banner.c:
1158 Move HildonBannerPrivate to hildon-banner.c and remove
1159 hildon-banner-private.h
1160 Use a bit field to store private booleans.
1162 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1164 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1165 Don't install a new idle function if there's already one
1170 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1172 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1173 (+legacy_menu_realized, +legacy_menu_unmapped)
1174 (+set_legacy_menu_type):
1175 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1176 they can be identified by the window manager.
1178 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1179 displayed in wrong location)
1181 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1184 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1186 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1188 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1189 use gtk-doc support)
1191 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1193 * hildon/hildon-code-dialog.c
1194 * hildon/hildon-date-editor.c
1195 * hildon/hildon-number-editor.c
1196 * hildon/hildon-seekbar.c
1197 * hildon/hildon-stackable-window.c
1198 * hildon/hildon-window.c:
1199 Misc documentation updates
1201 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1203 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1204 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1206 Fixes: NB#117931 (Theming issues in accounts dialogs)
1208 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1210 * hildon/hildon-pannable-area.c,
1211 (hildon_pannable_area_button_release_cb): Changed the coordinates
1212 of the original release in case we want to discard the release,
1213 some widgets in Fremantle do not handle the leave-notify.
1215 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1217 * hildon/hildon-pannable-area.c,
1218 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1219 the release using the last refactored functions and avoiding the
1220 movement if an element was selected.
1222 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1224 * hildon/hildon-pannable-area.c,
1225 (hildon_pannable_area_check_move),
1226 (hildon_pannable_area_handle_move),
1227 (hildon_pannable_area_motion_notify_cb): Refactored the
1228 motion_notify method using a couple of new functions.
1230 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1232 * hildon/hildon-date-selector.c:
1233 (hildon_date_selector_construct_ui):
1234 * hildon/hildon-time-selector.c:
1235 (hildon_time_selector_constructor):
1236 * hildon/hildon-touch-selector-entry.c:
1237 (hildon_touch_selector_entry_set_text_column),
1238 (hildon_touch_selector_entry_get_text_column):
1239 * hildon/hildon-touch-selector.c: (_default_print_func),
1240 (hildon_touch_selector_new_text): Use
1241 hildon_touch_selector_set/get_text_column() instead of
1242 setting/getting the "text-column" property.
1244 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1246 * doc/hildon-sections.txt: Add the new public methods below.
1248 * examples/hildon-picker-button-multicolumn-example.c:
1249 (create_touch_selector):
1250 * examples/hildon-touch-selector-example.c: (create_selector):
1251 * examples/hildon-touch-selector-multi-cells-example.c:
1253 Use hildon_touch_selector_column_set_text_column()
1255 * hildon/hildon-touch-selector-column.h:
1256 * hildon/hildon-touch-selector.c:
1257 (hildon_touch_selector_column_set_text_column),
1258 (hildon_touch_selector_column_get_text_column):
1259 Make hildon_touch_selector_column_set/get_column() public, use
1260 them in the inline example, document them, and reference to them
1263 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1265 * hildon/hildon-time-selector.c: Fix the docs for
1266 hildon_time_selector_new_step().
1268 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1270 * hildon/hildon-touch-selector.c: Improve the documentation for
1271 hildon_touch_selector_append_column().
1273 Fixes MB#4641 (Documentation:
1274 hildon_touch_selector_append_column() ref-counting)
1276 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1278 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1279 Comment out test 5, since the hildon_controlbar_set_range() range
1280 check is broken and fixing it would have side effects. Also,
1281 this finally fixes make distcheck.
1283 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1285 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1287 * tests/TEST-CASES.txt: Remove other bogus test.
1288 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1289 Remove bogus test that was setting/retrieving a valid value.
1291 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1293 * tests/TEST-CASES.txt: Remove bogus tests.
1294 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1295 Remove three bogus tests that were actually setting valid colors.
1297 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1299 * configure.ac: post release version bump
1300 * debian/changelog: post release version bump
1302 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1307 * configure.ac: Bump version.
1308 * debian/changelog: Updates.
1310 2009-06-08 Christian Dywan <christian@lanedo.com>
1314 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1315 Correct errors in hildon_format_file-size_for_display and use
1316 translations from the hildon-fm package instead of osso-filemanager.
1318 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1320 * hildon/hildon-pannable-area.c,
1321 (hildon_pannable_area_init): Initialized new values to handle the
1322 adjustment position.
1323 (hildon_pannable_area_adjust_value_changed): Check if the values
1324 changed before even call the redraw function.
1325 (hildon_pannable_area_size_allocate),
1326 (hildon_pannable_axis_scroll),
1327 (hildon_pannable_area_scroll),
1328 (hildon_pannable_area_jump_to): Improved the diagonal movement
1331 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1334 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1336 * examples/hildon-banner-example.c:
1337 Several style updates
1338 (on_animation_clicked, on_animation_idle)
1339 (on_progress_clicked, on_progress_idle):
1340 Add additional reference for the cases when the parent window is
1343 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1345 * doc/hildon-sections.txt
1346 * hildon/hildon-pannable-area.c
1347 * hildon/hildon-banner.h
1348 * hildon/hildon-banner.c: Documentation updates.
1350 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1353 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1355 * hildon/hildon-calendar-popup.h:
1356 * hildon/hildon-caption.h:
1357 * hildon/hildon-code-dialog.h:
1358 * hildon/hildon-controlbar.h:
1359 * hildon/hildon-date-editor.h:
1360 * hildon/hildon-dialog.h:
1361 * hildon/hildon-get-password-dialog.h:
1362 * hildon/hildon-hvolumebar.h:
1363 * hildon/hildon-login-dialog.h:
1364 * hildon/hildon-note.h:
1365 * hildon/hildon-number-editor.h:
1366 * hildon/hildon-range-editor.h:
1367 * hildon/hildon-seekbar.h:
1368 * hildon/hildon-set-password-dialog.h:
1369 * hildon/hildon-sort-dialog.h:
1370 * hildon/hildon-time-editor.h:
1371 * hildon/hildon-time-picker.h:
1372 * hildon/hildon-volumebar-range.h:
1373 * hildon/hildon-volumebar.h:
1374 * hildon/hildon-vvolumebar.h:
1375 * hildon/hildon-weekday-picker.h:
1376 * hildon/hildon-window.h:
1377 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1378 macros with the current replacements
1380 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1382 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1384 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1385 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1386 itself, to make it fit better with Fremantle style.
1388 Fixes: NB#109878 (height and width of focus on color icon is not
1389 consistent with other item in the application tool bar)
1391 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1393 * hildon/hildon-touch-selector.c:
1394 (hildon_touch_selector_optimal_size_request): use the current requisition
1395 as the base, in order to include any possible extra widget, like the
1396 hildon entry on HildonTouchSelectorEntry
1398 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1400 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1402 * configure.ac: post release version bump
1403 * debian/changelog: post release version bump
1405 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1410 * configure.ac: Bump version.
1411 * debian/changelog: Updates.
1413 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1415 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1417 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1418 to ensure the banner contents are centered, instead of relying on
1419 the expand and fill properties in GtkHBox.
1420 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1422 Fixes: NB#108265 (Animation banner not properly centered)
1424 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1426 * hildon/hildon-pannable-area.c
1427 (hildon_pannable_area_initial_effect): Remove the initial_effect
1428 management, check initial_hint
1429 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1430 set initial_effect to FALSE
1431 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1432 by launching the fade_timeout if the scrollbars state has changed and are
1434 * examples/hildon-pannable-area-initial-hint-example.c
1435 Modified to allow to remove rows too. Add and remove rows one by one.
1437 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1439 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1440 Don't close the menu if there's an animation actor below it.
1442 Fixes: NB#117927 (Application menu not usable with animation
1445 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1447 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1448 "focus-on-click" from the dialog button, to avoid stealing the
1449 focus from the entry.
1451 Fixes: NB#118903 (Account setup wizard: Text in Search field
1452 should be focused when "Region" touch list picker is reopened
1455 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1457 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1458 (prepare_action_area): Completely hide the dialog separator.
1460 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1462 * hildon/hildon-touch-selector-entry.c
1463 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1464 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1465 now that the entry is exposed.
1467 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1469 * hildon/hildon-touch-selector-entry.c
1470 (hildon_touch_selector_entry_init): Change the entry's size
1471 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1473 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1475 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1476 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1477 avoid unnecessary scaling.
1479 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1481 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1482 Create grab transfer window before calling parent's map function.
1484 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1485 "crushed" button(s) in the top left corner)
1487 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1489 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1490 Check if the window is already realized when pushing it.
1492 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1494 * configure.ac: post release version bump
1495 * debian/changelog: post release version bump
1497 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1502 * configure.ac: Bump version.
1503 * debian/changelog: Updates.
1505 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1507 * hildon/hildon-app-menu.c: Doc updates.
1509 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1511 * hildon/hildon-banner.c: Remove leftover macro.
1513 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1515 * hildon/hildon-pannable-area.c,
1516 (hildon_pannable_area_scroll_indicator_fade),
1517 (hildon_pannable_area_button_release_cb): Reviewed vmin
1518 conditions, it could cause problems in the fadeout procedure.
1520 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1522 * hildon/hildon-pannable-area.c
1523 (hildon_pannable_area_button_release_cb): Added a threshold to
1524 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1526 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1528 * hildon/hildon-pannable-area.c,
1529 (hildon_pannable_area_set_property): Added code to sync the gtk
1530 dnd threshold with the panning threshold.
1532 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1534 * hildon/hildon-pannable-area.c,
1535 (hildon_pannable_area_class_init): Changed some of the default
1536 values, now it should be less responsive and more accurate.
1538 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1540 * hildon/hildon-pannable-area.c,
1541 (hildon_pannable_area_init),
1542 (hildon_pannable_area_scroll_indicator_fade),
1543 (hildon_pannable_area_button_press_cb),
1544 (hildon_pannable_axis_scroll),
1545 (hildon_pannable_area_timeout),
1546 (hildon_pannable_area_motion_notify_cb),
1547 (hildon_pannable_area_button_release_cb): Changed the name of the
1548 clicked attribute to button_pressed, it is more clear about its use.
1550 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1552 * src/hildon-pannable-area.c
1553 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1555 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1556 vertical scrollbar visibility, and use the data on private section instead,
1557 remove the initial_hint check
1558 (hildon_pannable_area_expose_event): add the initial_hint check here
1560 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1562 * src/hildon-pannable-area.c
1563 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1564 if the fadeout effect was used
1565 (hildon_pannable_area_expose_event): check if it is required to
1566 manage the initial effect on the begining of the function. Previously
1567 it was made at the end, but this doesn't ensure that the scrollbars
1568 will be painted on the first show. Do not set to FALSE initial_effect,
1569 to ensure that the initial hint is showed the first time the pannable
1571 * examples/Makefile.am
1572 * examples/hildon-pannable-area-initial-hint-example.c:
1573 New example, to show that the initial-hint is showed when the widget
1576 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1577 initially if the application can be scrolled)
1579 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1581 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1582 Resize table before adding new items to make sure that
1583 gtk_table_resize() is called just once.
1585 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1587 * hildon/hildon-app-menu-private.h
1588 * hildon/hildon-app-menu.c (item_visibility_changed)
1589 (filter_visibility_changed, hildon_app_menu_show_all)
1590 (hildon_app_menu_hide_all, hildon_app_menu_init):
1591 Rearrange items just once when gtk_widget_show_all()/hide_all()
1594 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1596 * hildon/hildon-app-menu.c
1597 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1598 Don't call gtk_widget_show() on added items.
1600 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1601 automatically when they're added)
1603 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1605 * hildon/hildon-banner.c
1606 (hildon_banner_realize, +hildon_banner_unrealize)
1607 (+screen_size_changed, hildon_banner_class_init):
1608 Redisplay the banner if the screen is rotated.
1610 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1611 on transition from landscape to portrait)
1613 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1615 * hildon/hildon-banner.[ch]:
1616 (hildon_banner_show_information_override_dnd): remove icon_name from the
1617 method definition as it is ignored.
1618 * examples/hildon-banner-dnd-example.c: updated with the change on
1621 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1623 * hildon/hildon-banner-private.h: new require_override_dnd and
1624 overrides_dnd variables
1625 * hildon/hildon-banner.h:
1626 (hildon_banner_show_information_override_dnd): new method, that shows
1627 the information but sets the override flag, in order to show important
1629 * hildon/hildon-banner.c
1630 (hildon_banner_show_information_override_dnd): new method
1631 (hildon_banner_set_override_flag): new utility function
1632 (hildon_banner_real_show_information): new utility function, in order to
1633 generalize the current hildon_banner_show_information_override_dnd and
1634 hildon_banner_show_information_override_dnd
1635 * examples/Makefile.am
1636 * examples/hildon-banner-dnd-example.c: New example that show how to
1637 use the new hildon_banner_show_information_override_dnd
1639 Fixes: NB#114874 (There is no possibility to show hildon banners with
1642 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1644 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1645 behind hildon_pannable_calculate_vel_factor().
1647 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1649 * hildon/hildon-pannable-area.c
1650 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1651 deceleration factors.
1653 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1655 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1656 Reduce the default value for 'scroll_time' to 1 second, since the
1657 current initial scrolling takes too much time.
1659 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1661 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1662 calculate velocity factor during initialization, since the properties
1665 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1667 * hildon/hildon-pannable-area.c
1668 (hildon_pannable_area_set_property): Calculate the velocity factor
1669 after setting the deceleration property and not after.
1671 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1673 * hildon/hildon-entry.c
1674 (hildon_entry_class_init, +set_property, hildon_entry_new)
1675 * hildon/hildon-check-button.c
1676 (hildon_check_button_class_init)
1677 (+set_property, hildon_check_button_new):
1678 Make the theme size a property.
1680 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1681 others) do too much in the _new function)
1683 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1685 * configure.ac: post release version bump
1686 * debian/changelog: post release version bump
1688 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1693 * configure.ac: Bump version.
1694 * debian/changelog: Updates.
1696 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1698 * hildon/hildon-gtk.h
1699 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1700 New API function to take a screenshot of a window
1702 Fixes: NB#106374 (Need API to take a loading screenshot)
1704 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1706 * hildon/hildon-time-selector.c
1707 (update_format_policy): prevent to use hours and minutes unitialized
1709 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1711 * hildon/hildon-window.c (hildon_window_size_request):
1712 Always request the full size of the screen (minus the title bar if
1713 not in fullscreen mode).
1715 Fixes: NB#107486 (HildonWindow should size itself properly)
1717 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1719 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1720 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1721 (on_show_cb), (sound_handling): Disconnect the idle handler for
1722 the sound when the note is finalized to avoid possible crashes.
1724 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1727 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1729 * src/hildon-animation-actor.c,
1730 * src/hildon-remote-texture.c:
1731 Added proper object cleanup to remove signal handler and object
1732 references as HildonAnimationActor and HildonRemoteTexture
1733 objects get destroyed.
1735 Fixes: NB#116682 (Destroying parented animation actors when
1736 parent in unmapped leads to crash)
1738 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1740 Based on a patch by Christian Dywan (christian@imendio.com)
1742 * doc/hildon-sections.txt:
1743 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1744 * hildon/hildon-helper.h: New file size formatting method.
1746 * debian/control: Depend on osso-filemanager l10n package for
1747 proper localization strings.
1749 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1751 * tests/Makefile.am: Include top_srcdir to make possible to build
1752 tests in a different builddir.
1753 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1754 on a different builddir.
1756 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1758 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1759 (hildon_touch_selector_remove): Disconnect model's signal handler
1762 Fixes: NB#116289 (Hildon home crashes while adding task
1765 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1767 * hildon/hildon-button.c
1768 (hildon_button_set_title, hildon_button_set_value):
1769 Hide labels containing an empty string.
1771 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1773 * configure.ac: post release version bump
1774 * debian/changelog: post release version bump
1776 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1781 * configure.ac: Bump version.
1782 * debian/changelog: Updates.
1784 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1786 * hildon/hildon-note-private.h: Removed sound_signal_handler
1787 * hildon/hildon-note.c
1788 (on_show_cb): new callback on note "show" event, this simply adds
1789 a idle, with the function sound_handling
1790 (sound_handling): removed the sound_signal_handler management
1791 (hildon_note_init): connect note "show" event to on_show_cb
1792 (hildon_note_realize): remove the connection to "expose-event"
1794 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1795 device?' confirmation note)
1797 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1799 * hildon/hildon-note.c
1800 (hildon_note_new_information_with_icon_name)
1801 (hildon_note_new_confirmation_with_icon_name):
1802 Terminate the list of parameters in g_object_set() calls
1804 Fixes: NB#115166 (Formatting memory card is not taking place)
1806 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1808 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1809 "dialog-information" role for the sound being played.
1811 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1813 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1814 Don't make the menu a modal window, it causes strange interactions
1815 with the pointer grab and it's not really needed.
1817 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1819 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1821 * hildon/hildon-touch-selector.[ch]
1822 (hildon_touch_selector_optimal_size_request): function added to get a
1823 optimal size request from the touch selector, when you want a dialog to
1824 show as much of the selector
1825 * hildon/hildon-picker-dialog.c:
1826 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1827 (hildon_app_menu_class_init):
1828 New "max-height-landscape" and "max-height-portrait" style properties
1829 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1830 (hildon_picker_dialog_get_max_height): returns the maximum height using
1831 the style properties defined and checking the current portrait/landscape
1833 (_hildon_picker_dialog_set_selector): removed the set_size_request
1835 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1837 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1839 * hildon/hildon-bread-crumb-trail.c:
1840 * hildon/hildon-bread-crumb.c:
1841 * hildon/hildon-seekbar.c:
1842 Add reference to replacements for these deprecated widgets.
1844 Fixes: MB#4461 (Documentation: All deprecations should mention
1847 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1849 * examples/hildon-remote-texture-example.c
1851 Change the include to the hildon-remote-texture in order to compile
1852 properly the examples on the installed libhildon1-examples package
1854 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1856 * tests/Makefile.am: Add check for HildonPickerButton.
1857 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1858 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1859 checks for the HildonPickerButton.
1860 * tests/check_test.c (configure_tests): Add the test suite.
1861 * tests/test_suites.h: likewise.
1863 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1865 * hildon/hildon-touch-selector.c
1866 (+on_row_changed): Emit HildonTouchSelector:changed when the
1867 contents of a selected row change.
1868 (_create_new_column), (_hildon_touch_selector_set_model): connect
1869 to GtkTreeModel:row-changed on a newly set model.
1871 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1873 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1875 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1877 * hildon/hildon-banner.c (hildon_banner_destroy)
1878 (hildon_banner_show_progress, hildon_banner_set_fraction):
1879 Remove the progress bar from HildonBanner and use a progress
1882 Fixes: NB#113761 (Update progress banner to use progress
1885 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1887 * hildon/hildon-banner.c:
1888 Calculate size of the banner label using the actual screen width
1889 rather than using a fixed value.
1891 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1894 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1896 * hildon/hildon-pannable-area.c,
1897 (hildon_pannable_area_class_init): Fixed signals documentation
1900 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1902 * configure.ac: post release version bump
1903 * debian/changelog: post release version bump
1905 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1910 * configure.ac: Bump version.
1911 * debian/changelog: Updates.
1913 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1915 * hildon/hildon-edit-toolbar.c
1916 (hildon_edit_toolbar_init):
1917 Don't let buttons in HildonEditToolbar receive focus.
1919 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1920 typing on an HW arrows key)
1922 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1924 * doc/Makefile.am: Fix build.
1926 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1928 * doc/Makefile.am: Do not redefine content_files.
1930 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1938 Renamed src/ to hildon/
1943 Include <hildon/hildon.h> directly in all examples.
1945 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1947 * src/hildon-sort-dialog.c
1948 (hildon_sort_dialog_add_sort_key_with_sorting)
1952 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1954 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1955 make distcheck passes.
1957 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1959 * Makefile.am: Enable gtk-doc during distcheck.
1961 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1963 * Makefile.am: Do not distribute the debian/ directory.
1965 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1967 * doc/Makefile.am: Add the extra SGML files to content_files,
1968 so that they are distributed properly.
1970 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1972 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1975 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1977 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1978 (hildon_note_new_information_with_icon_name): Set the "icon" property
1979 to preserve soundness.
1981 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1983 * src/hildon-font-selection-dialog.c
1984 (hildon_font_selection_dialog_set_property): Fail when the "family"
1985 property is set to NULL.
1987 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1989 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1992 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1994 * src/hildon-time-selector.h:
1995 Added HildonTimeSelectorFormatPolicy
1996 * src/hildon-time-selector.c:
1997 Added PROP_TIME_FORMAT_POLICY
1998 (_check_ampm_format): renamed to check_automatic_ampm_format
1999 (update_format_policy), (update_format_dependant_columns): new functions
2000 (hildon_time_selector_class_init)
2001 (hildon_time_selector_contructor)
2002 (hildon_time_selector_init)
2003 (hildon_time_selector_get_property)
2004 (hildon_time_selector_set_property)
2005 (hildon_time_selector_get_time)
2006 (hildon_time_selector_set_time)
2007 * src/hildon-touch-selector.h: new file
2008 * src/hildon-touch-selector.c
2009 (hildon_touch_selector_emit_changed)
2010 (hildon_touch_selector_block_changed)
2011 (hildon_touch_selector_unblock_changed)
2012 Added functions to allow to block the emission of the "changed" signal
2013 * src/hildon-picker-dialog.c
2014 (hildon_picker_dialog_show): call the parent show before the custom code
2015 * examples/hildon-time-button-example.c
2016 Modified, so now you can configure the time format using the new property
2018 Added a new property "time-format-policy" that allow to choose the time
2019 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
2020 case it uses gconf in order to check if the time selector must use
2023 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2026 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2028 * src/hildon-note.c (hildon_note_init):
2029 Label in HildonNote must be left aligned, not centered. This
2030 reverts the last commit in HildonNote.
2032 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2033 is connectivity dialog)
2035 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2040 * doc/hildon-sections.txt:
2041 Added hildon_gtk_window_set_do_not_disturb()
2043 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2045 * src/hildon-note.c (hildon_note_init): Center label.
2047 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2050 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2055 * configure.ac: Bump version.
2056 * debian/changelog: Updates.
2058 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-note-private.h: Add button-width to the private data.
2061 * src/hildon-note.c (+resize_button),
2062 (+hildon_note_orientation_update): methods to repack widgets on orientation
2064 (screen_size_changed): Call above method for confirmation notes.
2065 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2066 (hildon_note_rebuild): Store the original width request from buttons.
2068 Fixes: NB#109635 (Confirmation notes do not support portrait)
2070 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2072 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2073 when it is a progress note.
2075 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2077 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2078 in the note, since there are no horizontally arranged contents.
2080 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2082 * src/hildon-gtk.c (+set_flag): new generic method to
2083 set/delay a flag setting in a window.
2084 (hildon_gtk_window_set_progress_indicator):
2085 (hildon_gtk_window_set_do_not_disturb),
2086 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2087 avoid code redundance.
2089 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2091 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2093 * src/hildon-gtk.c (set_clear_window_flag),
2094 (do_set_progress_indicator), (do_set_do_not_disturb),
2095 (do_set_portrait_flags),
2096 (hildon_gtk_window_set_progress_indicator),
2097 (hildon_gtk_window_set_do_not_disturb),
2098 (hildon_gtk_window_set_portrait_flags):
2099 Allow setting dnd-flag, progress indicator, and portrait flags
2100 when the window is not realized.
2102 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2104 * src/hildon-pannable-area.c,
2105 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2106 the size request policy function and defines.
2108 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2110 * doc/hildon-sections.txt: Add the new API.
2111 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2112 method to set the portrait flags.
2113 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2115 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2117 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2119 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2120 to allow using this method with other flags.
2121 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2122 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2124 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2126 * src/hildon-touch-selector.c
2127 (hildon_touch_selector_append_text_column):
2128 Make the cell renderer use the smallest width possible.
2130 Fixes: NB#108470 (Selected items in multiple selection are either
2131 having a tick that is cut or not visible at all.)
2133 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2135 * src/hildon-touch-selector.c
2136 (hildon_touch_selector_append_text_column):
2139 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2141 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2142 Use g_strdup_printf() instead of a fixed size buffer.
2144 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2146 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2147 Close banners when a HildonAppMenu is popped up.
2149 Fixes: NB#111027 (Title menu closed immediately if activated when
2150 "Invalid e-mail address" banner is shown)
2152 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2157 * configure.ac: Bump version.
2158 * debian/changelog: Updates.
2160 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-banner.c (hildon_banner_realize):
2163 Mark HildonBanner as supporting portrait mode.
2164 Use GDK to set window properties insetad of direct Xlib calls.
2166 Fixes: NB#111830 (HildonBanner should be marked as supporting
2169 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-note.c (hildon_note_rebuild):
2172 Hide action area in information notes. Prevents text from being
2173 slightly aligned to the left.
2175 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2178 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2180 Patch by Mox Soini (ext-mox.soini@nokia.com)
2182 * src/hildon-banner.c (hildon_banner_create_animation):
2183 Use stylus-sized icons in animation banner.
2185 Fixes: NB#111206 (stylus sized icon for animation banner)
2187 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2191 (+hildon_gtk_window_set_do_not_disturb):
2192 New API to set the do-not-disturb flag.
2194 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2196 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2198 * examples/hildon-progress-indicator-example.c: Fix example
2200 * src/hildon-gtk.c (set_clear_window_flag)
2201 (hildon_gtk_window_set_progress_indicator):
2202 Create a generic function for setting flags to a window.
2203 Use GDK instead of direct Xlib calls.
2205 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-button.c (hildon_button_set_arrangement):
2208 Due to NB#88126, if one of the labels is too long it will be
2209 painted outside the button. The 'value' label is more likely to be
2210 the longest one, so we change its packing options in order to
2211 truncate it if necessary. As a side effect, the 'title' label will
2212 no longer be truncated.
2214 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2216 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2221 * configure.ac: Bump version.
2222 * debian/changelog: Updates.
2224 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2226 Deprecation of the hildon_pannable_area_set_size_request_policy
2227 API, the only policy properly supported in gtk+ nowadays is the
2230 * src/hildon-pannable-area.c,
2231 (hildon_pannable_area_size_request): Added a workaround for the
2232 size_request to avoid the problems of huge pixmaps in case someone
2233 is still using the function.
2234 * src/hildon-pannable-area.h: Deprecated the enum with the
2237 Fixes: NB#110244 (Problems with the
2238 hildon_pannable_area_set_size_request_policy API)
2240 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2242 * src/hildon-pannable-area.c,
2243 (hildon_pannable_area_init),
2244 (hildon_pannable_area_size_request),
2245 (hildon_pannable_area_style_set),
2246 (hildon_pannable_draw_vscroll),
2247 (hildon_pannable_draw_hscroll),
2248 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2249 indicator_width to clarify the use of the attribute.
2251 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2256 * configure.ac: Bump version.
2257 * debian/changelog: Updates.
2259 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2261 * src/hildon-picker-dialog.c
2262 * src/hildon-touch-selector.c
2263 Reverting the change that tried to avoid the hardcoded height on
2264 the picker dialog, as causes problems on the hildon-touch-selector
2267 Fixes: NB#110029 (selectors not scrolling to selected value)
2269 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-touch-selector.c: Fix typos
2273 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2276 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2277 request more motions after using it.
2279 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2281 * src/hildon-calendar.c (hildon_calendar_expose),
2282 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2283 Remove unused variables.
2285 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2287 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2288 variable assignment.
2290 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2293 Check the return value of gtk_tree_selection_get_selected()
2296 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2298 * src/hildon-animation-actor.c
2299 * src/hildon-button.c
2301 * src/hildon-pannable-area.c
2302 * src/hildon-picker-button.c
2303 * src/hildon-program.c
2304 * src/hildon-remote-texture.c
2305 * src/hildon-text-view.c
2306 * src/hildon-touch-selector.c
2307 * src/hildon-window-stack.c
2308 * src/hildon-window.c:
2309 Add missing 'Since: 2.2' tags.
2311 * doc/hildon-sections.txt:
2312 Add some missing symbols.
2314 * doc/hildon-docs.sgml:
2315 New 'Other' section for HildonAnimationActor and
2318 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2320 Patch by Iván Gómez (igomez@igalia.com)
2323 * doc/compiling.sgml
2324 * doc/hildon-docs.sgml
2325 * doc/hildon-sections.txt
2326 * doc/migration.sgml
2327 * doc/resources.sgml
2329 New chapters on using the Hildon library.
2330 Updated the general structure of the reference manual.
2331 Other minor documentation fixes.
2333 * src/hildon-calendar-popup.c
2334 * src/hildon-calendar.c
2335 * src/hildon-controlbar.c
2336 * src/hildon-date-editor.c
2337 * src/hildon-dialog.c
2338 * src/hildon-hvolumebar.c
2339 * src/hildon-number-editor.c
2340 * src/hildon-range-editor.c
2341 * src/hildon-sort-dialog.c
2342 * src/hildon-time-editor.c
2343 * src/hildon-time-picker.c
2344 * src/hildon-volumebar-range.c
2345 * src/hildon-volumebar.c
2346 * src/hildon-vvolumebar.c
2347 * src/hildon-weekday-picker.c:
2348 Add deprecation notes
2350 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2351 Document 'horizontal-movement' and 'vertical-movement' signals.
2353 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2358 * configure.ac: Bump version.
2359 * debian/changelog: Updates.
2361 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2363 * src/hildon-pannable-area.c,
2364 (hildon_pannable_area_class_init): increased the minimum velocity.
2365 (hildon_pannable_area_button_release_cb): Updated the
2366 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2367 setup. Review the code to control that last event.
2369 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2372 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2374 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2376 * src/hildon-get-password-dialog.c
2377 (hildon_get_password_set_property),
2378 (hildon_get_password_get_property), (create_contents):
2379 * src/hildon-login-dialog-private.h:
2380 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2381 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2382 (hildon_login_dialog_get_password):
2383 * src/hildon-set-password-dialog-private.h:
2384 * src/hildon-set-password-dialog.c
2385 (hildon_set_password_set_property),
2386 (hildon_set_password_get_property), (create_contents),
2387 (hildon_set_password_response_change),
2388 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2390 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2391 instead and look more Fremantle style.
2393 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2395 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2397 * doc/hildon-sections.txt
2398 * src/hildon-window-stack.h
2399 * src/hildon-window-stack.c
2400 (+hildon_window_stack_get_windows):
2401 New API to obtain the list of windows on a stack.
2403 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2405 * src/hildon-app-menu.c (hildon_app_menu_popup)
2406 (hildon_app_menu_class_init, -hildon_app_menu_show):
2407 Remove hildon_app_menu_show() and move all its checks to
2408 hildon_app_menu_popup()
2410 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2412 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2413 (_hildon_picker_dialog_set_selector): removed call to
2414 gtk_widget_set_size_request
2415 * src/hildon-touch-selector.c
2416 (_create_new_column): change the pannable size request policy
2418 Avoid to use a hardcoded height for the hildon picker dialog. In order
2419 to get that, we needed to change the hildon pannable size request
2421 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2423 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2426 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2429 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2431 * debian/control: Depend on osso-system-lock localization package.
2432 * src/hildon-code-dialog.c: Obtain the secu_application_title
2433 translation from osso-system-lock.
2434 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2435 for translation the atk related strings, that's not necessary.
2436 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2437 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2438 cancel button, it is not required.
2440 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2442 * src/hildon-pannable-area.c,
2443 (hildon_pannable_area_class_init): Modified the default value of
2444 the overshooting max speed, we have reduced it.
2446 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2448 * doc/hildon-sections.txt
2449 * src/hildon-window-private.h
2450 * src/hildon-window.h
2451 * src/hildon-window.c (hildon_window_class_init)
2452 (hildon_window_init, hildon_window_finalize)
2453 (hildon_window_realize, hildon_window_get_property)
2454 (hildon_window_set_property, hildon_window_update_markup)
2455 (hildon_window_get_markup, hildon_window_set_markup):
2456 New "markup" property and hildon_window_{get,set}_markup() methods.
2458 * examples/hildon-stackable-window-example.c (new_window):
2459 Update example to use hildon_window_set_markup()
2461 Fixes: NB#106375 (Need API to retitle a window with a title
2464 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2466 * src/hildon-pannable-area.c,
2467 (hildon_pannable_area_class_init): Changed the default value of
2468 the initial_hint to TRUE.
2469 (hildon_pannable_area_initial_effect): Changed the initial effect,
2470 not the effect is just the fade-out of the scrollbars.
2472 Fixes: NB#107775 (No scrollbars can be seen when several items are
2473 available in a dialog)
2475 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2477 * src/hildon-program.c (hildon_program_update_top_most):
2480 Fixes: NB#109179 (Memory leak in Hildon program)
2482 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-banner.c (-get_current_app_window):
2485 Remove unused function.
2487 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2489 * src/hildon-pannable-area.c: Modified the documentation of the
2490 get adjustments functions to explain the problem of using the
2491 adjustment directly.
2492 (hildon_pannable_area_class_init): Improved the explanation about
2495 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2497 * src/hildon-app-menu-private.h
2498 * src/hildon-app-menu.c
2499 (hildon_app_menu_class_init):
2500 Bring back the 'external-border' style property
2501 (hildon_app_menu_class_init, hildon_app_menu_init)
2502 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2503 Set a fixed width-request for the menu, independent of the number
2506 Fixes: NB#94957 (Smoothly opened application menu)
2508 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2510 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2512 * src/hildon-banner.c
2513 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2515 Make sure that the banner is correctly placed the first time it's
2517 (hildon_banner_check_position, -check_fullscreen_state):
2518 Show the banner in the same place no matter if the window is in
2519 fullscreen mode or not.
2521 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2523 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-touch-selector.c (_default_print_func): reorder
2526 concatenation for clarity.
2528 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2530 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2531 for multicolumn selectors.
2533 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2535 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2540 * configure.ac: Bump version.
2541 * debian/changelog: Updates.
2543 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2548 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2550 * configure.ac: removed libcangerra-gtk dependency
2551 * debian/control: removed libcanberra-gtk dependency
2552 * src/Makefile.am: removed libcanberra gtk related flags
2553 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2554 context, and manage a global canberra context instead
2556 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2558 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2560 Patch by Daniel Borgmann (danielb@openismus.com)
2562 * src/hildon-edit-toolbar.c:
2563 Adjust the left padding.
2564 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2565 Paint background of the edit toolbar.
2567 Fixes: NB#107897 (Patch to make editmodetoolbar background
2568 themeable and adjust margin)
2570 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2572 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2574 * src/hildon-program.c (hildon_program_update_top_most):
2575 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2577 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2578 change when the user tasks in/out of an application)
2580 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2582 * configure.ac: added libcangerra-gtk dependency
2583 * debian/control: added libcanberra-gtk dependency
2584 * src/Makefile.am: added libcanberra gtk related flags
2585 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2588 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2590 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2592 * src/hildon-program.c (hildon_program_remove_window)
2593 (hildon_program_add_window): Add checks for the window
2594 parameter. Don't decrease the window counter if the window is not
2597 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2599 * src/hildon-pannable-area.c,
2600 (hildon_pannable_area_realize): Fixed position of the event_window
2601 in the realize method.
2603 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2605 * src/hildon-app-menu-private.h
2606 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2607 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2608 (hildon_app_menu_key_press, hildon_app_menu_init)
2609 (hildon_app_menu_finalize):
2610 Make sure that all idle functions are removed when the widget is
2613 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2615 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2620 * configure.ac: Bump version.
2621 * debian/changelog: Updates.
2623 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2625 * src/hildon-entry.c
2626 (+hildon_entry_show_placeholder),
2627 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2628 that replace hildon_entry_update_contents().
2629 (hildon_entry_set_text),
2630 (hildon_entry_set_placeholder),
2631 (hildon_entry_focus_in_event),
2632 (hildon_entry_focus_out_event): Determine when it is needed
2633 either to show or hide the placeholder and call the above methods.
2635 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2636 when the placeholder text is already set)
2638 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2641 simple GdkPixbufAnim using the new icons for the banner.
2642 (hildon_banner_show_animation): Use the above mentioned method to
2643 create the animation widget.
2645 Fixes: NB#103564 (Make hildon animation banner use individual
2646 image files as the animation)
2648 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2650 * src/hildon-pannable-area.c,
2651 (hildon_pannable_leave_notify_event): Check if the child is NULL
2652 to avoid sending the leave.
2654 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2656 * src/hildon-pannable-area.c,
2657 (hildon_pannable_area_class_init),
2658 (hildon_pannable_leave_notify_event): Added a handler of the
2659 leave-notify-signal to consider when no motion notify before
2662 Fixes: NB#107494 (Items stay selected when clicking and moving
2663 away when inside pannable area)
2665 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2670 * configure.ac: Bump version.
2671 * debian/changelog: Updates.
2673 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2675 Patch by Alberto Garcia (agarcia@igalia.com)
2677 * src/hildon-date-button.c,
2678 (hildon_date_button_class_init),
2679 (hildon_date_button_init): Removed the construct property handling
2680 and created a default selector in the init method.
2681 * src/hildon-picker-button.c,
2682 (hildon_picker_button_class_init): Removed the construct flag of the
2685 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-main.c (hildon_init):
2688 Don't allow hildon_init() to be called more than once.
2690 Fixes: NB#106607 (hildon_init should issue error message upon
2693 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2695 * examples/hildon-pannable-area-touch-list-example.c
2696 * examples/hildon-pannagle-area-touch-grid-example.c
2697 * examples/hildon-edit-toolbar-example.c
2698 * examples/hildon-touch-selector-multi-cells-example.c
2699 Removed the call to gtk_rc_parse_string, as it is not required since
2702 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2704 * src/hildon-pannable-area.c,
2705 (hildon_pannable_area_class_init): Modified the default panning
2706 threshold of the widget to 6px.
2708 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2709 than the threshold value ) within the button is not sending the
2712 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2715 for the treeview in the new column. This way, the touch list will never
2718 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2719 be selected manually for the HW keys to work)
2721 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2723 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2724 comparison instead of using strcmp(). Fixes a compiler warning as well.
2726 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2728 * doc/hildon-docs.sgml: Do not set the library version in the
2729 document title, use the releaseinfo tag for that purpose instead.
2731 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2733 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2734 Do not jump to the first item if the text in the entry is removed.
2736 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2741 * configure.ac: Bump version.
2742 * debian/changelog: Updates.
2744 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2746 * src/hildon-entry.c (hildon_entry_refresh_contents):
2747 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2748 Use "ReversedSecondaryTextColor" for the placeholder text.
2750 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2752 * src/hildon-text-view.c: Fix compilation warning.
2754 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-button.c (hildon_button_class_init): Don't make
2757 "title" and "value" construction properties, to prevent them from
2758 overwriting labels set from derived classes.
2760 * src/hildon-picker-button.c
2761 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2762 (hildon_picker_button_class_init): Make touch-selector a
2763 construction property.
2765 * src/hildon-date-button.c (hildon_date_button_class_init)
2766 (+hildon_date_button_constructed): Add a default date selector if
2769 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-touch-selector.c: Small documentation fixes.
2773 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2775 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2777 * src/hildon-entry.c (hildon_entry_refresh_contents),
2778 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2779 widget name, set the logical color directly instead and a boolean
2780 showing_placeholder instead.
2781 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2782 use the widget name here either.
2784 Fixes: NB#105678 (HildonTextView should use logical colours
2785 instead of setting widget name)
2787 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2789 Patch by Daniel Elster (danielk@openismus.com)
2791 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2792 Add user_data parameter.
2793 (hildon_touch_selector_set_print_func_full): New function akin
2794 hildon_touch_selector_set_print_func() but with support for user
2795 data and a destroy callback.
2796 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2797 to clean up the print function user data.
2798 (hildon_touch_selector_class_init): Install dispose function.
2799 (HildonTouchSelectorPrivate::print_user_data),
2800 (HildonTouchSelectorPrivate::print_destroy_func): New private
2802 (hildon_touch_selector_init): Initialize new private members.
2803 (hildon_touch_selector_get_current_text): Pass along user data
2804 to the print function.
2805 (_default_print_func): Add dummy user_data to parameter list.
2806 * hildon-date-selector.c (_custom_print_func): ditto,
2807 * hildon-time-selector.c (_custom_print_func): ditto,
2808 * hildon-touch-selector-entry.c
2809 (hildon_touch_selector_entry_print_func): ditto.
2811 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2813 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2815 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2817 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2819 * src/hildon-pannable-area.c,
2820 (hildon_pannable_area_init),
2821 (hildon_pannable_area_button_press_cb),
2822 (hildon_pannable_area_motion_notify_cb): We have added code to
2823 handle the leave and enter events when using the motion events.
2825 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2827 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-date-button.c (hildon_date_button_get_date)
2830 (hildon_date_button_set_date): Make sure that the button has a
2833 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2835 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2837 * src/hildon-pannable-area.c,
2838 (hildon_pannable_area_class_init),
2839 (hildon_pannable_area_calculate_velocity): Modify the use of the
2840 force and adapt the value.
2842 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2844 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2845 (hildon_app_menu_class_init): Hide the menu if it receives a
2846 delete-event, but don't destroy it
2848 Fixes: NB#104485 (Not able to address the call when application
2849 menu is opened at background)
2851 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2853 * src/hildon-app-menu.c
2854 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2855 Remove the "external-border" style property, let the menu take its
2856 natural size (or the one set by the window manager)
2857 (hildon_app_menu_repack_items):
2858 Don't reshow the menu, avoid flickers.
2860 Partially fixes NB#94957 (Smoothly opened application menu)
2862 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2867 * configure.ac: Bump version.
2868 * debian/changelog: Updates.
2870 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2872 * src/hildon-pannable-area.c,
2873 (hildon_pannable_area_motion_notify_cb): We control that the
2874 direction error margin is used just in case the movement is
2875 allowed in the other direction.
2877 Fixes: NB#105012 (buttons inside a pannable area not getting
2878 release event when dragging/releasing)
2880 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2882 * src/hildon-pannable-area.c,
2883 (hildon_pannable_area_class_init),
2884 (hildon_pannable_area_get_property),
2885 (hildon_pannable_area_set_property),
2886 (hildon_pannable_area_initial_effect),
2887 (hildon_pannable_axis_scroll),
2888 (hildon_pannable_area_button_release_cb): Reviewed the
2889 overshooting effect, now it has its own max
2890 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2891 speed when bouncing.
2893 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2898 * configure.ac: Bump version.
2899 * debian/changelog: Updates.
2901 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2903 * src/hildon-pannable-area.c,
2904 (hildon_pannable_area_class_init): Changed the max speed, now
2905 users can launch the widget very fast. Reduced the default force,
2906 that way it is easier to control the launch speed.
2908 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2910 * src/hildon-pannable-area.c,
2911 (hildon_pannable_area_button_release_cb): Removed this check
2912 because it causes problems when the device is overloaded.
2914 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2916 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2917 add a current_text field to store the text entered in the
2918 touch selector entry.
2919 (_clean_current_selection): clean up the current text as well.
2920 (_save_current_selection), (_restore_current_selection):
2921 Save/restore the text in the entry if the selector is a
2922 HildonTouchSelectorEntry.
2924 Fixes: NB#102541 (value entered in the touch selector entry is not
2925 shown when opened for second time)
2927 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2929 * doc/hildon-sections.txt:
2930 * src/hildon-touch-selector-entry.c
2931 (+hildon_touch_selector_entry_get_entry):
2932 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2934 Fixes: NB#104815 (I need accessor to the entry inside
2935 HildonTouchSelectorEntry)
2937 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2939 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2940 (hildon_app_menu_class_init):
2941 New "filter-vertical-spacing" style property.
2943 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-find-toolbar.c
2946 (hildon_find_toolbar_emit_close)
2947 (hildon_find_toolbar_emit_invalid_input)
2948 (hildon_find_toolbar_entry_activate):
2949 Use g_signal_emit() instead of g_signal_emit_by_name()
2951 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2953 Patch by Mox Soini (ext-mox.soini@nokia.com)
2955 * tests/TEST-CASES.txt
2956 * tests/check-hildon-banner.c
2957 * tests/check-hildon-note.c
2958 * src/hildon-banner.c
2959 * src/hildon-code-dialog.c
2960 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2961 * src/hildon-time-editor.c
2962 * examples/hildon-lookup-example.c (main):
2963 Replace obsolete icon names with new ones.
2965 * src/hildon-find-toolbar-private.h:
2966 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2967 (-hildon_find_toolbar_emit_search):
2968 Remove find button and change icon of close button.
2970 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2972 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2974 * src/hildon-time-button.c (hildon_time_button_new_step):
2975 Use the "touch-selector" property to set the selector directly
2976 when creating the object.
2978 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2980 Added a new example application that allows tuning the pannable
2981 area and replaced defines with properties in order to simplify the
2982 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2983 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2984 PROP_DIRECTION_ERROR_MARGIN.
2986 * examples/hildon-pannable-area-tuning-example.c: New example
2988 * src/hildon-pannable-area.c,
2989 (hildon_pannable_area_class_init),
2990 (hildon_pannable_area_init),
2991 (hildon_pannable_area_get_property),
2992 (hildon_pannable_area_set_property),
2993 (hildon_pannable_area_launch_fade_timeout),
2994 (hildon_pannable_area_adjust_value_changed),
2995 (hildon_pannable_axis_scroll),
2996 (hildon_pannable_area_motion_notify_cb),
2997 (hildon_pannable_area_scroll_cb),
2998 (hildon_pannable_area_button_release_cb): We have converted some
2999 of the defines that control the widget to properties to simplify
3002 2009-03-05 Alberto Garcia <agarcia@igalia.com>
3004 * src/hildon-app-menu.c (hildon_app_menu_map)
3005 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
3006 so it's closed if a new window appears.
3008 Fixes: NB#104485 (Not able to address the call when application
3009 menu is opened at background)
3011 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-color-button.c (hildon_color_button_get_property):Add
3014 missing 'break' statement in in 'case' construct to avoid
3017 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3019 * src/hildon-touch-selector-entry.c
3020 (hildon_touch_selector_entry_get_property),
3021 (hildon_touch_selector_entry_set_property): Add missing 'break'
3022 statements in in 'case' constructs to avoid incorrect warnings.
3024 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/hildon-time-editor.c
3027 (hildon_time_editor_get_time_separators): Do not crash if
3028 the first label is NULL.
3030 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3032 * src/hildon-date-selector.c (_month_days): Check for month to be
3033 strictly less than 12, since otherwise we may overrun the array.
3035 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3037 * src/hildon-date-button.c (+hildon_date_button_new_full)
3038 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3039 (hildon_date_button_init): Set the date selector using a
3040 construction property, to make it happen after HildonButton's
3041 "value" property is set.
3043 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3044 current date by default)
3046 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3048 * doc/hildon-sections.txt
3049 * src/hildon-program.c
3050 * src/hildon-stackable-window.c
3051 * src/hildon-window.c:
3052 Documentation updates
3054 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3056 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3057 (hildon_window_stack_new, +hildon_window_stack_set_property)
3058 (+hildon_window_stack_get_property)
3059 (hildon_window_stack_class_init)
3060 (+hildon_window_stack_set_window_group)
3061 (+hildon_window_stack_get_window_group):
3062 Make the window group a construction property.
3064 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3066 * doc/hildon-sections.txt
3067 * src/hildon-stackable-window-private.h
3068 * src/hildon-stackable-window.h
3069 * src/hildon-stackable-window.c
3070 (-hildon_stackable_window_set_app_menu)
3071 (-hildon_stackable_window_get_app_menu)
3072 (-hildon_stackable_window_toggle_menu)
3073 (-hildon_stackable_window_finalize)
3074 (hildon_stackable_window_class_init)
3075 (hildon_stackable_window_init)
3076 * src/hildon-window-private.h
3077 * src/hildon-window.h
3078 * src/hildon-window.c (hildon_window_init)
3079 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3080 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3081 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3082 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3083 Moved all HildonAppMenu code to HildonWindow. The menu does not
3084 require a HildonStackableWindow anymore.
3086 * src/hildon-app-menu.c
3087 * src/hildon-program.c
3088 * examples/hildon-app-menu-example.c (main):
3089 Update examples and documentation to reflect HildonAppMenu
3092 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3094 * src/hildon-remote-texture.c
3095 * src/hildon-animation-actor.c:
3096 Don't include unused private headers.
3098 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3100 * src/hildon-program-private.h
3101 * src/hildon-program.c
3102 (hildon_program_set_common_menu)
3103 (hildon_program_get_common_menu)
3104 (hildon_program_set_common_app_menu)
3105 (hildon_program_get_common_app_menu):
3106 Change common menu pointers from GtkWidget* to GtkMenu* and
3107 HildonAppMenu* to avoid unnecessary casts.
3109 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3111 * src/hildon-window.c (hildon_window_set_main_menu):
3112 Removed incorrect 'Since:' tag
3114 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3116 * src/hildon-pannable-area.c,
3117 (hildon_pannable_area_calculate_velocity): We use now the
3118 RATIO_TOLERANCE here to check the distance, fixed typo in the
3120 (hildon_pannable_area_motion_notify_cb): We have to set the type
3121 and time even if we are not sending the motion.
3123 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3125 * doc/hildon-sections.txt
3126 * src/hildon-app-menu.h
3127 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3128 (+hildon_app_menu_get_filters): New methods to get the contents of
3131 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3134 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3136 * src/hildon-app-menu.c (hildon_app_menu_popup):
3139 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3141 * src/hildon-window.h
3142 * src/hildon-window.c (+hildon_window_get_main_menu)
3143 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3144 and deprecated hildon_window_get_menu().
3146 * src/hildon-stackable-window.h
3147 * src/hildon-stackable-window.c
3148 (+hildon_stackable_window_set_app_menu)
3149 (+hildon_stackable_window_get_app_menu)
3150 (hildon_stackable_window_set_main_menu): Created
3151 hildon_stackable_window_{get,set}_app_menu() and deprecated
3152 hildon_stackable_window_set_main_menu().
3154 * doc/hildon-sections.txt
3155 * examples/hildon-app-menu-example.c (main)
3156 * src/hildon-app-menu.c
3157 * src/hildon-program.c:
3158 Updated examples and documentation.
3160 Fixes: NB#103758 (No way to obtain a menu from a
3161 HildonStackableWindow)
3163 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3168 * configure.ac: Bump version.
3169 * debian/changelog: Updates.
3171 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3173 * examples/hildon-remote-texture-example.c: Include
3174 hildon-remote-texture.h explicitely.
3175 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3176 applications not defining _XOPEN_SOURCE which don't require this header.
3178 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3180 * doc/hildon-sections.txt
3181 * src/hildon-app-menu.h
3182 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3183 New function to pop up a HildonAppMenu
3185 * src/hildon-stackable-window.c
3186 (hildon_stackable_window_toggle_menu):
3187 Use hildon_app_menu_popup() to show the menu.
3189 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3191 * src/hildon-app-menu.c (hildon_app_menu_show)
3192 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3193 menu if there's another window between it and its parent window.
3195 Fixes: NB#100468 (Application menu window is launched even when a
3196 new secondary-window/dialog is pending to be shown/realized)
3198 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3200 * src/hildon-window-stack.c (hildon_window_stack_push)
3201 (hildon_window_stack_pop_and_push):
3202 Don't forget to push/pop the first window.
3203 Reverse the window list before calling _push_list()
3205 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3207 * src/hildon-picker-button.h
3208 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3209 Remove "value_changed" slot to avoid ABI breakage
3211 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3213 * src/hildon-pannable-area.c,
3214 (hildon_pannable_area_realize),
3215 (hildon_pannable_area_unrealize),
3216 (hildon_pannable_draw_vscroll),
3217 (hildon_pannable_draw_hscroll): Changed the method to handle the
3218 GC used to draw the transparent scrollbar, this way we avoid
3219 creating the GC all the time when drawing the scrollbars.
3221 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3223 * src/hildon-pannable-area.c,
3224 (hildon_pannable_area_init),
3225 (hildon_pannable_area_remove): Removed some unnecessary casts.
3226 (hildon_pannable_area_dispose): Disconnected some signals before
3227 releasing the adjustments.
3229 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3231 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3232 Make sure that all widgets contained in the toolbar are shown.
3234 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3236 * doc/hildon-sections.txt
3237 * src/hildon-picker-button.h
3238 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3239 (_selection_changed, hildon_picker_button_on_dialog_response)
3240 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3241 New hildon_picker_button_value_changed() method.
3244 * src/hildon-picker-button-private.h
3245 * src/hildon-picker-button.c (hildon_picker_button_init)
3246 (+hildon_picker_button_disable_value_changed): Add protected
3247 function for disabling the "value-changed" signal.
3249 * src/hildon-date-button.c (hildon_date_button_set_date):
3250 Don't emit "value-changed" for each one of the three columns.
3252 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3253 before actual change of values)
3255 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3257 * src/hildon-pannable-area.c,
3258 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3259 for the treeview overshooting.
3261 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-banner.c (+hildon_banner_bind_style):
3264 Renamed from hildon_banner_bind_label_style(), now naming the
3265 banner itself as well.
3266 (hildon_banner_show_information),
3267 (hildon_banner_show_information_with_markup),
3268 (hildon_banner_show_animation), (hildon_banner_show_progress):
3269 Name the widgets and labels, based on their type.
3271 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3274 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3276 * src/hildon-note.c (hildon_note_set_property): call
3277 hildon_note_rename() on HildonNote:note-type set.
3278 (hildon_note_rename): Name the note and its label, based on the
3279 HildonNote:note-type property.
3281 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3284 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3286 * src/hildon-pannable-area.c,
3287 (hildon_pannable_area_class_init),
3288 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3289 panning parameters, increased SPS and deceleration factor. Added
3290 also a margin to control fake directions.
3292 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3294 Patch by Sven Herzberg (sven@imendio.com)
3296 * configure.ac: Add missing AM_PROG_CC_C_0
3297 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3299 See NB#101420 (Update unit tests and fix make check)
3301 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3303 This patch was applied before but reverted because it caused
3304 problems, we have changed the main condition and tested the
3305 regressions we detected before and they work ok. We have done a
3306 complete review of the topmost algorithm in order to get a more
3309 * src/hildon-pannable-area.c,
3310 (hildon_pannable_area_get_topmost): Added a new parameter to
3311 filter the the windows that do not include those events.
3312 (hildon_pannable_area_button_press_cb),
3313 (hildon_pannable_area_button_release_cb),
3314 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3315 topmost function, we have added the new parameter.
3317 Fixes: NB#97458 (Pannable area prevents propagation of button
3320 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3322 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3323 if all columns in the selector have an item selected.
3324 (_on_dialog_response): Stop "response" signal emission if there is
3325 any selector column without selected items.
3327 Fixes: NB#101889 (Picker dialog should not close when nothing is
3328 selected in multiple selection list)
3330 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3332 * src/hildon-font-selection-dialog.c
3333 (hildon_font_selection_dialog_class_init),
3334 (hildon_font_selection_dialog_init): Remove the preview
3335 button and dialog, since previewing with default theming is likely
3336 to be overcomplicated. The :preview property has now no effect.
3337 Update documentation blurbs to inform about this.
3339 Fixes: NB#92297 (Preview content is not clearly visible for
3340 default colour text)
3342 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3344 Reviewed the geometry that handles the children size and
3345 scrollbar, now it tries a size and reviews the results depending
3346 on the scrollbars visibility.
3348 * src/hildon-pannable-area.c,
3349 (hildon_pannable_area_realize): Fixed a typo.
3350 (hildon_pannable_area_child_allocate_calculate): Added this
3351 function to calculate the child allocation.
3352 (hildon_pannable_area_size_allocate): Reviewed the allocation
3354 (hildon_pannable_area_check_scrollbars),
3355 (hildon_pannable_area_refresh): Refactored refresh function, this
3356 way we can call the code handling the scrollbars without causing a
3357 size_request, it is interesting in the allocate.
3358 (hildon_pannable_area_init): Replace the callbacks of the
3359 value_changed and changed signals to propertly deal with the
3361 (hildon_pannable_area_grab_notify),
3362 (hildon_pannable_area_initial_effect),
3363 (hildon_pannable_area_launch_fade_timeout),
3364 (hildon_pannable_area_adjust_changed),
3365 (hildon_pannable_area_adjust_value_changed),
3366 (hildon_pannable_area_redraw),
3367 (hildon_pannable_area_button_press_cb),
3368 (hildon_pannable_area_button_release_cb),
3369 (hildon_pannable_area_scroll_cb),
3370 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3371 code and use the new functions adjust_changed and
3372 adjust_value_changed.
3374 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3375 Contact editor dialog)
3377 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3382 * configure.ac: Bump version.
3383 * debian/changelog: Updates.
3385 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3387 * src/hildon-pannable-area.c,
3388 (hildon_pannable_area_get_topmost),
3389 (hildon_pannable_area_button_press_cb),
3390 (hildon_pannable_area_button_release_cb),
3391 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3392 topmost function adding the event mask. We have to try a
3393 differente approach because it is still causing problems (NB#9745,
3396 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3398 * src/hildon-banner.c:
3399 Update the maximum width of timed banners.
3400 (force_to_wrap_truncated): Enforce the maximum text width if the
3403 Fixes: NB#102413 (The text margins (wrapping) in information
3404 banner should be HILDON_MARGIN_TRIPLE)
3406 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3408 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3410 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3411 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3412 bound when calculating the scroll indicator position.
3414 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3415 treat ->lower correctly)
3417 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3419 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3420 expose event handling, since it is not necessary to draw the focus
3423 Fixes: NB#102467 (Do not show highlight on the text in
3426 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3429 full height of the toolbar for the button and the label.
3431 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3433 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3434 padding before the label and after the button.
3436 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3440 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3441 Add a GtkVSeparator between the button and the back arrow.
3442 Let the button have automatic size.
3443 Set a name to the widget for theming handling.
3445 Fixes: NB#101793 (Make edit toolbar the same height as window
3446 title bar (use title area theming))
3448 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-helper.c (attach_new_color_element): Fix memory
3453 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3455 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3457 * examples/hildon-button-example.c (common_buttons_window): Don't
3460 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3463 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3465 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-gtk.c: Check that the window is realized.
3469 Fixes: NB#102225 (Crash setting the progress indicator to a non
3472 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3475 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3476 instead of modifying the one in the widget style.
3478 Fixes: NB#101043 (Second row of all the command button are
3479 displayed in transparent mode.)
3481 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3483 * src/hildon-date-button.c
3484 * src/hildon-time-button.c: Add gettext macros
3486 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3488 * src/hildon-date-button.c (hildon_date_button_new):
3489 * src/hildon-time-button.c (hildon_time_button_new_step):
3490 Use new logical strings to set the button default title.
3492 Fixes: NB#99915 (Date and Time options are not localised in Date
3495 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3497 * src/hildon-pannable-area.c
3498 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3499 the PANNING_THRESHOLD.
3501 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3503 * src/hildon-pannable-area.c,
3504 (hildon_pannable_area_class_init): Increased the maximum speed.
3505 (hildon_pannable_area_get_property),
3506 (hildon_pannable_area_set_property),
3507 (hildon_pannable_area_timeout): Added a new low friction mode, it
3508 allows the user avoid friction when launching the widget fast
3509 enough. It is interesting to traverse long lists.
3511 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3513 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3514 (+hildon_stackable_window_delete_event): Ignore delete events if
3515 the window is not the topmost one.
3517 Fixes: NB#101698 (Back button long press and delete-event handling)
3519 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3521 * src/hildon-pannable-area.c,
3522 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3523 gtk-dnd-drag-threshold, it was too big. We have defined our own
3524 dnd define and set a smaller value: PANNIG_THRESHOLD.
3526 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3528 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3529 user-defined icons, use always the default one.
3531 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3533 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3535 This patch was applied before but reverted because it caused
3536 problems, we have changed the main condition and tested the
3537 regressions we detected before and they work ok.
3539 * src/hildon-pannable-area.c,
3540 (hildon_pannable_area_get_topmost): Added a new parameter to
3541 filter the the windows that do not include those events. Added
3542 also a condition when finding the window to filter windows that do
3543 not ask for those events.
3544 (hildon_pannable_area_button_press_cb),
3545 (hildon_pannable_area_button_release_cb),
3546 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3547 topmost function, we have added the new parameter.
3549 Fixes: NB#97458 (Pannable area prevents propagation of button
3552 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3554 * tests/check-hildon-color-button.c (START_TEST): do not leak
3557 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3559 * src/hildon-font-selection-dialog.c
3560 (hildon_font_selection_dialog_get_preview_text): Return NULL
3561 instead of FALSE on the g_return_val_if_fail().
3563 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3565 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3566 * src/hildon-date-selector.c
3567 (hildon_date_selector_select_current_date):
3568 Do not compare unsigned integers to be greater than or equal 0,
3569 because it's always TRUE.
3571 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3574 (hildon_date_selector_constructor): Do not select the current
3575 date until we are handle the "changed" signal, to avoid having bogus
3576 elements in the days model.
3578 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3580 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3581 for num_days, since _month_days() can return a negative value.
3583 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3585 * src/hildon-caption.c (hildon_caption_size_allocate):
3586 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3587 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3589 Initialize allocation variables to 0, to avoid eventually using
3590 unitialized variables.
3592 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3594 * src/hildon-bread-crumb-trail.c
3595 (hildon_bread_crumb_trail_size_allocate):
3596 * src/hildon-calendar.c (hildon_calendar_set_background):
3597 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3598 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3599 * src/hildon-seekbar.c (hildon_seekbar_init):
3600 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3601 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3602 * src/hildon-touch-selector-entry.c
3603 (hildon_touch_selector_get_text_from_model):
3604 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3605 * src/hildon-window.c (hildon_window_finalize):
3607 Remove many unused variables.
3609 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3611 * src/hildon-seekbar.c: (hildon_seekbar_init),
3612 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3614 Remove unnecessary g_assert() calls.
3616 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3618 * src/hildon-caption.c: (hildon_caption_expose),
3619 (hildon_caption_set_property), (hildon_caption_init),
3620 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3621 (hildon_caption_size_request), (hildon_caption_size_allocate),
3622 (hildon_caption_forall), (hildon_caption_set_separator),
3623 (hildon_caption_activate), (hildon_caption_set_child_expand),
3624 (hildon_caption_set_label_text),
3625 (hildon_caption_get_label_alignment):
3627 Remove unnecessary g_assert() calls.
3629 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3631 * src/hildon-banner.c
3632 (hildon_banner_map, hildon_banner_init): Make banner temporary
3633 before mapping it to avoid closing other temporary windows, but
3634 make it non-temporary afterwards to avoid being closed by other
3635 non-temporary windows.
3636 (-hildon_banner_client_event, hildon_banner_init):
3637 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3639 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3642 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3644 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3647 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3649 * src/hildon-remote-texture.c
3650 * src/hildon-remote-texture.h
3651 * src/hildon-remote-texture-private.h
3652 * examples/hildon-remote-texture-example.c:
3653 Updates/fixes to remote-texture and its example.
3655 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3657 Patch by Mox Soini (ext-mox.soini@nokia.com)
3659 * src/hildon-code-dialog.c: Update logical id.
3660 * src/hildon-set-password-dialog.c: Update logical id.
3662 Fixes: NB#100646 (Logical strings is shown for ok in set
3663 password,Password needed dialogs)
3665 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3668 * src/hildon-remote-texture.c
3669 * src/hildon-remote-texture.h
3670 * src/hildon-remote-texture-private.h
3672 Added remote texture widget (for Clutter shared memory textures)
3674 * examples/hildon-remote-texture-example.c
3675 * examples/Makefile.am
3676 Added example file for remote texture usage
3678 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3680 * configure.ac: post release version bump.
3681 * debian/changelog: version bump.
3683 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3688 * configure.ac: Bump version.
3689 * debian/changelog: Updates.
3691 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3693 * src/hildon-date-selector.c (hildon_date_selector_init)
3694 (hildon_date_selector_constructor): Don't connect to the "changed"
3695 signal until the selector is completely constructed.
3697 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3699 * src/hildon-touch-selector.c: (_create_new_column),
3700 (hildon_touch_selector_append_column),
3701 (hildon_touch_selector_set_column_selection_mode),
3702 (hildon_touch_selector_set_active),
3703 (hildon_touch_selector_select_iter):
3704 Emit the HildonTouchSelector::changed signal every time selection
3705 is changed in any of the methods above. This behavior was already
3706 documented but not fully functional.
3708 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3709 selection is programmatically changed)
3711 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3713 * doc/hildon-sections.txt: Remove obsolete icon
3714 sizes from here as well.
3716 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3718 * examples/hildon-stackable-window-example.c (add_window): Remove
3721 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3723 * src/hildon-app-menu.c
3724 (hildon_app_menu_show): Check whether the parent window of a menu
3725 is topmost before popping it up.
3727 Fixes: NB#100468 (Application menu window is launched even when a
3728 new secondary-window/dialog is pending to be shown/realized.)
3730 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3732 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3735 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3737 Patch by Mox Soini (ext-mox.soini@nokia.com)
3739 * src/hildon-banner.c: (hildon_banner_show_animation):
3740 use stylus size instead of obsolete note size.
3741 * src/hildon-defines.h: Update icon sizes.
3743 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-touch-selector-entry.c:
3746 (hildon_touch_selector_entry_init): Disable unsupported
3748 (hildon_touch_selector_entry_get_text_column): Emit a warning
3749 if an unsupported input modes is used and explicitile state
3750 these modes in the documentation.
3752 Fixes: NB#99802 (Hildon touch selector entry not working properly
3753 for some of the input modes)
3755 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3757 * src/hildon-pannable-area.c,
3758 (hildon_pannable_area_init): Added the changed signal handlers of
3761 Fixes: NB#100320 (HildonPannableArea does not listen to
3762 GtkAdjustment "change" signals)
3764 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3766 * doc/hildon-sections.txt
3767 * src/hildon-window-private.h
3768 * src/hildon-window.h
3769 * src/hildon-window.c (hildon_window_init)
3770 (hildon_window_realize, hildon_window_unrealize)
3771 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3772 (hildon_window_size_request, hildon_window_size_allocate)
3773 (hildon_window_forall, hildon_window_show_all)
3774 (hildon_window_destroy, +paint_edit_toolbar)
3775 (+hildon_window_set_edit_toolbar):
3776 New hildon_window_set_edit_toolbar() method, to add a
3777 HildonEditToolbar to a window without having to pack it manually.
3779 Reorganize hildon_window_size_allocate()
3781 * src/hildon-edit-toolbar.c: Update documentation.
3783 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3784 example to use the new API.
3786 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3788 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3790 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3791 Remove from stack before calling parent's hide.
3793 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3795 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3796 window is removed from the middle of the stack, update the
3797 transiency of the previous one.
3799 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3802 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3804 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3805 block/unblock the signal handler if it's not actually being used.
3806 Fixes some critical warnings.
3808 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3810 Based on a patch by Iván Gómez (igomez@igalia.com)
3812 * src/hildon-banner.c
3816 * src/hildon-pannable-area.c
3817 * src/hildon-picker-dialog.c
3818 * src/hildon-wizard-dialog.h
3819 * src/hildon-wizard-dialog.c: Documentation updates.
3821 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3822 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3824 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3826 * configure.ac: post release version bump.
3827 * debian/changelog: version bump.
3829 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3834 * configure.ac: Bump version.
3835 * debian/changelog: Updates.
3837 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3840 a stock icon nor change the relief of the back arrow.
3842 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3843 graphics from theme)
3845 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-button.c (hildon_button_set_alignment): Use
3848 priv->alignment if the button has no child yet.
3850 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-button.c: (hildon_button_init): Set the
3853 button style during initialization to give it the proper
3856 Fixes: NB#99713 (HildonButton value label color is wrong)
3858 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3860 * src/hildon-touch-selector.c: Document
3861 hildon_touch_selector_center_on_selected()
3863 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3865 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3866 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3867 all menu items, but not the menu itself.
3868 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3869 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3870 items after adding them to the menu so keyboard accelerators work.
3871 (hildon_app_menu_show): Don't show the menu if it contains items
3872 but none of them are visible.
3874 * examples/hildon-app-menu-example.c (create_menu): Use
3875 gtk_widget_show_all() to show all menu items.
3877 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3879 * src/hildon-picker-dialog.c:
3880 (-_update_title_on_selector_changed_cb),
3881 (-_dialog_update_title): Removed.
3882 (_select_on_selector_changed_cb), (_on_dialog_response),
3883 (on_selector_columns_changed): Do not update the dialog title.
3884 (setup_interaction_mode): Do not connect to
3885 HildonTouchSelector::changed signal if there's a "done" button, as
3886 the dialog title doesn't need to be updated.
3888 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3891 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3893 Patch by Kristian Rietveld (kris@imendio.com)
3895 * src/hildon-touch-selector.c: (_create_new_column): Use new
3896 GtkTreeView::hildon-row-tapped signal to react to user interactions
3897 instead of ::changed.
3899 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3900 with some dynamic tree model)
3902 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3904 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3905 (+screen_size_changed, +label_size_request)
3906 (hildon_note_class_init): Make the Hildon information note have a
3907 minimum height, and make its text hvae a maximum width.
3909 Fixes: NB#98614 (Hildon information note (background) should have
3910 minimum height and maximum text width)
3912 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-banner.h
3915 * src/hildon-banner.c (hildon_banner_show_information)
3916 (hildon_banner_show_informationf)
3917 (hildon_banner_show_information_with_markup): Update documentation
3918 to reflect that the icon_name parameter is not used anymore.
3919 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3920 Remove all code from these functions and mark them as deprecated.
3921 (hildon_banner_show_progress): Mark as deprecated.
3923 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3925 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3927 * src/hildon-pannable-area.c,
3928 (hildon_pannable_area_class_init),
3929 (tranparency_color),
3930 (hildon_pannable_draw_vscroll),
3931 (hildon_pannable_draw_hscroll),
3932 (hildon_pannable_area_expose_event): Added a new way to render the
3933 scrollbars of the pannable area avoiding using cairo at all. This
3934 way we improve the performance of the pannable area rendering. The
3935 cairo rendering procedure is still in the code, we can control
3936 which one to use changing the value of the define
3937 USE_CAIRO_SCROLLBARS.
3939 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3941 * configure.ac: post release version bump.
3942 * debian/changelog: version bump.
3944 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3949 * configure.ac: Bump version.
3950 * debian/changelog: Updates.
3952 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3954 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3955 banners instead of destroying them when they receive a button
3958 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3960 Reverted commit 34028, it was causing regressions, probably the
3961 topmost condition is not correct, we have to check it in more
3962 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3963 propagation of button press events)
3965 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3967 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3968 that the selection is not empty before attempting to retrieve the
3969 current ampm selection.
3971 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3973 * src/hildon-picker-button.c:
3974 (hildon_picker_button_on_dialog_response): Directly update the
3975 button contents when required instead of calling _selection_changed.
3977 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3979 * src/hildon-program.c (hildon_program_update_top_most): Update
3980 'is-topmost' property also when wm_hints is not set.
3982 Fixes: NB#98383 (is-topmost signal is not emitted when task
3983 switcher is clicked.)
3985 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3987 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3991 * src/hildon-animation-actor.c,
3992 * src/hildon-animation-actor.h: Added the animation actor class,
3993 this widget represents an animation actor for WM-assisted
3994 animation effects in the Hildon framework.
3996 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-window-stack-private.h
3999 * src/hildon-window-stack.c
4000 * src/hildon-stackable-window.c (hildon_stackable_window_show):
4001 Avoid calling gtk_widget_show() again indirectly from
4002 hildon_stackable_window_show()
4004 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4006 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
4009 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
4012 (hildon_time_selector_init): Move the construction of the hours and
4013 ampm columns to the constructor to preserve the order the columns
4016 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4018 * src/hildon-picker-dialog.c:
4019 (hildon_picker_dialog_class_init): Connect a realize method.
4020 (+hildon_picker_dialog_realize): Setup the interaction mode here
4022 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4023 yet, do it during the realize instead.
4024 (_on_dialog_response):
4025 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4026 if the widget is not realized, to avoid the dialog response before it
4029 Avoid premature responses in the HildonPickerDialog that can cause it
4030 to be hidden before it's even shown.
4032 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4034 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4035 (on_selector_columns_changed), (requires_done_button),
4036 (+prepare_action_area), (setup_interaction_mode),
4037 (_hildon_picker_dialog_set_selector):
4039 Split the interaction mode setup into preparation of the
4040 action area (prepare_action_area()) and the connection of
4041 the signals in setup_interaction_mode() and update the code to
4044 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4046 * src/hildon-pannable-area.c,
4047 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4048 per second to 15, we will check if this is ok regarding
4051 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4053 * src/hildon-pannable-area.c,
4054 (hildon_pannable_axis_scroll): Avoid resize if we already have
4055 reached overshoot_max.
4057 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4059 * src/hildon-pannable-area.c,
4060 (hildon_pannable_area_init),
4061 (hildon_pannable_area_realize),
4062 (hildon_pannable_area_size_allocate),
4063 (hildon_pannable_area_map),
4064 (hildon_pannable_area_unmap),
4065 (hildon_pannable_draw_vscroll),
4066 (hildon_pannable_draw_hscroll),
4067 (hildon_pannable_area_expose_event),
4068 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4069 pannable are to avoid the expose events go to the window and
4070 redraw the window. We save this way that part of the stack and the
4071 paint_boxes. We had to change the positions of the elements when
4074 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4076 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4077 * src/hildon-color-chooser-dialog.c:
4078 (hildon_color_chooser_dialog_init):
4079 * src/hildon-font-selection-dialog.c:
4080 (hildon_font_selection_dialog_init),
4081 (hildon_font_selection_dialog_show_preview):
4082 * src/hildon-get-password-dialog.c:
4083 * src/hildon-login-dialog.c:
4084 * src/hildon-set-password-dialog.c:
4085 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4086 * src/hildon-time-picker.c: (hildon_time_picker_init):
4088 Remove obsolete logical string IDs and update to the appropriate ones.
4090 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4092 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4094 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4095 that happens if the window hasn't been realized yet.
4097 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4098 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4100 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4102 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4103 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4106 Fixes: NB#98537 (Device hangs in account settings dialog)
4108 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4110 * configure.ac: post release version bump.
4111 * debian/changelog: version bump
4113 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4118 * configure.ac: Bump version.
4119 * debian/changelog: Updates.
4121 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4123 Added a new function to the HildonTimeButton widget that allows to
4124 change the step of the minutes in the selector associated with the
4125 button: hildon_time_button_new_step
4127 * src/hildon-time-button.c,
4128 (hildon_time_button_init),
4129 (hildon_time_button_new),
4130 (hildon_time_button_new_step):
4131 * src/hildon-time-button.h: Added the new function and refactored
4133 * examples/hildon-time-button-example.c,
4134 (main): We have replaced the function without parameters with the
4135 function with the steps set to 5
4137 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
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_get_property),
4145 (hildon_time_selector_set_property),
4146 (_create_minutes_model),
4147 (hildon_time_selector_new_step),
4148 (hildon_time_selector_set_time),
4149 * src/hildon-time-selector.h: Added a new property to the
4150 HildonTimeSelector (minutes-step), we use that property to control
4151 the steps between the minutes in the list of the selector. We have
4152 added a new function to the API to create a widget changing the
4153 step: hildon_time_selector_new_step.
4155 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4157 * src/hildon-time-selector.c,
4158 (hildon_time_selector_class_init),
4159 (hildon_time_selector_constructor),
4160 (hildon_time_selector_init): Overrided the construct function when
4161 creating the time selector object. We have moved the minutes model
4162 handling code from the init to the new construction function:
4163 hildon_time_selector_constructor.
4165 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4167 * examples/hildon-date-button-example.c: (main): Use the new
4168 hildon_date_button_new_with_year_range() method in the example.
4169 * src/hildon-date-button.c:
4170 (+hildon_date_button_new_with_year_range): New public method
4171 to conveniently create a HildonDateButton with a custom year range
4172 in its HildonDateSelector.
4173 * src/hildon-date-button.h: Add the new public method definition.
4175 Fixes: NB#97908 (Not possible to change the year range in
4176 HildonDateSelector/HildonDateButton)
4178 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4180 * src/hildon-date-selector.c:
4181 (+hildon_date_selector_set_property),
4182 (+hildon_date_selector_get_property),
4183 (hildon_date_selector_class_init): Install new properties "min-year"
4184 and "max-year" to define boundaries for the year column.
4185 (_create_year_model): Use the boundary properties to populate the model.
4186 (+hildon_date_selector_new_with_year_range): New public method to
4187 create a HildonDateSelector with a user defined year range.
4188 (hildon_date_selector_select_current_date): Use the new boundaries to
4189 calculate the iterator of current year.
4190 * src/hildon-date-selector.h: Add the new public method definition.
4192 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4194 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4195 Install a constructor method.
4196 (+hildon_date_selector_construct_ui): construct the widget.
4197 (+hildon_date_selector_constructor): new constructor.
4198 (+hildon_date_selector_init): move out widget construction code to
4199 the new constructor.
4201 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4204 that there's actually a month or year selected before obtaining them.
4205 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4206 of the HildonTouchSelector::changed signal, as it was emitted on every
4207 single item selection.
4209 Fix some warnings and possible crashers due to the selection restoring.
4211 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4213 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4214 the signal handlers only after creating the dialog instead of on every
4217 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4219 * src/hildon-button.c (hildon_button_init)
4220 * src/hildon-check-button.c (hildon_check_button_init)
4221 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4222 focus when clicked by default.
4224 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4226 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4229 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4231 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4232 Alejandro G. Castro (alex@igalia.com)
4234 * src/hildon-picker-dialog.c:
4235 (hildon_picker_dialog_class_init): install new "center-on-show"
4237 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4238 (hildon_picker_dialog_set_property): add setter code for the new
4240 (hildon_picker_dialog_get_property): add getter code for the new
4242 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4243 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4246 Fixes: NB#92849 (Selected item is not always visible when
4247 HildonTouchSelector is shown)
4249 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4251 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4252 Alejandro G. Castro (alex@igalia.com)
4254 * src/hildon-touch-selector.c:
4255 (_create_new_column): Do not connect to the "realize" signal of the
4257 (hildon_touch_selector_append_column): center on the selected items
4258 when a new column is appended.
4259 (hildon_touch_selector_select_iter): Factor out the code to select a
4260 column to hildon_touch_selector_scroll_to().
4261 (+search_nearest_element): Method to retrieve the nearest selected
4262 element to the visible area of the pannable area in a column.
4263 (+on_realize_cb): scroll to the initially selected item.
4264 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4265 the pannable area is realized, otherwise delay this until it is.
4266 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4267 selected items of a given column.
4268 (+hildon_touch_selector_center_on_selected): Public method to center
4269 all columns on the nearest selected item.
4270 * src/hildon-touch-selector.h: Add definition for
4271 hildon_touch_selector_center_on_selected().
4273 Implement public API to ensure visibility of all selected items in
4274 a HildonTouchSelector.
4276 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4278 Fixed a problem in the fading when calling the scroll_to API, and
4279 improve scrollbar fading handling.
4281 * src/hildon-pannable-area.c,
4282 (hildon_pannable_area_grab_notify): avoid the timeout when the
4284 (hildon_pannable_area_button_press_cb),
4285 (hildon_pannable_area_motion_notify_cb): Code style changes.
4286 (hildon_pannable_area_button_release_cb): Review the conditions
4287 when releasing the mouse button to avoid unrequired fading
4289 (hildon_pannable_area_scroll_to): Do not calculate and set the
4290 velocity if the scroll is not required.
4292 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4294 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4295 Don't check whether the new selector is NULL: it cannot be.
4296 Hold a reference to the selector while doing the replacement.
4298 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4300 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4301 unnecessary size_request in a removed widget.
4303 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4305 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4306 an unnecessary reference tracking that was leaking.
4308 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4310 Added delayed motion notify event handling, this way we can
4311 discard redrawing if more than 25 events arrive per second.
4313 * src/hildon-pannable-area.c,
4314 (hildon_pannable_area_init): Initialized the new private atributes
4315 controlling this timeout
4316 (hildon_pannable_area_dispose): Remove the timeout that controls
4317 the motion notify events.
4318 (hildon_pannable_area_scroll): Added a condition to control the
4319 use of the acceleration.
4320 (hildon_pannable_area_motion_event_scroll_timeout),
4321 (hildon_pannable_area_motion_event_scroll): Added this two
4322 functions, they handle the motion notify events inside the
4324 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4325 to the scroll method with the new function.
4326 (hildon_pannable_area_button_release_cb): We have to remove the
4327 timeout handler and move to the last position if the last motion
4328 events were not handled.
4330 Fixes: NB#97028 (Pannable area updates on every motion event)
4332 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4334 * src/hildon-pannable-area.c,
4335 (hildon_pannable_area_get_topmost): Added a new parameter to
4336 filter the the windows that do not include those events. Added
4337 also a condition when finding the window to filter windows that do
4338 not ask for those events.
4339 (hildon_pannable_area_button_press_cb),
4340 (hildon_pannable_area_button_release_cb),
4341 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4342 topmost function, we have added the new parameter.
4344 Fixes: NB#97458 (Pannable area prevents propagation of button
4347 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4349 * src/hildon-pannable-area.c,
4350 (hildon_pannable_area_initial_effect): Added controls before
4351 launching the timeout and the idle functions.
4352 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4353 of the method, in some situations it can return with TRUE and 0 in
4355 (hildon_pannable_area_button_press_cb): We do not need to set
4356 DELAY for fading out here.
4358 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4360 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4362 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4363 post-cleaning if the selection is not NULL.
4365 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4368 all items before restoring the selection.
4370 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-touch-selector.c:
4373 (+hildon_touch_selector_unselect_all):
4374 * src/hildon-touch-selector.h: New API to unselect all items in a
4375 column of the touch selector.
4377 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4379 * src/hildon-pannable-area.c,
4380 (hildon_pannable_area_redraw): Added a call to the refresh
4381 function inside the redraw because apparently in some cases the
4382 change in the adjustment does not imply a size allocate.
4384 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4385 despite the view not being scrollable)
4387 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4389 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4390 leak. Check for NULL before attempting to set the window title.
4392 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4394 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4395 whether to show or not the 'Done' button each time the dialog is
4396 shown, as it depends on the HildonTouchSelector selection mode.
4398 Fixes: NB#96226 (In multiple selection mode Done button is shown
4399 sometimes in listpicker)
4401 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4403 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4404 for the number of columns in the HildonTouchSelector more than once.
4406 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4408 * src/hildon-touch-selector.c: Minor documentation fixes.
4410 * src/hildon-picker-dialog.c (+_dialog_update_title)
4411 (_select_on_selector_changed_cb)
4412 (_update_title_on_selector_changed_cb)
4413 (on_selector_columns_changed): Update dialog title when there's no
4414 'Done' button and also when the number of columns in the selector
4418 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4419 (+_selection_changed, hildon_picker_button_on_dialog_response)
4420 (hildon_picker_button_selector_selection_changed)
4421 (+hildon_picker_button_selector_columns_changed)
4422 (hildon_picker_button_set_selector): Update button value and emit
4423 'value-changed' when the number of columns in the selector
4427 Fixes: NB#96225 (Dialog titles are not shown according to the
4428 values selected in the list picker)
4430 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4432 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4433 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4434 New "arrow-width" and "arrow-height" style properties to set the
4435 size of the arrow button.
4436 Set name of arrow button ("hildon-edit-toolbar-arrow").
4438 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4439 graphics from theme)
4441 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4443 * src/hildon-picker-button.c:
4444 (hildon_picker_button_selector_selection_changed): Use
4445 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4446 the dialog is present.
4448 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4449 the selection is accepted in the dialog)
4451 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4453 * src/hildon-color-chooser.h
4454 * src/hildon-color-chooser-dialog.h:
4455 Added G_BEGIN_DECLS and G_END_DECLS
4457 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4459 (_clean_current_selection): plug a leak in the list.
4461 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4463 * src/hildon-picker-dialog.c:
4464 (+free_path_list): Method to free a GList of GtkTreePaths.
4465 (_clean_current_selection), (_save_current_selection),
4466 (_restore_current_selection): Save the current selection in
4467 as a list of lists, to support multiple selection properly.
4469 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4471 patch by Claudio Saavedra (csaavedra@igalia.com)
4473 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4474 Store the press position.
4475 (+hildon_text_view_button_release_event): If the release position is
4476 close enough to the press position, move the cursor here. Otherwise,
4478 (hildon_text_view_class_init): Override GtkTextView press, release, and
4479 motion event handlers, disabling this way text selection through
4480 pointer interaction, and allowing the container widget to handle the
4483 Fixes: NB#95828 (HildonTextView functionality)
4485 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4487 Based on a patch by Iván Gómez (igomez@igalia.com)
4489 * src/hildon-button.[ch]
4490 * src/hildon-calendar.c
4491 * src/hildon-check-button.c
4492 * src/hildon-date-editor.c
4493 * src/hildon-date-selector.c
4494 * src/hildon-picker-button.c
4495 * src/hildon-time-editor.c
4496 * src/hildon-time-selector.c
4497 * src/hildon-touch-selector.[ch]:
4498 Documentation updates
4500 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4502 * src/hildon-pannable-area.c,
4503 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4504 threshold, it was required due to X events handling.
4506 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4508 * src/hildon-pannable-area.c,
4509 (hildon_pannable_area_grab_notify),
4510 (hildon_pannable_area_initial_effect),
4511 (hildon_pannable_area_button_press_cb),
4512 (hildon_pannable_area_button_release_cb),
4513 (hildon_pannable_area_scroll_cb),
4514 (hildon_pannable_area_scroll_to): Review the timeout management of
4515 the scrollbar, the frecuency was incorrectly set.
4517 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4519 * src/hildon-picker-button.c:
4520 (+hildon_picker_button_on_dialog_response),
4521 (hildon_picker_button_clicked): Present the dialog instead of
4522 running it with gtk_dialog_run().
4524 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4527 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4529 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4530 (hildon_app_menu_finalize): When a window is hidden it doesn't
4531 emit notify::is-topmost, so make sure than the menu also
4532 disappears in that case.
4533 (parent_window_topmost_notify): Renamed from parent_window_hidden
4535 Fixes: NB#94460 (stackable window's menu is not closed when its
4538 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4540 * src/hildon-touch-selector-entry.c:
4541 (+hildon_touch_selector_entry_set_input_mode),
4542 (+hildon_touch_selector_entry_get_input_mode):
4543 * src/hildon-touch-selector-entry.h: New methods to access the input
4544 mode in the selector's entry.
4546 Fixes: NB#93410 (API required for setting IM mode in
4547 HildonTouchSelectorEntry)
4549 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4551 * configure.ac: post release version bump.
4552 * debian/changelog: version bump
4554 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4559 * configure.ac: Bump version.
4560 * debian/changelog: Updates.
4562 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4564 * src/hildon-touch-selector.c:
4565 (_hildon_touch_selector_has_multiple_selection): No need
4566 to initialize the variables here.
4568 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4570 * src/hildon-note-private.h
4571 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4572 (hildon_note_finalize, hildon_note_rebuild): Close information
4573 notes when they receive a button press.
4575 Fixes: NB#89890 (Information notes does not get disappeared after
4578 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4580 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4581 mark from the wizard title, as it's not really necessary. Also,
4582 do not display the page title if not set.
4584 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4586 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4587 (parent_window_hidden): Use the window's "is-topmost" property to
4588 detect when to hide the menu.
4590 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4592 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4593 (hildon_app_menu_finalize): If the parent window of the menu is
4594 hidden, hide the menu too.
4596 Fixes: NB#94460 (stackable window's menu is not closed when its
4599 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4602 * debian/libhildon1-examples.install
4604 * examples/Makefile.am:
4605 Use dh_install to install all examples.
4606 Use DEB_SRCDIR instead of defining SOURCE_DIR
4608 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4610 * configure.ac: post release version bump.
4611 * debian/changelog: version bump
4613 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4618 * configure.ac: bump version
4619 * debian/changelog: updates
4620 * debian/control: bump gtk+ dependency
4622 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4624 patch by Christian Dywan (christian@imendio.com)
4626 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4627 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4629 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4631 * src/hildon-check-button.c (hildon_check_button_init)
4632 (hildon_check_button_class_init, hildon_check_button_style_set)
4633 (hildon_check_button_apply_style):
4634 New "checkbox-size" style property.
4636 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4637 larger / configurable size)
4639 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4641 * configure.ac: post release version bump.
4642 * debian/changelog: version bump
4644 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4649 * configure.ac: bump version
4650 * debian/changelog: updates
4652 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4654 * doc/hildon-sections.txt
4655 * src/hildon-pannable-area.c
4656 * src/hildon-program.c
4657 * src/hildon-time-editor.c
4658 * src/hildon-touch-selector-entry.c:
4660 More documentation updates.
4662 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4664 * doc/hildon-sections.txt
4665 * src/hildon-caption.c
4666 * src/hildon-code-dialog.c
4667 * src/hildon-color-button.c
4668 * src/hildon-controlbar.c
4669 * src/hildon-date-editor.c
4670 * src/hildon-date-selector.c
4671 * src/hildon-edit-toolbar.c
4672 * src/hildon-find-toolbar.c
4673 * src/hildon-font-selection-dialog.c
4675 * src/hildon-program.c
4676 * src/hildon-range-editor.c
4677 * src/hildon-seekbar.c
4678 * src/hildon-time-editor.c
4679 * src/hildon-time-selector.c
4680 * src/hildon-volumebar-range.c
4681 * src/hildon-volumebar.c
4682 * src/hildon-vvolumebar.c
4683 * src/hildon-weekday-picker.c
4684 * src/hildon-window.c
4685 * src/hildon-wizard-dialog.c:
4687 Lots of documentation fixes.
4689 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4691 Patch contributed by Iván Gómez (igomez@igalia.com)
4693 * src/hildon-check-button.c:
4694 * src/hildon-date-button.c:
4695 * src/hildon-date-selector.c:
4696 * src/hildon-dialog.c:
4697 * src/hildon-edit-toolbar.c:
4698 * src/hildon-entry.c:
4699 * src/hildon-picker-button.c:
4700 * src/hildon-program.c:
4701 * src/hildon-text-view.c:
4702 * src/hildon-time-button.c:
4703 * src/hildon-touch-selector-entry.c:
4704 * src/hildon-window-stack.c:
4706 Add more "since" tags to the new API.
4708 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4710 * doc/hildon-sections.txt: Add below method.
4711 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4712 version for the hildonized scale.
4713 * src/hildon-gtk.h: Add the definition.
4715 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4717 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4719 * doc/hildon-sections.txt: Add missing entries for new methods.
4721 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4723 Added API to pannable are in order to get its adjustments. We
4724 added two properties to manage the values we had in the private
4727 * src/hildon-pannable-area.c:
4728 (hildon_pannable_area_class_init): Added hadjustment and
4729 vadjustment properties in order to expose horizontal and vertical
4731 (hildon_pannable_area_get_property),
4732 (hildon_pannable_area_set_property): Added code to handle the new
4734 (hildon_pannable_area_get_hadjustment),
4735 (hildon_pannable_area_get_vadjustment): API functions to get the
4737 * src/hildon-pannable-area.h:
4738 (hildon_pannable_area_get_hadjustment),
4739 (hildon_pannable_area_get_vadjustment): API functions to get the
4742 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4744 Fixed some leaks, after valgrinding.
4746 * src/hildon-touch-selector.c:
4747 (_default_print_func): Fixed a leak.
4748 (hildon_touch_selector_append_column): Fixed a leak.
4749 * src/hildon-date-button.c:
4750 (hildon_date_button_init): Fixed a leak.
4751 * src/hildon-date-selector.c
4752 (hildon_date_selector_finalize): Fixed a leak.
4754 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4756 Based on a patch by Christian Dywan (christian@imendio.com)
4758 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4760 * src/hildon-gtk.h: Add definition.
4762 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4764 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4766 * src/hildon-picker-button.c: (hildon_picker_button_init),
4767 (hildon_picker_button_new): Set the HildonButton::style property
4768 in the init method, to propagate the value to the derived classes.
4770 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4772 * src/hildon-button.c: (hildon_button_class_init): Do not make
4773 the "style" property a construct property.
4775 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4777 * src/hildon-wizard-dialog.h
4778 * src/hildon-wizard-dialog.c
4779 (hildon_wizard_dialog_set_forward_page_func)
4780 * src/hildon-pannable-area.h
4781 * src/hildon-pannable-area.c
4782 (hildon_pannable_area_set_size_request_policy):
4783 Documentation fixes.
4785 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4787 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4789 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4791 * doc/hildon-sections.txt: Added sections file.
4793 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4796 * src/*.[ch]: Updates.
4798 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4800 * examples/hildon-progress-indicator-example.c: new file
4801 * examples/Makefile.am: include the new example program
4803 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4805 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4807 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4809 * configure.ac: post release version bump
4810 * debian/changelog: version bump
4812 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4817 * configure.ac: bump version
4818 * debian/changelog: updates
4819 * debian/control: bump gtk+ dependency
4821 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4823 * src/hildon-dialog.c: Mark as deprecated.
4824 * src/hildon-dialog.h: Mark as deprecated.
4825 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4826 from HildonDialog and still work, even if
4827 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4828 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4830 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4831 maemo changes) instead)
4833 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4835 * src/hildon-pannable_area.h:
4836 * src/hildon-pannable_area.c:
4837 (hildon_pannable_area_class_init),
4838 (hildon_pannable_area_set_property),
4839 (hildon_pannable_area_get_property),
4840 (hildon_pannable_area_size_request),
4841 (hildon_pannable_area_get_size_request_policy),
4842 (hildon_pannable_area_set_size_request_policy): Added new API
4843 allowing applications to control the request policy. Now they can
4844 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4845 children allocation (HILDON_MOVEMENT_CHILDREN).
4847 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4851 (hildon_gtk_tree_view_set_ui_mode)
4852 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4853 mode of treeviews and iconviews.
4855 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4857 * src/hildon-touch-selector-entry.c:
4858 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4859 of a GtkEntry to get proper theming.
4861 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4862 widget, not GtkEntry)
4864 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4867 no HildonWizardDialogPageFunc.
4869 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4871 Patch contributed by Iván Gómez (igomez@igalia.com)
4873 * src/hildon-app-menu.c:
4874 * src/hildon-button.c:
4875 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4876 * src/hildon-stackable-window.c:
4877 * src/hildon-time-selector.c:
4878 * src/hildon-touch-selector.c:
4879 * src/hildon-window.c:
4881 Add more "since" tags to the new API in hildon 2.2.
4883 2008-12-05 Tim Janik <timj@imendio.com>
4885 Patch contributed by Christian Dywan (christian@imendio.com)
4887 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4888 HildonSizeType, which are supplied by Gtk+ now.
4890 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4892 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4893 (with maemo changes) instead)
4895 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4897 Patch contributed by Iván Gómez (igomez@igalia.com)
4899 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4902 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4904 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4905 (some_page_func), (main): Update the example to use a
4906 HildonWizardDialogPageFunc function.
4908 * src/hildon-wizard-dialog-private.h: Add private data for
4909 the HildonWizardDialogPageFunc function usage.
4911 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4912 (destroy), (hildon_wizard_dialog_init), (response),
4913 (hildon_wizard_dialog_set_forward_page_func):
4914 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4915 that applications can use to stop a HildonWizardDialog to jump to
4918 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4921 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-program.h
4924 * src/hildon-program-private.h
4925 * src/hildon-program.c (hildon_program_init)
4926 (hildon_program_set_common_app_menu)
4927 (hildon_program_get_common_app_menu):
4928 New API for setting a common HildonAppMenu for all
4929 HildonStackableWindows registered with the HildonProgram.
4931 * src/hildon-stackable-window.c
4932 (hildon_stackable_window_toggle_menu):
4933 Use the common HildonAppMenu if a window doesn't have a specific
4936 * src/hildon-app-menu-private.h
4937 * src/hildon-app-menu.c
4938 (hildon_app_menu_get_parent_window):
4939 Function to obtain the window a HildonAppMenu is attached to.
4940 (hildon_app_menu_set_parent_window):
4941 Hide the menu if the parent window is set to NULL.
4943 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4945 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4946 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4947 search widget to popup.
4949 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4951 * configure.ac: post release version bump
4952 * debian/changelog: version bump
4954 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4959 * configure.ac: bump version
4960 * debian/changelog: updates
4962 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4964 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4966 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4967 (hildon_window_stack_window_realized)
4968 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4969 Set the leader GdkWindow when a window is stacked and realized,
4970 unset it when it's unstacked.
4971 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4973 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4975 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4977 * src/hildon-stackable-window.h
4978 * src/hildon-window-stack.h:
4979 Protect definition of HildonWindowStack using the preprocessor.
4981 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4983 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4984 Fix warning if all menu items are hidden.
4986 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4988 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4990 * src/hildon-controlbar.c:
4991 * src/hildon-hvolumebar.c:
4992 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4993 Multiple scale size defines updates.
4995 Fixes: NB#94322 (Scale Updates)
4997 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4999 * examples/hildon-app-menu-example.c (create_menu)
5000 Show items after adding them to the menu, as in the future the
5001 menu will no longer call gtk_widget_show() on the added items.
5003 * src/hildon-app-menu.c:
5004 Update example as explained above.
5006 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5008 * src/hildon-app-menu.c
5009 (hildon_app_menu_insert, hildon_app_menu_add_filter):
5010 Make sure that all menu items have finger height.
5012 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
5014 * src/hildon-picker-dialog.c:
5015 (_on_dialog_response), (_save_current_selection),
5016 (_restore_current_selection), (_clean_current_selection),
5017 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
5018 Defined new functions in order to save the current internal selector
5019 selection previous open the dialog, in case that the use cancel the
5020 interaction, so the widget restores the previous selection.
5022 Fixes: NB#92032 (In calendar application, date values in 'new event'
5025 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5027 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5029 * src/hildon-button.c: Add a reference to the button examples in
5030 hildon-button-example.c
5032 * examples/hildon-button-example.c: Added examples of the most
5033 common button layouts.
5035 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5037 * src/hildon-app-menu.c (hildon_app_menu_show)
5038 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5040 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5042 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5044 * src/hildon-picker-dialog.c:
5045 (hildon_picker_dialog_init): Initialize the signal id for
5046 HildonTouchSelector::columns-changed.
5047 (+on_selector_columns_changed): Set up the interaction mode everytime a
5048 column is added or removed from the HildonTouchSelector.
5049 (_hildon_picker_dialog_set_selector): Connect to
5050 HildonTouchSelector::columns-changed and keep track of it.
5052 Make sure to update the interaction mode of the dialog everytime a
5053 column is added or removed in the HildonTouchSelector.
5055 Fixes: NB#93228 (Done button is not shown always in listpicker)
5057 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5059 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5060 a new ::columns-changed signal.
5061 (hildon_touch_selector_append_column): Emit ::columns-changed.
5062 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5064 Add a ::columns-changed signal, emitted when the number of columns in a
5065 HildonTouchSelector changes.
5067 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5069 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5070 (_hildon_picker_dialog_set_selector): Factor out the code
5071 to set up the dialog interaction mode.
5073 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5075 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5076 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5077 to signal_changed_id.
5079 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5081 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5084 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5086 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5087 Updated the logical ids related to ampm format, as now it is required to
5088 show it correctly localized even on languages with no default
5089 abbreviations for am or pm
5090 (_check_am_pm_format): check correctly the 24h format gconf property
5092 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5094 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5096 * src/hildon-button.c: Documentation updates.
5098 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5100 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5101 * src/hildon-caption.c: (hildon_caption_class_init):
5102 * src/hildon-color-button.c: (hildon_color_button_class_init):
5103 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5104 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5105 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5106 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5108 Remove deprecated GTK+ marshalers and replace them with the ones
5109 provided by GLib, for those available, add a marshaler for
5110 BOOLEAN:VOID, which is not available in GLib, and use it.
5112 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5114 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5115 the text from the previous column if there is no
5116 HildonTouchSelectorColumn::text-property set.
5118 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5120 * src/hildon-button.h
5121 * src/hildon-button.c (hildon_button_set_property)
5122 (hildon_button_get_property, hildon_button_class_init)
5123 (hildon_button_set_style, hildon_button_get_style):
5124 New "style" property to change the visual appearance of the
5127 * src/hildon-picker-button.c (hildon_picker_button_new):
5128 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5130 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5131 HildonButton look like PickerButton)
5133 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5135 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5136 column while building the default string.
5138 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5140 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5141 scroll indicator by default.
5143 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5145 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5147 * src/hildon-main.c: Fix the documentation for hildon_init()
5149 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5151 * doc/hildon-docs.sgml
5155 * src/hildon-window-stack-private.h
5156 * src/hildon-window-stack.h
5157 * src/hildon-window-stack.c:
5158 New HildonWindowStack object, that adds support for multiple
5159 stacks of windows per process.
5161 * src/hildon-stackable-window-private.h
5162 * src/hildon-stackable-window.h
5163 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5164 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5165 (hildon_stackable_window_show, hildon_stackable_window_hide)
5166 (hildon_stackable_window_class_init)
5167 (hildon_stackable_window_init):
5168 Use HildonWindowStack for stack management.
5170 * src/hildon-program.c (hildon_program_pop_window_stack)
5171 (hildon_program_peek_window_stack)
5172 (hildon_program_go_to_root_window):
5173 Add a fallback implementation to the deprecated functions using
5176 * examples/hildon-stackable-window-example.c:
5177 Use the new HildonWindowStack API.
5179 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-stackable-window-private.h
5182 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5183 (hildon_stackable_window_hide, hildon_stackable_window_init):
5184 Remove all window stack management.
5186 * src/hildon-program-private.h
5187 * src/hildon-program.h
5188 * src/hildon-program.c (hildon_program_init)
5189 (hildon_program_pop_window_stack)
5190 (hildon_program_peek_window_stack)
5191 (hildon_program_go_to_root_window):
5192 Remove all window stack management and mark functions as
5195 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5197 * src/hildon-app-menu.c (hildon_app_menu_realize):
5198 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5200 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5202 * configure.ac: post release version bump
5203 * debian/changelog: version bump
5205 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5210 * configure.ac: bump version
5211 * debian/changelog: updates
5213 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5215 Based on initial code by Christian Dywan (christian@imendio.com)
5217 * doc/hildon-docs.sgml: Add section for hildon-main.
5218 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5219 * src/Makefile.am: Add new hildon-main.[ch]
5220 * src/hildon-defines.h: Update the icon sizes.
5221 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5222 new library initialization files and register icon sizes.
5223 * src/hildon-main.h: New declarations.
5224 * src/hildon.h: Include hildon-main.h
5226 Add new initialization functions to the library. These methods
5227 will register the hildon specific icon sizes and can be used in the
5228 future for other hildon specific bits.
5230 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5232 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5234 * src/hildon-window.c: (hildon_window_realize),
5235 (hildon_window_notify), (-hildon_window_update_title): Do not set
5236 the application name in the window title.
5238 Fixes: NB#89754 (Applications shouldn't display their names in the
5241 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5243 * src/hildon-note-private.h:
5244 * src/hildon-note.c: (hildon_note_set_property),
5245 (hildon_note_get_property), (hildon_note_class_init),
5246 (hildon_note_init), (hildon_note_finalize),
5247 (hildon_note_new_confirmation_with_icon_name),
5248 (hildon_note_new_information_with_icon_name):
5250 No need to mark as deprecated the actual code. Revert
5251 to avoid missing symbols in widgets using deprecated API.
5253 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5255 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5257 * src/hildon-volumebar.h
5258 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5259 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5261 * src/hildon-helper.h
5262 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5263 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5265 * examples/Makefile.am:
5266 Deprecate hildon-insensitive-example
5268 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5270 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5272 * examples/hildon-pannable-area-buttons-scroll-example.c:
5273 Make all buttons finger height
5275 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5277 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5279 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5280 update the day model only if it is really required, and to avoid the
5281 full-reconstruction aproach. Now it only add or remove the required days.
5283 The purpose of this is avoid superfluous HildonTouchSelector::changed
5286 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5287 with strange parameters)
5289 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5291 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5293 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5294 the WINDOW_TYPE property.
5296 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5298 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5301 Fix dependency to allow parallel compilation with make -jX
5303 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5305 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5306 color frame and some minor tweaks to make it more consistent with
5309 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5310 highlighted but not visible)
5312 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5314 * examples/Makefile.am: Fixed typo in the Makefile.am.
5316 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5318 Reviewed the use of MAEMO_GTK define, now we add the define in the
5319 compilation line, and we also add it to the pc file.
5321 * configure.ac: Added MAEMO_GTK define to the compilation command
5322 and removed it from the config.h.
5324 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5325 do not have to take care about this define if the library was
5329 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5331 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5333 * examples/Makefile.am,
5334 * examples/hildon-pannable-area-buttons-scroll-example.c,
5335 * examples/hildon-pannable-area-gesture-signals-example.c,
5336 * examples/hildon-pannable-area-scroll-jump-example.c,
5337 * examples/hildon-pannable-area-tree-view-example.c:
5338 Renamed the pannable area examples, now they have more meaningful
5341 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5343 * src/hildon-touch-selector.c:
5344 (hildon_touch_selector_set_column_selection_mode): Used of
5345 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5346 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5347 to avoid re-seting the same selection mode.
5349 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5350 breaks HildonPickerDialog)
5352 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5354 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5355 conditional in the Makefile.am
5357 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5359 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5360 Remove unused methods.
5362 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5364 * src/hildon-button.c (hildon_button_init):
5365 Make button images center-aligned by default
5367 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5370 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5371 activated, we have to think about how to deal with both defines
5372 MAEMO_GTK and MAEMO_CHANGES.
5374 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5376 * examples/hildon-app-menu-example.c (create_menu): Make all
5377 buttons finger size.
5379 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5381 Fixed the compilation without maemo gtk adding ifdefs with
5382 MAEMO_GTK define to the code, we have to check this version more
5385 * examples/Makefile.am: Added control to avoid some examples that
5386 just make sense with maemo gtk.
5389 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5390 hildon modes with the define.
5392 * examples/hildon-edit-toolbar-example.c,
5393 (create_icon_view): Create the icon view without hildon-gtk
5394 helpers if we are not using maemo gtk.
5396 * src/hildon-touch-selector.c,
5397 (_create_new_column): Create the treeview without hildon-gtk
5398 helpers if we are not using maemo gtk.
5400 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5402 * src/hildon-pnnable-area.c,
5403 (hildon_pannable_area_dispose),
5404 (hildon_pannable_area_button_press_cb),
5405 (hildon_pannable_area_child_mapped),
5406 (hildon_pannable_area_add),
5407 (hildon_pannable_area_remove): Added code to control the position
5408 of the event_window when adding and removing children from the
5409 pannable. We have to raise the event window when the child is
5412 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5413 selection mode using custom widget inside pannable)
5415 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5417 * configure.ac: post release version bump
5418 * debian/changelog: version bump
5420 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5425 * configure.ac: bump version
5426 * debian/changelog: updates
5428 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5430 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5431 search mode, in order to avoid lose the focus on the treeview when
5432 a hw key (like enter) is pressed.
5434 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5435 in HildonDateSelector dialog)
5437 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5439 * debian/rules: Added --enable-maintainer-mode
5440 * Makefile.am: Added ACLOCAL_AMFLAGS
5442 This allows to properly regenerate the Makefiles if you modify the
5443 configure.ac or any Makefile.am.
5445 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5447 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5448 properties, not needed at all.
5450 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5452 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5454 * src/hildon-note.c: (hildon_note_set_property),
5455 (hildon_note_get_property), (hildon_note_class_init),
5456 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5457 (hildon_note_new_confirmation_add_buttons): Remove icons.
5458 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5459 (hildon_note_new_information_with_icon_name): Deprecate.
5460 (hildon_note_new_confirmation): Act directly, without calling
5461 the deprecated constructor.
5462 (hildon_note_new_information): Act directly, without calling
5463 the deprecated constructor.
5464 * src/hildon-note.h: Mark deprecate methods as such.
5465 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5466 not run tests on the deprecated methods if built with deprecation
5469 Fixes: NB#91688 (Never show icons in information notes/confirmation
5472 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5474 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5475 (hildon_app_menu_key_press): Remove leftover usage of the
5476 private structure in HildonAppMenu struct.
5477 * src/hildon-app-menu.h: Remove leftover private structure
5478 from the HildonAppMenu struct.
5480 Fixes a crasher when using the HildonAppMenu.
5482 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5484 * src/hildon-picker-dialog.c: Use appropriate logical id
5485 for the default "Done" text.
5487 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5489 * configure.ac: post release version bump
5490 * debian/changelog: version bump
5492 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5494 Modified the way to scroll to the current selection just when the touch
5495 selector is shown on the screen, avoiding a g_idle. Added too a property
5496 to configure this behaviour. See hildon_pannable_area_jump_to_child
5497 documentation for more information.
5499 * src/hildon-touch-selector.c
5500 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5501 Added 'initial-scroll' property
5502 (hildon_touch_selector_set_property): Added
5503 (hildon_touch_selector_map): Removed as not required anymore
5504 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5505 only a concrete column, instead of iterate along all the columns
5507 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5512 * configure.ac: bump version
5513 * debian/changelog: updates
5515 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5517 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5518 compilation time warnings.
5520 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5522 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5523 the default value for HildonPannableArea::mov-mode to
5524 HILDON_PANNABLE_AREA_MODE_VERT.
5526 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5528 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5530 Reverting following commit:
5532 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5534 * src/hildon-app-menu-private.h
5535 * src/hildon-app-menu.[ch]
5536 * src/hildon-button.[ch]
5537 * src/hildon-check-button.[ch]
5538 * src/hildon-entry.[ch]
5539 * src/hildon-pannable-area.[ch]
5540 * src/hildon-text-view.[ch]:
5541 Added private field to the object's structure.
5543 because it causes an ABI breakage. We will need to introduce these
5544 changes later at some point. See NB#91636 for an extensive
5545 explanation and status.
5547 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5549 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5551 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5552 remove special cases that are no longer necessary.
5554 Fixes: NB#91016 (Change toolbar sizes, simplification)
5556 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5558 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5559 is shown in the cancel note.
5561 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5563 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5564 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5565 (hildon_seekbar_init): Remove steppers, remove expose event.
5566 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5568 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5570 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5572 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5573 label font to "SmallSystemFont" for vertically arranged buttons.
5575 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5578 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5580 * src/hildon-check-button.c
5581 (hildon_check_button_set_active, hildon_check_button_clicked):
5582 Don't access private parts directly, use getters instead.
5584 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5586 * src/hildon-check-button.c (hildon_check_button_new):
5587 Align the contents of the check button to the left.
5589 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5591 * src/hildon-pannable-area.c,
5592 (hildon_pannable_area_scroll_to),
5593 (hildon_pannable_area_jump_to),
5594 (hildon_pannable_area_scroll_to_child),
5595 (hildon_pannable_area_jump_to_child): Replace the mapped
5596 precondition of these functions with the realized, it is the
5597 correct state of the widget in this case. Changed the
5598 documentation according to this modification.
5600 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5602 Added a new EXTRA_CFLAGS option to add the deprecated define to
5603 the compilation command. This way we can avoid using the define in
5604 the documentation compilation.
5606 * configure.ac: Defined EXTRA_CFLAGS.
5608 * examples/Makefile.am:
5610 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5612 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5614 * src/hildon-picker-dialog.c:
5615 Defined a utility macro with the desired touch selector height
5616 Removed currently unused separator, and title_label variables from
5618 (hildon_picker_dialog_init): Removed code related to the creation
5619 of unused private variables title_label and separator.
5620 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5621 to ensure correct visualization of the touch selector inside the dialog.
5622 * src/hildon-touch-selector.c
5623 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5624 ensure a concrete height of the widget.
5626 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5629 * tests/Makefile.am:
5631 Remove spurious whitespaces.
5633 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5635 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5636 compilation warning after the cancel button removal.
5638 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5640 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5642 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5643 Makefile.am, that way we can choose not to compile some examples
5644 and tests of the deprecated widgets.
5646 * examples/Makefile.am: Divided the sources in deprecated and
5649 * src/Makefile.am: Added undef statement of the deprecated
5650 symbol to the enums file generation process.
5652 * src/hildon-color-chooser-dialog.c
5653 * src/hildon-color-chooser-dialog.h
5654 * src/hildon-color-button.c
5655 * src/hildon-color-button.h
5656 * src/hildon-color-chooser.c
5657 * src/hildon-color-chooser.h
5658 * src/hildon-controlbar.c
5659 * src/hildon-controlbar.h
5660 * src/hildon-date-editor.c
5661 * src/hildon-date-editor.h
5662 * src/hildon-hvolumebar.c
5663 * src/hildon-hvolumebar.h
5664 * src/hildon-private.c
5665 * src/hildon-private.h
5666 * src/hildon-range-editor.c
5667 * src/hildon-range-editor.h
5668 * src/hildon-seekbar.c
5669 * src/hildon-seekbar.h
5670 * src/hildon-time-editor.c
5671 * src/hildon-time-editor.h
5672 * src/hildon-time-picker.c
5673 * src/hildon-time-picker.h
5674 * src/hildon-volumebar.c
5675 * src/hildon-volumebar.h
5676 * src/hildon-vvolumebar.c
5677 * src/hildon-vvolumebar.h
5678 * src/hildon-bread-crumb-trail.h
5679 * src/hildon-bread-crumb-trail.c
5680 * src/hildon-calendar-popup.c
5681 * src/hildon-calendar-popup.h
5682 * src/hildon-weekday-picker.c:
5683 * src/hildon-weekday-picker.h:
5684 * src/hildon-bread-crumb-widget.c:
5685 * src/hildon-bread-crumb-widget.h:
5686 * src/hildon-bread-crumb.c:
5687 * src/hildon-bread-crumb.h:
5688 * src/hildon-calendar.c:
5689 * src/hildon-calendar.h:
5690 * src/hildon-caption.c:
5691 * src/hildon-code-dialog.c:
5692 * src/hildon-code-dialog.h:
5693 * src/hildon-font-selection-dialog.c:
5694 * src/hildon-font-selection-dialog.h:
5695 * src/hildon-get-password-dialog.c:
5696 * src/hildon-get-password-dialog.h:
5697 * src/hildon-login-dialog.c:
5698 * src/hildon-login-dialog.h:
5699 * src/hildon-number-editor.c:
5700 * src/hildon-number-editor.h:
5701 * src/hildon-set-password-dialog.c:
5702 * src/hildon-set-password-dialog.h:
5703 * src/hildon-sort-dialog.c:
5704 * src/hildon-sort-dialog.h: This is the list of deprecated
5707 * src/hildon-touch-selector.c:
5708 * src/hildon-window.c: Added undef statement to avoid compilation
5711 * tests/Makefile.am: Divided the sources in deprecated and
5714 * tests/check_test.c,
5715 (configure_tests): Marked the deprecated code that was adding
5716 suites with deprecated tests.
5718 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5720 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5722 * src/hildon-touch-selector.c: (_default_print_func): Do not
5723 duplicate a string returned by gtk_tree_model_get(), it is already
5726 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5729 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5731 * src/hildon-pannable-area.c
5732 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5733 method, it had problems when adding a widget with viewport the
5734 second time. Now checks if it already has a viewport and uses it.
5736 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5739 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5741 * src/hildon-pannable-area.c,
5742 (hildon_pannable_area_scroll_to),
5743 (hildon_pannable_area_jump_to),
5744 (hildon_pannable_area_scroll_to_child),
5745 (hildon_pannable_area_jump_to_child): Added a precondition to the
5746 scroll and jump to functions: the widget must be mapped before we
5747 can safely call these functions. We have also added documentation
5748 to the functions to explain how to use them in this situation.
5751 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5753 Reviewed the threading handling of the pannable widget, we have
5754 used the gdk_threads_add_timeout function instead of the usual
5755 glib handlers. This avoids some problems with the threads.
5757 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5758 (hildon_pannable_area_initial_effect),
5759 (hildon_pannable_area_scroll_indicator_fade),
5760 (hildon_pannable_area_button_press_cb),
5761 (hildon_pannable_area_timeout),
5762 (hildon_pannable_area_motion_notify_cb),
5763 (hildon_pannable_area_button_release_cb),
5764 (hildon_pannable_area_scroll_cb),
5765 (hildon_pannable_area_scroll_to): Removed the
5766 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5767 gdk_threads_add_timeout.
5769 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5771 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5776 * configure.ac: bump version
5777 * debian/changelog: updates
5779 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5781 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5782 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5783 * src/hildon-color-chooser-dialog.c:
5784 (hildon_color_chooser_dialog_init):
5785 * src/hildon-font-selection-dialog.c:
5786 (hildon_font_selection_dialog_init):
5787 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5789 Remove all cancel/close-like dialogs, as these are not going to be
5792 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5794 * src/hildon-note.c: (hildon_note_rebuild),
5795 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5798 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5800 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5803 sure all buttons are shown, even the Cancel/Close-like ones.
5805 Fixes: NB#90861 (Custom Confirmation dialogs should be
5806 protected from cancel button removal)
5808 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5810 * debian/control: Change libhildon1-examples dependency from libhildon1
5812 * debian/libhildon1-examples.install
5814 * Makefile.am: Modified the final install directory for the examples on
5815 package libhildon1-examples
5816 * Makefile.static: Update clean target in order to remove all the binary
5819 Changes suggested by Claudio after review new libhildon1-examples package
5821 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5823 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5824 * src/hildon-touch-selector.c: Ditto.
5826 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5828 * debian/control: Added new package libhildon1-examples, in order to pack
5829 the current hildon examples as documentation
5830 * debian/rules: Not to compress .c files, modify some includes on the
5831 examples (as normally are compiled locally, but when installed it will
5832 require to include the installed libhildon1 library), and rename
5834 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5835 install all the example files on the new example package
5836 * examples/Makefile.static: Added static makefile that can be used to
5837 compile the examples, once installed the new example package
5838 * examples: Most of the examples were modified in order to grant that
5839 all use only '#include "hildon.h"', in order to be easy to prepare
5840 it on the example package
5842 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5845 * debian/libhildon1-dev.install
5846 * debian/libhildon1-doc.install:
5847 Move all gtk-doc files to a separate libhildon1-doc package.
5849 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5851 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5853 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5855 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5857 * debian/rules: Fixed a error in order to avoid unnecessary calls
5858 to autogen.sh on package building
5860 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5862 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5864 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5866 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5869 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-picker-button.c
5872 (hildon_picker_button_finalize):
5873 Free priv->done_button_text
5875 * src/hildon-time-button.c
5876 (hildon_time_button_set_time)
5877 * src/hildon-picker-button.c
5878 (hildon_picker_button_clicked)
5879 (hildon_picker_button_selector_selection_changed)
5880 (hildon_picker_button_set_selector)
5881 * src/hildon-date-button.c
5882 (hildon_date_button_set_date):
5883 Free strings returned by hildon_touch_selector_get_current_text()
5885 * src/hildon-button.c (hildon_button_construct_child):
5886 Fix leaks in priv->image and priv->label_box
5888 Fixes: NB#90535 (Memory leak in picker button)
5890 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5892 * src/hildon-button.c: (hildon_button_get_property): Do not access
5893 private elements directly, use getters instead.
5895 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5897 * src/hildon-app-menu-private.h
5898 * src/hildon-app-menu.c
5899 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5900 Store the menu's parent window.
5902 * src/hildon-stackable-window.c
5903 (hildon_stackable_window_toggle_menu)
5904 (hildon_stackable_window_finalize):
5905 Set the menu's parent window when the menu is shown, unset it when
5908 * src/hildon-app-menu.c
5909 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5910 (hildon_app_menu_class_init):
5911 Send unhandled keyboard accelerators to the parent window.
5913 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5915 * src/hildon-stackable-window.c
5916 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5918 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5920 * configure.ac: post release version bump
5922 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5925 * configure.ac: Bump version
5926 * debian/changelog: Updates
5927 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5930 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5932 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5935 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5936 GtkMenu with Hildon style.
5938 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5940 * src/hildon-picker-button.c:
5941 (hildon_picker_button_set_done_button_text): Set the dialog's
5942 done button text here as well.
5944 Fixes: NB#90232 (Picker button does not set the label on done button
5945 for the second time)
5947 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5949 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5952 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5954 * src/hildon-app-menu.c (hildon_app_menu_insert)
5955 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5956 the HildonAppMenu to be activatable using keyboard accelerators
5957 when the menu is not being shown.
5959 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5961 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5963 * src/hildon-stackable-window.c
5964 (hildon_stackable_window_show):
5965 Don't hide old windows automatically when new windows are shown:
5966 this is now a task for the window manager.
5967 (hildon_stackable_window_class_init)
5968 (hildon_stackable_window_hide):
5969 Remove windows from the stack everytime they're hidden.
5970 (hildon_stackable_window_realize):
5971 Don't change the _NET_WM_WINDOW_TYPE property. Use
5972 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5973 it as a stackable window.
5975 * src/hildon-program.c
5976 (hildon_program_pop_window_stack):
5977 Just hide the window to remove it from the stack.
5978 (hildon_program_go_to_root_window):
5979 Don't call gtk_widget_show(), this is now a task for the window
5982 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5984 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5986 * src/hildon-button.c
5987 (hildon_button_construct_child):
5988 Don't pack anything in the button until text or image are
5989 set. This allows adding a custom child after creating the button
5990 with hildon_button_new().
5991 (hildon_button_finalize, hildon_button_class_init)
5992 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5993 alignment and the label box even when they're not packed in the
5996 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5998 * src/hildon-touch-selector.h:
5999 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
6000 currently the type definition was using GTK_TYPE_VBOX
6001 * src/hildon-touch-selector.c:
6002 Added some implementation notes in order to clarify that any other widget
6003 added without the column related API will not be included on the
6004 selection logic, and how the widget is freed, as some people ask about
6006 (hildon_touch_selector_remove): Reimplemented in order to free properly
6007 the column related data when you remove the private hbox.
6008 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
6009 to get a proper HildonTouchSelectorColumn documentation
6011 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6013 * src/hildon-touch-selector-entry.c:
6014 (hildon_touch_selector_entry_print_func): Return NULL if there is no
6015 text in the GtkEntry and there is no item selected. Fixes a
6018 2008-10-13 Alberto Garcia <agarcia@igalia.com>
6020 * src/hildon-app-menu-private.h
6021 * src/hildon-app-menu.[ch]
6022 * src/hildon-button.[ch]
6023 * src/hildon-check-button.[ch]
6024 * src/hildon-entry.[ch]
6025 * src/hildon-pannable-area.[ch]
6026 * src/hildon-text-view.[ch]:
6027 Added private field to the object's structure.
6029 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6031 * configure.ac: post-release version bump
6033 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6037 * configure.ac: pre-release version bump
6039 * debian/changelog: updates.
6041 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6043 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6044 Disconnect the handler for HildonTouchSelector::changed.
6046 (hildon_picker_button_selector_selection_changed): Update the button
6047 value if the selection change was not triggered by the
6050 (hildon_picker_button_set_selector): connect to
6051 HildonTouchSelector::changed.
6053 Fixes: NB#89650 (Picker button is not updated, when selection in
6054 selector has changed)
6056 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6058 * src/hildon-picker-dialog.c
6059 (hildon_picker_dialog_realize): Removed as not required
6060 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6061 * src/hildon-picker-button.c
6062 (_current_selector_empty): New function, checks if the selector is empty
6063 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6064 if the current selector is empty, in order to avoid to show the dialog
6065 close the dialog in this case (and shows a g_warning).
6067 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6069 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6071 * src/hildon-pannable-area.c,
6072 (hildon_pannable_area_scroll): Added clause to stop movement when
6073 the child of pannable is smaller than one page.
6074 (hildon_pannable_area_scroll_to): Added conditions to avoid
6075 starting the scrolling movement if the child is smaller than one
6076 page, the complete child is in the screen, we do not have to move.
6078 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6080 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6082 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6083 this is managed automatically by the widget when the size of the
6086 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-picker-button.c
6089 (hildon_picker_button_set_done_button_text): Make a copy of the
6090 text, and free the previous value.
6092 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6094 * src/hildon-touch-selector-entry.c:
6095 (hildon_touch_selector_entry_print_func): Return the selected row's
6096 text if the entry is empty.
6098 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6101 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6103 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6105 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6108 * src/hildon-check-button.h
6109 * src/hildon-check-button.c
6110 * examples/hildon-check-button-example.c:
6111 HildonCheckButton is now a new widget. 'toggled' signal added.
6113 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6115 * src/hildon-program-private.h
6116 * src/hildon-program.c (hildon_program_init)
6117 (hildon_program_finalize): Removed unused variables group_leader
6118 and name from HildonProgramPrivate.
6120 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6122 * src/hildon-check-button.c (hildon_check_button_set_active)
6123 (hildon_check_button_get_active, hildon_check_button_new): Use
6124 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6126 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6128 * src/hildon-touch-selector.h
6129 (hildon_touch_selector_set_column_attributes): added deprecation
6130 guard HILDON_DISABLE_DEPRECATED
6131 * src/hildon-time-selector.c
6132 (hildon_time_selector_set_time)
6133 (hildon_time_selector_get_time): Fixed a typo on documentation
6134 * src/hildon-touch-selector.c: update HildonTouchSelector and
6135 HildonTouchSelectorColumn documentation
6136 * src/hildon-touch-selector-entry.c: update "text-column" property
6138 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6139 to be added to the general documentation.
6141 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6143 * examples/hildon-pannable-area-example-4.c,
6145 * examples/hildon-pannable-area-example.c,
6146 (main): Modified the code in order to use the container add, with
6147 viewport treeviews could have problems if they are really big.
6149 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6151 * src/hildon-weekday-picker.c,
6152 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6153 the agreement regarding deprecation in the library.
6155 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6157 * examples/hildon-picker-button-multicolumn-example.c:
6158 (main): Use custom "done" button text.
6160 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6161 (hildon_picker_button_set_property),
6162 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6163 (hildon_picker_button_init),
6164 (+hildon_picker_button_get_done_button_text),
6165 (+hildon_picker_button_set_done_button_text): New methods to customize
6166 the "done" button label in the launched HildonPickerDialog. Also,
6169 * src/hildon-picker-button.h: add the public API.
6171 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6173 * src/hildon-date-selector.h:
6174 * src/hildon-picker-dialog.h:
6175 * src/hildon-time-selector.h:
6176 * src/hildon-touch-selector-column.h:
6177 * src/hildon-touch-selector.h:
6179 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6180 declarations. Fixes gtk-doc warnings.
6182 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6184 * src/hildon-picker-dialog.h
6185 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6186 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6188 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6189 long text is set as label for done button)
6191 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6193 * src/hildon-dialog.c (hildon_dialog_add_button):
6194 Set fixed width to all buttons in the HildonDialog.
6196 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6198 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6200 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6201 Set widget name using class name plus "-finger" or "-thumb".
6203 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6205 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6206 'clicked' when the state of the button is manually changed.
6208 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6210 * src/hildon-app-menu.c (hildon_app_menu_realize)
6211 (hildon_app_menu_unrealize, hildon_app_menu_init)
6212 (hildon_app_menu_class_init, item_visibility_changed):
6213 Change the menu layout when the size of the screen changes.
6214 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6215 Show warning only when changing the number of colums using the
6218 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6220 * debian/compat: Set to 5
6221 * debian/control: Update dependencies.
6222 * debian/libhildon1-dbg.install: Remove.
6223 * debian/libhildon1-dev.install: Update according to cdbs paths.
6224 * debian/libhildon1.install: Update according to cdbs paths.
6225 * debian/rules: Switch to cdbs.
6227 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6229 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6230 'item' variable renamed to 'filter'
6232 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6234 * src/hildon-app-menu.c (hildon_app_menu_insert)
6235 (hildon_app_menu_add_filter, remove_item_from_list)
6236 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6237 Don't leak hidden items when the menu is destroyed.
6239 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6241 * src/hildon-app-menu.c (hildon_app_menu_insert)
6242 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6243 (hildon_app_menu_set_columns, item_visibility_changed)
6244 (filter_visibility_changed, hildon_app_menu_repack_filters)
6245 (hildon_app_menu_repack_items):
6246 Repack items and filters separately.
6248 Don't repack all items, change only the ones that are needed to
6251 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6253 * src/Makefile.am: added hildon-touch-selector-column.h
6255 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6257 * src/hildon-touch-selector.c: added the property "text-column" to the
6258 class HildonTouchSelectorColumn, and related get/set functions
6259 (_default_printf_func): updated to use "text-column" property
6260 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6261 "text-column" in his documentation, as this is now included on
6262 HildonTouchSelectorColumn. The get/set_property can still be used,
6263 working as a wrapper to the concrete column "text-column" property
6264 (_text_column_modified): callback added in order to handle the signal
6265 "notify::text-column" of the concrete HildonTouchSelectorColumn
6266 (hildon_touch_selector_entry_get_text_column)
6267 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6268 modified in order to use the HildonTouchSelectorColumn "text-column"
6270 * src/hildon-time-selector.c:
6271 * src/hildon-date-selector.c:
6272 * examples/hildon-touch-selector-example.c
6273 * examples/hildon-touch-selector-multi-cells-example.c
6274 * examples/hildon-picker-button-multicolumn-example.c
6275 Set the right value to "text-column" property on the creation of a new
6276 column using hildon_touch_selector_append_column()
6278 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6280 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6282 * src/hildon-app-menu.c
6283 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6284 updating the layout of the menu, don't create all widgets again,
6285 just repack the items in their new places.
6287 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6289 * src/hildon-time-selector.c
6290 (hildon_time_selector_get_time)
6291 (hildon_time_selector_set_time)
6292 Added documentation of these public methods
6294 * src/hildon-date-button.h
6295 * src/hildon-touch-selector-column.h
6296 * src/hildon-time-button.h
6297 * src/hildon-picker-dialog.h
6298 * src/hildon-time-selector.h
6299 * src/hildon-picker-button.h
6300 * src/hildon-touch-selector.h
6301 * src/hildon-time-picker.h
6302 * src/hildon-date-selector.h
6303 * src/hildon-touch-selector-entry.h
6304 Modified in order to use hildon-widgets code style
6306 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6308 Added deprecated support to the compilation process using
6309 HILDON_DISABLE_DEPRECATED
6311 * configure.ac: Added the --disable-deprecated to the configure
6314 * src/hildon-weekday-picker.c:
6315 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6316 to use the deprecated support. We will update the other deprecated
6317 widgets status in a new patch.
6319 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6321 * configure.ac: Fixed typo with fatal warnings support, the
6322 variable name was not correct
6324 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6326 * src/hildon-app-menu.c
6327 * src/hildon-program.c: Update documentation.
6329 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6331 * configure.ac: Post-release version bump.
6333 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6338 * configure.ac: Pre-release version bump.
6339 * debian/changelog: Updates.
6341 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6343 * NEWS: Update news for previous releases.
6345 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6347 * examples/hildon-touch-selector-multi-cells-example.c:
6348 (create_selector): Update the example to use
6349 hildon_touch_selector_append_column() with a NULL renderer and set
6350 the renderers later.
6351 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6352 passed a NULL renderer. This is documented behavior now.
6354 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6355 This must be used if the developer wants full control on the layout of
6356 the renderers to be added to the column.
6358 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6360 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6362 * src/hildon-touch-selector.c: Documentation fixes.
6364 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6366 * src/hildon-wizard-dialog-private.h: Remove image and box.
6367 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6368 (hildon_wizard_dialog_set_property), (response): Completely remove
6369 image/icon support, and the containers required for the layout.
6371 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6373 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6375 * src/hildon-app-menu.c: Updated documentation.
6377 * src/hildon-stackable-window.c
6378 (hildon_stackable_window_set_main_menu): Unref the old menu after
6379 ref'ing the new one.
6381 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6383 * src/hildon-stackable-window.c
6384 (hildon_stackable_window_set_main_menu): Unref the previous menu
6385 instead of destroying it.
6387 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6388 floating reference and set has_user_ref_count to FALSE to make
6389 HildonAppMenu act like a normal ref-counted widget and not a
6392 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6395 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6397 * src/hildon-touch-selector-column.h: new file
6398 * src/hildon-touch-selector.h
6399 * src/hildon-touch-selector.c
6400 Implemented GtkCellLayout interface, in order to allow to configure
6401 the cell layout on each individual selector column
6402 (hildon_touch_selector_set_column_attributes): marked as deprecated
6403 * examples/hildon-touch-selector-multi-cells-example.c
6404 Example of how to use the GtkCellLayout interface on the selector
6406 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6408 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6410 * src/hildon-app-menu.h
6411 * src/hildon-app-menu.c
6412 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6413 (hildon_app_menu_append, hildon_app_menu_prepend):
6414 New methods to prepend, insert and move items in the menu.
6416 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6418 * src/hildon-wizard-dialog.c:
6420 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6422 (create_title): Update logical IDs and related code.
6423 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6425 * src/hildon-wizard-dialog.h: Note that
6426 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6427 point, as it is not used anymore.
6429 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6431 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6433 * src/hildon-note.c:
6434 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6435 shown. Do not display an icon in confirmation notes nor information
6437 (hildon_note_set_button_text): Update logical ID for cancel button.
6439 Fixes: NB#88850 (Update HildonNote button strings + signals)
6441 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6443 * src/hildon-stackable-window.c
6444 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6446 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6448 * src/hildon-app-menu-private.h
6449 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6450 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6451 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6452 temporary property 'columns' to change the number of columns.
6454 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6456 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6458 * examples/hildon-note-example.c: (on_information_clicked),
6459 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6460 debugging information.
6461 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6463 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6464 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6465 in order to close: this will be handled by the WM from now on.
6467 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6469 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6471 * src/hildon-app-menu-private.h
6472 * src/hildon-app-menu.c
6473 (hildon_app_menu_append, hildon_app_menu_add_filter)
6474 (button_visibility_changed, hildon_app_menu_apply_style)
6475 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6476 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6477 layout everytime a button (item or filter) is shown or hidden.
6479 * src/hildon-stackable-window.c
6480 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6483 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6485 * src/hildon-touch-selector.c:
6486 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6487 that the treeview inside the touch selector is in fremantle hildon mode
6488 * examples/hildon-date-button-example.c
6489 * examples/hildon-picker-button-multicolumn-example.c
6490 * examples/hildon-touch-selector-entry-example.c
6491 * examples/hildon-touch-selector-example.c
6492 * examples/hildon-time-button-example.c
6493 * examples/hildon-picker-button-example.c:
6494 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6496 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6498 * examples/hildon-text-view-example.c: (main): Remove the
6499 gtkrc bits, now handled by the theme.
6501 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6503 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6506 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6508 * po/Makefile.am: Install properly the mo files.
6509 * po/en_GB.po: Update translation, to ease testing purposes.
6511 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6513 * examples/hildon-picker-button-example.c: (main): Select an item
6514 in the selector before setting it to the button.
6516 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6518 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6519 Update button's value if the selector has an item active.
6521 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6522 'value' with the selector)
6524 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6526 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6527 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6528 (hildon_picker_button_class_init): Plug the finalize method.
6529 (hildon_picker_button_set_selector): If there's a previously set
6530 selector, unref'it before setting a new one.
6532 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6533 HildonTouchSelector)
6535 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6537 * src/hildon-touch-selector-entry.c:
6538 (hildon_touch_selector_entry_changed): Check if there is no text
6539 selected before setting the entry text.
6542 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6544 * src/hildon-touch-selector.h
6545 * src/hildon-touch-selector.c
6546 (hildon_touch_selector_get_active)
6547 (hildon_touch_selector_set_active): New methods to set/get the
6548 index of the selected item.
6550 * src/hildon-picker-button.h
6551 * src/hildon-picker-button.c
6552 (hildon_picker_button_get_active)
6553 (hildon_picker_button_set_active): New methods to set/get the
6554 index of the selected item.
6556 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6558 * configure.ac: post-release version bump.
6560 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6564 * configure.ac: Pre-release version bump.
6565 * debian/changelog: Updates.
6566 * debian/control: Add myself as maintainer and depend on l10n
6569 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6571 * src/hildon-window.c
6572 (hildon_window_set_main_menu)
6573 * src/hildon-stackable-window.c
6574 (hildon_stackable_window_set_main_menu):
6575 Updated documentation.
6577 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6579 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6580 Don't free selector->priv manually.
6583 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6586 (hildon_gtk_window_set_progress_indicator):
6587 * src/hildon-gtk.h: Added the new API
6588 hildon_gtk_window_set_progress_indicator, it changes the state of
6589 the window progress hint.
6591 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6593 * src/hildon-button.c
6594 * src/hildon-stackable-window.c: Minor documentation updates.
6596 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6598 * src/hildon-stackable-window.c: Updated documentation.
6600 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6602 * src/hildon-defines.h: Update margins definitions
6603 to the Fremantle sizes.
6606 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6608 * src/hildon-touch-selector.c,
6609 (_hildon_touch_selector_set_model): Cleaning the code after
6610 review, removed g_print and #if 0 from the code.
6612 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6614 * src/hildon-edit-toolbar.c: Update documentation.
6616 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-check-button.h
6619 * src/hildon-check-button.c
6620 (hildon_check_button_set_label, hildon_check_button_get_label)
6621 * examples/hildon-check-button-example.c
6622 (button_clicked_cb):
6623 Removed deprecated methods.
6625 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6627 * src/hildon-text-view.c:
6628 Add sample code to the documentation.
6630 * src/hildon-entry.h
6631 * src/hildon-text-view.h:
6632 Minor cosmetic changes.
6634 * src/hildon-entry.c:
6635 Add sample code to the documentation.
6636 (hildon_entry_init, hildon_entry_refresh_contents):
6637 Don't allow NULL values in the placeholder.
6639 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6641 * doc/hildon-docs.sgml
6643 * examples/Makefile.am
6644 * examples/hildon-text-view-example.c
6646 * src/hildon-text-view.c
6647 * src/hildon-text-view.h
6649 New HildonTextView widget, with example.
6651 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6653 * po/POTFILES.in: Add missing files with translatable strings.
6654 Partially fixes NB#88287.
6656 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6658 * examples/hildon-pannable-area-example-2.c: (main): No need to
6659 set the cellrenderer height inside hildon touch lists, the theme does
6662 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6664 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6665 they are integrated in the theme.
6667 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6669 * examples/hildon-entry-example.c: Update the example adding
6670 widgets to modify the text and the placeholder of the HildonEntry.
6672 * src/hildon-entry.c: Show the placeholder everytime the widget
6673 is empty and loses the focus.
6675 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6677 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6679 * src/hildon-pannable-area.c,
6680 (hildon_pannable_area_size_request): Fixed bug in height
6681 requisition, avoid increasing size and add border twice.
6683 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6685 * configure.ac: postrelease version bump.
6687 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6691 * configure.ac: Prerelease version bump.
6692 * debian/changelog: update.
6693 * debian/rules: make -dbg package contain useful debugging symbols.
6695 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6697 * src/hildon-dialog.h
6698 * src/hildon-dialog.c
6699 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6700 New methods to add buttons with finger size.
6701 (hildon_dialog_new_with_buttons):
6702 Create buttons with finger size.
6704 * examples/hildon-dialog-example.c (main): Use HildonDialog
6705 methods to add buttons.
6707 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6709 * src/hildon-entry.c: Updated HildonButton documentation.
6711 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6713 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6714 button value label with (FALSE, FALSE) to prevent NB#88126 from
6717 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6719 * examples/hildon-pannable-area-example.c,
6720 (main): Removed examples panning a vbox inside a pannable
6721 area. Check bug NB#87965
6723 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6725 Patch contributed by Kris Rietveld (kris@imendio.com)
6727 * src/hildon-pannable-area.c,
6728 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6729 get_size and get_position, this saves an X server roundtrip.
6731 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6733 * doc/hildon-docs.sgml
6735 * examples/Makefile.am
6736 * examples/hildon-entry-example.c
6738 * src/hildon-entry.c
6739 * src/hildon-entry.h
6741 New HildonEntry widget, with example.
6743 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6745 * src/hildon-button.c (hildon_button_construct_child): Pack the
6746 image with expand == fill == FALSE. This is a workaround for a bug
6749 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6751 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6752 labels for the text column, to make it more look more dynamic.
6754 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6756 * src/hildon-time-selector.c
6757 Define gettext auxiliar macro N_
6758 (_create_minutes_model)
6759 (_create_hours_model)
6760 (_create_ampm_model): use of strftime in order to fill the model
6761 * src/hildon-date-selector.c
6762 (hildon_date_selector_finalize):
6763 (_locales_init): remove the logic related to get the name of the months
6764 using nl_langinfo, as it is not required anymore
6766 (_create_year_model)
6767 (_create_month_model)
6768 (_update_day_model): use of strftime in order to fill the model properly
6771 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6773 * src/hildon-button.h
6774 * src/hildon-button.c (hildon_button_get_image): New method to
6777 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6779 * src/hildon-touch-selector.c:
6780 (hildon_touch_selector_remove_column): Remove from the correct parent
6781 and also remove the list element and free it.
6784 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6786 * src/hildon-time-selector.c
6787 (_create_hours_model): change the range on 12h ampm format in order to use
6788 a 12-11 range instead of previous 01-12 range
6789 (hildon_time_selector_set_time): change the way to select the current time
6790 on 12h ampm format, due the change on the range
6791 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6794 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6796 * src/hildon-touch-selector.c
6797 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6798 in order to allow use this function on multiple row selection mode if
6799 the column is different that the first one
6802 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6804 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6805 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6807 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6809 * src/hildon-date-selector.h: clean some comments, now on the .c
6810 * src/hildon-date-selector.c
6811 (hildon_date_selector_select_month): first implementation
6812 (hildon_date_selector_select_day): added documentation, reimplemented
6813 using hildon_date_selector_select_current_date to avoid repeat code
6816 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6818 Reviewed interaction logic based on device experiences, refactored
6821 * src/hildon-pannable-area.c,
6822 (hildon_pannable_area_class_init): Updated default vmax speed.
6823 (hildon_pannable_area_calculate_velocity): Added this function, it
6824 avoids duplicate valocity calculation. Adjusted calculation to
6825 avoid problems with zero dist events.
6827 (hildon_pannable_area_motion_notify_cb): Now we use the
6828 calculate_velocity function.
6830 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6832 * src/hildon-date-selector.c
6833 (hildon_date_selector_select_current_date): fix the day range check
6834 as it failed using the last day of the current month
6837 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6839 * src/hildon-touch-selector.c
6840 (hildon_touch_selector_get_num_columns): added a parameter validation
6843 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6845 * examples/Makefile.am
6846 * examples/hildon-edit-toolbar-example.c: Example of the
6847 HildonEditToolbar widget.
6849 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6851 * configure.ac: postrelease version bump.
6853 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6857 * configure.ac: prerelease version bump.
6858 * debian/changelog: update.
6860 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6862 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6863 renderer to display stock icons in the touch list. Also, set the sizes
6864 to the recommended in the style guide.
6866 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6867 * src/hildon-touch-selector.h
6868 (hildon_touch_selector_set_active_iter): renamed, now is
6869 hildon_touch_selector_select_iter
6870 (hildon_touch_selector_get_active_iter): renamed, now is
6871 hildon_touch_selector_get_selected
6872 (hildon_touch_selector_unselect_iter): added
6873 * src/hildon-touch-selector.c
6874 Update after API modification (methods renamed)
6875 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6876 order to avoid problems selecting multiple elements on the column
6877 (hildon_touch_selector_unselect_iter): added the implementation
6878 * src/hildon-time-selector.c
6879 * src/hildon-date-selector.c
6880 * src/hildon-touch-selector-entry.c
6881 Update methods calls after hildon-touch-selector.h API modification (methods
6884 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6886 * src/hildon-stackable-window.c
6887 (hildon_stackable_window_finalize): Call the parent class's finalize.
6889 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6891 * examples/hildon-touch-selector-example.c: (create_selector): Use
6892 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6895 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6897 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6898 set a cell background color, to respect theming.
6900 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6902 * doc/hildon-docs.sgml
6905 * src/hildon-edit-toolbar.c
6906 * src/hildon-edit-toolbar.h
6907 * src/hildon.h: New HildonEditToolbar widget.
6909 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6911 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6914 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6915 * src/hildon-touch-selector.c
6916 (_create_new_column): use g_object_set instead of two g_object_set_property
6918 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6919 * src/hildon-touch-selector.c
6920 (_create_new_column): use of hildon_gtk_tree_view_new to create
6921 the treeview, instead of use directly g_object_new
6922 (_create_new_column): update the property name "vindicator-mode" for the
6923 new one "vscrollbar-policy"
6924 * examples/hildon-date-button-example.c
6925 * examples/hildon-picker-button-multicolumn-example.c
6926 * examples/hildon-touch-selector-entry-example.c
6927 * examples/hildon-touch-selector-example.c
6928 * examples/hildon-time-button-example.c
6929 * examples/hildon-picker-button-example.c
6930 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6931 to all the treeviews inside a pannable area.
6933 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6935 * src/hildon-button.h
6936 * src/hildon-button.c (hildon_button_init)
6937 (hildon_button_set_arrangement, hildon_button_set_alignment)
6938 (hildon_button_set_title_alignment)
6939 (hildon_button_set_value_alignment)
6940 (hildon_button_set_image_alignment)
6941 (hildon_button_construct_child): New methods to set the alignment
6942 of the individual components of the button (title, value,
6943 image). Also, new method to alter the xscale and yscale properties
6944 of the GtkAlignment inside the button, so more complex layouts can
6947 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6949 * src/hildon-button.c (hildon_button_style_set)
6950 (hildon_button_class_init, hildon_button_set_arrangement)
6951 (hildon_button_construct_child): Apply style properties
6952 correctly. Use the 'image-spacing' style property too.
6954 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6956 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6957 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6960 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6962 * src/hildon-pannable-area.c,
6963 (hildon_pannable_area_size_request): Fixed problem with
6964 pannable-area size_request.
6966 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6968 Added management for the grab-focus to a child widget, like a
6969 range, we need to fade out the scrollbar when releasing.
6971 * src/hildon-pannable-area.c,
6972 (hildon_pannable_area_init): Connected the grab-focus signal to
6974 (hildon_pannable_area_grab_notify): Added this function in order
6975 to manage the situation when the grab-focus ends. We have to
6976 fade-out the scrollbar.
6978 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6980 * src/hildon-app-menu.c: Minor documentation update.
6982 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6984 * src/hildon-app-menu.c
6985 * examples/hildon-app-menu-example.c (create_menu): Update
6986 examples and documentation to explain how to connect callbacks.
6988 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6990 * examples/hildon-button-example.c
6991 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6992 hildon_stackable_window_new instead of gtk_window_new
6994 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6996 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6997 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6998 (hildon_pannable_area_set_property),
6999 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
7000 (hildon_pannable_area_unrealize),
7001 (hildon_pannable_area_size_request),
7002 (hildon_pannable_area_size_allocate),
7003 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
7004 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
7005 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
7006 (hildon_pannable_area_initial_effect),
7007 (hildon_pannable_area_redraw),
7008 (hildon_pannable_area_scroll_indicator_fade),
7009 (hildon_pannable_area_expose_event),
7010 (hildon_pannable_area_get_topmost), (synth_crossing),
7011 (hildon_pannable_area_button_press_cb),
7012 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
7013 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
7014 (hildon_pannable_area_motion_notify_cb),
7015 (hildon_pannable_area_button_release_cb),
7016 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
7017 (hildon_pannable_area_remove),
7018 (hildon_pannable_calculate_vel_factor): Widget refactorization,
7019 chage the code layout to a more GtkWidget like. Review the use of
7022 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7024 * examples/hildon-pannable-area-example-4.c,
7025 (main): Modified the name of the hindicator_mode to
7028 * src/hildon-pannable-area.c,
7029 (hildon_pannable_area_class_init),
7030 (hildon_pannable_area_motion_notify_cb),
7031 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7032 we have reduced the amount of signals and managed reviewed its
7033 rationale. Changed the default decelerate value.
7035 (hildon_pannable_area_add),
7036 (hildon_pannable_area_redraw): Refactored functions.
7038 (hildon_pannable_area_init),
7039 (hildon_pannable_area_get_property),
7040 (hildon_pannable_area_set_property):
7041 (hildon_pannable_draw_vscroll),
7042 (hildon_pannable_draw_hscroll),
7043 (hildon_pannable_area_initial_effect),
7044 (hildon_pannable_area_expose_event),
7045 (hildon_pannable_area_scroll),
7046 (hildon_pannable_area_button_press_cb),
7047 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7048 and vindicator_mode with hscrollbar_policy and
7049 vscrollbar_policy. Replaced hscroll and vscroll with
7050 hscroll_visible and vscroll_visible.
7052 (hildon_pannable_area_refresh): Refactor the function, remove
7053 variables and check the calls to this function, added resize
7054 conditions in case the children change their layout.
7056 (hildon_pannable_area_size_request): Added more detailed
7057 size_request calculation.
7060 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7062 * src/hildon-color-chooser.c
7063 (init_borders): use the correct gtk_border_free instead of g_free, to
7064 avoid a crash when this widget is used (ie: the three color selection
7067 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7069 * src/hildon-check-button.c,
7070 (hildon_check_button_set_active): Fixed problem when setting the
7071 active value, the widget was not redrawn.
7073 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7075 * src/hildon-pannable-area.c,
7076 (hildon_pannable_area_refresh),
7077 (hildon_pannable_area_scroll),
7078 (hildon_pannable_area_motion_notify_cb): Small code style change.
7080 (hildon_pannable_area_class_init): Default initial_hint set to
7081 FALSE, it is not in the specs.
7083 (hildon_pannable_area_initial_effect),
7084 (hildon_pannable_area_expose_event),
7085 (hildon_pannable_area_map),
7086 (hildon_pannable_area_init): Moved the launching point of the
7087 initial effect, it was in map but the sizes where not correct in
7088 that method so we do not know if we have the reproduce it. Now it
7089 is placed in the expose_event method and uses a variable to
7090 reproduce it just once.
7092 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7094 * src/hildon-pannable-area.c,
7095 (hildon_pannable_draw_vscroll),
7096 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7097 position allowed for the scrollbars.
7099 (hildon_pannable_area_size_allocate): Small style change.
7101 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7103 * src/hildon-pannable-area.c,
7104 (hildon_pannable_area_scroll_indicator_fade),
7105 (hildon_pannable_area_button_press_cb),
7106 (hildon_pannable_area_button_release_cb),
7107 (hildon_pannable_area_scroll_cb),
7108 (hildon_pannable_area_expose_event),
7109 (hildon_pannable_area_init): Added the define parameter
7110 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7111 and refactor the fade variable.
7113 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7115 * src/hildon-pannable-area.c,
7116 (hildon_pannable_area_redraw),
7117 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7118 lines, we were reimplemeting the redraw code.
7120 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7122 * src/hildon-pannable-area.c,
7123 (hildon_pannable_area_scroll_cb),
7124 (hildon_pannable_area_realize),
7125 (hildon_pannable_area_class_init): Added scroll_event management
7126 for pannable area, now we can scroll the usual desktop method.
7128 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7129 initialization of the parameters should depend on idle_id.
7131 (hildon_pannable_area_init),
7132 (hildon_pannable_area_map): Small code style modifications
7134 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7136 * src/hildon-pannable-area.c
7137 (hildon_pannable_area_button_press_cb),
7138 (hildon_pannable_area_motion_notify_cb),
7139 (hildon_pannable_area_button_release_cb),
7140 (hildon_pannable_area_size_allocate),
7141 (hildon_pannable_area_scroll_to): Improved the timeouts
7142 management, we avoid creating them each time.
7144 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7146 * src/hildon-pannable-area.c:
7147 (hildon_pannable_area_refresh),
7148 (hildon_pannable_area_motion_notify_cb),
7149 (hildon_pannable_area_class_init):
7150 * src/hildon-pannable-area.h:
7151 * src/hildon-touch-selector.c
7152 (_create_new_column):
7153 * examples/hildon-pannable-area-example-4.c:
7154 (horizontal_movement),
7155 (vertical_movement),
7157 Replaced the names of enums in the HildonPannableArea:
7158 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7159 HILDON_MOVEMENT_MODE_*
7160 - HILDON_PANNABLE_AREA_MOV_* ->
7162 - Removed HildonPannableAreaIndicatorMode, now we
7165 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7167 * examples/hildon-pannable-area-touch-grid-example.c
7168 * examples/hildon-pannable-area-touch-list-example.c: Fix
7169 compilation warnings.
7171 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7173 * src/hildon-gtk.c (hildon_gtk_button_new)
7174 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7175 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7176 images overriding the value of the "gtk-button-images" setting.
7178 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7180 * src/hildon-check-button.c (hildon_check_button_new):
7181 Instead of using a custom container, display the label and the
7182 checkbox using the standard GtkButton API.
7184 * examples/hildon-check-button-example.c (main): Don't use
7185 hildon_check_button_set_label() anymore
7187 * src/hildon-check-button.h
7188 * src/hildon-check-button.c
7189 (hildon_check_button_set_label, hildon_check_button_get_label):
7190 Set as deprecated, now we're using gtk_button_{get,set}_label()
7192 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7194 * src/hildon-pannable-area.c,
7195 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7196 GtkTreeview first line we detected it after the inclusion of the
7197 GtkWindowImpl in gtk+. We now check if the window is visible, not
7198 just if the pointer is over the window.
7199 (hildon_pannable_axis_scroll),
7200 (hildon_pannable_area_expose_event): Small style changes.
7202 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7204 * src/hildon-button.c: Update documentation.
7206 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7208 * examples/hildon-button-example.c: Add a switch to show images in
7211 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7213 * doc/hildon-docs.sgml: Some docs reorganization.
7215 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7217 * examples/hildon-pannable-area-touch-list-example.c
7219 * examples/hildon-pannable-area-touch-grid-example.c
7220 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7221 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7222 Fix memory leak when setting the tree model.
7224 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7228 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7230 * doc/hildon.types: Remove duplicated hildon_window_get_type
7231 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7232 documentation comment.
7234 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7236 * doc/Makefile.am: Complete list of private headers.
7238 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7240 * doc/hildon-docs.sgml
7241 * src/hildon-app-menu.c
7242 * src/hildon-bread-crumb.c
7243 * src/hildon-button.c
7245 * src/hildon-program.c
7246 * src/hildon-stackable-window.c
7247 * src/hildon-window.c: Lots of documentation updates.
7249 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7251 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7253 * configure.ac: Require Gtk+ 2.12.9 at least
7255 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7257 * src/hildon-pannable-area.c
7258 (hildon_pannable_area_scroll_indicator_fade),
7259 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7260 to protect the return of this timeout callbacks, avoiding deadlocks.
7262 2008-08-12 Christian Dywan <christian@imendio.com>
7265 * src/hildon-*.h: Ensure a consistent include order,
7266 include <gtk/gtk.h> instead of particular files and
7267 only include the topmost header in the gtk stack. See NB #39857
7269 2008-08-12 Christian Dywan <christian@imendio.com>
7271 * src/hildon-picker-dialog.c
7272 * src/hildon-touch-selector.c: Fix warnings about unused and
7273 uninitialized variables.
7275 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7277 * examples/Makefile.am
7278 * examples/hildon-check-button-example.c: Example of the hildon
7281 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7283 * src/hildon-window.h
7284 * src/hildon-window.c (hildon_window_class_init)
7285 (hildon_window_unset_program): Don't make
7286 hildon_window_unset_program a virtual function anymore.
7288 * src/hildon-stackable-window.c: Update documentation
7290 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7293 * doc/hildon-docs.sgml
7294 * doc/visual_index.xml
7295 * src/hildon-defines.c
7297 * src/hildon-helper.c
7298 * src/hildon-range-editor.c: Lots of documentation fixes.
7300 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7302 * examples/hildon-picker-button-multicolumn-example.c
7303 (create_touch_selector): Fix compilation warning.
7305 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7307 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7308 (hildon_pannable_area_button_release_cb)
7309 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7311 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7313 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7316 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7318 * src/hildon-bread-crumb-trail.h
7319 * src/hildon-date-editor.c
7320 * src/hildon-date-selector.c
7321 * src/hildon-pannable-area.c
7322 * src/hildon-picker-dialog.c
7323 * src/hildon-time-selector.c
7324 * src/hildon-touch-selector-entry.c
7325 * src/hildon-touch-selector.c
7326 * src/hildon-touch-selector.h: Misc documentation fixes
7328 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7330 * examples/hildon-date-editor-example.c (main): Updated date
7333 * examples/hildon-note-example.c (on_confirmation_clicked):
7334 Updated confirmation note example.
7336 * src/hildon-date-editor.c
7337 * src/hildon-note.c: Updated sample programs in documentation.
7340 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7342 * src/hildon-date-button.h:
7343 * src/hildon-picker-button.h:
7344 * src/hildon-time-button.c:
7345 * src/hildon-time-button.h:
7347 Some declarations changes to allow gtk-doc to document the widgets
7350 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7352 * src/hildon-date-button.c: Document the widget.
7353 * src/hildon-time-button.c: Document the widget.
7355 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7357 * src/hildon-picker-button.c: Document the widget.
7358 * src/hildon-touch-selector-entry.c: Document the widget.
7360 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7362 * doc/hildon-docs.sgml
7365 * src/hildon-check-button.h
7366 * src/hildon-check-button.c: New functions to create the Hildon
7370 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7372 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7374 * src/hildon-button.h
7375 * src/hildon-button.c
7376 (hildon_button_add_title_size_group)
7377 (hildon_button_add_value_size_group)
7378 (hildon_button_add_image_size_group)
7379 (hildon_button_add_size_groups): New functions to set size groups
7380 for the button labels and image.
7381 (hildon_button_new_full): Removed
7383 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7385 * src/hildon-time-selector.c
7386 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7387 in order to avoid a crash if gconf is not available
7389 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7391 * src/hildon-button.c (hildon_button_set_arrangement)
7392 (hildon_button_construct_child): Don't construct the button child
7393 before setting the arrangement.
7395 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7397 * src/hildon-program-private.h
7398 * src/hildon-program.c
7399 * src/hildon-program.h
7400 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7401 (hildon_program_peek_window_stack)
7402 (hildon_program_pop_window_stack)
7403 (hildon_program_go_to_root_window): HildonProgram now has a
7404 separate list for stackable windows. Functions are provided to
7405 manage that list with a stack-like API.
7407 * src/hildon-stackable-window.c: Stackable window management is
7408 now much simpler with the new HildonProgram API. Windows no
7409 longer need to be manually added to the program, they're
7410 automatically pushed to the top of the stack when shown.
7412 * examples/hildon-stackable-window-example.c: Updated example to
7413 reflect the API changes.
7415 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7417 * src/hildon-touch-selector.c: Comment out unimplemented
7418 hildon_touch_selector_insert_column() to avoid a compile warning.
7420 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7422 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7423 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7424 (hildon_touch_selector_set_column_selection_mode),
7425 (_hildon_touch_selector_set_model),
7426 (hildon_touch_selector_set_model):
7428 Complete review of HildonTouchSelector documentation.
7430 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7432 * doc/hildon-docs.sgml
7436 * src/hildon-gtk.c: Convenience functions for standard Gtk
7437 widgets, used to easily perform frequent operations.
7439 * src/hildon-button-helpers.h
7440 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7442 * src/hildon-helper.h
7443 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7444 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7446 * src/hildon-button.h
7447 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7449 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7451 * src/hildon-button.c (hildon_button_init)
7452 (hildon_button_set_arrangement, hildon_button_construct_child):
7453 Pack the image and the labels inside the same GtkAlignment so
7454 gtk_button_set_alignment() can be used
7456 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7458 * src/hildon-button.h
7459 * src/hildon-button.c
7460 (hildon_button_init, hildon_button_set_image)
7461 (hildon_button_set_image_position)
7462 (hildon_button_construct_child): New functions to add an image to
7465 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7467 * src/hildon-date-button.c
7468 * src/hildon-picker-button.c
7469 * src/hildon-time-button.c
7470 * src/hildon-button.c:
7471 (hildon_button_class_init): "size-flags" renamed to "size"
7472 (hildon_button_set_title): Hide the title label if set to NULL.
7474 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7476 HildonButtonFlags split into HildonButtonArrangement (to set the
7477 button layout) and HildonSizeType (which can be used for any
7480 * src/hildon-button.h
7481 * src/hildon-button.c
7482 (hildon_button_class_init)
7483 (hildon_button_set_arrangement)
7484 (hildon_button_set_property): New "size-flags"
7485 property. "arrangement-flags" renamed to "arrangement".
7486 (hildon_button_new, hildon_button_new_with_text)
7487 (hildon_button_new_full): Constructors updated to reflect type changes.
7489 * src/hildon-helper.h
7490 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7491 to set the size of a widget.
7495 * src/hildon-button-helpers.c
7496 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7498 * src/hildon-date-button.c
7499 * src/hildon-date-button.h
7500 * src/hildon-picker-button.c
7501 * src/hildon-picker-button.h
7502 * src/hildon-time-button.c
7503 * src/hildon-time-button.h: Updated widgets to reflect
7504 HildonButton API changes.
7506 * examples/hildon-button-example.c
7507 * examples/hildon-date-button-example.c
7508 * examples/hildon-picker-button-example.c
7509 * examples/hildon-picker-button-multicolumn-example.c
7510 * examples/hildon-time-button-example.c
7511 * examples/hildon-touch-selector-entry-example.c
7512 * examples/hildon-touch-selector-example.c: Updated examples to
7513 reflect HildonButton API changes.
7515 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7517 * doc/hildon-docs.sgml:
7519 * examples/Makefile.am:
7520 * examples/hildon-touch-selector-entry-example.c:
7522 * src/hildon-touch-selector-entry.c:
7523 * src/hildon-touch-selector-entry.h:
7526 Moved HildonTouchSelectorEntry from sandbox. Added its
7527 documentation and examples.
7529 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7531 * src/hildon-touch-selector.h:
7532 * examples/hildon-picker-button-multicolumn-example.c:
7533 (hildon_touch_selector_append_text_column): Add a gboolean
7534 parameter to determine if text must be centered in the column.
7536 * src/hildon-date-selector.c: (hildon_date_selector_init):
7537 * src/hildon-time-selector.c: (hildon_time_selector_init):
7538 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7539 (create_touch_selector): Update widgets and example to reflect
7542 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7544 * src/hildon-touch-selector.c:
7545 (hildon_touch_selector_set_active_iter): Set also the cursor in
7548 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7550 * doc/hildon-docs.sgml
7553 * src/hildon-toggle-button.c
7554 * src/hildon-toggle-button.h
7555 * src/hildon.h: Removed HildonToggleButton widget, a derived
7556 class is not necessary for this.
7558 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7560 * src/hildon-pannable-area.c,
7561 (hildon_pannable_area_realize),
7562 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7565 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7567 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7568 "done" button the default widget for the dialog.
7570 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7572 * src/hildon-touch-selector.c:
7573 (hildon_touch_selector_class_init),
7574 (hildon_touch_selector_get_property),
7575 (_hildon_touch_selector_set_model),
7576 (_hildon_touch_selector_has_multiple_selection),
7577 (hildon_touch_selector_has_multiple_selection):
7578 Add a "has-multiple-selection" property with a virtual
7579 has_multiple_selection() method to allow derived classes to
7580 override the default value for it. See the method and property
7581 documentation for details.
7583 * src/hildon-touch-selector.h: Add the new API.
7585 * src/hildon-picker-dialog.c: (requires_done_button): Call
7586 hildon_touch_selector_has_multiple_selection() instead of
7587 determining the need for a button itself.
7589 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7591 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7592 (_hildon_touch_selector_set_model),
7593 (hildon_touch_selector_set_model): Move working code to
7594 _hildon_touch_selector_set_mode(). Call the class method instead.
7596 * src/hildon-touch-selector.h: Add (*set_model) to
7597 HildonTouchSelectorClass.
7599 Make hildon_touch_selector_set_model() a virtual method, so that
7600 derived classes can extend it and do fancy stuff with the model.
7602 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7604 * configure.ac: Set back the tarname in AC_INIT to hildon.
7606 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7610 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7611 instead of libesd (NB#86876). Volume handling is still an open issue.
7613 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7616 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7618 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7619 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7620 derived class to ease placement of an entry widget in
7621 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7622 end, where the selector columns are packed now.
7624 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7626 * src/hildon-picker-button.c: Removed the simple _text() API.
7627 * src/hildon-picker-button.h: Likewise.
7629 * src/hildon-touch-selector.h:
7630 * src/hildon-touch-selector.c:
7631 (hildon_touch_selector_new_text),
7632 (hildon_touch_selector_append_text),
7633 (hildon_touch_selector_prepend_text),
7634 (hildon_touch_selector_insert_text):
7636 Moved the simple _text() API from HildonPickerButton to
7637 HildonTouchPicker, to provide better escalability and not to tie
7638 that API to HildonPickerButton.
7640 * examples/hildon-picker-button-example.c: (main): Example updated.
7642 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7644 * src/hildon-button.c: Updated documentation.
7646 * examples/hildon-button-example.c: Add the posibility to create
7647 the buttons using horizontal layout for title and value.
7649 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7651 * src/hildon-app-menu-private.h
7652 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7653 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7654 GtkSizeGroup for the filters, use the 'homogeneous' property of
7657 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7659 * examples/hildon-button-example.c: Updated example.
7661 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7663 * doc/hildon-docs.sgml:
7666 Update documentation.
7668 * examples/Makefile.am: Update renamed examples.
7670 * examples/hildon-picker-button-multicolumn-example.c:
7671 (create_touch_selector), (main): Update after the rename.
7673 * examples/hildon-touch-picker-example.c: Removed.
7674 * examples/hildon-touch-selector-example.c: (value_changed),
7675 (create_selector), (get_visible_content), (main): Renamed from
7676 hildon-touch-picker-example.c
7678 * src/Makefile.am: Updated renamed files.
7680 * src/hildon-date-button.c: (hildon_date_button_init),
7681 (hildon_date_button_get_date), (hildon_date_button_set_date):
7682 * src/hildon-date-selector.c: (hildon_date_selector_init),
7683 (_custom_print_func), (_update_day_model),
7684 (_manage_selector_change_cb),
7685 (hildon_date_selector_select_current_date),
7686 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7687 * src/hildon-date-selector.h:
7688 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7689 (hildon_picker_button_set_property),
7690 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7691 (hildon_picker_button_init), (hildon_picker_button_new_text),
7692 (hildon_picker_button_append_text),
7693 (hildon_picker_button_prepend_text),
7694 (hildon_picker_button_insert_text),
7695 (hildon_picker_button_set_selector),
7696 (hildon_picker_button_get_selector):
7697 * src/hildon-picker-button.h:
7698 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7699 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7700 (_update_title_on_selector_changed_cb), (requires_done_button),
7701 (_hildon_picker_dialog_set_selector),
7702 (hildon_picker_dialog_set_selector),
7703 (hildon_picker_dialog_get_selector):
7704 * src/hildon-picker-dialog.h:
7705 * src/hildon-time-button.c: (hildon_time_button_init),
7706 (hildon_time_button_get_time), (hildon_time_button_set_time):
7707 * src/hildon-time-selector.c: (hildon_time_selector_init),
7708 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7709 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7710 * src/hildon-time-selector.h:
7713 Massive code updates after the rename.
7715 * src/hildon-touch-picker.c: Removed.
7716 * src/hildon-touch-picker.h: Removed.
7718 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7719 (hildon_touch_selector_init), (hildon_touch_selector_map),
7720 (hildon_touch_selector_remove), (_default_print_func),
7721 (_selection_changed_cb), (_create_new_column),
7722 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7723 (hildon_touch_selector_append_text_column),
7724 (hildon_touch_selector_remove_column),
7725 (hildon_touch_selector_set_column_attributes),
7726 (hildon_touch_selector_insert_column),
7727 (hildon_touch_selector_get_num_columns),
7728 (hildon_touch_selector_get_column_selection_mode),
7729 (hildon_touch_selector_set_column_selection_mode),
7730 (hildon_touch_selector_set_print_func),
7731 (hildon_touch_selector_get_print_func),
7732 (hildon_touch_selector_get_active_iter),
7733 (hildon_touch_selector_set_active_iter),
7734 (hildon_touch_selector_get_selected_rows),
7735 (hildon_touch_selector_get_model),
7736 (hildon_touch_selector_set_model),
7737 (hildon_touch_selector_get_current_text),
7738 (_hildon_touch_selector_center_on_selected_items):
7739 * src/hildon-touch-selector.h: Renamed from
7740 hildon-touch-picker.[ch]
7742 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7743 references, code examples, and related documentation.
7745 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7747 * doc/hildon-docs.sgml
7750 * src/hildon-toggle-button.c
7751 * src/hildon-toggle-button.h
7752 * src/hildon.h: New HildonToggleButton widget.
7754 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7756 * src/hildon-button.c: Add API documentation.
7757 (hildon_button_set_size_groups): Check input parameters
7759 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7761 * src/hildon-pannable-area.c
7762 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7763 effect after reaching the movement thredshold. This way we start
7764 using the distance after passing the thredshold.
7766 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7768 * src/hildon-button.c: (hildon_button_set_property): Use the
7769 appropriate g_value_get_flags() method.
7771 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7773 * doc/hildon-docs.sgml:
7776 Add the touch pickers, picker dialogs, and picker button widgets
7777 to the documentation.
7779 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7781 * src/hildon-button.c: (hildon_button_set_property),
7782 (hildon_button_class_init): Make "arrangement-flags" a proper
7783 G_TYPE_FLAGS derived property.
7785 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7787 * examples/Makefile.am: Add below examples.
7788 * examples/hildon-date-button-example.c:
7789 * examples/hildon-picker-button-example.c:
7790 * examples/hildon-picker-button-multicolumn-example.c:
7791 * examples/hildon-time-button-example.c:
7792 * examples/hildon-touch-picker-example.c:
7794 Add examples for the recently added touch pickers,
7795 picker dialogs, and picker button widgets.
7797 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7799 * src/hildon-button.c: Add some API documentation
7801 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7803 * src/hildon-button.h
7804 * src/hildon-button.c
7806 (hildon_button_new_with_text): New constructor to create a button
7807 with no text at all.
7808 (hildon_button_init, hildon_button_set_arrangement)
7809 (hildon_button_set_title, hildon_button_set_value)
7810 (hildon_button_set_text)
7811 (hildon_button_construct_child): Hide the value when it's not used
7812 so the rest of the text is properly aligned.
7813 Allow creating buttons with arbitrary widgets inside (not just
7814 title/value labels).
7816 * examples/hildon-button-example.c (vertical_buttons_window)
7817 (horizontal_buttons_window): Update example to use new API.
7819 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7821 * src/Makefile.am: Added HildonTimeButton.
7822 * src/hildon-time-button.c: Added missing LGPL header.
7823 * src/hildon-time-button.h: Added missing LGPL header.
7824 * src/hildon.h: Add hildon-time-button.h
7826 Copied HildonTimeButton from sandbox to trunk. Future work on this
7827 widget must take place in trunk.
7829 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7831 * src/Makefile.am: Added HildonDateButton.
7832 * src/hildon-date-button.c: Update includes.
7833 * src/hildon.h: Add hildon-date-button.h
7835 Copied HildonDateButton from sandbox to trunk. Future work on this
7836 widget must take place in trunk.
7838 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7840 * src/Makefile.am: Added HildonPickerButton.
7841 * src/hildon-picker-button.h: Update includes.
7842 * src/hildon.h: Add hildon-picker-button.h
7844 Copied HildonPickerButton from sandbox to trunk. Future work on
7845 this widget must take place in trunk.
7847 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7849 * src/Makefile.am: Added HildonPickerDialog.
7850 * src/hildon-picker-dialog.c: Update includes.
7851 * src/hildon.h: Add hildon-picker-dialog.h
7853 Copied HildonPickerDialog from sandbox to trunk. Future work
7854 on this widget must take place in trunk.
7856 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7858 * src/Makefile.am: Added HildonTimeSelector.
7859 * src/hildon.h: Add hildon-time-selector.h
7861 Copied HildonTimeSelector widget from sandbox to trunk. Future
7862 work on this widget must happen in trunk.
7864 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7866 * src/Makefile.am: Added HildonDateSelector.
7867 * src/hildon.h: Add hildon-date-selector.h
7869 Copied HildonDateSelector widget from sandbox to trunk. Future
7870 work on this widget must happen in trunk.
7872 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7874 * src/Makefile.am: Added HildonTouchPicker.
7875 * src/hildon-touch-picker.c: Update includes.
7876 * src/hildon.h: Add hildon-touch-picker.h
7878 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7879 on this widget must happen in trunk.
7881 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7883 * src/hildon-pannable-area.c:
7884 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7886 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7888 * examples/hildon-app-menu-example.c (main): Let the window
7891 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7893 * src/hildon-pannable-area.c
7894 (hildon_pannable_area_class_init): Set the min value of the
7895 overshoot properties to zero, which points out that not
7896 overshooting allowed.
7898 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7900 Modified the procedure to get the widget at a point inside the
7901 pannable area when using the movement type signals. Now the user
7902 has to call a function to get the child, that way we just
7903 calculate the child in case the user really want to use it and not
7906 * src/hildon-marshalers.list: Modified the marshallers, now we do
7907 not have the widget as a parameter.
7909 * src/hildon-pannable-area.c
7910 (hildon_pannable_area_motion_notify_cb),
7911 (hildon_pannable_area_class_init),
7912 (hildon_pannable_get_child_widget_at): Removed the widget
7913 parameter from the signal callback. We have also refactored the
7914 emission of the signals.
7916 * src/hildon-pannable-area.h: Added a new method to the API to
7917 calculate a widget at a point inside the pannable area,
7918 hildon_pannable_get_child_widget_at.
7920 * examples/hildon-pannable-area-example-4.c
7921 (horizontal_movement): Modified the example to use the new API,
7922 added condition to control which widget is under the event. This
7923 way we can avoid scrolling laterally over other widgets.
7925 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7927 * src/hildon-pannable-area.c
7928 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7929 modes, we stop getting the pointer events due to returning the
7930 callback without properly calling the get pointer again. Fixed
7931 also an error using the hscroll and vscroll.
7933 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7935 * src/hildon-app-menu-private.h
7936 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7937 (hildon_app_menu_button_release, hildon_app_menu_init)
7938 (hildon_app_menu_class_init): Don't hide the menu on button
7939 release if the user didn't press outside first.
7941 * src/hildon-window.h
7942 * src/hildon-window.c (hildon_window_toggle_menu)
7943 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7944 hildon_window_toggle_menu a virtual function for the stackable
7945 window to override it.
7947 * src/hildon-stackable-window.h
7948 * src/hildon-stackable-window-private.h
7949 * src/hildon-stackable-window.c
7950 (hildon_stackable_window_realize)
7951 (hildon_stackable_window_finalize)
7952 (hildon_stackable_window_class_init)
7953 (hildon_stackable_window_init)
7954 (hildon_stackable_window_set_main_menu): New function to set the
7955 app menu of a HildonStackableWindow.
7957 * examples/hildon-app-menu-example.c: Remove the button to show
7958 the app menu, now it'll be shown when clicking on the title bar
7961 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7963 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7964 set the widget name if the arrangement flags do not specify
7967 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7969 * src/hildon-button.c: (hildon_button_set_property),
7970 (hildon_button_class_init), (hildon_button_new_full),
7971 (hildon_button_set_arrangement): Added "arrangement-flags"
7974 Make the HildonButtonFlags a construction-only property, to allow
7975 subclasses to set them properly.
7977 2008-07-21 Tim Janik <timj@imendio.com>
7979 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7980 insertion position after backspace, so additional digits are appended,
7983 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7985 * src/hildon-pannable-area.c,
7986 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7987 TODO list, it was complete and removed the g_debug and g_print
7990 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7992 Added the movement modes to the hildon-pannable-area, with this
7993 modes the developers can control in which directions the widget
7994 can scroll. They can also connect to signals in order to do
7995 something when that happens, allowing applications scroll. There
7996 is an example uploaded showing how to use it.
7998 * examples/Makefile.am:
7999 * examples/hildon-pannable-area-example-4.c: Added this example of
8000 an application using the modes.
8002 * src/hildon-marshalers.list: Added a new marshaller for the new
8005 * src/hildon-pannable-area.h: Added new enumerations and flags in
8006 order to control the movement modes and the new signals to warn
8007 about the movements in the area.
8009 * src/hildon-pannable-area.c:
8010 (hildon_pannable_axis_scroll),
8011 (hildon_pannable_area_scroll),
8012 (hildon_pannable_area_motion_notify_cb),
8013 (hildon_pannable_area_get_property),
8014 (hildon_pannable_area_set_property),
8015 (hildon_pannable_area_map),
8016 (hildon_pannable_area_class_init),
8017 (hildon_pannable_area_init),
8018 (hildon_pannable_area_jump_to): Added the modes to control the
8019 movement in the widget. We have added properties to control it,
8020 signals to warn about the movements and refactored some code.
8022 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8024 Changes required in order to allow vfast_factor set to zero to
8027 * src/hildon-pannable-area.c:
8028 (hildon_pannable_area_button_press_cb): Changed the condition, it
8029 is required for not allowing click when vfast_factor is zero.
8030 (hildon_pannable_area_timeout): Initialized velocity variables
8031 when we stop moving, it was less than 1 but not zero and we need
8032 to check zero in some situations.
8033 (hildon_pannable_area_class_init): Changed the default value of
8034 the speed factor, now the button_press is just sent in case the
8035 speed is 2 per cent of the max speed.
8036 (hildon_pannable_area_init): Initialization with 0.
8038 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8040 * src/hildon-pannable-area.c,
8041 (hildon_pannable_area_get_topmost): replaced
8042 gdk_window_get_children with gdk_window_peek_children, this way we
8043 do not have to free the list because it is not a copy.
8045 (hildon_pannable_axis_scroll),
8046 (hildon_pannable_area_scroll),
8047 (hildon_pannable_area_timeout),
8048 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8049 two parameters that were only used inside the
8050 hildon_pannable_area_scroll function.
8052 * examples/hildon-pannable-area-example.c,
8053 (get_sawtooth_label): Fixed small memory leak.
8055 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8057 More checks for the case where the overshoot is bigger than the
8060 * src/hildon-pannable-area.c:
8061 (hildon_pannable_draw_vscroll),
8062 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8063 to draw the slider of the scrollbar under the other scrollbar.
8064 (hildon_pannable_area_expose_event): added new checks to control
8065 the drawing of the overshooting area rectangle, in case it is too
8066 big for the area of the widget.
8067 (hildon_pannable_area_size_allocate): add more checks to avoid
8068 setting a position to the child widget outside the area.
8070 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8072 * src/hildon-pannable-area.c
8073 (hildon_pannable_area_size_allocate): Added conditions to control
8074 when overshooting is bigger than the allocated space for the
8075 children, this avoids negative allocations.
8077 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8079 * doc/hildon-docs.sgml
8081 * examples/Makefile.am
8082 * examples/hildon-button-example.c
8084 * src/hildon-button.c
8085 * src/hildon-button.h
8086 * src/hildon.h: Initial version of the new HildonButton widget,
8089 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8091 * src/hildon-pannable-area.c:
8092 (hildon_pannable_area_button_press_cb),
8093 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8094 (hildon_pannable_area_motion_notify_cb),
8095 (hildon_pannable_area_button_release_cb),
8096 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8097 (hildon_pannable_area_jump_to_child):
8099 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8101 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8103 * examples/Makefile.am
8104 * examples/hildon-pannable-area-touch-grid-example.c
8105 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8106 the Hildon Touch List and Hildon Touch Grid using the
8107 HildonPannableArea widget.
8109 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8111 * src/hildon-pannable-area.c,
8112 (hildon_pannable_area_button_press_cb),
8113 (hildon_pannable_area_refresh),
8114 (hildon_pannable_area_scroll),
8115 (hildon_pannable_area_motion_notify_cb),
8116 (hildon_pannable_area_button_release_cb),
8117 (hildon_pannable_area_expose_event),
8118 (hildon_pannable_area_add),
8119 (hildon_pannable_area_remove),
8120 (hildon_pannable_area_realize),
8121 (hildon_pannable_area_size_allocate),
8122 (hildon_pannable_area_class_init),
8123 (hildon_pannable_area_init),
8124 (hildon_pannable_area_scroll_to_child),
8125 (hildon_pannable_area_jump_to_child): Fixed the problem of
8126 removing the child from the GtkBin, we have rearranged the widget
8127 hierarchy, now there is no GtkAlignment which was not doing
8128 anything interesting but breaking some of the assumptions of
8129 GtkContainer. Now developers if they want to add a GtkAlignment
8130 they could, but it is not inside the area.
8132 We had to review the whole allocation/expose process, now it is
8133 improved and we save at least three signals which would be saving
8134 some time when rendering the widget. The allocation of the
8135 scrollbars is now made in the allocate method as usual.
8137 We have also added some conditions in order to control when there
8138 is no child of the pannable area. Maybe we will need more work
8141 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8143 * src/hildon-pannable-area.c,
8144 (hildon_pannable_area_dispose): Released the fade-out timeout when
8145 disposing the widget.
8147 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8149 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8150 zero, we are going to use that property in order to deactivate the
8152 (hildon_pannable_axis_scroll),
8153 (hildon_pannable_area_size_allocate): Added conditions to control
8154 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8155 call, now it is called in all situations and we can remove calls
8156 in the allocate method.
8157 (hildon_pannable_area_map): Control the situation when
8158 overshoot_max is zero, we do not need the timeout.
8159 (hildon_pannable_area_class_init): Added documentation in order to
8160 point out that setting zero to overshoot_max means deactivate
8163 NOTE: removed trailing whitespaces from my previous comments of
8166 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8168 * src/hildon-pannable-area.c
8169 (hildon_pannable_area_get_property),
8170 (hildon_pannable_area_set_property),
8171 (hildon_pannable_area_map),
8172 (hildon_pannable_area_class_init),
8173 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8174 to cause the widget give a hint about its panning abilities upon
8177 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8179 * src/hildon-pannable-area.c: Several documentation improvements.
8181 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8183 * src/hildon-program.c
8184 * src/hildon-stackable-window.c: Update documentation.
8186 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8188 * src/hildon-stackable-window.c (get_previous_window_if_last):
8189 Renamed get_last_window()
8190 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8191 (hildon_stackable_window_unset_program):
8193 (get_previous_window_if_last):
8194 Detect if the window hasn't been added to a HildonProgram.
8196 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8198 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8200 * src/hildon-pannable-area.c
8201 (hildon_pannable_area_button_press_cb),
8202 (hildon_pannable_axis_scroll),
8203 (hildon_pannable_area_scroll),
8204 (hildon_pannable_area_timeout),
8205 (hildon_pannable_calculate_vel_factor),
8206 (hildon_pannable_area_get_property),
8207 (hildon_pannable_area_set_property),
8208 (hildon_pannable_area_class_init),
8209 (hildon_pannable_area_init),
8210 (hildon_pannable_area_scroll_to),
8211 (hildon_pannable_area_jump_to),
8212 (hildon_pannable_area_scroll_to_child),
8213 (hildon_pannable_area_jump_to_child):
8214 * src/hildon-pannable-area.h: Added the new API functions:
8215 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8216 hildon_pannable_area_scroll_to_child,
8217 hildon_pannable_area_jump_to_child
8220 * examples/Makefile.am
8221 * examples/hildon-pannable-area-example-2.c
8222 * examples/hildon-pannable-area-example-3.c: Added these two new
8223 examples in order to test and show how the new APIs work.
8225 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8227 * examples/hildon-stackable-window-example.c (new_window):
8228 * src/Makefile.am (noinst_HEADERS):
8229 * src/hildon-program.c (hildon_program_go_to_root_window):
8230 * src/hildon-program.h:
8231 * src/hildon-stackable-window-private.h:
8232 * src/hildon-stackable-window.c:
8233 * src/hildon-stackable-window.h:
8234 Create hildon-stackable-window-private.h
8235 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8237 * examples/hildon-app-menu-example.c (create_menu):
8238 * examples/hildon-hvolumebar-insensitive-example.c (main):
8239 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8240 * examples/hildon-toolbar-seekbar-example.c (main):
8241 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8242 * src/hildon-banner.c (hildon_banner_set_property):
8243 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8244 Fix compilation warnings
8246 * src/hildon-window.c:
8249 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8251 * src/hildon-stackable-window.c
8252 (hildon_stackable_window_unset_program):
8253 Calculate correctly whether to show the previous window if the
8254 last one is removed from the stack.
8255 (hildon_stackable_window_go_to_root_window):
8256 Send delete events starting from the topmost window.
8257 Stop if one of the windows is not destroyed.
8259 (hildon_stackable_window_delete_event)
8260 (hildon_stackable_window_class_init):
8261 Ignore the delete event if the window is not the topmost one.
8263 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8265 * src/hildon-pannable-area.c
8266 (hildon_pannable_area_expose_event): Fixed a problem when
8267 selecting the background color of the scrollbars.
8269 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8271 * examples/hildon-stackable-window-example.c
8272 * src/hildon-stackable-window.c
8273 * src/hildon-stackable-window.h
8274 hildon_stackable_window_go_home() renamed to
8275 hildon_stackable_window_go_to_root_window()
8276 Send delete events to windows rather than closing them with
8277 gtk_widget_destroy()
8279 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8281 * src/hildon-pannable-area.c
8282 (hildon_pannable_area_button_release_cb): Fix overshooting in
8285 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8287 * src/hildon-pannable-area.c
8288 (hildon_pannable_area_init): Initially show the scroll indicators.
8289 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8291 Add initial effect showing the widget is pannable.
8293 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8295 * src/hildon-pannable-area.c
8296 (hildon_pannable_area_class_init)
8297 (hildon_pannable_area_set_property)
8298 (hildon_pannable_area_get_property)
8299 (hildon_pannable_area_button_press_cb):
8300 New 'velocity_fast_factor' property to decide which velocity is
8303 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8305 * src/hildon-pannable-area.c
8306 (hildon_pannable_draw_hscroll)
8307 (hildon_pannable_draw_vscroll):
8308 Use float variables to calculate the size of the scrollbars to
8309 avoid error propagation and resizing during scrolling.
8311 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8313 * src/hildon-pannable-area.c
8314 (hildon_pannable_draw_vscroll)
8315 (hildon_pannable_draw_hscroll):
8316 Define a minimum size for the scroll bars
8318 * src/hildon-stackable-window.c
8319 (hildon_stackable_window_go_home): Fix compilation warning
8320 (get_last_window): Minor optimizations
8321 (hildon_stackable_window_class_init): Fix initialization of
8324 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8326 * src/hildon-stackable-window.c: Fixed typos in doc
8328 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8330 * src/hildon-pannable-area.c
8331 (hildon_pannable_area_scroll):
8332 Calculate here whether we need to scroll instead of using the booleans
8333 that tell us whether to /draw/ the scrolling bars.
8335 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8337 * src/hildon-app-menu.h
8339 * src/hildon-app-menu.c
8340 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8341 multiple filter groups related code and API. Now we support only
8343 * examples/hildon-app-menu-example.c:
8345 Update to reflect API changes.
8347 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8349 * src/hildon-stackable-window.c
8350 (hildon_stackable_window_class_init):
8351 Add hildon_stackable_window_realize.
8352 (hildon_stackable_window_realize):
8353 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8354 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8355 to apply theming and behavior specific to HildonStackableWindow
8358 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8360 * src/hildon-note.c (hildon_note_button_release):
8361 Close information notes also when tapping on them
8363 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8365 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8366 ELASTICITY, refactor and review, fix some issues with drawing
8369 * src/hildon-pannable-area.c:
8370 (hildon_pannable_area_button_press_cb): removed the conditions to
8371 avoid clicks when overshooting. It is not required
8373 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8374 define. Refatored and reviewed the code, now we do not need to
8375 manage velocity in motion_notify.
8377 (hildon_pannable_area_motion_notify_cb): We have moved the code
8378 that controls the area_scroll to the axis_scroll function and get
8379 rid of duplicated code.
8381 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8383 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8385 (hildon_pannable_draw_vscroll),
8386 (hildon_pannable_draw_hscroll): Fixed the problems with the
8387 scrollbar drawing, now we do not use two surfaces, it is easier
8388 and saves resources.
8390 (hildon_pannable_area_get_property): Style modification.
8392 (hildon_pannable_area_class_init): Changed some default values.
8394 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8396 * src/hildon-stackable-window.c: Fix some typos in the
8399 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8401 * src/hildon-dialog.c:
8402 Change indentation style
8405 (hildon_note_button_release):
8406 Use root coordinates to check if the release event happened
8409 * src/hildon-app-menu.c
8410 (hildon_app_menu_button_release):
8411 Remove unnecessary check
8413 * examples/hildon-app-menu-example.c
8415 Add cast to fix warning
8417 * src/hildon-app-menu.c
8418 (hildon_app_menu_class_init):
8419 New inner-border style property.
8420 Set all default spacings to 16
8421 (hildon_app_menu_init):
8422 Use vertical-spacing to set the space between filter buttons and
8423 regular menu buttons.
8424 Set the default container border using the inner-border value.
8426 * examples/hildon-app-menu-example.c
8428 Don't set the menu border explicitly, now we have the inner-border
8429 style property for that.
8431 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8433 * src/hildon-app-menu.c (hildon_app_menu_init):
8434 Make the window modal
8436 * src/hildon-note.c (hildon_note_map)
8437 * src/hildon-app-menu.c (hildon_app_menu_map):
8438 Destroy the grab window if we're unable to grab the pointer
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 (grab_transfer_window_get):
8446 Bring back the grab window
8447 (hildon_app_menu_realize):
8448 Decorate the window, set WM hint for Matchbox
8450 * src/hildon-note.c (hildon_note_realize):
8451 * src/hildon-banner.c (hildon_banner_realize):
8452 Add WM hints for Matchbox
8454 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8456 * src/hildon-app-menu-private.h
8457 * src/hildon-app-menu.c
8458 (hildon_app_menu_init, hildon_app_menu_finalize)
8459 (hildon_app_menu_map, hildon_app_menu_unmap)
8460 (hildon_app_menu_button_release):
8461 Remove the grab window, it's not needed anymore
8463 * src/hildon-program.c
8464 Fixed typo in documentation
8466 * src/hildon-app-menu.h
8467 * src/hildon-app-menu.c
8468 * examples/hildon-app-menu-example.c
8469 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8471 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8474 Added new transfer_window and close_if_pressed_outside private
8476 (hildon_note_rebuild):
8477 Don't add a cancel button to the information note. It will be
8478 closed when tapping outside
8479 Remove the comment about the OK button in the documentation
8480 (hildon_note_realize):
8481 Set the notification type hint
8482 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8483 Grab/ungrab pointer and keyboard if the note has to be closed when
8485 (hildon_note_button_release):
8486 Close the note when tapping outside (if applicable)
8488 * src/hildon-app-menu.c
8489 Grab/ungrab pointer and keyboard on map/unmap
8490 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8491 Close the menu on button release, not button press
8493 * src/hildon-banner.c
8494 (hildon_banner_set_property)
8495 (hildon_banner_check_position):
8496 Make the banner use the full width of the screen
8497 (hildon_banner_show_information)
8498 (hildon_banner_show_information_with_markup):
8499 Don't display an icon by default
8501 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8503 Added fading scrollbars and adapted all the overshooting code to
8504 horizontal scrolling. We have also fixed bugs with overshooting
8505 and current fading implementation.
8507 * src/hildon-pannable-area.c
8508 (hildon_pannable_area_scroll_indicator_fade): Time out function
8509 used to change the transparency of the scrollbars.
8511 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8512 control and fixed a problem with fading, we now remove the fade
8513 timeout before adding a new one.
8515 (hildon_pannable_axis_scroll):
8516 (hildon_pannable_area_scroll):
8517 (hildon_pannable_area_timeout): Added this functions so we can use
8518 the scroll code both for vertical and horizontal.
8520 (hildon_pannable_area_motion_notify_cb):
8521 (hildon_pannable_area_button_release_cb): Added the horizontal
8522 scrolling control, fixed a problem with the overshooting timeout.
8524 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8525 painting of the scrolls.
8527 (hildon_pannable_draw_vscroll):
8528 (hildon_pannable_draw_hscroll):
8529 (hildon_pannable_area_expose_event):
8530 Draw both scrollbars and rectangles in the overshooting area.
8532 (hildon_pannable_area_get_property):
8533 (hildon_pannable_area_set_property):
8534 Modified the overshoot property to overshoot_max
8536 (hildon_pannable_area_map):
8537 Replaced the comments symbols.
8539 (hildon_pannable_area_size_allocate):
8540 (hildon_pannable_area_class_init):
8541 (hildon_pannable_area_init): Added horizontal scroll, fading
8542 effect properties, fixed a problem when overshooting in the bottom
8545 * examples/hildon-pannable-area-example.c:
8546 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8547 looks better in the example.
8549 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8551 * src/hildon-window.c
8552 * src/hildon-window.h
8553 (hildon_window_class_init)
8554 (hildon_window_unset_program)
8555 (hildon_window_unset_program_real):
8556 Make unset_program a virtual function
8558 * src/hildon-stackable-window.c
8559 * src/hildon-stackable-window.h
8560 Added hildon_stackable_window_go_home()
8562 * examples/Makefile.am
8563 * examples/hildon-stackable-window-example.c
8564 HildonStackableWindow example
8566 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8568 * hildon-pannable-area.c: Added the overshoot property and removed
8569 the OVERSHOOT define. Fixed an indent style error.
8570 (hildon_pannable_area_motion_notify_cb):
8571 (hildon_pannable_area_get_property):
8572 (hildon_pannable_area_set_property): Add overshoot property.
8574 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8577 (hildon_pannable_area_class_init): Installed the new property.
8579 * hildon-pannable-area-example.c: Added a sawtooth function, this
8580 way it is easier to check the movement in the pannable.
8581 (get_sawtooth_label): Added this function.
8582 (main): Now we get the labels from the new get_sawtooth_label
8585 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8587 * src/hildon-app-menu.h
8588 * src/hildon-app-menu.c
8589 Renamed API variables for consistency
8591 (hildon_app_menu_popup): Use also the default window size to
8592 decide where to place the menu
8594 (hildon_app_menu_init, hildon_app_menu_class_init): New
8595 external-border style property
8597 2008-05-26 Michael Natterer <mitch@imendio.com>
8599 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8600 widget_class->tap_and_hold_setup signal slot doesn't exist any
8601 longer, stop overriding it.
8603 (hildon_time_editor_init): g_signal_connect() to the
8604 tap-and-hold-setup signal instead.
8606 (hildon_time_editor_entry_keypress): add cast to fix warning.
8608 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8610 * doc/hildon-docs.sgml
8612 * examples/Makefile.am
8613 * examples/hildon-app-menu-example.c
8615 * src/hildon-app-menu-private.h
8616 * src/hildon-app-menu.c
8617 * src/hildon-app-menu.h
8619 New HildonAppMenu widget
8621 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8623 Rearranged the inheritance of the pannable area, now it inherits
8624 from GtkBin. This will allow us to control the event_window and
8625 the allocation process of the widget, required for some effects.
8627 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8628 GtkBin structures. * src/hildon-pannable-area.c: Added the
8629 event_window variable.
8630 (hildon_pannable_area_button_press_cb):
8631 (hildon_pannable_area_button_release_cb):
8632 (hildon_pannable_area_motion_notify_cb):
8633 Changed the signature of the method, now we override the event
8634 callback instead of connecting to the signal.
8636 (hildon_pannable_area_realize):
8637 (hildon_pannable_area_unrealize):
8638 (hildon_pannable_area_map):
8639 (hildon_pannable_area_unmap):
8640 (hildon_pannable_area_size_allocate):
8641 Added functions to control the widget construction. We add a
8642 INPUT_ONLY window and we put it over the widgets inside the
8643 container, this event_window handles the events.
8645 (hildon_pannable_area_class_init):
8646 Replaced the signal connections with overrides of the event
8649 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8651 Bouncing effect added when touching the borders, you can change
8652 the elasticity of the border changing the ELASTICITY define.
8654 * src/hildon-pannable-area.c: Added ELASTICITY define.
8655 (hildon_pannable_area_timeout): Added inverse velocity when
8656 touching the border of the child widget, that causes a bounce.
8658 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8660 Improved performance, we now do not go to the X server in order to
8661 get the list of window children. Apparently the effect is the
8662 same, we have to be careful and check if this breaks something in
8665 * src/hildon-pannable-area.c:
8666 (get_ordered_children): Removed this function.
8667 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8668 the children windows function with gdk_window_get_children.
8670 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8672 * src/hildon-pannable-area.c:
8673 (hildon_pannable_area_dispose): Fixed a crash when closing the
8674 window and kinetics is activated.
8676 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8678 * src/hildon-pannable-area.h
8679 * src/hildon-pannable-area.c
8680 Changed indentation style to meet the one used in Hildon
8682 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8684 Reviewed the interaction of the AUTO mode, now we use the time
8685 attribute of the events and calculate the velocity in the motion,
8686 doing a gimp like calculation. The velocity is calculated in each
8687 motion event using the last velocity and the current one, the
8688 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8690 * src/hildon-pannable-area.c: Replaced the time based algorithm
8692 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8693 timeout for the AUTO mode when we are still moving the cursor. We
8694 added also the velocity calculation in this function.
8695 (hildon_pannable_area_button_release_cb): launch the timeout in
8696 case we are in AUTO mode. There are still some constants here that
8697 come from the old implementation that should be reviewed and
8700 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8702 * doc/hildon-docs.sgml
8705 * src/hildon-stackable-window.c
8706 * src/hildon-stackable-window.h
8708 New HildonStackableWindow widget
8710 * examples/hildon-dialog-example.c
8711 * examples/hildon-pannable-area-example.c
8714 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8716 * src/hildon-dialog.c
8717 (hildon_dialog_new_with_buttons): New constructor.
8719 * examples/hildon-dialog-example.c
8720 (main): Update the example to use the new
8721 hildon_dialog_new_with_buttons().
8723 * examples/hildon-pannable-area-example.c
8724 (main): Update example.
8726 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8728 * doc/hildon-docs.sgml
8730 Added HildonPannableArea to the documentation.
8732 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8734 * doc/visual_index.xml
8735 Fix reference to HildonLoginDialog in documentation
8737 * doc/hildon-docs.sgml
8739 * examples/Makefile.am
8740 * examples/hildon-dialog-example.c
8742 * src/hildon-dialog.c
8743 * src/hildon-dialog.h
8745 New HildonDialog widget.
8747 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8749 * src/hildon-pannable-area.c
8750 Merge latest changes (r4318, r4342) from libmokoui trunk
8752 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8754 * examples/Makefile.am
8755 * examples/hildon-pannable-area-example.c
8757 * src/hildon-pannable-area.c
8758 * src/hildon-pannable-area.h
8760 New HildonPannableArea widget.
8762 2008-04-15 18:05:19 <timj@imendio.com>
8764 * src/hildon-banner.c: revert the recent change, that introduced
8765 gtk_window_present() calls. this reopens:
8766 Bug 78481 - [freetest] information banners are hidden under browser menu
8767 But resolves another variant of:
8768 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8770 2008-04-15 13:21:13 <timj@imendio.com>
8772 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8773 recreated its layout, spotted by Kris. this fixes all remaining
8774 artefacts and stability issues with the banner code. in particular:
8775 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8777 2008-04-14 16:52:59 <timj@imendio.com>
8779 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8780 operating on unrealized widgets, fixes:
8781 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8783 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8785 2008-04-09 Kristian Rietveld <kris@imendio.com>
8787 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8788 makes banner disappear.
8789 Fixes: NB#79182: info banner flickering with certain message lengts.
8791 * src/hildon-banner.c (hildon_banner_constructor),
8792 (hildon_banner_init), (hildon_banner_set_text),
8793 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8794 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8795 FALSE, reset size requests of label and banner,
8796 (force_to_wrap_truncated): when the text is too wide, always enforce
8797 the maximum possible width instead of recalculating it from the
8798 layout; enforce the maximum banner height of 3 lines,
8799 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8800 nicer wrapping and no truncated chars if space gets tight.
8802 * src/hildon-banner-private.h: add has_been_wrapped and
8803 has_been_truncated fields.
8805 2008-04-07 Sven Herzberg <sven@imendio.com>
8807 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8808 local values in hildon_date_editor_size_allocate
8810 * src/hildon-date-editor.c: moved the real allocation code into the
8813 2008-04-07 Sven Herzberg <sven@imendio.com>
8815 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8816 local values in hildon_date_editor_size_allocate
8818 * src/hildon-date-editor.c: merged the two if() branches together
8820 2008-04-07 Sven Herzberg <sven@imendio.com>
8822 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8823 local values in hildon_date_editor_size_allocate
8825 * src/hildon-date-editor.c: changed the arguments of the if()
8828 2008-04-07 Sven Herzberg <sven@imendio.com>
8830 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8831 local values in hildon_date_editor_size_allocate
8833 * src/hildon-date-editor.c: split the calculation of the allocation
8834 from the real allocation
8836 2008-03-27 Michael Natterer <mitch@imendio.com>
8838 Fixes: NB#81696: The passcode is not overwritten even after
8841 * src/hildon-code-dialog.c
8842 (hildon_code_dialog_button_clicked)
8843 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8844 because that doesn't overwrite selected text. Instead, emit the
8845 "commit" signal on the entry's im_context so the entry's normal
8846 insert logic is triggered. Set the cursor to the end of the entry
8847 after each insert operation so that we *only* insert in the middle
8848 of the text if something was selected.
8850 2008-03-27 Michael Natterer <mitch@imendio.com>
8852 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8853 selector cannot be opened
8855 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8856 when the popup color selector is created. Please connect to this
8857 signal in order to set the dialog's help ID.
8859 2008-03-25 Sven Herzberg <sven@imendio.com>
8861 Fixes: MB#1212: Hide info banners (infoprints) on click
8863 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8864 extracted the close event simulation into an extra function
8865 (hildon_banner_button_press_event): simulate a close event and destroy
8866 the widget if the event wasn't handled
8867 (hildon_banner_class_init): added the button_press_event handler
8868 (hildon_banner_init): added button-press events to the widget
8870 2008-03-25 Sven Herzberg <sven@imendio.com>
8872 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8873 Patch from: Mohammad Anwari <mdamt@maemo.org>
8875 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8876 instead of the right in RTL mode
8877 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8878 breadcrumb button list in RTL mode
8879 * src/hildon-caption.c: mirror the appearance of the caption widget in
8881 * src/hildon-date-editor.c: mirror appearance of the date editor in
8883 * src/hildon-time-editor.c: mirror appearance of the time editor in
8885 * src/hildon-window.c: fix the position of the popup in RTL mode
8887 2008-03-25 Sven Herzberg <sven@imendio.com>
8889 Amendment to the fix of NB#22072. Fix compilation.
8891 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8893 2008-03-19 Sven Herzberg <sven@imendio.com>
8895 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8898 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8899 timeout id properly when the timeout will disappear this leaves no
8900 artifacts around in the destroy(); there will only be the timeout
8901 created by hildon_banner_ensure_timeout() and adding a new timeout
8902 will also work if the timeout gets removed because the timeout_handler
8905 2008-03-19 Michael Natterer <mitch@imendio.com>
8907 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8909 * src/hildon-volumebar.c
8910 * src/hildon-vvolumebar.c
8911 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8912 the widget becomes focussable at all.
8914 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8915 set the focus to wither the mute button or the volumebar.
8917 Remove own "can-focus" property and instead listen to
8918 notify::can-focus in order to update the widget's state.
8920 Implement GtkWidget::focus() and make sure we can also *leave* the
8921 widget, not only enter it, depending on volumebar orientation and
8922 requested focus direction.
8924 Clean up set_mute() to cooperate nicely with all the above.
8926 2008-03-04 Michael Natterer <mitch@imendio.com>
8928 Fixes: NB#78481: information banners are hidden under browser menu
8930 * src/hildon-banner.c: call gtk_window_present() on the banners so
8931 they are risen if they are already visible.
8933 2008-03-03 Sven Herzberg <sven@imendio.com>
8935 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8937 * examples/hildon-window-menu-example.c: (main): extended the window
8938 menu example to serve as a testcase for automatically added
8939 accelerator groups, too
8940 * src/hildon-window.c: (hildon_window_add_accel_group),
8941 (hildon_window_set_menu): added patch by Tommi Komulainen
8943 2008-03-03 Sven Herzberg <sven@imendio.com>
8945 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8947 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8948 knowledge about the border allocators used within GTK+
8950 2008-02-26 Sven Herzberg <sven@imendio.com>
8952 Fixes: MB#2981: Build with asserts broken
8954 * src/hildon-date-editor.c,
8955 * src/hildon-number-editor.c,
8956 * src/hildon-time-editor.c,
8957 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8958 the proper GType instance check
8960 2008-02-25 Sven Herzberg <sven@imendio.com>
8962 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8964 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8965 * examples/hildon-window-menu-example.c: (main): explicitly show
8967 * src/hildon-window.c:
8968 (hildon_window_set_main_menu): moved most of the code from set_menu()
8969 to this place; skipped the call to gtk_widget_show_all(); also didn't
8970 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8971 (hildon_window_set_menu): removed most of the code, just keep the
8972 questionable gtk_widget_show_all()
8973 * src/hildon-window.h: added the new function and deprecate the old
8976 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8982 * debian/changelog: Updating.
8984 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8987 * pkgconfig/Makefile.am:
8988 * pkgconfig/hildon.pc.in:
8991 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8992 use newly created API_MAJOR_VERSION.
8994 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9000 * debian/changelog: Updating.
9002 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9004 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
9006 Add outer_border style property, we use it but don't define it (!).
9010 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
9012 * examples/hildon-bread-crumb-trail-example.c (main):
9016 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
9018 Fix logic for the bread crumb trail node removal.
9022 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * debian/changelog: Updating.
9030 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 Patch by Alejandro to get/set passwords dialogs accesibility.
9034 * hildon-1/src/hildon-get-password-dialog.c:
9035 * hildon-1/src/hildon-set-password-dialog.c:
9036 Set atk_set_name to the passwd entries in order to allow
9037 accessibility by name on this entries.
9039 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9044 * debian/control: Updating gtk dep.
9046 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9048 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9049 USE_MAEMO_GTK is enabled.
9051 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9053 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9054 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9056 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9062 * debian/changelog: Updating.
9064 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * examples/Makefile.am:
9067 * examples/hildon-logical-color-example.c:
9068 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9069 applied + adding a test case. Fixes: NB#71660.
9071 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9073 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9074 to be visible, fixes warning on map for windows without toolbars.
9076 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9078 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9079 2.11.0, add a check for that besides the MAEMO_GTK check.
9081 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9087 * debian/changelog: Updating.
9089 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9091 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9092 visibility. Fixes: NB#70842 and MB#615.
9094 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9096 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9097 set the separator as no-show-all so it doesn't unintentionally appear when
9098 someone does a show_all.
9100 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9102 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9103 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9104 toplevel item. Fixes: NB#62031
9106 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9108 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9109 fix the name of the function in the docs.
9111 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9117 * debian/changelog: Updating.
9119 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9121 * examples/hildon-banner-long-example.c: Adding a test-case for long
9124 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9126 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * src/hildon-color-chooser-dialog.c:
9129 * src/hildon-color-chooser.c:
9130 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9131 memory leaks in font selector and color selector. Fixes: NB#70499 and
9134 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9136 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9138 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9141 little bit bigger. Fixes: #NB63694.
9143 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * debian/changelog: Updating.
9151 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9154 * doc/hildon-docs.sgml:
9155 * doc/images/bread-crumb-trail.png:
9156 * doc/images/calendar-popup.png:
9157 * doc/images/caption.png:
9158 * doc/images/code-dialog.png:
9159 * doc/images/color-button.png:
9160 * doc/images/color-chooser-dialog.png:
9161 * doc/images/color-chooser.png:
9162 * doc/images/controlbar.png:
9163 * doc/images/date-editor.png:
9164 * doc/images/font-selection-dialog.png:
9165 * doc/images/get-password-dialog.png:
9166 * doc/images/hvolumebar.png:
9167 * doc/images/login-dialog.png:
9168 * doc/images/note.png:
9169 * doc/images/number-editor.png:
9170 * doc/images/range-editor.png:
9171 * doc/images/seekbar.png:
9172 * doc/images/set-password-dialog.png:
9173 * doc/images/sort-dialog.png:
9174 * doc/images/time-editor.png:
9175 * doc/images/time-picker.png:
9176 * doc/images/vvolumebar.png:
9177 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9178 Adding the bread-crumb-trial and helpers to the documentation.
9180 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * examples/hildon-find-toolbar-example.c:
9183 * src/hildon-find-toolbar.c:
9184 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9185 actually continue firing the other handlers if connected. Adding a new
9187 hildon_find_toolbar_get_last_index that gets the index of the most
9188 recently added (last) item. Fixes: NB#52301.
9190 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9192 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9193 behaviour. Fixes: NB#68610.
9195 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9197 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9200 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9202 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9203 when realizing the banner. Should make the infonbanner effect a bit more
9206 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9208 * src/hildon-volumebar.c:
9209 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9210 hildon_volumebar_set_range_insensitive_message and
9211 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9213 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * src/hildon-window.c: Fixing the border freeing on destroy.
9217 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * src/hildon-code-dialog-private.h:
9220 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9221 kw keyboard support in HildonCodeDialog.
9223 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9229 * debian/changelog: Updating.
9231 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9233 * src/hildon-date-editor.c:
9234 * src/hildon-number-editor.c:
9235 * src/hildon-private.c:
9236 * src/hildon-private.h:
9237 * src/hildon-time-editor.c:
9238 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9239 handling in subclassed composite widgets. Fixes: NB#66628.
9241 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9243 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9244 from destroy_ callback as it introduces problems in async dbus signal
9245 handlers. Fixes NB#66673.
9247 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9249 * examples/hildon-hvolumebar-example.c:
9250 * src/hildon-volumebar.c: Improving the focus handling in the
9251 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9252 set_property accessor so that "mute" property can be actually set. I'm
9253 scared that nobody noticed it's totally broken.
9255 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9260 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * src/hildon-calendar.c:
9263 * src/hildon-number-editor.c:
9264 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9265 matches the spec of 6 chars per second. Fixes: NB#60489.
9267 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9269 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9270 gtk_style_lookup_color sometime returns FALSE even though color was
9271 found and values were filled properly. Weird. Removing the warning for the
9274 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9276 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9277 expand vertically. Adding some extra space to the find toolbar buttons to
9278 make them thumbable. Fixes NB#66060.
9280 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9283 popup with "Ok" and "Cancel". Fixes NB#59299.
9285 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9287 * src/hildon-calendar.c: Process all window updates before executing next
9288 timeout. Fixes: NB#54146.
9290 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9296 * debian/changelog: Updating.
9298 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9300 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9301 the client event and ignore it, since we use the delete event to close
9304 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9306 * src/hildon-helper.c: Remove the bogus warning about color not being
9307 found. Fixes NB#58352.
9309 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9311 * examples/Makefile.am:
9312 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9313 HildonSeekbar widget inside a toolbar.
9315 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9317 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9318 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9319 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9320 don't want to be closed by non-temporary windows on map.
9322 Also use G_DEFINE_TYPE instead of manually typed code.
9324 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9331 * debian/rules: Updating.
9333 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9335 * examples/Makefile.am:
9336 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9337 bug NB#61128. Strangely it works.
9339 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * src/hildon-date-editor.c: When the date editor entry has been changed
9342 but the numbers of characters < max, turn off the skip validation flag.
9343 Prevents a situation when we enter first a valid year and later re-write
9344 it with an invalid one. Fixes NB#60154.
9346 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9348 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9349 code dialog. Fixes NB#64355.
9351 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9353 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9354 switching the page. Fixes NB#49374.
9356 * examples/Makefile.am:
9357 * examples/hildon-wizard-dialog-example.c: Adding an example for
9358 HildonWizardDialog that shows how to handle manual sensitivity setting on
9361 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9365 * src/hildon-version.h.in:
9366 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9368 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9370 * src/hildon-volumebar.c: Updating the docs.
9372 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9378 * debian/changelog: Updating.
9380 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9382 * src/hildon-find-toolbar.c:
9383 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9384 selected item: hildon_find_toolbar_set_active,
9385 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9386 hildon_find_toolbar_get_active_iter . They correspond to respective
9387 GtkComboBox functions.
9389 * examples/Makefile.am:
9390 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9393 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9395 * examples/Makefile.am:
9396 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9399 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9400 when font size > 32 and we pack a focusable widget inside. Actually using
9401 the default response would work too, but since we don't show default
9402 response state in any way (no theming) it would not be visible to the
9403 user. Fixes NB#63430.
9405 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9407 * src/hildon-date-editor.c: Adding the missing variable setter in the
9408 set_property handler. Fixes NB#54182.
9410 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9412 * src/hildon-window.h: Changing the long key press time from 1500ms to
9413 800ms as requested in NB#63700. I have a bad feeling about this, let's
9414 see... Fixes NB#63700.
9416 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9418 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9419 hildon_time_picker_map, hildon_time_picker_realize,
9420 hildon_time_picker_style_set): Split the contents of map to more
9421 appropriate functions; set window decorations on realize and update
9422 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9424 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9429 * debian/changelog: Updating.
9431 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9433 * src/Makefile.am: fixed installation of the header files
9435 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9441 * debian/changelog: Updating.
9443 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9445 * configure.ac: Removing some remaining of --enable-xan.
9447 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9449 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9450 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9452 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9453 2.10.12-osso6 because the move-focus signal needs to be available in
9456 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9458 * examples/Makefile.am:
9459 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9460 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9461 fine. Prolly NB#61128 is fixed now.
9463 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9465 * src/hildon-volumebar.c:
9466 * src/hildon-volumebar.h: Adding the
9467 hildon_volumebar_set_range_insensitive_message and
9468 hildon_volumebar_set_range_insensitive_messagef functions to set
9469 insensitive message on the slider of the volumebar. Fixes NB#61129.
9471 * examples/Makefile.am:
9472 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9473 test the new insensitive messsage functionality on HildonVolumebar.
9475 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9477 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9480 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9482 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9483 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9484 button on after clearing the trail.
9486 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9488 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9490 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9492 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9493 by splitting the installed headers in generated and non-generated groups. Use
9494 only the non-generated headers to create the hildon-enum-types.h file.
9496 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9498 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9500 * src/hildon-window.c: Hide the window before performing the destroy.
9501 Should make the app closing a little tiny bit more snappy.
9503 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9505 * src/hildon-seekbar.c: add gtkrange.h header
9506 * src/hildon-caption.c: remove unused variable
9508 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9510 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9513 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9519 * debian/changelog: Updating.
9521 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9523 * src/hildon-window.c (hildon_window_window_state_event,
9524 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9525 escape timeout on focus-out-event rather than notify::is-topmost; the
9526 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9528 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9530 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9531 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9533 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9535 * src/hildon-window: actually, you need to use the macro always, there's
9536 no private pointer in the instance structure. We should have cleaned this up
9537 when we had the chance...
9539 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9541 * src/hildon-window.c: do not get the private date from HildonWindow before
9542 it passes the g_return_if_fail check. Once it's passed the test, there's no
9543 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9544 if you are only going to access the data once. Whitespace cleanups.
9546 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9548 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9549 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9551 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9557 * debian/changelog: Updating.
9559 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9561 * src/hildon-window.c: When destroying the window, remove (if exists) the
9562 escape timeout handler. Fixes #NB59276.
9564 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9566 * src/hildon-banner.c: When realizing the widget, set the window
9567 transiency. Setting the transiency in the gobject constructor is not
9568 good, as the widget is not realized at that point. Fixes: #NB56624.
9570 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9572 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9573 Add padding for future expansions.
9575 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9577 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9578 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9579 will fake an activation on the previous to the last item of the trail, so
9580 the effect can be overrided by the developer as usual.
9581 Also change the callback for the back button to do the same thing, so its
9582 effect can be overrided too. Fixes: NB#58982
9584 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9586 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9587 HildonCaption. Fixes NB#52379.
9589 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9591 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9592 the internal state of the trail after the user has had the chance of executing
9593 his handler for the signal. Specifically, it may happen that the activated button
9594 is removed and the user still lets the default handler run. This would segfault
9597 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9599 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9600 scrollbar to the preview dialog. Fixes NB#54147.
9602 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9604 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9605 max/min year properties can be altered, so the client can modify it
9606 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9608 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9610 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9611 hildonlike by default. Fixing a problem with disappearing arrows when
9612 scrolling through months and years. Fixes NB#54127.
9614 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9616 * examples/hildon-date-editor-example.c: Adding error callback to the date
9619 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9625 * configure.ac: Updating.
9627 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9629 * configure.ac: Adding a special '--enable-xan' configure option that
9630 turns off the -Werror compilation setting. Usefull for development.
9632 * src/hildon-calendar.c:
9633 * src/hildon-number-editor.c:
9634 * src/hildon-time-picker.c: Adding the 5* multiplier to
9637 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9639 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9640 instead of g_object_ref + gtk_object_sink.
9642 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9648 * debian/changelog: Updating.
9650 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9652 * src/hildon-color-chooser-dialog.c:
9653 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9654 straight from Tommi labs.
9656 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9658 * examples/hildon-finger-example.c: Correcting the header file path.
9660 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9661 the changed signal. Fixes a small memory leak.
9663 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9667 * src/hildon-banner.c: Importing several usefull fixes from the
9668 ubuntu-mobile branch.
9670 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9672 * examples/Makefile.am:
9673 * examples/hildon-finger-example.c: Adding a finger-checking code
9676 * src/hildon-font-selection-dialog.c: Do not allocate the color
9677 structure using the g_new. Fixes NB#54061.
9679 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9681 * src/hildon-helper.c: Correcting tabs in file.
9683 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9685 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9686 control the visibility of the children.
9688 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9690 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9696 * debian/changelog: Updating.
9698 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9700 * src/hildon-bread-crumb-trail.c:
9701 (hildon_bread_crumb_trail_size_allocate):
9703 Make the back button always a square.
9705 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9707 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9708 from the .c file as it's a private file.
9710 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9712 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9713 uses slightly bigger height.
9715 * src/hildon-font-selection-dialog.c: Adding some checks before
9716 freeing memory in the font selection dialog.
9718 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9720 * src/hildon-font-selection-dialog.c: Adding a small check when
9723 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9724 buttons sensitivity on page switching.
9726 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9728 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9729 internal details of adding a bread crumb to the trail.
9731 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9737 * debian/changelog: Updating.
9739 * src/hildon-bread-crumb-trail.h:
9740 * src/hildon-bread-crumb.h: Changing the API guard to
9741 HILDON_ENABLE_UNSTABLE_API.
9743 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9751 * src/hildon-helper.h: Updating.
9753 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9761 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9765 * src/hildon-helper.h: Small fix to make the package actually compile.
9767 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9769 * src/hildon-bread-crumb-trail.h:
9770 * src/hildon-bread-crumb.h:
9772 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9773 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9775 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9777 * examples/hildon-bread-crumb-trail-example.c:
9779 * src/hildon-bread-crumb-trail.c:
9780 * src/hildon-bread-crumb-trail.h:
9781 * src/hildon-bread-crumb.c:
9782 * src/hildon-bread-crumb.h:
9783 * src/hildon-marshalers.list:
9784 * src/hildon-bread-crumb-widget.c:
9785 * src/hildon-bread-crumb-widget.h:
9787 Slight change in the widget design. The bread crumb trail API is
9788 unchanged, but HildonBreadCrumb is now an interface. A *private*
9789 implementation, hildon-bread-crumb-widget, is provided and used
9790 internally by the trail for the push_text/push_icon functions.
9792 The generic push API is still available, so anyone can implement
9793 and use its own bread crumb widget.
9795 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9797 * debian/rules: Fixing the shlibs.
9799 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9801 * src/hildon-banner.c: Fixing a problem with timed banners having
9802 their parrent destroyed before they are.
9804 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9806 * src/hildon-bread-crumb.c:
9807 * src/hildon-bread-crumb.h:
9809 Make the get_natural_size function a vfunc.
9811 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9813 * src/hildon-bread-crumb.c:
9814 * src/hildon-bread-crumb-trail.c:
9818 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9825 * debian/changelog: Updating for release.
9827 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9829 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9830 don't leak the pango layout.
9832 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9835 * examples/hildon-bread-crumb-trail-example.c:
9839 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9841 * debian/changelog: Removing the bug-fixed entries that were actually
9842 resolved as WONTFIX.
9844 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9847 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9849 * src/hildon-bread-crumb-trail.c:
9850 * src/hildon-bread-crumb-trail.h:
9851 * src/hildon-bread-crumb.c:
9852 * src/hildon-bread-crumb.h:
9856 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9858 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9859 until it's passed the type check.
9861 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9863 * examples/hildon-bread-crumb-trail-example.c
9867 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9869 * examples/Makefile.am
9870 * examples/hildon-bread-crumb-trail-example.c
9872 * src/hildon-bread-crumb-trail.c
9873 * src/hildon-bread-crumb-trail.h
9874 * src/hildon-bread-crumb.c
9875 * src/hildon-bread-crumb.h
9877 New HildonBreadCrumbTrail widget.
9879 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9881 * src/hildon-range-editor.c (hildon_range_editor_init),
9882 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9883 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9884 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9885 hildon_time_editor_class_init, hildon_time_editor_init),
9886 src/hildon-get-password-dialog.c (invalid_input,
9887 hildon_get_password_set_property, hildon_get_password_get_property,
9888 create_contents, hildon_get_password_dialog_set_max_characters),
9889 src/hildon-set-password-dialog.c (create_contents),
9890 src/hildon-date-editor.c (hildon_date_editor_init),
9891 src/hildon-login-dialog.c (hildon_login_dialog_init),
9892 src/hildon-number-editor.c (hildon_number_editor_init),
9893 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9894 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9895 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9896 configure option and adding the respective checks in the code.
9897 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9898 hildon_calendar_drag_data_received): fixed some build warnings.
9900 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9902 * debian/changelog: A 1.0.0 release notes.