1 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
3 Emit HildonAppMenu::changed when menu items change visibility
5 * hildon/hildon-app-menu.c: (item_visibility_changed),
6 (filter_visibility_changed): Also emit ::changed on
7 visibility of items changed.
9 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
11 Do not set the menu flag in a window when a menu is empty
13 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
14 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
15 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
16 changes by using the HildonAppMenu::changed signal.
18 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
20 Add HildonAppMenu::changed signal
22 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
23 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
24 Emit a new HildonAppMenu:changed signal when there are changes in
27 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
29 Add hildon_app_menu_has_visible_children() private method
31 * hildon/hildon-app-menu-private.h: Add below private method.
32 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
33 New method to check the visibility of a HildonAppMenu children.
35 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
37 Set the window menu flag for application-common menus
39 * hildon/hildon-program.c:
40 (+hildon_program_window_set_common_menu_flag): Set or remove the
41 menu flag from a window only this doesn't have its own menu.
42 (+hildon_program_set_common_menu_flag): adjust menu flag for
43 all windows in the program.
44 (hildon_program_add_window),
45 (hildon_program_remove_window): add/remove the menu flag when
46 a window is added to the program.
48 Fixes: NB#137814 (Indicator for view menu in app title area)
50 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
52 Set a special window property for windows with menus
54 * hildon/hildon-window-private.h: Add private
55 hildon_window_set_menu_flag()
56 * hildon/hildon-window.c: (+do_set_has_menu),
57 (+hildon_window_set_menu_flag): set
58 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
59 or remove the property.
60 (hildon_window_set_main_menu),
61 (hildon_window_set_app_menu): call above methods to set or remove
62 the property when a menu is added or removed from the window.
64 Partially fixes: NB#137814 (Indicator for view menu in app title area)
66 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
68 Rename and move the methods to set flags to hildon-private.h
70 * hildon/hildon-gtk.c: (do_set_progress_indicator),
71 (do_set_do_not_disturb), (do_set_portrait_flags): call
72 the new private method hildon_gtk_window_set_clear_window_flag()
73 (hildon_gtk_window_set_progress_indicator),
74 (hildon_gtk_window_set_do_not_disturb),
75 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
76 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
77 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
79 * hildon/hildon-private.h: Add the two new private methds.
81 2009-09-11 Alejandro G. Castro <alex@igalia.com>
83 * hildon/hildon-pannable-area.c,
84 (hildon_pannable_area_init),
85 (hildon_pannable_area_size_allocate),
86 (hildon_pannable_area_button_release_cb): More tuning of the
87 speed, adding a way to calculate the acceleration and fast-panning
88 based on the child size.
90 2009-09-10 Alberto Garcia <agarcia@igalia.com>
92 * hildon/hildon-touch-selector.c
93 (hildon_touch_selector_class_init):
98 2009-09-10 Alberto Garcia <agarcia@igalia.com>
100 * hildon/hildon-touch-selector.c:
101 Documentation updates
103 Fixes: MB#5104 (HildonTouchSelector docs should say no
104 HildonPannableArea is necessary)
106 2009-09-08 Alejandro G. Castro <alex@igalia.com>
108 * hildon/hildon-pannable-area.c,
109 (hildon_pannable_area_timeout): Fixed problem with the timeout
110 function, we need to move before decelerating the first time or we
111 are loosing the first jump.
113 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
115 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
117 [2.2.0 Release Candidate 3]
119 * debian/changelog: updates
121 2009-09-07 Alejandro G. Castro <alex@igalia.com>
123 * hildon/hildon-pannable-area.c,
124 (hildon_pannable_area_class_init): Increased max speed.
126 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
128 [2.2.0 Release Candidate 2]
131 * debian/changelog: bump version, updates
133 2009-09-07 Alejandro G. Castro <alex@igalia.com>
135 * hildon/hildon-pannable-area.c,
136 (hildon_pannable_area_class_init),
137 (hildon_pannable_area_button_release_cb): More tuning for the
140 2009-09-07 Alejandro G. Castro <alex@igalia.com>
142 * hildon/hildon-pannable-area.c,
143 (hildon_pannable_area_class_init):
144 Change the default value of the scrollbar_fade_delay.
146 Fixes: NB#127018 (Panning indicator fades out too slowly)
148 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
150 [2.2.0 Release Candidate 1]
153 * configure.ac: Bump version
154 * debian/changelog: updates
156 2009-09-04 Alejandro G. Castro <alex@igalia.com>
158 * hildon/hildon-pannable-area.c,
159 (hildon_pannable_area_init),
160 (hildon_pannable_area_button_press_cb),
161 (hildon_pannable_area_button_release_cb): Added a new acceleration
162 system to help traversing big lists, tuned the stop threshold.
164 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
166 2009-09-04 Alberto Garcia <agarcia@igalia.com>
168 * hildon/hildon-window.h:
169 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
171 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
173 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
177 * configure.ac: bump version
179 * debian/changelog: updates
181 2009-09-04 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-entry.c
184 * hildon/hildon-text-view.c:
185 Documentation updates
187 2009-09-04 Alberto Garcia <agarcia@igalia.com>
189 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
190 Redraw menu when the number of items change.
192 Fixes: NB#131911 (Appmenu does not resize properly, when number of
195 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
197 * hildon/hildon-pannable-area.c:
198 (hildon_pannable_area_launch_fade_timeout),
199 (hildon_pannable_area_motion_event_scroll),
200 (hildon_pannable_area_check_move),
201 (hildon_pannable_area_button_release_cb),
202 (hildon_pannable_area_scroll_to):
204 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
205 area drawing operations, since this is the recommended for drawing
208 Fixes: NB#110894 (In event view containing very large description
209 field, application menu is displayed blank while panning)
210 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
213 2009-09-03 Alberto Garcia <agarcia@igalia.com>
215 * doc/hildon-sections.txt
216 * hildon/hildon-button.c
217 * hildon/hildon-edit-toolbar.c
218 * hildon/hildon-gtk.[ch]
219 * hildon/hildon-main.c
220 * hildon/hildon-program.c
221 * hildon/hildon-stackable-window.c:
222 Documentation updates
224 2009-08-28 Alberto Garcia <agarcia@igalia.com>
226 * hildon/hildon-app-menu.c
227 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
228 Close the menu if it receives a grab-notify signal.
230 Fixes: NB#134533 (UI freezes if we show a dialog with
231 gtk_dialog_run() while a menu is opened)
233 2009-08-27 Alejandro G. Castro <alex@igalia.com>
235 * hildon/hildon-pannable-area.c,
236 (hildon_pannable_area_class_init): Reverted tuning modifications:
237 "Pannign needs to be faster" and "Pannable kinetics in large lists
240 2009-08-26 Alberto Garcia <agarcia@igalia.com>
242 * hildon/hildon-sound.c (hildon_play_system_sound):
243 Set "module-stream-restore.id" to "x-maemo-system-sound" when
244 playing system sounds
246 Fixes: NB#133767 (Information and confirmation note sound should
247 follow system profile setting)
249 2009-08-26 Alejandro G. Castro <alex@igalia.com>
251 * hildon/hildon-pannable-area.c,
252 (hildon_pannable_area_class_init): Added more force and increased
253 the max speed threshold.
255 Fixes: NB#135344 (Pannign needs to be faster)
257 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
259 [Release 2.1.96, this time for real]
262 * debian/changelog: updates
264 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
266 * hildon/hildon-pannable-area.c
267 (hildon_pannable_area_get_topmost): change the computation of the
268 co-ordinates transformed when no one of the children is a topmost
270 Fixes: NB#133252 (Opening any feed item from RSS always opens the
271 first feed item in browser)
273 2009-08-26 Alejandro G. Castro <alex@igalia.com>
275 * hildon/hildon-pannable-area.c,
276 (hildon_pannable_area_remove_timeouts): Adding this new function
277 with the code that removes the timeouts of the widget.
278 (hildon_pannable_area_dispose),
279 (hildon_pannable_area_unrealize): Use the new remove function to
280 stop timeouts when unrealizing and disposing.
281 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
282 calculation to avoid negative values in some cases.
284 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
286 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
288 * examples/hildon-check-button-example.c: (button_toggled_cb):
289 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
290 (hildon_check_button_set_active), (hildon_check_button_new),
291 (hildon_check_button_clicked), (hildon_check_button_class_init):
292 * hildon/hildon-check-button.h:
293 * hildon/hildon-set-password-dialog.c: (create_contents),
294 (hildon_set_password_response_change), (hildon_checkbox_toggled):
296 Revert "Make HildonCheckButton derive from GtkToggleButton"
298 2009-08-21 Alberto Garcia <agarcia@igalia.com>
302 * configure.ac: bump version
304 * debian/changelog: updates
306 2009-08-21 Alberto Garcia <agarcia@igalia.com>
308 * hildon/hildon-check-button.h
309 * hildon/hildon-check-button.c
310 (hildon_check_button_clicked, hildon_check_button_class_init):
311 Make HildonCheckButton derive from GtkToggleButton
312 (hildon_check_button_toggled, hildon_check_button_set_active)
313 (hildon_check_button_get_active):
314 Deprecate unnecessary HildonCheckButton API and use the
315 one from GtkToggleButton instead.
317 * hildon/hildon-set-password-dialog.c (create_contents)
318 (hildon_set_password_response_change, hildon_checkbox_toggled)
319 * examples/hildon-check-button-example.c (button_toggled_cb):
320 Update to use the GtkToggleButton API
322 Fixes: MB#4739 (HildonCheckButton should inherit from
325 Fixes: NB#132661 (HildonCheckButton should inherit from
328 2009-08-20 Alberto Garcia <agarcia@igalia.com>
330 * hildon/hildon-pannable-area.c
331 (hildon_pannable_area_class_init):
332 Increase default value of HildonPannableArea:velocity_max to 2000
334 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
336 2009-08-18 Alberto Garcia <agarcia@igalia.com>
340 * configure.ac: bump version
342 * debian/changelog: updates
344 2009-08-11 Alejandro G. Castro <alex@igalia.com>
346 * hildon/hildon-pannable-area.c
347 (hildon_pannable_area_size_allocate): Checked the scrollbars
348 before the first try when defining the layout, avoids two
349 allocations in some situations.
351 Fixes: NB#131794 (pannable area produces unnecessary allocations
352 causing performance problems)
354 2009-08-11 Alejandro G. Castro <alex@igalia.com>
356 * hildon/hildon-pannable-area.c
357 (hildon_pannable_area_button_press_cb),
358 (hildon_pannable_area_motion_notify_cb),
359 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
360 the spurious ref added in the copy, fixes leak of window.
362 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
363 if it's realized without showing and then deleted)
365 2009-08-10 Alberto Garcia <agarcia@igalia.com>
369 * configure.ac: bump version
371 * debian/changelog: updates
373 2009-08-06 Alberto Garcia <agarcia@igalia.com>
375 * examples/hildon-hvolumebar-timer-example.c
377 * hildon/hildon-banner.c
378 (hildon_banner_timeout, hildon_banner_ensure_timeout)
379 * hildon/hildon-calendar.c
380 (calendar_timer, start_spinning)
381 * hildon/hildon-color-chooser.c
382 (inline_limited_expose)
383 * hildon/hildon-date-editor.c
384 (hildon_date_editor_entry_focus_in)
385 (hildon_date_editor_entry_validate)
386 (hildon_date_editor_entry_select_all)
387 * hildon/hildon-note.c
389 * hildon/hildon-number-editor.c
390 (hildon_number_editor_button_pressed)
391 (hildon_number_editor_start_timer, do_mouse_timeout),
392 (add_select_all_idle, hildon_number_editor_select_all)
393 * hildon/hildon-time-editor.c
394 (hildon_time_editor_entry_focus_in)
395 (highlight_callback, hildon_time_editor_validate)
396 (hildon_time_editor_entry_select_all)
397 * hildon/hildon-time-picker.c
398 (hildon_time_picker_arrow_press)
399 (hildon_time_picker_key_repeat_timeout)
400 * hildon/hildon-window.c
401 (hildon_window_key_press_event)
402 (hildon_window_escape_timeout):
403 Replace all calls to g_idle_add/g_timeout_add with their
404 gdk_threads counterparts.
406 Fixes: NB#126198 (gdk-threads API should be used to install idle
407 and timeout handlers)
409 2009-08-06 Alejandro G. Castro <alex@igalia.com>
411 * hildon/hildon-pannable-area.c,
412 (hildon_pannable_area_class_init): Increased the overshooting max
413 speed to get a faster effect.
414 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
415 deceleration of the overshooting
416 (hildon_pannable_area_button_release_cb): Calculate initial
417 overshooting speed when finger on the screen using the distance to
418 launch the effect faster.
420 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
421 lists with slow row renderers)
423 2009-08-05 Alberto Garcia <agarcia@igalia.com>
425 * doc/hildon-sections.txt: Add new functions
427 2009-08-05 Alberto Garcia <agarcia@igalia.com>
429 * hildon/hildon-text-view.[ch]
430 * hildon/hildon-entry.[ch]:
431 Add deprecation guards around deprecated functions.
433 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
435 * hildon/hildon-app-menu.c: Remove leftover function declaration.
437 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
439 Remove the grab from HildonAppMenu
441 * hildon/hildon-app-menu.c:
442 Now hildon-desktop places a blocker window behind the menu to handle
443 its closing, so the grab is no longer needed. This simplifies its
444 implementation and allows the system blanking to succeed.
446 Fixes: NB#130910 (Screen gets unlocked when menu is open)
448 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
452 * configure.ac: bump version
454 * debian/changelog: updates
455 * debian/control: raise debian dependency on GTK+
457 2009-08-04 Alberto Garcia <agarcia@igalia.com>
459 * hildon/hildon-text-view.c
460 * hildon/hildon-entry.c:
461 Remove all placeholder code from HildonEntry and HildonTextView
462 and use the API in GtkEntry and GtkTextView instead.
464 * examples/hildon-entry-example.c
465 * examples/hildon-text-view-example.c
466 * examples/hildon-wizard-dialog-example.c
467 * hildon/hildon-get-password-dialog.c
468 * hildon/hildon-login-dialog.c
469 * hildon/hildon-picker-dialog.c
470 * hildon/hildon-set-password-dialog.c
471 * hildon/hildon-touch-selector-entry.c:
472 Replace all deprecated calls to HildonEntry and HildonTextView
473 with their Gtk counterparts.
475 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
478 2009-08-03 Alejandro G. Castro <alex@igalia.com>
480 * hildon/hildon-pannable-area.c,
481 (hildon_pannable_area_check_move),
482 (hildon_pannable_area_button_release_cb),
483 (hildon_pannable_area_scroll_to): Reverted the priority change of
484 the timeout, in some situations, slow renderers, the click do not
485 make it to the mainloop on time.
487 Fixes NB#131013 (unable to stop panning file manager by tapping on
490 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
492 * configure.ac: bump version
494 * debian/changelog: updates
496 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
498 * hildon/hildon-touch-selector.[ch]
499 (hildon_touch_selector_center_on_index): New method that allows to center
500 on a item not selected
502 Fixes NB#130291 (New HildonTouchSelector API is required to center on
505 2009-07-29 Alberto Garcia <agarcia@igalia.com>
507 * hildon/hildon-text-view.c
508 (+set_logical_color, +hildon_text_view_style_set)
509 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
510 (hildon_text_view_init)
511 * hildon/hildon-entry.c
512 (+set_logical_color, +hildon_entry_style_set)
513 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
514 (hildon_entry_class_init, hildon_entry_init)
515 * hildon/hildon-button.c
516 (+set_logical_font, +set_logical_color)
517 (hildon_button_style_set, hildon_button_init)
518 (hildon_button_set_arrangement, hildon_button_set_style):
519 Remove all calls to hildon_helper_set_logical_font() and
520 hildon_helper_set_logical_color(), which are recursive, from
523 Fixes: NB#123409 (Showing dialog consumes significant amount of
526 2009-07-29 Alejandro G. Castro <alex@igalia.com>
528 * hildon/hildon-pannable-area.c,
529 (hildon_pannable_area_timeout): Added the process updates of the
530 scrollbars window in the pannable.
532 Fixes: NB#130043 (scrollindicator not smooth while panning)
534 2009-07-23 Alejandro G. Castro <alex@igalia.com>
536 * hildon/hildon-pannable-area.c,
537 (hildon_pannable_area_check_move),
538 (hildon_pannable_area_button_release_cb),
539 (hildon_pannable_area_scroll_to): Increased the priority of the
540 timeout this way it is going to be handled before the events.
542 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
546 * configure.ac: bump version
547 * debian/changelog: updates
549 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
551 * hildon/hildon-entry.c: (set_property): Do not allow to set
552 automatic height and use finger height instead, to prevent an to
553 have a smaller size than than its theme pixbuf.
555 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
557 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
559 * configure.ac: postrelease version bump.
560 * debian/changelog: post release version bump
562 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
567 * configure.ac: Bump version.
568 * debian/changelog: Updates.
570 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
572 * hildon/hildon-note.c: (label_size_request): Take the note
573 padding into account when setting the size request.
575 Fixes: NB#127896 (Information notes text truncated)
577 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
579 * configure.ac: postrelease version bump.
580 * debian/changelog: post release version bump
582 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
587 * configure.ac: Bump version.
588 * debian/changelog: Updates.
590 2009-07-16 Alejandro G. Castro <alex@igalia.com>
593 * hildon/hildon-text-view.c,
594 (hildon_text_view_button_press_event): Grabbed the focus in button
595 press, this way we are sure the widget has the focus in the
596 release event, required for HIM.
598 Fixes: NB#121445 (Virtual keyboard opening is not working in same
599 way for each text entry field)
601 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
603 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
604 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
605 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
606 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
607 (hildon_pannable_area_[gs]et_center_on_child_focus)
608 Redefined GtkContainer set-focus-child signal, in order to center
609 properly on a child when it receives the focus. Defined a new property
610 "center-on-child-focus" in order to activate this feature (deactivated
611 by default). Public get/set methods defined to manage the property.
613 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
615 2009-07-14 László Pere <lpere@blumsoft.eu>
617 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
618 the new size is applied.
620 Fixes: NB#124510 (The Application Menu is distorted when switched
621 between portrait and landscape mode)
622 Fixes: NB#115388 (Power key menu does not resize itself)
624 2009-07-01 Alberto Garcia <agarcia@igalia.com>
626 * hildon/hildon-banner.c (hildon_banner_map):
627 Set banner position after mapping.
629 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
631 * configure.ac: postrelease version bump.
632 * debian/changelog: post release version bump
634 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
639 * configure.ac: Bump version.
640 * debian/changelog: Updates.
642 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
644 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
647 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
649 * tests/check-hildon-banner.c
651 * tests/test_suites.h
652 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
653 were testing deprecated functions.
654 * examples/hildon-banner-example.c: typo on button3 type, that causes
655 a fail compiling with --with-examples but without --disable-deprecated
657 Missed commit in order to fix compilation using '--enable-fatal' and
658 '--disable-deprecated' (see previous commit)
660 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
662 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
663 functions with #ifndef HILDON_DISABLE_DEPRECATED
664 * examples/hildon-find-toolbar.c: Protect deprecated
665 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
666 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
667 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
668 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
670 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
671 to allow proper compilation of deprecated functions defined on the header
673 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
675 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
677 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
678 Cache the panning indicator color.,
679 (hildon_pannable_area_style_set): Query the color on style changes.
680 (hildon_pannable_draw_vscroll),
681 (hildon_pannable_draw_hscroll),
682 (hildon_pannable_area_expose_event): Use the cached panning indicator
683 color instead of looking it up on every expose and more.
685 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
687 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
688 (hildon_pannable_draw_hscroll),
689 (hildon_pannable_area_expose_event): Fix the panning indicator color,
690 so that it's "SecondaryTextColor", as desired.
692 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
694 * hildon/hildon-picker-dialog.c:
695 (selection_completed): take into account HILDON_UI_MODE_NORMAL
696 * hildon/hildon-touch-selector.c
697 (hildon_touch_selector_init): Initialize hildon-ui-mode
698 (hildon_touch_selector_row_activated): new callback for the
699 "row-activated" signal, in order to save the last activated
700 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
701 if the current hildon-ui-mode is coherent with the touch selector
702 (hildon_touch_selector_class_init)
703 (hildon_touch_selector_get_property)
704 (hildon_touch_selector_set_property)
705 Added "hildon-ui-mode" property
706 (disconnect_model_handlers): renamed to clean_column
707 (hildon_touch_selector_remove): use clean_column function
708 (_create_new_column): use the hildon-ui-mode to create the treeview, and
709 only select the first element on HILDON_UI_MODE_EDIT
710 (hildon_touch_selector_column_init): Initialize last_activate
711 (hildon_touch_selector_append_column): check that the touch selector
712 is coherent with the current hildon-ui-mode
713 (hildon_touch_selector_get_hildon_ui_mode)
714 (hildon_touch_selector_set_hildon_ui_mode)
715 Added a getter/setter for the hildon-ui-mode property
716 (hildon_touch_selector_get_last_activated_row): Added this method in
717 order to get the last activated row.
718 * examples/hildon-touch-selector-normal-mode-example.c
719 New example, that shows how to use the HildonTouchSelector in
720 HILDON_UI_MODE_NORMAL
722 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
723 Kristian Rietveld <kris@lanedo.com> advices
725 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
727 * hildon/hildon-time-selector.c: (update_format_policy): Do
728 not call update_format_dependant_columns() if not necessary.
729 (update_format_dependant_columns): Remove unnecessary check for
730 the number of columns.
732 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
734 * hildon/hildon-note.c (+hildon_note_constructor),
735 (hildon_note_class_init), (+hildon_note_set_padding),
736 (hildon_note_rebuild): Install a constructor where to set the
737 padding properties in the note, so that it actually works fine.
738 Use hildon_note_set_padding() for this, and also to set it during
741 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
743 * configure.ac: Bump GTK+ requirement to 2.14.3.
744 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
745 when using maemo-gtk to define proper margins for the notes.
747 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
748 with the dialog edge)
750 2009-06-24 Alberto Garcia <agarcia@igalia.com>
752 * hildon/hildon-banner.c
753 (hildon_banner_class_init):
755 (+hildon_banner_size_request):
756 Request always the full width of the screen.
757 (hildon_banner_realize)
758 (-hildon_banner_check_position, hildon_banner_map):
759 hildon_banner_check_position() is not needed in Hildon 2.2.
760 (-hildon_banner_reset_wrap_state)
761 (hildon_banner_constructor, hildon_banner_init):
762 Remove unnecessary calls to hildon_banner_reset_wrap_state()
763 (+banner_do_set_text)
764 (force_to_wrap_truncated):
765 Remove has_been_wrapped and has_been_truncated attributes.
766 (+reshow_banner, hildon_banner_real_show_information)
767 (hildon_banner_show_information_with_markup)
768 (hildon_banner_show_animation, hildon_banner_show_progress)
769 (hildon_banner_set_text, hildon_banner_set_markup):
770 Refactor code. Shrink banner vertically to use the minimum space
771 necessary everytime the text of the label is updated.
772 (screen_size_changed):
773 Call force_to_wrap_truncated() when the size of the screen
776 Fixes: NB#120500 (only device memory connect mmc in use info
777 banner is left aligned)
779 Fixes: NB#120613 (Size of HildonBanner varies depending on
780 previously opened banners)
782 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
784 * hildon/hildon-color-chooser.c
785 (hildon_color_chooser_pointer_motion): Take the widget allocation
788 Fixes: NB#124385 (Unable to select exact point in color mixing box
789 in color palette dialog)
791 2009-06-23 Alejandro G. Castro <alex@igalia.com>
793 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
794 (hildon_pannable_area_dispose)
795 (hildon_pannable_area_button_press_cb)
796 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
797 (hildon_pannable_area_button_release_cb)
798 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
799 New 'panning-started' and 'panning-finished' signals.
801 Fixes: NB#121732 (New feature request: Signal to pannable area
802 that informs when panning is stopped.)
804 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
806 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
807 instead of hardcoded colon.
809 Fixes: NB#124090 (New calendar wizard title is not using
810 ecdg_ti_caption_separator)
812 2009-06-22 David King <davidk@openismus.com>
814 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
815 constants and functions, as well as correct many typos throughout the
818 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
821 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
823 * configure.ac: postrelease version bump.
824 * debian/changelog: post release version bump
826 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
831 * configure.ac: Bump version.
832 * debian/changelog: Updates.
834 2009-06-18 Alberto Garcia <agarcia@igalia.com>
836 * hildon/hildon-window-stack.c
837 (hildon_window_stack_pop_and_push_list):
838 Prevent windows from having the same stack index
840 2009-06-18 Alberto Garcia <agarcia@igalia.com>
842 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
843 Use the index of the previous window rather than the stack length
844 to calculate the new index.
848 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
850 * hildon/hildon-date-selector.c
851 (hildon_date_selector_select_current_date)
852 (hildon_date_selector_get_date)
853 (hildon_date_selector_select_day):
854 Update the documentation: uses always the range (1-31), as it is obvious
855 that the final one will depend on the month and the year, but globally
856 the range is this, in a similar GtkCalendar approach
857 (hildon_date_selector_get_date):
858 Update the documentation: add NULL as a valid value for the day, month
861 Fix some details, after talk with David King on bug MB#4698
863 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
865 * hildon/hildon-touch-selector-entry.c
866 * hildon/hildon-touch-selector.c
867 Update the documentation of the "text-column" property
869 2009-06-18 David King <davidk@openismus.com>
871 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
872 several typos and errors throughout the documentation.
874 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
877 2009-06-18 Alberto Garcia <agarcia@igalia.com>
879 * hildon/hildon-note.c (hildon_note_realize):
880 Make HildonNote support portrait mode.
882 Fixes: NB#123448 (HildonNote is not portrait-friendly)
884 2009-06-17 Alberto Garcia <agarcia@igalia.com>
886 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
887 Document this function
889 2009-06-17 David King <davidk@openismus.com>
891 * hildon/hildon-date-selector.c
892 (hildon_date_selector_select_current_date)
893 (hildon_date_selector_get_date): Update documentation regarding days,
894 as the day of the month is dependent on both the month and the year.
895 (hildon_date_selector_get_date): Fix documentation of output arguments.
897 Fixes: MB#4698 (DateSelector documentation has bad output argument
898 description, and the day depends on both the month and the year)
900 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
902 * hildon/hildon-caption.c: Other documentation fixes to
905 2009-06-17 David King <davidk@openismus.com>
907 * hildon/hildon-caption.c: Minor documentation updates for
908 HildonCaption. Fixes MB#4697.
910 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
912 * doc/hildon-docs.sgml: Add hildon-version section.
913 * doc/hildon-sections.txt:
914 * hildon/hildon-version.h.in: Document versioning macros and
917 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
919 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
920 from HildonPickerDialog section.
922 2009-06-16 Alberto Garcia <agarcia@igalia.com>
924 * hildon/hildon-banner.c (hildon_banner_bind_style)
925 (screen_size_changed, hildon_banner_init)
926 (hildon_banner_real_show_information)
927 (hildon_banner_show_information_with_markup)
928 (hildon_banner_show_animation, hildon_banner_show_progress):
929 Set a different widget name to banners in portrait mode, for them
930 to be themed correctly.
932 2009-06-16 Alberto Garcia <agarcia@igalia.com>
934 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
935 Set a different widget name to notes in portrait mode, for them to
938 Partially fixes: NB#118401 (HildonNote causes unnecessary
941 2009-06-16 Alberto Garcia <agarcia@igalia.com>
943 * hildon/hildon-note.c (hildon_note_class_init)
944 (+hildon_note_size_request, screen_size_changed):
945 Always request the full width of the screen.
947 Fixes: NB#118375 (unnecessary rescaling of images)
949 2009-06-16 Alejandro G. Castro <alex@igalia.com>
951 * hildon/hildon-pannable-area.c,
952 (hildon_pannable_area_init),
953 (hildon_pannable_area_realize): Replaced old code adding flags in
954 the object init, now we add it with the other flags in the realize
957 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
959 * hildon/hildon-note.c: (hildon_note_class_init): Several
960 documentation improvements to the HildonNote widget.
962 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
964 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
966 Fixes: MB#4556 (HildonNoteType is undocumented)
968 2009-06-15 Alberto Garcia <agarcia@igalia.com>
970 * hildon/hildon-picker-button.c:
971 Explain how HildonPickerButton sets the title of its dialog
973 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
974 the title of its dialog)
976 2009-06-15 Alberto Garcia <agarcia@igalia.com>
978 * hildon/hildon-check-button.c:
979 Documentation updates
981 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
984 2009-06-15 Alberto Garcia <agarcia@igalia.com>
987 * hildon/hildon-edit-toolbar-private.h
988 * hildon/hildon-edit-toolbar.c
989 (+hildon_edit_toolbar_set_progress_indicator)
990 (hildon_edit_toolbar_init): Add progress indicator to the
993 * hildon/hildon-gtk.c
994 (hildon_gtk_window_set_progress_indicator):
995 If the window contains a HildonEditToolbar, enable the progress
998 * hildon/hildon-private.h
999 * hildon/hildon-private.c
1000 (+hildon_private_create_animation)
1001 * hildon/hildon-banner.c
1002 (-hildon_banner_create_animation):
1003 Moved to hildon-private.c
1005 Fixes: NB#102373 (Progress indicator also for the Edit mode
1008 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1010 * hildon/hildon-app-menu-private.h
1011 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1012 (hildon_app_menu_add_filter, +menu_item_button_event)
1013 (hildon_app_menu_button_release, hildon_app_menu_init):
1014 Make sure that buttons receive 'button-release-event' in spite of
1015 the grab held by HildonAppMenu
1017 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1019 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1021 * hildon/hildon-app-menu.c
1022 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1023 New style property to set the size of the group of filter buttons.
1025 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1027 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1032 * configure.ac: Bump version.
1033 * debian/changelog: Updates.
1035 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1037 * hildon/hildon-main.c: Minor documentation fixes.
1039 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1041 * doc/hildon-sections.txt:
1042 * hildon/hildon-defines.h: Document the defines, organize them,
1043 and mark deprecations as such.
1045 Fixes: MB#4463 (Hildon size #defines are undocumented)
1047 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1049 * hildon/hildon-animation-actor.c:
1050 * hildon/hildon-app-menu.c:
1051 * hildon/hildon-button.c:
1052 * hildon/hildon-date-editor.c:
1053 * hildon/hildon-dialog.c:
1054 * hildon/hildon-edit-toolbar.c:
1055 * hildon/hildon-entry.c:
1056 * hildon/hildon-program.c:
1057 * hildon/hildon-remote-texture.c:
1058 * hildon/hildon-stackable-window.c:
1059 * hildon/hildon-text-view.c:
1060 * hildon/hildon-touch-selector.c:
1061 * hildon/hildon-window-stack.c:
1062 * hildon/hildon-window.c:
1064 Remove redundant "represents" wording from most of the documentation.
1066 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1068 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1072 * hildon/Makefile.am
1073 * hildon/hildon-banner-private.h
1074 * hildon/hildon-banner.c:
1075 Move HildonBannerPrivate to hildon-banner.c and remove
1076 hildon-banner-private.h
1077 Use a bit field to store private booleans.
1079 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1081 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1082 Don't install a new idle function if there's already one
1087 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1089 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1090 (+legacy_menu_realized, +legacy_menu_unmapped)
1091 (+set_legacy_menu_type):
1092 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1093 they can be identified by the window manager.
1095 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1096 displayed in wrong location)
1098 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1101 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1103 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1105 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1106 use gtk-doc support)
1108 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1110 * hildon/hildon-code-dialog.c
1111 * hildon/hildon-date-editor.c
1112 * hildon/hildon-number-editor.c
1113 * hildon/hildon-seekbar.c
1114 * hildon/hildon-stackable-window.c
1115 * hildon/hildon-window.c:
1116 Misc documentation updates
1118 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1120 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1121 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1123 Fixes: NB#117931 (Theming issues in accounts dialogs)
1125 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1127 * hildon/hildon-pannable-area.c,
1128 (hildon_pannable_area_button_release_cb): Changed the coordinates
1129 of the original release in case we want to discard the release,
1130 some widgets in Fremantle do not handle the leave-notify.
1132 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1134 * hildon/hildon-pannable-area.c,
1135 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1136 the release using the last refactored functions and avoiding the
1137 movement if an element was selected.
1139 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1141 * hildon/hildon-pannable-area.c,
1142 (hildon_pannable_area_check_move),
1143 (hildon_pannable_area_handle_move),
1144 (hildon_pannable_area_motion_notify_cb): Refactored the
1145 motion_notify method using a couple of new functions.
1147 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1149 * hildon/hildon-date-selector.c:
1150 (hildon_date_selector_construct_ui):
1151 * hildon/hildon-time-selector.c:
1152 (hildon_time_selector_constructor):
1153 * hildon/hildon-touch-selector-entry.c:
1154 (hildon_touch_selector_entry_set_text_column),
1155 (hildon_touch_selector_entry_get_text_column):
1156 * hildon/hildon-touch-selector.c: (_default_print_func),
1157 (hildon_touch_selector_new_text): Use
1158 hildon_touch_selector_set/get_text_column() instead of
1159 setting/getting the "text-column" property.
1161 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1163 * doc/hildon-sections.txt: Add the new public methods below.
1165 * examples/hildon-picker-button-multicolumn-example.c:
1166 (create_touch_selector):
1167 * examples/hildon-touch-selector-example.c: (create_selector):
1168 * examples/hildon-touch-selector-multi-cells-example.c:
1170 Use hildon_touch_selector_column_set_text_column()
1172 * hildon/hildon-touch-selector-column.h:
1173 * hildon/hildon-touch-selector.c:
1174 (hildon_touch_selector_column_set_text_column),
1175 (hildon_touch_selector_column_get_text_column):
1176 Make hildon_touch_selector_column_set/get_column() public, use
1177 them in the inline example, document them, and reference to them
1180 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1182 * hildon/hildon-time-selector.c: Fix the docs for
1183 hildon_time_selector_new_step().
1185 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1187 * hildon/hildon-touch-selector.c: Improve the documentation for
1188 hildon_touch_selector_append_column().
1190 Fixes MB#4641 (Documentation:
1191 hildon_touch_selector_append_column() ref-counting)
1193 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1195 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1196 Comment out test 5, since the hildon_controlbar_set_range() range
1197 check is broken and fixing it would have side effects. Also,
1198 this finally fixes make distcheck.
1200 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1202 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1204 * tests/TEST-CASES.txt: Remove other bogus test.
1205 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1206 Remove bogus test that was setting/retrieving a valid value.
1208 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1210 * tests/TEST-CASES.txt: Remove bogus tests.
1211 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1212 Remove three bogus tests that were actually setting valid colors.
1214 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1216 * configure.ac: post release version bump
1217 * debian/changelog: post release version bump
1219 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1224 * configure.ac: Bump version.
1225 * debian/changelog: Updates.
1227 2009-06-08 Christian Dywan <christian@lanedo.com>
1231 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1232 Correct errors in hildon_format_file-size_for_display and use
1233 translations from the hildon-fm package instead of osso-filemanager.
1235 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1237 * hildon/hildon-pannable-area.c,
1238 (hildon_pannable_area_init): Initialized new values to handle the
1239 adjustment position.
1240 (hildon_pannable_area_adjust_value_changed): Check if the values
1241 changed before even call the redraw function.
1242 (hildon_pannable_area_size_allocate),
1243 (hildon_pannable_axis_scroll),
1244 (hildon_pannable_area_scroll),
1245 (hildon_pannable_area_jump_to): Improved the diagonal movement
1248 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1251 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1253 * examples/hildon-banner-example.c:
1254 Several style updates
1255 (on_animation_clicked, on_animation_idle)
1256 (on_progress_clicked, on_progress_idle):
1257 Add additional reference for the cases when the parent window is
1260 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1262 * doc/hildon-sections.txt
1263 * hildon/hildon-pannable-area.c
1264 * hildon/hildon-banner.h
1265 * hildon/hildon-banner.c: Documentation updates.
1267 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1270 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1272 * hildon/hildon-calendar-popup.h:
1273 * hildon/hildon-caption.h:
1274 * hildon/hildon-code-dialog.h:
1275 * hildon/hildon-controlbar.h:
1276 * hildon/hildon-date-editor.h:
1277 * hildon/hildon-dialog.h:
1278 * hildon/hildon-get-password-dialog.h:
1279 * hildon/hildon-hvolumebar.h:
1280 * hildon/hildon-login-dialog.h:
1281 * hildon/hildon-note.h:
1282 * hildon/hildon-number-editor.h:
1283 * hildon/hildon-range-editor.h:
1284 * hildon/hildon-seekbar.h:
1285 * hildon/hildon-set-password-dialog.h:
1286 * hildon/hildon-sort-dialog.h:
1287 * hildon/hildon-time-editor.h:
1288 * hildon/hildon-time-picker.h:
1289 * hildon/hildon-volumebar-range.h:
1290 * hildon/hildon-volumebar.h:
1291 * hildon/hildon-vvolumebar.h:
1292 * hildon/hildon-weekday-picker.h:
1293 * hildon/hildon-window.h:
1294 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1295 macros with the current replacements
1297 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1299 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1301 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1302 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1303 itself, to make it fit better with Fremantle style.
1305 Fixes: NB#109878 (height and width of focus on color icon is not
1306 consistent with other item in the application tool bar)
1308 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1310 * hildon/hildon-touch-selector.c:
1311 (hildon_touch_selector_optimal_size_request): use the current requisition
1312 as the base, in order to include any possible extra widget, like the
1313 hildon entry on HildonTouchSelectorEntry
1315 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1317 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1319 * configure.ac: post release version bump
1320 * debian/changelog: post release version bump
1322 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1327 * configure.ac: Bump version.
1328 * debian/changelog: Updates.
1330 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1332 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1334 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1335 to ensure the banner contents are centered, instead of relying on
1336 the expand and fill properties in GtkHBox.
1337 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1339 Fixes: NB#108265 (Animation banner not properly centered)
1341 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1343 * hildon/hildon-pannable-area.c
1344 (hildon_pannable_area_initial_effect): Remove the initial_effect
1345 management, check initial_hint
1346 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1347 set initial_effect to FALSE
1348 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1349 by launching the fade_timeout if the scrollbars state has changed and are
1351 * examples/hildon-pannable-area-initial-hint-example.c
1352 Modified to allow to remove rows too. Add and remove rows one by one.
1354 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1356 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1357 Don't close the menu if there's an animation actor below it.
1359 Fixes: NB#117927 (Application menu not usable with animation
1362 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1364 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1365 "focus-on-click" from the dialog button, to avoid stealing the
1366 focus from the entry.
1368 Fixes: NB#118903 (Account setup wizard: Text in Search field
1369 should be focused when "Region" touch list picker is reopened
1372 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1374 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1375 (prepare_action_area): Completely hide the dialog separator.
1377 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1379 * hildon/hildon-touch-selector-entry.c
1380 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1381 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1382 now that the entry is exposed.
1384 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1386 * hildon/hildon-touch-selector-entry.c
1387 (hildon_touch_selector_entry_init): Change the entry's size
1388 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1390 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1392 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1393 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1394 avoid unnecessary scaling.
1396 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1398 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1399 Create grab transfer window before calling parent's map function.
1401 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1402 "crushed" button(s) in the top left corner)
1404 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1406 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1407 Check if the window is already realized when pushing it.
1409 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1411 * configure.ac: post release version bump
1412 * debian/changelog: post release version bump
1414 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1419 * configure.ac: Bump version.
1420 * debian/changelog: Updates.
1422 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1424 * hildon/hildon-app-menu.c: Doc updates.
1426 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1428 * hildon/hildon-banner.c: Remove leftover macro.
1430 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1432 * hildon/hildon-pannable-area.c,
1433 (hildon_pannable_area_scroll_indicator_fade),
1434 (hildon_pannable_area_button_release_cb): Reviewed vmin
1435 conditions, it could cause problems in the fadeout procedure.
1437 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1439 * hildon/hildon-pannable-area.c
1440 (hildon_pannable_area_button_release_cb): Added a threshold to
1441 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1443 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1445 * hildon/hildon-pannable-area.c,
1446 (hildon_pannable_area_set_property): Added code to sync the gtk
1447 dnd threshold with the panning threshold.
1449 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1451 * hildon/hildon-pannable-area.c,
1452 (hildon_pannable_area_class_init): Changed some of the default
1453 values, now it should be less responsive and more accurate.
1455 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1457 * hildon/hildon-pannable-area.c,
1458 (hildon_pannable_area_init),
1459 (hildon_pannable_area_scroll_indicator_fade),
1460 (hildon_pannable_area_button_press_cb),
1461 (hildon_pannable_axis_scroll),
1462 (hildon_pannable_area_timeout),
1463 (hildon_pannable_area_motion_notify_cb),
1464 (hildon_pannable_area_button_release_cb): Changed the name of the
1465 clicked attribute to button_pressed, it is more clear about its use.
1467 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1469 * src/hildon-pannable-area.c
1470 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1472 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1473 vertical scrollbar visibility, and use the data on private section instead,
1474 remove the initial_hint check
1475 (hildon_pannable_area_expose_event): add the initial_hint check here
1477 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1479 * src/hildon-pannable-area.c
1480 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1481 if the fadeout effect was used
1482 (hildon_pannable_area_expose_event): check if it is required to
1483 manage the initial effect on the begining of the function. Previously
1484 it was made at the end, but this doesn't ensure that the scrollbars
1485 will be painted on the first show. Do not set to FALSE initial_effect,
1486 to ensure that the initial hint is showed the first time the pannable
1488 * examples/Makefile.am
1489 * examples/hildon-pannable-area-initial-hint-example.c:
1490 New example, to show that the initial-hint is showed when the widget
1493 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1494 initially if the application can be scrolled)
1496 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1498 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1499 Resize table before adding new items to make sure that
1500 gtk_table_resize() is called just once.
1502 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1504 * hildon/hildon-app-menu-private.h
1505 * hildon/hildon-app-menu.c (item_visibility_changed)
1506 (filter_visibility_changed, hildon_app_menu_show_all)
1507 (hildon_app_menu_hide_all, hildon_app_menu_init):
1508 Rearrange items just once when gtk_widget_show_all()/hide_all()
1511 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1513 * hildon/hildon-app-menu.c
1514 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1515 Don't call gtk_widget_show() on added items.
1517 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1518 automatically when they're added)
1520 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1522 * hildon/hildon-banner.c
1523 (hildon_banner_realize, +hildon_banner_unrealize)
1524 (+screen_size_changed, hildon_banner_class_init):
1525 Redisplay the banner if the screen is rotated.
1527 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1528 on transition from landscape to portrait)
1530 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1532 * hildon/hildon-banner.[ch]:
1533 (hildon_banner_show_information_override_dnd): remove icon_name from the
1534 method definition as it is ignored.
1535 * examples/hildon-banner-dnd-example.c: updated with the change on
1538 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1540 * hildon/hildon-banner-private.h: new require_override_dnd and
1541 overrides_dnd variables
1542 * hildon/hildon-banner.h:
1543 (hildon_banner_show_information_override_dnd): new method, that shows
1544 the information but sets the override flag, in order to show important
1546 * hildon/hildon-banner.c
1547 (hildon_banner_show_information_override_dnd): new method
1548 (hildon_banner_set_override_flag): new utility function
1549 (hildon_banner_real_show_information): new utility function, in order to
1550 generalize the current hildon_banner_show_information_override_dnd and
1551 hildon_banner_show_information_override_dnd
1552 * examples/Makefile.am
1553 * examples/hildon-banner-dnd-example.c: New example that show how to
1554 use the new hildon_banner_show_information_override_dnd
1556 Fixes: NB#114874 (There is no possibility to show hildon banners with
1559 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1561 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1562 behind hildon_pannable_calculate_vel_factor().
1564 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1566 * hildon/hildon-pannable-area.c
1567 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1568 deceleration factors.
1570 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1572 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1573 Reduce the default value for 'scroll_time' to 1 second, since the
1574 current initial scrolling takes too much time.
1576 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1578 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1579 calculate velocity factor during initialization, since the properties
1582 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1584 * hildon/hildon-pannable-area.c
1585 (hildon_pannable_area_set_property): Calculate the velocity factor
1586 after setting the deceleration property and not after.
1588 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1590 * hildon/hildon-entry.c
1591 (hildon_entry_class_init, +set_property, hildon_entry_new)
1592 * hildon/hildon-check-button.c
1593 (hildon_check_button_class_init)
1594 (+set_property, hildon_check_button_new):
1595 Make the theme size a property.
1597 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1598 others) do too much in the _new function)
1600 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1602 * configure.ac: post release version bump
1603 * debian/changelog: post release version bump
1605 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1610 * configure.ac: Bump version.
1611 * debian/changelog: Updates.
1613 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1615 * hildon/hildon-gtk.h
1616 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1617 New API function to take a screenshot of a window
1619 Fixes: NB#106374 (Need API to take a loading screenshot)
1621 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1623 * hildon/hildon-time-selector.c
1624 (update_format_policy): prevent to use hours and minutes unitialized
1626 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1628 * hildon/hildon-window.c (hildon_window_size_request):
1629 Always request the full size of the screen (minus the title bar if
1630 not in fullscreen mode).
1632 Fixes: NB#107486 (HildonWindow should size itself properly)
1634 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1636 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1637 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1638 (on_show_cb), (sound_handling): Disconnect the idle handler for
1639 the sound when the note is finalized to avoid possible crashes.
1641 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1644 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1646 * src/hildon-animation-actor.c,
1647 * src/hildon-remote-texture.c:
1648 Added proper object cleanup to remove signal handler and object
1649 references as HildonAnimationActor and HildonRemoteTexture
1650 objects get destroyed.
1652 Fixes: NB#116682 (Destroying parented animation actors when
1653 parent in unmapped leads to crash)
1655 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1657 Based on a patch by Christian Dywan (christian@imendio.com)
1659 * doc/hildon-sections.txt:
1660 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1661 * hildon/hildon-helper.h: New file size formatting method.
1663 * debian/control: Depend on osso-filemanager l10n package for
1664 proper localization strings.
1666 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1668 * tests/Makefile.am: Include top_srcdir to make possible to build
1669 tests in a different builddir.
1670 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1671 on a different builddir.
1673 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1675 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1676 (hildon_touch_selector_remove): Disconnect model's signal handler
1679 Fixes: NB#116289 (Hildon home crashes while adding task
1682 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1684 * hildon/hildon-button.c
1685 (hildon_button_set_title, hildon_button_set_value):
1686 Hide labels containing an empty string.
1688 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1690 * configure.ac: post release version bump
1691 * debian/changelog: post release version bump
1693 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1698 * configure.ac: Bump version.
1699 * debian/changelog: Updates.
1701 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1703 * hildon/hildon-note-private.h: Removed sound_signal_handler
1704 * hildon/hildon-note.c
1705 (on_show_cb): new callback on note "show" event, this simply adds
1706 a idle, with the function sound_handling
1707 (sound_handling): removed the sound_signal_handler management
1708 (hildon_note_init): connect note "show" event to on_show_cb
1709 (hildon_note_realize): remove the connection to "expose-event"
1711 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1712 device?' confirmation note)
1714 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1716 * hildon/hildon-note.c
1717 (hildon_note_new_information_with_icon_name)
1718 (hildon_note_new_confirmation_with_icon_name):
1719 Terminate the list of parameters in g_object_set() calls
1721 Fixes: NB#115166 (Formatting memory card is not taking place)
1723 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1725 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1726 "dialog-information" role for the sound being played.
1728 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1730 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1731 Don't make the menu a modal window, it causes strange interactions
1732 with the pointer grab and it's not really needed.
1734 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1736 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1738 * hildon/hildon-touch-selector.[ch]
1739 (hildon_touch_selector_optimal_size_request): function added to get a
1740 optimal size request from the touch selector, when you want a dialog to
1741 show as much of the selector
1742 * hildon/hildon-picker-dialog.c:
1743 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1744 (hildon_app_menu_class_init):
1745 New "max-height-landscape" and "max-height-portrait" style properties
1746 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1747 (hildon_picker_dialog_get_max_height): returns the maximum height using
1748 the style properties defined and checking the current portrait/landscape
1750 (_hildon_picker_dialog_set_selector): removed the set_size_request
1752 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1754 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1756 * hildon/hildon-bread-crumb-trail.c:
1757 * hildon/hildon-bread-crumb.c:
1758 * hildon/hildon-seekbar.c:
1759 Add reference to replacements for these deprecated widgets.
1761 Fixes: MB#4461 (Documentation: All deprecations should mention
1764 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1766 * examples/hildon-remote-texture-example.c
1768 Change the include to the hildon-remote-texture in order to compile
1769 properly the examples on the installed libhildon1-examples package
1771 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1773 * tests/Makefile.am: Add check for HildonPickerButton.
1774 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1775 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1776 checks for the HildonPickerButton.
1777 * tests/check_test.c (configure_tests): Add the test suite.
1778 * tests/test_suites.h: likewise.
1780 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1782 * hildon/hildon-touch-selector.c
1783 (+on_row_changed): Emit HildonTouchSelector:changed when the
1784 contents of a selected row change.
1785 (_create_new_column), (_hildon_touch_selector_set_model): connect
1786 to GtkTreeModel:row-changed on a newly set model.
1788 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1790 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1792 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1794 * hildon/hildon-banner.c (hildon_banner_destroy)
1795 (hildon_banner_show_progress, hildon_banner_set_fraction):
1796 Remove the progress bar from HildonBanner and use a progress
1799 Fixes: NB#113761 (Update progress banner to use progress
1802 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1804 * hildon/hildon-banner.c:
1805 Calculate size of the banner label using the actual screen width
1806 rather than using a fixed value.
1808 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1811 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1813 * hildon/hildon-pannable-area.c,
1814 (hildon_pannable_area_class_init): Fixed signals documentation
1817 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1819 * configure.ac: post release version bump
1820 * debian/changelog: post release version bump
1822 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1827 * configure.ac: Bump version.
1828 * debian/changelog: Updates.
1830 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1832 * hildon/hildon-edit-toolbar.c
1833 (hildon_edit_toolbar_init):
1834 Don't let buttons in HildonEditToolbar receive focus.
1836 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1837 typing on an HW arrows key)
1839 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1841 * doc/Makefile.am: Fix build.
1843 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1845 * doc/Makefile.am: Do not redefine content_files.
1847 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1855 Renamed src/ to hildon/
1860 Include <hildon/hildon.h> directly in all examples.
1862 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1864 * src/hildon-sort-dialog.c
1865 (hildon_sort_dialog_add_sort_key_with_sorting)
1869 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1871 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1872 make distcheck passes.
1874 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1876 * Makefile.am: Enable gtk-doc during distcheck.
1878 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1880 * Makefile.am: Do not distribute the debian/ directory.
1882 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1884 * doc/Makefile.am: Add the extra SGML files to content_files,
1885 so that they are distributed properly.
1887 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1889 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1892 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1894 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1895 (hildon_note_new_information_with_icon_name): Set the "icon" property
1896 to preserve soundness.
1898 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1900 * src/hildon-font-selection-dialog.c
1901 (hildon_font_selection_dialog_set_property): Fail when the "family"
1902 property is set to NULL.
1904 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1906 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1909 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1911 * src/hildon-time-selector.h:
1912 Added HildonTimeSelectorFormatPolicy
1913 * src/hildon-time-selector.c:
1914 Added PROP_TIME_FORMAT_POLICY
1915 (_check_ampm_format): renamed to check_automatic_ampm_format
1916 (update_format_policy), (update_format_dependant_columns): new functions
1917 (hildon_time_selector_class_init)
1918 (hildon_time_selector_contructor)
1919 (hildon_time_selector_init)
1920 (hildon_time_selector_get_property)
1921 (hildon_time_selector_set_property)
1922 (hildon_time_selector_get_time)
1923 (hildon_time_selector_set_time)
1924 * src/hildon-touch-selector.h: new file
1925 * src/hildon-touch-selector.c
1926 (hildon_touch_selector_emit_changed)
1927 (hildon_touch_selector_block_changed)
1928 (hildon_touch_selector_unblock_changed)
1929 Added functions to allow to block the emission of the "changed" signal
1930 * src/hildon-picker-dialog.c
1931 (hildon_picker_dialog_show): call the parent show before the custom code
1932 * examples/hildon-time-button-example.c
1933 Modified, so now you can configure the time format using the new property
1935 Added a new property "time-format-policy" that allow to choose the time
1936 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1937 case it uses gconf in order to check if the time selector must use
1940 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1943 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1945 * src/hildon-note.c (hildon_note_init):
1946 Label in HildonNote must be left aligned, not centered. This
1947 reverts the last commit in HildonNote.
1949 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1950 is connectivity dialog)
1952 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1957 * doc/hildon-sections.txt:
1958 Added hildon_gtk_window_set_do_not_disturb()
1960 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1962 * src/hildon-note.c (hildon_note_init): Center label.
1964 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1967 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1972 * configure.ac: Bump version.
1973 * debian/changelog: Updates.
1975 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1977 * src/hildon-note-private.h: Add button-width to the private data.
1978 * src/hildon-note.c (+resize_button),
1979 (+hildon_note_orientation_update): methods to repack widgets on orientation
1981 (screen_size_changed): Call above method for confirmation notes.
1982 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1983 (hildon_note_rebuild): Store the original width request from buttons.
1985 Fixes: NB#109635 (Confirmation notes do not support portrait)
1987 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1989 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1990 when it is a progress note.
1992 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1994 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1995 in the note, since there are no horizontally arranged contents.
1997 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-gtk.c (+set_flag): new generic method to
2000 set/delay a flag setting in a window.
2001 (hildon_gtk_window_set_progress_indicator):
2002 (hildon_gtk_window_set_do_not_disturb),
2003 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2004 avoid code redundance.
2006 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2008 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2010 * src/hildon-gtk.c (set_clear_window_flag),
2011 (do_set_progress_indicator), (do_set_do_not_disturb),
2012 (do_set_portrait_flags),
2013 (hildon_gtk_window_set_progress_indicator),
2014 (hildon_gtk_window_set_do_not_disturb),
2015 (hildon_gtk_window_set_portrait_flags):
2016 Allow setting dnd-flag, progress indicator, and portrait flags
2017 when the window is not realized.
2019 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2021 * src/hildon-pannable-area.c,
2022 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2023 the size request policy function and defines.
2025 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2027 * doc/hildon-sections.txt: Add the new API.
2028 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2029 method to set the portrait flags.
2030 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2032 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2034 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2036 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2037 to allow using this method with other flags.
2038 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2039 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2041 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2043 * src/hildon-touch-selector.c
2044 (hildon_touch_selector_append_text_column):
2045 Make the cell renderer use the smallest width possible.
2047 Fixes: NB#108470 (Selected items in multiple selection are either
2048 having a tick that is cut or not visible at all.)
2050 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2052 * src/hildon-touch-selector.c
2053 (hildon_touch_selector_append_text_column):
2056 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2058 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2059 Use g_strdup_printf() instead of a fixed size buffer.
2061 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2064 Close banners when a HildonAppMenu is popped up.
2066 Fixes: NB#111027 (Title menu closed immediately if activated when
2067 "Invalid e-mail address" banner is shown)
2069 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2074 * configure.ac: Bump version.
2075 * debian/changelog: Updates.
2077 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-banner.c (hildon_banner_realize):
2080 Mark HildonBanner as supporting portrait mode.
2081 Use GDK to set window properties insetad of direct Xlib calls.
2083 Fixes: NB#111830 (HildonBanner should be marked as supporting
2086 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2088 * src/hildon-note.c (hildon_note_rebuild):
2089 Hide action area in information notes. Prevents text from being
2090 slightly aligned to the left.
2092 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2095 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2097 Patch by Mox Soini (ext-mox.soini@nokia.com)
2099 * src/hildon-banner.c (hildon_banner_create_animation):
2100 Use stylus-sized icons in animation banner.
2102 Fixes: NB#111206 (stylus sized icon for animation banner)
2104 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2108 (+hildon_gtk_window_set_do_not_disturb):
2109 New API to set the do-not-disturb flag.
2111 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2113 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2115 * examples/hildon-progress-indicator-example.c: Fix example
2117 * src/hildon-gtk.c (set_clear_window_flag)
2118 (hildon_gtk_window_set_progress_indicator):
2119 Create a generic function for setting flags to a window.
2120 Use GDK instead of direct Xlib calls.
2122 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-button.c (hildon_button_set_arrangement):
2125 Due to NB#88126, if one of the labels is too long it will be
2126 painted outside the button. The 'value' label is more likely to be
2127 the longest one, so we change its packing options in order to
2128 truncate it if necessary. As a side effect, the 'title' label will
2129 no longer be truncated.
2131 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2133 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2138 * configure.ac: Bump version.
2139 * debian/changelog: Updates.
2141 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2143 Deprecation of the hildon_pannable_area_set_size_request_policy
2144 API, the only policy properly supported in gtk+ nowadays is the
2147 * src/hildon-pannable-area.c,
2148 (hildon_pannable_area_size_request): Added a workaround for the
2149 size_request to avoid the problems of huge pixmaps in case someone
2150 is still using the function.
2151 * src/hildon-pannable-area.h: Deprecated the enum with the
2154 Fixes: NB#110244 (Problems with the
2155 hildon_pannable_area_set_size_request_policy API)
2157 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2159 * src/hildon-pannable-area.c,
2160 (hildon_pannable_area_init),
2161 (hildon_pannable_area_size_request),
2162 (hildon_pannable_area_style_set),
2163 (hildon_pannable_draw_vscroll),
2164 (hildon_pannable_draw_hscroll),
2165 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2166 indicator_width to clarify the use of the attribute.
2168 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2173 * configure.ac: Bump version.
2174 * debian/changelog: Updates.
2176 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2178 * src/hildon-picker-dialog.c
2179 * src/hildon-touch-selector.c
2180 Reverting the change that tried to avoid the hardcoded height on
2181 the picker dialog, as causes problems on the hildon-touch-selector
2184 Fixes: NB#110029 (selectors not scrolling to selected value)
2186 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2188 * src/hildon-touch-selector.c: Fix typos
2190 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2192 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2193 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2194 request more motions after using it.
2196 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2198 * src/hildon-calendar.c (hildon_calendar_expose),
2199 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2200 Remove unused variables.
2202 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2204 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2205 variable assignment.
2207 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2209 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2210 Check the return value of gtk_tree_selection_get_selected()
2213 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-animation-actor.c
2216 * src/hildon-button.c
2218 * src/hildon-pannable-area.c
2219 * src/hildon-picker-button.c
2220 * src/hildon-program.c
2221 * src/hildon-remote-texture.c
2222 * src/hildon-text-view.c
2223 * src/hildon-touch-selector.c
2224 * src/hildon-window-stack.c
2225 * src/hildon-window.c:
2226 Add missing 'Since: 2.2' tags.
2228 * doc/hildon-sections.txt:
2229 Add some missing symbols.
2231 * doc/hildon-docs.sgml:
2232 New 'Other' section for HildonAnimationActor and
2235 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2237 Patch by Iván Gómez (igomez@igalia.com)
2240 * doc/compiling.sgml
2241 * doc/hildon-docs.sgml
2242 * doc/hildon-sections.txt
2243 * doc/migration.sgml
2244 * doc/resources.sgml
2246 New chapters on using the Hildon library.
2247 Updated the general structure of the reference manual.
2248 Other minor documentation fixes.
2250 * src/hildon-calendar-popup.c
2251 * src/hildon-calendar.c
2252 * src/hildon-controlbar.c
2253 * src/hildon-date-editor.c
2254 * src/hildon-dialog.c
2255 * src/hildon-hvolumebar.c
2256 * src/hildon-number-editor.c
2257 * src/hildon-range-editor.c
2258 * src/hildon-sort-dialog.c
2259 * src/hildon-time-editor.c
2260 * src/hildon-time-picker.c
2261 * src/hildon-volumebar-range.c
2262 * src/hildon-volumebar.c
2263 * src/hildon-vvolumebar.c
2264 * src/hildon-weekday-picker.c:
2265 Add deprecation notes
2267 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2268 Document 'horizontal-movement' and 'vertical-movement' signals.
2270 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2275 * configure.ac: Bump version.
2276 * debian/changelog: Updates.
2278 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2280 * src/hildon-pannable-area.c,
2281 (hildon_pannable_area_class_init): increased the minimum velocity.
2282 (hildon_pannable_area_button_release_cb): Updated the
2283 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2284 setup. Review the code to control that last event.
2286 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2289 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2291 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2293 * src/hildon-get-password-dialog.c
2294 (hildon_get_password_set_property),
2295 (hildon_get_password_get_property), (create_contents):
2296 * src/hildon-login-dialog-private.h:
2297 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2298 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2299 (hildon_login_dialog_get_password):
2300 * src/hildon-set-password-dialog-private.h:
2301 * src/hildon-set-password-dialog.c
2302 (hildon_set_password_set_property),
2303 (hildon_set_password_get_property), (create_contents),
2304 (hildon_set_password_response_change),
2305 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2307 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2308 instead and look more Fremantle style.
2310 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2312 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2314 * doc/hildon-sections.txt
2315 * src/hildon-window-stack.h
2316 * src/hildon-window-stack.c
2317 (+hildon_window_stack_get_windows):
2318 New API to obtain the list of windows on a stack.
2320 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2322 * src/hildon-app-menu.c (hildon_app_menu_popup)
2323 (hildon_app_menu_class_init, -hildon_app_menu_show):
2324 Remove hildon_app_menu_show() and move all its checks to
2325 hildon_app_menu_popup()
2327 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2329 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2330 (_hildon_picker_dialog_set_selector): removed call to
2331 gtk_widget_set_size_request
2332 * src/hildon-touch-selector.c
2333 (_create_new_column): change the pannable size request policy
2335 Avoid to use a hardcoded height for the hildon picker dialog. In order
2336 to get that, we needed to change the hildon pannable size request
2338 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2340 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2342 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2343 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2346 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2348 * debian/control: Depend on osso-system-lock localization package.
2349 * src/hildon-code-dialog.c: Obtain the secu_application_title
2350 translation from osso-system-lock.
2351 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2352 for translation the atk related strings, that's not necessary.
2353 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2354 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2355 cancel button, it is not required.
2357 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2359 * src/hildon-pannable-area.c,
2360 (hildon_pannable_area_class_init): Modified the default value of
2361 the overshooting max speed, we have reduced it.
2363 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2365 * doc/hildon-sections.txt
2366 * src/hildon-window-private.h
2367 * src/hildon-window.h
2368 * src/hildon-window.c (hildon_window_class_init)
2369 (hildon_window_init, hildon_window_finalize)
2370 (hildon_window_realize, hildon_window_get_property)
2371 (hildon_window_set_property, hildon_window_update_markup)
2372 (hildon_window_get_markup, hildon_window_set_markup):
2373 New "markup" property and hildon_window_{get,set}_markup() methods.
2375 * examples/hildon-stackable-window-example.c (new_window):
2376 Update example to use hildon_window_set_markup()
2378 Fixes: NB#106375 (Need API to retitle a window with a title
2381 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2383 * src/hildon-pannable-area.c,
2384 (hildon_pannable_area_class_init): Changed the default value of
2385 the initial_hint to TRUE.
2386 (hildon_pannable_area_initial_effect): Changed the initial effect,
2387 not the effect is just the fade-out of the scrollbars.
2389 Fixes: NB#107775 (No scrollbars can be seen when several items are
2390 available in a dialog)
2392 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-program.c (hildon_program_update_top_most):
2397 Fixes: NB#109179 (Memory leak in Hildon program)
2399 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2401 * src/hildon-banner.c (-get_current_app_window):
2402 Remove unused function.
2404 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2406 * src/hildon-pannable-area.c: Modified the documentation of the
2407 get adjustments functions to explain the problem of using the
2408 adjustment directly.
2409 (hildon_pannable_area_class_init): Improved the explanation about
2412 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-app-menu-private.h
2415 * src/hildon-app-menu.c
2416 (hildon_app_menu_class_init):
2417 Bring back the 'external-border' style property
2418 (hildon_app_menu_class_init, hildon_app_menu_init)
2419 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2420 Set a fixed width-request for the menu, independent of the number
2423 Fixes: NB#94957 (Smoothly opened application menu)
2425 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2427 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2429 * src/hildon-banner.c
2430 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2432 Make sure that the banner is correctly placed the first time it's
2434 (hildon_banner_check_position, -check_fullscreen_state):
2435 Show the banner in the same place no matter if the window is in
2436 fullscreen mode or not.
2438 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2440 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2442 * src/hildon-touch-selector.c (_default_print_func): reorder
2443 concatenation for clarity.
2445 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2447 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2448 for multicolumn selectors.
2450 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2452 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2457 * configure.ac: Bump version.
2458 * debian/changelog: Updates.
2460 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2462 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2465 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2467 * configure.ac: removed libcangerra-gtk dependency
2468 * debian/control: removed libcanberra-gtk dependency
2469 * src/Makefile.am: removed libcanberra gtk related flags
2470 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2471 context, and manage a global canberra context instead
2473 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2475 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2477 Patch by Daniel Borgmann (danielb@openismus.com)
2479 * src/hildon-edit-toolbar.c:
2480 Adjust the left padding.
2481 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2482 Paint background of the edit toolbar.
2484 Fixes: NB#107897 (Patch to make editmodetoolbar background
2485 themeable and adjust margin)
2487 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2489 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2491 * src/hildon-program.c (hildon_program_update_top_most):
2492 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2494 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2495 change when the user tasks in/out of an application)
2497 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2499 * configure.ac: added libcangerra-gtk dependency
2500 * debian/control: added libcanberra-gtk dependency
2501 * src/Makefile.am: added libcanberra gtk related flags
2502 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2505 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2507 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2509 * src/hildon-program.c (hildon_program_remove_window)
2510 (hildon_program_add_window): Add checks for the window
2511 parameter. Don't decrease the window counter if the window is not
2514 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2516 * src/hildon-pannable-area.c,
2517 (hildon_pannable_area_realize): Fixed position of the event_window
2518 in the realize method.
2520 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-app-menu-private.h
2523 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2524 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2525 (hildon_app_menu_key_press, hildon_app_menu_init)
2526 (hildon_app_menu_finalize):
2527 Make sure that all idle functions are removed when the widget is
2530 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2532 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2537 * configure.ac: Bump version.
2538 * debian/changelog: Updates.
2540 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2542 * src/hildon-entry.c
2543 (+hildon_entry_show_placeholder),
2544 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2545 that replace hildon_entry_update_contents().
2546 (hildon_entry_set_text),
2547 (hildon_entry_set_placeholder),
2548 (hildon_entry_focus_in_event),
2549 (hildon_entry_focus_out_event): Determine when it is needed
2550 either to show or hide the placeholder and call the above methods.
2552 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2553 when the placeholder text is already set)
2555 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2558 simple GdkPixbufAnim using the new icons for the banner.
2559 (hildon_banner_show_animation): Use the above mentioned method to
2560 create the animation widget.
2562 Fixes: NB#103564 (Make hildon animation banner use individual
2563 image files as the animation)
2565 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2567 * src/hildon-pannable-area.c,
2568 (hildon_pannable_leave_notify_event): Check if the child is NULL
2569 to avoid sending the leave.
2571 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2573 * src/hildon-pannable-area.c,
2574 (hildon_pannable_area_class_init),
2575 (hildon_pannable_leave_notify_event): Added a handler of the
2576 leave-notify-signal to consider when no motion notify before
2579 Fixes: NB#107494 (Items stay selected when clicking and moving
2580 away when inside pannable area)
2582 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2587 * configure.ac: Bump version.
2588 * debian/changelog: Updates.
2590 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2592 Patch by Alberto Garcia (agarcia@igalia.com)
2594 * src/hildon-date-button.c,
2595 (hildon_date_button_class_init),
2596 (hildon_date_button_init): Removed the construct property handling
2597 and created a default selector in the init method.
2598 * src/hildon-picker-button.c,
2599 (hildon_picker_button_class_init): Removed the construct flag of the
2602 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2604 * src/hildon-main.c (hildon_init):
2605 Don't allow hildon_init() to be called more than once.
2607 Fixes: NB#106607 (hildon_init should issue error message upon
2610 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2612 * examples/hildon-pannable-area-touch-list-example.c
2613 * examples/hildon-pannagle-area-touch-grid-example.c
2614 * examples/hildon-edit-toolbar-example.c
2615 * examples/hildon-touch-selector-multi-cells-example.c
2616 Removed the call to gtk_rc_parse_string, as it is not required since
2619 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2621 * src/hildon-pannable-area.c,
2622 (hildon_pannable_area_class_init): Modified the default panning
2623 threshold of the widget to 6px.
2625 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2626 than the threshold value ) within the button is not sending the
2629 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2631 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2632 for the treeview in the new column. This way, the touch list will never
2635 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2636 be selected manually for the HW keys to work)
2638 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2641 comparison instead of using strcmp(). Fixes a compiler warning as well.
2643 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2645 * doc/hildon-docs.sgml: Do not set the library version in the
2646 document title, use the releaseinfo tag for that purpose instead.
2648 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2650 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2651 Do not jump to the first item if the text in the entry is removed.
2653 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2658 * configure.ac: Bump version.
2659 * debian/changelog: Updates.
2661 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2663 * src/hildon-entry.c (hildon_entry_refresh_contents):
2664 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2665 Use "ReversedSecondaryTextColor" for the placeholder text.
2667 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2669 * src/hildon-text-view.c: Fix compilation warning.
2671 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-button.c (hildon_button_class_init): Don't make
2674 "title" and "value" construction properties, to prevent them from
2675 overwriting labels set from derived classes.
2677 * src/hildon-picker-button.c
2678 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2679 (hildon_picker_button_class_init): Make touch-selector a
2680 construction property.
2682 * src/hildon-date-button.c (hildon_date_button_class_init)
2683 (+hildon_date_button_constructed): Add a default date selector if
2686 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2688 * src/hildon-touch-selector.c: Small documentation fixes.
2690 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2692 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2694 * src/hildon-entry.c (hildon_entry_refresh_contents),
2695 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2696 widget name, set the logical color directly instead and a boolean
2697 showing_placeholder instead.
2698 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2699 use the widget name here either.
2701 Fixes: NB#105678 (HildonTextView should use logical colours
2702 instead of setting widget name)
2704 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2706 Patch by Daniel Elster (danielk@openismus.com)
2708 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2709 Add user_data parameter.
2710 (hildon_touch_selector_set_print_func_full): New function akin
2711 hildon_touch_selector_set_print_func() but with support for user
2712 data and a destroy callback.
2713 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2714 to clean up the print function user data.
2715 (hildon_touch_selector_class_init): Install dispose function.
2716 (HildonTouchSelectorPrivate::print_user_data),
2717 (HildonTouchSelectorPrivate::print_destroy_func): New private
2719 (hildon_touch_selector_init): Initialize new private members.
2720 (hildon_touch_selector_get_current_text): Pass along user data
2721 to the print function.
2722 (_default_print_func): Add dummy user_data to parameter list.
2723 * hildon-date-selector.c (_custom_print_func): ditto,
2724 * hildon-time-selector.c (_custom_print_func): ditto,
2725 * hildon-touch-selector-entry.c
2726 (hildon_touch_selector_entry_print_func): ditto.
2728 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2730 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2732 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2734 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2736 * src/hildon-pannable-area.c,
2737 (hildon_pannable_area_init),
2738 (hildon_pannable_area_button_press_cb),
2739 (hildon_pannable_area_motion_notify_cb): We have added code to
2740 handle the leave and enter events when using the motion events.
2742 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2744 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-date-button.c (hildon_date_button_get_date)
2747 (hildon_date_button_set_date): Make sure that the button has a
2750 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2752 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2754 * src/hildon-pannable-area.c,
2755 (hildon_pannable_area_class_init),
2756 (hildon_pannable_area_calculate_velocity): Modify the use of the
2757 force and adapt the value.
2759 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2761 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2762 (hildon_app_menu_class_init): Hide the menu if it receives a
2763 delete-event, but don't destroy it
2765 Fixes: NB#104485 (Not able to address the call when application
2766 menu is opened at background)
2768 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2770 * src/hildon-app-menu.c
2771 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2772 Remove the "external-border" style property, let the menu take its
2773 natural size (or the one set by the window manager)
2774 (hildon_app_menu_repack_items):
2775 Don't reshow the menu, avoid flickers.
2777 Partially fixes NB#94957 (Smoothly opened application menu)
2779 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2784 * configure.ac: Bump version.
2785 * debian/changelog: Updates.
2787 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2789 * src/hildon-pannable-area.c,
2790 (hildon_pannable_area_motion_notify_cb): We control that the
2791 direction error margin is used just in case the movement is
2792 allowed in the other direction.
2794 Fixes: NB#105012 (buttons inside a pannable area not getting
2795 release event when dragging/releasing)
2797 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2799 * src/hildon-pannable-area.c,
2800 (hildon_pannable_area_class_init),
2801 (hildon_pannable_area_get_property),
2802 (hildon_pannable_area_set_property),
2803 (hildon_pannable_area_initial_effect),
2804 (hildon_pannable_axis_scroll),
2805 (hildon_pannable_area_button_release_cb): Reviewed the
2806 overshooting effect, now it has its own max
2807 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2808 speed when bouncing.
2810 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2815 * configure.ac: Bump version.
2816 * debian/changelog: Updates.
2818 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2820 * src/hildon-pannable-area.c,
2821 (hildon_pannable_area_class_init): Changed the max speed, now
2822 users can launch the widget very fast. Reduced the default force,
2823 that way it is easier to control the launch speed.
2825 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2827 * src/hildon-pannable-area.c,
2828 (hildon_pannable_area_button_release_cb): Removed this check
2829 because it causes problems when the device is overloaded.
2831 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2833 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2834 add a current_text field to store the text entered in the
2835 touch selector entry.
2836 (_clean_current_selection): clean up the current text as well.
2837 (_save_current_selection), (_restore_current_selection):
2838 Save/restore the text in the entry if the selector is a
2839 HildonTouchSelectorEntry.
2841 Fixes: NB#102541 (value entered in the touch selector entry is not
2842 shown when opened for second time)
2844 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2846 * doc/hildon-sections.txt:
2847 * src/hildon-touch-selector-entry.c
2848 (+hildon_touch_selector_entry_get_entry):
2849 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2851 Fixes: NB#104815 (I need accessor to the entry inside
2852 HildonTouchSelectorEntry)
2854 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2857 (hildon_app_menu_class_init):
2858 New "filter-vertical-spacing" style property.
2860 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-find-toolbar.c
2863 (hildon_find_toolbar_emit_close)
2864 (hildon_find_toolbar_emit_invalid_input)
2865 (hildon_find_toolbar_entry_activate):
2866 Use g_signal_emit() instead of g_signal_emit_by_name()
2868 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2870 Patch by Mox Soini (ext-mox.soini@nokia.com)
2872 * tests/TEST-CASES.txt
2873 * tests/check-hildon-banner.c
2874 * tests/check-hildon-note.c
2875 * src/hildon-banner.c
2876 * src/hildon-code-dialog.c
2877 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2878 * src/hildon-time-editor.c
2879 * examples/hildon-lookup-example.c (main):
2880 Replace obsolete icon names with new ones.
2882 * src/hildon-find-toolbar-private.h:
2883 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2884 (-hildon_find_toolbar_emit_search):
2885 Remove find button and change icon of close button.
2887 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2889 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2891 * src/hildon-time-button.c (hildon_time_button_new_step):
2892 Use the "touch-selector" property to set the selector directly
2893 when creating the object.
2895 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2897 Added a new example application that allows tuning the pannable
2898 area and replaced defines with properties in order to simplify the
2899 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2900 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2901 PROP_DIRECTION_ERROR_MARGIN.
2903 * examples/hildon-pannable-area-tuning-example.c: New example
2905 * src/hildon-pannable-area.c,
2906 (hildon_pannable_area_class_init),
2907 (hildon_pannable_area_init),
2908 (hildon_pannable_area_get_property),
2909 (hildon_pannable_area_set_property),
2910 (hildon_pannable_area_launch_fade_timeout),
2911 (hildon_pannable_area_adjust_value_changed),
2912 (hildon_pannable_axis_scroll),
2913 (hildon_pannable_area_motion_notify_cb),
2914 (hildon_pannable_area_scroll_cb),
2915 (hildon_pannable_area_button_release_cb): We have converted some
2916 of the defines that control the widget to properties to simplify
2919 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2921 * src/hildon-app-menu.c (hildon_app_menu_map)
2922 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2923 so it's closed if a new window appears.
2925 Fixes: NB#104485 (Not able to address the call when application
2926 menu is opened at background)
2928 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2930 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2931 missing 'break' statement in in 'case' construct to avoid
2934 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/hildon-touch-selector-entry.c
2937 (hildon_touch_selector_entry_get_property),
2938 (hildon_touch_selector_entry_set_property): Add missing 'break'
2939 statements in in 'case' constructs to avoid incorrect warnings.
2941 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2943 * src/hildon-time-editor.c
2944 (hildon_time_editor_get_time_separators): Do not crash if
2945 the first label is NULL.
2947 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-date-selector.c (_month_days): Check for month to be
2950 strictly less than 12, since otherwise we may overrun the array.
2952 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2954 * src/hildon-date-button.c (+hildon_date_button_new_full)
2955 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2956 (hildon_date_button_init): Set the date selector using a
2957 construction property, to make it happen after HildonButton's
2958 "value" property is set.
2960 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2961 current date by default)
2963 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2965 * doc/hildon-sections.txt
2966 * src/hildon-program.c
2967 * src/hildon-stackable-window.c
2968 * src/hildon-window.c:
2969 Documentation updates
2971 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2973 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2974 (hildon_window_stack_new, +hildon_window_stack_set_property)
2975 (+hildon_window_stack_get_property)
2976 (hildon_window_stack_class_init)
2977 (+hildon_window_stack_set_window_group)
2978 (+hildon_window_stack_get_window_group):
2979 Make the window group a construction property.
2981 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2983 * doc/hildon-sections.txt
2984 * src/hildon-stackable-window-private.h
2985 * src/hildon-stackable-window.h
2986 * src/hildon-stackable-window.c
2987 (-hildon_stackable_window_set_app_menu)
2988 (-hildon_stackable_window_get_app_menu)
2989 (-hildon_stackable_window_toggle_menu)
2990 (-hildon_stackable_window_finalize)
2991 (hildon_stackable_window_class_init)
2992 (hildon_stackable_window_init)
2993 * src/hildon-window-private.h
2994 * src/hildon-window.h
2995 * src/hildon-window.c (hildon_window_init)
2996 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2997 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2998 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2999 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3000 Moved all HildonAppMenu code to HildonWindow. The menu does not
3001 require a HildonStackableWindow anymore.
3003 * src/hildon-app-menu.c
3004 * src/hildon-program.c
3005 * examples/hildon-app-menu-example.c (main):
3006 Update examples and documentation to reflect HildonAppMenu
3009 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3011 * src/hildon-remote-texture.c
3012 * src/hildon-animation-actor.c:
3013 Don't include unused private headers.
3015 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3017 * src/hildon-program-private.h
3018 * src/hildon-program.c
3019 (hildon_program_set_common_menu)
3020 (hildon_program_get_common_menu)
3021 (hildon_program_set_common_app_menu)
3022 (hildon_program_get_common_app_menu):
3023 Change common menu pointers from GtkWidget* to GtkMenu* and
3024 HildonAppMenu* to avoid unnecessary casts.
3026 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-window.c (hildon_window_set_main_menu):
3029 Removed incorrect 'Since:' tag
3031 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3033 * src/hildon-pannable-area.c,
3034 (hildon_pannable_area_calculate_velocity): We use now the
3035 RATIO_TOLERANCE here to check the distance, fixed typo in the
3037 (hildon_pannable_area_motion_notify_cb): We have to set the type
3038 and time even if we are not sending the motion.
3040 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3042 * doc/hildon-sections.txt
3043 * src/hildon-app-menu.h
3044 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3045 (+hildon_app_menu_get_filters): New methods to get the contents of
3048 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3051 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-app-menu.c (hildon_app_menu_popup):
3056 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-window.h
3059 * src/hildon-window.c (+hildon_window_get_main_menu)
3060 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3061 and deprecated hildon_window_get_menu().
3063 * src/hildon-stackable-window.h
3064 * src/hildon-stackable-window.c
3065 (+hildon_stackable_window_set_app_menu)
3066 (+hildon_stackable_window_get_app_menu)
3067 (hildon_stackable_window_set_main_menu): Created
3068 hildon_stackable_window_{get,set}_app_menu() and deprecated
3069 hildon_stackable_window_set_main_menu().
3071 * doc/hildon-sections.txt
3072 * examples/hildon-app-menu-example.c (main)
3073 * src/hildon-app-menu.c
3074 * src/hildon-program.c:
3075 Updated examples and documentation.
3077 Fixes: NB#103758 (No way to obtain a menu from a
3078 HildonStackableWindow)
3080 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3085 * configure.ac: Bump version.
3086 * debian/changelog: Updates.
3088 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3090 * examples/hildon-remote-texture-example.c: Include
3091 hildon-remote-texture.h explicitely.
3092 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3093 applications not defining _XOPEN_SOURCE which don't require this header.
3095 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3097 * doc/hildon-sections.txt
3098 * src/hildon-app-menu.h
3099 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3100 New function to pop up a HildonAppMenu
3102 * src/hildon-stackable-window.c
3103 (hildon_stackable_window_toggle_menu):
3104 Use hildon_app_menu_popup() to show the menu.
3106 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-app-menu.c (hildon_app_menu_show)
3109 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3110 menu if there's another window between it and its parent window.
3112 Fixes: NB#100468 (Application menu window is launched even when a
3113 new secondary-window/dialog is pending to be shown/realized)
3115 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3117 * src/hildon-window-stack.c (hildon_window_stack_push)
3118 (hildon_window_stack_pop_and_push):
3119 Don't forget to push/pop the first window.
3120 Reverse the window list before calling _push_list()
3122 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3124 * src/hildon-picker-button.h
3125 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3126 Remove "value_changed" slot to avoid ABI breakage
3128 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3130 * src/hildon-pannable-area.c,
3131 (hildon_pannable_area_realize),
3132 (hildon_pannable_area_unrealize),
3133 (hildon_pannable_draw_vscroll),
3134 (hildon_pannable_draw_hscroll): Changed the method to handle the
3135 GC used to draw the transparent scrollbar, this way we avoid
3136 creating the GC all the time when drawing the scrollbars.
3138 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3140 * src/hildon-pannable-area.c,
3141 (hildon_pannable_area_init),
3142 (hildon_pannable_area_remove): Removed some unnecessary casts.
3143 (hildon_pannable_area_dispose): Disconnected some signals before
3144 releasing the adjustments.
3146 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3149 Make sure that all widgets contained in the toolbar are shown.
3151 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3153 * doc/hildon-sections.txt
3154 * src/hildon-picker-button.h
3155 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3156 (_selection_changed, hildon_picker_button_on_dialog_response)
3157 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3158 New hildon_picker_button_value_changed() method.
3161 * src/hildon-picker-button-private.h
3162 * src/hildon-picker-button.c (hildon_picker_button_init)
3163 (+hildon_picker_button_disable_value_changed): Add protected
3164 function for disabling the "value-changed" signal.
3166 * src/hildon-date-button.c (hildon_date_button_set_date):
3167 Don't emit "value-changed" for each one of the three columns.
3169 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3170 before actual change of values)
3172 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3174 * src/hildon-pannable-area.c,
3175 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3176 for the treeview overshooting.
3178 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3180 * src/hildon-banner.c (+hildon_banner_bind_style):
3181 Renamed from hildon_banner_bind_label_style(), now naming the
3182 banner itself as well.
3183 (hildon_banner_show_information),
3184 (hildon_banner_show_information_with_markup),
3185 (hildon_banner_show_animation), (hildon_banner_show_progress):
3186 Name the widgets and labels, based on their type.
3188 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3191 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3193 * src/hildon-note.c (hildon_note_set_property): call
3194 hildon_note_rename() on HildonNote:note-type set.
3195 (hildon_note_rename): Name the note and its label, based on the
3196 HildonNote:note-type property.
3198 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3201 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3203 * src/hildon-pannable-area.c,
3204 (hildon_pannable_area_class_init),
3205 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3206 panning parameters, increased SPS and deceleration factor. Added
3207 also a margin to control fake directions.
3209 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3211 Patch by Sven Herzberg (sven@imendio.com)
3213 * configure.ac: Add missing AM_PROG_CC_C_0
3214 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3216 See NB#101420 (Update unit tests and fix make check)
3218 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3220 This patch was applied before but reverted because it caused
3221 problems, we have changed the main condition and tested the
3222 regressions we detected before and they work ok. We have done a
3223 complete review of the topmost algorithm in order to get a more
3226 * src/hildon-pannable-area.c,
3227 (hildon_pannable_area_get_topmost): Added a new parameter to
3228 filter the the windows that do not include those events.
3229 (hildon_pannable_area_button_press_cb),
3230 (hildon_pannable_area_button_release_cb),
3231 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3232 topmost function, we have added the new parameter.
3234 Fixes: NB#97458 (Pannable area prevents propagation of button
3237 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3240 if all columns in the selector have an item selected.
3241 (_on_dialog_response): Stop "response" signal emission if there is
3242 any selector column without selected items.
3244 Fixes: NB#101889 (Picker dialog should not close when nothing is
3245 selected in multiple selection list)
3247 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3249 * src/hildon-font-selection-dialog.c
3250 (hildon_font_selection_dialog_class_init),
3251 (hildon_font_selection_dialog_init): Remove the preview
3252 button and dialog, since previewing with default theming is likely
3253 to be overcomplicated. The :preview property has now no effect.
3254 Update documentation blurbs to inform about this.
3256 Fixes: NB#92297 (Preview content is not clearly visible for
3257 default colour text)
3259 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3261 Reviewed the geometry that handles the children size and
3262 scrollbar, now it tries a size and reviews the results depending
3263 on the scrollbars visibility.
3265 * src/hildon-pannable-area.c,
3266 (hildon_pannable_area_realize): Fixed a typo.
3267 (hildon_pannable_area_child_allocate_calculate): Added this
3268 function to calculate the child allocation.
3269 (hildon_pannable_area_size_allocate): Reviewed the allocation
3271 (hildon_pannable_area_check_scrollbars),
3272 (hildon_pannable_area_refresh): Refactored refresh function, this
3273 way we can call the code handling the scrollbars without causing a
3274 size_request, it is interesting in the allocate.
3275 (hildon_pannable_area_init): Replace the callbacks of the
3276 value_changed and changed signals to propertly deal with the
3278 (hildon_pannable_area_grab_notify),
3279 (hildon_pannable_area_initial_effect),
3280 (hildon_pannable_area_launch_fade_timeout),
3281 (hildon_pannable_area_adjust_changed),
3282 (hildon_pannable_area_adjust_value_changed),
3283 (hildon_pannable_area_redraw),
3284 (hildon_pannable_area_button_press_cb),
3285 (hildon_pannable_area_button_release_cb),
3286 (hildon_pannable_area_scroll_cb),
3287 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3288 code and use the new functions adjust_changed and
3289 adjust_value_changed.
3291 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3292 Contact editor dialog)
3294 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3299 * configure.ac: Bump version.
3300 * debian/changelog: Updates.
3302 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3304 * src/hildon-pannable-area.c,
3305 (hildon_pannable_area_get_topmost),
3306 (hildon_pannable_area_button_press_cb),
3307 (hildon_pannable_area_button_release_cb),
3308 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3309 topmost function adding the event mask. We have to try a
3310 differente approach because it is still causing problems (NB#9745,
3313 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3315 * src/hildon-banner.c:
3316 Update the maximum width of timed banners.
3317 (force_to_wrap_truncated): Enforce the maximum text width if the
3320 Fixes: NB#102413 (The text margins (wrapping) in information
3321 banner should be HILDON_MARGIN_TRIPLE)
3323 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3325 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3327 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3328 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3329 bound when calculating the scroll indicator position.
3331 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3332 treat ->lower correctly)
3334 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3337 expose event handling, since it is not necessary to draw the focus
3340 Fixes: NB#102467 (Do not show highlight on the text in
3343 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3346 full height of the toolbar for the button and the label.
3348 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3351 padding before the label and after the button.
3353 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3355 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3357 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3358 Add a GtkVSeparator between the button and the back arrow.
3359 Let the button have automatic size.
3360 Set a name to the widget for theming handling.
3362 Fixes: NB#101793 (Make edit toolbar the same height as window
3363 title bar (use title area theming))
3365 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-helper.c (attach_new_color_element): Fix memory
3370 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3372 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3374 * examples/hildon-button-example.c (common_buttons_window): Don't
3377 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3380 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3382 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-gtk.c: Check that the window is realized.
3386 Fixes: NB#102225 (Crash setting the progress indicator to a non
3389 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3391 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3392 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3393 instead of modifying the one in the widget style.
3395 Fixes: NB#101043 (Second row of all the command button are
3396 displayed in transparent mode.)
3398 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3400 * src/hildon-date-button.c
3401 * src/hildon-time-button.c: Add gettext macros
3403 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3405 * src/hildon-date-button.c (hildon_date_button_new):
3406 * src/hildon-time-button.c (hildon_time_button_new_step):
3407 Use new logical strings to set the button default title.
3409 Fixes: NB#99915 (Date and Time options are not localised in Date
3412 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3414 * src/hildon-pannable-area.c
3415 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3416 the PANNING_THRESHOLD.
3418 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3420 * src/hildon-pannable-area.c,
3421 (hildon_pannable_area_class_init): Increased the maximum speed.
3422 (hildon_pannable_area_get_property),
3423 (hildon_pannable_area_set_property),
3424 (hildon_pannable_area_timeout): Added a new low friction mode, it
3425 allows the user avoid friction when launching the widget fast
3426 enough. It is interesting to traverse long lists.
3428 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3430 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3431 (+hildon_stackable_window_delete_event): Ignore delete events if
3432 the window is not the topmost one.
3434 Fixes: NB#101698 (Back button long press and delete-event handling)
3436 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3438 * src/hildon-pannable-area.c,
3439 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3440 gtk-dnd-drag-threshold, it was too big. We have defined our own
3441 dnd define and set a smaller value: PANNIG_THRESHOLD.
3443 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3445 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3446 user-defined icons, use always the default one.
3448 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3450 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3452 This patch was applied before but reverted because it caused
3453 problems, we have changed the main condition and tested the
3454 regressions we detected before and they work ok.
3456 * src/hildon-pannable-area.c,
3457 (hildon_pannable_area_get_topmost): Added a new parameter to
3458 filter the the windows that do not include those events. Added
3459 also a condition when finding the window to filter windows that do
3460 not ask for those events.
3461 (hildon_pannable_area_button_press_cb),
3462 (hildon_pannable_area_button_release_cb),
3463 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3464 topmost function, we have added the new parameter.
3466 Fixes: NB#97458 (Pannable area prevents propagation of button
3469 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3471 * tests/check-hildon-color-button.c (START_TEST): do not leak
3474 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-font-selection-dialog.c
3477 (hildon_font_selection_dialog_get_preview_text): Return NULL
3478 instead of FALSE on the g_return_val_if_fail().
3480 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3482 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3483 * src/hildon-date-selector.c
3484 (hildon_date_selector_select_current_date):
3485 Do not compare unsigned integers to be greater than or equal 0,
3486 because it's always TRUE.
3488 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3490 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3491 (hildon_date_selector_constructor): Do not select the current
3492 date until we are handle the "changed" signal, to avoid having bogus
3493 elements in the days model.
3495 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3498 for num_days, since _month_days() can return a negative value.
3500 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3502 * src/hildon-caption.c (hildon_caption_size_allocate):
3503 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3504 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3506 Initialize allocation variables to 0, to avoid eventually using
3507 unitialized variables.
3509 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3511 * src/hildon-bread-crumb-trail.c
3512 (hildon_bread_crumb_trail_size_allocate):
3513 * src/hildon-calendar.c (hildon_calendar_set_background):
3514 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3515 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3516 * src/hildon-seekbar.c (hildon_seekbar_init):
3517 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3518 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3519 * src/hildon-touch-selector-entry.c
3520 (hildon_touch_selector_get_text_from_model):
3521 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3522 * src/hildon-window.c (hildon_window_finalize):
3524 Remove many unused variables.
3526 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3528 * src/hildon-seekbar.c: (hildon_seekbar_init),
3529 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3531 Remove unnecessary g_assert() calls.
3533 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-caption.c: (hildon_caption_expose),
3536 (hildon_caption_set_property), (hildon_caption_init),
3537 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3538 (hildon_caption_size_request), (hildon_caption_size_allocate),
3539 (hildon_caption_forall), (hildon_caption_set_separator),
3540 (hildon_caption_activate), (hildon_caption_set_child_expand),
3541 (hildon_caption_set_label_text),
3542 (hildon_caption_get_label_alignment):
3544 Remove unnecessary g_assert() calls.
3546 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3548 * src/hildon-banner.c
3549 (hildon_banner_map, hildon_banner_init): Make banner temporary
3550 before mapping it to avoid closing other temporary windows, but
3551 make it non-temporary afterwards to avoid being closed by other
3552 non-temporary windows.
3553 (-hildon_banner_client_event, hildon_banner_init):
3554 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3556 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3559 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3564 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3566 * src/hildon-remote-texture.c
3567 * src/hildon-remote-texture.h
3568 * src/hildon-remote-texture-private.h
3569 * examples/hildon-remote-texture-example.c:
3570 Updates/fixes to remote-texture and its example.
3572 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3574 Patch by Mox Soini (ext-mox.soini@nokia.com)
3576 * src/hildon-code-dialog.c: Update logical id.
3577 * src/hildon-set-password-dialog.c: Update logical id.
3579 Fixes: NB#100646 (Logical strings is shown for ok in set
3580 password,Password needed dialogs)
3582 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3585 * src/hildon-remote-texture.c
3586 * src/hildon-remote-texture.h
3587 * src/hildon-remote-texture-private.h
3589 Added remote texture widget (for Clutter shared memory textures)
3591 * examples/hildon-remote-texture-example.c
3592 * examples/Makefile.am
3593 Added example file for remote texture usage
3595 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3597 * configure.ac: post release version bump.
3598 * debian/changelog: version bump.
3600 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3605 * configure.ac: Bump version.
3606 * debian/changelog: Updates.
3608 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3610 * src/hildon-date-selector.c (hildon_date_selector_init)
3611 (hildon_date_selector_constructor): Don't connect to the "changed"
3612 signal until the selector is completely constructed.
3614 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-touch-selector.c: (_create_new_column),
3617 (hildon_touch_selector_append_column),
3618 (hildon_touch_selector_set_column_selection_mode),
3619 (hildon_touch_selector_set_active),
3620 (hildon_touch_selector_select_iter):
3621 Emit the HildonTouchSelector::changed signal every time selection
3622 is changed in any of the methods above. This behavior was already
3623 documented but not fully functional.
3625 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3626 selection is programmatically changed)
3628 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3630 * doc/hildon-sections.txt: Remove obsolete icon
3631 sizes from here as well.
3633 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3635 * examples/hildon-stackable-window-example.c (add_window): Remove
3638 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3640 * src/hildon-app-menu.c
3641 (hildon_app_menu_show): Check whether the parent window of a menu
3642 is topmost before popping it up.
3644 Fixes: NB#100468 (Application menu window is launched even when a
3645 new secondary-window/dialog is pending to be shown/realized.)
3647 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3649 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3652 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3654 Patch by Mox Soini (ext-mox.soini@nokia.com)
3656 * src/hildon-banner.c: (hildon_banner_show_animation):
3657 use stylus size instead of obsolete note size.
3658 * src/hildon-defines.h: Update icon sizes.
3660 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3662 * src/hildon-touch-selector-entry.c:
3663 (hildon_touch_selector_entry_init): Disable unsupported
3665 (hildon_touch_selector_entry_get_text_column): Emit a warning
3666 if an unsupported input modes is used and explicitile state
3667 these modes in the documentation.
3669 Fixes: NB#99802 (Hildon touch selector entry not working properly
3670 for some of the input modes)
3672 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3674 * src/hildon-pannable-area.c,
3675 (hildon_pannable_area_init): Added the changed signal handlers of
3678 Fixes: NB#100320 (HildonPannableArea does not listen to
3679 GtkAdjustment "change" signals)
3681 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3683 * doc/hildon-sections.txt
3684 * src/hildon-window-private.h
3685 * src/hildon-window.h
3686 * src/hildon-window.c (hildon_window_init)
3687 (hildon_window_realize, hildon_window_unrealize)
3688 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3689 (hildon_window_size_request, hildon_window_size_allocate)
3690 (hildon_window_forall, hildon_window_show_all)
3691 (hildon_window_destroy, +paint_edit_toolbar)
3692 (+hildon_window_set_edit_toolbar):
3693 New hildon_window_set_edit_toolbar() method, to add a
3694 HildonEditToolbar to a window without having to pack it manually.
3696 Reorganize hildon_window_size_allocate()
3698 * src/hildon-edit-toolbar.c: Update documentation.
3700 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3701 example to use the new API.
3703 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3705 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3707 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3708 Remove from stack before calling parent's hide.
3710 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3712 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3713 window is removed from the middle of the stack, update the
3714 transiency of the previous one.
3716 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3719 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3721 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3722 block/unblock the signal handler if it's not actually being used.
3723 Fixes some critical warnings.
3725 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3727 Based on a patch by Iván Gómez (igomez@igalia.com)
3729 * src/hildon-banner.c
3733 * src/hildon-pannable-area.c
3734 * src/hildon-picker-dialog.c
3735 * src/hildon-wizard-dialog.h
3736 * src/hildon-wizard-dialog.c: Documentation updates.
3738 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3739 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3741 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3743 * configure.ac: post release version bump.
3744 * debian/changelog: version bump.
3746 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3751 * configure.ac: Bump version.
3752 * debian/changelog: Updates.
3754 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3757 a stock icon nor change the relief of the back arrow.
3759 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3760 graphics from theme)
3762 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-button.c (hildon_button_set_alignment): Use
3765 priv->alignment if the button has no child yet.
3767 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3769 * src/hildon-button.c: (hildon_button_init): Set the
3770 button style during initialization to give it the proper
3773 Fixes: NB#99713 (HildonButton value label color is wrong)
3775 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3777 * src/hildon-touch-selector.c: Document
3778 hildon_touch_selector_center_on_selected()
3780 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3782 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3783 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3784 all menu items, but not the menu itself.
3785 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3786 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3787 items after adding them to the menu so keyboard accelerators work.
3788 (hildon_app_menu_show): Don't show the menu if it contains items
3789 but none of them are visible.
3791 * examples/hildon-app-menu-example.c (create_menu): Use
3792 gtk_widget_show_all() to show all menu items.
3794 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3796 * src/hildon-picker-dialog.c:
3797 (-_update_title_on_selector_changed_cb),
3798 (-_dialog_update_title): Removed.
3799 (_select_on_selector_changed_cb), (_on_dialog_response),
3800 (on_selector_columns_changed): Do not update the dialog title.
3801 (setup_interaction_mode): Do not connect to
3802 HildonTouchSelector::changed signal if there's a "done" button, as
3803 the dialog title doesn't need to be updated.
3805 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3808 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3810 Patch by Kristian Rietveld (kris@imendio.com)
3812 * src/hildon-touch-selector.c: (_create_new_column): Use new
3813 GtkTreeView::hildon-row-tapped signal to react to user interactions
3814 instead of ::changed.
3816 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3817 with some dynamic tree model)
3819 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3821 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3822 (+screen_size_changed, +label_size_request)
3823 (hildon_note_class_init): Make the Hildon information note have a
3824 minimum height, and make its text hvae a maximum width.
3826 Fixes: NB#98614 (Hildon information note (background) should have
3827 minimum height and maximum text width)
3829 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3831 * src/hildon-banner.h
3832 * src/hildon-banner.c (hildon_banner_show_information)
3833 (hildon_banner_show_informationf)
3834 (hildon_banner_show_information_with_markup): Update documentation
3835 to reflect that the icon_name parameter is not used anymore.
3836 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3837 Remove all code from these functions and mark them as deprecated.
3838 (hildon_banner_show_progress): Mark as deprecated.
3840 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3842 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3844 * src/hildon-pannable-area.c,
3845 (hildon_pannable_area_class_init),
3846 (tranparency_color),
3847 (hildon_pannable_draw_vscroll),
3848 (hildon_pannable_draw_hscroll),
3849 (hildon_pannable_area_expose_event): Added a new way to render the
3850 scrollbars of the pannable area avoiding using cairo at all. This
3851 way we improve the performance of the pannable area rendering. The
3852 cairo rendering procedure is still in the code, we can control
3853 which one to use changing the value of the define
3854 USE_CAIRO_SCROLLBARS.
3856 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3858 * configure.ac: post release version bump.
3859 * debian/changelog: version bump.
3861 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3866 * configure.ac: Bump version.
3867 * debian/changelog: Updates.
3869 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3871 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3872 banners instead of destroying them when they receive a button
3875 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3877 Reverted commit 34028, it was causing regressions, probably the
3878 topmost condition is not correct, we have to check it in more
3879 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3880 propagation of button press events)
3882 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3884 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3885 that the selection is not empty before attempting to retrieve the
3886 current ampm selection.
3888 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3890 * src/hildon-picker-button.c:
3891 (hildon_picker_button_on_dialog_response): Directly update the
3892 button contents when required instead of calling _selection_changed.
3894 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3896 * src/hildon-program.c (hildon_program_update_top_most): Update
3897 'is-topmost' property also when wm_hints is not set.
3899 Fixes: NB#98383 (is-topmost signal is not emitted when task
3900 switcher is clicked.)
3902 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3904 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3908 * src/hildon-animation-actor.c,
3909 * src/hildon-animation-actor.h: Added the animation actor class,
3910 this widget represents an animation actor for WM-assisted
3911 animation effects in the Hildon framework.
3913 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3915 * src/hildon-window-stack-private.h
3916 * src/hildon-window-stack.c
3917 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3918 Avoid calling gtk_widget_show() again indirectly from
3919 hildon_stackable_window_show()
3921 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3923 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3926 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3928 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3929 (hildon_time_selector_init): Move the construction of the hours and
3930 ampm columns to the constructor to preserve the order the columns
3933 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3935 * src/hildon-picker-dialog.c:
3936 (hildon_picker_dialog_class_init): Connect a realize method.
3937 (+hildon_picker_dialog_realize): Setup the interaction mode here
3939 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3940 yet, do it during the realize instead.
3941 (_on_dialog_response):
3942 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3943 if the widget is not realized, to avoid the dialog response before it
3946 Avoid premature responses in the HildonPickerDialog that can cause it
3947 to be hidden before it's even shown.
3949 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3951 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3952 (on_selector_columns_changed), (requires_done_button),
3953 (+prepare_action_area), (setup_interaction_mode),
3954 (_hildon_picker_dialog_set_selector):
3956 Split the interaction mode setup into preparation of the
3957 action area (prepare_action_area()) and the connection of
3958 the signals in setup_interaction_mode() and update the code to
3961 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3963 * src/hildon-pannable-area.c,
3964 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3965 per second to 15, we will check if this is ok regarding
3968 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3970 * src/hildon-pannable-area.c,
3971 (hildon_pannable_axis_scroll): Avoid resize if we already have
3972 reached overshoot_max.
3974 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3976 * src/hildon-pannable-area.c,
3977 (hildon_pannable_area_init),
3978 (hildon_pannable_area_realize),
3979 (hildon_pannable_area_size_allocate),
3980 (hildon_pannable_area_map),
3981 (hildon_pannable_area_unmap),
3982 (hildon_pannable_draw_vscroll),
3983 (hildon_pannable_draw_hscroll),
3984 (hildon_pannable_area_expose_event),
3985 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3986 pannable are to avoid the expose events go to the window and
3987 redraw the window. We save this way that part of the stack and the
3988 paint_boxes. We had to change the positions of the elements when
3991 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3993 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3994 * src/hildon-color-chooser-dialog.c:
3995 (hildon_color_chooser_dialog_init):
3996 * src/hildon-font-selection-dialog.c:
3997 (hildon_font_selection_dialog_init),
3998 (hildon_font_selection_dialog_show_preview):
3999 * src/hildon-get-password-dialog.c:
4000 * src/hildon-login-dialog.c:
4001 * src/hildon-set-password-dialog.c:
4002 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4003 * src/hildon-time-picker.c: (hildon_time_picker_init):
4005 Remove obsolete logical string IDs and update to the appropriate ones.
4007 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4009 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4011 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4012 that happens if the window hasn't been realized yet.
4014 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4015 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4017 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4019 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4020 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4023 Fixes: NB#98537 (Device hangs in account settings dialog)
4025 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4027 * configure.ac: post release version bump.
4028 * debian/changelog: version bump
4030 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4035 * configure.ac: Bump version.
4036 * debian/changelog: Updates.
4038 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4040 Added a new function to the HildonTimeButton widget that allows to
4041 change the step of the minutes in the selector associated with the
4042 button: hildon_time_button_new_step
4044 * src/hildon-time-button.c,
4045 (hildon_time_button_init),
4046 (hildon_time_button_new),
4047 (hildon_time_button_new_step):
4048 * src/hildon-time-button.h: Added the new function and refactored
4050 * examples/hildon-time-button-example.c,
4051 (main): We have replaced the function without parameters with the
4052 function with the steps set to 5
4054 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4056 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4058 * src/hildon-time-selector.c,
4059 (hildon_time_selector_class_init),
4060 (hildon_time_selector_constructor),
4061 (hildon_time_selector_get_property),
4062 (hildon_time_selector_set_property),
4063 (_create_minutes_model),
4064 (hildon_time_selector_new_step),
4065 (hildon_time_selector_set_time),
4066 * src/hildon-time-selector.h: Added a new property to the
4067 HildonTimeSelector (minutes-step), we use that property to control
4068 the steps between the minutes in the list of the selector. We have
4069 added a new function to the API to create a widget changing the
4070 step: hildon_time_selector_new_step.
4072 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4074 * src/hildon-time-selector.c,
4075 (hildon_time_selector_class_init),
4076 (hildon_time_selector_constructor),
4077 (hildon_time_selector_init): Overrided the construct function when
4078 creating the time selector object. We have moved the minutes model
4079 handling code from the init to the new construction function:
4080 hildon_time_selector_constructor.
4082 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4084 * examples/hildon-date-button-example.c: (main): Use the new
4085 hildon_date_button_new_with_year_range() method in the example.
4086 * src/hildon-date-button.c:
4087 (+hildon_date_button_new_with_year_range): New public method
4088 to conveniently create a HildonDateButton with a custom year range
4089 in its HildonDateSelector.
4090 * src/hildon-date-button.h: Add the new public method definition.
4092 Fixes: NB#97908 (Not possible to change the year range in
4093 HildonDateSelector/HildonDateButton)
4095 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4097 * src/hildon-date-selector.c:
4098 (+hildon_date_selector_set_property),
4099 (+hildon_date_selector_get_property),
4100 (hildon_date_selector_class_init): Install new properties "min-year"
4101 and "max-year" to define boundaries for the year column.
4102 (_create_year_model): Use the boundary properties to populate the model.
4103 (+hildon_date_selector_new_with_year_range): New public method to
4104 create a HildonDateSelector with a user defined year range.
4105 (hildon_date_selector_select_current_date): Use the new boundaries to
4106 calculate the iterator of current year.
4107 * src/hildon-date-selector.h: Add the new public method definition.
4109 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4111 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4112 Install a constructor method.
4113 (+hildon_date_selector_construct_ui): construct the widget.
4114 (+hildon_date_selector_constructor): new constructor.
4115 (+hildon_date_selector_init): move out widget construction code to
4116 the new constructor.
4118 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4120 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4121 that there's actually a month or year selected before obtaining them.
4122 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4123 of the HildonTouchSelector::changed signal, as it was emitted on every
4124 single item selection.
4126 Fix some warnings and possible crashers due to the selection restoring.
4128 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4130 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4131 the signal handlers only after creating the dialog instead of on every
4134 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4136 * src/hildon-button.c (hildon_button_init)
4137 * src/hildon-check-button.c (hildon_check_button_init)
4138 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4139 focus when clicked by default.
4141 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4143 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4146 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4148 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4149 Alejandro G. Castro (alex@igalia.com)
4151 * src/hildon-picker-dialog.c:
4152 (hildon_picker_dialog_class_init): install new "center-on-show"
4154 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4155 (hildon_picker_dialog_set_property): add setter code for the new
4157 (hildon_picker_dialog_get_property): add getter code for the new
4159 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4160 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4163 Fixes: NB#92849 (Selected item is not always visible when
4164 HildonTouchSelector is shown)
4166 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4168 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4169 Alejandro G. Castro (alex@igalia.com)
4171 * src/hildon-touch-selector.c:
4172 (_create_new_column): Do not connect to the "realize" signal of the
4174 (hildon_touch_selector_append_column): center on the selected items
4175 when a new column is appended.
4176 (hildon_touch_selector_select_iter): Factor out the code to select a
4177 column to hildon_touch_selector_scroll_to().
4178 (+search_nearest_element): Method to retrieve the nearest selected
4179 element to the visible area of the pannable area in a column.
4180 (+on_realize_cb): scroll to the initially selected item.
4181 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4182 the pannable area is realized, otherwise delay this until it is.
4183 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4184 selected items of a given column.
4185 (+hildon_touch_selector_center_on_selected): Public method to center
4186 all columns on the nearest selected item.
4187 * src/hildon-touch-selector.h: Add definition for
4188 hildon_touch_selector_center_on_selected().
4190 Implement public API to ensure visibility of all selected items in
4191 a HildonTouchSelector.
4193 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4195 Fixed a problem in the fading when calling the scroll_to API, and
4196 improve scrollbar fading handling.
4198 * src/hildon-pannable-area.c,
4199 (hildon_pannable_area_grab_notify): avoid the timeout when the
4201 (hildon_pannable_area_button_press_cb),
4202 (hildon_pannable_area_motion_notify_cb): Code style changes.
4203 (hildon_pannable_area_button_release_cb): Review the conditions
4204 when releasing the mouse button to avoid unrequired fading
4206 (hildon_pannable_area_scroll_to): Do not calculate and set the
4207 velocity if the scroll is not required.
4209 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4211 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4212 Don't check whether the new selector is NULL: it cannot be.
4213 Hold a reference to the selector while doing the replacement.
4215 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4217 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4218 unnecessary size_request in a removed widget.
4220 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4222 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4223 an unnecessary reference tracking that was leaking.
4225 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4227 Added delayed motion notify event handling, this way we can
4228 discard redrawing if more than 25 events arrive per second.
4230 * src/hildon-pannable-area.c,
4231 (hildon_pannable_area_init): Initialized the new private atributes
4232 controlling this timeout
4233 (hildon_pannable_area_dispose): Remove the timeout that controls
4234 the motion notify events.
4235 (hildon_pannable_area_scroll): Added a condition to control the
4236 use of the acceleration.
4237 (hildon_pannable_area_motion_event_scroll_timeout),
4238 (hildon_pannable_area_motion_event_scroll): Added this two
4239 functions, they handle the motion notify events inside the
4241 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4242 to the scroll method with the new function.
4243 (hildon_pannable_area_button_release_cb): We have to remove the
4244 timeout handler and move to the last position if the last motion
4245 events were not handled.
4247 Fixes: NB#97028 (Pannable area updates on every motion event)
4249 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4251 * src/hildon-pannable-area.c,
4252 (hildon_pannable_area_get_topmost): Added a new parameter to
4253 filter the the windows that do not include those events. Added
4254 also a condition when finding the window to filter windows that do
4255 not ask for those events.
4256 (hildon_pannable_area_button_press_cb),
4257 (hildon_pannable_area_button_release_cb),
4258 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4259 topmost function, we have added the new parameter.
4261 Fixes: NB#97458 (Pannable area prevents propagation of button
4264 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4266 * src/hildon-pannable-area.c,
4267 (hildon_pannable_area_initial_effect): Added controls before
4268 launching the timeout and the idle functions.
4269 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4270 of the method, in some situations it can return with TRUE and 0 in
4272 (hildon_pannable_area_button_press_cb): We do not need to set
4273 DELAY for fading out here.
4275 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4277 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4279 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4280 post-cleaning if the selection is not NULL.
4282 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4284 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4285 all items before restoring the selection.
4287 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/hildon-touch-selector.c:
4290 (+hildon_touch_selector_unselect_all):
4291 * src/hildon-touch-selector.h: New API to unselect all items in a
4292 column of the touch selector.
4294 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4296 * src/hildon-pannable-area.c,
4297 (hildon_pannable_area_redraw): Added a call to the refresh
4298 function inside the redraw because apparently in some cases the
4299 change in the adjustment does not imply a size allocate.
4301 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4302 despite the view not being scrollable)
4304 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4306 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4307 leak. Check for NULL before attempting to set the window title.
4309 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4311 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4312 whether to show or not the 'Done' button each time the dialog is
4313 shown, as it depends on the HildonTouchSelector selection mode.
4315 Fixes: NB#96226 (In multiple selection mode Done button is shown
4316 sometimes in listpicker)
4318 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4321 for the number of columns in the HildonTouchSelector more than once.
4323 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4325 * src/hildon-touch-selector.c: Minor documentation fixes.
4327 * src/hildon-picker-dialog.c (+_dialog_update_title)
4328 (_select_on_selector_changed_cb)
4329 (_update_title_on_selector_changed_cb)
4330 (on_selector_columns_changed): Update dialog title when there's no
4331 'Done' button and also when the number of columns in the selector
4335 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4336 (+_selection_changed, hildon_picker_button_on_dialog_response)
4337 (hildon_picker_button_selector_selection_changed)
4338 (+hildon_picker_button_selector_columns_changed)
4339 (hildon_picker_button_set_selector): Update button value and emit
4340 'value-changed' when the number of columns in the selector
4344 Fixes: NB#96225 (Dialog titles are not shown according to the
4345 values selected in the list picker)
4347 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4349 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4350 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4351 New "arrow-width" and "arrow-height" style properties to set the
4352 size of the arrow button.
4353 Set name of arrow button ("hildon-edit-toolbar-arrow").
4355 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4356 graphics from theme)
4358 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4360 * src/hildon-picker-button.c:
4361 (hildon_picker_button_selector_selection_changed): Use
4362 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4363 the dialog is present.
4365 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4366 the selection is accepted in the dialog)
4368 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4370 * src/hildon-color-chooser.h
4371 * src/hildon-color-chooser-dialog.h:
4372 Added G_BEGIN_DECLS and G_END_DECLS
4374 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4376 (_clean_current_selection): plug a leak in the list.
4378 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-picker-dialog.c:
4381 (+free_path_list): Method to free a GList of GtkTreePaths.
4382 (_clean_current_selection), (_save_current_selection),
4383 (_restore_current_selection): Save the current selection in
4384 as a list of lists, to support multiple selection properly.
4386 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4388 patch by Claudio Saavedra (csaavedra@igalia.com)
4390 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4391 Store the press position.
4392 (+hildon_text_view_button_release_event): If the release position is
4393 close enough to the press position, move the cursor here. Otherwise,
4395 (hildon_text_view_class_init): Override GtkTextView press, release, and
4396 motion event handlers, disabling this way text selection through
4397 pointer interaction, and allowing the container widget to handle the
4400 Fixes: NB#95828 (HildonTextView functionality)
4402 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4404 Based on a patch by Iván Gómez (igomez@igalia.com)
4406 * src/hildon-button.[ch]
4407 * src/hildon-calendar.c
4408 * src/hildon-check-button.c
4409 * src/hildon-date-editor.c
4410 * src/hildon-date-selector.c
4411 * src/hildon-picker-button.c
4412 * src/hildon-time-editor.c
4413 * src/hildon-time-selector.c
4414 * src/hildon-touch-selector.[ch]:
4415 Documentation updates
4417 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4419 * src/hildon-pannable-area.c,
4420 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4421 threshold, it was required due to X events handling.
4423 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4425 * src/hildon-pannable-area.c,
4426 (hildon_pannable_area_grab_notify),
4427 (hildon_pannable_area_initial_effect),
4428 (hildon_pannable_area_button_press_cb),
4429 (hildon_pannable_area_button_release_cb),
4430 (hildon_pannable_area_scroll_cb),
4431 (hildon_pannable_area_scroll_to): Review the timeout management of
4432 the scrollbar, the frecuency was incorrectly set.
4434 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4436 * src/hildon-picker-button.c:
4437 (+hildon_picker_button_on_dialog_response),
4438 (hildon_picker_button_clicked): Present the dialog instead of
4439 running it with gtk_dialog_run().
4441 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4444 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4447 (hildon_app_menu_finalize): When a window is hidden it doesn't
4448 emit notify::is-topmost, so make sure than the menu also
4449 disappears in that case.
4450 (parent_window_topmost_notify): Renamed from parent_window_hidden
4452 Fixes: NB#94460 (stackable window's menu is not closed when its
4455 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4457 * src/hildon-touch-selector-entry.c:
4458 (+hildon_touch_selector_entry_set_input_mode),
4459 (+hildon_touch_selector_entry_get_input_mode):
4460 * src/hildon-touch-selector-entry.h: New methods to access the input
4461 mode in the selector's entry.
4463 Fixes: NB#93410 (API required for setting IM mode in
4464 HildonTouchSelectorEntry)
4466 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4468 * configure.ac: post release version bump.
4469 * debian/changelog: version bump
4471 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4476 * configure.ac: Bump version.
4477 * debian/changelog: Updates.
4479 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/hildon-touch-selector.c:
4482 (_hildon_touch_selector_has_multiple_selection): No need
4483 to initialize the variables here.
4485 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4487 * src/hildon-note-private.h
4488 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4489 (hildon_note_finalize, hildon_note_rebuild): Close information
4490 notes when they receive a button press.
4492 Fixes: NB#89890 (Information notes does not get disappeared after
4495 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4497 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4498 mark from the wizard title, as it's not really necessary. Also,
4499 do not display the page title if not set.
4501 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4504 (parent_window_hidden): Use the window's "is-topmost" property to
4505 detect when to hide the menu.
4507 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4509 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4510 (hildon_app_menu_finalize): If the parent window of the menu is
4511 hidden, hide the menu too.
4513 Fixes: NB#94460 (stackable window's menu is not closed when its
4516 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4519 * debian/libhildon1-examples.install
4521 * examples/Makefile.am:
4522 Use dh_install to install all examples.
4523 Use DEB_SRCDIR instead of defining SOURCE_DIR
4525 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4527 * configure.ac: post release version bump.
4528 * debian/changelog: version bump
4530 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4535 * configure.ac: bump version
4536 * debian/changelog: updates
4537 * debian/control: bump gtk+ dependency
4539 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4541 patch by Christian Dywan (christian@imendio.com)
4543 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4544 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4546 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4548 * src/hildon-check-button.c (hildon_check_button_init)
4549 (hildon_check_button_class_init, hildon_check_button_style_set)
4550 (hildon_check_button_apply_style):
4551 New "checkbox-size" style property.
4553 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4554 larger / configurable size)
4556 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4558 * configure.ac: post release version bump.
4559 * debian/changelog: version bump
4561 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4566 * configure.ac: bump version
4567 * debian/changelog: updates
4569 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4571 * doc/hildon-sections.txt
4572 * src/hildon-pannable-area.c
4573 * src/hildon-program.c
4574 * src/hildon-time-editor.c
4575 * src/hildon-touch-selector-entry.c:
4577 More documentation updates.
4579 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4581 * doc/hildon-sections.txt
4582 * src/hildon-caption.c
4583 * src/hildon-code-dialog.c
4584 * src/hildon-color-button.c
4585 * src/hildon-controlbar.c
4586 * src/hildon-date-editor.c
4587 * src/hildon-date-selector.c
4588 * src/hildon-edit-toolbar.c
4589 * src/hildon-find-toolbar.c
4590 * src/hildon-font-selection-dialog.c
4592 * src/hildon-program.c
4593 * src/hildon-range-editor.c
4594 * src/hildon-seekbar.c
4595 * src/hildon-time-editor.c
4596 * src/hildon-time-selector.c
4597 * src/hildon-volumebar-range.c
4598 * src/hildon-volumebar.c
4599 * src/hildon-vvolumebar.c
4600 * src/hildon-weekday-picker.c
4601 * src/hildon-window.c
4602 * src/hildon-wizard-dialog.c:
4604 Lots of documentation fixes.
4606 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4608 Patch contributed by Iván Gómez (igomez@igalia.com)
4610 * src/hildon-check-button.c:
4611 * src/hildon-date-button.c:
4612 * src/hildon-date-selector.c:
4613 * src/hildon-dialog.c:
4614 * src/hildon-edit-toolbar.c:
4615 * src/hildon-entry.c:
4616 * src/hildon-picker-button.c:
4617 * src/hildon-program.c:
4618 * src/hildon-text-view.c:
4619 * src/hildon-time-button.c:
4620 * src/hildon-touch-selector-entry.c:
4621 * src/hildon-window-stack.c:
4623 Add more "since" tags to the new API.
4625 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4627 * doc/hildon-sections.txt: Add below method.
4628 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4629 version for the hildonized scale.
4630 * src/hildon-gtk.h: Add the definition.
4632 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4634 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4636 * doc/hildon-sections.txt: Add missing entries for new methods.
4638 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4640 Added API to pannable are in order to get its adjustments. We
4641 added two properties to manage the values we had in the private
4644 * src/hildon-pannable-area.c:
4645 (hildon_pannable_area_class_init): Added hadjustment and
4646 vadjustment properties in order to expose horizontal and vertical
4648 (hildon_pannable_area_get_property),
4649 (hildon_pannable_area_set_property): Added code to handle the new
4651 (hildon_pannable_area_get_hadjustment),
4652 (hildon_pannable_area_get_vadjustment): API functions to get the
4654 * src/hildon-pannable-area.h:
4655 (hildon_pannable_area_get_hadjustment),
4656 (hildon_pannable_area_get_vadjustment): API functions to get the
4659 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4661 Fixed some leaks, after valgrinding.
4663 * src/hildon-touch-selector.c:
4664 (_default_print_func): Fixed a leak.
4665 (hildon_touch_selector_append_column): Fixed a leak.
4666 * src/hildon-date-button.c:
4667 (hildon_date_button_init): Fixed a leak.
4668 * src/hildon-date-selector.c
4669 (hildon_date_selector_finalize): Fixed a leak.
4671 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4673 Based on a patch by Christian Dywan (christian@imendio.com)
4675 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4677 * src/hildon-gtk.h: Add definition.
4679 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4681 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4683 * src/hildon-picker-button.c: (hildon_picker_button_init),
4684 (hildon_picker_button_new): Set the HildonButton::style property
4685 in the init method, to propagate the value to the derived classes.
4687 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4689 * src/hildon-button.c: (hildon_button_class_init): Do not make
4690 the "style" property a construct property.
4692 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4694 * src/hildon-wizard-dialog.h
4695 * src/hildon-wizard-dialog.c
4696 (hildon_wizard_dialog_set_forward_page_func)
4697 * src/hildon-pannable-area.h
4698 * src/hildon-pannable-area.c
4699 (hildon_pannable_area_set_size_request_policy):
4700 Documentation fixes.
4702 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4704 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4706 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4708 * doc/hildon-sections.txt: Added sections file.
4710 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/*.[ch]: Updates.
4715 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4717 * examples/hildon-progress-indicator-example.c: new file
4718 * examples/Makefile.am: include the new example program
4720 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4724 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4726 * configure.ac: post release version bump
4727 * debian/changelog: version bump
4729 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4734 * configure.ac: bump version
4735 * debian/changelog: updates
4736 * debian/control: bump gtk+ dependency
4738 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4740 * src/hildon-dialog.c: Mark as deprecated.
4741 * src/hildon-dialog.h: Mark as deprecated.
4742 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4743 from HildonDialog and still work, even if
4744 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4745 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4747 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4748 maemo changes) instead)
4750 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4752 * src/hildon-pannable_area.h:
4753 * src/hildon-pannable_area.c:
4754 (hildon_pannable_area_class_init),
4755 (hildon_pannable_area_set_property),
4756 (hildon_pannable_area_get_property),
4757 (hildon_pannable_area_size_request),
4758 (hildon_pannable_area_get_size_request_policy),
4759 (hildon_pannable_area_set_size_request_policy): Added new API
4760 allowing applications to control the request policy. Now they can
4761 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4762 children allocation (HILDON_MOVEMENT_CHILDREN).
4764 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4768 (hildon_gtk_tree_view_set_ui_mode)
4769 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4770 mode of treeviews and iconviews.
4772 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4774 * src/hildon-touch-selector-entry.c:
4775 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4776 of a GtkEntry to get proper theming.
4778 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4779 widget, not GtkEntry)
4781 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4783 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4784 no HildonWizardDialogPageFunc.
4786 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4788 Patch contributed by Iván Gómez (igomez@igalia.com)
4790 * src/hildon-app-menu.c:
4791 * src/hildon-button.c:
4792 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4793 * src/hildon-stackable-window.c:
4794 * src/hildon-time-selector.c:
4795 * src/hildon-touch-selector.c:
4796 * src/hildon-window.c:
4798 Add more "since" tags to the new API in hildon 2.2.
4800 2008-12-05 Tim Janik <timj@imendio.com>
4802 Patch contributed by Christian Dywan (christian@imendio.com)
4804 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4805 HildonSizeType, which are supplied by Gtk+ now.
4807 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4809 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4810 (with maemo changes) instead)
4812 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4814 Patch contributed by Iván Gómez (igomez@igalia.com)
4816 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4819 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4821 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4822 (some_page_func), (main): Update the example to use a
4823 HildonWizardDialogPageFunc function.
4825 * src/hildon-wizard-dialog-private.h: Add private data for
4826 the HildonWizardDialogPageFunc function usage.
4828 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4829 (destroy), (hildon_wizard_dialog_init), (response),
4830 (hildon_wizard_dialog_set_forward_page_func):
4831 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4832 that applications can use to stop a HildonWizardDialog to jump to
4835 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4838 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4840 * src/hildon-program.h
4841 * src/hildon-program-private.h
4842 * src/hildon-program.c (hildon_program_init)
4843 (hildon_program_set_common_app_menu)
4844 (hildon_program_get_common_app_menu):
4845 New API for setting a common HildonAppMenu for all
4846 HildonStackableWindows registered with the HildonProgram.
4848 * src/hildon-stackable-window.c
4849 (hildon_stackable_window_toggle_menu):
4850 Use the common HildonAppMenu if a window doesn't have a specific
4853 * src/hildon-app-menu-private.h
4854 * src/hildon-app-menu.c
4855 (hildon_app_menu_get_parent_window):
4856 Function to obtain the window a HildonAppMenu is attached to.
4857 (hildon_app_menu_set_parent_window):
4858 Hide the menu if the parent window is set to NULL.
4860 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4862 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4863 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4864 search widget to popup.
4866 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4868 * configure.ac: post release version bump
4869 * debian/changelog: version bump
4871 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4876 * configure.ac: bump version
4877 * debian/changelog: updates
4879 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4881 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4883 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4884 (hildon_window_stack_window_realized)
4885 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4886 Set the leader GdkWindow when a window is stacked and realized,
4887 unset it when it's unstacked.
4888 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4890 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4892 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4894 * src/hildon-stackable-window.h
4895 * src/hildon-window-stack.h:
4896 Protect definition of HildonWindowStack using the preprocessor.
4898 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4900 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4901 Fix warning if all menu items are hidden.
4903 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4905 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4907 * src/hildon-controlbar.c:
4908 * src/hildon-hvolumebar.c:
4909 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4910 Multiple scale size defines updates.
4912 Fixes: NB#94322 (Scale Updates)
4914 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4916 * examples/hildon-app-menu-example.c (create_menu)
4917 Show items after adding them to the menu, as in the future the
4918 menu will no longer call gtk_widget_show() on the added items.
4920 * src/hildon-app-menu.c:
4921 Update example as explained above.
4923 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4925 * src/hildon-app-menu.c
4926 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4927 Make sure that all menu items have finger height.
4929 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4931 * src/hildon-picker-dialog.c:
4932 (_on_dialog_response), (_save_current_selection),
4933 (_restore_current_selection), (_clean_current_selection),
4934 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4935 Defined new functions in order to save the current internal selector
4936 selection previous open the dialog, in case that the use cancel the
4937 interaction, so the widget restores the previous selection.
4939 Fixes: NB#92032 (In calendar application, date values in 'new event'
4942 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4944 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4946 * src/hildon-button.c: Add a reference to the button examples in
4947 hildon-button-example.c
4949 * examples/hildon-button-example.c: Added examples of the most
4950 common button layouts.
4952 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-app-menu.c (hildon_app_menu_show)
4955 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4957 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4959 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4961 * src/hildon-picker-dialog.c:
4962 (hildon_picker_dialog_init): Initialize the signal id for
4963 HildonTouchSelector::columns-changed.
4964 (+on_selector_columns_changed): Set up the interaction mode everytime a
4965 column is added or removed from the HildonTouchSelector.
4966 (_hildon_picker_dialog_set_selector): Connect to
4967 HildonTouchSelector::columns-changed and keep track of it.
4969 Make sure to update the interaction mode of the dialog everytime a
4970 column is added or removed in the HildonTouchSelector.
4972 Fixes: NB#93228 (Done button is not shown always in listpicker)
4974 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4976 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4977 a new ::columns-changed signal.
4978 (hildon_touch_selector_append_column): Emit ::columns-changed.
4979 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4981 Add a ::columns-changed signal, emitted when the number of columns in a
4982 HildonTouchSelector changes.
4984 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4986 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4987 (_hildon_picker_dialog_set_selector): Factor out the code
4988 to set up the dialog interaction mode.
4990 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4992 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4993 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4994 to signal_changed_id.
4996 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4998 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5001 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5003 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5004 Updated the logical ids related to ampm format, as now it is required to
5005 show it correctly localized even on languages with no default
5006 abbreviations for am or pm
5007 (_check_am_pm_format): check correctly the 24h format gconf property
5009 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5011 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5013 * src/hildon-button.c: Documentation updates.
5015 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5017 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5018 * src/hildon-caption.c: (hildon_caption_class_init):
5019 * src/hildon-color-button.c: (hildon_color_button_class_init):
5020 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5021 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5022 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5023 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5025 Remove deprecated GTK+ marshalers and replace them with the ones
5026 provided by GLib, for those available, add a marshaler for
5027 BOOLEAN:VOID, which is not available in GLib, and use it.
5029 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5031 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5032 the text from the previous column if there is no
5033 HildonTouchSelectorColumn::text-property set.
5035 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5037 * src/hildon-button.h
5038 * src/hildon-button.c (hildon_button_set_property)
5039 (hildon_button_get_property, hildon_button_class_init)
5040 (hildon_button_set_style, hildon_button_get_style):
5041 New "style" property to change the visual appearance of the
5044 * src/hildon-picker-button.c (hildon_picker_button_new):
5045 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5047 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5048 HildonButton look like PickerButton)
5050 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5052 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5053 column while building the default string.
5055 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5058 scroll indicator by default.
5060 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5062 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5064 * src/hildon-main.c: Fix the documentation for hildon_init()
5066 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5068 * doc/hildon-docs.sgml
5072 * src/hildon-window-stack-private.h
5073 * src/hildon-window-stack.h
5074 * src/hildon-window-stack.c:
5075 New HildonWindowStack object, that adds support for multiple
5076 stacks of windows per process.
5078 * src/hildon-stackable-window-private.h
5079 * src/hildon-stackable-window.h
5080 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5081 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5082 (hildon_stackable_window_show, hildon_stackable_window_hide)
5083 (hildon_stackable_window_class_init)
5084 (hildon_stackable_window_init):
5085 Use HildonWindowStack for stack management.
5087 * src/hildon-program.c (hildon_program_pop_window_stack)
5088 (hildon_program_peek_window_stack)
5089 (hildon_program_go_to_root_window):
5090 Add a fallback implementation to the deprecated functions using
5093 * examples/hildon-stackable-window-example.c:
5094 Use the new HildonWindowStack API.
5096 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5098 * src/hildon-stackable-window-private.h
5099 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5100 (hildon_stackable_window_hide, hildon_stackable_window_init):
5101 Remove all window stack management.
5103 * src/hildon-program-private.h
5104 * src/hildon-program.h
5105 * src/hildon-program.c (hildon_program_init)
5106 (hildon_program_pop_window_stack)
5107 (hildon_program_peek_window_stack)
5108 (hildon_program_go_to_root_window):
5109 Remove all window stack management and mark functions as
5112 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5114 * src/hildon-app-menu.c (hildon_app_menu_realize):
5115 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5117 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5119 * configure.ac: post release version bump
5120 * debian/changelog: version bump
5122 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5127 * configure.ac: bump version
5128 * debian/changelog: updates
5130 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5132 Based on initial code by Christian Dywan (christian@imendio.com)
5134 * doc/hildon-docs.sgml: Add section for hildon-main.
5135 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5136 * src/Makefile.am: Add new hildon-main.[ch]
5137 * src/hildon-defines.h: Update the icon sizes.
5138 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5139 new library initialization files and register icon sizes.
5140 * src/hildon-main.h: New declarations.
5141 * src/hildon.h: Include hildon-main.h
5143 Add new initialization functions to the library. These methods
5144 will register the hildon specific icon sizes and can be used in the
5145 future for other hildon specific bits.
5147 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5149 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5151 * src/hildon-window.c: (hildon_window_realize),
5152 (hildon_window_notify), (-hildon_window_update_title): Do not set
5153 the application name in the window title.
5155 Fixes: NB#89754 (Applications shouldn't display their names in the
5158 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5160 * src/hildon-note-private.h:
5161 * src/hildon-note.c: (hildon_note_set_property),
5162 (hildon_note_get_property), (hildon_note_class_init),
5163 (hildon_note_init), (hildon_note_finalize),
5164 (hildon_note_new_confirmation_with_icon_name),
5165 (hildon_note_new_information_with_icon_name):
5167 No need to mark as deprecated the actual code. Revert
5168 to avoid missing symbols in widgets using deprecated API.
5170 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5172 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5174 * src/hildon-volumebar.h
5175 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5176 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5178 * src/hildon-helper.h
5179 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5180 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5182 * examples/Makefile.am:
5183 Deprecate hildon-insensitive-example
5185 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5187 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5189 * examples/hildon-pannable-area-buttons-scroll-example.c:
5190 Make all buttons finger height
5192 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5194 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5196 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5197 update the day model only if it is really required, and to avoid the
5198 full-reconstruction aproach. Now it only add or remove the required days.
5200 The purpose of this is avoid superfluous HildonTouchSelector::changed
5203 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5204 with strange parameters)
5206 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5208 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5210 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5211 the WINDOW_TYPE property.
5213 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5215 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5218 Fix dependency to allow parallel compilation with make -jX
5220 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5222 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5223 color frame and some minor tweaks to make it more consistent with
5226 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5227 highlighted but not visible)
5229 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5231 * examples/Makefile.am: Fixed typo in the Makefile.am.
5233 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5235 Reviewed the use of MAEMO_GTK define, now we add the define in the
5236 compilation line, and we also add it to the pc file.
5238 * configure.ac: Added MAEMO_GTK define to the compilation command
5239 and removed it from the config.h.
5241 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5242 do not have to take care about this define if the library was
5246 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5248 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5250 * examples/Makefile.am,
5251 * examples/hildon-pannable-area-buttons-scroll-example.c,
5252 * examples/hildon-pannable-area-gesture-signals-example.c,
5253 * examples/hildon-pannable-area-scroll-jump-example.c,
5254 * examples/hildon-pannable-area-tree-view-example.c:
5255 Renamed the pannable area examples, now they have more meaningful
5258 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5260 * src/hildon-touch-selector.c:
5261 (hildon_touch_selector_set_column_selection_mode): Used of
5262 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5263 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5264 to avoid re-seting the same selection mode.
5266 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5267 breaks HildonPickerDialog)
5269 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5271 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5272 conditional in the Makefile.am
5274 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5276 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5277 Remove unused methods.
5279 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-button.c (hildon_button_init):
5282 Make button images center-aligned by default
5284 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5287 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5288 activated, we have to think about how to deal with both defines
5289 MAEMO_GTK and MAEMO_CHANGES.
5291 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5293 * examples/hildon-app-menu-example.c (create_menu): Make all
5294 buttons finger size.
5296 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5298 Fixed the compilation without maemo gtk adding ifdefs with
5299 MAEMO_GTK define to the code, we have to check this version more
5302 * examples/Makefile.am: Added control to avoid some examples that
5303 just make sense with maemo gtk.
5306 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5307 hildon modes with the define.
5309 * examples/hildon-edit-toolbar-example.c,
5310 (create_icon_view): Create the icon view without hildon-gtk
5311 helpers if we are not using maemo gtk.
5313 * src/hildon-touch-selector.c,
5314 (_create_new_column): Create the treeview without hildon-gtk
5315 helpers if we are not using maemo gtk.
5317 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5319 * src/hildon-pnnable-area.c,
5320 (hildon_pannable_area_dispose),
5321 (hildon_pannable_area_button_press_cb),
5322 (hildon_pannable_area_child_mapped),
5323 (hildon_pannable_area_add),
5324 (hildon_pannable_area_remove): Added code to control the position
5325 of the event_window when adding and removing children from the
5326 pannable. We have to raise the event window when the child is
5329 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5330 selection mode using custom widget inside pannable)
5332 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5334 * configure.ac: post release version bump
5335 * debian/changelog: version bump
5337 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5342 * configure.ac: bump version
5343 * debian/changelog: updates
5345 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5347 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5348 search mode, in order to avoid lose the focus on the treeview when
5349 a hw key (like enter) is pressed.
5351 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5352 in HildonDateSelector dialog)
5354 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5356 * debian/rules: Added --enable-maintainer-mode
5357 * Makefile.am: Added ACLOCAL_AMFLAGS
5359 This allows to properly regenerate the Makefiles if you modify the
5360 configure.ac or any Makefile.am.
5362 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5364 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5365 properties, not needed at all.
5367 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5369 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5371 * src/hildon-note.c: (hildon_note_set_property),
5372 (hildon_note_get_property), (hildon_note_class_init),
5373 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5374 (hildon_note_new_confirmation_add_buttons): Remove icons.
5375 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5376 (hildon_note_new_information_with_icon_name): Deprecate.
5377 (hildon_note_new_confirmation): Act directly, without calling
5378 the deprecated constructor.
5379 (hildon_note_new_information): Act directly, without calling
5380 the deprecated constructor.
5381 * src/hildon-note.h: Mark deprecate methods as such.
5382 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5383 not run tests on the deprecated methods if built with deprecation
5386 Fixes: NB#91688 (Never show icons in information notes/confirmation
5389 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5391 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5392 (hildon_app_menu_key_press): Remove leftover usage of the
5393 private structure in HildonAppMenu struct.
5394 * src/hildon-app-menu.h: Remove leftover private structure
5395 from the HildonAppMenu struct.
5397 Fixes a crasher when using the HildonAppMenu.
5399 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5401 * src/hildon-picker-dialog.c: Use appropriate logical id
5402 for the default "Done" text.
5404 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5406 * configure.ac: post release version bump
5407 * debian/changelog: version bump
5409 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5411 Modified the way to scroll to the current selection just when the touch
5412 selector is shown on the screen, avoiding a g_idle. Added too a property
5413 to configure this behaviour. See hildon_pannable_area_jump_to_child
5414 documentation for more information.
5416 * src/hildon-touch-selector.c
5417 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5418 Added 'initial-scroll' property
5419 (hildon_touch_selector_set_property): Added
5420 (hildon_touch_selector_map): Removed as not required anymore
5421 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5422 only a concrete column, instead of iterate along all the columns
5424 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5429 * configure.ac: bump version
5430 * debian/changelog: updates
5432 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5434 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5435 compilation time warnings.
5437 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5439 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5440 the default value for HildonPannableArea::mov-mode to
5441 HILDON_PANNABLE_AREA_MODE_VERT.
5443 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5445 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5447 Reverting following commit:
5449 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5451 * src/hildon-app-menu-private.h
5452 * src/hildon-app-menu.[ch]
5453 * src/hildon-button.[ch]
5454 * src/hildon-check-button.[ch]
5455 * src/hildon-entry.[ch]
5456 * src/hildon-pannable-area.[ch]
5457 * src/hildon-text-view.[ch]:
5458 Added private field to the object's structure.
5460 because it causes an ABI breakage. We will need to introduce these
5461 changes later at some point. See NB#91636 for an extensive
5462 explanation and status.
5464 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5466 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5468 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5469 remove special cases that are no longer necessary.
5471 Fixes: NB#91016 (Change toolbar sizes, simplification)
5473 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5475 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5476 is shown in the cancel note.
5478 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5480 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5481 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5482 (hildon_seekbar_init): Remove steppers, remove expose event.
5483 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5485 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5487 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5489 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5490 label font to "SmallSystemFont" for vertically arranged buttons.
5492 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5495 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5497 * src/hildon-check-button.c
5498 (hildon_check_button_set_active, hildon_check_button_clicked):
5499 Don't access private parts directly, use getters instead.
5501 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5503 * src/hildon-check-button.c (hildon_check_button_new):
5504 Align the contents of the check button to the left.
5506 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5508 * src/hildon-pannable-area.c,
5509 (hildon_pannable_area_scroll_to),
5510 (hildon_pannable_area_jump_to),
5511 (hildon_pannable_area_scroll_to_child),
5512 (hildon_pannable_area_jump_to_child): Replace the mapped
5513 precondition of these functions with the realized, it is the
5514 correct state of the widget in this case. Changed the
5515 documentation according to this modification.
5517 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5519 Added a new EXTRA_CFLAGS option to add the deprecated define to
5520 the compilation command. This way we can avoid using the define in
5521 the documentation compilation.
5523 * configure.ac: Defined EXTRA_CFLAGS.
5525 * examples/Makefile.am:
5527 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5529 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5531 * src/hildon-picker-dialog.c:
5532 Defined a utility macro with the desired touch selector height
5533 Removed currently unused separator, and title_label variables from
5535 (hildon_picker_dialog_init): Removed code related to the creation
5536 of unused private variables title_label and separator.
5537 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5538 to ensure correct visualization of the touch selector inside the dialog.
5539 * src/hildon-touch-selector.c
5540 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5541 ensure a concrete height of the widget.
5543 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5546 * tests/Makefile.am:
5548 Remove spurious whitespaces.
5550 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5552 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5553 compilation warning after the cancel button removal.
5555 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5557 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5559 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5560 Makefile.am, that way we can choose not to compile some examples
5561 and tests of the deprecated widgets.
5563 * examples/Makefile.am: Divided the sources in deprecated and
5566 * src/Makefile.am: Added undef statement of the deprecated
5567 symbol to the enums file generation process.
5569 * src/hildon-color-chooser-dialog.c
5570 * src/hildon-color-chooser-dialog.h
5571 * src/hildon-color-button.c
5572 * src/hildon-color-button.h
5573 * src/hildon-color-chooser.c
5574 * src/hildon-color-chooser.h
5575 * src/hildon-controlbar.c
5576 * src/hildon-controlbar.h
5577 * src/hildon-date-editor.c
5578 * src/hildon-date-editor.h
5579 * src/hildon-hvolumebar.c
5580 * src/hildon-hvolumebar.h
5581 * src/hildon-private.c
5582 * src/hildon-private.h
5583 * src/hildon-range-editor.c
5584 * src/hildon-range-editor.h
5585 * src/hildon-seekbar.c
5586 * src/hildon-seekbar.h
5587 * src/hildon-time-editor.c
5588 * src/hildon-time-editor.h
5589 * src/hildon-time-picker.c
5590 * src/hildon-time-picker.h
5591 * src/hildon-volumebar.c
5592 * src/hildon-volumebar.h
5593 * src/hildon-vvolumebar.c
5594 * src/hildon-vvolumebar.h
5595 * src/hildon-bread-crumb-trail.h
5596 * src/hildon-bread-crumb-trail.c
5597 * src/hildon-calendar-popup.c
5598 * src/hildon-calendar-popup.h
5599 * src/hildon-weekday-picker.c:
5600 * src/hildon-weekday-picker.h:
5601 * src/hildon-bread-crumb-widget.c:
5602 * src/hildon-bread-crumb-widget.h:
5603 * src/hildon-bread-crumb.c:
5604 * src/hildon-bread-crumb.h:
5605 * src/hildon-calendar.c:
5606 * src/hildon-calendar.h:
5607 * src/hildon-caption.c:
5608 * src/hildon-code-dialog.c:
5609 * src/hildon-code-dialog.h:
5610 * src/hildon-font-selection-dialog.c:
5611 * src/hildon-font-selection-dialog.h:
5612 * src/hildon-get-password-dialog.c:
5613 * src/hildon-get-password-dialog.h:
5614 * src/hildon-login-dialog.c:
5615 * src/hildon-login-dialog.h:
5616 * src/hildon-number-editor.c:
5617 * src/hildon-number-editor.h:
5618 * src/hildon-set-password-dialog.c:
5619 * src/hildon-set-password-dialog.h:
5620 * src/hildon-sort-dialog.c:
5621 * src/hildon-sort-dialog.h: This is the list of deprecated
5624 * src/hildon-touch-selector.c:
5625 * src/hildon-window.c: Added undef statement to avoid compilation
5628 * tests/Makefile.am: Divided the sources in deprecated and
5631 * tests/check_test.c,
5632 (configure_tests): Marked the deprecated code that was adding
5633 suites with deprecated tests.
5635 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5637 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5639 * src/hildon-touch-selector.c: (_default_print_func): Do not
5640 duplicate a string returned by gtk_tree_model_get(), it is already
5643 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5646 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5648 * src/hildon-pannable-area.c
5649 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5650 method, it had problems when adding a widget with viewport the
5651 second time. Now checks if it already has a viewport and uses it.
5653 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5656 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5658 * src/hildon-pannable-area.c,
5659 (hildon_pannable_area_scroll_to),
5660 (hildon_pannable_area_jump_to),
5661 (hildon_pannable_area_scroll_to_child),
5662 (hildon_pannable_area_jump_to_child): Added a precondition to the
5663 scroll and jump to functions: the widget must be mapped before we
5664 can safely call these functions. We have also added documentation
5665 to the functions to explain how to use them in this situation.
5668 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5670 Reviewed the threading handling of the pannable widget, we have
5671 used the gdk_threads_add_timeout function instead of the usual
5672 glib handlers. This avoids some problems with the threads.
5674 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5675 (hildon_pannable_area_initial_effect),
5676 (hildon_pannable_area_scroll_indicator_fade),
5677 (hildon_pannable_area_button_press_cb),
5678 (hildon_pannable_area_timeout),
5679 (hildon_pannable_area_motion_notify_cb),
5680 (hildon_pannable_area_button_release_cb),
5681 (hildon_pannable_area_scroll_cb),
5682 (hildon_pannable_area_scroll_to): Removed the
5683 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5684 gdk_threads_add_timeout.
5686 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5688 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5693 * configure.ac: bump version
5694 * debian/changelog: updates
5696 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5698 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5699 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5700 * src/hildon-color-chooser-dialog.c:
5701 (hildon_color_chooser_dialog_init):
5702 * src/hildon-font-selection-dialog.c:
5703 (hildon_font_selection_dialog_init):
5704 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5706 Remove all cancel/close-like dialogs, as these are not going to be
5709 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5711 * src/hildon-note.c: (hildon_note_rebuild),
5712 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5715 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5717 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5719 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5720 sure all buttons are shown, even the Cancel/Close-like ones.
5722 Fixes: NB#90861 (Custom Confirmation dialogs should be
5723 protected from cancel button removal)
5725 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5727 * debian/control: Change libhildon1-examples dependency from libhildon1
5729 * debian/libhildon1-examples.install
5731 * Makefile.am: Modified the final install directory for the examples on
5732 package libhildon1-examples
5733 * Makefile.static: Update clean target in order to remove all the binary
5736 Changes suggested by Claudio after review new libhildon1-examples package
5738 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5740 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5741 * src/hildon-touch-selector.c: Ditto.
5743 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5745 * debian/control: Added new package libhildon1-examples, in order to pack
5746 the current hildon examples as documentation
5747 * debian/rules: Not to compress .c files, modify some includes on the
5748 examples (as normally are compiled locally, but when installed it will
5749 require to include the installed libhildon1 library), and rename
5751 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5752 install all the example files on the new example package
5753 * examples/Makefile.static: Added static makefile that can be used to
5754 compile the examples, once installed the new example package
5755 * examples: Most of the examples were modified in order to grant that
5756 all use only '#include "hildon.h"', in order to be easy to prepare
5757 it on the example package
5759 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5762 * debian/libhildon1-dev.install
5763 * debian/libhildon1-doc.install:
5764 Move all gtk-doc files to a separate libhildon1-doc package.
5766 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5768 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5770 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5772 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5774 * debian/rules: Fixed a error in order to avoid unnecessary calls
5775 to autogen.sh on package building
5777 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5779 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5781 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5783 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5786 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5788 * src/hildon-picker-button.c
5789 (hildon_picker_button_finalize):
5790 Free priv->done_button_text
5792 * src/hildon-time-button.c
5793 (hildon_time_button_set_time)
5794 * src/hildon-picker-button.c
5795 (hildon_picker_button_clicked)
5796 (hildon_picker_button_selector_selection_changed)
5797 (hildon_picker_button_set_selector)
5798 * src/hildon-date-button.c
5799 (hildon_date_button_set_date):
5800 Free strings returned by hildon_touch_selector_get_current_text()
5802 * src/hildon-button.c (hildon_button_construct_child):
5803 Fix leaks in priv->image and priv->label_box
5805 Fixes: NB#90535 (Memory leak in picker button)
5807 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5809 * src/hildon-button.c: (hildon_button_get_property): Do not access
5810 private elements directly, use getters instead.
5812 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5814 * src/hildon-app-menu-private.h
5815 * src/hildon-app-menu.c
5816 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5817 Store the menu's parent window.
5819 * src/hildon-stackable-window.c
5820 (hildon_stackable_window_toggle_menu)
5821 (hildon_stackable_window_finalize):
5822 Set the menu's parent window when the menu is shown, unset it when
5825 * src/hildon-app-menu.c
5826 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5827 (hildon_app_menu_class_init):
5828 Send unhandled keyboard accelerators to the parent window.
5830 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5832 * src/hildon-stackable-window.c
5833 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5835 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5837 * configure.ac: post release version bump
5839 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5842 * configure.ac: Bump version
5843 * debian/changelog: Updates
5844 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5847 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5849 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5852 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5853 GtkMenu with Hildon style.
5855 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5857 * src/hildon-picker-button.c:
5858 (hildon_picker_button_set_done_button_text): Set the dialog's
5859 done button text here as well.
5861 Fixes: NB#90232 (Picker button does not set the label on done button
5862 for the second time)
5864 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5866 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5869 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-app-menu.c (hildon_app_menu_insert)
5872 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5873 the HildonAppMenu to be activatable using keyboard accelerators
5874 when the menu is not being shown.
5876 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5878 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5880 * src/hildon-stackable-window.c
5881 (hildon_stackable_window_show):
5882 Don't hide old windows automatically when new windows are shown:
5883 this is now a task for the window manager.
5884 (hildon_stackable_window_class_init)
5885 (hildon_stackable_window_hide):
5886 Remove windows from the stack everytime they're hidden.
5887 (hildon_stackable_window_realize):
5888 Don't change the _NET_WM_WINDOW_TYPE property. Use
5889 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5890 it as a stackable window.
5892 * src/hildon-program.c
5893 (hildon_program_pop_window_stack):
5894 Just hide the window to remove it from the stack.
5895 (hildon_program_go_to_root_window):
5896 Don't call gtk_widget_show(), this is now a task for the window
5899 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5901 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-button.c
5904 (hildon_button_construct_child):
5905 Don't pack anything in the button until text or image are
5906 set. This allows adding a custom child after creating the button
5907 with hildon_button_new().
5908 (hildon_button_finalize, hildon_button_class_init)
5909 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5910 alignment and the label box even when they're not packed in the
5913 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5915 * src/hildon-touch-selector.h:
5916 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5917 currently the type definition was using GTK_TYPE_VBOX
5918 * src/hildon-touch-selector.c:
5919 Added some implementation notes in order to clarify that any other widget
5920 added without the column related API will not be included on the
5921 selection logic, and how the widget is freed, as some people ask about
5923 (hildon_touch_selector_remove): Reimplemented in order to free properly
5924 the column related data when you remove the private hbox.
5925 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5926 to get a proper HildonTouchSelectorColumn documentation
5928 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5930 * src/hildon-touch-selector-entry.c:
5931 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5932 text in the GtkEntry and there is no item selected. Fixes a
5935 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5937 * src/hildon-app-menu-private.h
5938 * src/hildon-app-menu.[ch]
5939 * src/hildon-button.[ch]
5940 * src/hildon-check-button.[ch]
5941 * src/hildon-entry.[ch]
5942 * src/hildon-pannable-area.[ch]
5943 * src/hildon-text-view.[ch]:
5944 Added private field to the object's structure.
5946 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5948 * configure.ac: post-release version bump
5950 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5954 * configure.ac: pre-release version bump
5956 * debian/changelog: updates.
5958 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5960 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5961 Disconnect the handler for HildonTouchSelector::changed.
5963 (hildon_picker_button_selector_selection_changed): Update the button
5964 value if the selection change was not triggered by the
5967 (hildon_picker_button_set_selector): connect to
5968 HildonTouchSelector::changed.
5970 Fixes: NB#89650 (Picker button is not updated, when selection in
5971 selector has changed)
5973 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5975 * src/hildon-picker-dialog.c
5976 (hildon_picker_dialog_realize): Removed as not required
5977 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5978 * src/hildon-picker-button.c
5979 (_current_selector_empty): New function, checks if the selector is empty
5980 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5981 if the current selector is empty, in order to avoid to show the dialog
5982 close the dialog in this case (and shows a g_warning).
5984 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5986 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5988 * src/hildon-pannable-area.c,
5989 (hildon_pannable_area_scroll): Added clause to stop movement when
5990 the child of pannable is smaller than one page.
5991 (hildon_pannable_area_scroll_to): Added conditions to avoid
5992 starting the scrolling movement if the child is smaller than one
5993 page, the complete child is in the screen, we do not have to move.
5995 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5997 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5999 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6000 this is managed automatically by the widget when the size of the
6003 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6005 * src/hildon-picker-button.c
6006 (hildon_picker_button_set_done_button_text): Make a copy of the
6007 text, and free the previous value.
6009 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6011 * src/hildon-touch-selector-entry.c:
6012 (hildon_touch_selector_entry_print_func): Return the selected row's
6013 text if the entry is empty.
6015 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6018 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6020 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6022 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6025 * src/hildon-check-button.h
6026 * src/hildon-check-button.c
6027 * examples/hildon-check-button-example.c:
6028 HildonCheckButton is now a new widget. 'toggled' signal added.
6030 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6032 * src/hildon-program-private.h
6033 * src/hildon-program.c (hildon_program_init)
6034 (hildon_program_finalize): Removed unused variables group_leader
6035 and name from HildonProgramPrivate.
6037 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6039 * src/hildon-check-button.c (hildon_check_button_set_active)
6040 (hildon_check_button_get_active, hildon_check_button_new): Use
6041 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6043 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6045 * src/hildon-touch-selector.h
6046 (hildon_touch_selector_set_column_attributes): added deprecation
6047 guard HILDON_DISABLE_DEPRECATED
6048 * src/hildon-time-selector.c
6049 (hildon_time_selector_set_time)
6050 (hildon_time_selector_get_time): Fixed a typo on documentation
6051 * src/hildon-touch-selector.c: update HildonTouchSelector and
6052 HildonTouchSelectorColumn documentation
6053 * src/hildon-touch-selector-entry.c: update "text-column" property
6055 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6056 to be added to the general documentation.
6058 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6060 * examples/hildon-pannable-area-example-4.c,
6062 * examples/hildon-pannable-area-example.c,
6063 (main): Modified the code in order to use the container add, with
6064 viewport treeviews could have problems if they are really big.
6066 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6068 * src/hildon-weekday-picker.c,
6069 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6070 the agreement regarding deprecation in the library.
6072 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6074 * examples/hildon-picker-button-multicolumn-example.c:
6075 (main): Use custom "done" button text.
6077 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6078 (hildon_picker_button_set_property),
6079 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6080 (hildon_picker_button_init),
6081 (+hildon_picker_button_get_done_button_text),
6082 (+hildon_picker_button_set_done_button_text): New methods to customize
6083 the "done" button label in the launched HildonPickerDialog. Also,
6086 * src/hildon-picker-button.h: add the public API.
6088 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6090 * src/hildon-date-selector.h:
6091 * src/hildon-picker-dialog.h:
6092 * src/hildon-time-selector.h:
6093 * src/hildon-touch-selector-column.h:
6094 * src/hildon-touch-selector.h:
6096 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6097 declarations. Fixes gtk-doc warnings.
6099 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6101 * src/hildon-picker-dialog.h
6102 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6103 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6105 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6106 long text is set as label for done button)
6108 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6110 * src/hildon-dialog.c (hildon_dialog_add_button):
6111 Set fixed width to all buttons in the HildonDialog.
6113 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6115 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6117 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6118 Set widget name using class name plus "-finger" or "-thumb".
6120 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6122 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6123 'clicked' when the state of the button is manually changed.
6125 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6127 * src/hildon-app-menu.c (hildon_app_menu_realize)
6128 (hildon_app_menu_unrealize, hildon_app_menu_init)
6129 (hildon_app_menu_class_init, item_visibility_changed):
6130 Change the menu layout when the size of the screen changes.
6131 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6132 Show warning only when changing the number of colums using the
6135 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6137 * debian/compat: Set to 5
6138 * debian/control: Update dependencies.
6139 * debian/libhildon1-dbg.install: Remove.
6140 * debian/libhildon1-dev.install: Update according to cdbs paths.
6141 * debian/libhildon1.install: Update according to cdbs paths.
6142 * debian/rules: Switch to cdbs.
6144 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6146 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6147 'item' variable renamed to 'filter'
6149 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6151 * src/hildon-app-menu.c (hildon_app_menu_insert)
6152 (hildon_app_menu_add_filter, remove_item_from_list)
6153 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6154 Don't leak hidden items when the menu is destroyed.
6156 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6158 * src/hildon-app-menu.c (hildon_app_menu_insert)
6159 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6160 (hildon_app_menu_set_columns, item_visibility_changed)
6161 (filter_visibility_changed, hildon_app_menu_repack_filters)
6162 (hildon_app_menu_repack_items):
6163 Repack items and filters separately.
6165 Don't repack all items, change only the ones that are needed to
6168 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6170 * src/Makefile.am: added hildon-touch-selector-column.h
6172 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6174 * src/hildon-touch-selector.c: added the property "text-column" to the
6175 class HildonTouchSelectorColumn, and related get/set functions
6176 (_default_printf_func): updated to use "text-column" property
6177 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6178 "text-column" in his documentation, as this is now included on
6179 HildonTouchSelectorColumn. The get/set_property can still be used,
6180 working as a wrapper to the concrete column "text-column" property
6181 (_text_column_modified): callback added in order to handle the signal
6182 "notify::text-column" of the concrete HildonTouchSelectorColumn
6183 (hildon_touch_selector_entry_get_text_column)
6184 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6185 modified in order to use the HildonTouchSelectorColumn "text-column"
6187 * src/hildon-time-selector.c:
6188 * src/hildon-date-selector.c:
6189 * examples/hildon-touch-selector-example.c
6190 * examples/hildon-touch-selector-multi-cells-example.c
6191 * examples/hildon-picker-button-multicolumn-example.c
6192 Set the right value to "text-column" property on the creation of a new
6193 column using hildon_touch_selector_append_column()
6195 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6197 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6199 * src/hildon-app-menu.c
6200 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6201 updating the layout of the menu, don't create all widgets again,
6202 just repack the items in their new places.
6204 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6206 * src/hildon-time-selector.c
6207 (hildon_time_selector_get_time)
6208 (hildon_time_selector_set_time)
6209 Added documentation of these public methods
6211 * src/hildon-date-button.h
6212 * src/hildon-touch-selector-column.h
6213 * src/hildon-time-button.h
6214 * src/hildon-picker-dialog.h
6215 * src/hildon-time-selector.h
6216 * src/hildon-picker-button.h
6217 * src/hildon-touch-selector.h
6218 * src/hildon-time-picker.h
6219 * src/hildon-date-selector.h
6220 * src/hildon-touch-selector-entry.h
6221 Modified in order to use hildon-widgets code style
6223 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6225 Added deprecated support to the compilation process using
6226 HILDON_DISABLE_DEPRECATED
6228 * configure.ac: Added the --disable-deprecated to the configure
6231 * src/hildon-weekday-picker.c:
6232 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6233 to use the deprecated support. We will update the other deprecated
6234 widgets status in a new patch.
6236 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6238 * configure.ac: Fixed typo with fatal warnings support, the
6239 variable name was not correct
6241 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6243 * src/hildon-app-menu.c
6244 * src/hildon-program.c: Update documentation.
6246 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6248 * configure.ac: Post-release version bump.
6250 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6255 * configure.ac: Pre-release version bump.
6256 * debian/changelog: Updates.
6258 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6260 * NEWS: Update news for previous releases.
6262 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6264 * examples/hildon-touch-selector-multi-cells-example.c:
6265 (create_selector): Update the example to use
6266 hildon_touch_selector_append_column() with a NULL renderer and set
6267 the renderers later.
6268 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6269 passed a NULL renderer. This is documented behavior now.
6271 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6272 This must be used if the developer wants full control on the layout of
6273 the renderers to be added to the column.
6275 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6277 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6279 * src/hildon-touch-selector.c: Documentation fixes.
6281 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6283 * src/hildon-wizard-dialog-private.h: Remove image and box.
6284 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6285 (hildon_wizard_dialog_set_property), (response): Completely remove
6286 image/icon support, and the containers required for the layout.
6288 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6290 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6292 * src/hildon-app-menu.c: Updated documentation.
6294 * src/hildon-stackable-window.c
6295 (hildon_stackable_window_set_main_menu): Unref the old menu after
6296 ref'ing the new one.
6298 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6300 * src/hildon-stackable-window.c
6301 (hildon_stackable_window_set_main_menu): Unref the previous menu
6302 instead of destroying it.
6304 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6305 floating reference and set has_user_ref_count to FALSE to make
6306 HildonAppMenu act like a normal ref-counted widget and not a
6309 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6312 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6314 * src/hildon-touch-selector-column.h: new file
6315 * src/hildon-touch-selector.h
6316 * src/hildon-touch-selector.c
6317 Implemented GtkCellLayout interface, in order to allow to configure
6318 the cell layout on each individual selector column
6319 (hildon_touch_selector_set_column_attributes): marked as deprecated
6320 * examples/hildon-touch-selector-multi-cells-example.c
6321 Example of how to use the GtkCellLayout interface on the selector
6323 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6325 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6327 * src/hildon-app-menu.h
6328 * src/hildon-app-menu.c
6329 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6330 (hildon_app_menu_append, hildon_app_menu_prepend):
6331 New methods to prepend, insert and move items in the menu.
6333 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6335 * src/hildon-wizard-dialog.c:
6337 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6339 (create_title): Update logical IDs and related code.
6340 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6342 * src/hildon-wizard-dialog.h: Note that
6343 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6344 point, as it is not used anymore.
6346 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6348 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6350 * src/hildon-note.c:
6351 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6352 shown. Do not display an icon in confirmation notes nor information
6354 (hildon_note_set_button_text): Update logical ID for cancel button.
6356 Fixes: NB#88850 (Update HildonNote button strings + signals)
6358 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6360 * src/hildon-stackable-window.c
6361 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6363 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6365 * src/hildon-app-menu-private.h
6366 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6367 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6368 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6369 temporary property 'columns' to change the number of columns.
6371 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6373 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6375 * examples/hildon-note-example.c: (on_information_clicked),
6376 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6377 debugging information.
6378 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6380 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6381 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6382 in order to close: this will be handled by the WM from now on.
6384 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6386 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6388 * src/hildon-app-menu-private.h
6389 * src/hildon-app-menu.c
6390 (hildon_app_menu_append, hildon_app_menu_add_filter)
6391 (button_visibility_changed, hildon_app_menu_apply_style)
6392 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6393 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6394 layout everytime a button (item or filter) is shown or hidden.
6396 * src/hildon-stackable-window.c
6397 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6400 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6402 * src/hildon-touch-selector.c:
6403 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6404 that the treeview inside the touch selector is in fremantle hildon mode
6405 * examples/hildon-date-button-example.c
6406 * examples/hildon-picker-button-multicolumn-example.c
6407 * examples/hildon-touch-selector-entry-example.c
6408 * examples/hildon-touch-selector-example.c
6409 * examples/hildon-time-button-example.c
6410 * examples/hildon-picker-button-example.c:
6411 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6413 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6415 * examples/hildon-text-view-example.c: (main): Remove the
6416 gtkrc bits, now handled by the theme.
6418 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6420 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6423 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6425 * po/Makefile.am: Install properly the mo files.
6426 * po/en_GB.po: Update translation, to ease testing purposes.
6428 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6430 * examples/hildon-picker-button-example.c: (main): Select an item
6431 in the selector before setting it to the button.
6433 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6435 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6436 Update button's value if the selector has an item active.
6438 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6439 'value' with the selector)
6441 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6443 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6444 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6445 (hildon_picker_button_class_init): Plug the finalize method.
6446 (hildon_picker_button_set_selector): If there's a previously set
6447 selector, unref'it before setting a new one.
6449 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6450 HildonTouchSelector)
6452 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6454 * src/hildon-touch-selector-entry.c:
6455 (hildon_touch_selector_entry_changed): Check if there is no text
6456 selected before setting the entry text.
6459 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6461 * src/hildon-touch-selector.h
6462 * src/hildon-touch-selector.c
6463 (hildon_touch_selector_get_active)
6464 (hildon_touch_selector_set_active): New methods to set/get the
6465 index of the selected item.
6467 * src/hildon-picker-button.h
6468 * src/hildon-picker-button.c
6469 (hildon_picker_button_get_active)
6470 (hildon_picker_button_set_active): New methods to set/get the
6471 index of the selected item.
6473 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6475 * configure.ac: post-release version bump.
6477 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6481 * configure.ac: Pre-release version bump.
6482 * debian/changelog: Updates.
6483 * debian/control: Add myself as maintainer and depend on l10n
6486 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6488 * src/hildon-window.c
6489 (hildon_window_set_main_menu)
6490 * src/hildon-stackable-window.c
6491 (hildon_stackable_window_set_main_menu):
6492 Updated documentation.
6494 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6496 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6497 Don't free selector->priv manually.
6500 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6503 (hildon_gtk_window_set_progress_indicator):
6504 * src/hildon-gtk.h: Added the new API
6505 hildon_gtk_window_set_progress_indicator, it changes the state of
6506 the window progress hint.
6508 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6510 * src/hildon-button.c
6511 * src/hildon-stackable-window.c: Minor documentation updates.
6513 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6515 * src/hildon-stackable-window.c: Updated documentation.
6517 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6519 * src/hildon-defines.h: Update margins definitions
6520 to the Fremantle sizes.
6523 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6525 * src/hildon-touch-selector.c,
6526 (_hildon_touch_selector_set_model): Cleaning the code after
6527 review, removed g_print and #if 0 from the code.
6529 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6531 * src/hildon-edit-toolbar.c: Update documentation.
6533 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6535 * src/hildon-check-button.h
6536 * src/hildon-check-button.c
6537 (hildon_check_button_set_label, hildon_check_button_get_label)
6538 * examples/hildon-check-button-example.c
6539 (button_clicked_cb):
6540 Removed deprecated methods.
6542 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6544 * src/hildon-text-view.c:
6545 Add sample code to the documentation.
6547 * src/hildon-entry.h
6548 * src/hildon-text-view.h:
6549 Minor cosmetic changes.
6551 * src/hildon-entry.c:
6552 Add sample code to the documentation.
6553 (hildon_entry_init, hildon_entry_refresh_contents):
6554 Don't allow NULL values in the placeholder.
6556 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6558 * doc/hildon-docs.sgml
6560 * examples/Makefile.am
6561 * examples/hildon-text-view-example.c
6563 * src/hildon-text-view.c
6564 * src/hildon-text-view.h
6566 New HildonTextView widget, with example.
6568 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6570 * po/POTFILES.in: Add missing files with translatable strings.
6571 Partially fixes NB#88287.
6573 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6575 * examples/hildon-pannable-area-example-2.c: (main): No need to
6576 set the cellrenderer height inside hildon touch lists, the theme does
6579 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6581 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6582 they are integrated in the theme.
6584 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6586 * examples/hildon-entry-example.c: Update the example adding
6587 widgets to modify the text and the placeholder of the HildonEntry.
6589 * src/hildon-entry.c: Show the placeholder everytime the widget
6590 is empty and loses the focus.
6592 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6594 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6596 * src/hildon-pannable-area.c,
6597 (hildon_pannable_area_size_request): Fixed bug in height
6598 requisition, avoid increasing size and add border twice.
6600 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6602 * configure.ac: postrelease version bump.
6604 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6608 * configure.ac: Prerelease version bump.
6609 * debian/changelog: update.
6610 * debian/rules: make -dbg package contain useful debugging symbols.
6612 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6614 * src/hildon-dialog.h
6615 * src/hildon-dialog.c
6616 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6617 New methods to add buttons with finger size.
6618 (hildon_dialog_new_with_buttons):
6619 Create buttons with finger size.
6621 * examples/hildon-dialog-example.c (main): Use HildonDialog
6622 methods to add buttons.
6624 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6626 * src/hildon-entry.c: Updated HildonButton documentation.
6628 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6630 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6631 button value label with (FALSE, FALSE) to prevent NB#88126 from
6634 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6636 * examples/hildon-pannable-area-example.c,
6637 (main): Removed examples panning a vbox inside a pannable
6638 area. Check bug NB#87965
6640 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6642 Patch contributed by Kris Rietveld (kris@imendio.com)
6644 * src/hildon-pannable-area.c,
6645 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6646 get_size and get_position, this saves an X server roundtrip.
6648 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6650 * doc/hildon-docs.sgml
6652 * examples/Makefile.am
6653 * examples/hildon-entry-example.c
6655 * src/hildon-entry.c
6656 * src/hildon-entry.h
6658 New HildonEntry widget, with example.
6660 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6662 * src/hildon-button.c (hildon_button_construct_child): Pack the
6663 image with expand == fill == FALSE. This is a workaround for a bug
6666 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6668 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6669 labels for the text column, to make it more look more dynamic.
6671 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6673 * src/hildon-time-selector.c
6674 Define gettext auxiliar macro N_
6675 (_create_minutes_model)
6676 (_create_hours_model)
6677 (_create_ampm_model): use of strftime in order to fill the model
6678 * src/hildon-date-selector.c
6679 (hildon_date_selector_finalize):
6680 (_locales_init): remove the logic related to get the name of the months
6681 using nl_langinfo, as it is not required anymore
6683 (_create_year_model)
6684 (_create_month_model)
6685 (_update_day_model): use of strftime in order to fill the model properly
6688 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6690 * src/hildon-button.h
6691 * src/hildon-button.c (hildon_button_get_image): New method to
6694 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6696 * src/hildon-touch-selector.c:
6697 (hildon_touch_selector_remove_column): Remove from the correct parent
6698 and also remove the list element and free it.
6701 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6703 * src/hildon-time-selector.c
6704 (_create_hours_model): change the range on 12h ampm format in order to use
6705 a 12-11 range instead of previous 01-12 range
6706 (hildon_time_selector_set_time): change the way to select the current time
6707 on 12h ampm format, due the change on the range
6708 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6711 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6713 * src/hildon-touch-selector.c
6714 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6715 in order to allow use this function on multiple row selection mode if
6716 the column is different that the first one
6719 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6721 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6722 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6724 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6726 * src/hildon-date-selector.h: clean some comments, now on the .c
6727 * src/hildon-date-selector.c
6728 (hildon_date_selector_select_month): first implementation
6729 (hildon_date_selector_select_day): added documentation, reimplemented
6730 using hildon_date_selector_select_current_date to avoid repeat code
6733 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6735 Reviewed interaction logic based on device experiences, refactored
6738 * src/hildon-pannable-area.c,
6739 (hildon_pannable_area_class_init): Updated default vmax speed.
6740 (hildon_pannable_area_calculate_velocity): Added this function, it
6741 avoids duplicate valocity calculation. Adjusted calculation to
6742 avoid problems with zero dist events.
6744 (hildon_pannable_area_motion_notify_cb): Now we use the
6745 calculate_velocity function.
6747 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6749 * src/hildon-date-selector.c
6750 (hildon_date_selector_select_current_date): fix the day range check
6751 as it failed using the last day of the current month
6754 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6756 * src/hildon-touch-selector.c
6757 (hildon_touch_selector_get_num_columns): added a parameter validation
6760 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6762 * examples/Makefile.am
6763 * examples/hildon-edit-toolbar-example.c: Example of the
6764 HildonEditToolbar widget.
6766 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6768 * configure.ac: postrelease version bump.
6770 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6774 * configure.ac: prerelease version bump.
6775 * debian/changelog: update.
6777 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6779 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6780 renderer to display stock icons in the touch list. Also, set the sizes
6781 to the recommended in the style guide.
6783 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6784 * src/hildon-touch-selector.h
6785 (hildon_touch_selector_set_active_iter): renamed, now is
6786 hildon_touch_selector_select_iter
6787 (hildon_touch_selector_get_active_iter): renamed, now is
6788 hildon_touch_selector_get_selected
6789 (hildon_touch_selector_unselect_iter): added
6790 * src/hildon-touch-selector.c
6791 Update after API modification (methods renamed)
6792 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6793 order to avoid problems selecting multiple elements on the column
6794 (hildon_touch_selector_unselect_iter): added the implementation
6795 * src/hildon-time-selector.c
6796 * src/hildon-date-selector.c
6797 * src/hildon-touch-selector-entry.c
6798 Update methods calls after hildon-touch-selector.h API modification (methods
6801 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6803 * src/hildon-stackable-window.c
6804 (hildon_stackable_window_finalize): Call the parent class's finalize.
6806 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6808 * examples/hildon-touch-selector-example.c: (create_selector): Use
6809 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6812 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6814 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6815 set a cell background color, to respect theming.
6817 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6819 * doc/hildon-docs.sgml
6822 * src/hildon-edit-toolbar.c
6823 * src/hildon-edit-toolbar.h
6824 * src/hildon.h: New HildonEditToolbar widget.
6826 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6828 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6831 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6832 * src/hildon-touch-selector.c
6833 (_create_new_column): use g_object_set instead of two g_object_set_property
6835 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6836 * src/hildon-touch-selector.c
6837 (_create_new_column): use of hildon_gtk_tree_view_new to create
6838 the treeview, instead of use directly g_object_new
6839 (_create_new_column): update the property name "vindicator-mode" for the
6840 new one "vscrollbar-policy"
6841 * examples/hildon-date-button-example.c
6842 * examples/hildon-picker-button-multicolumn-example.c
6843 * examples/hildon-touch-selector-entry-example.c
6844 * examples/hildon-touch-selector-example.c
6845 * examples/hildon-time-button-example.c
6846 * examples/hildon-picker-button-example.c
6847 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6848 to all the treeviews inside a pannable area.
6850 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6852 * src/hildon-button.h
6853 * src/hildon-button.c (hildon_button_init)
6854 (hildon_button_set_arrangement, hildon_button_set_alignment)
6855 (hildon_button_set_title_alignment)
6856 (hildon_button_set_value_alignment)
6857 (hildon_button_set_image_alignment)
6858 (hildon_button_construct_child): New methods to set the alignment
6859 of the individual components of the button (title, value,
6860 image). Also, new method to alter the xscale and yscale properties
6861 of the GtkAlignment inside the button, so more complex layouts can
6864 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6866 * src/hildon-button.c (hildon_button_style_set)
6867 (hildon_button_class_init, hildon_button_set_arrangement)
6868 (hildon_button_construct_child): Apply style properties
6869 correctly. Use the 'image-spacing' style property too.
6871 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6873 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6874 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6877 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6879 * src/hildon-pannable-area.c,
6880 (hildon_pannable_area_size_request): Fixed problem with
6881 pannable-area size_request.
6883 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6885 Added management for the grab-focus to a child widget, like a
6886 range, we need to fade out the scrollbar when releasing.
6888 * src/hildon-pannable-area.c,
6889 (hildon_pannable_area_init): Connected the grab-focus signal to
6891 (hildon_pannable_area_grab_notify): Added this function in order
6892 to manage the situation when the grab-focus ends. We have to
6893 fade-out the scrollbar.
6895 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6897 * src/hildon-app-menu.c: Minor documentation update.
6899 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6901 * src/hildon-app-menu.c
6902 * examples/hildon-app-menu-example.c (create_menu): Update
6903 examples and documentation to explain how to connect callbacks.
6905 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6907 * examples/hildon-button-example.c
6908 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6909 hildon_stackable_window_new instead of gtk_window_new
6911 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6913 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6914 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6915 (hildon_pannable_area_set_property),
6916 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6917 (hildon_pannable_area_unrealize),
6918 (hildon_pannable_area_size_request),
6919 (hildon_pannable_area_size_allocate),
6920 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6921 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6922 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6923 (hildon_pannable_area_initial_effect),
6924 (hildon_pannable_area_redraw),
6925 (hildon_pannable_area_scroll_indicator_fade),
6926 (hildon_pannable_area_expose_event),
6927 (hildon_pannable_area_get_topmost), (synth_crossing),
6928 (hildon_pannable_area_button_press_cb),
6929 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6930 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6931 (hildon_pannable_area_motion_notify_cb),
6932 (hildon_pannable_area_button_release_cb),
6933 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6934 (hildon_pannable_area_remove),
6935 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6936 chage the code layout to a more GtkWidget like. Review the use of
6939 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6941 * examples/hildon-pannable-area-example-4.c,
6942 (main): Modified the name of the hindicator_mode to
6945 * src/hildon-pannable-area.c,
6946 (hildon_pannable_area_class_init),
6947 (hildon_pannable_area_motion_notify_cb),
6948 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6949 we have reduced the amount of signals and managed reviewed its
6950 rationale. Changed the default decelerate value.
6952 (hildon_pannable_area_add),
6953 (hildon_pannable_area_redraw): Refactored functions.
6955 (hildon_pannable_area_init),
6956 (hildon_pannable_area_get_property),
6957 (hildon_pannable_area_set_property):
6958 (hildon_pannable_draw_vscroll),
6959 (hildon_pannable_draw_hscroll),
6960 (hildon_pannable_area_initial_effect),
6961 (hildon_pannable_area_expose_event),
6962 (hildon_pannable_area_scroll),
6963 (hildon_pannable_area_button_press_cb),
6964 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6965 and vindicator_mode with hscrollbar_policy and
6966 vscrollbar_policy. Replaced hscroll and vscroll with
6967 hscroll_visible and vscroll_visible.
6969 (hildon_pannable_area_refresh): Refactor the function, remove
6970 variables and check the calls to this function, added resize
6971 conditions in case the children change their layout.
6973 (hildon_pannable_area_size_request): Added more detailed
6974 size_request calculation.
6977 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6979 * src/hildon-color-chooser.c
6980 (init_borders): use the correct gtk_border_free instead of g_free, to
6981 avoid a crash when this widget is used (ie: the three color selection
6984 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6986 * src/hildon-check-button.c,
6987 (hildon_check_button_set_active): Fixed problem when setting the
6988 active value, the widget was not redrawn.
6990 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6992 * src/hildon-pannable-area.c,
6993 (hildon_pannable_area_refresh),
6994 (hildon_pannable_area_scroll),
6995 (hildon_pannable_area_motion_notify_cb): Small code style change.
6997 (hildon_pannable_area_class_init): Default initial_hint set to
6998 FALSE, it is not in the specs.
7000 (hildon_pannable_area_initial_effect),
7001 (hildon_pannable_area_expose_event),
7002 (hildon_pannable_area_map),
7003 (hildon_pannable_area_init): Moved the launching point of the
7004 initial effect, it was in map but the sizes where not correct in
7005 that method so we do not know if we have the reproduce it. Now it
7006 is placed in the expose_event method and uses a variable to
7007 reproduce it just once.
7009 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7011 * src/hildon-pannable-area.c,
7012 (hildon_pannable_draw_vscroll),
7013 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7014 position allowed for the scrollbars.
7016 (hildon_pannable_area_size_allocate): Small style change.
7018 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7020 * src/hildon-pannable-area.c,
7021 (hildon_pannable_area_scroll_indicator_fade),
7022 (hildon_pannable_area_button_press_cb),
7023 (hildon_pannable_area_button_release_cb),
7024 (hildon_pannable_area_scroll_cb),
7025 (hildon_pannable_area_expose_event),
7026 (hildon_pannable_area_init): Added the define parameter
7027 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7028 and refactor the fade variable.
7030 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7032 * src/hildon-pannable-area.c,
7033 (hildon_pannable_area_redraw),
7034 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7035 lines, we were reimplemeting the redraw code.
7037 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7039 * src/hildon-pannable-area.c,
7040 (hildon_pannable_area_scroll_cb),
7041 (hildon_pannable_area_realize),
7042 (hildon_pannable_area_class_init): Added scroll_event management
7043 for pannable area, now we can scroll the usual desktop method.
7045 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7046 initialization of the parameters should depend on idle_id.
7048 (hildon_pannable_area_init),
7049 (hildon_pannable_area_map): Small code style modifications
7051 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7053 * src/hildon-pannable-area.c
7054 (hildon_pannable_area_button_press_cb),
7055 (hildon_pannable_area_motion_notify_cb),
7056 (hildon_pannable_area_button_release_cb),
7057 (hildon_pannable_area_size_allocate),
7058 (hildon_pannable_area_scroll_to): Improved the timeouts
7059 management, we avoid creating them each time.
7061 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7063 * src/hildon-pannable-area.c:
7064 (hildon_pannable_area_refresh),
7065 (hildon_pannable_area_motion_notify_cb),
7066 (hildon_pannable_area_class_init):
7067 * src/hildon-pannable-area.h:
7068 * src/hildon-touch-selector.c
7069 (_create_new_column):
7070 * examples/hildon-pannable-area-example-4.c:
7071 (horizontal_movement),
7072 (vertical_movement),
7074 Replaced the names of enums in the HildonPannableArea:
7075 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7076 HILDON_MOVEMENT_MODE_*
7077 - HILDON_PANNABLE_AREA_MOV_* ->
7079 - Removed HildonPannableAreaIndicatorMode, now we
7082 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7084 * examples/hildon-pannable-area-touch-grid-example.c
7085 * examples/hildon-pannable-area-touch-list-example.c: Fix
7086 compilation warnings.
7088 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7090 * src/hildon-gtk.c (hildon_gtk_button_new)
7091 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7092 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7093 images overriding the value of the "gtk-button-images" setting.
7095 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7097 * src/hildon-check-button.c (hildon_check_button_new):
7098 Instead of using a custom container, display the label and the
7099 checkbox using the standard GtkButton API.
7101 * examples/hildon-check-button-example.c (main): Don't use
7102 hildon_check_button_set_label() anymore
7104 * src/hildon-check-button.h
7105 * src/hildon-check-button.c
7106 (hildon_check_button_set_label, hildon_check_button_get_label):
7107 Set as deprecated, now we're using gtk_button_{get,set}_label()
7109 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7111 * src/hildon-pannable-area.c,
7112 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7113 GtkTreeview first line we detected it after the inclusion of the
7114 GtkWindowImpl in gtk+. We now check if the window is visible, not
7115 just if the pointer is over the window.
7116 (hildon_pannable_axis_scroll),
7117 (hildon_pannable_area_expose_event): Small style changes.
7119 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7121 * src/hildon-button.c: Update documentation.
7123 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7125 * examples/hildon-button-example.c: Add a switch to show images in
7128 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7130 * doc/hildon-docs.sgml: Some docs reorganization.
7132 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7134 * examples/hildon-pannable-area-touch-list-example.c
7136 * examples/hildon-pannable-area-touch-grid-example.c
7137 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7138 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7139 Fix memory leak when setting the tree model.
7141 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7145 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7147 * doc/hildon.types: Remove duplicated hildon_window_get_type
7148 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7149 documentation comment.
7151 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7153 * doc/Makefile.am: Complete list of private headers.
7155 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7157 * doc/hildon-docs.sgml
7158 * src/hildon-app-menu.c
7159 * src/hildon-bread-crumb.c
7160 * src/hildon-button.c
7162 * src/hildon-program.c
7163 * src/hildon-stackable-window.c
7164 * src/hildon-window.c: Lots of documentation updates.
7166 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7168 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7170 * configure.ac: Require Gtk+ 2.12.9 at least
7172 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7174 * src/hildon-pannable-area.c
7175 (hildon_pannable_area_scroll_indicator_fade),
7176 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7177 to protect the return of this timeout callbacks, avoiding deadlocks.
7179 2008-08-12 Christian Dywan <christian@imendio.com>
7182 * src/hildon-*.h: Ensure a consistent include order,
7183 include <gtk/gtk.h> instead of particular files and
7184 only include the topmost header in the gtk stack. See NB #39857
7186 2008-08-12 Christian Dywan <christian@imendio.com>
7188 * src/hildon-picker-dialog.c
7189 * src/hildon-touch-selector.c: Fix warnings about unused and
7190 uninitialized variables.
7192 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7194 * examples/Makefile.am
7195 * examples/hildon-check-button-example.c: Example of the hildon
7198 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7200 * src/hildon-window.h
7201 * src/hildon-window.c (hildon_window_class_init)
7202 (hildon_window_unset_program): Don't make
7203 hildon_window_unset_program a virtual function anymore.
7205 * src/hildon-stackable-window.c: Update documentation
7207 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7210 * doc/hildon-docs.sgml
7211 * doc/visual_index.xml
7212 * src/hildon-defines.c
7214 * src/hildon-helper.c
7215 * src/hildon-range-editor.c: Lots of documentation fixes.
7217 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7219 * examples/hildon-picker-button-multicolumn-example.c
7220 (create_touch_selector): Fix compilation warning.
7222 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7224 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7225 (hildon_pannable_area_button_release_cb)
7226 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7228 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7230 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7233 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7235 * src/hildon-bread-crumb-trail.h
7236 * src/hildon-date-editor.c
7237 * src/hildon-date-selector.c
7238 * src/hildon-pannable-area.c
7239 * src/hildon-picker-dialog.c
7240 * src/hildon-time-selector.c
7241 * src/hildon-touch-selector-entry.c
7242 * src/hildon-touch-selector.c
7243 * src/hildon-touch-selector.h: Misc documentation fixes
7245 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7247 * examples/hildon-date-editor-example.c (main): Updated date
7250 * examples/hildon-note-example.c (on_confirmation_clicked):
7251 Updated confirmation note example.
7253 * src/hildon-date-editor.c
7254 * src/hildon-note.c: Updated sample programs in documentation.
7257 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7259 * src/hildon-date-button.h:
7260 * src/hildon-picker-button.h:
7261 * src/hildon-time-button.c:
7262 * src/hildon-time-button.h:
7264 Some declarations changes to allow gtk-doc to document the widgets
7267 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7269 * src/hildon-date-button.c: Document the widget.
7270 * src/hildon-time-button.c: Document the widget.
7272 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7274 * src/hildon-picker-button.c: Document the widget.
7275 * src/hildon-touch-selector-entry.c: Document the widget.
7277 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7279 * doc/hildon-docs.sgml
7282 * src/hildon-check-button.h
7283 * src/hildon-check-button.c: New functions to create the Hildon
7287 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7289 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7291 * src/hildon-button.h
7292 * src/hildon-button.c
7293 (hildon_button_add_title_size_group)
7294 (hildon_button_add_value_size_group)
7295 (hildon_button_add_image_size_group)
7296 (hildon_button_add_size_groups): New functions to set size groups
7297 for the button labels and image.
7298 (hildon_button_new_full): Removed
7300 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7302 * src/hildon-time-selector.c
7303 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7304 in order to avoid a crash if gconf is not available
7306 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7308 * src/hildon-button.c (hildon_button_set_arrangement)
7309 (hildon_button_construct_child): Don't construct the button child
7310 before setting the arrangement.
7312 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7314 * src/hildon-program-private.h
7315 * src/hildon-program.c
7316 * src/hildon-program.h
7317 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7318 (hildon_program_peek_window_stack)
7319 (hildon_program_pop_window_stack)
7320 (hildon_program_go_to_root_window): HildonProgram now has a
7321 separate list for stackable windows. Functions are provided to
7322 manage that list with a stack-like API.
7324 * src/hildon-stackable-window.c: Stackable window management is
7325 now much simpler with the new HildonProgram API. Windows no
7326 longer need to be manually added to the program, they're
7327 automatically pushed to the top of the stack when shown.
7329 * examples/hildon-stackable-window-example.c: Updated example to
7330 reflect the API changes.
7332 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7334 * src/hildon-touch-selector.c: Comment out unimplemented
7335 hildon_touch_selector_insert_column() to avoid a compile warning.
7337 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7339 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7340 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7341 (hildon_touch_selector_set_column_selection_mode),
7342 (_hildon_touch_selector_set_model),
7343 (hildon_touch_selector_set_model):
7345 Complete review of HildonTouchSelector documentation.
7347 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7349 * doc/hildon-docs.sgml
7353 * src/hildon-gtk.c: Convenience functions for standard Gtk
7354 widgets, used to easily perform frequent operations.
7356 * src/hildon-button-helpers.h
7357 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7359 * src/hildon-helper.h
7360 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7361 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7363 * src/hildon-button.h
7364 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7366 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7368 * src/hildon-button.c (hildon_button_init)
7369 (hildon_button_set_arrangement, hildon_button_construct_child):
7370 Pack the image and the labels inside the same GtkAlignment so
7371 gtk_button_set_alignment() can be used
7373 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7375 * src/hildon-button.h
7376 * src/hildon-button.c
7377 (hildon_button_init, hildon_button_set_image)
7378 (hildon_button_set_image_position)
7379 (hildon_button_construct_child): New functions to add an image to
7382 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7384 * src/hildon-date-button.c
7385 * src/hildon-picker-button.c
7386 * src/hildon-time-button.c
7387 * src/hildon-button.c:
7388 (hildon_button_class_init): "size-flags" renamed to "size"
7389 (hildon_button_set_title): Hide the title label if set to NULL.
7391 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7393 HildonButtonFlags split into HildonButtonArrangement (to set the
7394 button layout) and HildonSizeType (which can be used for any
7397 * src/hildon-button.h
7398 * src/hildon-button.c
7399 (hildon_button_class_init)
7400 (hildon_button_set_arrangement)
7401 (hildon_button_set_property): New "size-flags"
7402 property. "arrangement-flags" renamed to "arrangement".
7403 (hildon_button_new, hildon_button_new_with_text)
7404 (hildon_button_new_full): Constructors updated to reflect type changes.
7406 * src/hildon-helper.h
7407 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7408 to set the size of a widget.
7412 * src/hildon-button-helpers.c
7413 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7415 * src/hildon-date-button.c
7416 * src/hildon-date-button.h
7417 * src/hildon-picker-button.c
7418 * src/hildon-picker-button.h
7419 * src/hildon-time-button.c
7420 * src/hildon-time-button.h: Updated widgets to reflect
7421 HildonButton API changes.
7423 * examples/hildon-button-example.c
7424 * examples/hildon-date-button-example.c
7425 * examples/hildon-picker-button-example.c
7426 * examples/hildon-picker-button-multicolumn-example.c
7427 * examples/hildon-time-button-example.c
7428 * examples/hildon-touch-selector-entry-example.c
7429 * examples/hildon-touch-selector-example.c: Updated examples to
7430 reflect HildonButton API changes.
7432 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7434 * doc/hildon-docs.sgml:
7436 * examples/Makefile.am:
7437 * examples/hildon-touch-selector-entry-example.c:
7439 * src/hildon-touch-selector-entry.c:
7440 * src/hildon-touch-selector-entry.h:
7443 Moved HildonTouchSelectorEntry from sandbox. Added its
7444 documentation and examples.
7446 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7448 * src/hildon-touch-selector.h:
7449 * examples/hildon-picker-button-multicolumn-example.c:
7450 (hildon_touch_selector_append_text_column): Add a gboolean
7451 parameter to determine if text must be centered in the column.
7453 * src/hildon-date-selector.c: (hildon_date_selector_init):
7454 * src/hildon-time-selector.c: (hildon_time_selector_init):
7455 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7456 (create_touch_selector): Update widgets and example to reflect
7459 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7461 * src/hildon-touch-selector.c:
7462 (hildon_touch_selector_set_active_iter): Set also the cursor in
7465 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7467 * doc/hildon-docs.sgml
7470 * src/hildon-toggle-button.c
7471 * src/hildon-toggle-button.h
7472 * src/hildon.h: Removed HildonToggleButton widget, a derived
7473 class is not necessary for this.
7475 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7477 * src/hildon-pannable-area.c,
7478 (hildon_pannable_area_realize),
7479 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7482 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7484 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7485 "done" button the default widget for the dialog.
7487 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7489 * src/hildon-touch-selector.c:
7490 (hildon_touch_selector_class_init),
7491 (hildon_touch_selector_get_property),
7492 (_hildon_touch_selector_set_model),
7493 (_hildon_touch_selector_has_multiple_selection),
7494 (hildon_touch_selector_has_multiple_selection):
7495 Add a "has-multiple-selection" property with a virtual
7496 has_multiple_selection() method to allow derived classes to
7497 override the default value for it. See the method and property
7498 documentation for details.
7500 * src/hildon-touch-selector.h: Add the new API.
7502 * src/hildon-picker-dialog.c: (requires_done_button): Call
7503 hildon_touch_selector_has_multiple_selection() instead of
7504 determining the need for a button itself.
7506 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7508 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7509 (_hildon_touch_selector_set_model),
7510 (hildon_touch_selector_set_model): Move working code to
7511 _hildon_touch_selector_set_mode(). Call the class method instead.
7513 * src/hildon-touch-selector.h: Add (*set_model) to
7514 HildonTouchSelectorClass.
7516 Make hildon_touch_selector_set_model() a virtual method, so that
7517 derived classes can extend it and do fancy stuff with the model.
7519 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7521 * configure.ac: Set back the tarname in AC_INIT to hildon.
7523 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7527 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7528 instead of libesd (NB#86876). Volume handling is still an open issue.
7530 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7533 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7535 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7536 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7537 derived class to ease placement of an entry widget in
7538 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7539 end, where the selector columns are packed now.
7541 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7543 * src/hildon-picker-button.c: Removed the simple _text() API.
7544 * src/hildon-picker-button.h: Likewise.
7546 * src/hildon-touch-selector.h:
7547 * src/hildon-touch-selector.c:
7548 (hildon_touch_selector_new_text),
7549 (hildon_touch_selector_append_text),
7550 (hildon_touch_selector_prepend_text),
7551 (hildon_touch_selector_insert_text):
7553 Moved the simple _text() API from HildonPickerButton to
7554 HildonTouchPicker, to provide better escalability and not to tie
7555 that API to HildonPickerButton.
7557 * examples/hildon-picker-button-example.c: (main): Example updated.
7559 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7561 * src/hildon-button.c: Updated documentation.
7563 * examples/hildon-button-example.c: Add the posibility to create
7564 the buttons using horizontal layout for title and value.
7566 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7568 * src/hildon-app-menu-private.h
7569 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7570 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7571 GtkSizeGroup for the filters, use the 'homogeneous' property of
7574 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7576 * examples/hildon-button-example.c: Updated example.
7578 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7580 * doc/hildon-docs.sgml:
7583 Update documentation.
7585 * examples/Makefile.am: Update renamed examples.
7587 * examples/hildon-picker-button-multicolumn-example.c:
7588 (create_touch_selector), (main): Update after the rename.
7590 * examples/hildon-touch-picker-example.c: Removed.
7591 * examples/hildon-touch-selector-example.c: (value_changed),
7592 (create_selector), (get_visible_content), (main): Renamed from
7593 hildon-touch-picker-example.c
7595 * src/Makefile.am: Updated renamed files.
7597 * src/hildon-date-button.c: (hildon_date_button_init),
7598 (hildon_date_button_get_date), (hildon_date_button_set_date):
7599 * src/hildon-date-selector.c: (hildon_date_selector_init),
7600 (_custom_print_func), (_update_day_model),
7601 (_manage_selector_change_cb),
7602 (hildon_date_selector_select_current_date),
7603 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7604 * src/hildon-date-selector.h:
7605 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7606 (hildon_picker_button_set_property),
7607 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7608 (hildon_picker_button_init), (hildon_picker_button_new_text),
7609 (hildon_picker_button_append_text),
7610 (hildon_picker_button_prepend_text),
7611 (hildon_picker_button_insert_text),
7612 (hildon_picker_button_set_selector),
7613 (hildon_picker_button_get_selector):
7614 * src/hildon-picker-button.h:
7615 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7616 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7617 (_update_title_on_selector_changed_cb), (requires_done_button),
7618 (_hildon_picker_dialog_set_selector),
7619 (hildon_picker_dialog_set_selector),
7620 (hildon_picker_dialog_get_selector):
7621 * src/hildon-picker-dialog.h:
7622 * src/hildon-time-button.c: (hildon_time_button_init),
7623 (hildon_time_button_get_time), (hildon_time_button_set_time):
7624 * src/hildon-time-selector.c: (hildon_time_selector_init),
7625 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7626 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7627 * src/hildon-time-selector.h:
7630 Massive code updates after the rename.
7632 * src/hildon-touch-picker.c: Removed.
7633 * src/hildon-touch-picker.h: Removed.
7635 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7636 (hildon_touch_selector_init), (hildon_touch_selector_map),
7637 (hildon_touch_selector_remove), (_default_print_func),
7638 (_selection_changed_cb), (_create_new_column),
7639 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7640 (hildon_touch_selector_append_text_column),
7641 (hildon_touch_selector_remove_column),
7642 (hildon_touch_selector_set_column_attributes),
7643 (hildon_touch_selector_insert_column),
7644 (hildon_touch_selector_get_num_columns),
7645 (hildon_touch_selector_get_column_selection_mode),
7646 (hildon_touch_selector_set_column_selection_mode),
7647 (hildon_touch_selector_set_print_func),
7648 (hildon_touch_selector_get_print_func),
7649 (hildon_touch_selector_get_active_iter),
7650 (hildon_touch_selector_set_active_iter),
7651 (hildon_touch_selector_get_selected_rows),
7652 (hildon_touch_selector_get_model),
7653 (hildon_touch_selector_set_model),
7654 (hildon_touch_selector_get_current_text),
7655 (_hildon_touch_selector_center_on_selected_items):
7656 * src/hildon-touch-selector.h: Renamed from
7657 hildon-touch-picker.[ch]
7659 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7660 references, code examples, and related documentation.
7662 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7664 * doc/hildon-docs.sgml
7667 * src/hildon-toggle-button.c
7668 * src/hildon-toggle-button.h
7669 * src/hildon.h: New HildonToggleButton widget.
7671 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7673 * src/hildon-button.c: Add API documentation.
7674 (hildon_button_set_size_groups): Check input parameters
7676 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7678 * src/hildon-pannable-area.c
7679 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7680 effect after reaching the movement thredshold. This way we start
7681 using the distance after passing the thredshold.
7683 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7685 * src/hildon-button.c: (hildon_button_set_property): Use the
7686 appropriate g_value_get_flags() method.
7688 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7690 * doc/hildon-docs.sgml:
7693 Add the touch pickers, picker dialogs, and picker button widgets
7694 to the documentation.
7696 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7698 * src/hildon-button.c: (hildon_button_set_property),
7699 (hildon_button_class_init): Make "arrangement-flags" a proper
7700 G_TYPE_FLAGS derived property.
7702 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7704 * examples/Makefile.am: Add below examples.
7705 * examples/hildon-date-button-example.c:
7706 * examples/hildon-picker-button-example.c:
7707 * examples/hildon-picker-button-multicolumn-example.c:
7708 * examples/hildon-time-button-example.c:
7709 * examples/hildon-touch-picker-example.c:
7711 Add examples for the recently added touch pickers,
7712 picker dialogs, and picker button widgets.
7714 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7716 * src/hildon-button.c: Add some API documentation
7718 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7720 * src/hildon-button.h
7721 * src/hildon-button.c
7723 (hildon_button_new_with_text): New constructor to create a button
7724 with no text at all.
7725 (hildon_button_init, hildon_button_set_arrangement)
7726 (hildon_button_set_title, hildon_button_set_value)
7727 (hildon_button_set_text)
7728 (hildon_button_construct_child): Hide the value when it's not used
7729 so the rest of the text is properly aligned.
7730 Allow creating buttons with arbitrary widgets inside (not just
7731 title/value labels).
7733 * examples/hildon-button-example.c (vertical_buttons_window)
7734 (horizontal_buttons_window): Update example to use new API.
7736 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7738 * src/Makefile.am: Added HildonTimeButton.
7739 * src/hildon-time-button.c: Added missing LGPL header.
7740 * src/hildon-time-button.h: Added missing LGPL header.
7741 * src/hildon.h: Add hildon-time-button.h
7743 Copied HildonTimeButton from sandbox to trunk. Future work on this
7744 widget must take place in trunk.
7746 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7748 * src/Makefile.am: Added HildonDateButton.
7749 * src/hildon-date-button.c: Update includes.
7750 * src/hildon.h: Add hildon-date-button.h
7752 Copied HildonDateButton from sandbox to trunk. Future work on this
7753 widget must take place in trunk.
7755 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7757 * src/Makefile.am: Added HildonPickerButton.
7758 * src/hildon-picker-button.h: Update includes.
7759 * src/hildon.h: Add hildon-picker-button.h
7761 Copied HildonPickerButton from sandbox to trunk. Future work on
7762 this widget must take place in trunk.
7764 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7766 * src/Makefile.am: Added HildonPickerDialog.
7767 * src/hildon-picker-dialog.c: Update includes.
7768 * src/hildon.h: Add hildon-picker-dialog.h
7770 Copied HildonPickerDialog from sandbox to trunk. Future work
7771 on this widget must take place in trunk.
7773 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7775 * src/Makefile.am: Added HildonTimeSelector.
7776 * src/hildon.h: Add hildon-time-selector.h
7778 Copied HildonTimeSelector widget from sandbox to trunk. Future
7779 work on this widget must happen in trunk.
7781 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7783 * src/Makefile.am: Added HildonDateSelector.
7784 * src/hildon.h: Add hildon-date-selector.h
7786 Copied HildonDateSelector widget from sandbox to trunk. Future
7787 work on this widget must happen in trunk.
7789 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7791 * src/Makefile.am: Added HildonTouchPicker.
7792 * src/hildon-touch-picker.c: Update includes.
7793 * src/hildon.h: Add hildon-touch-picker.h
7795 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7796 on this widget must happen in trunk.
7798 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7800 * src/hildon-pannable-area.c:
7801 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7803 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7805 * examples/hildon-app-menu-example.c (main): Let the window
7808 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7810 * src/hildon-pannable-area.c
7811 (hildon_pannable_area_class_init): Set the min value of the
7812 overshoot properties to zero, which points out that not
7813 overshooting allowed.
7815 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7817 Modified the procedure to get the widget at a point inside the
7818 pannable area when using the movement type signals. Now the user
7819 has to call a function to get the child, that way we just
7820 calculate the child in case the user really want to use it and not
7823 * src/hildon-marshalers.list: Modified the marshallers, now we do
7824 not have the widget as a parameter.
7826 * src/hildon-pannable-area.c
7827 (hildon_pannable_area_motion_notify_cb),
7828 (hildon_pannable_area_class_init),
7829 (hildon_pannable_get_child_widget_at): Removed the widget
7830 parameter from the signal callback. We have also refactored the
7831 emission of the signals.
7833 * src/hildon-pannable-area.h: Added a new method to the API to
7834 calculate a widget at a point inside the pannable area,
7835 hildon_pannable_get_child_widget_at.
7837 * examples/hildon-pannable-area-example-4.c
7838 (horizontal_movement): Modified the example to use the new API,
7839 added condition to control which widget is under the event. This
7840 way we can avoid scrolling laterally over other widgets.
7842 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7844 * src/hildon-pannable-area.c
7845 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7846 modes, we stop getting the pointer events due to returning the
7847 callback without properly calling the get pointer again. Fixed
7848 also an error using the hscroll and vscroll.
7850 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7852 * src/hildon-app-menu-private.h
7853 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7854 (hildon_app_menu_button_release, hildon_app_menu_init)
7855 (hildon_app_menu_class_init): Don't hide the menu on button
7856 release if the user didn't press outside first.
7858 * src/hildon-window.h
7859 * src/hildon-window.c (hildon_window_toggle_menu)
7860 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7861 hildon_window_toggle_menu a virtual function for the stackable
7862 window to override it.
7864 * src/hildon-stackable-window.h
7865 * src/hildon-stackable-window-private.h
7866 * src/hildon-stackable-window.c
7867 (hildon_stackable_window_realize)
7868 (hildon_stackable_window_finalize)
7869 (hildon_stackable_window_class_init)
7870 (hildon_stackable_window_init)
7871 (hildon_stackable_window_set_main_menu): New function to set the
7872 app menu of a HildonStackableWindow.
7874 * examples/hildon-app-menu-example.c: Remove the button to show
7875 the app menu, now it'll be shown when clicking on the title bar
7878 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7880 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7881 set the widget name if the arrangement flags do not specify
7884 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7886 * src/hildon-button.c: (hildon_button_set_property),
7887 (hildon_button_class_init), (hildon_button_new_full),
7888 (hildon_button_set_arrangement): Added "arrangement-flags"
7891 Make the HildonButtonFlags a construction-only property, to allow
7892 subclasses to set them properly.
7894 2008-07-21 Tim Janik <timj@imendio.com>
7896 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7897 insertion position after backspace, so additional digits are appended,
7900 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7902 * src/hildon-pannable-area.c,
7903 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7904 TODO list, it was complete and removed the g_debug and g_print
7907 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7909 Added the movement modes to the hildon-pannable-area, with this
7910 modes the developers can control in which directions the widget
7911 can scroll. They can also connect to signals in order to do
7912 something when that happens, allowing applications scroll. There
7913 is an example uploaded showing how to use it.
7915 * examples/Makefile.am:
7916 * examples/hildon-pannable-area-example-4.c: Added this example of
7917 an application using the modes.
7919 * src/hildon-marshalers.list: Added a new marshaller for the new
7922 * src/hildon-pannable-area.h: Added new enumerations and flags in
7923 order to control the movement modes and the new signals to warn
7924 about the movements in the area.
7926 * src/hildon-pannable-area.c:
7927 (hildon_pannable_axis_scroll),
7928 (hildon_pannable_area_scroll),
7929 (hildon_pannable_area_motion_notify_cb),
7930 (hildon_pannable_area_get_property),
7931 (hildon_pannable_area_set_property),
7932 (hildon_pannable_area_map),
7933 (hildon_pannable_area_class_init),
7934 (hildon_pannable_area_init),
7935 (hildon_pannable_area_jump_to): Added the modes to control the
7936 movement in the widget. We have added properties to control it,
7937 signals to warn about the movements and refactored some code.
7939 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7941 Changes required in order to allow vfast_factor set to zero to
7944 * src/hildon-pannable-area.c:
7945 (hildon_pannable_area_button_press_cb): Changed the condition, it
7946 is required for not allowing click when vfast_factor is zero.
7947 (hildon_pannable_area_timeout): Initialized velocity variables
7948 when we stop moving, it was less than 1 but not zero and we need
7949 to check zero in some situations.
7950 (hildon_pannable_area_class_init): Changed the default value of
7951 the speed factor, now the button_press is just sent in case the
7952 speed is 2 per cent of the max speed.
7953 (hildon_pannable_area_init): Initialization with 0.
7955 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7957 * src/hildon-pannable-area.c,
7958 (hildon_pannable_area_get_topmost): replaced
7959 gdk_window_get_children with gdk_window_peek_children, this way we
7960 do not have to free the list because it is not a copy.
7962 (hildon_pannable_axis_scroll),
7963 (hildon_pannable_area_scroll),
7964 (hildon_pannable_area_timeout),
7965 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7966 two parameters that were only used inside the
7967 hildon_pannable_area_scroll function.
7969 * examples/hildon-pannable-area-example.c,
7970 (get_sawtooth_label): Fixed small memory leak.
7972 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7974 More checks for the case where the overshoot is bigger than the
7977 * src/hildon-pannable-area.c:
7978 (hildon_pannable_draw_vscroll),
7979 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7980 to draw the slider of the scrollbar under the other scrollbar.
7981 (hildon_pannable_area_expose_event): added new checks to control
7982 the drawing of the overshooting area rectangle, in case it is too
7983 big for the area of the widget.
7984 (hildon_pannable_area_size_allocate): add more checks to avoid
7985 setting a position to the child widget outside the area.
7987 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7989 * src/hildon-pannable-area.c
7990 (hildon_pannable_area_size_allocate): Added conditions to control
7991 when overshooting is bigger than the allocated space for the
7992 children, this avoids negative allocations.
7994 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7996 * doc/hildon-docs.sgml
7998 * examples/Makefile.am
7999 * examples/hildon-button-example.c
8001 * src/hildon-button.c
8002 * src/hildon-button.h
8003 * src/hildon.h: Initial version of the new HildonButton widget,
8006 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8008 * src/hildon-pannable-area.c:
8009 (hildon_pannable_area_button_press_cb),
8010 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8011 (hildon_pannable_area_motion_notify_cb),
8012 (hildon_pannable_area_button_release_cb),
8013 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8014 (hildon_pannable_area_jump_to_child):
8016 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8018 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8020 * examples/Makefile.am
8021 * examples/hildon-pannable-area-touch-grid-example.c
8022 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8023 the Hildon Touch List and Hildon Touch Grid using the
8024 HildonPannableArea widget.
8026 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8028 * src/hildon-pannable-area.c,
8029 (hildon_pannable_area_button_press_cb),
8030 (hildon_pannable_area_refresh),
8031 (hildon_pannable_area_scroll),
8032 (hildon_pannable_area_motion_notify_cb),
8033 (hildon_pannable_area_button_release_cb),
8034 (hildon_pannable_area_expose_event),
8035 (hildon_pannable_area_add),
8036 (hildon_pannable_area_remove),
8037 (hildon_pannable_area_realize),
8038 (hildon_pannable_area_size_allocate),
8039 (hildon_pannable_area_class_init),
8040 (hildon_pannable_area_init),
8041 (hildon_pannable_area_scroll_to_child),
8042 (hildon_pannable_area_jump_to_child): Fixed the problem of
8043 removing the child from the GtkBin, we have rearranged the widget
8044 hierarchy, now there is no GtkAlignment which was not doing
8045 anything interesting but breaking some of the assumptions of
8046 GtkContainer. Now developers if they want to add a GtkAlignment
8047 they could, but it is not inside the area.
8049 We had to review the whole allocation/expose process, now it is
8050 improved and we save at least three signals which would be saving
8051 some time when rendering the widget. The allocation of the
8052 scrollbars is now made in the allocate method as usual.
8054 We have also added some conditions in order to control when there
8055 is no child of the pannable area. Maybe we will need more work
8058 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8060 * src/hildon-pannable-area.c,
8061 (hildon_pannable_area_dispose): Released the fade-out timeout when
8062 disposing the widget.
8064 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8066 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8067 zero, we are going to use that property in order to deactivate the
8069 (hildon_pannable_axis_scroll),
8070 (hildon_pannable_area_size_allocate): Added conditions to control
8071 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8072 call, now it is called in all situations and we can remove calls
8073 in the allocate method.
8074 (hildon_pannable_area_map): Control the situation when
8075 overshoot_max is zero, we do not need the timeout.
8076 (hildon_pannable_area_class_init): Added documentation in order to
8077 point out that setting zero to overshoot_max means deactivate
8080 NOTE: removed trailing whitespaces from my previous comments of
8083 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8085 * src/hildon-pannable-area.c
8086 (hildon_pannable_area_get_property),
8087 (hildon_pannable_area_set_property),
8088 (hildon_pannable_area_map),
8089 (hildon_pannable_area_class_init),
8090 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8091 to cause the widget give a hint about its panning abilities upon
8094 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8096 * src/hildon-pannable-area.c: Several documentation improvements.
8098 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8100 * src/hildon-program.c
8101 * src/hildon-stackable-window.c: Update documentation.
8103 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8105 * src/hildon-stackable-window.c (get_previous_window_if_last):
8106 Renamed get_last_window()
8107 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8108 (hildon_stackable_window_unset_program):
8110 (get_previous_window_if_last):
8111 Detect if the window hasn't been added to a HildonProgram.
8113 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8115 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8117 * src/hildon-pannable-area.c
8118 (hildon_pannable_area_button_press_cb),
8119 (hildon_pannable_axis_scroll),
8120 (hildon_pannable_area_scroll),
8121 (hildon_pannable_area_timeout),
8122 (hildon_pannable_calculate_vel_factor),
8123 (hildon_pannable_area_get_property),
8124 (hildon_pannable_area_set_property),
8125 (hildon_pannable_area_class_init),
8126 (hildon_pannable_area_init),
8127 (hildon_pannable_area_scroll_to),
8128 (hildon_pannable_area_jump_to),
8129 (hildon_pannable_area_scroll_to_child),
8130 (hildon_pannable_area_jump_to_child):
8131 * src/hildon-pannable-area.h: Added the new API functions:
8132 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8133 hildon_pannable_area_scroll_to_child,
8134 hildon_pannable_area_jump_to_child
8137 * examples/Makefile.am
8138 * examples/hildon-pannable-area-example-2.c
8139 * examples/hildon-pannable-area-example-3.c: Added these two new
8140 examples in order to test and show how the new APIs work.
8142 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8144 * examples/hildon-stackable-window-example.c (new_window):
8145 * src/Makefile.am (noinst_HEADERS):
8146 * src/hildon-program.c (hildon_program_go_to_root_window):
8147 * src/hildon-program.h:
8148 * src/hildon-stackable-window-private.h:
8149 * src/hildon-stackable-window.c:
8150 * src/hildon-stackable-window.h:
8151 Create hildon-stackable-window-private.h
8152 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8154 * examples/hildon-app-menu-example.c (create_menu):
8155 * examples/hildon-hvolumebar-insensitive-example.c (main):
8156 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8157 * examples/hildon-toolbar-seekbar-example.c (main):
8158 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8159 * src/hildon-banner.c (hildon_banner_set_property):
8160 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8161 Fix compilation warnings
8163 * src/hildon-window.c:
8166 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8168 * src/hildon-stackable-window.c
8169 (hildon_stackable_window_unset_program):
8170 Calculate correctly whether to show the previous window if the
8171 last one is removed from the stack.
8172 (hildon_stackable_window_go_to_root_window):
8173 Send delete events starting from the topmost window.
8174 Stop if one of the windows is not destroyed.
8176 (hildon_stackable_window_delete_event)
8177 (hildon_stackable_window_class_init):
8178 Ignore the delete event if the window is not the topmost one.
8180 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8182 * src/hildon-pannable-area.c
8183 (hildon_pannable_area_expose_event): Fixed a problem when
8184 selecting the background color of the scrollbars.
8186 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8188 * examples/hildon-stackable-window-example.c
8189 * src/hildon-stackable-window.c
8190 * src/hildon-stackable-window.h
8191 hildon_stackable_window_go_home() renamed to
8192 hildon_stackable_window_go_to_root_window()
8193 Send delete events to windows rather than closing them with
8194 gtk_widget_destroy()
8196 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8198 * src/hildon-pannable-area.c
8199 (hildon_pannable_area_button_release_cb): Fix overshooting in
8202 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8204 * src/hildon-pannable-area.c
8205 (hildon_pannable_area_init): Initially show the scroll indicators.
8206 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8208 Add initial effect showing the widget is pannable.
8210 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8212 * src/hildon-pannable-area.c
8213 (hildon_pannable_area_class_init)
8214 (hildon_pannable_area_set_property)
8215 (hildon_pannable_area_get_property)
8216 (hildon_pannable_area_button_press_cb):
8217 New 'velocity_fast_factor' property to decide which velocity is
8220 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8222 * src/hildon-pannable-area.c
8223 (hildon_pannable_draw_hscroll)
8224 (hildon_pannable_draw_vscroll):
8225 Use float variables to calculate the size of the scrollbars to
8226 avoid error propagation and resizing during scrolling.
8228 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8230 * src/hildon-pannable-area.c
8231 (hildon_pannable_draw_vscroll)
8232 (hildon_pannable_draw_hscroll):
8233 Define a minimum size for the scroll bars
8235 * src/hildon-stackable-window.c
8236 (hildon_stackable_window_go_home): Fix compilation warning
8237 (get_last_window): Minor optimizations
8238 (hildon_stackable_window_class_init): Fix initialization of
8241 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8243 * src/hildon-stackable-window.c: Fixed typos in doc
8245 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8247 * src/hildon-pannable-area.c
8248 (hildon_pannable_area_scroll):
8249 Calculate here whether we need to scroll instead of using the booleans
8250 that tell us whether to /draw/ the scrolling bars.
8252 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8254 * src/hildon-app-menu.h
8256 * src/hildon-app-menu.c
8257 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8258 multiple filter groups related code and API. Now we support only
8260 * examples/hildon-app-menu-example.c:
8262 Update to reflect API changes.
8264 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8266 * src/hildon-stackable-window.c
8267 (hildon_stackable_window_class_init):
8268 Add hildon_stackable_window_realize.
8269 (hildon_stackable_window_realize):
8270 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8271 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8272 to apply theming and behavior specific to HildonStackableWindow
8275 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8277 * src/hildon-note.c (hildon_note_button_release):
8278 Close information notes also when tapping on them
8280 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8282 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8283 ELASTICITY, refactor and review, fix some issues with drawing
8286 * src/hildon-pannable-area.c:
8287 (hildon_pannable_area_button_press_cb): removed the conditions to
8288 avoid clicks when overshooting. It is not required
8290 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8291 define. Refatored and reviewed the code, now we do not need to
8292 manage velocity in motion_notify.
8294 (hildon_pannable_area_motion_notify_cb): We have moved the code
8295 that controls the area_scroll to the axis_scroll function and get
8296 rid of duplicated code.
8298 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8300 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8302 (hildon_pannable_draw_vscroll),
8303 (hildon_pannable_draw_hscroll): Fixed the problems with the
8304 scrollbar drawing, now we do not use two surfaces, it is easier
8305 and saves resources.
8307 (hildon_pannable_area_get_property): Style modification.
8309 (hildon_pannable_area_class_init): Changed some default values.
8311 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8313 * src/hildon-stackable-window.c: Fix some typos in the
8316 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8318 * src/hildon-dialog.c:
8319 Change indentation style
8322 (hildon_note_button_release):
8323 Use root coordinates to check if the release event happened
8326 * src/hildon-app-menu.c
8327 (hildon_app_menu_button_release):
8328 Remove unnecessary check
8330 * examples/hildon-app-menu-example.c
8332 Add cast to fix warning
8334 * src/hildon-app-menu.c
8335 (hildon_app_menu_class_init):
8336 New inner-border style property.
8337 Set all default spacings to 16
8338 (hildon_app_menu_init):
8339 Use vertical-spacing to set the space between filter buttons and
8340 regular menu buttons.
8341 Set the default container border using the inner-border value.
8343 * examples/hildon-app-menu-example.c
8345 Don't set the menu border explicitly, now we have the inner-border
8346 style property for that.
8348 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8350 * src/hildon-app-menu.c (hildon_app_menu_init):
8351 Make the window modal
8353 * src/hildon-note.c (hildon_note_map)
8354 * src/hildon-app-menu.c (hildon_app_menu_map):
8355 Destroy the grab window if we're unable to grab the pointer
8357 * src/hildon-app-menu-private.h
8358 * src/hildon-app-menu.c
8359 (hildon_app_menu_init, hildon_app_menu_finalize)
8360 (hildon_app_menu_map, hildon_app_menu_unmap)
8361 (hildon_app_menu_button_release)
8362 (grab_transfer_window_get):
8363 Bring back the grab window
8364 (hildon_app_menu_realize):
8365 Decorate the window, set WM hint for Matchbox
8367 * src/hildon-note.c (hildon_note_realize):
8368 * src/hildon-banner.c (hildon_banner_realize):
8369 Add WM hints for Matchbox
8371 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8373 * src/hildon-app-menu-private.h
8374 * src/hildon-app-menu.c
8375 (hildon_app_menu_init, hildon_app_menu_finalize)
8376 (hildon_app_menu_map, hildon_app_menu_unmap)
8377 (hildon_app_menu_button_release):
8378 Remove the grab window, it's not needed anymore
8380 * src/hildon-program.c
8381 Fixed typo in documentation
8383 * src/hildon-app-menu.h
8384 * src/hildon-app-menu.c
8385 * examples/hildon-app-menu-example.c
8386 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8388 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8391 Added new transfer_window and close_if_pressed_outside private
8393 (hildon_note_rebuild):
8394 Don't add a cancel button to the information note. It will be
8395 closed when tapping outside
8396 Remove the comment about the OK button in the documentation
8397 (hildon_note_realize):
8398 Set the notification type hint
8399 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8400 Grab/ungrab pointer and keyboard if the note has to be closed when
8402 (hildon_note_button_release):
8403 Close the note when tapping outside (if applicable)
8405 * src/hildon-app-menu.c
8406 Grab/ungrab pointer and keyboard on map/unmap
8407 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8408 Close the menu on button release, not button press
8410 * src/hildon-banner.c
8411 (hildon_banner_set_property)
8412 (hildon_banner_check_position):
8413 Make the banner use the full width of the screen
8414 (hildon_banner_show_information)
8415 (hildon_banner_show_information_with_markup):
8416 Don't display an icon by default
8418 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8420 Added fading scrollbars and adapted all the overshooting code to
8421 horizontal scrolling. We have also fixed bugs with overshooting
8422 and current fading implementation.
8424 * src/hildon-pannable-area.c
8425 (hildon_pannable_area_scroll_indicator_fade): Time out function
8426 used to change the transparency of the scrollbars.
8428 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8429 control and fixed a problem with fading, we now remove the fade
8430 timeout before adding a new one.
8432 (hildon_pannable_axis_scroll):
8433 (hildon_pannable_area_scroll):
8434 (hildon_pannable_area_timeout): Added this functions so we can use
8435 the scroll code both for vertical and horizontal.
8437 (hildon_pannable_area_motion_notify_cb):
8438 (hildon_pannable_area_button_release_cb): Added the horizontal
8439 scrolling control, fixed a problem with the overshooting timeout.
8441 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8442 painting of the scrolls.
8444 (hildon_pannable_draw_vscroll):
8445 (hildon_pannable_draw_hscroll):
8446 (hildon_pannable_area_expose_event):
8447 Draw both scrollbars and rectangles in the overshooting area.
8449 (hildon_pannable_area_get_property):
8450 (hildon_pannable_area_set_property):
8451 Modified the overshoot property to overshoot_max
8453 (hildon_pannable_area_map):
8454 Replaced the comments symbols.
8456 (hildon_pannable_area_size_allocate):
8457 (hildon_pannable_area_class_init):
8458 (hildon_pannable_area_init): Added horizontal scroll, fading
8459 effect properties, fixed a problem when overshooting in the bottom
8462 * examples/hildon-pannable-area-example.c:
8463 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8464 looks better in the example.
8466 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8468 * src/hildon-window.c
8469 * src/hildon-window.h
8470 (hildon_window_class_init)
8471 (hildon_window_unset_program)
8472 (hildon_window_unset_program_real):
8473 Make unset_program a virtual function
8475 * src/hildon-stackable-window.c
8476 * src/hildon-stackable-window.h
8477 Added hildon_stackable_window_go_home()
8479 * examples/Makefile.am
8480 * examples/hildon-stackable-window-example.c
8481 HildonStackableWindow example
8483 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8485 * hildon-pannable-area.c: Added the overshoot property and removed
8486 the OVERSHOOT define. Fixed an indent style error.
8487 (hildon_pannable_area_motion_notify_cb):
8488 (hildon_pannable_area_get_property):
8489 (hildon_pannable_area_set_property): Add overshoot property.
8491 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8494 (hildon_pannable_area_class_init): Installed the new property.
8496 * hildon-pannable-area-example.c: Added a sawtooth function, this
8497 way it is easier to check the movement in the pannable.
8498 (get_sawtooth_label): Added this function.
8499 (main): Now we get the labels from the new get_sawtooth_label
8502 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8504 * src/hildon-app-menu.h
8505 * src/hildon-app-menu.c
8506 Renamed API variables for consistency
8508 (hildon_app_menu_popup): Use also the default window size to
8509 decide where to place the menu
8511 (hildon_app_menu_init, hildon_app_menu_class_init): New
8512 external-border style property
8514 2008-05-26 Michael Natterer <mitch@imendio.com>
8516 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8517 widget_class->tap_and_hold_setup signal slot doesn't exist any
8518 longer, stop overriding it.
8520 (hildon_time_editor_init): g_signal_connect() to the
8521 tap-and-hold-setup signal instead.
8523 (hildon_time_editor_entry_keypress): add cast to fix warning.
8525 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8527 * doc/hildon-docs.sgml
8529 * examples/Makefile.am
8530 * examples/hildon-app-menu-example.c
8532 * src/hildon-app-menu-private.h
8533 * src/hildon-app-menu.c
8534 * src/hildon-app-menu.h
8536 New HildonAppMenu widget
8538 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8540 Rearranged the inheritance of the pannable area, now it inherits
8541 from GtkBin. This will allow us to control the event_window and
8542 the allocation process of the widget, required for some effects.
8544 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8545 GtkBin structures. * src/hildon-pannable-area.c: Added the
8546 event_window variable.
8547 (hildon_pannable_area_button_press_cb):
8548 (hildon_pannable_area_button_release_cb):
8549 (hildon_pannable_area_motion_notify_cb):
8550 Changed the signature of the method, now we override the event
8551 callback instead of connecting to the signal.
8553 (hildon_pannable_area_realize):
8554 (hildon_pannable_area_unrealize):
8555 (hildon_pannable_area_map):
8556 (hildon_pannable_area_unmap):
8557 (hildon_pannable_area_size_allocate):
8558 Added functions to control the widget construction. We add a
8559 INPUT_ONLY window and we put it over the widgets inside the
8560 container, this event_window handles the events.
8562 (hildon_pannable_area_class_init):
8563 Replaced the signal connections with overrides of the event
8566 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8568 Bouncing effect added when touching the borders, you can change
8569 the elasticity of the border changing the ELASTICITY define.
8571 * src/hildon-pannable-area.c: Added ELASTICITY define.
8572 (hildon_pannable_area_timeout): Added inverse velocity when
8573 touching the border of the child widget, that causes a bounce.
8575 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8577 Improved performance, we now do not go to the X server in order to
8578 get the list of window children. Apparently the effect is the
8579 same, we have to be careful and check if this breaks something in
8582 * src/hildon-pannable-area.c:
8583 (get_ordered_children): Removed this function.
8584 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8585 the children windows function with gdk_window_get_children.
8587 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8589 * src/hildon-pannable-area.c:
8590 (hildon_pannable_area_dispose): Fixed a crash when closing the
8591 window and kinetics is activated.
8593 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8595 * src/hildon-pannable-area.h
8596 * src/hildon-pannable-area.c
8597 Changed indentation style to meet the one used in Hildon
8599 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8601 Reviewed the interaction of the AUTO mode, now we use the time
8602 attribute of the events and calculate the velocity in the motion,
8603 doing a gimp like calculation. The velocity is calculated in each
8604 motion event using the last velocity and the current one, the
8605 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8607 * src/hildon-pannable-area.c: Replaced the time based algorithm
8609 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8610 timeout for the AUTO mode when we are still moving the cursor. We
8611 added also the velocity calculation in this function.
8612 (hildon_pannable_area_button_release_cb): launch the timeout in
8613 case we are in AUTO mode. There are still some constants here that
8614 come from the old implementation that should be reviewed and
8617 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8619 * doc/hildon-docs.sgml
8622 * src/hildon-stackable-window.c
8623 * src/hildon-stackable-window.h
8625 New HildonStackableWindow widget
8627 * examples/hildon-dialog-example.c
8628 * examples/hildon-pannable-area-example.c
8631 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8633 * src/hildon-dialog.c
8634 (hildon_dialog_new_with_buttons): New constructor.
8636 * examples/hildon-dialog-example.c
8637 (main): Update the example to use the new
8638 hildon_dialog_new_with_buttons().
8640 * examples/hildon-pannable-area-example.c
8641 (main): Update example.
8643 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8645 * doc/hildon-docs.sgml
8647 Added HildonPannableArea to the documentation.
8649 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8651 * doc/visual_index.xml
8652 Fix reference to HildonLoginDialog in documentation
8654 * doc/hildon-docs.sgml
8656 * examples/Makefile.am
8657 * examples/hildon-dialog-example.c
8659 * src/hildon-dialog.c
8660 * src/hildon-dialog.h
8662 New HildonDialog widget.
8664 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8666 * src/hildon-pannable-area.c
8667 Merge latest changes (r4318, r4342) from libmokoui trunk
8669 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8671 * examples/Makefile.am
8672 * examples/hildon-pannable-area-example.c
8674 * src/hildon-pannable-area.c
8675 * src/hildon-pannable-area.h
8677 New HildonPannableArea widget.
8679 2008-04-15 18:05:19 <timj@imendio.com>
8681 * src/hildon-banner.c: revert the recent change, that introduced
8682 gtk_window_present() calls. this reopens:
8683 Bug 78481 - [freetest] information banners are hidden under browser menu
8684 But resolves another variant of:
8685 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8687 2008-04-15 13:21:13 <timj@imendio.com>
8689 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8690 recreated its layout, spotted by Kris. this fixes all remaining
8691 artefacts and stability issues with the banner code. in particular:
8692 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8694 2008-04-14 16:52:59 <timj@imendio.com>
8696 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8697 operating on unrealized widgets, fixes:
8698 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8700 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8702 2008-04-09 Kristian Rietveld <kris@imendio.com>
8704 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8705 makes banner disappear.
8706 Fixes: NB#79182: info banner flickering with certain message lengts.
8708 * src/hildon-banner.c (hildon_banner_constructor),
8709 (hildon_banner_init), (hildon_banner_set_text),
8710 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8711 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8712 FALSE, reset size requests of label and banner,
8713 (force_to_wrap_truncated): when the text is too wide, always enforce
8714 the maximum possible width instead of recalculating it from the
8715 layout; enforce the maximum banner height of 3 lines,
8716 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8717 nicer wrapping and no truncated chars if space gets tight.
8719 * src/hildon-banner-private.h: add has_been_wrapped and
8720 has_been_truncated fields.
8722 2008-04-07 Sven Herzberg <sven@imendio.com>
8724 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8725 local values in hildon_date_editor_size_allocate
8727 * src/hildon-date-editor.c: moved the real allocation code into the
8730 2008-04-07 Sven Herzberg <sven@imendio.com>
8732 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8733 local values in hildon_date_editor_size_allocate
8735 * src/hildon-date-editor.c: merged the two if() branches together
8737 2008-04-07 Sven Herzberg <sven@imendio.com>
8739 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8740 local values in hildon_date_editor_size_allocate
8742 * src/hildon-date-editor.c: changed the arguments of the if()
8745 2008-04-07 Sven Herzberg <sven@imendio.com>
8747 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8748 local values in hildon_date_editor_size_allocate
8750 * src/hildon-date-editor.c: split the calculation of the allocation
8751 from the real allocation
8753 2008-03-27 Michael Natterer <mitch@imendio.com>
8755 Fixes: NB#81696: The passcode is not overwritten even after
8758 * src/hildon-code-dialog.c
8759 (hildon_code_dialog_button_clicked)
8760 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8761 because that doesn't overwrite selected text. Instead, emit the
8762 "commit" signal on the entry's im_context so the entry's normal
8763 insert logic is triggered. Set the cursor to the end of the entry
8764 after each insert operation so that we *only* insert in the middle
8765 of the text if something was selected.
8767 2008-03-27 Michael Natterer <mitch@imendio.com>
8769 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8770 selector cannot be opened
8772 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8773 when the popup color selector is created. Please connect to this
8774 signal in order to set the dialog's help ID.
8776 2008-03-25 Sven Herzberg <sven@imendio.com>
8778 Fixes: MB#1212: Hide info banners (infoprints) on click
8780 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8781 extracted the close event simulation into an extra function
8782 (hildon_banner_button_press_event): simulate a close event and destroy
8783 the widget if the event wasn't handled
8784 (hildon_banner_class_init): added the button_press_event handler
8785 (hildon_banner_init): added button-press events to the widget
8787 2008-03-25 Sven Herzberg <sven@imendio.com>
8789 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8790 Patch from: Mohammad Anwari <mdamt@maemo.org>
8792 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8793 instead of the right in RTL mode
8794 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8795 breadcrumb button list in RTL mode
8796 * src/hildon-caption.c: mirror the appearance of the caption widget in
8798 * src/hildon-date-editor.c: mirror appearance of the date editor in
8800 * src/hildon-time-editor.c: mirror appearance of the time editor in
8802 * src/hildon-window.c: fix the position of the popup in RTL mode
8804 2008-03-25 Sven Herzberg <sven@imendio.com>
8806 Amendment to the fix of NB#22072. Fix compilation.
8808 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8810 2008-03-19 Sven Herzberg <sven@imendio.com>
8812 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8815 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8816 timeout id properly when the timeout will disappear this leaves no
8817 artifacts around in the destroy(); there will only be the timeout
8818 created by hildon_banner_ensure_timeout() and adding a new timeout
8819 will also work if the timeout gets removed because the timeout_handler
8822 2008-03-19 Michael Natterer <mitch@imendio.com>
8824 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8826 * src/hildon-volumebar.c
8827 * src/hildon-vvolumebar.c
8828 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8829 the widget becomes focussable at all.
8831 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8832 set the focus to wither the mute button or the volumebar.
8834 Remove own "can-focus" property and instead listen to
8835 notify::can-focus in order to update the widget's state.
8837 Implement GtkWidget::focus() and make sure we can also *leave* the
8838 widget, not only enter it, depending on volumebar orientation and
8839 requested focus direction.
8841 Clean up set_mute() to cooperate nicely with all the above.
8843 2008-03-04 Michael Natterer <mitch@imendio.com>
8845 Fixes: NB#78481: information banners are hidden under browser menu
8847 * src/hildon-banner.c: call gtk_window_present() on the banners so
8848 they are risen if they are already visible.
8850 2008-03-03 Sven Herzberg <sven@imendio.com>
8852 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8854 * examples/hildon-window-menu-example.c: (main): extended the window
8855 menu example to serve as a testcase for automatically added
8856 accelerator groups, too
8857 * src/hildon-window.c: (hildon_window_add_accel_group),
8858 (hildon_window_set_menu): added patch by Tommi Komulainen
8860 2008-03-03 Sven Herzberg <sven@imendio.com>
8862 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8864 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8865 knowledge about the border allocators used within GTK+
8867 2008-02-26 Sven Herzberg <sven@imendio.com>
8869 Fixes: MB#2981: Build with asserts broken
8871 * src/hildon-date-editor.c,
8872 * src/hildon-number-editor.c,
8873 * src/hildon-time-editor.c,
8874 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8875 the proper GType instance check
8877 2008-02-25 Sven Herzberg <sven@imendio.com>
8879 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8881 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8882 * examples/hildon-window-menu-example.c: (main): explicitly show
8884 * src/hildon-window.c:
8885 (hildon_window_set_main_menu): moved most of the code from set_menu()
8886 to this place; skipped the call to gtk_widget_show_all(); also didn't
8887 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8888 (hildon_window_set_menu): removed most of the code, just keep the
8889 questionable gtk_widget_show_all()
8890 * src/hildon-window.h: added the new function and deprecate the old
8893 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8899 * debian/changelog: Updating.
8901 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8904 * pkgconfig/Makefile.am:
8905 * pkgconfig/hildon.pc.in:
8908 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8909 use newly created API_MAJOR_VERSION.
8911 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8917 * debian/changelog: Updating.
8919 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8921 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8923 Add outer_border style property, we use it but don't define it (!).
8927 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8929 * examples/hildon-bread-crumb-trail-example.c (main):
8933 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8935 Fix logic for the bread crumb trail node removal.
8939 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8945 * debian/changelog: Updating.
8947 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8949 Patch by Alejandro to get/set passwords dialogs accesibility.
8951 * hildon-1/src/hildon-get-password-dialog.c:
8952 * hildon-1/src/hildon-set-password-dialog.c:
8953 Set atk_set_name to the passwd entries in order to allow
8954 accessibility by name on this entries.
8956 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8961 * debian/control: Updating gtk dep.
8963 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8965 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8966 USE_MAEMO_GTK is enabled.
8968 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8970 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8971 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8973 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8979 * debian/changelog: Updating.
8981 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8983 * examples/Makefile.am:
8984 * examples/hildon-logical-color-example.c:
8985 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8986 applied + adding a test case. Fixes: NB#71660.
8988 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8990 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8991 to be visible, fixes warning on map for windows without toolbars.
8993 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8995 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8996 2.11.0, add a check for that besides the MAEMO_GTK check.
8998 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9004 * debian/changelog: Updating.
9006 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9009 visibility. Fixes: NB#70842 and MB#615.
9011 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9013 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9014 set the separator as no-show-all so it doesn't unintentionally appear when
9015 someone does a show_all.
9017 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9019 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9020 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9021 toplevel item. Fixes: NB#62031
9023 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9025 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9026 fix the name of the function in the docs.
9028 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * debian/changelog: Updating.
9036 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9038 * examples/hildon-banner-long-example.c: Adding a test-case for long
9041 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9043 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9045 * src/hildon-color-chooser-dialog.c:
9046 * src/hildon-color-chooser.c:
9047 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9048 memory leaks in font selector and color selector. Fixes: NB#70499 and
9051 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9053 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9055 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9057 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9058 little bit bigger. Fixes: #NB63694.
9060 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * debian/changelog: Updating.
9068 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9071 * doc/hildon-docs.sgml:
9072 * doc/images/bread-crumb-trail.png:
9073 * doc/images/calendar-popup.png:
9074 * doc/images/caption.png:
9075 * doc/images/code-dialog.png:
9076 * doc/images/color-button.png:
9077 * doc/images/color-chooser-dialog.png:
9078 * doc/images/color-chooser.png:
9079 * doc/images/controlbar.png:
9080 * doc/images/date-editor.png:
9081 * doc/images/font-selection-dialog.png:
9082 * doc/images/get-password-dialog.png:
9083 * doc/images/hvolumebar.png:
9084 * doc/images/login-dialog.png:
9085 * doc/images/note.png:
9086 * doc/images/number-editor.png:
9087 * doc/images/range-editor.png:
9088 * doc/images/seekbar.png:
9089 * doc/images/set-password-dialog.png:
9090 * doc/images/sort-dialog.png:
9091 * doc/images/time-editor.png:
9092 * doc/images/time-picker.png:
9093 * doc/images/vvolumebar.png:
9094 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9095 Adding the bread-crumb-trial and helpers to the documentation.
9097 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * examples/hildon-find-toolbar-example.c:
9100 * src/hildon-find-toolbar.c:
9101 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9102 actually continue firing the other handlers if connected. Adding a new
9104 hildon_find_toolbar_get_last_index that gets the index of the most
9105 recently added (last) item. Fixes: NB#52301.
9107 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9110 behaviour. Fixes: NB#68610.
9112 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9117 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9120 when realizing the banner. Should make the infonbanner effect a bit more
9123 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * src/hildon-volumebar.c:
9126 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9127 hildon_volumebar_set_range_insensitive_message and
9128 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9130 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9132 * src/hildon-window.c: Fixing the border freeing on destroy.
9134 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9136 * src/hildon-code-dialog-private.h:
9137 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9138 kw keyboard support in HildonCodeDialog.
9140 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9146 * debian/changelog: Updating.
9148 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9150 * src/hildon-date-editor.c:
9151 * src/hildon-number-editor.c:
9152 * src/hildon-private.c:
9153 * src/hildon-private.h:
9154 * src/hildon-time-editor.c:
9155 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9156 handling in subclassed composite widgets. Fixes: NB#66628.
9158 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9161 from destroy_ callback as it introduces problems in async dbus signal
9162 handlers. Fixes NB#66673.
9164 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9166 * examples/hildon-hvolumebar-example.c:
9167 * src/hildon-volumebar.c: Improving the focus handling in the
9168 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9169 set_property accessor so that "mute" property can be actually set. I'm
9170 scared that nobody noticed it's totally broken.
9172 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9177 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9179 * src/hildon-calendar.c:
9180 * src/hildon-number-editor.c:
9181 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9182 matches the spec of 6 chars per second. Fixes: NB#60489.
9184 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9186 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9187 gtk_style_lookup_color sometime returns FALSE even though color was
9188 found and values were filled properly. Weird. Removing the warning for the
9191 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9194 expand vertically. Adding some extra space to the find toolbar buttons to
9195 make them thumbable. Fixes NB#66060.
9197 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9199 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9200 popup with "Ok" and "Cancel". Fixes NB#59299.
9202 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9204 * src/hildon-calendar.c: Process all window updates before executing next
9205 timeout. Fixes: NB#54146.
9207 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9213 * debian/changelog: Updating.
9215 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9217 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9218 the client event and ignore it, since we use the delete event to close
9221 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * src/hildon-helper.c: Remove the bogus warning about color not being
9224 found. Fixes NB#58352.
9226 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9228 * examples/Makefile.am:
9229 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9230 HildonSeekbar widget inside a toolbar.
9232 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9234 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9235 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9236 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9237 don't want to be closed by non-temporary windows on map.
9239 Also use G_DEFINE_TYPE instead of manually typed code.
9241 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9248 * debian/rules: Updating.
9250 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9252 * examples/Makefile.am:
9253 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9254 bug NB#61128. Strangely it works.
9256 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9258 * src/hildon-date-editor.c: When the date editor entry has been changed
9259 but the numbers of characters < max, turn off the skip validation flag.
9260 Prevents a situation when we enter first a valid year and later re-write
9261 it with an invalid one. Fixes NB#60154.
9263 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9266 code dialog. Fixes NB#64355.
9268 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9271 switching the page. Fixes NB#49374.
9273 * examples/Makefile.am:
9274 * examples/hildon-wizard-dialog-example.c: Adding an example for
9275 HildonWizardDialog that shows how to handle manual sensitivity setting on
9278 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * src/hildon-version.h.in:
9283 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9285 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9287 * src/hildon-volumebar.c: Updating the docs.
9289 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9295 * debian/changelog: Updating.
9297 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9299 * src/hildon-find-toolbar.c:
9300 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9301 selected item: hildon_find_toolbar_set_active,
9302 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9303 hildon_find_toolbar_get_active_iter . They correspond to respective
9304 GtkComboBox functions.
9306 * examples/Makefile.am:
9307 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9310 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9312 * examples/Makefile.am:
9313 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9316 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9317 when font size > 32 and we pack a focusable widget inside. Actually using
9318 the default response would work too, but since we don't show default
9319 response state in any way (no theming) it would not be visible to the
9320 user. Fixes NB#63430.
9322 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9324 * src/hildon-date-editor.c: Adding the missing variable setter in the
9325 set_property handler. Fixes NB#54182.
9327 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9329 * src/hildon-window.h: Changing the long key press time from 1500ms to
9330 800ms as requested in NB#63700. I have a bad feeling about this, let's
9331 see... Fixes NB#63700.
9333 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9335 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9336 hildon_time_picker_map, hildon_time_picker_realize,
9337 hildon_time_picker_style_set): Split the contents of map to more
9338 appropriate functions; set window decorations on realize and update
9339 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9341 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9346 * debian/changelog: Updating.
9348 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9350 * src/Makefile.am: fixed installation of the header files
9352 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9358 * debian/changelog: Updating.
9360 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9362 * configure.ac: Removing some remaining of --enable-xan.
9364 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9366 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9367 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9369 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9370 2.10.12-osso6 because the move-focus signal needs to be available in
9373 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9375 * examples/Makefile.am:
9376 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9377 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9378 fine. Prolly NB#61128 is fixed now.
9380 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9382 * src/hildon-volumebar.c:
9383 * src/hildon-volumebar.h: Adding the
9384 hildon_volumebar_set_range_insensitive_message and
9385 hildon_volumebar_set_range_insensitive_messagef functions to set
9386 insensitive message on the slider of the volumebar. Fixes NB#61129.
9388 * examples/Makefile.am:
9389 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9390 test the new insensitive messsage functionality on HildonVolumebar.
9392 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9394 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9397 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9399 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9400 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9401 button on after clearing the trail.
9403 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9405 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9407 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9409 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9410 by splitting the installed headers in generated and non-generated groups. Use
9411 only the non-generated headers to create the hildon-enum-types.h file.
9413 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9415 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9417 * src/hildon-window.c: Hide the window before performing the destroy.
9418 Should make the app closing a little tiny bit more snappy.
9420 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9422 * src/hildon-seekbar.c: add gtkrange.h header
9423 * src/hildon-caption.c: remove unused variable
9425 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9427 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9430 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9436 * debian/changelog: Updating.
9438 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9440 * src/hildon-window.c (hildon_window_window_state_event,
9441 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9442 escape timeout on focus-out-event rather than notify::is-topmost; the
9443 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9445 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9447 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9448 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9450 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9452 * src/hildon-window: actually, you need to use the macro always, there's
9453 no private pointer in the instance structure. We should have cleaned this up
9454 when we had the chance...
9456 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9458 * src/hildon-window.c: do not get the private date from HildonWindow before
9459 it passes the g_return_if_fail check. Once it's passed the test, there's no
9460 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9461 if you are only going to access the data once. Whitespace cleanups.
9463 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9465 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9466 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9468 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9474 * debian/changelog: Updating.
9476 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9478 * src/hildon-window.c: When destroying the window, remove (if exists) the
9479 escape timeout handler. Fixes #NB59276.
9481 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9483 * src/hildon-banner.c: When realizing the widget, set the window
9484 transiency. Setting the transiency in the gobject constructor is not
9485 good, as the widget is not realized at that point. Fixes: #NB56624.
9487 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9489 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9490 Add padding for future expansions.
9492 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9494 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9495 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9496 will fake an activation on the previous to the last item of the trail, so
9497 the effect can be overrided by the developer as usual.
9498 Also change the callback for the back button to do the same thing, so its
9499 effect can be overrided too. Fixes: NB#58982
9501 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9503 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9504 HildonCaption. Fixes NB#52379.
9506 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9508 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9509 the internal state of the trail after the user has had the chance of executing
9510 his handler for the signal. Specifically, it may happen that the activated button
9511 is removed and the user still lets the default handler run. This would segfault
9514 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9516 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9517 scrollbar to the preview dialog. Fixes NB#54147.
9519 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9521 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9522 max/min year properties can be altered, so the client can modify it
9523 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9525 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9527 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9528 hildonlike by default. Fixing a problem with disappearing arrows when
9529 scrolling through months and years. Fixes NB#54127.
9531 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9533 * examples/hildon-date-editor-example.c: Adding error callback to the date
9536 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9542 * configure.ac: Updating.
9544 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9546 * configure.ac: Adding a special '--enable-xan' configure option that
9547 turns off the -Werror compilation setting. Usefull for development.
9549 * src/hildon-calendar.c:
9550 * src/hildon-number-editor.c:
9551 * src/hildon-time-picker.c: Adding the 5* multiplier to
9554 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9556 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9557 instead of g_object_ref + gtk_object_sink.
9559 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9565 * debian/changelog: Updating.
9567 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9569 * src/hildon-color-chooser-dialog.c:
9570 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9571 straight from Tommi labs.
9573 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9575 * examples/hildon-finger-example.c: Correcting the header file path.
9577 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9578 the changed signal. Fixes a small memory leak.
9580 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9584 * src/hildon-banner.c: Importing several usefull fixes from the
9585 ubuntu-mobile branch.
9587 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9589 * examples/Makefile.am:
9590 * examples/hildon-finger-example.c: Adding a finger-checking code
9593 * src/hildon-font-selection-dialog.c: Do not allocate the color
9594 structure using the g_new. Fixes NB#54061.
9596 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9598 * src/hildon-helper.c: Correcting tabs in file.
9600 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9602 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9603 control the visibility of the children.
9605 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9607 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9613 * debian/changelog: Updating.
9615 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9617 * src/hildon-bread-crumb-trail.c:
9618 (hildon_bread_crumb_trail_size_allocate):
9620 Make the back button always a square.
9622 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9624 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9625 from the .c file as it's a private file.
9627 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9629 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9630 uses slightly bigger height.
9632 * src/hildon-font-selection-dialog.c: Adding some checks before
9633 freeing memory in the font selection dialog.
9635 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9637 * src/hildon-font-selection-dialog.c: Adding a small check when
9640 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9641 buttons sensitivity on page switching.
9643 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9645 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9646 internal details of adding a bread crumb to the trail.
9648 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9654 * debian/changelog: Updating.
9656 * src/hildon-bread-crumb-trail.h:
9657 * src/hildon-bread-crumb.h: Changing the API guard to
9658 HILDON_ENABLE_UNSTABLE_API.
9660 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9668 * src/hildon-helper.h: Updating.
9670 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9678 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9682 * src/hildon-helper.h: Small fix to make the package actually compile.
9684 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9686 * src/hildon-bread-crumb-trail.h:
9687 * src/hildon-bread-crumb.h:
9689 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9690 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9692 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9694 * examples/hildon-bread-crumb-trail-example.c:
9696 * src/hildon-bread-crumb-trail.c:
9697 * src/hildon-bread-crumb-trail.h:
9698 * src/hildon-bread-crumb.c:
9699 * src/hildon-bread-crumb.h:
9700 * src/hildon-marshalers.list:
9701 * src/hildon-bread-crumb-widget.c:
9702 * src/hildon-bread-crumb-widget.h:
9704 Slight change in the widget design. The bread crumb trail API is
9705 unchanged, but HildonBreadCrumb is now an interface. A *private*
9706 implementation, hildon-bread-crumb-widget, is provided and used
9707 internally by the trail for the push_text/push_icon functions.
9709 The generic push API is still available, so anyone can implement
9710 and use its own bread crumb widget.
9712 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9714 * debian/rules: Fixing the shlibs.
9716 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9718 * src/hildon-banner.c: Fixing a problem with timed banners having
9719 their parrent destroyed before they are.
9721 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9723 * src/hildon-bread-crumb.c:
9724 * src/hildon-bread-crumb.h:
9726 Make the get_natural_size function a vfunc.
9728 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9730 * src/hildon-bread-crumb.c:
9731 * src/hildon-bread-crumb-trail.c:
9735 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9742 * debian/changelog: Updating for release.
9744 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9746 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9747 don't leak the pango layout.
9749 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9752 * examples/hildon-bread-crumb-trail-example.c:
9756 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9758 * debian/changelog: Removing the bug-fixed entries that were actually
9759 resolved as WONTFIX.
9761 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9764 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9766 * src/hildon-bread-crumb-trail.c:
9767 * src/hildon-bread-crumb-trail.h:
9768 * src/hildon-bread-crumb.c:
9769 * src/hildon-bread-crumb.h:
9773 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9775 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9776 until it's passed the type check.
9778 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9780 * examples/hildon-bread-crumb-trail-example.c
9784 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9786 * examples/Makefile.am
9787 * examples/hildon-bread-crumb-trail-example.c
9789 * src/hildon-bread-crumb-trail.c
9790 * src/hildon-bread-crumb-trail.h
9791 * src/hildon-bread-crumb.c
9792 * src/hildon-bread-crumb.h
9794 New HildonBreadCrumbTrail widget.
9796 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9798 * src/hildon-range-editor.c (hildon_range_editor_init),
9799 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9800 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9801 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9802 hildon_time_editor_class_init, hildon_time_editor_init),
9803 src/hildon-get-password-dialog.c (invalid_input,
9804 hildon_get_password_set_property, hildon_get_password_get_property,
9805 create_contents, hildon_get_password_dialog_set_max_characters),
9806 src/hildon-set-password-dialog.c (create_contents),
9807 src/hildon-date-editor.c (hildon_date_editor_init),
9808 src/hildon-login-dialog.c (hildon_login_dialog_init),
9809 src/hildon-number-editor.c (hildon_number_editor_init),
9810 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9811 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9812 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9813 configure option and adding the respective checks in the code.
9814 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9815 hildon_calendar_drag_data_received): fixed some build warnings.
9817 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9819 * debian/changelog: A 1.0.0 release notes.