1 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
3 Add HildonAppMenu::changed signal
5 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
6 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
7 Emit a new HildonAppMenu:changed signal when there are changes in
10 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
12 Add hildon_app_menu_has_visible_children() private method
14 * hildon/hildon-app-menu-private.h: Add below private method.
15 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
16 New method to check the visibility of a HildonAppMenu children.
18 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
20 Set the window menu flag for application-common menus
22 * hildon/hildon-program.c:
23 (+hildon_program_window_set_common_menu_flag): Set or remove the
24 menu flag from a window only this doesn't have its own menu.
25 (+hildon_program_set_common_menu_flag): adjust menu flag for
26 all windows in the program.
27 (hildon_program_add_window),
28 (hildon_program_remove_window): add/remove the menu flag when
29 a window is added to the program.
31 Fixes: NB#137814 (Indicator for view menu in app title area)
33 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
35 Set a special window property for windows with menus
37 * hildon/hildon-window-private.h: Add private
38 hildon_window_set_menu_flag()
39 * hildon/hildon-window.c: (+do_set_has_menu),
40 (+hildon_window_set_menu_flag): set
41 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
42 or remove the property.
43 (hildon_window_set_main_menu),
44 (hildon_window_set_app_menu): call above methods to set or remove
45 the property when a menu is added or removed from the window.
47 Partially fixes: NB#137814 (Indicator for view menu in app title area)
49 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
51 Rename and move the methods to set flags to hildon-private.h
53 * hildon/hildon-gtk.c: (do_set_progress_indicator),
54 (do_set_do_not_disturb), (do_set_portrait_flags): call
55 the new private method hildon_gtk_window_set_clear_window_flag()
56 (hildon_gtk_window_set_progress_indicator),
57 (hildon_gtk_window_set_do_not_disturb),
58 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
59 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
60 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
62 * hildon/hildon-private.h: Add the two new private methds.
64 2009-09-11 Alejandro G. Castro <alex@igalia.com>
66 * hildon/hildon-pannable-area.c,
67 (hildon_pannable_area_init),
68 (hildon_pannable_area_size_allocate),
69 (hildon_pannable_area_button_release_cb): More tuning of the
70 speed, adding a way to calculate the acceleration and fast-panning
71 based on the child size.
73 2009-09-10 Alberto Garcia <agarcia@igalia.com>
75 * hildon/hildon-touch-selector.c
76 (hildon_touch_selector_class_init):
81 2009-09-10 Alberto Garcia <agarcia@igalia.com>
83 * hildon/hildon-touch-selector.c:
86 Fixes: MB#5104 (HildonTouchSelector docs should say no
87 HildonPannableArea is necessary)
89 2009-09-08 Alejandro G. Castro <alex@igalia.com>
91 * hildon/hildon-pannable-area.c,
92 (hildon_pannable_area_timeout): Fixed problem with the timeout
93 function, we need to move before decelerating the first time or we
94 are loosing the first jump.
96 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
98 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
100 [2.2.0 Release Candidate 3]
102 * debian/changelog: updates
104 2009-09-07 Alejandro G. Castro <alex@igalia.com>
106 * hildon/hildon-pannable-area.c,
107 (hildon_pannable_area_class_init): Increased max speed.
109 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
111 [2.2.0 Release Candidate 2]
114 * debian/changelog: bump version, updates
116 2009-09-07 Alejandro G. Castro <alex@igalia.com>
118 * hildon/hildon-pannable-area.c,
119 (hildon_pannable_area_class_init),
120 (hildon_pannable_area_button_release_cb): More tuning for the
123 2009-09-07 Alejandro G. Castro <alex@igalia.com>
125 * hildon/hildon-pannable-area.c,
126 (hildon_pannable_area_class_init):
127 Change the default value of the scrollbar_fade_delay.
129 Fixes: NB#127018 (Panning indicator fades out too slowly)
131 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
133 [2.2.0 Release Candidate 1]
136 * configure.ac: Bump version
137 * debian/changelog: updates
139 2009-09-04 Alejandro G. Castro <alex@igalia.com>
141 * hildon/hildon-pannable-area.c,
142 (hildon_pannable_area_init),
143 (hildon_pannable_area_button_press_cb),
144 (hildon_pannable_area_button_release_cb): Added a new acceleration
145 system to help traversing big lists, tuned the stop threshold.
147 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
149 2009-09-04 Alberto Garcia <agarcia@igalia.com>
151 * hildon/hildon-window.h:
152 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
154 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
156 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
160 * configure.ac: bump version
162 * debian/changelog: updates
164 2009-09-04 Alberto Garcia <agarcia@igalia.com>
166 * hildon/hildon-entry.c
167 * hildon/hildon-text-view.c:
168 Documentation updates
170 2009-09-04 Alberto Garcia <agarcia@igalia.com>
172 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
173 Redraw menu when the number of items change.
175 Fixes: NB#131911 (Appmenu does not resize properly, when number of
178 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
180 * hildon/hildon-pannable-area.c:
181 (hildon_pannable_area_launch_fade_timeout),
182 (hildon_pannable_area_motion_event_scroll),
183 (hildon_pannable_area_check_move),
184 (hildon_pannable_area_button_release_cb),
185 (hildon_pannable_area_scroll_to):
187 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
188 area drawing operations, since this is the recommended for drawing
191 Fixes: NB#110894 (In event view containing very large description
192 field, application menu is displayed blank while panning)
193 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
196 2009-09-03 Alberto Garcia <agarcia@igalia.com>
198 * doc/hildon-sections.txt
199 * hildon/hildon-button.c
200 * hildon/hildon-edit-toolbar.c
201 * hildon/hildon-gtk.[ch]
202 * hildon/hildon-main.c
203 * hildon/hildon-program.c
204 * hildon/hildon-stackable-window.c:
205 Documentation updates
207 2009-08-28 Alberto Garcia <agarcia@igalia.com>
209 * hildon/hildon-app-menu.c
210 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
211 Close the menu if it receives a grab-notify signal.
213 Fixes: NB#134533 (UI freezes if we show a dialog with
214 gtk_dialog_run() while a menu is opened)
216 2009-08-27 Alejandro G. Castro <alex@igalia.com>
218 * hildon/hildon-pannable-area.c,
219 (hildon_pannable_area_class_init): Reverted tuning modifications:
220 "Pannign needs to be faster" and "Pannable kinetics in large lists
223 2009-08-26 Alberto Garcia <agarcia@igalia.com>
225 * hildon/hildon-sound.c (hildon_play_system_sound):
226 Set "module-stream-restore.id" to "x-maemo-system-sound" when
227 playing system sounds
229 Fixes: NB#133767 (Information and confirmation note sound should
230 follow system profile setting)
232 2009-08-26 Alejandro G. Castro <alex@igalia.com>
234 * hildon/hildon-pannable-area.c,
235 (hildon_pannable_area_class_init): Added more force and increased
236 the max speed threshold.
238 Fixes: NB#135344 (Pannign needs to be faster)
240 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
242 [Release 2.1.96, this time for real]
245 * debian/changelog: updates
247 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
249 * hildon/hildon-pannable-area.c
250 (hildon_pannable_area_get_topmost): change the computation of the
251 co-ordinates transformed when no one of the children is a topmost
253 Fixes: NB#133252 (Opening any feed item from RSS always opens the
254 first feed item in browser)
256 2009-08-26 Alejandro G. Castro <alex@igalia.com>
258 * hildon/hildon-pannable-area.c,
259 (hildon_pannable_area_remove_timeouts): Adding this new function
260 with the code that removes the timeouts of the widget.
261 (hildon_pannable_area_dispose),
262 (hildon_pannable_area_unrealize): Use the new remove function to
263 stop timeouts when unrealizing and disposing.
264 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
265 calculation to avoid negative values in some cases.
267 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
269 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
271 * examples/hildon-check-button-example.c: (button_toggled_cb):
272 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
273 (hildon_check_button_set_active), (hildon_check_button_new),
274 (hildon_check_button_clicked), (hildon_check_button_class_init):
275 * hildon/hildon-check-button.h:
276 * hildon/hildon-set-password-dialog.c: (create_contents),
277 (hildon_set_password_response_change), (hildon_checkbox_toggled):
279 Revert "Make HildonCheckButton derive from GtkToggleButton"
281 2009-08-21 Alberto Garcia <agarcia@igalia.com>
285 * configure.ac: bump version
287 * debian/changelog: updates
289 2009-08-21 Alberto Garcia <agarcia@igalia.com>
291 * hildon/hildon-check-button.h
292 * hildon/hildon-check-button.c
293 (hildon_check_button_clicked, hildon_check_button_class_init):
294 Make HildonCheckButton derive from GtkToggleButton
295 (hildon_check_button_toggled, hildon_check_button_set_active)
296 (hildon_check_button_get_active):
297 Deprecate unnecessary HildonCheckButton API and use the
298 one from GtkToggleButton instead.
300 * hildon/hildon-set-password-dialog.c (create_contents)
301 (hildon_set_password_response_change, hildon_checkbox_toggled)
302 * examples/hildon-check-button-example.c (button_toggled_cb):
303 Update to use the GtkToggleButton API
305 Fixes: MB#4739 (HildonCheckButton should inherit from
308 Fixes: NB#132661 (HildonCheckButton should inherit from
311 2009-08-20 Alberto Garcia <agarcia@igalia.com>
313 * hildon/hildon-pannable-area.c
314 (hildon_pannable_area_class_init):
315 Increase default value of HildonPannableArea:velocity_max to 2000
317 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
319 2009-08-18 Alberto Garcia <agarcia@igalia.com>
323 * configure.ac: bump version
325 * debian/changelog: updates
327 2009-08-11 Alejandro G. Castro <alex@igalia.com>
329 * hildon/hildon-pannable-area.c
330 (hildon_pannable_area_size_allocate): Checked the scrollbars
331 before the first try when defining the layout, avoids two
332 allocations in some situations.
334 Fixes: NB#131794 (pannable area produces unnecessary allocations
335 causing performance problems)
337 2009-08-11 Alejandro G. Castro <alex@igalia.com>
339 * hildon/hildon-pannable-area.c
340 (hildon_pannable_area_button_press_cb),
341 (hildon_pannable_area_motion_notify_cb),
342 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
343 the spurious ref added in the copy, fixes leak of window.
345 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
346 if it's realized without showing and then deleted)
348 2009-08-10 Alberto Garcia <agarcia@igalia.com>
352 * configure.ac: bump version
354 * debian/changelog: updates
356 2009-08-06 Alberto Garcia <agarcia@igalia.com>
358 * examples/hildon-hvolumebar-timer-example.c
360 * hildon/hildon-banner.c
361 (hildon_banner_timeout, hildon_banner_ensure_timeout)
362 * hildon/hildon-calendar.c
363 (calendar_timer, start_spinning)
364 * hildon/hildon-color-chooser.c
365 (inline_limited_expose)
366 * hildon/hildon-date-editor.c
367 (hildon_date_editor_entry_focus_in)
368 (hildon_date_editor_entry_validate)
369 (hildon_date_editor_entry_select_all)
370 * hildon/hildon-note.c
372 * hildon/hildon-number-editor.c
373 (hildon_number_editor_button_pressed)
374 (hildon_number_editor_start_timer, do_mouse_timeout),
375 (add_select_all_idle, hildon_number_editor_select_all)
376 * hildon/hildon-time-editor.c
377 (hildon_time_editor_entry_focus_in)
378 (highlight_callback, hildon_time_editor_validate)
379 (hildon_time_editor_entry_select_all)
380 * hildon/hildon-time-picker.c
381 (hildon_time_picker_arrow_press)
382 (hildon_time_picker_key_repeat_timeout)
383 * hildon/hildon-window.c
384 (hildon_window_key_press_event)
385 (hildon_window_escape_timeout):
386 Replace all calls to g_idle_add/g_timeout_add with their
387 gdk_threads counterparts.
389 Fixes: NB#126198 (gdk-threads API should be used to install idle
390 and timeout handlers)
392 2009-08-06 Alejandro G. Castro <alex@igalia.com>
394 * hildon/hildon-pannable-area.c,
395 (hildon_pannable_area_class_init): Increased the overshooting max
396 speed to get a faster effect.
397 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
398 deceleration of the overshooting
399 (hildon_pannable_area_button_release_cb): Calculate initial
400 overshooting speed when finger on the screen using the distance to
401 launch the effect faster.
403 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
404 lists with slow row renderers)
406 2009-08-05 Alberto Garcia <agarcia@igalia.com>
408 * doc/hildon-sections.txt: Add new functions
410 2009-08-05 Alberto Garcia <agarcia@igalia.com>
412 * hildon/hildon-text-view.[ch]
413 * hildon/hildon-entry.[ch]:
414 Add deprecation guards around deprecated functions.
416 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
418 * hildon/hildon-app-menu.c: Remove leftover function declaration.
420 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
422 Remove the grab from HildonAppMenu
424 * hildon/hildon-app-menu.c:
425 Now hildon-desktop places a blocker window behind the menu to handle
426 its closing, so the grab is no longer needed. This simplifies its
427 implementation and allows the system blanking to succeed.
429 Fixes: NB#130910 (Screen gets unlocked when menu is open)
431 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
435 * configure.ac: bump version
437 * debian/changelog: updates
438 * debian/control: raise debian dependency on GTK+
440 2009-08-04 Alberto Garcia <agarcia@igalia.com>
442 * hildon/hildon-text-view.c
443 * hildon/hildon-entry.c:
444 Remove all placeholder code from HildonEntry and HildonTextView
445 and use the API in GtkEntry and GtkTextView instead.
447 * examples/hildon-entry-example.c
448 * examples/hildon-text-view-example.c
449 * examples/hildon-wizard-dialog-example.c
450 * hildon/hildon-get-password-dialog.c
451 * hildon/hildon-login-dialog.c
452 * hildon/hildon-picker-dialog.c
453 * hildon/hildon-set-password-dialog.c
454 * hildon/hildon-touch-selector-entry.c:
455 Replace all deprecated calls to HildonEntry and HildonTextView
456 with their Gtk counterparts.
458 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
461 2009-08-03 Alejandro G. Castro <alex@igalia.com>
463 * hildon/hildon-pannable-area.c,
464 (hildon_pannable_area_check_move),
465 (hildon_pannable_area_button_release_cb),
466 (hildon_pannable_area_scroll_to): Reverted the priority change of
467 the timeout, in some situations, slow renderers, the click do not
468 make it to the mainloop on time.
470 Fixes NB#131013 (unable to stop panning file manager by tapping on
473 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
475 * configure.ac: bump version
477 * debian/changelog: updates
479 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
481 * hildon/hildon-touch-selector.[ch]
482 (hildon_touch_selector_center_on_index): New method that allows to center
483 on a item not selected
485 Fixes NB#130291 (New HildonTouchSelector API is required to center on
488 2009-07-29 Alberto Garcia <agarcia@igalia.com>
490 * hildon/hildon-text-view.c
491 (+set_logical_color, +hildon_text_view_style_set)
492 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
493 (hildon_text_view_init)
494 * hildon/hildon-entry.c
495 (+set_logical_color, +hildon_entry_style_set)
496 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
497 (hildon_entry_class_init, hildon_entry_init)
498 * hildon/hildon-button.c
499 (+set_logical_font, +set_logical_color)
500 (hildon_button_style_set, hildon_button_init)
501 (hildon_button_set_arrangement, hildon_button_set_style):
502 Remove all calls to hildon_helper_set_logical_font() and
503 hildon_helper_set_logical_color(), which are recursive, from
506 Fixes: NB#123409 (Showing dialog consumes significant amount of
509 2009-07-29 Alejandro G. Castro <alex@igalia.com>
511 * hildon/hildon-pannable-area.c,
512 (hildon_pannable_area_timeout): Added the process updates of the
513 scrollbars window in the pannable.
515 Fixes: NB#130043 (scrollindicator not smooth while panning)
517 2009-07-23 Alejandro G. Castro <alex@igalia.com>
519 * hildon/hildon-pannable-area.c,
520 (hildon_pannable_area_check_move),
521 (hildon_pannable_area_button_release_cb),
522 (hildon_pannable_area_scroll_to): Increased the priority of the
523 timeout this way it is going to be handled before the events.
525 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
529 * configure.ac: bump version
530 * debian/changelog: updates
532 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
534 * hildon/hildon-entry.c: (set_property): Do not allow to set
535 automatic height and use finger height instead, to prevent an to
536 have a smaller size than than its theme pixbuf.
538 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
540 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
542 * configure.ac: postrelease version bump.
543 * debian/changelog: post release version bump
545 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
550 * configure.ac: Bump version.
551 * debian/changelog: Updates.
553 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
555 * hildon/hildon-note.c: (label_size_request): Take the note
556 padding into account when setting the size request.
558 Fixes: NB#127896 (Information notes text truncated)
560 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
562 * configure.ac: postrelease version bump.
563 * debian/changelog: post release version bump
565 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
570 * configure.ac: Bump version.
571 * debian/changelog: Updates.
573 2009-07-16 Alejandro G. Castro <alex@igalia.com>
576 * hildon/hildon-text-view.c,
577 (hildon_text_view_button_press_event): Grabbed the focus in button
578 press, this way we are sure the widget has the focus in the
579 release event, required for HIM.
581 Fixes: NB#121445 (Virtual keyboard opening is not working in same
582 way for each text entry field)
584 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
586 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
587 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
588 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
589 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
590 (hildon_pannable_area_[gs]et_center_on_child_focus)
591 Redefined GtkContainer set-focus-child signal, in order to center
592 properly on a child when it receives the focus. Defined a new property
593 "center-on-child-focus" in order to activate this feature (deactivated
594 by default). Public get/set methods defined to manage the property.
596 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
598 2009-07-14 László Pere <lpere@blumsoft.eu>
600 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
601 the new size is applied.
603 Fixes: NB#124510 (The Application Menu is distorted when switched
604 between portrait and landscape mode)
605 Fixes: NB#115388 (Power key menu does not resize itself)
607 2009-07-01 Alberto Garcia <agarcia@igalia.com>
609 * hildon/hildon-banner.c (hildon_banner_map):
610 Set banner position after mapping.
612 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
614 * configure.ac: postrelease version bump.
615 * debian/changelog: post release version bump
617 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
622 * configure.ac: Bump version.
623 * debian/changelog: Updates.
625 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
627 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
630 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
632 * tests/check-hildon-banner.c
634 * tests/test_suites.h
635 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
636 were testing deprecated functions.
637 * examples/hildon-banner-example.c: typo on button3 type, that causes
638 a fail compiling with --with-examples but without --disable-deprecated
640 Missed commit in order to fix compilation using '--enable-fatal' and
641 '--disable-deprecated' (see previous commit)
643 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
645 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
646 functions with #ifndef HILDON_DISABLE_DEPRECATED
647 * examples/hildon-find-toolbar.c: Protect deprecated
648 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
649 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
650 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
651 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
653 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
654 to allow proper compilation of deprecated functions defined on the header
656 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
658 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
660 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
661 Cache the panning indicator color.,
662 (hildon_pannable_area_style_set): Query the color on style changes.
663 (hildon_pannable_draw_vscroll),
664 (hildon_pannable_draw_hscroll),
665 (hildon_pannable_area_expose_event): Use the cached panning indicator
666 color instead of looking it up on every expose and more.
668 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
670 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
671 (hildon_pannable_draw_hscroll),
672 (hildon_pannable_area_expose_event): Fix the panning indicator color,
673 so that it's "SecondaryTextColor", as desired.
675 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
677 * hildon/hildon-picker-dialog.c:
678 (selection_completed): take into account HILDON_UI_MODE_NORMAL
679 * hildon/hildon-touch-selector.c
680 (hildon_touch_selector_init): Initialize hildon-ui-mode
681 (hildon_touch_selector_row_activated): new callback for the
682 "row-activated" signal, in order to save the last activated
683 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
684 if the current hildon-ui-mode is coherent with the touch selector
685 (hildon_touch_selector_class_init)
686 (hildon_touch_selector_get_property)
687 (hildon_touch_selector_set_property)
688 Added "hildon-ui-mode" property
689 (disconnect_model_handlers): renamed to clean_column
690 (hildon_touch_selector_remove): use clean_column function
691 (_create_new_column): use the hildon-ui-mode to create the treeview, and
692 only select the first element on HILDON_UI_MODE_EDIT
693 (hildon_touch_selector_column_init): Initialize last_activate
694 (hildon_touch_selector_append_column): check that the touch selector
695 is coherent with the current hildon-ui-mode
696 (hildon_touch_selector_get_hildon_ui_mode)
697 (hildon_touch_selector_set_hildon_ui_mode)
698 Added a getter/setter for the hildon-ui-mode property
699 (hildon_touch_selector_get_last_activated_row): Added this method in
700 order to get the last activated row.
701 * examples/hildon-touch-selector-normal-mode-example.c
702 New example, that shows how to use the HildonTouchSelector in
703 HILDON_UI_MODE_NORMAL
705 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
706 Kristian Rietveld <kris@lanedo.com> advices
708 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
710 * hildon/hildon-time-selector.c: (update_format_policy): Do
711 not call update_format_dependant_columns() if not necessary.
712 (update_format_dependant_columns): Remove unnecessary check for
713 the number of columns.
715 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
717 * hildon/hildon-note.c (+hildon_note_constructor),
718 (hildon_note_class_init), (+hildon_note_set_padding),
719 (hildon_note_rebuild): Install a constructor where to set the
720 padding properties in the note, so that it actually works fine.
721 Use hildon_note_set_padding() for this, and also to set it during
724 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
726 * configure.ac: Bump GTK+ requirement to 2.14.3.
727 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
728 when using maemo-gtk to define proper margins for the notes.
730 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
731 with the dialog edge)
733 2009-06-24 Alberto Garcia <agarcia@igalia.com>
735 * hildon/hildon-banner.c
736 (hildon_banner_class_init):
738 (+hildon_banner_size_request):
739 Request always the full width of the screen.
740 (hildon_banner_realize)
741 (-hildon_banner_check_position, hildon_banner_map):
742 hildon_banner_check_position() is not needed in Hildon 2.2.
743 (-hildon_banner_reset_wrap_state)
744 (hildon_banner_constructor, hildon_banner_init):
745 Remove unnecessary calls to hildon_banner_reset_wrap_state()
746 (+banner_do_set_text)
747 (force_to_wrap_truncated):
748 Remove has_been_wrapped and has_been_truncated attributes.
749 (+reshow_banner, hildon_banner_real_show_information)
750 (hildon_banner_show_information_with_markup)
751 (hildon_banner_show_animation, hildon_banner_show_progress)
752 (hildon_banner_set_text, hildon_banner_set_markup):
753 Refactor code. Shrink banner vertically to use the minimum space
754 necessary everytime the text of the label is updated.
755 (screen_size_changed):
756 Call force_to_wrap_truncated() when the size of the screen
759 Fixes: NB#120500 (only device memory connect mmc in use info
760 banner is left aligned)
762 Fixes: NB#120613 (Size of HildonBanner varies depending on
763 previously opened banners)
765 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
767 * hildon/hildon-color-chooser.c
768 (hildon_color_chooser_pointer_motion): Take the widget allocation
771 Fixes: NB#124385 (Unable to select exact point in color mixing box
772 in color palette dialog)
774 2009-06-23 Alejandro G. Castro <alex@igalia.com>
776 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
777 (hildon_pannable_area_dispose)
778 (hildon_pannable_area_button_press_cb)
779 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
780 (hildon_pannable_area_button_release_cb)
781 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
782 New 'panning-started' and 'panning-finished' signals.
784 Fixes: NB#121732 (New feature request: Signal to pannable area
785 that informs when panning is stopped.)
787 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
789 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
790 instead of hardcoded colon.
792 Fixes: NB#124090 (New calendar wizard title is not using
793 ecdg_ti_caption_separator)
795 2009-06-22 David King <davidk@openismus.com>
797 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
798 constants and functions, as well as correct many typos throughout the
801 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
804 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
806 * configure.ac: postrelease version bump.
807 * debian/changelog: post release version bump
809 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
814 * configure.ac: Bump version.
815 * debian/changelog: Updates.
817 2009-06-18 Alberto Garcia <agarcia@igalia.com>
819 * hildon/hildon-window-stack.c
820 (hildon_window_stack_pop_and_push_list):
821 Prevent windows from having the same stack index
823 2009-06-18 Alberto Garcia <agarcia@igalia.com>
825 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
826 Use the index of the previous window rather than the stack length
827 to calculate the new index.
831 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
833 * hildon/hildon-date-selector.c
834 (hildon_date_selector_select_current_date)
835 (hildon_date_selector_get_date)
836 (hildon_date_selector_select_day):
837 Update the documentation: uses always the range (1-31), as it is obvious
838 that the final one will depend on the month and the year, but globally
839 the range is this, in a similar GtkCalendar approach
840 (hildon_date_selector_get_date):
841 Update the documentation: add NULL as a valid value for the day, month
844 Fix some details, after talk with David King on bug MB#4698
846 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
848 * hildon/hildon-touch-selector-entry.c
849 * hildon/hildon-touch-selector.c
850 Update the documentation of the "text-column" property
852 2009-06-18 David King <davidk@openismus.com>
854 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
855 several typos and errors throughout the documentation.
857 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
860 2009-06-18 Alberto Garcia <agarcia@igalia.com>
862 * hildon/hildon-note.c (hildon_note_realize):
863 Make HildonNote support portrait mode.
865 Fixes: NB#123448 (HildonNote is not portrait-friendly)
867 2009-06-17 Alberto Garcia <agarcia@igalia.com>
869 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
870 Document this function
872 2009-06-17 David King <davidk@openismus.com>
874 * hildon/hildon-date-selector.c
875 (hildon_date_selector_select_current_date)
876 (hildon_date_selector_get_date): Update documentation regarding days,
877 as the day of the month is dependent on both the month and the year.
878 (hildon_date_selector_get_date): Fix documentation of output arguments.
880 Fixes: MB#4698 (DateSelector documentation has bad output argument
881 description, and the day depends on both the month and the year)
883 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
885 * hildon/hildon-caption.c: Other documentation fixes to
888 2009-06-17 David King <davidk@openismus.com>
890 * hildon/hildon-caption.c: Minor documentation updates for
891 HildonCaption. Fixes MB#4697.
893 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
895 * doc/hildon-docs.sgml: Add hildon-version section.
896 * doc/hildon-sections.txt:
897 * hildon/hildon-version.h.in: Document versioning macros and
900 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
902 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
903 from HildonPickerDialog section.
905 2009-06-16 Alberto Garcia <agarcia@igalia.com>
907 * hildon/hildon-banner.c (hildon_banner_bind_style)
908 (screen_size_changed, hildon_banner_init)
909 (hildon_banner_real_show_information)
910 (hildon_banner_show_information_with_markup)
911 (hildon_banner_show_animation, hildon_banner_show_progress):
912 Set a different widget name to banners in portrait mode, for them
913 to be themed correctly.
915 2009-06-16 Alberto Garcia <agarcia@igalia.com>
917 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
918 Set a different widget name to notes in portrait mode, for them to
921 Partially fixes: NB#118401 (HildonNote causes unnecessary
924 2009-06-16 Alberto Garcia <agarcia@igalia.com>
926 * hildon/hildon-note.c (hildon_note_class_init)
927 (+hildon_note_size_request, screen_size_changed):
928 Always request the full width of the screen.
930 Fixes: NB#118375 (unnecessary rescaling of images)
932 2009-06-16 Alejandro G. Castro <alex@igalia.com>
934 * hildon/hildon-pannable-area.c,
935 (hildon_pannable_area_init),
936 (hildon_pannable_area_realize): Replaced old code adding flags in
937 the object init, now we add it with the other flags in the realize
940 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
942 * hildon/hildon-note.c: (hildon_note_class_init): Several
943 documentation improvements to the HildonNote widget.
945 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
947 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
949 Fixes: MB#4556 (HildonNoteType is undocumented)
951 2009-06-15 Alberto Garcia <agarcia@igalia.com>
953 * hildon/hildon-picker-button.c:
954 Explain how HildonPickerButton sets the title of its dialog
956 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
957 the title of its dialog)
959 2009-06-15 Alberto Garcia <agarcia@igalia.com>
961 * hildon/hildon-check-button.c:
962 Documentation updates
964 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
967 2009-06-15 Alberto Garcia <agarcia@igalia.com>
970 * hildon/hildon-edit-toolbar-private.h
971 * hildon/hildon-edit-toolbar.c
972 (+hildon_edit_toolbar_set_progress_indicator)
973 (hildon_edit_toolbar_init): Add progress indicator to the
976 * hildon/hildon-gtk.c
977 (hildon_gtk_window_set_progress_indicator):
978 If the window contains a HildonEditToolbar, enable the progress
981 * hildon/hildon-private.h
982 * hildon/hildon-private.c
983 (+hildon_private_create_animation)
984 * hildon/hildon-banner.c
985 (-hildon_banner_create_animation):
986 Moved to hildon-private.c
988 Fixes: NB#102373 (Progress indicator also for the Edit mode
991 2009-06-15 Alberto Garcia <agarcia@igalia.com>
993 * hildon/hildon-app-menu-private.h
994 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
995 (hildon_app_menu_add_filter, +menu_item_button_event)
996 (hildon_app_menu_button_release, hildon_app_menu_init):
997 Make sure that buttons receive 'button-release-event' in spite of
998 the grab held by HildonAppMenu
1000 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1002 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1004 * hildon/hildon-app-menu.c
1005 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1006 New style property to set the size of the group of filter buttons.
1008 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1010 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1015 * configure.ac: Bump version.
1016 * debian/changelog: Updates.
1018 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1020 * hildon/hildon-main.c: Minor documentation fixes.
1022 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1024 * doc/hildon-sections.txt:
1025 * hildon/hildon-defines.h: Document the defines, organize them,
1026 and mark deprecations as such.
1028 Fixes: MB#4463 (Hildon size #defines are undocumented)
1030 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1032 * hildon/hildon-animation-actor.c:
1033 * hildon/hildon-app-menu.c:
1034 * hildon/hildon-button.c:
1035 * hildon/hildon-date-editor.c:
1036 * hildon/hildon-dialog.c:
1037 * hildon/hildon-edit-toolbar.c:
1038 * hildon/hildon-entry.c:
1039 * hildon/hildon-program.c:
1040 * hildon/hildon-remote-texture.c:
1041 * hildon/hildon-stackable-window.c:
1042 * hildon/hildon-text-view.c:
1043 * hildon/hildon-touch-selector.c:
1044 * hildon/hildon-window-stack.c:
1045 * hildon/hildon-window.c:
1047 Remove redundant "represents" wording from most of the documentation.
1049 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1051 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1055 * hildon/Makefile.am
1056 * hildon/hildon-banner-private.h
1057 * hildon/hildon-banner.c:
1058 Move HildonBannerPrivate to hildon-banner.c and remove
1059 hildon-banner-private.h
1060 Use a bit field to store private booleans.
1062 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1064 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1065 Don't install a new idle function if there's already one
1070 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1072 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1073 (+legacy_menu_realized, +legacy_menu_unmapped)
1074 (+set_legacy_menu_type):
1075 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1076 they can be identified by the window manager.
1078 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1079 displayed in wrong location)
1081 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1084 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1086 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1088 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1089 use gtk-doc support)
1091 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1093 * hildon/hildon-code-dialog.c
1094 * hildon/hildon-date-editor.c
1095 * hildon/hildon-number-editor.c
1096 * hildon/hildon-seekbar.c
1097 * hildon/hildon-stackable-window.c
1098 * hildon/hildon-window.c:
1099 Misc documentation updates
1101 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1103 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1104 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1106 Fixes: NB#117931 (Theming issues in accounts dialogs)
1108 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1110 * hildon/hildon-pannable-area.c,
1111 (hildon_pannable_area_button_release_cb): Changed the coordinates
1112 of the original release in case we want to discard the release,
1113 some widgets in Fremantle do not handle the leave-notify.
1115 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1117 * hildon/hildon-pannable-area.c,
1118 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1119 the release using the last refactored functions and avoiding the
1120 movement if an element was selected.
1122 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1124 * hildon/hildon-pannable-area.c,
1125 (hildon_pannable_area_check_move),
1126 (hildon_pannable_area_handle_move),
1127 (hildon_pannable_area_motion_notify_cb): Refactored the
1128 motion_notify method using a couple of new functions.
1130 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1132 * hildon/hildon-date-selector.c:
1133 (hildon_date_selector_construct_ui):
1134 * hildon/hildon-time-selector.c:
1135 (hildon_time_selector_constructor):
1136 * hildon/hildon-touch-selector-entry.c:
1137 (hildon_touch_selector_entry_set_text_column),
1138 (hildon_touch_selector_entry_get_text_column):
1139 * hildon/hildon-touch-selector.c: (_default_print_func),
1140 (hildon_touch_selector_new_text): Use
1141 hildon_touch_selector_set/get_text_column() instead of
1142 setting/getting the "text-column" property.
1144 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1146 * doc/hildon-sections.txt: Add the new public methods below.
1148 * examples/hildon-picker-button-multicolumn-example.c:
1149 (create_touch_selector):
1150 * examples/hildon-touch-selector-example.c: (create_selector):
1151 * examples/hildon-touch-selector-multi-cells-example.c:
1153 Use hildon_touch_selector_column_set_text_column()
1155 * hildon/hildon-touch-selector-column.h:
1156 * hildon/hildon-touch-selector.c:
1157 (hildon_touch_selector_column_set_text_column),
1158 (hildon_touch_selector_column_get_text_column):
1159 Make hildon_touch_selector_column_set/get_column() public, use
1160 them in the inline example, document them, and reference to them
1163 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1165 * hildon/hildon-time-selector.c: Fix the docs for
1166 hildon_time_selector_new_step().
1168 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1170 * hildon/hildon-touch-selector.c: Improve the documentation for
1171 hildon_touch_selector_append_column().
1173 Fixes MB#4641 (Documentation:
1174 hildon_touch_selector_append_column() ref-counting)
1176 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1178 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1179 Comment out test 5, since the hildon_controlbar_set_range() range
1180 check is broken and fixing it would have side effects. Also,
1181 this finally fixes make distcheck.
1183 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1185 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1187 * tests/TEST-CASES.txt: Remove other bogus test.
1188 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1189 Remove bogus test that was setting/retrieving a valid value.
1191 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1193 * tests/TEST-CASES.txt: Remove bogus tests.
1194 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1195 Remove three bogus tests that were actually setting valid colors.
1197 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1199 * configure.ac: post release version bump
1200 * debian/changelog: post release version bump
1202 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1207 * configure.ac: Bump version.
1208 * debian/changelog: Updates.
1210 2009-06-08 Christian Dywan <christian@lanedo.com>
1214 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1215 Correct errors in hildon_format_file-size_for_display and use
1216 translations from the hildon-fm package instead of osso-filemanager.
1218 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1220 * hildon/hildon-pannable-area.c,
1221 (hildon_pannable_area_init): Initialized new values to handle the
1222 adjustment position.
1223 (hildon_pannable_area_adjust_value_changed): Check if the values
1224 changed before even call the redraw function.
1225 (hildon_pannable_area_size_allocate),
1226 (hildon_pannable_axis_scroll),
1227 (hildon_pannable_area_scroll),
1228 (hildon_pannable_area_jump_to): Improved the diagonal movement
1231 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1234 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1236 * examples/hildon-banner-example.c:
1237 Several style updates
1238 (on_animation_clicked, on_animation_idle)
1239 (on_progress_clicked, on_progress_idle):
1240 Add additional reference for the cases when the parent window is
1243 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1245 * doc/hildon-sections.txt
1246 * hildon/hildon-pannable-area.c
1247 * hildon/hildon-banner.h
1248 * hildon/hildon-banner.c: Documentation updates.
1250 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1253 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1255 * hildon/hildon-calendar-popup.h:
1256 * hildon/hildon-caption.h:
1257 * hildon/hildon-code-dialog.h:
1258 * hildon/hildon-controlbar.h:
1259 * hildon/hildon-date-editor.h:
1260 * hildon/hildon-dialog.h:
1261 * hildon/hildon-get-password-dialog.h:
1262 * hildon/hildon-hvolumebar.h:
1263 * hildon/hildon-login-dialog.h:
1264 * hildon/hildon-note.h:
1265 * hildon/hildon-number-editor.h:
1266 * hildon/hildon-range-editor.h:
1267 * hildon/hildon-seekbar.h:
1268 * hildon/hildon-set-password-dialog.h:
1269 * hildon/hildon-sort-dialog.h:
1270 * hildon/hildon-time-editor.h:
1271 * hildon/hildon-time-picker.h:
1272 * hildon/hildon-volumebar-range.h:
1273 * hildon/hildon-volumebar.h:
1274 * hildon/hildon-vvolumebar.h:
1275 * hildon/hildon-weekday-picker.h:
1276 * hildon/hildon-window.h:
1277 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1278 macros with the current replacements
1280 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1282 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1284 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1285 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1286 itself, to make it fit better with Fremantle style.
1288 Fixes: NB#109878 (height and width of focus on color icon is not
1289 consistent with other item in the application tool bar)
1291 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1293 * hildon/hildon-touch-selector.c:
1294 (hildon_touch_selector_optimal_size_request): use the current requisition
1295 as the base, in order to include any possible extra widget, like the
1296 hildon entry on HildonTouchSelectorEntry
1298 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1300 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1302 * configure.ac: post release version bump
1303 * debian/changelog: post release version bump
1305 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1310 * configure.ac: Bump version.
1311 * debian/changelog: Updates.
1313 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1315 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1317 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1318 to ensure the banner contents are centered, instead of relying on
1319 the expand and fill properties in GtkHBox.
1320 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1322 Fixes: NB#108265 (Animation banner not properly centered)
1324 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1326 * hildon/hildon-pannable-area.c
1327 (hildon_pannable_area_initial_effect): Remove the initial_effect
1328 management, check initial_hint
1329 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1330 set initial_effect to FALSE
1331 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1332 by launching the fade_timeout if the scrollbars state has changed and are
1334 * examples/hildon-pannable-area-initial-hint-example.c
1335 Modified to allow to remove rows too. Add and remove rows one by one.
1337 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1339 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1340 Don't close the menu if there's an animation actor below it.
1342 Fixes: NB#117927 (Application menu not usable with animation
1345 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1347 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1348 "focus-on-click" from the dialog button, to avoid stealing the
1349 focus from the entry.
1351 Fixes: NB#118903 (Account setup wizard: Text in Search field
1352 should be focused when "Region" touch list picker is reopened
1355 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1357 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1358 (prepare_action_area): Completely hide the dialog separator.
1360 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1362 * hildon/hildon-touch-selector-entry.c
1363 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1364 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1365 now that the entry is exposed.
1367 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1369 * hildon/hildon-touch-selector-entry.c
1370 (hildon_touch_selector_entry_init): Change the entry's size
1371 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1373 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1375 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1376 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1377 avoid unnecessary scaling.
1379 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1381 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1382 Create grab transfer window before calling parent's map function.
1384 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1385 "crushed" button(s) in the top left corner)
1387 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1389 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1390 Check if the window is already realized when pushing it.
1392 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1394 * configure.ac: post release version bump
1395 * debian/changelog: post release version bump
1397 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1402 * configure.ac: Bump version.
1403 * debian/changelog: Updates.
1405 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1407 * hildon/hildon-app-menu.c: Doc updates.
1409 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1411 * hildon/hildon-banner.c: Remove leftover macro.
1413 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1415 * hildon/hildon-pannable-area.c,
1416 (hildon_pannable_area_scroll_indicator_fade),
1417 (hildon_pannable_area_button_release_cb): Reviewed vmin
1418 conditions, it could cause problems in the fadeout procedure.
1420 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1422 * hildon/hildon-pannable-area.c
1423 (hildon_pannable_area_button_release_cb): Added a threshold to
1424 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1426 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1428 * hildon/hildon-pannable-area.c,
1429 (hildon_pannable_area_set_property): Added code to sync the gtk
1430 dnd threshold with the panning threshold.
1432 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1434 * hildon/hildon-pannable-area.c,
1435 (hildon_pannable_area_class_init): Changed some of the default
1436 values, now it should be less responsive and more accurate.
1438 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1440 * hildon/hildon-pannable-area.c,
1441 (hildon_pannable_area_init),
1442 (hildon_pannable_area_scroll_indicator_fade),
1443 (hildon_pannable_area_button_press_cb),
1444 (hildon_pannable_axis_scroll),
1445 (hildon_pannable_area_timeout),
1446 (hildon_pannable_area_motion_notify_cb),
1447 (hildon_pannable_area_button_release_cb): Changed the name of the
1448 clicked attribute to button_pressed, it is more clear about its use.
1450 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1452 * src/hildon-pannable-area.c
1453 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1455 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1456 vertical scrollbar visibility, and use the data on private section instead,
1457 remove the initial_hint check
1458 (hildon_pannable_area_expose_event): add the initial_hint check here
1460 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1462 * src/hildon-pannable-area.c
1463 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1464 if the fadeout effect was used
1465 (hildon_pannable_area_expose_event): check if it is required to
1466 manage the initial effect on the begining of the function. Previously
1467 it was made at the end, but this doesn't ensure that the scrollbars
1468 will be painted on the first show. Do not set to FALSE initial_effect,
1469 to ensure that the initial hint is showed the first time the pannable
1471 * examples/Makefile.am
1472 * examples/hildon-pannable-area-initial-hint-example.c:
1473 New example, to show that the initial-hint is showed when the widget
1476 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1477 initially if the application can be scrolled)
1479 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1481 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1482 Resize table before adding new items to make sure that
1483 gtk_table_resize() is called just once.
1485 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1487 * hildon/hildon-app-menu-private.h
1488 * hildon/hildon-app-menu.c (item_visibility_changed)
1489 (filter_visibility_changed, hildon_app_menu_show_all)
1490 (hildon_app_menu_hide_all, hildon_app_menu_init):
1491 Rearrange items just once when gtk_widget_show_all()/hide_all()
1494 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1496 * hildon/hildon-app-menu.c
1497 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1498 Don't call gtk_widget_show() on added items.
1500 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1501 automatically when they're added)
1503 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1505 * hildon/hildon-banner.c
1506 (hildon_banner_realize, +hildon_banner_unrealize)
1507 (+screen_size_changed, hildon_banner_class_init):
1508 Redisplay the banner if the screen is rotated.
1510 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1511 on transition from landscape to portrait)
1513 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1515 * hildon/hildon-banner.[ch]:
1516 (hildon_banner_show_information_override_dnd): remove icon_name from the
1517 method definition as it is ignored.
1518 * examples/hildon-banner-dnd-example.c: updated with the change on
1521 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1523 * hildon/hildon-banner-private.h: new require_override_dnd and
1524 overrides_dnd variables
1525 * hildon/hildon-banner.h:
1526 (hildon_banner_show_information_override_dnd): new method, that shows
1527 the information but sets the override flag, in order to show important
1529 * hildon/hildon-banner.c
1530 (hildon_banner_show_information_override_dnd): new method
1531 (hildon_banner_set_override_flag): new utility function
1532 (hildon_banner_real_show_information): new utility function, in order to
1533 generalize the current hildon_banner_show_information_override_dnd and
1534 hildon_banner_show_information_override_dnd
1535 * examples/Makefile.am
1536 * examples/hildon-banner-dnd-example.c: New example that show how to
1537 use the new hildon_banner_show_information_override_dnd
1539 Fixes: NB#114874 (There is no possibility to show hildon banners with
1542 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1544 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1545 behind hildon_pannable_calculate_vel_factor().
1547 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1549 * hildon/hildon-pannable-area.c
1550 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1551 deceleration factors.
1553 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1555 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1556 Reduce the default value for 'scroll_time' to 1 second, since the
1557 current initial scrolling takes too much time.
1559 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1561 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1562 calculate velocity factor during initialization, since the properties
1565 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1567 * hildon/hildon-pannable-area.c
1568 (hildon_pannable_area_set_property): Calculate the velocity factor
1569 after setting the deceleration property and not after.
1571 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1573 * hildon/hildon-entry.c
1574 (hildon_entry_class_init, +set_property, hildon_entry_new)
1575 * hildon/hildon-check-button.c
1576 (hildon_check_button_class_init)
1577 (+set_property, hildon_check_button_new):
1578 Make the theme size a property.
1580 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1581 others) do too much in the _new function)
1583 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1585 * configure.ac: post release version bump
1586 * debian/changelog: post release version bump
1588 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1593 * configure.ac: Bump version.
1594 * debian/changelog: Updates.
1596 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1598 * hildon/hildon-gtk.h
1599 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1600 New API function to take a screenshot of a window
1602 Fixes: NB#106374 (Need API to take a loading screenshot)
1604 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1606 * hildon/hildon-time-selector.c
1607 (update_format_policy): prevent to use hours and minutes unitialized
1609 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1611 * hildon/hildon-window.c (hildon_window_size_request):
1612 Always request the full size of the screen (minus the title bar if
1613 not in fullscreen mode).
1615 Fixes: NB#107486 (HildonWindow should size itself properly)
1617 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1619 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1620 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1621 (on_show_cb), (sound_handling): Disconnect the idle handler for
1622 the sound when the note is finalized to avoid possible crashes.
1624 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1627 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1629 * src/hildon-animation-actor.c,
1630 * src/hildon-remote-texture.c:
1631 Added proper object cleanup to remove signal handler and object
1632 references as HildonAnimationActor and HildonRemoteTexture
1633 objects get destroyed.
1635 Fixes: NB#116682 (Destroying parented animation actors when
1636 parent in unmapped leads to crash)
1638 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1640 Based on a patch by Christian Dywan (christian@imendio.com)
1642 * doc/hildon-sections.txt:
1643 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1644 * hildon/hildon-helper.h: New file size formatting method.
1646 * debian/control: Depend on osso-filemanager l10n package for
1647 proper localization strings.
1649 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1651 * tests/Makefile.am: Include top_srcdir to make possible to build
1652 tests in a different builddir.
1653 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1654 on a different builddir.
1656 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1658 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1659 (hildon_touch_selector_remove): Disconnect model's signal handler
1662 Fixes: NB#116289 (Hildon home crashes while adding task
1665 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1667 * hildon/hildon-button.c
1668 (hildon_button_set_title, hildon_button_set_value):
1669 Hide labels containing an empty string.
1671 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1673 * configure.ac: post release version bump
1674 * debian/changelog: post release version bump
1676 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1681 * configure.ac: Bump version.
1682 * debian/changelog: Updates.
1684 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1686 * hildon/hildon-note-private.h: Removed sound_signal_handler
1687 * hildon/hildon-note.c
1688 (on_show_cb): new callback on note "show" event, this simply adds
1689 a idle, with the function sound_handling
1690 (sound_handling): removed the sound_signal_handler management
1691 (hildon_note_init): connect note "show" event to on_show_cb
1692 (hildon_note_realize): remove the connection to "expose-event"
1694 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1695 device?' confirmation note)
1697 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1699 * hildon/hildon-note.c
1700 (hildon_note_new_information_with_icon_name)
1701 (hildon_note_new_confirmation_with_icon_name):
1702 Terminate the list of parameters in g_object_set() calls
1704 Fixes: NB#115166 (Formatting memory card is not taking place)
1706 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1708 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1709 "dialog-information" role for the sound being played.
1711 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1713 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1714 Don't make the menu a modal window, it causes strange interactions
1715 with the pointer grab and it's not really needed.
1717 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1719 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1721 * hildon/hildon-touch-selector.[ch]
1722 (hildon_touch_selector_optimal_size_request): function added to get a
1723 optimal size request from the touch selector, when you want a dialog to
1724 show as much of the selector
1725 * hildon/hildon-picker-dialog.c:
1726 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1727 (hildon_app_menu_class_init):
1728 New "max-height-landscape" and "max-height-portrait" style properties
1729 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1730 (hildon_picker_dialog_get_max_height): returns the maximum height using
1731 the style properties defined and checking the current portrait/landscape
1733 (_hildon_picker_dialog_set_selector): removed the set_size_request
1735 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1737 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1739 * hildon/hildon-bread-crumb-trail.c:
1740 * hildon/hildon-bread-crumb.c:
1741 * hildon/hildon-seekbar.c:
1742 Add reference to replacements for these deprecated widgets.
1744 Fixes: MB#4461 (Documentation: All deprecations should mention
1747 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1749 * examples/hildon-remote-texture-example.c
1751 Change the include to the hildon-remote-texture in order to compile
1752 properly the examples on the installed libhildon1-examples package
1754 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1756 * tests/Makefile.am: Add check for HildonPickerButton.
1757 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1758 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1759 checks for the HildonPickerButton.
1760 * tests/check_test.c (configure_tests): Add the test suite.
1761 * tests/test_suites.h: likewise.
1763 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1765 * hildon/hildon-touch-selector.c
1766 (+on_row_changed): Emit HildonTouchSelector:changed when the
1767 contents of a selected row change.
1768 (_create_new_column), (_hildon_touch_selector_set_model): connect
1769 to GtkTreeModel:row-changed on a newly set model.
1771 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1773 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1775 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1777 * hildon/hildon-banner.c (hildon_banner_destroy)
1778 (hildon_banner_show_progress, hildon_banner_set_fraction):
1779 Remove the progress bar from HildonBanner and use a progress
1782 Fixes: NB#113761 (Update progress banner to use progress
1785 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1787 * hildon/hildon-banner.c:
1788 Calculate size of the banner label using the actual screen width
1789 rather than using a fixed value.
1791 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1794 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1796 * hildon/hildon-pannable-area.c,
1797 (hildon_pannable_area_class_init): Fixed signals documentation
1800 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1802 * configure.ac: post release version bump
1803 * debian/changelog: post release version bump
1805 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1810 * configure.ac: Bump version.
1811 * debian/changelog: Updates.
1813 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1815 * hildon/hildon-edit-toolbar.c
1816 (hildon_edit_toolbar_init):
1817 Don't let buttons in HildonEditToolbar receive focus.
1819 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1820 typing on an HW arrows key)
1822 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1824 * doc/Makefile.am: Fix build.
1826 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1828 * doc/Makefile.am: Do not redefine content_files.
1830 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1838 Renamed src/ to hildon/
1843 Include <hildon/hildon.h> directly in all examples.
1845 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1847 * src/hildon-sort-dialog.c
1848 (hildon_sort_dialog_add_sort_key_with_sorting)
1852 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1854 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1855 make distcheck passes.
1857 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1859 * Makefile.am: Enable gtk-doc during distcheck.
1861 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1863 * Makefile.am: Do not distribute the debian/ directory.
1865 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1867 * doc/Makefile.am: Add the extra SGML files to content_files,
1868 so that they are distributed properly.
1870 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1872 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1875 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1877 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1878 (hildon_note_new_information_with_icon_name): Set the "icon" property
1879 to preserve soundness.
1881 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1883 * src/hildon-font-selection-dialog.c
1884 (hildon_font_selection_dialog_set_property): Fail when the "family"
1885 property is set to NULL.
1887 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1889 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1892 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1894 * src/hildon-time-selector.h:
1895 Added HildonTimeSelectorFormatPolicy
1896 * src/hildon-time-selector.c:
1897 Added PROP_TIME_FORMAT_POLICY
1898 (_check_ampm_format): renamed to check_automatic_ampm_format
1899 (update_format_policy), (update_format_dependant_columns): new functions
1900 (hildon_time_selector_class_init)
1901 (hildon_time_selector_contructor)
1902 (hildon_time_selector_init)
1903 (hildon_time_selector_get_property)
1904 (hildon_time_selector_set_property)
1905 (hildon_time_selector_get_time)
1906 (hildon_time_selector_set_time)
1907 * src/hildon-touch-selector.h: new file
1908 * src/hildon-touch-selector.c
1909 (hildon_touch_selector_emit_changed)
1910 (hildon_touch_selector_block_changed)
1911 (hildon_touch_selector_unblock_changed)
1912 Added functions to allow to block the emission of the "changed" signal
1913 * src/hildon-picker-dialog.c
1914 (hildon_picker_dialog_show): call the parent show before the custom code
1915 * examples/hildon-time-button-example.c
1916 Modified, so now you can configure the time format using the new property
1918 Added a new property "time-format-policy" that allow to choose the time
1919 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1920 case it uses gconf in order to check if the time selector must use
1923 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1926 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1928 * src/hildon-note.c (hildon_note_init):
1929 Label in HildonNote must be left aligned, not centered. This
1930 reverts the last commit in HildonNote.
1932 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1933 is connectivity dialog)
1935 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1940 * doc/hildon-sections.txt:
1941 Added hildon_gtk_window_set_do_not_disturb()
1943 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1945 * src/hildon-note.c (hildon_note_init): Center label.
1947 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1950 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1955 * configure.ac: Bump version.
1956 * debian/changelog: Updates.
1958 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-note-private.h: Add button-width to the private data.
1961 * src/hildon-note.c (+resize_button),
1962 (+hildon_note_orientation_update): methods to repack widgets on orientation
1964 (screen_size_changed): Call above method for confirmation notes.
1965 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1966 (hildon_note_rebuild): Store the original width request from buttons.
1968 Fixes: NB#109635 (Confirmation notes do not support portrait)
1970 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1972 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1973 when it is a progress note.
1975 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1977 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1978 in the note, since there are no horizontally arranged contents.
1980 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1982 * src/hildon-gtk.c (+set_flag): new generic method to
1983 set/delay a flag setting in a window.
1984 (hildon_gtk_window_set_progress_indicator):
1985 (hildon_gtk_window_set_do_not_disturb),
1986 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1987 avoid code redundance.
1989 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1991 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1993 * src/hildon-gtk.c (set_clear_window_flag),
1994 (do_set_progress_indicator), (do_set_do_not_disturb),
1995 (do_set_portrait_flags),
1996 (hildon_gtk_window_set_progress_indicator),
1997 (hildon_gtk_window_set_do_not_disturb),
1998 (hildon_gtk_window_set_portrait_flags):
1999 Allow setting dnd-flag, progress indicator, and portrait flags
2000 when the window is not realized.
2002 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2004 * src/hildon-pannable-area.c,
2005 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2006 the size request policy function and defines.
2008 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2010 * doc/hildon-sections.txt: Add the new API.
2011 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2012 method to set the portrait flags.
2013 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2015 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2017 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2019 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2020 to allow using this method with other flags.
2021 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2022 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2024 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2026 * src/hildon-touch-selector.c
2027 (hildon_touch_selector_append_text_column):
2028 Make the cell renderer use the smallest width possible.
2030 Fixes: NB#108470 (Selected items in multiple selection are either
2031 having a tick that is cut or not visible at all.)
2033 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-touch-selector.c
2036 (hildon_touch_selector_append_text_column):
2039 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2041 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2042 Use g_strdup_printf() instead of a fixed size buffer.
2044 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2046 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2047 Close banners when a HildonAppMenu is popped up.
2049 Fixes: NB#111027 (Title menu closed immediately if activated when
2050 "Invalid e-mail address" banner is shown)
2052 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2057 * configure.ac: Bump version.
2058 * debian/changelog: Updates.
2060 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2062 * src/hildon-banner.c (hildon_banner_realize):
2063 Mark HildonBanner as supporting portrait mode.
2064 Use GDK to set window properties insetad of direct Xlib calls.
2066 Fixes: NB#111830 (HildonBanner should be marked as supporting
2069 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2071 * src/hildon-note.c (hildon_note_rebuild):
2072 Hide action area in information notes. Prevents text from being
2073 slightly aligned to the left.
2075 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2078 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2080 Patch by Mox Soini (ext-mox.soini@nokia.com)
2082 * src/hildon-banner.c (hildon_banner_create_animation):
2083 Use stylus-sized icons in animation banner.
2085 Fixes: NB#111206 (stylus sized icon for animation banner)
2087 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2091 (+hildon_gtk_window_set_do_not_disturb):
2092 New API to set the do-not-disturb flag.
2094 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2096 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2098 * examples/hildon-progress-indicator-example.c: Fix example
2100 * src/hildon-gtk.c (set_clear_window_flag)
2101 (hildon_gtk_window_set_progress_indicator):
2102 Create a generic function for setting flags to a window.
2103 Use GDK instead of direct Xlib calls.
2105 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-button.c (hildon_button_set_arrangement):
2108 Due to NB#88126, if one of the labels is too long it will be
2109 painted outside the button. The 'value' label is more likely to be
2110 the longest one, so we change its packing options in order to
2111 truncate it if necessary. As a side effect, the 'title' label will
2112 no longer be truncated.
2114 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2116 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2121 * configure.ac: Bump version.
2122 * debian/changelog: Updates.
2124 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2126 Deprecation of the hildon_pannable_area_set_size_request_policy
2127 API, the only policy properly supported in gtk+ nowadays is the
2130 * src/hildon-pannable-area.c,
2131 (hildon_pannable_area_size_request): Added a workaround for the
2132 size_request to avoid the problems of huge pixmaps in case someone
2133 is still using the function.
2134 * src/hildon-pannable-area.h: Deprecated the enum with the
2137 Fixes: NB#110244 (Problems with the
2138 hildon_pannable_area_set_size_request_policy API)
2140 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2142 * src/hildon-pannable-area.c,
2143 (hildon_pannable_area_init),
2144 (hildon_pannable_area_size_request),
2145 (hildon_pannable_area_style_set),
2146 (hildon_pannable_draw_vscroll),
2147 (hildon_pannable_draw_hscroll),
2148 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2149 indicator_width to clarify the use of the attribute.
2151 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2156 * configure.ac: Bump version.
2157 * debian/changelog: Updates.
2159 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2161 * src/hildon-picker-dialog.c
2162 * src/hildon-touch-selector.c
2163 Reverting the change that tried to avoid the hardcoded height on
2164 the picker dialog, as causes problems on the hildon-touch-selector
2167 Fixes: NB#110029 (selectors not scrolling to selected value)
2169 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-touch-selector.c: Fix typos
2173 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2175 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2176 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2177 request more motions after using it.
2179 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2181 * src/hildon-calendar.c (hildon_calendar_expose),
2182 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2183 Remove unused variables.
2185 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2187 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2188 variable assignment.
2190 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2192 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2193 Check the return value of gtk_tree_selection_get_selected()
2196 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2198 * src/hildon-animation-actor.c
2199 * src/hildon-button.c
2201 * src/hildon-pannable-area.c
2202 * src/hildon-picker-button.c
2203 * src/hildon-program.c
2204 * src/hildon-remote-texture.c
2205 * src/hildon-text-view.c
2206 * src/hildon-touch-selector.c
2207 * src/hildon-window-stack.c
2208 * src/hildon-window.c:
2209 Add missing 'Since: 2.2' tags.
2211 * doc/hildon-sections.txt:
2212 Add some missing symbols.
2214 * doc/hildon-docs.sgml:
2215 New 'Other' section for HildonAnimationActor and
2218 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2220 Patch by Iván Gómez (igomez@igalia.com)
2223 * doc/compiling.sgml
2224 * doc/hildon-docs.sgml
2225 * doc/hildon-sections.txt
2226 * doc/migration.sgml
2227 * doc/resources.sgml
2229 New chapters on using the Hildon library.
2230 Updated the general structure of the reference manual.
2231 Other minor documentation fixes.
2233 * src/hildon-calendar-popup.c
2234 * src/hildon-calendar.c
2235 * src/hildon-controlbar.c
2236 * src/hildon-date-editor.c
2237 * src/hildon-dialog.c
2238 * src/hildon-hvolumebar.c
2239 * src/hildon-number-editor.c
2240 * src/hildon-range-editor.c
2241 * src/hildon-sort-dialog.c
2242 * src/hildon-time-editor.c
2243 * src/hildon-time-picker.c
2244 * src/hildon-volumebar-range.c
2245 * src/hildon-volumebar.c
2246 * src/hildon-vvolumebar.c
2247 * src/hildon-weekday-picker.c:
2248 Add deprecation notes
2250 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2251 Document 'horizontal-movement' and 'vertical-movement' signals.
2253 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2258 * configure.ac: Bump version.
2259 * debian/changelog: Updates.
2261 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2263 * src/hildon-pannable-area.c,
2264 (hildon_pannable_area_class_init): increased the minimum velocity.
2265 (hildon_pannable_area_button_release_cb): Updated the
2266 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2267 setup. Review the code to control that last event.
2269 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2272 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2274 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2276 * src/hildon-get-password-dialog.c
2277 (hildon_get_password_set_property),
2278 (hildon_get_password_get_property), (create_contents):
2279 * src/hildon-login-dialog-private.h:
2280 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2281 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2282 (hildon_login_dialog_get_password):
2283 * src/hildon-set-password-dialog-private.h:
2284 * src/hildon-set-password-dialog.c
2285 (hildon_set_password_set_property),
2286 (hildon_set_password_get_property), (create_contents),
2287 (hildon_set_password_response_change),
2288 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2290 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2291 instead and look more Fremantle style.
2293 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2295 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2297 * doc/hildon-sections.txt
2298 * src/hildon-window-stack.h
2299 * src/hildon-window-stack.c
2300 (+hildon_window_stack_get_windows):
2301 New API to obtain the list of windows on a stack.
2303 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2305 * src/hildon-app-menu.c (hildon_app_menu_popup)
2306 (hildon_app_menu_class_init, -hildon_app_menu_show):
2307 Remove hildon_app_menu_show() and move all its checks to
2308 hildon_app_menu_popup()
2310 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2312 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2313 (_hildon_picker_dialog_set_selector): removed call to
2314 gtk_widget_set_size_request
2315 * src/hildon-touch-selector.c
2316 (_create_new_column): change the pannable size request policy
2318 Avoid to use a hardcoded height for the hildon picker dialog. In order
2319 to get that, we needed to change the hildon pannable size request
2321 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2323 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2325 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2326 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2329 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2331 * debian/control: Depend on osso-system-lock localization package.
2332 * src/hildon-code-dialog.c: Obtain the secu_application_title
2333 translation from osso-system-lock.
2334 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2335 for translation the atk related strings, that's not necessary.
2336 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2337 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2338 cancel button, it is not required.
2340 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2342 * src/hildon-pannable-area.c,
2343 (hildon_pannable_area_class_init): Modified the default value of
2344 the overshooting max speed, we have reduced it.
2346 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2348 * doc/hildon-sections.txt
2349 * src/hildon-window-private.h
2350 * src/hildon-window.h
2351 * src/hildon-window.c (hildon_window_class_init)
2352 (hildon_window_init, hildon_window_finalize)
2353 (hildon_window_realize, hildon_window_get_property)
2354 (hildon_window_set_property, hildon_window_update_markup)
2355 (hildon_window_get_markup, hildon_window_set_markup):
2356 New "markup" property and hildon_window_{get,set}_markup() methods.
2358 * examples/hildon-stackable-window-example.c (new_window):
2359 Update example to use hildon_window_set_markup()
2361 Fixes: NB#106375 (Need API to retitle a window with a title
2364 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2366 * src/hildon-pannable-area.c,
2367 (hildon_pannable_area_class_init): Changed the default value of
2368 the initial_hint to TRUE.
2369 (hildon_pannable_area_initial_effect): Changed the initial effect,
2370 not the effect is just the fade-out of the scrollbars.
2372 Fixes: NB#107775 (No scrollbars can be seen when several items are
2373 available in a dialog)
2375 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-program.c (hildon_program_update_top_most):
2380 Fixes: NB#109179 (Memory leak in Hildon program)
2382 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-banner.c (-get_current_app_window):
2385 Remove unused function.
2387 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2389 * src/hildon-pannable-area.c: Modified the documentation of the
2390 get adjustments functions to explain the problem of using the
2391 adjustment directly.
2392 (hildon_pannable_area_class_init): Improved the explanation about
2395 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-app-menu-private.h
2398 * src/hildon-app-menu.c
2399 (hildon_app_menu_class_init):
2400 Bring back the 'external-border' style property
2401 (hildon_app_menu_class_init, hildon_app_menu_init)
2402 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2403 Set a fixed width-request for the menu, independent of the number
2406 Fixes: NB#94957 (Smoothly opened application menu)
2408 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2410 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2412 * src/hildon-banner.c
2413 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2415 Make sure that the banner is correctly placed the first time it's
2417 (hildon_banner_check_position, -check_fullscreen_state):
2418 Show the banner in the same place no matter if the window is in
2419 fullscreen mode or not.
2421 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2423 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/hildon-touch-selector.c (_default_print_func): reorder
2426 concatenation for clarity.
2428 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2431 for multicolumn selectors.
2433 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2435 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2440 * configure.ac: Bump version.
2441 * debian/changelog: Updates.
2443 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2445 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2448 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2450 * configure.ac: removed libcangerra-gtk dependency
2451 * debian/control: removed libcanberra-gtk dependency
2452 * src/Makefile.am: removed libcanberra gtk related flags
2453 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2454 context, and manage a global canberra context instead
2456 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2458 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2460 Patch by Daniel Borgmann (danielb@openismus.com)
2462 * src/hildon-edit-toolbar.c:
2463 Adjust the left padding.
2464 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2465 Paint background of the edit toolbar.
2467 Fixes: NB#107897 (Patch to make editmodetoolbar background
2468 themeable and adjust margin)
2470 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2472 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2474 * src/hildon-program.c (hildon_program_update_top_most):
2475 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2477 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2478 change when the user tasks in/out of an application)
2480 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2482 * configure.ac: added libcangerra-gtk dependency
2483 * debian/control: added libcanberra-gtk dependency
2484 * src/Makefile.am: added libcanberra gtk related flags
2485 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2488 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2490 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2492 * src/hildon-program.c (hildon_program_remove_window)
2493 (hildon_program_add_window): Add checks for the window
2494 parameter. Don't decrease the window counter if the window is not
2497 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2499 * src/hildon-pannable-area.c,
2500 (hildon_pannable_area_realize): Fixed position of the event_window
2501 in the realize method.
2503 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-app-menu-private.h
2506 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2507 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2508 (hildon_app_menu_key_press, hildon_app_menu_init)
2509 (hildon_app_menu_finalize):
2510 Make sure that all idle functions are removed when the widget is
2513 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2515 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2520 * configure.ac: Bump version.
2521 * debian/changelog: Updates.
2523 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-entry.c
2526 (+hildon_entry_show_placeholder),
2527 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2528 that replace hildon_entry_update_contents().
2529 (hildon_entry_set_text),
2530 (hildon_entry_set_placeholder),
2531 (hildon_entry_focus_in_event),
2532 (hildon_entry_focus_out_event): Determine when it is needed
2533 either to show or hide the placeholder and call the above methods.
2535 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2536 when the placeholder text is already set)
2538 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2540 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2541 simple GdkPixbufAnim using the new icons for the banner.
2542 (hildon_banner_show_animation): Use the above mentioned method to
2543 create the animation widget.
2545 Fixes: NB#103564 (Make hildon animation banner use individual
2546 image files as the animation)
2548 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2550 * src/hildon-pannable-area.c,
2551 (hildon_pannable_leave_notify_event): Check if the child is NULL
2552 to avoid sending the leave.
2554 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2556 * src/hildon-pannable-area.c,
2557 (hildon_pannable_area_class_init),
2558 (hildon_pannable_leave_notify_event): Added a handler of the
2559 leave-notify-signal to consider when no motion notify before
2562 Fixes: NB#107494 (Items stay selected when clicking and moving
2563 away when inside pannable area)
2565 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2570 * configure.ac: Bump version.
2571 * debian/changelog: Updates.
2573 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2575 Patch by Alberto Garcia (agarcia@igalia.com)
2577 * src/hildon-date-button.c,
2578 (hildon_date_button_class_init),
2579 (hildon_date_button_init): Removed the construct property handling
2580 and created a default selector in the init method.
2581 * src/hildon-picker-button.c,
2582 (hildon_picker_button_class_init): Removed the construct flag of the
2585 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2587 * src/hildon-main.c (hildon_init):
2588 Don't allow hildon_init() to be called more than once.
2590 Fixes: NB#106607 (hildon_init should issue error message upon
2593 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2595 * examples/hildon-pannable-area-touch-list-example.c
2596 * examples/hildon-pannagle-area-touch-grid-example.c
2597 * examples/hildon-edit-toolbar-example.c
2598 * examples/hildon-touch-selector-multi-cells-example.c
2599 Removed the call to gtk_rc_parse_string, as it is not required since
2602 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2604 * src/hildon-pannable-area.c,
2605 (hildon_pannable_area_class_init): Modified the default panning
2606 threshold of the widget to 6px.
2608 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2609 than the threshold value ) within the button is not sending the
2612 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2615 for the treeview in the new column. This way, the touch list will never
2618 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2619 be selected manually for the HW keys to work)
2621 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2623 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2624 comparison instead of using strcmp(). Fixes a compiler warning as well.
2626 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2628 * doc/hildon-docs.sgml: Do not set the library version in the
2629 document title, use the releaseinfo tag for that purpose instead.
2631 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2634 Do not jump to the first item if the text in the entry is removed.
2636 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2641 * configure.ac: Bump version.
2642 * debian/changelog: Updates.
2644 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-entry.c (hildon_entry_refresh_contents):
2647 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2648 Use "ReversedSecondaryTextColor" for the placeholder text.
2650 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2652 * src/hildon-text-view.c: Fix compilation warning.
2654 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-button.c (hildon_button_class_init): Don't make
2657 "title" and "value" construction properties, to prevent them from
2658 overwriting labels set from derived classes.
2660 * src/hildon-picker-button.c
2661 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2662 (hildon_picker_button_class_init): Make touch-selector a
2663 construction property.
2665 * src/hildon-date-button.c (hildon_date_button_class_init)
2666 (+hildon_date_button_constructed): Add a default date selector if
2669 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2671 * src/hildon-touch-selector.c: Small documentation fixes.
2673 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2675 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2677 * src/hildon-entry.c (hildon_entry_refresh_contents),
2678 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2679 widget name, set the logical color directly instead and a boolean
2680 showing_placeholder instead.
2681 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2682 use the widget name here either.
2684 Fixes: NB#105678 (HildonTextView should use logical colours
2685 instead of setting widget name)
2687 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2689 Patch by Daniel Elster (danielk@openismus.com)
2691 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2692 Add user_data parameter.
2693 (hildon_touch_selector_set_print_func_full): New function akin
2694 hildon_touch_selector_set_print_func() but with support for user
2695 data and a destroy callback.
2696 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2697 to clean up the print function user data.
2698 (hildon_touch_selector_class_init): Install dispose function.
2699 (HildonTouchSelectorPrivate::print_user_data),
2700 (HildonTouchSelectorPrivate::print_destroy_func): New private
2702 (hildon_touch_selector_init): Initialize new private members.
2703 (hildon_touch_selector_get_current_text): Pass along user data
2704 to the print function.
2705 (_default_print_func): Add dummy user_data to parameter list.
2706 * hildon-date-selector.c (_custom_print_func): ditto,
2707 * hildon-time-selector.c (_custom_print_func): ditto,
2708 * hildon-touch-selector-entry.c
2709 (hildon_touch_selector_entry_print_func): ditto.
2711 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2713 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2715 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2717 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2719 * src/hildon-pannable-area.c,
2720 (hildon_pannable_area_init),
2721 (hildon_pannable_area_button_press_cb),
2722 (hildon_pannable_area_motion_notify_cb): We have added code to
2723 handle the leave and enter events when using the motion events.
2725 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2727 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2729 * src/hildon-date-button.c (hildon_date_button_get_date)
2730 (hildon_date_button_set_date): Make sure that the button has a
2733 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2735 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2737 * src/hildon-pannable-area.c,
2738 (hildon_pannable_area_class_init),
2739 (hildon_pannable_area_calculate_velocity): Modify the use of the
2740 force and adapt the value.
2742 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2745 (hildon_app_menu_class_init): Hide the menu if it receives a
2746 delete-event, but don't destroy it
2748 Fixes: NB#104485 (Not able to address the call when application
2749 menu is opened at background)
2751 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-app-menu.c
2754 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2755 Remove the "external-border" style property, let the menu take its
2756 natural size (or the one set by the window manager)
2757 (hildon_app_menu_repack_items):
2758 Don't reshow the menu, avoid flickers.
2760 Partially fixes NB#94957 (Smoothly opened application menu)
2762 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2767 * configure.ac: Bump version.
2768 * debian/changelog: Updates.
2770 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2772 * src/hildon-pannable-area.c,
2773 (hildon_pannable_area_motion_notify_cb): We control that the
2774 direction error margin is used just in case the movement is
2775 allowed in the other direction.
2777 Fixes: NB#105012 (buttons inside a pannable area not getting
2778 release event when dragging/releasing)
2780 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2782 * src/hildon-pannable-area.c,
2783 (hildon_pannable_area_class_init),
2784 (hildon_pannable_area_get_property),
2785 (hildon_pannable_area_set_property),
2786 (hildon_pannable_area_initial_effect),
2787 (hildon_pannable_axis_scroll),
2788 (hildon_pannable_area_button_release_cb): Reviewed the
2789 overshooting effect, now it has its own max
2790 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2791 speed when bouncing.
2793 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2798 * configure.ac: Bump version.
2799 * debian/changelog: Updates.
2801 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2803 * src/hildon-pannable-area.c,
2804 (hildon_pannable_area_class_init): Changed the max speed, now
2805 users can launch the widget very fast. Reduced the default force,
2806 that way it is easier to control the launch speed.
2808 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-pannable-area.c,
2811 (hildon_pannable_area_button_release_cb): Removed this check
2812 because it causes problems when the device is overloaded.
2814 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2817 add a current_text field to store the text entered in the
2818 touch selector entry.
2819 (_clean_current_selection): clean up the current text as well.
2820 (_save_current_selection), (_restore_current_selection):
2821 Save/restore the text in the entry if the selector is a
2822 HildonTouchSelectorEntry.
2824 Fixes: NB#102541 (value entered in the touch selector entry is not
2825 shown when opened for second time)
2827 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2829 * doc/hildon-sections.txt:
2830 * src/hildon-touch-selector-entry.c
2831 (+hildon_touch_selector_entry_get_entry):
2832 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2834 Fixes: NB#104815 (I need accessor to the entry inside
2835 HildonTouchSelectorEntry)
2837 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2839 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2840 (hildon_app_menu_class_init):
2841 New "filter-vertical-spacing" style property.
2843 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-find-toolbar.c
2846 (hildon_find_toolbar_emit_close)
2847 (hildon_find_toolbar_emit_invalid_input)
2848 (hildon_find_toolbar_entry_activate):
2849 Use g_signal_emit() instead of g_signal_emit_by_name()
2851 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2853 Patch by Mox Soini (ext-mox.soini@nokia.com)
2855 * tests/TEST-CASES.txt
2856 * tests/check-hildon-banner.c
2857 * tests/check-hildon-note.c
2858 * src/hildon-banner.c
2859 * src/hildon-code-dialog.c
2860 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2861 * src/hildon-time-editor.c
2862 * examples/hildon-lookup-example.c (main):
2863 Replace obsolete icon names with new ones.
2865 * src/hildon-find-toolbar-private.h:
2866 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2867 (-hildon_find_toolbar_emit_search):
2868 Remove find button and change icon of close button.
2870 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2872 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2874 * src/hildon-time-button.c (hildon_time_button_new_step):
2875 Use the "touch-selector" property to set the selector directly
2876 when creating the object.
2878 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2880 Added a new example application that allows tuning the pannable
2881 area and replaced defines with properties in order to simplify the
2882 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2883 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2884 PROP_DIRECTION_ERROR_MARGIN.
2886 * examples/hildon-pannable-area-tuning-example.c: New example
2888 * src/hildon-pannable-area.c,
2889 (hildon_pannable_area_class_init),
2890 (hildon_pannable_area_init),
2891 (hildon_pannable_area_get_property),
2892 (hildon_pannable_area_set_property),
2893 (hildon_pannable_area_launch_fade_timeout),
2894 (hildon_pannable_area_adjust_value_changed),
2895 (hildon_pannable_axis_scroll),
2896 (hildon_pannable_area_motion_notify_cb),
2897 (hildon_pannable_area_scroll_cb),
2898 (hildon_pannable_area_button_release_cb): We have converted some
2899 of the defines that control the widget to properties to simplify
2902 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2904 * src/hildon-app-menu.c (hildon_app_menu_map)
2905 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2906 so it's closed if a new window appears.
2908 Fixes: NB#104485 (Not able to address the call when application
2909 menu is opened at background)
2911 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2914 missing 'break' statement in in 'case' construct to avoid
2917 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2919 * src/hildon-touch-selector-entry.c
2920 (hildon_touch_selector_entry_get_property),
2921 (hildon_touch_selector_entry_set_property): Add missing 'break'
2922 statements in in 'case' constructs to avoid incorrect warnings.
2924 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2926 * src/hildon-time-editor.c
2927 (hildon_time_editor_get_time_separators): Do not crash if
2928 the first label is NULL.
2930 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/hildon-date-selector.c (_month_days): Check for month to be
2933 strictly less than 12, since otherwise we may overrun the array.
2935 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2937 * src/hildon-date-button.c (+hildon_date_button_new_full)
2938 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2939 (hildon_date_button_init): Set the date selector using a
2940 construction property, to make it happen after HildonButton's
2941 "value" property is set.
2943 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2944 current date by default)
2946 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2948 * doc/hildon-sections.txt
2949 * src/hildon-program.c
2950 * src/hildon-stackable-window.c
2951 * src/hildon-window.c:
2952 Documentation updates
2954 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2956 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2957 (hildon_window_stack_new, +hildon_window_stack_set_property)
2958 (+hildon_window_stack_get_property)
2959 (hildon_window_stack_class_init)
2960 (+hildon_window_stack_set_window_group)
2961 (+hildon_window_stack_get_window_group):
2962 Make the window group a construction property.
2964 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2966 * doc/hildon-sections.txt
2967 * src/hildon-stackable-window-private.h
2968 * src/hildon-stackable-window.h
2969 * src/hildon-stackable-window.c
2970 (-hildon_stackable_window_set_app_menu)
2971 (-hildon_stackable_window_get_app_menu)
2972 (-hildon_stackable_window_toggle_menu)
2973 (-hildon_stackable_window_finalize)
2974 (hildon_stackable_window_class_init)
2975 (hildon_stackable_window_init)
2976 * src/hildon-window-private.h
2977 * src/hildon-window.h
2978 * src/hildon-window.c (hildon_window_init)
2979 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2980 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2981 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2982 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2983 Moved all HildonAppMenu code to HildonWindow. The menu does not
2984 require a HildonStackableWindow anymore.
2986 * src/hildon-app-menu.c
2987 * src/hildon-program.c
2988 * examples/hildon-app-menu-example.c (main):
2989 Update examples and documentation to reflect HildonAppMenu
2992 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-remote-texture.c
2995 * src/hildon-animation-actor.c:
2996 Don't include unused private headers.
2998 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3000 * src/hildon-program-private.h
3001 * src/hildon-program.c
3002 (hildon_program_set_common_menu)
3003 (hildon_program_get_common_menu)
3004 (hildon_program_set_common_app_menu)
3005 (hildon_program_get_common_app_menu):
3006 Change common menu pointers from GtkWidget* to GtkMenu* and
3007 HildonAppMenu* to avoid unnecessary casts.
3009 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3011 * src/hildon-window.c (hildon_window_set_main_menu):
3012 Removed incorrect 'Since:' tag
3014 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3016 * src/hildon-pannable-area.c,
3017 (hildon_pannable_area_calculate_velocity): We use now the
3018 RATIO_TOLERANCE here to check the distance, fixed typo in the
3020 (hildon_pannable_area_motion_notify_cb): We have to set the type
3021 and time even if we are not sending the motion.
3023 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3025 * doc/hildon-sections.txt
3026 * src/hildon-app-menu.h
3027 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3028 (+hildon_app_menu_get_filters): New methods to get the contents of
3031 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3034 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3036 * src/hildon-app-menu.c (hildon_app_menu_popup):
3039 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3041 * src/hildon-window.h
3042 * src/hildon-window.c (+hildon_window_get_main_menu)
3043 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3044 and deprecated hildon_window_get_menu().
3046 * src/hildon-stackable-window.h
3047 * src/hildon-stackable-window.c
3048 (+hildon_stackable_window_set_app_menu)
3049 (+hildon_stackable_window_get_app_menu)
3050 (hildon_stackable_window_set_main_menu): Created
3051 hildon_stackable_window_{get,set}_app_menu() and deprecated
3052 hildon_stackable_window_set_main_menu().
3054 * doc/hildon-sections.txt
3055 * examples/hildon-app-menu-example.c (main)
3056 * src/hildon-app-menu.c
3057 * src/hildon-program.c:
3058 Updated examples and documentation.
3060 Fixes: NB#103758 (No way to obtain a menu from a
3061 HildonStackableWindow)
3063 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3068 * configure.ac: Bump version.
3069 * debian/changelog: Updates.
3071 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3073 * examples/hildon-remote-texture-example.c: Include
3074 hildon-remote-texture.h explicitely.
3075 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3076 applications not defining _XOPEN_SOURCE which don't require this header.
3078 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3080 * doc/hildon-sections.txt
3081 * src/hildon-app-menu.h
3082 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3083 New function to pop up a HildonAppMenu
3085 * src/hildon-stackable-window.c
3086 (hildon_stackable_window_toggle_menu):
3087 Use hildon_app_menu_popup() to show the menu.
3089 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-app-menu.c (hildon_app_menu_show)
3092 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3093 menu if there's another window between it and its parent window.
3095 Fixes: NB#100468 (Application menu window is launched even when a
3096 new secondary-window/dialog is pending to be shown/realized)
3098 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3100 * src/hildon-window-stack.c (hildon_window_stack_push)
3101 (hildon_window_stack_pop_and_push):
3102 Don't forget to push/pop the first window.
3103 Reverse the window list before calling _push_list()
3105 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-picker-button.h
3108 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3109 Remove "value_changed" slot to avoid ABI breakage
3111 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3113 * src/hildon-pannable-area.c,
3114 (hildon_pannable_area_realize),
3115 (hildon_pannable_area_unrealize),
3116 (hildon_pannable_draw_vscroll),
3117 (hildon_pannable_draw_hscroll): Changed the method to handle the
3118 GC used to draw the transparent scrollbar, this way we avoid
3119 creating the GC all the time when drawing the scrollbars.
3121 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3123 * src/hildon-pannable-area.c,
3124 (hildon_pannable_area_init),
3125 (hildon_pannable_area_remove): Removed some unnecessary casts.
3126 (hildon_pannable_area_dispose): Disconnected some signals before
3127 releasing the adjustments.
3129 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3131 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3132 Make sure that all widgets contained in the toolbar are shown.
3134 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3136 * doc/hildon-sections.txt
3137 * src/hildon-picker-button.h
3138 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3139 (_selection_changed, hildon_picker_button_on_dialog_response)
3140 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3141 New hildon_picker_button_value_changed() method.
3144 * src/hildon-picker-button-private.h
3145 * src/hildon-picker-button.c (hildon_picker_button_init)
3146 (+hildon_picker_button_disable_value_changed): Add protected
3147 function for disabling the "value-changed" signal.
3149 * src/hildon-date-button.c (hildon_date_button_set_date):
3150 Don't emit "value-changed" for each one of the three columns.
3152 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3153 before actual change of values)
3155 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3157 * src/hildon-pannable-area.c,
3158 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3159 for the treeview overshooting.
3161 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-banner.c (+hildon_banner_bind_style):
3164 Renamed from hildon_banner_bind_label_style(), now naming the
3165 banner itself as well.
3166 (hildon_banner_show_information),
3167 (hildon_banner_show_information_with_markup),
3168 (hildon_banner_show_animation), (hildon_banner_show_progress):
3169 Name the widgets and labels, based on their type.
3171 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3174 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-note.c (hildon_note_set_property): call
3177 hildon_note_rename() on HildonNote:note-type set.
3178 (hildon_note_rename): Name the note and its label, based on the
3179 HildonNote:note-type property.
3181 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3184 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3186 * src/hildon-pannable-area.c,
3187 (hildon_pannable_area_class_init),
3188 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3189 panning parameters, increased SPS and deceleration factor. Added
3190 also a margin to control fake directions.
3192 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3194 Patch by Sven Herzberg (sven@imendio.com)
3196 * configure.ac: Add missing AM_PROG_CC_C_0
3197 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3199 See NB#101420 (Update unit tests and fix make check)
3201 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3203 This patch was applied before but reverted because it caused
3204 problems, we have changed the main condition and tested the
3205 regressions we detected before and they work ok. We have done a
3206 complete review of the topmost algorithm in order to get a more
3209 * src/hildon-pannable-area.c,
3210 (hildon_pannable_area_get_topmost): Added a new parameter to
3211 filter the the windows that do not include those events.
3212 (hildon_pannable_area_button_press_cb),
3213 (hildon_pannable_area_button_release_cb),
3214 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3215 topmost function, we have added the new parameter.
3217 Fixes: NB#97458 (Pannable area prevents propagation of button
3220 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3223 if all columns in the selector have an item selected.
3224 (_on_dialog_response): Stop "response" signal emission if there is
3225 any selector column without selected items.
3227 Fixes: NB#101889 (Picker dialog should not close when nothing is
3228 selected in multiple selection list)
3230 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3232 * src/hildon-font-selection-dialog.c
3233 (hildon_font_selection_dialog_class_init),
3234 (hildon_font_selection_dialog_init): Remove the preview
3235 button and dialog, since previewing with default theming is likely
3236 to be overcomplicated. The :preview property has now no effect.
3237 Update documentation blurbs to inform about this.
3239 Fixes: NB#92297 (Preview content is not clearly visible for
3240 default colour text)
3242 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3244 Reviewed the geometry that handles the children size and
3245 scrollbar, now it tries a size and reviews the results depending
3246 on the scrollbars visibility.
3248 * src/hildon-pannable-area.c,
3249 (hildon_pannable_area_realize): Fixed a typo.
3250 (hildon_pannable_area_child_allocate_calculate): Added this
3251 function to calculate the child allocation.
3252 (hildon_pannable_area_size_allocate): Reviewed the allocation
3254 (hildon_pannable_area_check_scrollbars),
3255 (hildon_pannable_area_refresh): Refactored refresh function, this
3256 way we can call the code handling the scrollbars without causing a
3257 size_request, it is interesting in the allocate.
3258 (hildon_pannable_area_init): Replace the callbacks of the
3259 value_changed and changed signals to propertly deal with the
3261 (hildon_pannable_area_grab_notify),
3262 (hildon_pannable_area_initial_effect),
3263 (hildon_pannable_area_launch_fade_timeout),
3264 (hildon_pannable_area_adjust_changed),
3265 (hildon_pannable_area_adjust_value_changed),
3266 (hildon_pannable_area_redraw),
3267 (hildon_pannable_area_button_press_cb),
3268 (hildon_pannable_area_button_release_cb),
3269 (hildon_pannable_area_scroll_cb),
3270 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3271 code and use the new functions adjust_changed and
3272 adjust_value_changed.
3274 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3275 Contact editor dialog)
3277 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3282 * configure.ac: Bump version.
3283 * debian/changelog: Updates.
3285 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3287 * src/hildon-pannable-area.c,
3288 (hildon_pannable_area_get_topmost),
3289 (hildon_pannable_area_button_press_cb),
3290 (hildon_pannable_area_button_release_cb),
3291 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3292 topmost function adding the event mask. We have to try a
3293 differente approach because it is still causing problems (NB#9745,
3296 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-banner.c:
3299 Update the maximum width of timed banners.
3300 (force_to_wrap_truncated): Enforce the maximum text width if the
3303 Fixes: NB#102413 (The text margins (wrapping) in information
3304 banner should be HILDON_MARGIN_TRIPLE)
3306 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3308 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3310 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3311 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3312 bound when calculating the scroll indicator position.
3314 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3315 treat ->lower correctly)
3317 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3320 expose event handling, since it is not necessary to draw the focus
3323 Fixes: NB#102467 (Do not show highlight on the text in
3326 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3329 full height of the toolbar for the button and the label.
3331 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3334 padding before the label and after the button.
3336 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3340 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3341 Add a GtkVSeparator between the button and the back arrow.
3342 Let the button have automatic size.
3343 Set a name to the widget for theming handling.
3345 Fixes: NB#101793 (Make edit toolbar the same height as window
3346 title bar (use title area theming))
3348 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-helper.c (attach_new_color_element): Fix memory
3353 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3355 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3357 * examples/hildon-button-example.c (common_buttons_window): Don't
3360 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3362 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3363 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3365 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-gtk.c: Check that the window is realized.
3369 Fixes: NB#102225 (Crash setting the progress indicator to a non
3372 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3375 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3376 instead of modifying the one in the widget style.
3378 Fixes: NB#101043 (Second row of all the command button are
3379 displayed in transparent mode.)
3381 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3383 * src/hildon-date-button.c
3384 * src/hildon-time-button.c: Add gettext macros
3386 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-date-button.c (hildon_date_button_new):
3389 * src/hildon-time-button.c (hildon_time_button_new_step):
3390 Use new logical strings to set the button default title.
3392 Fixes: NB#99915 (Date and Time options are not localised in Date
3395 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3397 * src/hildon-pannable-area.c
3398 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3399 the PANNING_THRESHOLD.
3401 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3403 * src/hildon-pannable-area.c,
3404 (hildon_pannable_area_class_init): Increased the maximum speed.
3405 (hildon_pannable_area_get_property),
3406 (hildon_pannable_area_set_property),
3407 (hildon_pannable_area_timeout): Added a new low friction mode, it
3408 allows the user avoid friction when launching the widget fast
3409 enough. It is interesting to traverse long lists.
3411 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3413 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3414 (+hildon_stackable_window_delete_event): Ignore delete events if
3415 the window is not the topmost one.
3417 Fixes: NB#101698 (Back button long press and delete-event handling)
3419 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3421 * src/hildon-pannable-area.c,
3422 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3423 gtk-dnd-drag-threshold, it was too big. We have defined our own
3424 dnd define and set a smaller value: PANNIG_THRESHOLD.
3426 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3429 user-defined icons, use always the default one.
3431 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3433 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3435 This patch was applied before but reverted because it caused
3436 problems, we have changed the main condition and tested the
3437 regressions we detected before and they work ok.
3439 * src/hildon-pannable-area.c,
3440 (hildon_pannable_area_get_topmost): Added a new parameter to
3441 filter the the windows that do not include those events. Added
3442 also a condition when finding the window to filter windows that do
3443 not ask for those events.
3444 (hildon_pannable_area_button_press_cb),
3445 (hildon_pannable_area_button_release_cb),
3446 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3447 topmost function, we have added the new parameter.
3449 Fixes: NB#97458 (Pannable area prevents propagation of button
3452 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3454 * tests/check-hildon-color-button.c (START_TEST): do not leak
3457 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3459 * src/hildon-font-selection-dialog.c
3460 (hildon_font_selection_dialog_get_preview_text): Return NULL
3461 instead of FALSE on the g_return_val_if_fail().
3463 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3465 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3466 * src/hildon-date-selector.c
3467 (hildon_date_selector_select_current_date):
3468 Do not compare unsigned integers to be greater than or equal 0,
3469 because it's always TRUE.
3471 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3474 (hildon_date_selector_constructor): Do not select the current
3475 date until we are handle the "changed" signal, to avoid having bogus
3476 elements in the days model.
3478 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3480 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3481 for num_days, since _month_days() can return a negative value.
3483 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3485 * src/hildon-caption.c (hildon_caption_size_allocate):
3486 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3487 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3489 Initialize allocation variables to 0, to avoid eventually using
3490 unitialized variables.
3492 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3494 * src/hildon-bread-crumb-trail.c
3495 (hildon_bread_crumb_trail_size_allocate):
3496 * src/hildon-calendar.c (hildon_calendar_set_background):
3497 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3498 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3499 * src/hildon-seekbar.c (hildon_seekbar_init):
3500 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3501 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3502 * src/hildon-touch-selector-entry.c
3503 (hildon_touch_selector_get_text_from_model):
3504 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3505 * src/hildon-window.c (hildon_window_finalize):
3507 Remove many unused variables.
3509 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3511 * src/hildon-seekbar.c: (hildon_seekbar_init),
3512 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3514 Remove unnecessary g_assert() calls.
3516 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3518 * src/hildon-caption.c: (hildon_caption_expose),
3519 (hildon_caption_set_property), (hildon_caption_init),
3520 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3521 (hildon_caption_size_request), (hildon_caption_size_allocate),
3522 (hildon_caption_forall), (hildon_caption_set_separator),
3523 (hildon_caption_activate), (hildon_caption_set_child_expand),
3524 (hildon_caption_set_label_text),
3525 (hildon_caption_get_label_alignment):
3527 Remove unnecessary g_assert() calls.
3529 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3531 * src/hildon-banner.c
3532 (hildon_banner_map, hildon_banner_init): Make banner temporary
3533 before mapping it to avoid closing other temporary windows, but
3534 make it non-temporary afterwards to avoid being closed by other
3535 non-temporary windows.
3536 (-hildon_banner_client_event, hildon_banner_init):
3537 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3539 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3542 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3544 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3547 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3549 * src/hildon-remote-texture.c
3550 * src/hildon-remote-texture.h
3551 * src/hildon-remote-texture-private.h
3552 * examples/hildon-remote-texture-example.c:
3553 Updates/fixes to remote-texture and its example.
3555 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3557 Patch by Mox Soini (ext-mox.soini@nokia.com)
3559 * src/hildon-code-dialog.c: Update logical id.
3560 * src/hildon-set-password-dialog.c: Update logical id.
3562 Fixes: NB#100646 (Logical strings is shown for ok in set
3563 password,Password needed dialogs)
3565 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3568 * src/hildon-remote-texture.c
3569 * src/hildon-remote-texture.h
3570 * src/hildon-remote-texture-private.h
3572 Added remote texture widget (for Clutter shared memory textures)
3574 * examples/hildon-remote-texture-example.c
3575 * examples/Makefile.am
3576 Added example file for remote texture usage
3578 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3580 * configure.ac: post release version bump.
3581 * debian/changelog: version bump.
3583 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3588 * configure.ac: Bump version.
3589 * debian/changelog: Updates.
3591 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3593 * src/hildon-date-selector.c (hildon_date_selector_init)
3594 (hildon_date_selector_constructor): Don't connect to the "changed"
3595 signal until the selector is completely constructed.
3597 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3599 * src/hildon-touch-selector.c: (_create_new_column),
3600 (hildon_touch_selector_append_column),
3601 (hildon_touch_selector_set_column_selection_mode),
3602 (hildon_touch_selector_set_active),
3603 (hildon_touch_selector_select_iter):
3604 Emit the HildonTouchSelector::changed signal every time selection
3605 is changed in any of the methods above. This behavior was already
3606 documented but not fully functional.
3608 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3609 selection is programmatically changed)
3611 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3613 * doc/hildon-sections.txt: Remove obsolete icon
3614 sizes from here as well.
3616 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3618 * examples/hildon-stackable-window-example.c (add_window): Remove
3621 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3623 * src/hildon-app-menu.c
3624 (hildon_app_menu_show): Check whether the parent window of a menu
3625 is topmost before popping it up.
3627 Fixes: NB#100468 (Application menu window is launched even when a
3628 new secondary-window/dialog is pending to be shown/realized.)
3630 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3632 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3635 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3637 Patch by Mox Soini (ext-mox.soini@nokia.com)
3639 * src/hildon-banner.c: (hildon_banner_show_animation):
3640 use stylus size instead of obsolete note size.
3641 * src/hildon-defines.h: Update icon sizes.
3643 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3645 * src/hildon-touch-selector-entry.c:
3646 (hildon_touch_selector_entry_init): Disable unsupported
3648 (hildon_touch_selector_entry_get_text_column): Emit a warning
3649 if an unsupported input modes is used and explicitile state
3650 these modes in the documentation.
3652 Fixes: NB#99802 (Hildon touch selector entry not working properly
3653 for some of the input modes)
3655 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3657 * src/hildon-pannable-area.c,
3658 (hildon_pannable_area_init): Added the changed signal handlers of
3661 Fixes: NB#100320 (HildonPannableArea does not listen to
3662 GtkAdjustment "change" signals)
3664 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3666 * doc/hildon-sections.txt
3667 * src/hildon-window-private.h
3668 * src/hildon-window.h
3669 * src/hildon-window.c (hildon_window_init)
3670 (hildon_window_realize, hildon_window_unrealize)
3671 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3672 (hildon_window_size_request, hildon_window_size_allocate)
3673 (hildon_window_forall, hildon_window_show_all)
3674 (hildon_window_destroy, +paint_edit_toolbar)
3675 (+hildon_window_set_edit_toolbar):
3676 New hildon_window_set_edit_toolbar() method, to add a
3677 HildonEditToolbar to a window without having to pack it manually.
3679 Reorganize hildon_window_size_allocate()
3681 * src/hildon-edit-toolbar.c: Update documentation.
3683 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3684 example to use the new API.
3686 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3688 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3690 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3691 Remove from stack before calling parent's hide.
3693 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3695 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3696 window is removed from the middle of the stack, update the
3697 transiency of the previous one.
3699 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3702 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3704 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3705 block/unblock the signal handler if it's not actually being used.
3706 Fixes some critical warnings.
3708 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3710 Based on a patch by Iván Gómez (igomez@igalia.com)
3712 * src/hildon-banner.c
3716 * src/hildon-pannable-area.c
3717 * src/hildon-picker-dialog.c
3718 * src/hildon-wizard-dialog.h
3719 * src/hildon-wizard-dialog.c: Documentation updates.
3721 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3722 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3724 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3726 * configure.ac: post release version bump.
3727 * debian/changelog: version bump.
3729 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3734 * configure.ac: Bump version.
3735 * debian/changelog: Updates.
3737 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3739 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3740 a stock icon nor change the relief of the back arrow.
3742 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3743 graphics from theme)
3745 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3747 * src/hildon-button.c (hildon_button_set_alignment): Use
3748 priv->alignment if the button has no child yet.
3750 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-button.c: (hildon_button_init): Set the
3753 button style during initialization to give it the proper
3756 Fixes: NB#99713 (HildonButton value label color is wrong)
3758 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3760 * src/hildon-touch-selector.c: Document
3761 hildon_touch_selector_center_on_selected()
3763 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3765 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3766 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3767 all menu items, but not the menu itself.
3768 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3769 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3770 items after adding them to the menu so keyboard accelerators work.
3771 (hildon_app_menu_show): Don't show the menu if it contains items
3772 but none of them are visible.
3774 * examples/hildon-app-menu-example.c (create_menu): Use
3775 gtk_widget_show_all() to show all menu items.
3777 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3779 * src/hildon-picker-dialog.c:
3780 (-_update_title_on_selector_changed_cb),
3781 (-_dialog_update_title): Removed.
3782 (_select_on_selector_changed_cb), (_on_dialog_response),
3783 (on_selector_columns_changed): Do not update the dialog title.
3784 (setup_interaction_mode): Do not connect to
3785 HildonTouchSelector::changed signal if there's a "done" button, as
3786 the dialog title doesn't need to be updated.
3788 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3791 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3793 Patch by Kristian Rietveld (kris@imendio.com)
3795 * src/hildon-touch-selector.c: (_create_new_column): Use new
3796 GtkTreeView::hildon-row-tapped signal to react to user interactions
3797 instead of ::changed.
3799 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3800 with some dynamic tree model)
3802 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3804 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3805 (+screen_size_changed, +label_size_request)
3806 (hildon_note_class_init): Make the Hildon information note have a
3807 minimum height, and make its text hvae a maximum width.
3809 Fixes: NB#98614 (Hildon information note (background) should have
3810 minimum height and maximum text width)
3812 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3814 * src/hildon-banner.h
3815 * src/hildon-banner.c (hildon_banner_show_information)
3816 (hildon_banner_show_informationf)
3817 (hildon_banner_show_information_with_markup): Update documentation
3818 to reflect that the icon_name parameter is not used anymore.
3819 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3820 Remove all code from these functions and mark them as deprecated.
3821 (hildon_banner_show_progress): Mark as deprecated.
3823 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3825 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3827 * src/hildon-pannable-area.c,
3828 (hildon_pannable_area_class_init),
3829 (tranparency_color),
3830 (hildon_pannable_draw_vscroll),
3831 (hildon_pannable_draw_hscroll),
3832 (hildon_pannable_area_expose_event): Added a new way to render the
3833 scrollbars of the pannable area avoiding using cairo at all. This
3834 way we improve the performance of the pannable area rendering. The
3835 cairo rendering procedure is still in the code, we can control
3836 which one to use changing the value of the define
3837 USE_CAIRO_SCROLLBARS.
3839 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3841 * configure.ac: post release version bump.
3842 * debian/changelog: version bump.
3844 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3849 * configure.ac: Bump version.
3850 * debian/changelog: Updates.
3852 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3855 banners instead of destroying them when they receive a button
3858 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3860 Reverted commit 34028, it was causing regressions, probably the
3861 topmost condition is not correct, we have to check it in more
3862 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3863 propagation of button press events)
3865 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3868 that the selection is not empty before attempting to retrieve the
3869 current ampm selection.
3871 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3873 * src/hildon-picker-button.c:
3874 (hildon_picker_button_on_dialog_response): Directly update the
3875 button contents when required instead of calling _selection_changed.
3877 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-program.c (hildon_program_update_top_most): Update
3880 'is-topmost' property also when wm_hints is not set.
3882 Fixes: NB#98383 (is-topmost signal is not emitted when task
3883 switcher is clicked.)
3885 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3887 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3891 * src/hildon-animation-actor.c,
3892 * src/hildon-animation-actor.h: Added the animation actor class,
3893 this widget represents an animation actor for WM-assisted
3894 animation effects in the Hildon framework.
3896 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3898 * src/hildon-window-stack-private.h
3899 * src/hildon-window-stack.c
3900 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3901 Avoid calling gtk_widget_show() again indirectly from
3902 hildon_stackable_window_show()
3904 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3906 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3909 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3911 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3912 (hildon_time_selector_init): Move the construction of the hours and
3913 ampm columns to the constructor to preserve the order the columns
3916 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3918 * src/hildon-picker-dialog.c:
3919 (hildon_picker_dialog_class_init): Connect a realize method.
3920 (+hildon_picker_dialog_realize): Setup the interaction mode here
3922 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3923 yet, do it during the realize instead.
3924 (_on_dialog_response):
3925 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3926 if the widget is not realized, to avoid the dialog response before it
3929 Avoid premature responses in the HildonPickerDialog that can cause it
3930 to be hidden before it's even shown.
3932 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3934 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3935 (on_selector_columns_changed), (requires_done_button),
3936 (+prepare_action_area), (setup_interaction_mode),
3937 (_hildon_picker_dialog_set_selector):
3939 Split the interaction mode setup into preparation of the
3940 action area (prepare_action_area()) and the connection of
3941 the signals in setup_interaction_mode() and update the code to
3944 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3946 * src/hildon-pannable-area.c,
3947 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3948 per second to 15, we will check if this is ok regarding
3951 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3953 * src/hildon-pannable-area.c,
3954 (hildon_pannable_axis_scroll): Avoid resize if we already have
3955 reached overshoot_max.
3957 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3959 * src/hildon-pannable-area.c,
3960 (hildon_pannable_area_init),
3961 (hildon_pannable_area_realize),
3962 (hildon_pannable_area_size_allocate),
3963 (hildon_pannable_area_map),
3964 (hildon_pannable_area_unmap),
3965 (hildon_pannable_draw_vscroll),
3966 (hildon_pannable_draw_hscroll),
3967 (hildon_pannable_area_expose_event),
3968 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3969 pannable are to avoid the expose events go to the window and
3970 redraw the window. We save this way that part of the stack and the
3971 paint_boxes. We had to change the positions of the elements when
3974 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3976 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3977 * src/hildon-color-chooser-dialog.c:
3978 (hildon_color_chooser_dialog_init):
3979 * src/hildon-font-selection-dialog.c:
3980 (hildon_font_selection_dialog_init),
3981 (hildon_font_selection_dialog_show_preview):
3982 * src/hildon-get-password-dialog.c:
3983 * src/hildon-login-dialog.c:
3984 * src/hildon-set-password-dialog.c:
3985 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3986 * src/hildon-time-picker.c: (hildon_time_picker_init):
3988 Remove obsolete logical string IDs and update to the appropriate ones.
3990 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3992 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3994 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3995 that happens if the window hasn't been realized yet.
3997 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3998 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4000 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4002 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4003 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4006 Fixes: NB#98537 (Device hangs in account settings dialog)
4008 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4010 * configure.ac: post release version bump.
4011 * debian/changelog: version bump
4013 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4018 * configure.ac: Bump version.
4019 * debian/changelog: Updates.
4021 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4023 Added a new function to the HildonTimeButton widget that allows to
4024 change the step of the minutes in the selector associated with the
4025 button: hildon_time_button_new_step
4027 * src/hildon-time-button.c,
4028 (hildon_time_button_init),
4029 (hildon_time_button_new),
4030 (hildon_time_button_new_step):
4031 * src/hildon-time-button.h: Added the new function and refactored
4033 * examples/hildon-time-button-example.c,
4034 (main): We have replaced the function without parameters with the
4035 function with the steps set to 5
4037 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4039 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4041 * src/hildon-time-selector.c,
4042 (hildon_time_selector_class_init),
4043 (hildon_time_selector_constructor),
4044 (hildon_time_selector_get_property),
4045 (hildon_time_selector_set_property),
4046 (_create_minutes_model),
4047 (hildon_time_selector_new_step),
4048 (hildon_time_selector_set_time),
4049 * src/hildon-time-selector.h: Added a new property to the
4050 HildonTimeSelector (minutes-step), we use that property to control
4051 the steps between the minutes in the list of the selector. We have
4052 added a new function to the API to create a widget changing the
4053 step: hildon_time_selector_new_step.
4055 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4057 * src/hildon-time-selector.c,
4058 (hildon_time_selector_class_init),
4059 (hildon_time_selector_constructor),
4060 (hildon_time_selector_init): Overrided the construct function when
4061 creating the time selector object. We have moved the minutes model
4062 handling code from the init to the new construction function:
4063 hildon_time_selector_constructor.
4065 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4067 * examples/hildon-date-button-example.c: (main): Use the new
4068 hildon_date_button_new_with_year_range() method in the example.
4069 * src/hildon-date-button.c:
4070 (+hildon_date_button_new_with_year_range): New public method
4071 to conveniently create a HildonDateButton with a custom year range
4072 in its HildonDateSelector.
4073 * src/hildon-date-button.h: Add the new public method definition.
4075 Fixes: NB#97908 (Not possible to change the year range in
4076 HildonDateSelector/HildonDateButton)
4078 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4080 * src/hildon-date-selector.c:
4081 (+hildon_date_selector_set_property),
4082 (+hildon_date_selector_get_property),
4083 (hildon_date_selector_class_init): Install new properties "min-year"
4084 and "max-year" to define boundaries for the year column.
4085 (_create_year_model): Use the boundary properties to populate the model.
4086 (+hildon_date_selector_new_with_year_range): New public method to
4087 create a HildonDateSelector with a user defined year range.
4088 (hildon_date_selector_select_current_date): Use the new boundaries to
4089 calculate the iterator of current year.
4090 * src/hildon-date-selector.h: Add the new public method definition.
4092 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4095 Install a constructor method.
4096 (+hildon_date_selector_construct_ui): construct the widget.
4097 (+hildon_date_selector_constructor): new constructor.
4098 (+hildon_date_selector_init): move out widget construction code to
4099 the new constructor.
4101 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4104 that there's actually a month or year selected before obtaining them.
4105 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4106 of the HildonTouchSelector::changed signal, as it was emitted on every
4107 single item selection.
4109 Fix some warnings and possible crashers due to the selection restoring.
4111 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4113 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4114 the signal handlers only after creating the dialog instead of on every
4117 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4119 * src/hildon-button.c (hildon_button_init)
4120 * src/hildon-check-button.c (hildon_check_button_init)
4121 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4122 focus when clicked by default.
4124 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4126 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4129 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4131 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4132 Alejandro G. Castro (alex@igalia.com)
4134 * src/hildon-picker-dialog.c:
4135 (hildon_picker_dialog_class_init): install new "center-on-show"
4137 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4138 (hildon_picker_dialog_set_property): add setter code for the new
4140 (hildon_picker_dialog_get_property): add getter code for the new
4142 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4143 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4146 Fixes: NB#92849 (Selected item is not always visible when
4147 HildonTouchSelector is shown)
4149 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4151 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4152 Alejandro G. Castro (alex@igalia.com)
4154 * src/hildon-touch-selector.c:
4155 (_create_new_column): Do not connect to the "realize" signal of the
4157 (hildon_touch_selector_append_column): center on the selected items
4158 when a new column is appended.
4159 (hildon_touch_selector_select_iter): Factor out the code to select a
4160 column to hildon_touch_selector_scroll_to().
4161 (+search_nearest_element): Method to retrieve the nearest selected
4162 element to the visible area of the pannable area in a column.
4163 (+on_realize_cb): scroll to the initially selected item.
4164 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4165 the pannable area is realized, otherwise delay this until it is.
4166 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4167 selected items of a given column.
4168 (+hildon_touch_selector_center_on_selected): Public method to center
4169 all columns on the nearest selected item.
4170 * src/hildon-touch-selector.h: Add definition for
4171 hildon_touch_selector_center_on_selected().
4173 Implement public API to ensure visibility of all selected items in
4174 a HildonTouchSelector.
4176 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4178 Fixed a problem in the fading when calling the scroll_to API, and
4179 improve scrollbar fading handling.
4181 * src/hildon-pannable-area.c,
4182 (hildon_pannable_area_grab_notify): avoid the timeout when the
4184 (hildon_pannable_area_button_press_cb),
4185 (hildon_pannable_area_motion_notify_cb): Code style changes.
4186 (hildon_pannable_area_button_release_cb): Review the conditions
4187 when releasing the mouse button to avoid unrequired fading
4189 (hildon_pannable_area_scroll_to): Do not calculate and set the
4190 velocity if the scroll is not required.
4192 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4194 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4195 Don't check whether the new selector is NULL: it cannot be.
4196 Hold a reference to the selector while doing the replacement.
4198 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4201 unnecessary size_request in a removed widget.
4203 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4205 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4206 an unnecessary reference tracking that was leaking.
4208 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4210 Added delayed motion notify event handling, this way we can
4211 discard redrawing if more than 25 events arrive per second.
4213 * src/hildon-pannable-area.c,
4214 (hildon_pannable_area_init): Initialized the new private atributes
4215 controlling this timeout
4216 (hildon_pannable_area_dispose): Remove the timeout that controls
4217 the motion notify events.
4218 (hildon_pannable_area_scroll): Added a condition to control the
4219 use of the acceleration.
4220 (hildon_pannable_area_motion_event_scroll_timeout),
4221 (hildon_pannable_area_motion_event_scroll): Added this two
4222 functions, they handle the motion notify events inside the
4224 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4225 to the scroll method with the new function.
4226 (hildon_pannable_area_button_release_cb): We have to remove the
4227 timeout handler and move to the last position if the last motion
4228 events were not handled.
4230 Fixes: NB#97028 (Pannable area updates on every motion event)
4232 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4234 * src/hildon-pannable-area.c,
4235 (hildon_pannable_area_get_topmost): Added a new parameter to
4236 filter the the windows that do not include those events. Added
4237 also a condition when finding the window to filter windows that do
4238 not ask for those events.
4239 (hildon_pannable_area_button_press_cb),
4240 (hildon_pannable_area_button_release_cb),
4241 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4242 topmost function, we have added the new parameter.
4244 Fixes: NB#97458 (Pannable area prevents propagation of button
4247 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4249 * src/hildon-pannable-area.c,
4250 (hildon_pannable_area_initial_effect): Added controls before
4251 launching the timeout and the idle functions.
4252 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4253 of the method, in some situations it can return with TRUE and 0 in
4255 (hildon_pannable_area_button_press_cb): We do not need to set
4256 DELAY for fading out here.
4258 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4260 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4262 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4263 post-cleaning if the selection is not NULL.
4265 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4268 all items before restoring the selection.
4270 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4272 * src/hildon-touch-selector.c:
4273 (+hildon_touch_selector_unselect_all):
4274 * src/hildon-touch-selector.h: New API to unselect all items in a
4275 column of the touch selector.
4277 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4279 * src/hildon-pannable-area.c,
4280 (hildon_pannable_area_redraw): Added a call to the refresh
4281 function inside the redraw because apparently in some cases the
4282 change in the adjustment does not imply a size allocate.
4284 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4285 despite the view not being scrollable)
4287 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4289 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4290 leak. Check for NULL before attempting to set the window title.
4292 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4294 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4295 whether to show or not the 'Done' button each time the dialog is
4296 shown, as it depends on the HildonTouchSelector selection mode.
4298 Fixes: NB#96226 (In multiple selection mode Done button is shown
4299 sometimes in listpicker)
4301 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4304 for the number of columns in the HildonTouchSelector more than once.
4306 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4308 * src/hildon-touch-selector.c: Minor documentation fixes.
4310 * src/hildon-picker-dialog.c (+_dialog_update_title)
4311 (_select_on_selector_changed_cb)
4312 (_update_title_on_selector_changed_cb)
4313 (on_selector_columns_changed): Update dialog title when there's no
4314 'Done' button and also when the number of columns in the selector
4318 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4319 (+_selection_changed, hildon_picker_button_on_dialog_response)
4320 (hildon_picker_button_selector_selection_changed)
4321 (+hildon_picker_button_selector_columns_changed)
4322 (hildon_picker_button_set_selector): Update button value and emit
4323 'value-changed' when the number of columns in the selector
4327 Fixes: NB#96225 (Dialog titles are not shown according to the
4328 values selected in the list picker)
4330 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4332 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4333 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4334 New "arrow-width" and "arrow-height" style properties to set the
4335 size of the arrow button.
4336 Set name of arrow button ("hildon-edit-toolbar-arrow").
4338 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4339 graphics from theme)
4341 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-picker-button.c:
4344 (hildon_picker_button_selector_selection_changed): Use
4345 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4346 the dialog is present.
4348 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4349 the selection is accepted in the dialog)
4351 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4353 * src/hildon-color-chooser.h
4354 * src/hildon-color-chooser-dialog.h:
4355 Added G_BEGIN_DECLS and G_END_DECLS
4357 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4359 (_clean_current_selection): plug a leak in the list.
4361 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4363 * src/hildon-picker-dialog.c:
4364 (+free_path_list): Method to free a GList of GtkTreePaths.
4365 (_clean_current_selection), (_save_current_selection),
4366 (_restore_current_selection): Save the current selection in
4367 as a list of lists, to support multiple selection properly.
4369 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4371 patch by Claudio Saavedra (csaavedra@igalia.com)
4373 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4374 Store the press position.
4375 (+hildon_text_view_button_release_event): If the release position is
4376 close enough to the press position, move the cursor here. Otherwise,
4378 (hildon_text_view_class_init): Override GtkTextView press, release, and
4379 motion event handlers, disabling this way text selection through
4380 pointer interaction, and allowing the container widget to handle the
4383 Fixes: NB#95828 (HildonTextView functionality)
4385 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4387 Based on a patch by Iván Gómez (igomez@igalia.com)
4389 * src/hildon-button.[ch]
4390 * src/hildon-calendar.c
4391 * src/hildon-check-button.c
4392 * src/hildon-date-editor.c
4393 * src/hildon-date-selector.c
4394 * src/hildon-picker-button.c
4395 * src/hildon-time-editor.c
4396 * src/hildon-time-selector.c
4397 * src/hildon-touch-selector.[ch]:
4398 Documentation updates
4400 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4402 * src/hildon-pannable-area.c,
4403 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4404 threshold, it was required due to X events handling.
4406 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4408 * src/hildon-pannable-area.c,
4409 (hildon_pannable_area_grab_notify),
4410 (hildon_pannable_area_initial_effect),
4411 (hildon_pannable_area_button_press_cb),
4412 (hildon_pannable_area_button_release_cb),
4413 (hildon_pannable_area_scroll_cb),
4414 (hildon_pannable_area_scroll_to): Review the timeout management of
4415 the scrollbar, the frecuency was incorrectly set.
4417 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-picker-button.c:
4420 (+hildon_picker_button_on_dialog_response),
4421 (hildon_picker_button_clicked): Present the dialog instead of
4422 running it with gtk_dialog_run().
4424 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4427 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4429 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4430 (hildon_app_menu_finalize): When a window is hidden it doesn't
4431 emit notify::is-topmost, so make sure than the menu also
4432 disappears in that case.
4433 (parent_window_topmost_notify): Renamed from parent_window_hidden
4435 Fixes: NB#94460 (stackable window's menu is not closed when its
4438 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4440 * src/hildon-touch-selector-entry.c:
4441 (+hildon_touch_selector_entry_set_input_mode),
4442 (+hildon_touch_selector_entry_get_input_mode):
4443 * src/hildon-touch-selector-entry.h: New methods to access the input
4444 mode in the selector's entry.
4446 Fixes: NB#93410 (API required for setting IM mode in
4447 HildonTouchSelectorEntry)
4449 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4451 * configure.ac: post release version bump.
4452 * debian/changelog: version bump
4454 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4459 * configure.ac: Bump version.
4460 * debian/changelog: Updates.
4462 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/hildon-touch-selector.c:
4465 (_hildon_touch_selector_has_multiple_selection): No need
4466 to initialize the variables here.
4468 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4470 * src/hildon-note-private.h
4471 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4472 (hildon_note_finalize, hildon_note_rebuild): Close information
4473 notes when they receive a button press.
4475 Fixes: NB#89890 (Information notes does not get disappeared after
4478 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4480 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4481 mark from the wizard title, as it's not really necessary. Also,
4482 do not display the page title if not set.
4484 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4486 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4487 (parent_window_hidden): Use the window's "is-topmost" property to
4488 detect when to hide the menu.
4490 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4492 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4493 (hildon_app_menu_finalize): If the parent window of the menu is
4494 hidden, hide the menu too.
4496 Fixes: NB#94460 (stackable window's menu is not closed when its
4499 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4502 * debian/libhildon1-examples.install
4504 * examples/Makefile.am:
4505 Use dh_install to install all examples.
4506 Use DEB_SRCDIR instead of defining SOURCE_DIR
4508 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4510 * configure.ac: post release version bump.
4511 * debian/changelog: version bump
4513 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4518 * configure.ac: bump version
4519 * debian/changelog: updates
4520 * debian/control: bump gtk+ dependency
4522 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4524 patch by Christian Dywan (christian@imendio.com)
4526 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4527 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4529 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4531 * src/hildon-check-button.c (hildon_check_button_init)
4532 (hildon_check_button_class_init, hildon_check_button_style_set)
4533 (hildon_check_button_apply_style):
4534 New "checkbox-size" style property.
4536 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4537 larger / configurable size)
4539 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4541 * configure.ac: post release version bump.
4542 * debian/changelog: version bump
4544 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4549 * configure.ac: bump version
4550 * debian/changelog: updates
4552 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4554 * doc/hildon-sections.txt
4555 * src/hildon-pannable-area.c
4556 * src/hildon-program.c
4557 * src/hildon-time-editor.c
4558 * src/hildon-touch-selector-entry.c:
4560 More documentation updates.
4562 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4564 * doc/hildon-sections.txt
4565 * src/hildon-caption.c
4566 * src/hildon-code-dialog.c
4567 * src/hildon-color-button.c
4568 * src/hildon-controlbar.c
4569 * src/hildon-date-editor.c
4570 * src/hildon-date-selector.c
4571 * src/hildon-edit-toolbar.c
4572 * src/hildon-find-toolbar.c
4573 * src/hildon-font-selection-dialog.c
4575 * src/hildon-program.c
4576 * src/hildon-range-editor.c
4577 * src/hildon-seekbar.c
4578 * src/hildon-time-editor.c
4579 * src/hildon-time-selector.c
4580 * src/hildon-volumebar-range.c
4581 * src/hildon-volumebar.c
4582 * src/hildon-vvolumebar.c
4583 * src/hildon-weekday-picker.c
4584 * src/hildon-window.c
4585 * src/hildon-wizard-dialog.c:
4587 Lots of documentation fixes.
4589 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4591 Patch contributed by Iván Gómez (igomez@igalia.com)
4593 * src/hildon-check-button.c:
4594 * src/hildon-date-button.c:
4595 * src/hildon-date-selector.c:
4596 * src/hildon-dialog.c:
4597 * src/hildon-edit-toolbar.c:
4598 * src/hildon-entry.c:
4599 * src/hildon-picker-button.c:
4600 * src/hildon-program.c:
4601 * src/hildon-text-view.c:
4602 * src/hildon-time-button.c:
4603 * src/hildon-touch-selector-entry.c:
4604 * src/hildon-window-stack.c:
4606 Add more "since" tags to the new API.
4608 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4610 * doc/hildon-sections.txt: Add below method.
4611 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4612 version for the hildonized scale.
4613 * src/hildon-gtk.h: Add the definition.
4615 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4617 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4619 * doc/hildon-sections.txt: Add missing entries for new methods.
4621 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4623 Added API to pannable are in order to get its adjustments. We
4624 added two properties to manage the values we had in the private
4627 * src/hildon-pannable-area.c:
4628 (hildon_pannable_area_class_init): Added hadjustment and
4629 vadjustment properties in order to expose horizontal and vertical
4631 (hildon_pannable_area_get_property),
4632 (hildon_pannable_area_set_property): Added code to handle the new
4634 (hildon_pannable_area_get_hadjustment),
4635 (hildon_pannable_area_get_vadjustment): API functions to get the
4637 * src/hildon-pannable-area.h:
4638 (hildon_pannable_area_get_hadjustment),
4639 (hildon_pannable_area_get_vadjustment): API functions to get the
4642 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4644 Fixed some leaks, after valgrinding.
4646 * src/hildon-touch-selector.c:
4647 (_default_print_func): Fixed a leak.
4648 (hildon_touch_selector_append_column): Fixed a leak.
4649 * src/hildon-date-button.c:
4650 (hildon_date_button_init): Fixed a leak.
4651 * src/hildon-date-selector.c
4652 (hildon_date_selector_finalize): Fixed a leak.
4654 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4656 Based on a patch by Christian Dywan (christian@imendio.com)
4658 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4660 * src/hildon-gtk.h: Add definition.
4662 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4664 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4666 * src/hildon-picker-button.c: (hildon_picker_button_init),
4667 (hildon_picker_button_new): Set the HildonButton::style property
4668 in the init method, to propagate the value to the derived classes.
4670 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4672 * src/hildon-button.c: (hildon_button_class_init): Do not make
4673 the "style" property a construct property.
4675 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4677 * src/hildon-wizard-dialog.h
4678 * src/hildon-wizard-dialog.c
4679 (hildon_wizard_dialog_set_forward_page_func)
4680 * src/hildon-pannable-area.h
4681 * src/hildon-pannable-area.c
4682 (hildon_pannable_area_set_size_request_policy):
4683 Documentation fixes.
4685 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4687 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4689 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4691 * doc/hildon-sections.txt: Added sections file.
4693 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4696 * src/*.[ch]: Updates.
4698 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4700 * examples/hildon-progress-indicator-example.c: new file
4701 * examples/Makefile.am: include the new example program
4703 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4705 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4707 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4709 * configure.ac: post release version bump
4710 * debian/changelog: version bump
4712 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4717 * configure.ac: bump version
4718 * debian/changelog: updates
4719 * debian/control: bump gtk+ dependency
4721 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4723 * src/hildon-dialog.c: Mark as deprecated.
4724 * src/hildon-dialog.h: Mark as deprecated.
4725 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4726 from HildonDialog and still work, even if
4727 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4728 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4730 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4731 maemo changes) instead)
4733 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4735 * src/hildon-pannable_area.h:
4736 * src/hildon-pannable_area.c:
4737 (hildon_pannable_area_class_init),
4738 (hildon_pannable_area_set_property),
4739 (hildon_pannable_area_get_property),
4740 (hildon_pannable_area_size_request),
4741 (hildon_pannable_area_get_size_request_policy),
4742 (hildon_pannable_area_set_size_request_policy): Added new API
4743 allowing applications to control the request policy. Now they can
4744 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4745 children allocation (HILDON_MOVEMENT_CHILDREN).
4747 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4751 (hildon_gtk_tree_view_set_ui_mode)
4752 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4753 mode of treeviews and iconviews.
4755 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4757 * src/hildon-touch-selector-entry.c:
4758 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4759 of a GtkEntry to get proper theming.
4761 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4762 widget, not GtkEntry)
4764 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4766 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4767 no HildonWizardDialogPageFunc.
4769 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4771 Patch contributed by Iván Gómez (igomez@igalia.com)
4773 * src/hildon-app-menu.c:
4774 * src/hildon-button.c:
4775 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4776 * src/hildon-stackable-window.c:
4777 * src/hildon-time-selector.c:
4778 * src/hildon-touch-selector.c:
4779 * src/hildon-window.c:
4781 Add more "since" tags to the new API in hildon 2.2.
4783 2008-12-05 Tim Janik <timj@imendio.com>
4785 Patch contributed by Christian Dywan (christian@imendio.com)
4787 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4788 HildonSizeType, which are supplied by Gtk+ now.
4790 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4792 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4793 (with maemo changes) instead)
4795 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4797 Patch contributed by Iván Gómez (igomez@igalia.com)
4799 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4802 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4804 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4805 (some_page_func), (main): Update the example to use a
4806 HildonWizardDialogPageFunc function.
4808 * src/hildon-wizard-dialog-private.h: Add private data for
4809 the HildonWizardDialogPageFunc function usage.
4811 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4812 (destroy), (hildon_wizard_dialog_init), (response),
4813 (hildon_wizard_dialog_set_forward_page_func):
4814 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4815 that applications can use to stop a HildonWizardDialog to jump to
4818 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4821 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4823 * src/hildon-program.h
4824 * src/hildon-program-private.h
4825 * src/hildon-program.c (hildon_program_init)
4826 (hildon_program_set_common_app_menu)
4827 (hildon_program_get_common_app_menu):
4828 New API for setting a common HildonAppMenu for all
4829 HildonStackableWindows registered with the HildonProgram.
4831 * src/hildon-stackable-window.c
4832 (hildon_stackable_window_toggle_menu):
4833 Use the common HildonAppMenu if a window doesn't have a specific
4836 * src/hildon-app-menu-private.h
4837 * src/hildon-app-menu.c
4838 (hildon_app_menu_get_parent_window):
4839 Function to obtain the window a HildonAppMenu is attached to.
4840 (hildon_app_menu_set_parent_window):
4841 Hide the menu if the parent window is set to NULL.
4843 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4845 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4846 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4847 search widget to popup.
4849 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4851 * configure.ac: post release version bump
4852 * debian/changelog: version bump
4854 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4859 * configure.ac: bump version
4860 * debian/changelog: updates
4862 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4864 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4866 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4867 (hildon_window_stack_window_realized)
4868 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4869 Set the leader GdkWindow when a window is stacked and realized,
4870 unset it when it's unstacked.
4871 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4873 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4875 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4877 * src/hildon-stackable-window.h
4878 * src/hildon-window-stack.h:
4879 Protect definition of HildonWindowStack using the preprocessor.
4881 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4883 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4884 Fix warning if all menu items are hidden.
4886 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4888 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4890 * src/hildon-controlbar.c:
4891 * src/hildon-hvolumebar.c:
4892 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4893 Multiple scale size defines updates.
4895 Fixes: NB#94322 (Scale Updates)
4897 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4899 * examples/hildon-app-menu-example.c (create_menu)
4900 Show items after adding them to the menu, as in the future the
4901 menu will no longer call gtk_widget_show() on the added items.
4903 * src/hildon-app-menu.c:
4904 Update example as explained above.
4906 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-app-menu.c
4909 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4910 Make sure that all menu items have finger height.
4912 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4914 * src/hildon-picker-dialog.c:
4915 (_on_dialog_response), (_save_current_selection),
4916 (_restore_current_selection), (_clean_current_selection),
4917 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4918 Defined new functions in order to save the current internal selector
4919 selection previous open the dialog, in case that the use cancel the
4920 interaction, so the widget restores the previous selection.
4922 Fixes: NB#92032 (In calendar application, date values in 'new event'
4925 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4927 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4929 * src/hildon-button.c: Add a reference to the button examples in
4930 hildon-button-example.c
4932 * examples/hildon-button-example.c: Added examples of the most
4933 common button layouts.
4935 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4937 * src/hildon-app-menu.c (hildon_app_menu_show)
4938 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4940 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4942 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4944 * src/hildon-picker-dialog.c:
4945 (hildon_picker_dialog_init): Initialize the signal id for
4946 HildonTouchSelector::columns-changed.
4947 (+on_selector_columns_changed): Set up the interaction mode everytime a
4948 column is added or removed from the HildonTouchSelector.
4949 (_hildon_picker_dialog_set_selector): Connect to
4950 HildonTouchSelector::columns-changed and keep track of it.
4952 Make sure to update the interaction mode of the dialog everytime a
4953 column is added or removed in the HildonTouchSelector.
4955 Fixes: NB#93228 (Done button is not shown always in listpicker)
4957 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4959 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4960 a new ::columns-changed signal.
4961 (hildon_touch_selector_append_column): Emit ::columns-changed.
4962 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4964 Add a ::columns-changed signal, emitted when the number of columns in a
4965 HildonTouchSelector changes.
4967 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4970 (_hildon_picker_dialog_set_selector): Factor out the code
4971 to set up the dialog interaction mode.
4973 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4975 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4976 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4977 to signal_changed_id.
4979 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4981 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4984 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4986 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4987 Updated the logical ids related to ampm format, as now it is required to
4988 show it correctly localized even on languages with no default
4989 abbreviations for am or pm
4990 (_check_am_pm_format): check correctly the 24h format gconf property
4992 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4994 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4996 * src/hildon-button.c: Documentation updates.
4998 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5000 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5001 * src/hildon-caption.c: (hildon_caption_class_init):
5002 * src/hildon-color-button.c: (hildon_color_button_class_init):
5003 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5004 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5005 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5006 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5008 Remove deprecated GTK+ marshalers and replace them with the ones
5009 provided by GLib, for those available, add a marshaler for
5010 BOOLEAN:VOID, which is not available in GLib, and use it.
5012 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5014 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5015 the text from the previous column if there is no
5016 HildonTouchSelectorColumn::text-property set.
5018 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5020 * src/hildon-button.h
5021 * src/hildon-button.c (hildon_button_set_property)
5022 (hildon_button_get_property, hildon_button_class_init)
5023 (hildon_button_set_style, hildon_button_get_style):
5024 New "style" property to change the visual appearance of the
5027 * src/hildon-picker-button.c (hildon_picker_button_new):
5028 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5030 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5031 HildonButton look like PickerButton)
5033 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5035 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5036 column while building the default string.
5038 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5040 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5041 scroll indicator by default.
5043 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5045 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5047 * src/hildon-main.c: Fix the documentation for hildon_init()
5049 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5051 * doc/hildon-docs.sgml
5055 * src/hildon-window-stack-private.h
5056 * src/hildon-window-stack.h
5057 * src/hildon-window-stack.c:
5058 New HildonWindowStack object, that adds support for multiple
5059 stacks of windows per process.
5061 * src/hildon-stackable-window-private.h
5062 * src/hildon-stackable-window.h
5063 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5064 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5065 (hildon_stackable_window_show, hildon_stackable_window_hide)
5066 (hildon_stackable_window_class_init)
5067 (hildon_stackable_window_init):
5068 Use HildonWindowStack for stack management.
5070 * src/hildon-program.c (hildon_program_pop_window_stack)
5071 (hildon_program_peek_window_stack)
5072 (hildon_program_go_to_root_window):
5073 Add a fallback implementation to the deprecated functions using
5076 * examples/hildon-stackable-window-example.c:
5077 Use the new HildonWindowStack API.
5079 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-stackable-window-private.h
5082 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5083 (hildon_stackable_window_hide, hildon_stackable_window_init):
5084 Remove all window stack management.
5086 * src/hildon-program-private.h
5087 * src/hildon-program.h
5088 * src/hildon-program.c (hildon_program_init)
5089 (hildon_program_pop_window_stack)
5090 (hildon_program_peek_window_stack)
5091 (hildon_program_go_to_root_window):
5092 Remove all window stack management and mark functions as
5095 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5097 * src/hildon-app-menu.c (hildon_app_menu_realize):
5098 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5100 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5102 * configure.ac: post release version bump
5103 * debian/changelog: version bump
5105 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5110 * configure.ac: bump version
5111 * debian/changelog: updates
5113 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5115 Based on initial code by Christian Dywan (christian@imendio.com)
5117 * doc/hildon-docs.sgml: Add section for hildon-main.
5118 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5119 * src/Makefile.am: Add new hildon-main.[ch]
5120 * src/hildon-defines.h: Update the icon sizes.
5121 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5122 new library initialization files and register icon sizes.
5123 * src/hildon-main.h: New declarations.
5124 * src/hildon.h: Include hildon-main.h
5126 Add new initialization functions to the library. These methods
5127 will register the hildon specific icon sizes and can be used in the
5128 future for other hildon specific bits.
5130 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5132 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5134 * src/hildon-window.c: (hildon_window_realize),
5135 (hildon_window_notify), (-hildon_window_update_title): Do not set
5136 the application name in the window title.
5138 Fixes: NB#89754 (Applications shouldn't display their names in the
5141 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5143 * src/hildon-note-private.h:
5144 * src/hildon-note.c: (hildon_note_set_property),
5145 (hildon_note_get_property), (hildon_note_class_init),
5146 (hildon_note_init), (hildon_note_finalize),
5147 (hildon_note_new_confirmation_with_icon_name),
5148 (hildon_note_new_information_with_icon_name):
5150 No need to mark as deprecated the actual code. Revert
5151 to avoid missing symbols in widgets using deprecated API.
5153 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5155 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5157 * src/hildon-volumebar.h
5158 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5159 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5161 * src/hildon-helper.h
5162 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5163 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5165 * examples/Makefile.am:
5166 Deprecate hildon-insensitive-example
5168 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5170 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5172 * examples/hildon-pannable-area-buttons-scroll-example.c:
5173 Make all buttons finger height
5175 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5177 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5179 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5180 update the day model only if it is really required, and to avoid the
5181 full-reconstruction aproach. Now it only add or remove the required days.
5183 The purpose of this is avoid superfluous HildonTouchSelector::changed
5186 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5187 with strange parameters)
5189 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5191 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5193 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5194 the WINDOW_TYPE property.
5196 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5198 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5201 Fix dependency to allow parallel compilation with make -jX
5203 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5205 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5206 color frame and some minor tweaks to make it more consistent with
5209 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5210 highlighted but not visible)
5212 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5214 * examples/Makefile.am: Fixed typo in the Makefile.am.
5216 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5218 Reviewed the use of MAEMO_GTK define, now we add the define in the
5219 compilation line, and we also add it to the pc file.
5221 * configure.ac: Added MAEMO_GTK define to the compilation command
5222 and removed it from the config.h.
5224 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5225 do not have to take care about this define if the library was
5229 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5231 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5233 * examples/Makefile.am,
5234 * examples/hildon-pannable-area-buttons-scroll-example.c,
5235 * examples/hildon-pannable-area-gesture-signals-example.c,
5236 * examples/hildon-pannable-area-scroll-jump-example.c,
5237 * examples/hildon-pannable-area-tree-view-example.c:
5238 Renamed the pannable area examples, now they have more meaningful
5241 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5243 * src/hildon-touch-selector.c:
5244 (hildon_touch_selector_set_column_selection_mode): Used of
5245 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5246 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5247 to avoid re-seting the same selection mode.
5249 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5250 breaks HildonPickerDialog)
5252 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5254 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5255 conditional in the Makefile.am
5257 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5259 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5260 Remove unused methods.
5262 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5264 * src/hildon-button.c (hildon_button_init):
5265 Make button images center-aligned by default
5267 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5270 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5271 activated, we have to think about how to deal with both defines
5272 MAEMO_GTK and MAEMO_CHANGES.
5274 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5276 * examples/hildon-app-menu-example.c (create_menu): Make all
5277 buttons finger size.
5279 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5281 Fixed the compilation without maemo gtk adding ifdefs with
5282 MAEMO_GTK define to the code, we have to check this version more
5285 * examples/Makefile.am: Added control to avoid some examples that
5286 just make sense with maemo gtk.
5289 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5290 hildon modes with the define.
5292 * examples/hildon-edit-toolbar-example.c,
5293 (create_icon_view): Create the icon view without hildon-gtk
5294 helpers if we are not using maemo gtk.
5296 * src/hildon-touch-selector.c,
5297 (_create_new_column): Create the treeview without hildon-gtk
5298 helpers if we are not using maemo gtk.
5300 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5302 * src/hildon-pnnable-area.c,
5303 (hildon_pannable_area_dispose),
5304 (hildon_pannable_area_button_press_cb),
5305 (hildon_pannable_area_child_mapped),
5306 (hildon_pannable_area_add),
5307 (hildon_pannable_area_remove): Added code to control the position
5308 of the event_window when adding and removing children from the
5309 pannable. We have to raise the event window when the child is
5312 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5313 selection mode using custom widget inside pannable)
5315 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5317 * configure.ac: post release version bump
5318 * debian/changelog: version bump
5320 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5325 * configure.ac: bump version
5326 * debian/changelog: updates
5328 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5330 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5331 search mode, in order to avoid lose the focus on the treeview when
5332 a hw key (like enter) is pressed.
5334 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5335 in HildonDateSelector dialog)
5337 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5339 * debian/rules: Added --enable-maintainer-mode
5340 * Makefile.am: Added ACLOCAL_AMFLAGS
5342 This allows to properly regenerate the Makefiles if you modify the
5343 configure.ac or any Makefile.am.
5345 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5347 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5348 properties, not needed at all.
5350 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5352 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5354 * src/hildon-note.c: (hildon_note_set_property),
5355 (hildon_note_get_property), (hildon_note_class_init),
5356 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5357 (hildon_note_new_confirmation_add_buttons): Remove icons.
5358 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5359 (hildon_note_new_information_with_icon_name): Deprecate.
5360 (hildon_note_new_confirmation): Act directly, without calling
5361 the deprecated constructor.
5362 (hildon_note_new_information): Act directly, without calling
5363 the deprecated constructor.
5364 * src/hildon-note.h: Mark deprecate methods as such.
5365 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5366 not run tests on the deprecated methods if built with deprecation
5369 Fixes: NB#91688 (Never show icons in information notes/confirmation
5372 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5374 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5375 (hildon_app_menu_key_press): Remove leftover usage of the
5376 private structure in HildonAppMenu struct.
5377 * src/hildon-app-menu.h: Remove leftover private structure
5378 from the HildonAppMenu struct.
5380 Fixes a crasher when using the HildonAppMenu.
5382 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5384 * src/hildon-picker-dialog.c: Use appropriate logical id
5385 for the default "Done" text.
5387 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5389 * configure.ac: post release version bump
5390 * debian/changelog: version bump
5392 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5394 Modified the way to scroll to the current selection just when the touch
5395 selector is shown on the screen, avoiding a g_idle. Added too a property
5396 to configure this behaviour. See hildon_pannable_area_jump_to_child
5397 documentation for more information.
5399 * src/hildon-touch-selector.c
5400 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5401 Added 'initial-scroll' property
5402 (hildon_touch_selector_set_property): Added
5403 (hildon_touch_selector_map): Removed as not required anymore
5404 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5405 only a concrete column, instead of iterate along all the columns
5407 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5412 * configure.ac: bump version
5413 * debian/changelog: updates
5415 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5417 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5418 compilation time warnings.
5420 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5422 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5423 the default value for HildonPannableArea::mov-mode to
5424 HILDON_PANNABLE_AREA_MODE_VERT.
5426 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5428 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5430 Reverting following commit:
5432 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5434 * src/hildon-app-menu-private.h
5435 * src/hildon-app-menu.[ch]
5436 * src/hildon-button.[ch]
5437 * src/hildon-check-button.[ch]
5438 * src/hildon-entry.[ch]
5439 * src/hildon-pannable-area.[ch]
5440 * src/hildon-text-view.[ch]:
5441 Added private field to the object's structure.
5443 because it causes an ABI breakage. We will need to introduce these
5444 changes later at some point. See NB#91636 for an extensive
5445 explanation and status.
5447 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5449 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5451 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5452 remove special cases that are no longer necessary.
5454 Fixes: NB#91016 (Change toolbar sizes, simplification)
5456 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5458 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5459 is shown in the cancel note.
5461 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5463 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5464 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5465 (hildon_seekbar_init): Remove steppers, remove expose event.
5466 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5468 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5470 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5472 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5473 label font to "SmallSystemFont" for vertically arranged buttons.
5475 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5478 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5480 * src/hildon-check-button.c
5481 (hildon_check_button_set_active, hildon_check_button_clicked):
5482 Don't access private parts directly, use getters instead.
5484 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5486 * src/hildon-check-button.c (hildon_check_button_new):
5487 Align the contents of the check button to the left.
5489 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5491 * src/hildon-pannable-area.c,
5492 (hildon_pannable_area_scroll_to),
5493 (hildon_pannable_area_jump_to),
5494 (hildon_pannable_area_scroll_to_child),
5495 (hildon_pannable_area_jump_to_child): Replace the mapped
5496 precondition of these functions with the realized, it is the
5497 correct state of the widget in this case. Changed the
5498 documentation according to this modification.
5500 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5502 Added a new EXTRA_CFLAGS option to add the deprecated define to
5503 the compilation command. This way we can avoid using the define in
5504 the documentation compilation.
5506 * configure.ac: Defined EXTRA_CFLAGS.
5508 * examples/Makefile.am:
5510 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5512 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5514 * src/hildon-picker-dialog.c:
5515 Defined a utility macro with the desired touch selector height
5516 Removed currently unused separator, and title_label variables from
5518 (hildon_picker_dialog_init): Removed code related to the creation
5519 of unused private variables title_label and separator.
5520 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5521 to ensure correct visualization of the touch selector inside the dialog.
5522 * src/hildon-touch-selector.c
5523 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5524 ensure a concrete height of the widget.
5526 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5529 * tests/Makefile.am:
5531 Remove spurious whitespaces.
5533 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5535 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5536 compilation warning after the cancel button removal.
5538 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5540 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5542 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5543 Makefile.am, that way we can choose not to compile some examples
5544 and tests of the deprecated widgets.
5546 * examples/Makefile.am: Divided the sources in deprecated and
5549 * src/Makefile.am: Added undef statement of the deprecated
5550 symbol to the enums file generation process.
5552 * src/hildon-color-chooser-dialog.c
5553 * src/hildon-color-chooser-dialog.h
5554 * src/hildon-color-button.c
5555 * src/hildon-color-button.h
5556 * src/hildon-color-chooser.c
5557 * src/hildon-color-chooser.h
5558 * src/hildon-controlbar.c
5559 * src/hildon-controlbar.h
5560 * src/hildon-date-editor.c
5561 * src/hildon-date-editor.h
5562 * src/hildon-hvolumebar.c
5563 * src/hildon-hvolumebar.h
5564 * src/hildon-private.c
5565 * src/hildon-private.h
5566 * src/hildon-range-editor.c
5567 * src/hildon-range-editor.h
5568 * src/hildon-seekbar.c
5569 * src/hildon-seekbar.h
5570 * src/hildon-time-editor.c
5571 * src/hildon-time-editor.h
5572 * src/hildon-time-picker.c
5573 * src/hildon-time-picker.h
5574 * src/hildon-volumebar.c
5575 * src/hildon-volumebar.h
5576 * src/hildon-vvolumebar.c
5577 * src/hildon-vvolumebar.h
5578 * src/hildon-bread-crumb-trail.h
5579 * src/hildon-bread-crumb-trail.c
5580 * src/hildon-calendar-popup.c
5581 * src/hildon-calendar-popup.h
5582 * src/hildon-weekday-picker.c:
5583 * src/hildon-weekday-picker.h:
5584 * src/hildon-bread-crumb-widget.c:
5585 * src/hildon-bread-crumb-widget.h:
5586 * src/hildon-bread-crumb.c:
5587 * src/hildon-bread-crumb.h:
5588 * src/hildon-calendar.c:
5589 * src/hildon-calendar.h:
5590 * src/hildon-caption.c:
5591 * src/hildon-code-dialog.c:
5592 * src/hildon-code-dialog.h:
5593 * src/hildon-font-selection-dialog.c:
5594 * src/hildon-font-selection-dialog.h:
5595 * src/hildon-get-password-dialog.c:
5596 * src/hildon-get-password-dialog.h:
5597 * src/hildon-login-dialog.c:
5598 * src/hildon-login-dialog.h:
5599 * src/hildon-number-editor.c:
5600 * src/hildon-number-editor.h:
5601 * src/hildon-set-password-dialog.c:
5602 * src/hildon-set-password-dialog.h:
5603 * src/hildon-sort-dialog.c:
5604 * src/hildon-sort-dialog.h: This is the list of deprecated
5607 * src/hildon-touch-selector.c:
5608 * src/hildon-window.c: Added undef statement to avoid compilation
5611 * tests/Makefile.am: Divided the sources in deprecated and
5614 * tests/check_test.c,
5615 (configure_tests): Marked the deprecated code that was adding
5616 suites with deprecated tests.
5618 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5620 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5622 * src/hildon-touch-selector.c: (_default_print_func): Do not
5623 duplicate a string returned by gtk_tree_model_get(), it is already
5626 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5629 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5631 * src/hildon-pannable-area.c
5632 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5633 method, it had problems when adding a widget with viewport the
5634 second time. Now checks if it already has a viewport and uses it.
5636 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5639 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5641 * src/hildon-pannable-area.c,
5642 (hildon_pannable_area_scroll_to),
5643 (hildon_pannable_area_jump_to),
5644 (hildon_pannable_area_scroll_to_child),
5645 (hildon_pannable_area_jump_to_child): Added a precondition to the
5646 scroll and jump to functions: the widget must be mapped before we
5647 can safely call these functions. We have also added documentation
5648 to the functions to explain how to use them in this situation.
5651 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5653 Reviewed the threading handling of the pannable widget, we have
5654 used the gdk_threads_add_timeout function instead of the usual
5655 glib handlers. This avoids some problems with the threads.
5657 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5658 (hildon_pannable_area_initial_effect),
5659 (hildon_pannable_area_scroll_indicator_fade),
5660 (hildon_pannable_area_button_press_cb),
5661 (hildon_pannable_area_timeout),
5662 (hildon_pannable_area_motion_notify_cb),
5663 (hildon_pannable_area_button_release_cb),
5664 (hildon_pannable_area_scroll_cb),
5665 (hildon_pannable_area_scroll_to): Removed the
5666 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5667 gdk_threads_add_timeout.
5669 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5671 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5676 * configure.ac: bump version
5677 * debian/changelog: updates
5679 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5681 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5682 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5683 * src/hildon-color-chooser-dialog.c:
5684 (hildon_color_chooser_dialog_init):
5685 * src/hildon-font-selection-dialog.c:
5686 (hildon_font_selection_dialog_init):
5687 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5689 Remove all cancel/close-like dialogs, as these are not going to be
5692 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5694 * src/hildon-note.c: (hildon_note_rebuild),
5695 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5698 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5700 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5702 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5703 sure all buttons are shown, even the Cancel/Close-like ones.
5705 Fixes: NB#90861 (Custom Confirmation dialogs should be
5706 protected from cancel button removal)
5708 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5710 * debian/control: Change libhildon1-examples dependency from libhildon1
5712 * debian/libhildon1-examples.install
5714 * Makefile.am: Modified the final install directory for the examples on
5715 package libhildon1-examples
5716 * Makefile.static: Update clean target in order to remove all the binary
5719 Changes suggested by Claudio after review new libhildon1-examples package
5721 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5723 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5724 * src/hildon-touch-selector.c: Ditto.
5726 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5728 * debian/control: Added new package libhildon1-examples, in order to pack
5729 the current hildon examples as documentation
5730 * debian/rules: Not to compress .c files, modify some includes on the
5731 examples (as normally are compiled locally, but when installed it will
5732 require to include the installed libhildon1 library), and rename
5734 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5735 install all the example files on the new example package
5736 * examples/Makefile.static: Added static makefile that can be used to
5737 compile the examples, once installed the new example package
5738 * examples: Most of the examples were modified in order to grant that
5739 all use only '#include "hildon.h"', in order to be easy to prepare
5740 it on the example package
5742 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5745 * debian/libhildon1-dev.install
5746 * debian/libhildon1-doc.install:
5747 Move all gtk-doc files to a separate libhildon1-doc package.
5749 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5751 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5753 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5755 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5757 * debian/rules: Fixed a error in order to avoid unnecessary calls
5758 to autogen.sh on package building
5760 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5762 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5764 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5766 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5769 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5771 * src/hildon-picker-button.c
5772 (hildon_picker_button_finalize):
5773 Free priv->done_button_text
5775 * src/hildon-time-button.c
5776 (hildon_time_button_set_time)
5777 * src/hildon-picker-button.c
5778 (hildon_picker_button_clicked)
5779 (hildon_picker_button_selector_selection_changed)
5780 (hildon_picker_button_set_selector)
5781 * src/hildon-date-button.c
5782 (hildon_date_button_set_date):
5783 Free strings returned by hildon_touch_selector_get_current_text()
5785 * src/hildon-button.c (hildon_button_construct_child):
5786 Fix leaks in priv->image and priv->label_box
5788 Fixes: NB#90535 (Memory leak in picker button)
5790 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5792 * src/hildon-button.c: (hildon_button_get_property): Do not access
5793 private elements directly, use getters instead.
5795 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5797 * src/hildon-app-menu-private.h
5798 * src/hildon-app-menu.c
5799 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5800 Store the menu's parent window.
5802 * src/hildon-stackable-window.c
5803 (hildon_stackable_window_toggle_menu)
5804 (hildon_stackable_window_finalize):
5805 Set the menu's parent window when the menu is shown, unset it when
5808 * src/hildon-app-menu.c
5809 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5810 (hildon_app_menu_class_init):
5811 Send unhandled keyboard accelerators to the parent window.
5813 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5815 * src/hildon-stackable-window.c
5816 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5818 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5820 * configure.ac: post release version bump
5822 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5825 * configure.ac: Bump version
5826 * debian/changelog: Updates
5827 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5830 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5832 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5835 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5836 GtkMenu with Hildon style.
5838 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-picker-button.c:
5841 (hildon_picker_button_set_done_button_text): Set the dialog's
5842 done button text here as well.
5844 Fixes: NB#90232 (Picker button does not set the label on done button
5845 for the second time)
5847 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5849 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5852 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5854 * src/hildon-app-menu.c (hildon_app_menu_insert)
5855 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5856 the HildonAppMenu to be activatable using keyboard accelerators
5857 when the menu is not being shown.
5859 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5861 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5863 * src/hildon-stackable-window.c
5864 (hildon_stackable_window_show):
5865 Don't hide old windows automatically when new windows are shown:
5866 this is now a task for the window manager.
5867 (hildon_stackable_window_class_init)
5868 (hildon_stackable_window_hide):
5869 Remove windows from the stack everytime they're hidden.
5870 (hildon_stackable_window_realize):
5871 Don't change the _NET_WM_WINDOW_TYPE property. Use
5872 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5873 it as a stackable window.
5875 * src/hildon-program.c
5876 (hildon_program_pop_window_stack):
5877 Just hide the window to remove it from the stack.
5878 (hildon_program_go_to_root_window):
5879 Don't call gtk_widget_show(), this is now a task for the window
5882 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5884 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5886 * src/hildon-button.c
5887 (hildon_button_construct_child):
5888 Don't pack anything in the button until text or image are
5889 set. This allows adding a custom child after creating the button
5890 with hildon_button_new().
5891 (hildon_button_finalize, hildon_button_class_init)
5892 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5893 alignment and the label box even when they're not packed in the
5896 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5898 * src/hildon-touch-selector.h:
5899 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5900 currently the type definition was using GTK_TYPE_VBOX
5901 * src/hildon-touch-selector.c:
5902 Added some implementation notes in order to clarify that any other widget
5903 added without the column related API will not be included on the
5904 selection logic, and how the widget is freed, as some people ask about
5906 (hildon_touch_selector_remove): Reimplemented in order to free properly
5907 the column related data when you remove the private hbox.
5908 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5909 to get a proper HildonTouchSelectorColumn documentation
5911 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5913 * src/hildon-touch-selector-entry.c:
5914 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5915 text in the GtkEntry and there is no item selected. Fixes a
5918 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-app-menu-private.h
5921 * src/hildon-app-menu.[ch]
5922 * src/hildon-button.[ch]
5923 * src/hildon-check-button.[ch]
5924 * src/hildon-entry.[ch]
5925 * src/hildon-pannable-area.[ch]
5926 * src/hildon-text-view.[ch]:
5927 Added private field to the object's structure.
5929 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5931 * configure.ac: post-release version bump
5933 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5937 * configure.ac: pre-release version bump
5939 * debian/changelog: updates.
5941 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5943 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5944 Disconnect the handler for HildonTouchSelector::changed.
5946 (hildon_picker_button_selector_selection_changed): Update the button
5947 value if the selection change was not triggered by the
5950 (hildon_picker_button_set_selector): connect to
5951 HildonTouchSelector::changed.
5953 Fixes: NB#89650 (Picker button is not updated, when selection in
5954 selector has changed)
5956 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5958 * src/hildon-picker-dialog.c
5959 (hildon_picker_dialog_realize): Removed as not required
5960 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5961 * src/hildon-picker-button.c
5962 (_current_selector_empty): New function, checks if the selector is empty
5963 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5964 if the current selector is empty, in order to avoid to show the dialog
5965 close the dialog in this case (and shows a g_warning).
5967 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5969 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5971 * src/hildon-pannable-area.c,
5972 (hildon_pannable_area_scroll): Added clause to stop movement when
5973 the child of pannable is smaller than one page.
5974 (hildon_pannable_area_scroll_to): Added conditions to avoid
5975 starting the scrolling movement if the child is smaller than one
5976 page, the complete child is in the screen, we do not have to move.
5978 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5980 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5982 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5983 this is managed automatically by the widget when the size of the
5986 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5988 * src/hildon-picker-button.c
5989 (hildon_picker_button_set_done_button_text): Make a copy of the
5990 text, and free the previous value.
5992 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/hildon-touch-selector-entry.c:
5995 (hildon_touch_selector_entry_print_func): Return the selected row's
5996 text if the entry is empty.
5998 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6001 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6003 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6005 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6008 * src/hildon-check-button.h
6009 * src/hildon-check-button.c
6010 * examples/hildon-check-button-example.c:
6011 HildonCheckButton is now a new widget. 'toggled' signal added.
6013 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6015 * src/hildon-program-private.h
6016 * src/hildon-program.c (hildon_program_init)
6017 (hildon_program_finalize): Removed unused variables group_leader
6018 and name from HildonProgramPrivate.
6020 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6022 * src/hildon-check-button.c (hildon_check_button_set_active)
6023 (hildon_check_button_get_active, hildon_check_button_new): Use
6024 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6026 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6028 * src/hildon-touch-selector.h
6029 (hildon_touch_selector_set_column_attributes): added deprecation
6030 guard HILDON_DISABLE_DEPRECATED
6031 * src/hildon-time-selector.c
6032 (hildon_time_selector_set_time)
6033 (hildon_time_selector_get_time): Fixed a typo on documentation
6034 * src/hildon-touch-selector.c: update HildonTouchSelector and
6035 HildonTouchSelectorColumn documentation
6036 * src/hildon-touch-selector-entry.c: update "text-column" property
6038 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6039 to be added to the general documentation.
6041 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6043 * examples/hildon-pannable-area-example-4.c,
6045 * examples/hildon-pannable-area-example.c,
6046 (main): Modified the code in order to use the container add, with
6047 viewport treeviews could have problems if they are really big.
6049 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6051 * src/hildon-weekday-picker.c,
6052 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6053 the agreement regarding deprecation in the library.
6055 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6057 * examples/hildon-picker-button-multicolumn-example.c:
6058 (main): Use custom "done" button text.
6060 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6061 (hildon_picker_button_set_property),
6062 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6063 (hildon_picker_button_init),
6064 (+hildon_picker_button_get_done_button_text),
6065 (+hildon_picker_button_set_done_button_text): New methods to customize
6066 the "done" button label in the launched HildonPickerDialog. Also,
6069 * src/hildon-picker-button.h: add the public API.
6071 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6073 * src/hildon-date-selector.h:
6074 * src/hildon-picker-dialog.h:
6075 * src/hildon-time-selector.h:
6076 * src/hildon-touch-selector-column.h:
6077 * src/hildon-touch-selector.h:
6079 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6080 declarations. Fixes gtk-doc warnings.
6082 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6084 * src/hildon-picker-dialog.h
6085 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6086 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6088 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6089 long text is set as label for done button)
6091 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-dialog.c (hildon_dialog_add_button):
6094 Set fixed width to all buttons in the HildonDialog.
6096 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6098 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6100 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6101 Set widget name using class name plus "-finger" or "-thumb".
6103 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6105 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6106 'clicked' when the state of the button is manually changed.
6108 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6110 * src/hildon-app-menu.c (hildon_app_menu_realize)
6111 (hildon_app_menu_unrealize, hildon_app_menu_init)
6112 (hildon_app_menu_class_init, item_visibility_changed):
6113 Change the menu layout when the size of the screen changes.
6114 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6115 Show warning only when changing the number of colums using the
6118 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6120 * debian/compat: Set to 5
6121 * debian/control: Update dependencies.
6122 * debian/libhildon1-dbg.install: Remove.
6123 * debian/libhildon1-dev.install: Update according to cdbs paths.
6124 * debian/libhildon1.install: Update according to cdbs paths.
6125 * debian/rules: Switch to cdbs.
6127 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6129 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6130 'item' variable renamed to 'filter'
6132 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6134 * src/hildon-app-menu.c (hildon_app_menu_insert)
6135 (hildon_app_menu_add_filter, remove_item_from_list)
6136 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6137 Don't leak hidden items when the menu is destroyed.
6139 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6141 * src/hildon-app-menu.c (hildon_app_menu_insert)
6142 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6143 (hildon_app_menu_set_columns, item_visibility_changed)
6144 (filter_visibility_changed, hildon_app_menu_repack_filters)
6145 (hildon_app_menu_repack_items):
6146 Repack items and filters separately.
6148 Don't repack all items, change only the ones that are needed to
6151 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6153 * src/Makefile.am: added hildon-touch-selector-column.h
6155 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6157 * src/hildon-touch-selector.c: added the property "text-column" to the
6158 class HildonTouchSelectorColumn, and related get/set functions
6159 (_default_printf_func): updated to use "text-column" property
6160 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6161 "text-column" in his documentation, as this is now included on
6162 HildonTouchSelectorColumn. The get/set_property can still be used,
6163 working as a wrapper to the concrete column "text-column" property
6164 (_text_column_modified): callback added in order to handle the signal
6165 "notify::text-column" of the concrete HildonTouchSelectorColumn
6166 (hildon_touch_selector_entry_get_text_column)
6167 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6168 modified in order to use the HildonTouchSelectorColumn "text-column"
6170 * src/hildon-time-selector.c:
6171 * src/hildon-date-selector.c:
6172 * examples/hildon-touch-selector-example.c
6173 * examples/hildon-touch-selector-multi-cells-example.c
6174 * examples/hildon-picker-button-multicolumn-example.c
6175 Set the right value to "text-column" property on the creation of a new
6176 column using hildon_touch_selector_append_column()
6178 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6180 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-app-menu.c
6183 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6184 updating the layout of the menu, don't create all widgets again,
6185 just repack the items in their new places.
6187 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6189 * src/hildon-time-selector.c
6190 (hildon_time_selector_get_time)
6191 (hildon_time_selector_set_time)
6192 Added documentation of these public methods
6194 * src/hildon-date-button.h
6195 * src/hildon-touch-selector-column.h
6196 * src/hildon-time-button.h
6197 * src/hildon-picker-dialog.h
6198 * src/hildon-time-selector.h
6199 * src/hildon-picker-button.h
6200 * src/hildon-touch-selector.h
6201 * src/hildon-time-picker.h
6202 * src/hildon-date-selector.h
6203 * src/hildon-touch-selector-entry.h
6204 Modified in order to use hildon-widgets code style
6206 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6208 Added deprecated support to the compilation process using
6209 HILDON_DISABLE_DEPRECATED
6211 * configure.ac: Added the --disable-deprecated to the configure
6214 * src/hildon-weekday-picker.c:
6215 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6216 to use the deprecated support. We will update the other deprecated
6217 widgets status in a new patch.
6219 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6221 * configure.ac: Fixed typo with fatal warnings support, the
6222 variable name was not correct
6224 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6226 * src/hildon-app-menu.c
6227 * src/hildon-program.c: Update documentation.
6229 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6231 * configure.ac: Post-release version bump.
6233 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6238 * configure.ac: Pre-release version bump.
6239 * debian/changelog: Updates.
6241 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6243 * NEWS: Update news for previous releases.
6245 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6247 * examples/hildon-touch-selector-multi-cells-example.c:
6248 (create_selector): Update the example to use
6249 hildon_touch_selector_append_column() with a NULL renderer and set
6250 the renderers later.
6251 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6252 passed a NULL renderer. This is documented behavior now.
6254 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6255 This must be used if the developer wants full control on the layout of
6256 the renderers to be added to the column.
6258 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6260 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6262 * src/hildon-touch-selector.c: Documentation fixes.
6264 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6266 * src/hildon-wizard-dialog-private.h: Remove image and box.
6267 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6268 (hildon_wizard_dialog_set_property), (response): Completely remove
6269 image/icon support, and the containers required for the layout.
6271 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6273 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6275 * src/hildon-app-menu.c: Updated documentation.
6277 * src/hildon-stackable-window.c
6278 (hildon_stackable_window_set_main_menu): Unref the old menu after
6279 ref'ing the new one.
6281 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6283 * src/hildon-stackable-window.c
6284 (hildon_stackable_window_set_main_menu): Unref the previous menu
6285 instead of destroying it.
6287 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6288 floating reference and set has_user_ref_count to FALSE to make
6289 HildonAppMenu act like a normal ref-counted widget and not a
6292 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6295 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6297 * src/hildon-touch-selector-column.h: new file
6298 * src/hildon-touch-selector.h
6299 * src/hildon-touch-selector.c
6300 Implemented GtkCellLayout interface, in order to allow to configure
6301 the cell layout on each individual selector column
6302 (hildon_touch_selector_set_column_attributes): marked as deprecated
6303 * examples/hildon-touch-selector-multi-cells-example.c
6304 Example of how to use the GtkCellLayout interface on the selector
6306 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6308 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6310 * src/hildon-app-menu.h
6311 * src/hildon-app-menu.c
6312 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6313 (hildon_app_menu_append, hildon_app_menu_prepend):
6314 New methods to prepend, insert and move items in the menu.
6316 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6318 * src/hildon-wizard-dialog.c:
6320 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6322 (create_title): Update logical IDs and related code.
6323 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6325 * src/hildon-wizard-dialog.h: Note that
6326 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6327 point, as it is not used anymore.
6329 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6331 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6333 * src/hildon-note.c:
6334 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6335 shown. Do not display an icon in confirmation notes nor information
6337 (hildon_note_set_button_text): Update logical ID for cancel button.
6339 Fixes: NB#88850 (Update HildonNote button strings + signals)
6341 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6343 * src/hildon-stackable-window.c
6344 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6346 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6348 * src/hildon-app-menu-private.h
6349 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6350 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6351 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6352 temporary property 'columns' to change the number of columns.
6354 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6356 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6358 * examples/hildon-note-example.c: (on_information_clicked),
6359 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6360 debugging information.
6361 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6363 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6364 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6365 in order to close: this will be handled by the WM from now on.
6367 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6369 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6371 * src/hildon-app-menu-private.h
6372 * src/hildon-app-menu.c
6373 (hildon_app_menu_append, hildon_app_menu_add_filter)
6374 (button_visibility_changed, hildon_app_menu_apply_style)
6375 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6376 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6377 layout everytime a button (item or filter) is shown or hidden.
6379 * src/hildon-stackable-window.c
6380 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6383 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6385 * src/hildon-touch-selector.c:
6386 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6387 that the treeview inside the touch selector is in fremantle hildon mode
6388 * examples/hildon-date-button-example.c
6389 * examples/hildon-picker-button-multicolumn-example.c
6390 * examples/hildon-touch-selector-entry-example.c
6391 * examples/hildon-touch-selector-example.c
6392 * examples/hildon-time-button-example.c
6393 * examples/hildon-picker-button-example.c:
6394 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6396 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6398 * examples/hildon-text-view-example.c: (main): Remove the
6399 gtkrc bits, now handled by the theme.
6401 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6403 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6406 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6408 * po/Makefile.am: Install properly the mo files.
6409 * po/en_GB.po: Update translation, to ease testing purposes.
6411 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6413 * examples/hildon-picker-button-example.c: (main): Select an item
6414 in the selector before setting it to the button.
6416 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6418 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6419 Update button's value if the selector has an item active.
6421 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6422 'value' with the selector)
6424 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6426 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6427 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6428 (hildon_picker_button_class_init): Plug the finalize method.
6429 (hildon_picker_button_set_selector): If there's a previously set
6430 selector, unref'it before setting a new one.
6432 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6433 HildonTouchSelector)
6435 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6437 * src/hildon-touch-selector-entry.c:
6438 (hildon_touch_selector_entry_changed): Check if there is no text
6439 selected before setting the entry text.
6442 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-touch-selector.h
6445 * src/hildon-touch-selector.c
6446 (hildon_touch_selector_get_active)
6447 (hildon_touch_selector_set_active): New methods to set/get the
6448 index of the selected item.
6450 * src/hildon-picker-button.h
6451 * src/hildon-picker-button.c
6452 (hildon_picker_button_get_active)
6453 (hildon_picker_button_set_active): New methods to set/get the
6454 index of the selected item.
6456 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6458 * configure.ac: post-release version bump.
6460 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6464 * configure.ac: Pre-release version bump.
6465 * debian/changelog: Updates.
6466 * debian/control: Add myself as maintainer and depend on l10n
6469 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6471 * src/hildon-window.c
6472 (hildon_window_set_main_menu)
6473 * src/hildon-stackable-window.c
6474 (hildon_stackable_window_set_main_menu):
6475 Updated documentation.
6477 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6479 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6480 Don't free selector->priv manually.
6483 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6486 (hildon_gtk_window_set_progress_indicator):
6487 * src/hildon-gtk.h: Added the new API
6488 hildon_gtk_window_set_progress_indicator, it changes the state of
6489 the window progress hint.
6491 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6493 * src/hildon-button.c
6494 * src/hildon-stackable-window.c: Minor documentation updates.
6496 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6498 * src/hildon-stackable-window.c: Updated documentation.
6500 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6502 * src/hildon-defines.h: Update margins definitions
6503 to the Fremantle sizes.
6506 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6508 * src/hildon-touch-selector.c,
6509 (_hildon_touch_selector_set_model): Cleaning the code after
6510 review, removed g_print and #if 0 from the code.
6512 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6514 * src/hildon-edit-toolbar.c: Update documentation.
6516 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6518 * src/hildon-check-button.h
6519 * src/hildon-check-button.c
6520 (hildon_check_button_set_label, hildon_check_button_get_label)
6521 * examples/hildon-check-button-example.c
6522 (button_clicked_cb):
6523 Removed deprecated methods.
6525 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6527 * src/hildon-text-view.c:
6528 Add sample code to the documentation.
6530 * src/hildon-entry.h
6531 * src/hildon-text-view.h:
6532 Minor cosmetic changes.
6534 * src/hildon-entry.c:
6535 Add sample code to the documentation.
6536 (hildon_entry_init, hildon_entry_refresh_contents):
6537 Don't allow NULL values in the placeholder.
6539 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6541 * doc/hildon-docs.sgml
6543 * examples/Makefile.am
6544 * examples/hildon-text-view-example.c
6546 * src/hildon-text-view.c
6547 * src/hildon-text-view.h
6549 New HildonTextView widget, with example.
6551 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6553 * po/POTFILES.in: Add missing files with translatable strings.
6554 Partially fixes NB#88287.
6556 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6558 * examples/hildon-pannable-area-example-2.c: (main): No need to
6559 set the cellrenderer height inside hildon touch lists, the theme does
6562 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6564 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6565 they are integrated in the theme.
6567 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6569 * examples/hildon-entry-example.c: Update the example adding
6570 widgets to modify the text and the placeholder of the HildonEntry.
6572 * src/hildon-entry.c: Show the placeholder everytime the widget
6573 is empty and loses the focus.
6575 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6577 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6579 * src/hildon-pannable-area.c,
6580 (hildon_pannable_area_size_request): Fixed bug in height
6581 requisition, avoid increasing size and add border twice.
6583 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6585 * configure.ac: postrelease version bump.
6587 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6591 * configure.ac: Prerelease version bump.
6592 * debian/changelog: update.
6593 * debian/rules: make -dbg package contain useful debugging symbols.
6595 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6597 * src/hildon-dialog.h
6598 * src/hildon-dialog.c
6599 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6600 New methods to add buttons with finger size.
6601 (hildon_dialog_new_with_buttons):
6602 Create buttons with finger size.
6604 * examples/hildon-dialog-example.c (main): Use HildonDialog
6605 methods to add buttons.
6607 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6609 * src/hildon-entry.c: Updated HildonButton documentation.
6611 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6613 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6614 button value label with (FALSE, FALSE) to prevent NB#88126 from
6617 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6619 * examples/hildon-pannable-area-example.c,
6620 (main): Removed examples panning a vbox inside a pannable
6621 area. Check bug NB#87965
6623 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6625 Patch contributed by Kris Rietveld (kris@imendio.com)
6627 * src/hildon-pannable-area.c,
6628 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6629 get_size and get_position, this saves an X server roundtrip.
6631 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6633 * doc/hildon-docs.sgml
6635 * examples/Makefile.am
6636 * examples/hildon-entry-example.c
6638 * src/hildon-entry.c
6639 * src/hildon-entry.h
6641 New HildonEntry widget, with example.
6643 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6645 * src/hildon-button.c (hildon_button_construct_child): Pack the
6646 image with expand == fill == FALSE. This is a workaround for a bug
6649 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6651 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6652 labels for the text column, to make it more look more dynamic.
6654 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6656 * src/hildon-time-selector.c
6657 Define gettext auxiliar macro N_
6658 (_create_minutes_model)
6659 (_create_hours_model)
6660 (_create_ampm_model): use of strftime in order to fill the model
6661 * src/hildon-date-selector.c
6662 (hildon_date_selector_finalize):
6663 (_locales_init): remove the logic related to get the name of the months
6664 using nl_langinfo, as it is not required anymore
6666 (_create_year_model)
6667 (_create_month_model)
6668 (_update_day_model): use of strftime in order to fill the model properly
6671 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6673 * src/hildon-button.h
6674 * src/hildon-button.c (hildon_button_get_image): New method to
6677 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6679 * src/hildon-touch-selector.c:
6680 (hildon_touch_selector_remove_column): Remove from the correct parent
6681 and also remove the list element and free it.
6684 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6686 * src/hildon-time-selector.c
6687 (_create_hours_model): change the range on 12h ampm format in order to use
6688 a 12-11 range instead of previous 01-12 range
6689 (hildon_time_selector_set_time): change the way to select the current time
6690 on 12h ampm format, due the change on the range
6691 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6694 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6696 * src/hildon-touch-selector.c
6697 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6698 in order to allow use this function on multiple row selection mode if
6699 the column is different that the first one
6702 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6704 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6705 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6707 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6709 * src/hildon-date-selector.h: clean some comments, now on the .c
6710 * src/hildon-date-selector.c
6711 (hildon_date_selector_select_month): first implementation
6712 (hildon_date_selector_select_day): added documentation, reimplemented
6713 using hildon_date_selector_select_current_date to avoid repeat code
6716 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6718 Reviewed interaction logic based on device experiences, refactored
6721 * src/hildon-pannable-area.c,
6722 (hildon_pannable_area_class_init): Updated default vmax speed.
6723 (hildon_pannable_area_calculate_velocity): Added this function, it
6724 avoids duplicate valocity calculation. Adjusted calculation to
6725 avoid problems with zero dist events.
6727 (hildon_pannable_area_motion_notify_cb): Now we use the
6728 calculate_velocity function.
6730 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6732 * src/hildon-date-selector.c
6733 (hildon_date_selector_select_current_date): fix the day range check
6734 as it failed using the last day of the current month
6737 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6739 * src/hildon-touch-selector.c
6740 (hildon_touch_selector_get_num_columns): added a parameter validation
6743 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6745 * examples/Makefile.am
6746 * examples/hildon-edit-toolbar-example.c: Example of the
6747 HildonEditToolbar widget.
6749 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6751 * configure.ac: postrelease version bump.
6753 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6757 * configure.ac: prerelease version bump.
6758 * debian/changelog: update.
6760 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6762 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6763 renderer to display stock icons in the touch list. Also, set the sizes
6764 to the recommended in the style guide.
6766 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6767 * src/hildon-touch-selector.h
6768 (hildon_touch_selector_set_active_iter): renamed, now is
6769 hildon_touch_selector_select_iter
6770 (hildon_touch_selector_get_active_iter): renamed, now is
6771 hildon_touch_selector_get_selected
6772 (hildon_touch_selector_unselect_iter): added
6773 * src/hildon-touch-selector.c
6774 Update after API modification (methods renamed)
6775 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6776 order to avoid problems selecting multiple elements on the column
6777 (hildon_touch_selector_unselect_iter): added the implementation
6778 * src/hildon-time-selector.c
6779 * src/hildon-date-selector.c
6780 * src/hildon-touch-selector-entry.c
6781 Update methods calls after hildon-touch-selector.h API modification (methods
6784 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6786 * src/hildon-stackable-window.c
6787 (hildon_stackable_window_finalize): Call the parent class's finalize.
6789 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6791 * examples/hildon-touch-selector-example.c: (create_selector): Use
6792 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6795 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6797 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6798 set a cell background color, to respect theming.
6800 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6802 * doc/hildon-docs.sgml
6805 * src/hildon-edit-toolbar.c
6806 * src/hildon-edit-toolbar.h
6807 * src/hildon.h: New HildonEditToolbar widget.
6809 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6811 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6814 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6815 * src/hildon-touch-selector.c
6816 (_create_new_column): use g_object_set instead of two g_object_set_property
6818 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6819 * src/hildon-touch-selector.c
6820 (_create_new_column): use of hildon_gtk_tree_view_new to create
6821 the treeview, instead of use directly g_object_new
6822 (_create_new_column): update the property name "vindicator-mode" for the
6823 new one "vscrollbar-policy"
6824 * examples/hildon-date-button-example.c
6825 * examples/hildon-picker-button-multicolumn-example.c
6826 * examples/hildon-touch-selector-entry-example.c
6827 * examples/hildon-touch-selector-example.c
6828 * examples/hildon-time-button-example.c
6829 * examples/hildon-picker-button-example.c
6830 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6831 to all the treeviews inside a pannable area.
6833 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6835 * src/hildon-button.h
6836 * src/hildon-button.c (hildon_button_init)
6837 (hildon_button_set_arrangement, hildon_button_set_alignment)
6838 (hildon_button_set_title_alignment)
6839 (hildon_button_set_value_alignment)
6840 (hildon_button_set_image_alignment)
6841 (hildon_button_construct_child): New methods to set the alignment
6842 of the individual components of the button (title, value,
6843 image). Also, new method to alter the xscale and yscale properties
6844 of the GtkAlignment inside the button, so more complex layouts can
6847 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6849 * src/hildon-button.c (hildon_button_style_set)
6850 (hildon_button_class_init, hildon_button_set_arrangement)
6851 (hildon_button_construct_child): Apply style properties
6852 correctly. Use the 'image-spacing' style property too.
6854 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6856 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6857 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6860 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6862 * src/hildon-pannable-area.c,
6863 (hildon_pannable_area_size_request): Fixed problem with
6864 pannable-area size_request.
6866 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6868 Added management for the grab-focus to a child widget, like a
6869 range, we need to fade out the scrollbar when releasing.
6871 * src/hildon-pannable-area.c,
6872 (hildon_pannable_area_init): Connected the grab-focus signal to
6874 (hildon_pannable_area_grab_notify): Added this function in order
6875 to manage the situation when the grab-focus ends. We have to
6876 fade-out the scrollbar.
6878 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6880 * src/hildon-app-menu.c: Minor documentation update.
6882 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6884 * src/hildon-app-menu.c
6885 * examples/hildon-app-menu-example.c (create_menu): Update
6886 examples and documentation to explain how to connect callbacks.
6888 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6890 * examples/hildon-button-example.c
6891 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6892 hildon_stackable_window_new instead of gtk_window_new
6894 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6896 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6897 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6898 (hildon_pannable_area_set_property),
6899 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6900 (hildon_pannable_area_unrealize),
6901 (hildon_pannable_area_size_request),
6902 (hildon_pannable_area_size_allocate),
6903 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6904 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6905 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6906 (hildon_pannable_area_initial_effect),
6907 (hildon_pannable_area_redraw),
6908 (hildon_pannable_area_scroll_indicator_fade),
6909 (hildon_pannable_area_expose_event),
6910 (hildon_pannable_area_get_topmost), (synth_crossing),
6911 (hildon_pannable_area_button_press_cb),
6912 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6913 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6914 (hildon_pannable_area_motion_notify_cb),
6915 (hildon_pannable_area_button_release_cb),
6916 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6917 (hildon_pannable_area_remove),
6918 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6919 chage the code layout to a more GtkWidget like. Review the use of
6922 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6924 * examples/hildon-pannable-area-example-4.c,
6925 (main): Modified the name of the hindicator_mode to
6928 * src/hildon-pannable-area.c,
6929 (hildon_pannable_area_class_init),
6930 (hildon_pannable_area_motion_notify_cb),
6931 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6932 we have reduced the amount of signals and managed reviewed its
6933 rationale. Changed the default decelerate value.
6935 (hildon_pannable_area_add),
6936 (hildon_pannable_area_redraw): Refactored functions.
6938 (hildon_pannable_area_init),
6939 (hildon_pannable_area_get_property),
6940 (hildon_pannable_area_set_property):
6941 (hildon_pannable_draw_vscroll),
6942 (hildon_pannable_draw_hscroll),
6943 (hildon_pannable_area_initial_effect),
6944 (hildon_pannable_area_expose_event),
6945 (hildon_pannable_area_scroll),
6946 (hildon_pannable_area_button_press_cb),
6947 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6948 and vindicator_mode with hscrollbar_policy and
6949 vscrollbar_policy. Replaced hscroll and vscroll with
6950 hscroll_visible and vscroll_visible.
6952 (hildon_pannable_area_refresh): Refactor the function, remove
6953 variables and check the calls to this function, added resize
6954 conditions in case the children change their layout.
6956 (hildon_pannable_area_size_request): Added more detailed
6957 size_request calculation.
6960 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6962 * src/hildon-color-chooser.c
6963 (init_borders): use the correct gtk_border_free instead of g_free, to
6964 avoid a crash when this widget is used (ie: the three color selection
6967 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6969 * src/hildon-check-button.c,
6970 (hildon_check_button_set_active): Fixed problem when setting the
6971 active value, the widget was not redrawn.
6973 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6975 * src/hildon-pannable-area.c,
6976 (hildon_pannable_area_refresh),
6977 (hildon_pannable_area_scroll),
6978 (hildon_pannable_area_motion_notify_cb): Small code style change.
6980 (hildon_pannable_area_class_init): Default initial_hint set to
6981 FALSE, it is not in the specs.
6983 (hildon_pannable_area_initial_effect),
6984 (hildon_pannable_area_expose_event),
6985 (hildon_pannable_area_map),
6986 (hildon_pannable_area_init): Moved the launching point of the
6987 initial effect, it was in map but the sizes where not correct in
6988 that method so we do not know if we have the reproduce it. Now it
6989 is placed in the expose_event method and uses a variable to
6990 reproduce it just once.
6992 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6994 * src/hildon-pannable-area.c,
6995 (hildon_pannable_draw_vscroll),
6996 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6997 position allowed for the scrollbars.
6999 (hildon_pannable_area_size_allocate): Small style change.
7001 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7003 * src/hildon-pannable-area.c,
7004 (hildon_pannable_area_scroll_indicator_fade),
7005 (hildon_pannable_area_button_press_cb),
7006 (hildon_pannable_area_button_release_cb),
7007 (hildon_pannable_area_scroll_cb),
7008 (hildon_pannable_area_expose_event),
7009 (hildon_pannable_area_init): Added the define parameter
7010 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7011 and refactor the fade variable.
7013 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7015 * src/hildon-pannable-area.c,
7016 (hildon_pannable_area_redraw),
7017 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7018 lines, we were reimplemeting the redraw code.
7020 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7022 * src/hildon-pannable-area.c,
7023 (hildon_pannable_area_scroll_cb),
7024 (hildon_pannable_area_realize),
7025 (hildon_pannable_area_class_init): Added scroll_event management
7026 for pannable area, now we can scroll the usual desktop method.
7028 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7029 initialization of the parameters should depend on idle_id.
7031 (hildon_pannable_area_init),
7032 (hildon_pannable_area_map): Small code style modifications
7034 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7036 * src/hildon-pannable-area.c
7037 (hildon_pannable_area_button_press_cb),
7038 (hildon_pannable_area_motion_notify_cb),
7039 (hildon_pannable_area_button_release_cb),
7040 (hildon_pannable_area_size_allocate),
7041 (hildon_pannable_area_scroll_to): Improved the timeouts
7042 management, we avoid creating them each time.
7044 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7046 * src/hildon-pannable-area.c:
7047 (hildon_pannable_area_refresh),
7048 (hildon_pannable_area_motion_notify_cb),
7049 (hildon_pannable_area_class_init):
7050 * src/hildon-pannable-area.h:
7051 * src/hildon-touch-selector.c
7052 (_create_new_column):
7053 * examples/hildon-pannable-area-example-4.c:
7054 (horizontal_movement),
7055 (vertical_movement),
7057 Replaced the names of enums in the HildonPannableArea:
7058 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7059 HILDON_MOVEMENT_MODE_*
7060 - HILDON_PANNABLE_AREA_MOV_* ->
7062 - Removed HildonPannableAreaIndicatorMode, now we
7065 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7067 * examples/hildon-pannable-area-touch-grid-example.c
7068 * examples/hildon-pannable-area-touch-list-example.c: Fix
7069 compilation warnings.
7071 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7073 * src/hildon-gtk.c (hildon_gtk_button_new)
7074 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7075 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7076 images overriding the value of the "gtk-button-images" setting.
7078 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7080 * src/hildon-check-button.c (hildon_check_button_new):
7081 Instead of using a custom container, display the label and the
7082 checkbox using the standard GtkButton API.
7084 * examples/hildon-check-button-example.c (main): Don't use
7085 hildon_check_button_set_label() anymore
7087 * src/hildon-check-button.h
7088 * src/hildon-check-button.c
7089 (hildon_check_button_set_label, hildon_check_button_get_label):
7090 Set as deprecated, now we're using gtk_button_{get,set}_label()
7092 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7094 * src/hildon-pannable-area.c,
7095 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7096 GtkTreeview first line we detected it after the inclusion of the
7097 GtkWindowImpl in gtk+. We now check if the window is visible, not
7098 just if the pointer is over the window.
7099 (hildon_pannable_axis_scroll),
7100 (hildon_pannable_area_expose_event): Small style changes.
7102 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7104 * src/hildon-button.c: Update documentation.
7106 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7108 * examples/hildon-button-example.c: Add a switch to show images in
7111 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7113 * doc/hildon-docs.sgml: Some docs reorganization.
7115 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7117 * examples/hildon-pannable-area-touch-list-example.c
7119 * examples/hildon-pannable-area-touch-grid-example.c
7120 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7121 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7122 Fix memory leak when setting the tree model.
7124 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7128 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7130 * doc/hildon.types: Remove duplicated hildon_window_get_type
7131 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7132 documentation comment.
7134 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7136 * doc/Makefile.am: Complete list of private headers.
7138 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7140 * doc/hildon-docs.sgml
7141 * src/hildon-app-menu.c
7142 * src/hildon-bread-crumb.c
7143 * src/hildon-button.c
7145 * src/hildon-program.c
7146 * src/hildon-stackable-window.c
7147 * src/hildon-window.c: Lots of documentation updates.
7149 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7151 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7153 * configure.ac: Require Gtk+ 2.12.9 at least
7155 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7157 * src/hildon-pannable-area.c
7158 (hildon_pannable_area_scroll_indicator_fade),
7159 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7160 to protect the return of this timeout callbacks, avoiding deadlocks.
7162 2008-08-12 Christian Dywan <christian@imendio.com>
7165 * src/hildon-*.h: Ensure a consistent include order,
7166 include <gtk/gtk.h> instead of particular files and
7167 only include the topmost header in the gtk stack. See NB #39857
7169 2008-08-12 Christian Dywan <christian@imendio.com>
7171 * src/hildon-picker-dialog.c
7172 * src/hildon-touch-selector.c: Fix warnings about unused and
7173 uninitialized variables.
7175 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7177 * examples/Makefile.am
7178 * examples/hildon-check-button-example.c: Example of the hildon
7181 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7183 * src/hildon-window.h
7184 * src/hildon-window.c (hildon_window_class_init)
7185 (hildon_window_unset_program): Don't make
7186 hildon_window_unset_program a virtual function anymore.
7188 * src/hildon-stackable-window.c: Update documentation
7190 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7193 * doc/hildon-docs.sgml
7194 * doc/visual_index.xml
7195 * src/hildon-defines.c
7197 * src/hildon-helper.c
7198 * src/hildon-range-editor.c: Lots of documentation fixes.
7200 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7202 * examples/hildon-picker-button-multicolumn-example.c
7203 (create_touch_selector): Fix compilation warning.
7205 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7207 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7208 (hildon_pannable_area_button_release_cb)
7209 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7211 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7213 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7216 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7218 * src/hildon-bread-crumb-trail.h
7219 * src/hildon-date-editor.c
7220 * src/hildon-date-selector.c
7221 * src/hildon-pannable-area.c
7222 * src/hildon-picker-dialog.c
7223 * src/hildon-time-selector.c
7224 * src/hildon-touch-selector-entry.c
7225 * src/hildon-touch-selector.c
7226 * src/hildon-touch-selector.h: Misc documentation fixes
7228 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7230 * examples/hildon-date-editor-example.c (main): Updated date
7233 * examples/hildon-note-example.c (on_confirmation_clicked):
7234 Updated confirmation note example.
7236 * src/hildon-date-editor.c
7237 * src/hildon-note.c: Updated sample programs in documentation.
7240 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7242 * src/hildon-date-button.h:
7243 * src/hildon-picker-button.h:
7244 * src/hildon-time-button.c:
7245 * src/hildon-time-button.h:
7247 Some declarations changes to allow gtk-doc to document the widgets
7250 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7252 * src/hildon-date-button.c: Document the widget.
7253 * src/hildon-time-button.c: Document the widget.
7255 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7257 * src/hildon-picker-button.c: Document the widget.
7258 * src/hildon-touch-selector-entry.c: Document the widget.
7260 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7262 * doc/hildon-docs.sgml
7265 * src/hildon-check-button.h
7266 * src/hildon-check-button.c: New functions to create the Hildon
7270 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7272 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7274 * src/hildon-button.h
7275 * src/hildon-button.c
7276 (hildon_button_add_title_size_group)
7277 (hildon_button_add_value_size_group)
7278 (hildon_button_add_image_size_group)
7279 (hildon_button_add_size_groups): New functions to set size groups
7280 for the button labels and image.
7281 (hildon_button_new_full): Removed
7283 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7285 * src/hildon-time-selector.c
7286 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7287 in order to avoid a crash if gconf is not available
7289 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7291 * src/hildon-button.c (hildon_button_set_arrangement)
7292 (hildon_button_construct_child): Don't construct the button child
7293 before setting the arrangement.
7295 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7297 * src/hildon-program-private.h
7298 * src/hildon-program.c
7299 * src/hildon-program.h
7300 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7301 (hildon_program_peek_window_stack)
7302 (hildon_program_pop_window_stack)
7303 (hildon_program_go_to_root_window): HildonProgram now has a
7304 separate list for stackable windows. Functions are provided to
7305 manage that list with a stack-like API.
7307 * src/hildon-stackable-window.c: Stackable window management is
7308 now much simpler with the new HildonProgram API. Windows no
7309 longer need to be manually added to the program, they're
7310 automatically pushed to the top of the stack when shown.
7312 * examples/hildon-stackable-window-example.c: Updated example to
7313 reflect the API changes.
7315 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7317 * src/hildon-touch-selector.c: Comment out unimplemented
7318 hildon_touch_selector_insert_column() to avoid a compile warning.
7320 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7322 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7323 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7324 (hildon_touch_selector_set_column_selection_mode),
7325 (_hildon_touch_selector_set_model),
7326 (hildon_touch_selector_set_model):
7328 Complete review of HildonTouchSelector documentation.
7330 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7332 * doc/hildon-docs.sgml
7336 * src/hildon-gtk.c: Convenience functions for standard Gtk
7337 widgets, used to easily perform frequent operations.
7339 * src/hildon-button-helpers.h
7340 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7342 * src/hildon-helper.h
7343 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7344 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7346 * src/hildon-button.h
7347 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7349 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7351 * src/hildon-button.c (hildon_button_init)
7352 (hildon_button_set_arrangement, hildon_button_construct_child):
7353 Pack the image and the labels inside the same GtkAlignment so
7354 gtk_button_set_alignment() can be used
7356 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7358 * src/hildon-button.h
7359 * src/hildon-button.c
7360 (hildon_button_init, hildon_button_set_image)
7361 (hildon_button_set_image_position)
7362 (hildon_button_construct_child): New functions to add an image to
7365 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7367 * src/hildon-date-button.c
7368 * src/hildon-picker-button.c
7369 * src/hildon-time-button.c
7370 * src/hildon-button.c:
7371 (hildon_button_class_init): "size-flags" renamed to "size"
7372 (hildon_button_set_title): Hide the title label if set to NULL.
7374 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7376 HildonButtonFlags split into HildonButtonArrangement (to set the
7377 button layout) and HildonSizeType (which can be used for any
7380 * src/hildon-button.h
7381 * src/hildon-button.c
7382 (hildon_button_class_init)
7383 (hildon_button_set_arrangement)
7384 (hildon_button_set_property): New "size-flags"
7385 property. "arrangement-flags" renamed to "arrangement".
7386 (hildon_button_new, hildon_button_new_with_text)
7387 (hildon_button_new_full): Constructors updated to reflect type changes.
7389 * src/hildon-helper.h
7390 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7391 to set the size of a widget.
7395 * src/hildon-button-helpers.c
7396 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7398 * src/hildon-date-button.c
7399 * src/hildon-date-button.h
7400 * src/hildon-picker-button.c
7401 * src/hildon-picker-button.h
7402 * src/hildon-time-button.c
7403 * src/hildon-time-button.h: Updated widgets to reflect
7404 HildonButton API changes.
7406 * examples/hildon-button-example.c
7407 * examples/hildon-date-button-example.c
7408 * examples/hildon-picker-button-example.c
7409 * examples/hildon-picker-button-multicolumn-example.c
7410 * examples/hildon-time-button-example.c
7411 * examples/hildon-touch-selector-entry-example.c
7412 * examples/hildon-touch-selector-example.c: Updated examples to
7413 reflect HildonButton API changes.
7415 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7417 * doc/hildon-docs.sgml:
7419 * examples/Makefile.am:
7420 * examples/hildon-touch-selector-entry-example.c:
7422 * src/hildon-touch-selector-entry.c:
7423 * src/hildon-touch-selector-entry.h:
7426 Moved HildonTouchSelectorEntry from sandbox. Added its
7427 documentation and examples.
7429 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7431 * src/hildon-touch-selector.h:
7432 * examples/hildon-picker-button-multicolumn-example.c:
7433 (hildon_touch_selector_append_text_column): Add a gboolean
7434 parameter to determine if text must be centered in the column.
7436 * src/hildon-date-selector.c: (hildon_date_selector_init):
7437 * src/hildon-time-selector.c: (hildon_time_selector_init):
7438 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7439 (create_touch_selector): Update widgets and example to reflect
7442 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7444 * src/hildon-touch-selector.c:
7445 (hildon_touch_selector_set_active_iter): Set also the cursor in
7448 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7450 * doc/hildon-docs.sgml
7453 * src/hildon-toggle-button.c
7454 * src/hildon-toggle-button.h
7455 * src/hildon.h: Removed HildonToggleButton widget, a derived
7456 class is not necessary for this.
7458 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7460 * src/hildon-pannable-area.c,
7461 (hildon_pannable_area_realize),
7462 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7465 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7467 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7468 "done" button the default widget for the dialog.
7470 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7472 * src/hildon-touch-selector.c:
7473 (hildon_touch_selector_class_init),
7474 (hildon_touch_selector_get_property),
7475 (_hildon_touch_selector_set_model),
7476 (_hildon_touch_selector_has_multiple_selection),
7477 (hildon_touch_selector_has_multiple_selection):
7478 Add a "has-multiple-selection" property with a virtual
7479 has_multiple_selection() method to allow derived classes to
7480 override the default value for it. See the method and property
7481 documentation for details.
7483 * src/hildon-touch-selector.h: Add the new API.
7485 * src/hildon-picker-dialog.c: (requires_done_button): Call
7486 hildon_touch_selector_has_multiple_selection() instead of
7487 determining the need for a button itself.
7489 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7491 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7492 (_hildon_touch_selector_set_model),
7493 (hildon_touch_selector_set_model): Move working code to
7494 _hildon_touch_selector_set_mode(). Call the class method instead.
7496 * src/hildon-touch-selector.h: Add (*set_model) to
7497 HildonTouchSelectorClass.
7499 Make hildon_touch_selector_set_model() a virtual method, so that
7500 derived classes can extend it and do fancy stuff with the model.
7502 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7504 * configure.ac: Set back the tarname in AC_INIT to hildon.
7506 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7510 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7511 instead of libesd (NB#86876). Volume handling is still an open issue.
7513 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7516 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7518 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7519 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7520 derived class to ease placement of an entry widget in
7521 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7522 end, where the selector columns are packed now.
7524 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7526 * src/hildon-picker-button.c: Removed the simple _text() API.
7527 * src/hildon-picker-button.h: Likewise.
7529 * src/hildon-touch-selector.h:
7530 * src/hildon-touch-selector.c:
7531 (hildon_touch_selector_new_text),
7532 (hildon_touch_selector_append_text),
7533 (hildon_touch_selector_prepend_text),
7534 (hildon_touch_selector_insert_text):
7536 Moved the simple _text() API from HildonPickerButton to
7537 HildonTouchPicker, to provide better escalability and not to tie
7538 that API to HildonPickerButton.
7540 * examples/hildon-picker-button-example.c: (main): Example updated.
7542 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7544 * src/hildon-button.c: Updated documentation.
7546 * examples/hildon-button-example.c: Add the posibility to create
7547 the buttons using horizontal layout for title and value.
7549 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7551 * src/hildon-app-menu-private.h
7552 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7553 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7554 GtkSizeGroup for the filters, use the 'homogeneous' property of
7557 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7559 * examples/hildon-button-example.c: Updated example.
7561 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7563 * doc/hildon-docs.sgml:
7566 Update documentation.
7568 * examples/Makefile.am: Update renamed examples.
7570 * examples/hildon-picker-button-multicolumn-example.c:
7571 (create_touch_selector), (main): Update after the rename.
7573 * examples/hildon-touch-picker-example.c: Removed.
7574 * examples/hildon-touch-selector-example.c: (value_changed),
7575 (create_selector), (get_visible_content), (main): Renamed from
7576 hildon-touch-picker-example.c
7578 * src/Makefile.am: Updated renamed files.
7580 * src/hildon-date-button.c: (hildon_date_button_init),
7581 (hildon_date_button_get_date), (hildon_date_button_set_date):
7582 * src/hildon-date-selector.c: (hildon_date_selector_init),
7583 (_custom_print_func), (_update_day_model),
7584 (_manage_selector_change_cb),
7585 (hildon_date_selector_select_current_date),
7586 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7587 * src/hildon-date-selector.h:
7588 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7589 (hildon_picker_button_set_property),
7590 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7591 (hildon_picker_button_init), (hildon_picker_button_new_text),
7592 (hildon_picker_button_append_text),
7593 (hildon_picker_button_prepend_text),
7594 (hildon_picker_button_insert_text),
7595 (hildon_picker_button_set_selector),
7596 (hildon_picker_button_get_selector):
7597 * src/hildon-picker-button.h:
7598 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7599 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7600 (_update_title_on_selector_changed_cb), (requires_done_button),
7601 (_hildon_picker_dialog_set_selector),
7602 (hildon_picker_dialog_set_selector),
7603 (hildon_picker_dialog_get_selector):
7604 * src/hildon-picker-dialog.h:
7605 * src/hildon-time-button.c: (hildon_time_button_init),
7606 (hildon_time_button_get_time), (hildon_time_button_set_time):
7607 * src/hildon-time-selector.c: (hildon_time_selector_init),
7608 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7609 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7610 * src/hildon-time-selector.h:
7613 Massive code updates after the rename.
7615 * src/hildon-touch-picker.c: Removed.
7616 * src/hildon-touch-picker.h: Removed.
7618 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7619 (hildon_touch_selector_init), (hildon_touch_selector_map),
7620 (hildon_touch_selector_remove), (_default_print_func),
7621 (_selection_changed_cb), (_create_new_column),
7622 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7623 (hildon_touch_selector_append_text_column),
7624 (hildon_touch_selector_remove_column),
7625 (hildon_touch_selector_set_column_attributes),
7626 (hildon_touch_selector_insert_column),
7627 (hildon_touch_selector_get_num_columns),
7628 (hildon_touch_selector_get_column_selection_mode),
7629 (hildon_touch_selector_set_column_selection_mode),
7630 (hildon_touch_selector_set_print_func),
7631 (hildon_touch_selector_get_print_func),
7632 (hildon_touch_selector_get_active_iter),
7633 (hildon_touch_selector_set_active_iter),
7634 (hildon_touch_selector_get_selected_rows),
7635 (hildon_touch_selector_get_model),
7636 (hildon_touch_selector_set_model),
7637 (hildon_touch_selector_get_current_text),
7638 (_hildon_touch_selector_center_on_selected_items):
7639 * src/hildon-touch-selector.h: Renamed from
7640 hildon-touch-picker.[ch]
7642 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7643 references, code examples, and related documentation.
7645 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7647 * doc/hildon-docs.sgml
7650 * src/hildon-toggle-button.c
7651 * src/hildon-toggle-button.h
7652 * src/hildon.h: New HildonToggleButton widget.
7654 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7656 * src/hildon-button.c: Add API documentation.
7657 (hildon_button_set_size_groups): Check input parameters
7659 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7661 * src/hildon-pannable-area.c
7662 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7663 effect after reaching the movement thredshold. This way we start
7664 using the distance after passing the thredshold.
7666 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7668 * src/hildon-button.c: (hildon_button_set_property): Use the
7669 appropriate g_value_get_flags() method.
7671 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7673 * doc/hildon-docs.sgml:
7676 Add the touch pickers, picker dialogs, and picker button widgets
7677 to the documentation.
7679 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7681 * src/hildon-button.c: (hildon_button_set_property),
7682 (hildon_button_class_init): Make "arrangement-flags" a proper
7683 G_TYPE_FLAGS derived property.
7685 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7687 * examples/Makefile.am: Add below examples.
7688 * examples/hildon-date-button-example.c:
7689 * examples/hildon-picker-button-example.c:
7690 * examples/hildon-picker-button-multicolumn-example.c:
7691 * examples/hildon-time-button-example.c:
7692 * examples/hildon-touch-picker-example.c:
7694 Add examples for the recently added touch pickers,
7695 picker dialogs, and picker button widgets.
7697 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7699 * src/hildon-button.c: Add some API documentation
7701 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7703 * src/hildon-button.h
7704 * src/hildon-button.c
7706 (hildon_button_new_with_text): New constructor to create a button
7707 with no text at all.
7708 (hildon_button_init, hildon_button_set_arrangement)
7709 (hildon_button_set_title, hildon_button_set_value)
7710 (hildon_button_set_text)
7711 (hildon_button_construct_child): Hide the value when it's not used
7712 so the rest of the text is properly aligned.
7713 Allow creating buttons with arbitrary widgets inside (not just
7714 title/value labels).
7716 * examples/hildon-button-example.c (vertical_buttons_window)
7717 (horizontal_buttons_window): Update example to use new API.
7719 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7721 * src/Makefile.am: Added HildonTimeButton.
7722 * src/hildon-time-button.c: Added missing LGPL header.
7723 * src/hildon-time-button.h: Added missing LGPL header.
7724 * src/hildon.h: Add hildon-time-button.h
7726 Copied HildonTimeButton from sandbox to trunk. Future work on this
7727 widget must take place in trunk.
7729 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7731 * src/Makefile.am: Added HildonDateButton.
7732 * src/hildon-date-button.c: Update includes.
7733 * src/hildon.h: Add hildon-date-button.h
7735 Copied HildonDateButton from sandbox to trunk. Future work on this
7736 widget must take place in trunk.
7738 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7740 * src/Makefile.am: Added HildonPickerButton.
7741 * src/hildon-picker-button.h: Update includes.
7742 * src/hildon.h: Add hildon-picker-button.h
7744 Copied HildonPickerButton from sandbox to trunk. Future work on
7745 this widget must take place in trunk.
7747 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7749 * src/Makefile.am: Added HildonPickerDialog.
7750 * src/hildon-picker-dialog.c: Update includes.
7751 * src/hildon.h: Add hildon-picker-dialog.h
7753 Copied HildonPickerDialog from sandbox to trunk. Future work
7754 on this widget must take place in trunk.
7756 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7758 * src/Makefile.am: Added HildonTimeSelector.
7759 * src/hildon.h: Add hildon-time-selector.h
7761 Copied HildonTimeSelector widget from sandbox to trunk. Future
7762 work on this widget must happen in trunk.
7764 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7766 * src/Makefile.am: Added HildonDateSelector.
7767 * src/hildon.h: Add hildon-date-selector.h
7769 Copied HildonDateSelector widget from sandbox to trunk. Future
7770 work on this widget must happen in trunk.
7772 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7774 * src/Makefile.am: Added HildonTouchPicker.
7775 * src/hildon-touch-picker.c: Update includes.
7776 * src/hildon.h: Add hildon-touch-picker.h
7778 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7779 on this widget must happen in trunk.
7781 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7783 * src/hildon-pannable-area.c:
7784 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7786 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7788 * examples/hildon-app-menu-example.c (main): Let the window
7791 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7793 * src/hildon-pannable-area.c
7794 (hildon_pannable_area_class_init): Set the min value of the
7795 overshoot properties to zero, which points out that not
7796 overshooting allowed.
7798 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7800 Modified the procedure to get the widget at a point inside the
7801 pannable area when using the movement type signals. Now the user
7802 has to call a function to get the child, that way we just
7803 calculate the child in case the user really want to use it and not
7806 * src/hildon-marshalers.list: Modified the marshallers, now we do
7807 not have the widget as a parameter.
7809 * src/hildon-pannable-area.c
7810 (hildon_pannable_area_motion_notify_cb),
7811 (hildon_pannable_area_class_init),
7812 (hildon_pannable_get_child_widget_at): Removed the widget
7813 parameter from the signal callback. We have also refactored the
7814 emission of the signals.
7816 * src/hildon-pannable-area.h: Added a new method to the API to
7817 calculate a widget at a point inside the pannable area,
7818 hildon_pannable_get_child_widget_at.
7820 * examples/hildon-pannable-area-example-4.c
7821 (horizontal_movement): Modified the example to use the new API,
7822 added condition to control which widget is under the event. This
7823 way we can avoid scrolling laterally over other widgets.
7825 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7827 * src/hildon-pannable-area.c
7828 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7829 modes, we stop getting the pointer events due to returning the
7830 callback without properly calling the get pointer again. Fixed
7831 also an error using the hscroll and vscroll.
7833 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7835 * src/hildon-app-menu-private.h
7836 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7837 (hildon_app_menu_button_release, hildon_app_menu_init)
7838 (hildon_app_menu_class_init): Don't hide the menu on button
7839 release if the user didn't press outside first.
7841 * src/hildon-window.h
7842 * src/hildon-window.c (hildon_window_toggle_menu)
7843 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7844 hildon_window_toggle_menu a virtual function for the stackable
7845 window to override it.
7847 * src/hildon-stackable-window.h
7848 * src/hildon-stackable-window-private.h
7849 * src/hildon-stackable-window.c
7850 (hildon_stackable_window_realize)
7851 (hildon_stackable_window_finalize)
7852 (hildon_stackable_window_class_init)
7853 (hildon_stackable_window_init)
7854 (hildon_stackable_window_set_main_menu): New function to set the
7855 app menu of a HildonStackableWindow.
7857 * examples/hildon-app-menu-example.c: Remove the button to show
7858 the app menu, now it'll be shown when clicking on the title bar
7861 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7863 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7864 set the widget name if the arrangement flags do not specify
7867 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7869 * src/hildon-button.c: (hildon_button_set_property),
7870 (hildon_button_class_init), (hildon_button_new_full),
7871 (hildon_button_set_arrangement): Added "arrangement-flags"
7874 Make the HildonButtonFlags a construction-only property, to allow
7875 subclasses to set them properly.
7877 2008-07-21 Tim Janik <timj@imendio.com>
7879 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7880 insertion position after backspace, so additional digits are appended,
7883 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7885 * src/hildon-pannable-area.c,
7886 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7887 TODO list, it was complete and removed the g_debug and g_print
7890 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7892 Added the movement modes to the hildon-pannable-area, with this
7893 modes the developers can control in which directions the widget
7894 can scroll. They can also connect to signals in order to do
7895 something when that happens, allowing applications scroll. There
7896 is an example uploaded showing how to use it.
7898 * examples/Makefile.am:
7899 * examples/hildon-pannable-area-example-4.c: Added this example of
7900 an application using the modes.
7902 * src/hildon-marshalers.list: Added a new marshaller for the new
7905 * src/hildon-pannable-area.h: Added new enumerations and flags in
7906 order to control the movement modes and the new signals to warn
7907 about the movements in the area.
7909 * src/hildon-pannable-area.c:
7910 (hildon_pannable_axis_scroll),
7911 (hildon_pannable_area_scroll),
7912 (hildon_pannable_area_motion_notify_cb),
7913 (hildon_pannable_area_get_property),
7914 (hildon_pannable_area_set_property),
7915 (hildon_pannable_area_map),
7916 (hildon_pannable_area_class_init),
7917 (hildon_pannable_area_init),
7918 (hildon_pannable_area_jump_to): Added the modes to control the
7919 movement in the widget. We have added properties to control it,
7920 signals to warn about the movements and refactored some code.
7922 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7924 Changes required in order to allow vfast_factor set to zero to
7927 * src/hildon-pannable-area.c:
7928 (hildon_pannable_area_button_press_cb): Changed the condition, it
7929 is required for not allowing click when vfast_factor is zero.
7930 (hildon_pannable_area_timeout): Initialized velocity variables
7931 when we stop moving, it was less than 1 but not zero and we need
7932 to check zero in some situations.
7933 (hildon_pannable_area_class_init): Changed the default value of
7934 the speed factor, now the button_press is just sent in case the
7935 speed is 2 per cent of the max speed.
7936 (hildon_pannable_area_init): Initialization with 0.
7938 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7940 * src/hildon-pannable-area.c,
7941 (hildon_pannable_area_get_topmost): replaced
7942 gdk_window_get_children with gdk_window_peek_children, this way we
7943 do not have to free the list because it is not a copy.
7945 (hildon_pannable_axis_scroll),
7946 (hildon_pannable_area_scroll),
7947 (hildon_pannable_area_timeout),
7948 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7949 two parameters that were only used inside the
7950 hildon_pannable_area_scroll function.
7952 * examples/hildon-pannable-area-example.c,
7953 (get_sawtooth_label): Fixed small memory leak.
7955 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7957 More checks for the case where the overshoot is bigger than the
7960 * src/hildon-pannable-area.c:
7961 (hildon_pannable_draw_vscroll),
7962 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7963 to draw the slider of the scrollbar under the other scrollbar.
7964 (hildon_pannable_area_expose_event): added new checks to control
7965 the drawing of the overshooting area rectangle, in case it is too
7966 big for the area of the widget.
7967 (hildon_pannable_area_size_allocate): add more checks to avoid
7968 setting a position to the child widget outside the area.
7970 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7972 * src/hildon-pannable-area.c
7973 (hildon_pannable_area_size_allocate): Added conditions to control
7974 when overshooting is bigger than the allocated space for the
7975 children, this avoids negative allocations.
7977 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7979 * doc/hildon-docs.sgml
7981 * examples/Makefile.am
7982 * examples/hildon-button-example.c
7984 * src/hildon-button.c
7985 * src/hildon-button.h
7986 * src/hildon.h: Initial version of the new HildonButton widget,
7989 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7991 * src/hildon-pannable-area.c:
7992 (hildon_pannable_area_button_press_cb),
7993 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7994 (hildon_pannable_area_motion_notify_cb),
7995 (hildon_pannable_area_button_release_cb),
7996 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7997 (hildon_pannable_area_jump_to_child):
7999 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8001 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8003 * examples/Makefile.am
8004 * examples/hildon-pannable-area-touch-grid-example.c
8005 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8006 the Hildon Touch List and Hildon Touch Grid using the
8007 HildonPannableArea widget.
8009 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8011 * src/hildon-pannable-area.c,
8012 (hildon_pannable_area_button_press_cb),
8013 (hildon_pannable_area_refresh),
8014 (hildon_pannable_area_scroll),
8015 (hildon_pannable_area_motion_notify_cb),
8016 (hildon_pannable_area_button_release_cb),
8017 (hildon_pannable_area_expose_event),
8018 (hildon_pannable_area_add),
8019 (hildon_pannable_area_remove),
8020 (hildon_pannable_area_realize),
8021 (hildon_pannable_area_size_allocate),
8022 (hildon_pannable_area_class_init),
8023 (hildon_pannable_area_init),
8024 (hildon_pannable_area_scroll_to_child),
8025 (hildon_pannable_area_jump_to_child): Fixed the problem of
8026 removing the child from the GtkBin, we have rearranged the widget
8027 hierarchy, now there is no GtkAlignment which was not doing
8028 anything interesting but breaking some of the assumptions of
8029 GtkContainer. Now developers if they want to add a GtkAlignment
8030 they could, but it is not inside the area.
8032 We had to review the whole allocation/expose process, now it is
8033 improved and we save at least three signals which would be saving
8034 some time when rendering the widget. The allocation of the
8035 scrollbars is now made in the allocate method as usual.
8037 We have also added some conditions in order to control when there
8038 is no child of the pannable area. Maybe we will need more work
8041 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8043 * src/hildon-pannable-area.c,
8044 (hildon_pannable_area_dispose): Released the fade-out timeout when
8045 disposing the widget.
8047 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8049 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8050 zero, we are going to use that property in order to deactivate the
8052 (hildon_pannable_axis_scroll),
8053 (hildon_pannable_area_size_allocate): Added conditions to control
8054 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8055 call, now it is called in all situations and we can remove calls
8056 in the allocate method.
8057 (hildon_pannable_area_map): Control the situation when
8058 overshoot_max is zero, we do not need the timeout.
8059 (hildon_pannable_area_class_init): Added documentation in order to
8060 point out that setting zero to overshoot_max means deactivate
8063 NOTE: removed trailing whitespaces from my previous comments of
8066 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8068 * src/hildon-pannable-area.c
8069 (hildon_pannable_area_get_property),
8070 (hildon_pannable_area_set_property),
8071 (hildon_pannable_area_map),
8072 (hildon_pannable_area_class_init),
8073 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8074 to cause the widget give a hint about its panning abilities upon
8077 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8079 * src/hildon-pannable-area.c: Several documentation improvements.
8081 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8083 * src/hildon-program.c
8084 * src/hildon-stackable-window.c: Update documentation.
8086 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8088 * src/hildon-stackable-window.c (get_previous_window_if_last):
8089 Renamed get_last_window()
8090 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8091 (hildon_stackable_window_unset_program):
8093 (get_previous_window_if_last):
8094 Detect if the window hasn't been added to a HildonProgram.
8096 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8098 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8100 * src/hildon-pannable-area.c
8101 (hildon_pannable_area_button_press_cb),
8102 (hildon_pannable_axis_scroll),
8103 (hildon_pannable_area_scroll),
8104 (hildon_pannable_area_timeout),
8105 (hildon_pannable_calculate_vel_factor),
8106 (hildon_pannable_area_get_property),
8107 (hildon_pannable_area_set_property),
8108 (hildon_pannable_area_class_init),
8109 (hildon_pannable_area_init),
8110 (hildon_pannable_area_scroll_to),
8111 (hildon_pannable_area_jump_to),
8112 (hildon_pannable_area_scroll_to_child),
8113 (hildon_pannable_area_jump_to_child):
8114 * src/hildon-pannable-area.h: Added the new API functions:
8115 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8116 hildon_pannable_area_scroll_to_child,
8117 hildon_pannable_area_jump_to_child
8120 * examples/Makefile.am
8121 * examples/hildon-pannable-area-example-2.c
8122 * examples/hildon-pannable-area-example-3.c: Added these two new
8123 examples in order to test and show how the new APIs work.
8125 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8127 * examples/hildon-stackable-window-example.c (new_window):
8128 * src/Makefile.am (noinst_HEADERS):
8129 * src/hildon-program.c (hildon_program_go_to_root_window):
8130 * src/hildon-program.h:
8131 * src/hildon-stackable-window-private.h:
8132 * src/hildon-stackable-window.c:
8133 * src/hildon-stackable-window.h:
8134 Create hildon-stackable-window-private.h
8135 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8137 * examples/hildon-app-menu-example.c (create_menu):
8138 * examples/hildon-hvolumebar-insensitive-example.c (main):
8139 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8140 * examples/hildon-toolbar-seekbar-example.c (main):
8141 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8142 * src/hildon-banner.c (hildon_banner_set_property):
8143 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8144 Fix compilation warnings
8146 * src/hildon-window.c:
8149 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8151 * src/hildon-stackable-window.c
8152 (hildon_stackable_window_unset_program):
8153 Calculate correctly whether to show the previous window if the
8154 last one is removed from the stack.
8155 (hildon_stackable_window_go_to_root_window):
8156 Send delete events starting from the topmost window.
8157 Stop if one of the windows is not destroyed.
8159 (hildon_stackable_window_delete_event)
8160 (hildon_stackable_window_class_init):
8161 Ignore the delete event if the window is not the topmost one.
8163 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8165 * src/hildon-pannable-area.c
8166 (hildon_pannable_area_expose_event): Fixed a problem when
8167 selecting the background color of the scrollbars.
8169 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8171 * examples/hildon-stackable-window-example.c
8172 * src/hildon-stackable-window.c
8173 * src/hildon-stackable-window.h
8174 hildon_stackable_window_go_home() renamed to
8175 hildon_stackable_window_go_to_root_window()
8176 Send delete events to windows rather than closing them with
8177 gtk_widget_destroy()
8179 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8181 * src/hildon-pannable-area.c
8182 (hildon_pannable_area_button_release_cb): Fix overshooting in
8185 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8187 * src/hildon-pannable-area.c
8188 (hildon_pannable_area_init): Initially show the scroll indicators.
8189 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8191 Add initial effect showing the widget is pannable.
8193 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8195 * src/hildon-pannable-area.c
8196 (hildon_pannable_area_class_init)
8197 (hildon_pannable_area_set_property)
8198 (hildon_pannable_area_get_property)
8199 (hildon_pannable_area_button_press_cb):
8200 New 'velocity_fast_factor' property to decide which velocity is
8203 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8205 * src/hildon-pannable-area.c
8206 (hildon_pannable_draw_hscroll)
8207 (hildon_pannable_draw_vscroll):
8208 Use float variables to calculate the size of the scrollbars to
8209 avoid error propagation and resizing during scrolling.
8211 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8213 * src/hildon-pannable-area.c
8214 (hildon_pannable_draw_vscroll)
8215 (hildon_pannable_draw_hscroll):
8216 Define a minimum size for the scroll bars
8218 * src/hildon-stackable-window.c
8219 (hildon_stackable_window_go_home): Fix compilation warning
8220 (get_last_window): Minor optimizations
8221 (hildon_stackable_window_class_init): Fix initialization of
8224 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8226 * src/hildon-stackable-window.c: Fixed typos in doc
8228 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8230 * src/hildon-pannable-area.c
8231 (hildon_pannable_area_scroll):
8232 Calculate here whether we need to scroll instead of using the booleans
8233 that tell us whether to /draw/ the scrolling bars.
8235 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8237 * src/hildon-app-menu.h
8239 * src/hildon-app-menu.c
8240 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8241 multiple filter groups related code and API. Now we support only
8243 * examples/hildon-app-menu-example.c:
8245 Update to reflect API changes.
8247 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8249 * src/hildon-stackable-window.c
8250 (hildon_stackable_window_class_init):
8251 Add hildon_stackable_window_realize.
8252 (hildon_stackable_window_realize):
8253 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8254 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8255 to apply theming and behavior specific to HildonStackableWindow
8258 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8260 * src/hildon-note.c (hildon_note_button_release):
8261 Close information notes also when tapping on them
8263 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8265 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8266 ELASTICITY, refactor and review, fix some issues with drawing
8269 * src/hildon-pannable-area.c:
8270 (hildon_pannable_area_button_press_cb): removed the conditions to
8271 avoid clicks when overshooting. It is not required
8273 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8274 define. Refatored and reviewed the code, now we do not need to
8275 manage velocity in motion_notify.
8277 (hildon_pannable_area_motion_notify_cb): We have moved the code
8278 that controls the area_scroll to the axis_scroll function and get
8279 rid of duplicated code.
8281 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8283 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8285 (hildon_pannable_draw_vscroll),
8286 (hildon_pannable_draw_hscroll): Fixed the problems with the
8287 scrollbar drawing, now we do not use two surfaces, it is easier
8288 and saves resources.
8290 (hildon_pannable_area_get_property): Style modification.
8292 (hildon_pannable_area_class_init): Changed some default values.
8294 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8296 * src/hildon-stackable-window.c: Fix some typos in the
8299 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8301 * src/hildon-dialog.c:
8302 Change indentation style
8305 (hildon_note_button_release):
8306 Use root coordinates to check if the release event happened
8309 * src/hildon-app-menu.c
8310 (hildon_app_menu_button_release):
8311 Remove unnecessary check
8313 * examples/hildon-app-menu-example.c
8315 Add cast to fix warning
8317 * src/hildon-app-menu.c
8318 (hildon_app_menu_class_init):
8319 New inner-border style property.
8320 Set all default spacings to 16
8321 (hildon_app_menu_init):
8322 Use vertical-spacing to set the space between filter buttons and
8323 regular menu buttons.
8324 Set the default container border using the inner-border value.
8326 * examples/hildon-app-menu-example.c
8328 Don't set the menu border explicitly, now we have the inner-border
8329 style property for that.
8331 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8333 * src/hildon-app-menu.c (hildon_app_menu_init):
8334 Make the window modal
8336 * src/hildon-note.c (hildon_note_map)
8337 * src/hildon-app-menu.c (hildon_app_menu_map):
8338 Destroy the grab window if we're unable to grab the pointer
8340 * src/hildon-app-menu-private.h
8341 * src/hildon-app-menu.c
8342 (hildon_app_menu_init, hildon_app_menu_finalize)
8343 (hildon_app_menu_map, hildon_app_menu_unmap)
8344 (hildon_app_menu_button_release)
8345 (grab_transfer_window_get):
8346 Bring back the grab window
8347 (hildon_app_menu_realize):
8348 Decorate the window, set WM hint for Matchbox
8350 * src/hildon-note.c (hildon_note_realize):
8351 * src/hildon-banner.c (hildon_banner_realize):
8352 Add WM hints for Matchbox
8354 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8356 * src/hildon-app-menu-private.h
8357 * src/hildon-app-menu.c
8358 (hildon_app_menu_init, hildon_app_menu_finalize)
8359 (hildon_app_menu_map, hildon_app_menu_unmap)
8360 (hildon_app_menu_button_release):
8361 Remove the grab window, it's not needed anymore
8363 * src/hildon-program.c
8364 Fixed typo in documentation
8366 * src/hildon-app-menu.h
8367 * src/hildon-app-menu.c
8368 * examples/hildon-app-menu-example.c
8369 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8371 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8374 Added new transfer_window and close_if_pressed_outside private
8376 (hildon_note_rebuild):
8377 Don't add a cancel button to the information note. It will be
8378 closed when tapping outside
8379 Remove the comment about the OK button in the documentation
8380 (hildon_note_realize):
8381 Set the notification type hint
8382 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8383 Grab/ungrab pointer and keyboard if the note has to be closed when
8385 (hildon_note_button_release):
8386 Close the note when tapping outside (if applicable)
8388 * src/hildon-app-menu.c
8389 Grab/ungrab pointer and keyboard on map/unmap
8390 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8391 Close the menu on button release, not button press
8393 * src/hildon-banner.c
8394 (hildon_banner_set_property)
8395 (hildon_banner_check_position):
8396 Make the banner use the full width of the screen
8397 (hildon_banner_show_information)
8398 (hildon_banner_show_information_with_markup):
8399 Don't display an icon by default
8401 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8403 Added fading scrollbars and adapted all the overshooting code to
8404 horizontal scrolling. We have also fixed bugs with overshooting
8405 and current fading implementation.
8407 * src/hildon-pannable-area.c
8408 (hildon_pannable_area_scroll_indicator_fade): Time out function
8409 used to change the transparency of the scrollbars.
8411 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8412 control and fixed a problem with fading, we now remove the fade
8413 timeout before adding a new one.
8415 (hildon_pannable_axis_scroll):
8416 (hildon_pannable_area_scroll):
8417 (hildon_pannable_area_timeout): Added this functions so we can use
8418 the scroll code both for vertical and horizontal.
8420 (hildon_pannable_area_motion_notify_cb):
8421 (hildon_pannable_area_button_release_cb): Added the horizontal
8422 scrolling control, fixed a problem with the overshooting timeout.
8424 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8425 painting of the scrolls.
8427 (hildon_pannable_draw_vscroll):
8428 (hildon_pannable_draw_hscroll):
8429 (hildon_pannable_area_expose_event):
8430 Draw both scrollbars and rectangles in the overshooting area.
8432 (hildon_pannable_area_get_property):
8433 (hildon_pannable_area_set_property):
8434 Modified the overshoot property to overshoot_max
8436 (hildon_pannable_area_map):
8437 Replaced the comments symbols.
8439 (hildon_pannable_area_size_allocate):
8440 (hildon_pannable_area_class_init):
8441 (hildon_pannable_area_init): Added horizontal scroll, fading
8442 effect properties, fixed a problem when overshooting in the bottom
8445 * examples/hildon-pannable-area-example.c:
8446 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8447 looks better in the example.
8449 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8451 * src/hildon-window.c
8452 * src/hildon-window.h
8453 (hildon_window_class_init)
8454 (hildon_window_unset_program)
8455 (hildon_window_unset_program_real):
8456 Make unset_program a virtual function
8458 * src/hildon-stackable-window.c
8459 * src/hildon-stackable-window.h
8460 Added hildon_stackable_window_go_home()
8462 * examples/Makefile.am
8463 * examples/hildon-stackable-window-example.c
8464 HildonStackableWindow example
8466 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8468 * hildon-pannable-area.c: Added the overshoot property and removed
8469 the OVERSHOOT define. Fixed an indent style error.
8470 (hildon_pannable_area_motion_notify_cb):
8471 (hildon_pannable_area_get_property):
8472 (hildon_pannable_area_set_property): Add overshoot property.
8474 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8477 (hildon_pannable_area_class_init): Installed the new property.
8479 * hildon-pannable-area-example.c: Added a sawtooth function, this
8480 way it is easier to check the movement in the pannable.
8481 (get_sawtooth_label): Added this function.
8482 (main): Now we get the labels from the new get_sawtooth_label
8485 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8487 * src/hildon-app-menu.h
8488 * src/hildon-app-menu.c
8489 Renamed API variables for consistency
8491 (hildon_app_menu_popup): Use also the default window size to
8492 decide where to place the menu
8494 (hildon_app_menu_init, hildon_app_menu_class_init): New
8495 external-border style property
8497 2008-05-26 Michael Natterer <mitch@imendio.com>
8499 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8500 widget_class->tap_and_hold_setup signal slot doesn't exist any
8501 longer, stop overriding it.
8503 (hildon_time_editor_init): g_signal_connect() to the
8504 tap-and-hold-setup signal instead.
8506 (hildon_time_editor_entry_keypress): add cast to fix warning.
8508 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8510 * doc/hildon-docs.sgml
8512 * examples/Makefile.am
8513 * examples/hildon-app-menu-example.c
8515 * src/hildon-app-menu-private.h
8516 * src/hildon-app-menu.c
8517 * src/hildon-app-menu.h
8519 New HildonAppMenu widget
8521 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8523 Rearranged the inheritance of the pannable area, now it inherits
8524 from GtkBin. This will allow us to control the event_window and
8525 the allocation process of the widget, required for some effects.
8527 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8528 GtkBin structures. * src/hildon-pannable-area.c: Added the
8529 event_window variable.
8530 (hildon_pannable_area_button_press_cb):
8531 (hildon_pannable_area_button_release_cb):
8532 (hildon_pannable_area_motion_notify_cb):
8533 Changed the signature of the method, now we override the event
8534 callback instead of connecting to the signal.
8536 (hildon_pannable_area_realize):
8537 (hildon_pannable_area_unrealize):
8538 (hildon_pannable_area_map):
8539 (hildon_pannable_area_unmap):
8540 (hildon_pannable_area_size_allocate):
8541 Added functions to control the widget construction. We add a
8542 INPUT_ONLY window and we put it over the widgets inside the
8543 container, this event_window handles the events.
8545 (hildon_pannable_area_class_init):
8546 Replaced the signal connections with overrides of the event
8549 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8551 Bouncing effect added when touching the borders, you can change
8552 the elasticity of the border changing the ELASTICITY define.
8554 * src/hildon-pannable-area.c: Added ELASTICITY define.
8555 (hildon_pannable_area_timeout): Added inverse velocity when
8556 touching the border of the child widget, that causes a bounce.
8558 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8560 Improved performance, we now do not go to the X server in order to
8561 get the list of window children. Apparently the effect is the
8562 same, we have to be careful and check if this breaks something in
8565 * src/hildon-pannable-area.c:
8566 (get_ordered_children): Removed this function.
8567 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8568 the children windows function with gdk_window_get_children.
8570 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8572 * src/hildon-pannable-area.c:
8573 (hildon_pannable_area_dispose): Fixed a crash when closing the
8574 window and kinetics is activated.
8576 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8578 * src/hildon-pannable-area.h
8579 * src/hildon-pannable-area.c
8580 Changed indentation style to meet the one used in Hildon
8582 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8584 Reviewed the interaction of the AUTO mode, now we use the time
8585 attribute of the events and calculate the velocity in the motion,
8586 doing a gimp like calculation. The velocity is calculated in each
8587 motion event using the last velocity and the current one, the
8588 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8590 * src/hildon-pannable-area.c: Replaced the time based algorithm
8592 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8593 timeout for the AUTO mode when we are still moving the cursor. We
8594 added also the velocity calculation in this function.
8595 (hildon_pannable_area_button_release_cb): launch the timeout in
8596 case we are in AUTO mode. There are still some constants here that
8597 come from the old implementation that should be reviewed and
8600 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8602 * doc/hildon-docs.sgml
8605 * src/hildon-stackable-window.c
8606 * src/hildon-stackable-window.h
8608 New HildonStackableWindow widget
8610 * examples/hildon-dialog-example.c
8611 * examples/hildon-pannable-area-example.c
8614 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8616 * src/hildon-dialog.c
8617 (hildon_dialog_new_with_buttons): New constructor.
8619 * examples/hildon-dialog-example.c
8620 (main): Update the example to use the new
8621 hildon_dialog_new_with_buttons().
8623 * examples/hildon-pannable-area-example.c
8624 (main): Update example.
8626 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8628 * doc/hildon-docs.sgml
8630 Added HildonPannableArea to the documentation.
8632 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8634 * doc/visual_index.xml
8635 Fix reference to HildonLoginDialog in documentation
8637 * doc/hildon-docs.sgml
8639 * examples/Makefile.am
8640 * examples/hildon-dialog-example.c
8642 * src/hildon-dialog.c
8643 * src/hildon-dialog.h
8645 New HildonDialog widget.
8647 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8649 * src/hildon-pannable-area.c
8650 Merge latest changes (r4318, r4342) from libmokoui trunk
8652 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8654 * examples/Makefile.am
8655 * examples/hildon-pannable-area-example.c
8657 * src/hildon-pannable-area.c
8658 * src/hildon-pannable-area.h
8660 New HildonPannableArea widget.
8662 2008-04-15 18:05:19 <timj@imendio.com>
8664 * src/hildon-banner.c: revert the recent change, that introduced
8665 gtk_window_present() calls. this reopens:
8666 Bug 78481 - [freetest] information banners are hidden under browser menu
8667 But resolves another variant of:
8668 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8670 2008-04-15 13:21:13 <timj@imendio.com>
8672 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8673 recreated its layout, spotted by Kris. this fixes all remaining
8674 artefacts and stability issues with the banner code. in particular:
8675 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8677 2008-04-14 16:52:59 <timj@imendio.com>
8679 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8680 operating on unrealized widgets, fixes:
8681 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8683 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8685 2008-04-09 Kristian Rietveld <kris@imendio.com>
8687 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8688 makes banner disappear.
8689 Fixes: NB#79182: info banner flickering with certain message lengts.
8691 * src/hildon-banner.c (hildon_banner_constructor),
8692 (hildon_banner_init), (hildon_banner_set_text),
8693 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8694 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8695 FALSE, reset size requests of label and banner,
8696 (force_to_wrap_truncated): when the text is too wide, always enforce
8697 the maximum possible width instead of recalculating it from the
8698 layout; enforce the maximum banner height of 3 lines,
8699 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8700 nicer wrapping and no truncated chars if space gets tight.
8702 * src/hildon-banner-private.h: add has_been_wrapped and
8703 has_been_truncated fields.
8705 2008-04-07 Sven Herzberg <sven@imendio.com>
8707 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8708 local values in hildon_date_editor_size_allocate
8710 * src/hildon-date-editor.c: moved the real allocation code into the
8713 2008-04-07 Sven Herzberg <sven@imendio.com>
8715 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8716 local values in hildon_date_editor_size_allocate
8718 * src/hildon-date-editor.c: merged the two if() branches together
8720 2008-04-07 Sven Herzberg <sven@imendio.com>
8722 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8723 local values in hildon_date_editor_size_allocate
8725 * src/hildon-date-editor.c: changed the arguments of the if()
8728 2008-04-07 Sven Herzberg <sven@imendio.com>
8730 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8731 local values in hildon_date_editor_size_allocate
8733 * src/hildon-date-editor.c: split the calculation of the allocation
8734 from the real allocation
8736 2008-03-27 Michael Natterer <mitch@imendio.com>
8738 Fixes: NB#81696: The passcode is not overwritten even after
8741 * src/hildon-code-dialog.c
8742 (hildon_code_dialog_button_clicked)
8743 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8744 because that doesn't overwrite selected text. Instead, emit the
8745 "commit" signal on the entry's im_context so the entry's normal
8746 insert logic is triggered. Set the cursor to the end of the entry
8747 after each insert operation so that we *only* insert in the middle
8748 of the text if something was selected.
8750 2008-03-27 Michael Natterer <mitch@imendio.com>
8752 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8753 selector cannot be opened
8755 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8756 when the popup color selector is created. Please connect to this
8757 signal in order to set the dialog's help ID.
8759 2008-03-25 Sven Herzberg <sven@imendio.com>
8761 Fixes: MB#1212: Hide info banners (infoprints) on click
8763 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8764 extracted the close event simulation into an extra function
8765 (hildon_banner_button_press_event): simulate a close event and destroy
8766 the widget if the event wasn't handled
8767 (hildon_banner_class_init): added the button_press_event handler
8768 (hildon_banner_init): added button-press events to the widget
8770 2008-03-25 Sven Herzberg <sven@imendio.com>
8772 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8773 Patch from: Mohammad Anwari <mdamt@maemo.org>
8775 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8776 instead of the right in RTL mode
8777 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8778 breadcrumb button list in RTL mode
8779 * src/hildon-caption.c: mirror the appearance of the caption widget in
8781 * src/hildon-date-editor.c: mirror appearance of the date editor in
8783 * src/hildon-time-editor.c: mirror appearance of the time editor in
8785 * src/hildon-window.c: fix the position of the popup in RTL mode
8787 2008-03-25 Sven Herzberg <sven@imendio.com>
8789 Amendment to the fix of NB#22072. Fix compilation.
8791 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8793 2008-03-19 Sven Herzberg <sven@imendio.com>
8795 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8798 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8799 timeout id properly when the timeout will disappear this leaves no
8800 artifacts around in the destroy(); there will only be the timeout
8801 created by hildon_banner_ensure_timeout() and adding a new timeout
8802 will also work if the timeout gets removed because the timeout_handler
8805 2008-03-19 Michael Natterer <mitch@imendio.com>
8807 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8809 * src/hildon-volumebar.c
8810 * src/hildon-vvolumebar.c
8811 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8812 the widget becomes focussable at all.
8814 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8815 set the focus to wither the mute button or the volumebar.
8817 Remove own "can-focus" property and instead listen to
8818 notify::can-focus in order to update the widget's state.
8820 Implement GtkWidget::focus() and make sure we can also *leave* the
8821 widget, not only enter it, depending on volumebar orientation and
8822 requested focus direction.
8824 Clean up set_mute() to cooperate nicely with all the above.
8826 2008-03-04 Michael Natterer <mitch@imendio.com>
8828 Fixes: NB#78481: information banners are hidden under browser menu
8830 * src/hildon-banner.c: call gtk_window_present() on the banners so
8831 they are risen if they are already visible.
8833 2008-03-03 Sven Herzberg <sven@imendio.com>
8835 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8837 * examples/hildon-window-menu-example.c: (main): extended the window
8838 menu example to serve as a testcase for automatically added
8839 accelerator groups, too
8840 * src/hildon-window.c: (hildon_window_add_accel_group),
8841 (hildon_window_set_menu): added patch by Tommi Komulainen
8843 2008-03-03 Sven Herzberg <sven@imendio.com>
8845 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8847 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8848 knowledge about the border allocators used within GTK+
8850 2008-02-26 Sven Herzberg <sven@imendio.com>
8852 Fixes: MB#2981: Build with asserts broken
8854 * src/hildon-date-editor.c,
8855 * src/hildon-number-editor.c,
8856 * src/hildon-time-editor.c,
8857 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8858 the proper GType instance check
8860 2008-02-25 Sven Herzberg <sven@imendio.com>
8862 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8864 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8865 * examples/hildon-window-menu-example.c: (main): explicitly show
8867 * src/hildon-window.c:
8868 (hildon_window_set_main_menu): moved most of the code from set_menu()
8869 to this place; skipped the call to gtk_widget_show_all(); also didn't
8870 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8871 (hildon_window_set_menu): removed most of the code, just keep the
8872 questionable gtk_widget_show_all()
8873 * src/hildon-window.h: added the new function and deprecate the old
8876 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8882 * debian/changelog: Updating.
8884 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8887 * pkgconfig/Makefile.am:
8888 * pkgconfig/hildon.pc.in:
8891 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8892 use newly created API_MAJOR_VERSION.
8894 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8900 * debian/changelog: Updating.
8902 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8904 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8906 Add outer_border style property, we use it but don't define it (!).
8910 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8912 * examples/hildon-bread-crumb-trail-example.c (main):
8916 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8918 Fix logic for the bread crumb trail node removal.
8922 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * debian/changelog: Updating.
8930 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8932 Patch by Alejandro to get/set passwords dialogs accesibility.
8934 * hildon-1/src/hildon-get-password-dialog.c:
8935 * hildon-1/src/hildon-set-password-dialog.c:
8936 Set atk_set_name to the passwd entries in order to allow
8937 accessibility by name on this entries.
8939 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8944 * debian/control: Updating gtk dep.
8946 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8948 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8949 USE_MAEMO_GTK is enabled.
8951 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8953 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8954 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8956 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8962 * debian/changelog: Updating.
8964 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8966 * examples/Makefile.am:
8967 * examples/hildon-logical-color-example.c:
8968 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8969 applied + adding a test case. Fixes: NB#71660.
8971 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8973 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8974 to be visible, fixes warning on map for windows without toolbars.
8976 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8978 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8979 2.11.0, add a check for that besides the MAEMO_GTK check.
8981 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8987 * debian/changelog: Updating.
8989 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8991 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8992 visibility. Fixes: NB#70842 and MB#615.
8994 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8996 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8997 set the separator as no-show-all so it doesn't unintentionally appear when
8998 someone does a show_all.
9000 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9002 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9003 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9004 toplevel item. Fixes: NB#62031
9006 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9008 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9009 fix the name of the function in the docs.
9011 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9017 * debian/changelog: Updating.
9019 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * examples/hildon-banner-long-example.c: Adding a test-case for long
9024 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9026 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * src/hildon-color-chooser-dialog.c:
9029 * src/hildon-color-chooser.c:
9030 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9031 memory leaks in font selector and color selector. Fixes: NB#70499 and
9034 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9036 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9038 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9041 little bit bigger. Fixes: #NB63694.
9043 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9049 * debian/changelog: Updating.
9051 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * doc/hildon-docs.sgml:
9055 * doc/images/bread-crumb-trail.png:
9056 * doc/images/calendar-popup.png:
9057 * doc/images/caption.png:
9058 * doc/images/code-dialog.png:
9059 * doc/images/color-button.png:
9060 * doc/images/color-chooser-dialog.png:
9061 * doc/images/color-chooser.png:
9062 * doc/images/controlbar.png:
9063 * doc/images/date-editor.png:
9064 * doc/images/font-selection-dialog.png:
9065 * doc/images/get-password-dialog.png:
9066 * doc/images/hvolumebar.png:
9067 * doc/images/login-dialog.png:
9068 * doc/images/note.png:
9069 * doc/images/number-editor.png:
9070 * doc/images/range-editor.png:
9071 * doc/images/seekbar.png:
9072 * doc/images/set-password-dialog.png:
9073 * doc/images/sort-dialog.png:
9074 * doc/images/time-editor.png:
9075 * doc/images/time-picker.png:
9076 * doc/images/vvolumebar.png:
9077 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9078 Adding the bread-crumb-trial and helpers to the documentation.
9080 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9082 * examples/hildon-find-toolbar-example.c:
9083 * src/hildon-find-toolbar.c:
9084 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9085 actually continue firing the other handlers if connected. Adding a new
9087 hildon_find_toolbar_get_last_index that gets the index of the most
9088 recently added (last) item. Fixes: NB#52301.
9090 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9092 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9093 behaviour. Fixes: NB#68610.
9095 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9097 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9100 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9102 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9103 when realizing the banner. Should make the infonbanner effect a bit more
9106 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9108 * src/hildon-volumebar.c:
9109 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9110 hildon_volumebar_set_range_insensitive_message and
9111 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9113 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9115 * src/hildon-window.c: Fixing the border freeing on destroy.
9117 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * src/hildon-code-dialog-private.h:
9120 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9121 kw keyboard support in HildonCodeDialog.
9123 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9129 * debian/changelog: Updating.
9131 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * src/hildon-date-editor.c:
9134 * src/hildon-number-editor.c:
9135 * src/hildon-private.c:
9136 * src/hildon-private.h:
9137 * src/hildon-time-editor.c:
9138 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9139 handling in subclassed composite widgets. Fixes: NB#66628.
9141 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9144 from destroy_ callback as it introduces problems in async dbus signal
9145 handlers. Fixes NB#66673.
9147 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * examples/hildon-hvolumebar-example.c:
9150 * src/hildon-volumebar.c: Improving the focus handling in the
9151 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9152 set_property accessor so that "mute" property can be actually set. I'm
9153 scared that nobody noticed it's totally broken.
9155 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9160 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9162 * src/hildon-calendar.c:
9163 * src/hildon-number-editor.c:
9164 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9165 matches the spec of 6 chars per second. Fixes: NB#60489.
9167 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9169 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9170 gtk_style_lookup_color sometime returns FALSE even though color was
9171 found and values were filled properly. Weird. Removing the warning for the
9174 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9176 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9177 expand vertically. Adding some extra space to the find toolbar buttons to
9178 make them thumbable. Fixes NB#66060.
9180 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9183 popup with "Ok" and "Cancel". Fixes NB#59299.
9185 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9187 * src/hildon-calendar.c: Process all window updates before executing next
9188 timeout. Fixes: NB#54146.
9190 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9196 * debian/changelog: Updating.
9198 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9200 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9201 the client event and ignore it, since we use the delete event to close
9204 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9206 * src/hildon-helper.c: Remove the bogus warning about color not being
9207 found. Fixes NB#58352.
9209 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9211 * examples/Makefile.am:
9212 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9213 HildonSeekbar widget inside a toolbar.
9215 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9217 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9218 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9219 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9220 don't want to be closed by non-temporary windows on map.
9222 Also use G_DEFINE_TYPE instead of manually typed code.
9224 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 * debian/rules: Updating.
9233 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9235 * examples/Makefile.am:
9236 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9237 bug NB#61128. Strangely it works.
9239 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9241 * src/hildon-date-editor.c: When the date editor entry has been changed
9242 but the numbers of characters < max, turn off the skip validation flag.
9243 Prevents a situation when we enter first a valid year and later re-write
9244 it with an invalid one. Fixes NB#60154.
9246 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9248 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9249 code dialog. Fixes NB#64355.
9251 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9254 switching the page. Fixes NB#49374.
9256 * examples/Makefile.am:
9257 * examples/hildon-wizard-dialog-example.c: Adding an example for
9258 HildonWizardDialog that shows how to handle manual sensitivity setting on
9261 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * src/hildon-version.h.in:
9266 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9268 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 * src/hildon-volumebar.c: Updating the docs.
9272 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * debian/changelog: Updating.
9280 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * src/hildon-find-toolbar.c:
9283 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9284 selected item: hildon_find_toolbar_set_active,
9285 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9286 hildon_find_toolbar_get_active_iter . They correspond to respective
9287 GtkComboBox functions.
9289 * examples/Makefile.am:
9290 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9293 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9295 * examples/Makefile.am:
9296 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9299 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9300 when font size > 32 and we pack a focusable widget inside. Actually using
9301 the default response would work too, but since we don't show default
9302 response state in any way (no theming) it would not be visible to the
9303 user. Fixes NB#63430.
9305 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9307 * src/hildon-date-editor.c: Adding the missing variable setter in the
9308 set_property handler. Fixes NB#54182.
9310 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9312 * src/hildon-window.h: Changing the long key press time from 1500ms to
9313 800ms as requested in NB#63700. I have a bad feeling about this, let's
9314 see... Fixes NB#63700.
9316 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9318 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9319 hildon_time_picker_map, hildon_time_picker_realize,
9320 hildon_time_picker_style_set): Split the contents of map to more
9321 appropriate functions; set window decorations on realize and update
9322 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9324 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9329 * debian/changelog: Updating.
9331 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9333 * src/Makefile.am: fixed installation of the header files
9335 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * debian/changelog: Updating.
9343 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9345 * configure.ac: Removing some remaining of --enable-xan.
9347 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9349 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9350 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9352 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9353 2.10.12-osso6 because the move-focus signal needs to be available in
9356 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9358 * examples/Makefile.am:
9359 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9360 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9361 fine. Prolly NB#61128 is fixed now.
9363 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9365 * src/hildon-volumebar.c:
9366 * src/hildon-volumebar.h: Adding the
9367 hildon_volumebar_set_range_insensitive_message and
9368 hildon_volumebar_set_range_insensitive_messagef functions to set
9369 insensitive message on the slider of the volumebar. Fixes NB#61129.
9371 * examples/Makefile.am:
9372 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9373 test the new insensitive messsage functionality on HildonVolumebar.
9375 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9377 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9380 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9382 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9383 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9384 button on after clearing the trail.
9386 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9388 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9390 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9392 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9393 by splitting the installed headers in generated and non-generated groups. Use
9394 only the non-generated headers to create the hildon-enum-types.h file.
9396 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9398 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9400 * src/hildon-window.c: Hide the window before performing the destroy.
9401 Should make the app closing a little tiny bit more snappy.
9403 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9405 * src/hildon-seekbar.c: add gtkrange.h header
9406 * src/hildon-caption.c: remove unused variable
9408 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9410 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9413 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9419 * debian/changelog: Updating.
9421 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9423 * src/hildon-window.c (hildon_window_window_state_event,
9424 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9425 escape timeout on focus-out-event rather than notify::is-topmost; the
9426 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9428 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9430 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9431 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9433 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9435 * src/hildon-window: actually, you need to use the macro always, there's
9436 no private pointer in the instance structure. We should have cleaned this up
9437 when we had the chance...
9439 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9441 * src/hildon-window.c: do not get the private date from HildonWindow before
9442 it passes the g_return_if_fail check. Once it's passed the test, there's no
9443 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9444 if you are only going to access the data once. Whitespace cleanups.
9446 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9448 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9449 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9451 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9457 * debian/changelog: Updating.
9459 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9461 * src/hildon-window.c: When destroying the window, remove (if exists) the
9462 escape timeout handler. Fixes #NB59276.
9464 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9466 * src/hildon-banner.c: When realizing the widget, set the window
9467 transiency. Setting the transiency in the gobject constructor is not
9468 good, as the widget is not realized at that point. Fixes: #NB56624.
9470 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9472 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9473 Add padding for future expansions.
9475 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9477 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9478 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9479 will fake an activation on the previous to the last item of the trail, so
9480 the effect can be overrided by the developer as usual.
9481 Also change the callback for the back button to do the same thing, so its
9482 effect can be overrided too. Fixes: NB#58982
9484 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9486 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9487 HildonCaption. Fixes NB#52379.
9489 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9491 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9492 the internal state of the trail after the user has had the chance of executing
9493 his handler for the signal. Specifically, it may happen that the activated button
9494 is removed and the user still lets the default handler run. This would segfault
9497 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9499 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9500 scrollbar to the preview dialog. Fixes NB#54147.
9502 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9504 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9505 max/min year properties can be altered, so the client can modify it
9506 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9508 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9510 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9511 hildonlike by default. Fixing a problem with disappearing arrows when
9512 scrolling through months and years. Fixes NB#54127.
9514 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9516 * examples/hildon-date-editor-example.c: Adding error callback to the date
9519 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9525 * configure.ac: Updating.
9527 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9529 * configure.ac: Adding a special '--enable-xan' configure option that
9530 turns off the -Werror compilation setting. Usefull for development.
9532 * src/hildon-calendar.c:
9533 * src/hildon-number-editor.c:
9534 * src/hildon-time-picker.c: Adding the 5* multiplier to
9537 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9539 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9540 instead of g_object_ref + gtk_object_sink.
9542 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9548 * debian/changelog: Updating.
9550 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9552 * src/hildon-color-chooser-dialog.c:
9553 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9554 straight from Tommi labs.
9556 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9558 * examples/hildon-finger-example.c: Correcting the header file path.
9560 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9561 the changed signal. Fixes a small memory leak.
9563 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9567 * src/hildon-banner.c: Importing several usefull fixes from the
9568 ubuntu-mobile branch.
9570 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9572 * examples/Makefile.am:
9573 * examples/hildon-finger-example.c: Adding a finger-checking code
9576 * src/hildon-font-selection-dialog.c: Do not allocate the color
9577 structure using the g_new. Fixes NB#54061.
9579 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9581 * src/hildon-helper.c: Correcting tabs in file.
9583 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9585 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9586 control the visibility of the children.
9588 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9590 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9596 * debian/changelog: Updating.
9598 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9600 * src/hildon-bread-crumb-trail.c:
9601 (hildon_bread_crumb_trail_size_allocate):
9603 Make the back button always a square.
9605 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9607 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9608 from the .c file as it's a private file.
9610 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9612 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9613 uses slightly bigger height.
9615 * src/hildon-font-selection-dialog.c: Adding some checks before
9616 freeing memory in the font selection dialog.
9618 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9620 * src/hildon-font-selection-dialog.c: Adding a small check when
9623 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9624 buttons sensitivity on page switching.
9626 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9628 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9629 internal details of adding a bread crumb to the trail.
9631 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9637 * debian/changelog: Updating.
9639 * src/hildon-bread-crumb-trail.h:
9640 * src/hildon-bread-crumb.h: Changing the API guard to
9641 HILDON_ENABLE_UNSTABLE_API.
9643 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9651 * src/hildon-helper.h: Updating.
9653 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9661 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9665 * src/hildon-helper.h: Small fix to make the package actually compile.
9667 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9669 * src/hildon-bread-crumb-trail.h:
9670 * src/hildon-bread-crumb.h:
9672 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9673 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9675 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9677 * examples/hildon-bread-crumb-trail-example.c:
9679 * src/hildon-bread-crumb-trail.c:
9680 * src/hildon-bread-crumb-trail.h:
9681 * src/hildon-bread-crumb.c:
9682 * src/hildon-bread-crumb.h:
9683 * src/hildon-marshalers.list:
9684 * src/hildon-bread-crumb-widget.c:
9685 * src/hildon-bread-crumb-widget.h:
9687 Slight change in the widget design. The bread crumb trail API is
9688 unchanged, but HildonBreadCrumb is now an interface. A *private*
9689 implementation, hildon-bread-crumb-widget, is provided and used
9690 internally by the trail for the push_text/push_icon functions.
9692 The generic push API is still available, so anyone can implement
9693 and use its own bread crumb widget.
9695 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9697 * debian/rules: Fixing the shlibs.
9699 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9701 * src/hildon-banner.c: Fixing a problem with timed banners having
9702 their parrent destroyed before they are.
9704 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9706 * src/hildon-bread-crumb.c:
9707 * src/hildon-bread-crumb.h:
9709 Make the get_natural_size function a vfunc.
9711 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9713 * src/hildon-bread-crumb.c:
9714 * src/hildon-bread-crumb-trail.c:
9718 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9725 * debian/changelog: Updating for release.
9727 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9729 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9730 don't leak the pango layout.
9732 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9735 * examples/hildon-bread-crumb-trail-example.c:
9739 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9741 * debian/changelog: Removing the bug-fixed entries that were actually
9742 resolved as WONTFIX.
9744 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9747 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9749 * src/hildon-bread-crumb-trail.c:
9750 * src/hildon-bread-crumb-trail.h:
9751 * src/hildon-bread-crumb.c:
9752 * src/hildon-bread-crumb.h:
9756 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9758 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9759 until it's passed the type check.
9761 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9763 * examples/hildon-bread-crumb-trail-example.c
9767 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9769 * examples/Makefile.am
9770 * examples/hildon-bread-crumb-trail-example.c
9772 * src/hildon-bread-crumb-trail.c
9773 * src/hildon-bread-crumb-trail.h
9774 * src/hildon-bread-crumb.c
9775 * src/hildon-bread-crumb.h
9777 New HildonBreadCrumbTrail widget.
9779 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9781 * src/hildon-range-editor.c (hildon_range_editor_init),
9782 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9783 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9784 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9785 hildon_time_editor_class_init, hildon_time_editor_init),
9786 src/hildon-get-password-dialog.c (invalid_input,
9787 hildon_get_password_set_property, hildon_get_password_get_property,
9788 create_contents, hildon_get_password_dialog_set_max_characters),
9789 src/hildon-set-password-dialog.c (create_contents),
9790 src/hildon-date-editor.c (hildon_date_editor_init),
9791 src/hildon-login-dialog.c (hildon_login_dialog_init),
9792 src/hildon-number-editor.c (hildon_number_editor_init),
9793 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9794 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9795 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9796 configure option and adding the respective checks in the code.
9797 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9798 hildon_calendar_drag_data_received): fixed some build warnings.
9800 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9802 * debian/changelog: A 1.0.0 release notes.