1 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
3 Do not set any flag for empty legacy menus
5 * hildon/hildon-program.c: (hildon_program_set_common_menu):
6 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
7 This will probably not work fine with empty legacy menus added to
8 programs or windows and populated later, but so it's life.
10 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
12 Update the application menu flag for application-wise windows
14 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
15 (hildon_program_set_common_app_menu): Also take into account the visibility
18 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
20 Emit HildonAppMenu::changed when menu items change visibility
22 * hildon/hildon-app-menu.c: (item_visibility_changed),
23 (filter_visibility_changed): Also emit ::changed on
24 visibility of items changed.
26 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
28 Do not set the menu flag in a window when a menu is empty
30 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
31 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
32 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
33 changes by using the HildonAppMenu::changed signal.
35 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
37 Add HildonAppMenu::changed signal
39 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
40 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
41 Emit a new HildonAppMenu:changed signal when there are changes in
44 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
46 Add hildon_app_menu_has_visible_children() private method
48 * hildon/hildon-app-menu-private.h: Add below private method.
49 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
50 New method to check the visibility of a HildonAppMenu children.
52 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
54 Set the window menu flag for application-common menus
56 * hildon/hildon-program.c:
57 (+hildon_program_window_set_common_menu_flag): Set or remove the
58 menu flag from a window only this doesn't have its own menu.
59 (+hildon_program_set_common_menu_flag): adjust menu flag for
60 all windows in the program.
61 (hildon_program_add_window),
62 (hildon_program_remove_window): add/remove the menu flag when
63 a window is added to the program.
65 Fixes: NB#137814 (Indicator for view menu in app title area)
67 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
69 Set a special window property for windows with menus
71 * hildon/hildon-window-private.h: Add private
72 hildon_window_set_menu_flag()
73 * hildon/hildon-window.c: (+do_set_has_menu),
74 (+hildon_window_set_menu_flag): set
75 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
76 or remove the property.
77 (hildon_window_set_main_menu),
78 (hildon_window_set_app_menu): call above methods to set or remove
79 the property when a menu is added or removed from the window.
81 Partially fixes: NB#137814 (Indicator for view menu in app title area)
83 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
85 Rename and move the methods to set flags to hildon-private.h
87 * hildon/hildon-gtk.c: (do_set_progress_indicator),
88 (do_set_do_not_disturb), (do_set_portrait_flags): call
89 the new private method hildon_gtk_window_set_clear_window_flag()
90 (hildon_gtk_window_set_progress_indicator),
91 (hildon_gtk_window_set_do_not_disturb),
92 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
93 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
94 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
96 * hildon/hildon-private.h: Add the two new private methds.
98 2009-09-11 Alejandro G. Castro <alex@igalia.com>
100 * hildon/hildon-pannable-area.c,
101 (hildon_pannable_area_init),
102 (hildon_pannable_area_size_allocate),
103 (hildon_pannable_area_button_release_cb): More tuning of the
104 speed, adding a way to calculate the acceleration and fast-panning
105 based on the child size.
107 2009-09-10 Alberto Garcia <agarcia@igalia.com>
109 * hildon/hildon-touch-selector.c
110 (hildon_touch_selector_class_init):
111 Documentation updates
115 2009-09-10 Alberto Garcia <agarcia@igalia.com>
117 * hildon/hildon-touch-selector.c:
118 Documentation updates
120 Fixes: MB#5104 (HildonTouchSelector docs should say no
121 HildonPannableArea is necessary)
123 2009-09-08 Alejandro G. Castro <alex@igalia.com>
125 * hildon/hildon-pannable-area.c,
126 (hildon_pannable_area_timeout): Fixed problem with the timeout
127 function, we need to move before decelerating the first time or we
128 are loosing the first jump.
130 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
132 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
134 [2.2.0 Release Candidate 3]
136 * debian/changelog: updates
138 2009-09-07 Alejandro G. Castro <alex@igalia.com>
140 * hildon/hildon-pannable-area.c,
141 (hildon_pannable_area_class_init): Increased max speed.
143 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
145 [2.2.0 Release Candidate 2]
148 * debian/changelog: bump version, updates
150 2009-09-07 Alejandro G. Castro <alex@igalia.com>
152 * hildon/hildon-pannable-area.c,
153 (hildon_pannable_area_class_init),
154 (hildon_pannable_area_button_release_cb): More tuning for the
157 2009-09-07 Alejandro G. Castro <alex@igalia.com>
159 * hildon/hildon-pannable-area.c,
160 (hildon_pannable_area_class_init):
161 Change the default value of the scrollbar_fade_delay.
163 Fixes: NB#127018 (Panning indicator fades out too slowly)
165 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
167 [2.2.0 Release Candidate 1]
170 * configure.ac: Bump version
171 * debian/changelog: updates
173 2009-09-04 Alejandro G. Castro <alex@igalia.com>
175 * hildon/hildon-pannable-area.c,
176 (hildon_pannable_area_init),
177 (hildon_pannable_area_button_press_cb),
178 (hildon_pannable_area_button_release_cb): Added a new acceleration
179 system to help traversing big lists, tuned the stop threshold.
181 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
183 2009-09-04 Alberto Garcia <agarcia@igalia.com>
185 * hildon/hildon-window.h:
186 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
188 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
190 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
194 * configure.ac: bump version
196 * debian/changelog: updates
198 2009-09-04 Alberto Garcia <agarcia@igalia.com>
200 * hildon/hildon-entry.c
201 * hildon/hildon-text-view.c:
202 Documentation updates
204 2009-09-04 Alberto Garcia <agarcia@igalia.com>
206 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
207 Redraw menu when the number of items change.
209 Fixes: NB#131911 (Appmenu does not resize properly, when number of
212 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
214 * hildon/hildon-pannable-area.c:
215 (hildon_pannable_area_launch_fade_timeout),
216 (hildon_pannable_area_motion_event_scroll),
217 (hildon_pannable_area_check_move),
218 (hildon_pannable_area_button_release_cb),
219 (hildon_pannable_area_scroll_to):
221 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
222 area drawing operations, since this is the recommended for drawing
225 Fixes: NB#110894 (In event view containing very large description
226 field, application menu is displayed blank while panning)
227 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
230 2009-09-03 Alberto Garcia <agarcia@igalia.com>
232 * doc/hildon-sections.txt
233 * hildon/hildon-button.c
234 * hildon/hildon-edit-toolbar.c
235 * hildon/hildon-gtk.[ch]
236 * hildon/hildon-main.c
237 * hildon/hildon-program.c
238 * hildon/hildon-stackable-window.c:
239 Documentation updates
241 2009-08-28 Alberto Garcia <agarcia@igalia.com>
243 * hildon/hildon-app-menu.c
244 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
245 Close the menu if it receives a grab-notify signal.
247 Fixes: NB#134533 (UI freezes if we show a dialog with
248 gtk_dialog_run() while a menu is opened)
250 2009-08-27 Alejandro G. Castro <alex@igalia.com>
252 * hildon/hildon-pannable-area.c,
253 (hildon_pannable_area_class_init): Reverted tuning modifications:
254 "Pannign needs to be faster" and "Pannable kinetics in large lists
257 2009-08-26 Alberto Garcia <agarcia@igalia.com>
259 * hildon/hildon-sound.c (hildon_play_system_sound):
260 Set "module-stream-restore.id" to "x-maemo-system-sound" when
261 playing system sounds
263 Fixes: NB#133767 (Information and confirmation note sound should
264 follow system profile setting)
266 2009-08-26 Alejandro G. Castro <alex@igalia.com>
268 * hildon/hildon-pannable-area.c,
269 (hildon_pannable_area_class_init): Added more force and increased
270 the max speed threshold.
272 Fixes: NB#135344 (Pannign needs to be faster)
274 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
276 [Release 2.1.96, this time for real]
279 * debian/changelog: updates
281 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
283 * hildon/hildon-pannable-area.c
284 (hildon_pannable_area_get_topmost): change the computation of the
285 co-ordinates transformed when no one of the children is a topmost
287 Fixes: NB#133252 (Opening any feed item from RSS always opens the
288 first feed item in browser)
290 2009-08-26 Alejandro G. Castro <alex@igalia.com>
292 * hildon/hildon-pannable-area.c,
293 (hildon_pannable_area_remove_timeouts): Adding this new function
294 with the code that removes the timeouts of the widget.
295 (hildon_pannable_area_dispose),
296 (hildon_pannable_area_unrealize): Use the new remove function to
297 stop timeouts when unrealizing and disposing.
298 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
299 calculation to avoid negative values in some cases.
301 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
303 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
305 * examples/hildon-check-button-example.c: (button_toggled_cb):
306 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
307 (hildon_check_button_set_active), (hildon_check_button_new),
308 (hildon_check_button_clicked), (hildon_check_button_class_init):
309 * hildon/hildon-check-button.h:
310 * hildon/hildon-set-password-dialog.c: (create_contents),
311 (hildon_set_password_response_change), (hildon_checkbox_toggled):
313 Revert "Make HildonCheckButton derive from GtkToggleButton"
315 2009-08-21 Alberto Garcia <agarcia@igalia.com>
319 * configure.ac: bump version
321 * debian/changelog: updates
323 2009-08-21 Alberto Garcia <agarcia@igalia.com>
325 * hildon/hildon-check-button.h
326 * hildon/hildon-check-button.c
327 (hildon_check_button_clicked, hildon_check_button_class_init):
328 Make HildonCheckButton derive from GtkToggleButton
329 (hildon_check_button_toggled, hildon_check_button_set_active)
330 (hildon_check_button_get_active):
331 Deprecate unnecessary HildonCheckButton API and use the
332 one from GtkToggleButton instead.
334 * hildon/hildon-set-password-dialog.c (create_contents)
335 (hildon_set_password_response_change, hildon_checkbox_toggled)
336 * examples/hildon-check-button-example.c (button_toggled_cb):
337 Update to use the GtkToggleButton API
339 Fixes: MB#4739 (HildonCheckButton should inherit from
342 Fixes: NB#132661 (HildonCheckButton should inherit from
345 2009-08-20 Alberto Garcia <agarcia@igalia.com>
347 * hildon/hildon-pannable-area.c
348 (hildon_pannable_area_class_init):
349 Increase default value of HildonPannableArea:velocity_max to 2000
351 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
353 2009-08-18 Alberto Garcia <agarcia@igalia.com>
357 * configure.ac: bump version
359 * debian/changelog: updates
361 2009-08-11 Alejandro G. Castro <alex@igalia.com>
363 * hildon/hildon-pannable-area.c
364 (hildon_pannable_area_size_allocate): Checked the scrollbars
365 before the first try when defining the layout, avoids two
366 allocations in some situations.
368 Fixes: NB#131794 (pannable area produces unnecessary allocations
369 causing performance problems)
371 2009-08-11 Alejandro G. Castro <alex@igalia.com>
373 * hildon/hildon-pannable-area.c
374 (hildon_pannable_area_button_press_cb),
375 (hildon_pannable_area_motion_notify_cb),
376 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
377 the spurious ref added in the copy, fixes leak of window.
379 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
380 if it's realized without showing and then deleted)
382 2009-08-10 Alberto Garcia <agarcia@igalia.com>
386 * configure.ac: bump version
388 * debian/changelog: updates
390 2009-08-06 Alberto Garcia <agarcia@igalia.com>
392 * examples/hildon-hvolumebar-timer-example.c
394 * hildon/hildon-banner.c
395 (hildon_banner_timeout, hildon_banner_ensure_timeout)
396 * hildon/hildon-calendar.c
397 (calendar_timer, start_spinning)
398 * hildon/hildon-color-chooser.c
399 (inline_limited_expose)
400 * hildon/hildon-date-editor.c
401 (hildon_date_editor_entry_focus_in)
402 (hildon_date_editor_entry_validate)
403 (hildon_date_editor_entry_select_all)
404 * hildon/hildon-note.c
406 * hildon/hildon-number-editor.c
407 (hildon_number_editor_button_pressed)
408 (hildon_number_editor_start_timer, do_mouse_timeout),
409 (add_select_all_idle, hildon_number_editor_select_all)
410 * hildon/hildon-time-editor.c
411 (hildon_time_editor_entry_focus_in)
412 (highlight_callback, hildon_time_editor_validate)
413 (hildon_time_editor_entry_select_all)
414 * hildon/hildon-time-picker.c
415 (hildon_time_picker_arrow_press)
416 (hildon_time_picker_key_repeat_timeout)
417 * hildon/hildon-window.c
418 (hildon_window_key_press_event)
419 (hildon_window_escape_timeout):
420 Replace all calls to g_idle_add/g_timeout_add with their
421 gdk_threads counterparts.
423 Fixes: NB#126198 (gdk-threads API should be used to install idle
424 and timeout handlers)
426 2009-08-06 Alejandro G. Castro <alex@igalia.com>
428 * hildon/hildon-pannable-area.c,
429 (hildon_pannable_area_class_init): Increased the overshooting max
430 speed to get a faster effect.
431 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
432 deceleration of the overshooting
433 (hildon_pannable_area_button_release_cb): Calculate initial
434 overshooting speed when finger on the screen using the distance to
435 launch the effect faster.
437 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
438 lists with slow row renderers)
440 2009-08-05 Alberto Garcia <agarcia@igalia.com>
442 * doc/hildon-sections.txt: Add new functions
444 2009-08-05 Alberto Garcia <agarcia@igalia.com>
446 * hildon/hildon-text-view.[ch]
447 * hildon/hildon-entry.[ch]:
448 Add deprecation guards around deprecated functions.
450 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
452 * hildon/hildon-app-menu.c: Remove leftover function declaration.
454 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
456 Remove the grab from HildonAppMenu
458 * hildon/hildon-app-menu.c:
459 Now hildon-desktop places a blocker window behind the menu to handle
460 its closing, so the grab is no longer needed. This simplifies its
461 implementation and allows the system blanking to succeed.
463 Fixes: NB#130910 (Screen gets unlocked when menu is open)
465 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
469 * configure.ac: bump version
471 * debian/changelog: updates
472 * debian/control: raise debian dependency on GTK+
474 2009-08-04 Alberto Garcia <agarcia@igalia.com>
476 * hildon/hildon-text-view.c
477 * hildon/hildon-entry.c:
478 Remove all placeholder code from HildonEntry and HildonTextView
479 and use the API in GtkEntry and GtkTextView instead.
481 * examples/hildon-entry-example.c
482 * examples/hildon-text-view-example.c
483 * examples/hildon-wizard-dialog-example.c
484 * hildon/hildon-get-password-dialog.c
485 * hildon/hildon-login-dialog.c
486 * hildon/hildon-picker-dialog.c
487 * hildon/hildon-set-password-dialog.c
488 * hildon/hildon-touch-selector-entry.c:
489 Replace all deprecated calls to HildonEntry and HildonTextView
490 with their Gtk counterparts.
492 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
495 2009-08-03 Alejandro G. Castro <alex@igalia.com>
497 * hildon/hildon-pannable-area.c,
498 (hildon_pannable_area_check_move),
499 (hildon_pannable_area_button_release_cb),
500 (hildon_pannable_area_scroll_to): Reverted the priority change of
501 the timeout, in some situations, slow renderers, the click do not
502 make it to the mainloop on time.
504 Fixes NB#131013 (unable to stop panning file manager by tapping on
507 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
509 * configure.ac: bump version
511 * debian/changelog: updates
513 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
515 * hildon/hildon-touch-selector.[ch]
516 (hildon_touch_selector_center_on_index): New method that allows to center
517 on a item not selected
519 Fixes NB#130291 (New HildonTouchSelector API is required to center on
522 2009-07-29 Alberto Garcia <agarcia@igalia.com>
524 * hildon/hildon-text-view.c
525 (+set_logical_color, +hildon_text_view_style_set)
526 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
527 (hildon_text_view_init)
528 * hildon/hildon-entry.c
529 (+set_logical_color, +hildon_entry_style_set)
530 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
531 (hildon_entry_class_init, hildon_entry_init)
532 * hildon/hildon-button.c
533 (+set_logical_font, +set_logical_color)
534 (hildon_button_style_set, hildon_button_init)
535 (hildon_button_set_arrangement, hildon_button_set_style):
536 Remove all calls to hildon_helper_set_logical_font() and
537 hildon_helper_set_logical_color(), which are recursive, from
540 Fixes: NB#123409 (Showing dialog consumes significant amount of
543 2009-07-29 Alejandro G. Castro <alex@igalia.com>
545 * hildon/hildon-pannable-area.c,
546 (hildon_pannable_area_timeout): Added the process updates of the
547 scrollbars window in the pannable.
549 Fixes: NB#130043 (scrollindicator not smooth while panning)
551 2009-07-23 Alejandro G. Castro <alex@igalia.com>
553 * hildon/hildon-pannable-area.c,
554 (hildon_pannable_area_check_move),
555 (hildon_pannable_area_button_release_cb),
556 (hildon_pannable_area_scroll_to): Increased the priority of the
557 timeout this way it is going to be handled before the events.
559 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
563 * configure.ac: bump version
564 * debian/changelog: updates
566 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
568 * hildon/hildon-entry.c: (set_property): Do not allow to set
569 automatic height and use finger height instead, to prevent an to
570 have a smaller size than than its theme pixbuf.
572 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
574 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
576 * configure.ac: postrelease version bump.
577 * debian/changelog: post release version bump
579 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
584 * configure.ac: Bump version.
585 * debian/changelog: Updates.
587 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
589 * hildon/hildon-note.c: (label_size_request): Take the note
590 padding into account when setting the size request.
592 Fixes: NB#127896 (Information notes text truncated)
594 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
596 * configure.ac: postrelease version bump.
597 * debian/changelog: post release version bump
599 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
604 * configure.ac: Bump version.
605 * debian/changelog: Updates.
607 2009-07-16 Alejandro G. Castro <alex@igalia.com>
610 * hildon/hildon-text-view.c,
611 (hildon_text_view_button_press_event): Grabbed the focus in button
612 press, this way we are sure the widget has the focus in the
613 release event, required for HIM.
615 Fixes: NB#121445 (Virtual keyboard opening is not working in same
616 way for each text entry field)
618 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
620 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
621 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
622 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
623 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
624 (hildon_pannable_area_[gs]et_center_on_child_focus)
625 Redefined GtkContainer set-focus-child signal, in order to center
626 properly on a child when it receives the focus. Defined a new property
627 "center-on-child-focus" in order to activate this feature (deactivated
628 by default). Public get/set methods defined to manage the property.
630 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
632 2009-07-14 László Pere <lpere@blumsoft.eu>
634 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
635 the new size is applied.
637 Fixes: NB#124510 (The Application Menu is distorted when switched
638 between portrait and landscape mode)
639 Fixes: NB#115388 (Power key menu does not resize itself)
641 2009-07-01 Alberto Garcia <agarcia@igalia.com>
643 * hildon/hildon-banner.c (hildon_banner_map):
644 Set banner position after mapping.
646 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
648 * configure.ac: postrelease version bump.
649 * debian/changelog: post release version bump
651 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
656 * configure.ac: Bump version.
657 * debian/changelog: Updates.
659 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
661 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
664 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
666 * tests/check-hildon-banner.c
668 * tests/test_suites.h
669 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
670 were testing deprecated functions.
671 * examples/hildon-banner-example.c: typo on button3 type, that causes
672 a fail compiling with --with-examples but without --disable-deprecated
674 Missed commit in order to fix compilation using '--enable-fatal' and
675 '--disable-deprecated' (see previous commit)
677 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
679 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
680 functions with #ifndef HILDON_DISABLE_DEPRECATED
681 * examples/hildon-find-toolbar.c: Protect deprecated
682 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
683 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
684 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
685 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
687 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
688 to allow proper compilation of deprecated functions defined on the header
690 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
692 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
694 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
695 Cache the panning indicator color.,
696 (hildon_pannable_area_style_set): Query the color on style changes.
697 (hildon_pannable_draw_vscroll),
698 (hildon_pannable_draw_hscroll),
699 (hildon_pannable_area_expose_event): Use the cached panning indicator
700 color instead of looking it up on every expose and more.
702 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
704 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
705 (hildon_pannable_draw_hscroll),
706 (hildon_pannable_area_expose_event): Fix the panning indicator color,
707 so that it's "SecondaryTextColor", as desired.
709 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
711 * hildon/hildon-picker-dialog.c:
712 (selection_completed): take into account HILDON_UI_MODE_NORMAL
713 * hildon/hildon-touch-selector.c
714 (hildon_touch_selector_init): Initialize hildon-ui-mode
715 (hildon_touch_selector_row_activated): new callback for the
716 "row-activated" signal, in order to save the last activated
717 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
718 if the current hildon-ui-mode is coherent with the touch selector
719 (hildon_touch_selector_class_init)
720 (hildon_touch_selector_get_property)
721 (hildon_touch_selector_set_property)
722 Added "hildon-ui-mode" property
723 (disconnect_model_handlers): renamed to clean_column
724 (hildon_touch_selector_remove): use clean_column function
725 (_create_new_column): use the hildon-ui-mode to create the treeview, and
726 only select the first element on HILDON_UI_MODE_EDIT
727 (hildon_touch_selector_column_init): Initialize last_activate
728 (hildon_touch_selector_append_column): check that the touch selector
729 is coherent with the current hildon-ui-mode
730 (hildon_touch_selector_get_hildon_ui_mode)
731 (hildon_touch_selector_set_hildon_ui_mode)
732 Added a getter/setter for the hildon-ui-mode property
733 (hildon_touch_selector_get_last_activated_row): Added this method in
734 order to get the last activated row.
735 * examples/hildon-touch-selector-normal-mode-example.c
736 New example, that shows how to use the HildonTouchSelector in
737 HILDON_UI_MODE_NORMAL
739 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
740 Kristian Rietveld <kris@lanedo.com> advices
742 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
744 * hildon/hildon-time-selector.c: (update_format_policy): Do
745 not call update_format_dependant_columns() if not necessary.
746 (update_format_dependant_columns): Remove unnecessary check for
747 the number of columns.
749 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
751 * hildon/hildon-note.c (+hildon_note_constructor),
752 (hildon_note_class_init), (+hildon_note_set_padding),
753 (hildon_note_rebuild): Install a constructor where to set the
754 padding properties in the note, so that it actually works fine.
755 Use hildon_note_set_padding() for this, and also to set it during
758 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
760 * configure.ac: Bump GTK+ requirement to 2.14.3.
761 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
762 when using maemo-gtk to define proper margins for the notes.
764 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
765 with the dialog edge)
767 2009-06-24 Alberto Garcia <agarcia@igalia.com>
769 * hildon/hildon-banner.c
770 (hildon_banner_class_init):
772 (+hildon_banner_size_request):
773 Request always the full width of the screen.
774 (hildon_banner_realize)
775 (-hildon_banner_check_position, hildon_banner_map):
776 hildon_banner_check_position() is not needed in Hildon 2.2.
777 (-hildon_banner_reset_wrap_state)
778 (hildon_banner_constructor, hildon_banner_init):
779 Remove unnecessary calls to hildon_banner_reset_wrap_state()
780 (+banner_do_set_text)
781 (force_to_wrap_truncated):
782 Remove has_been_wrapped and has_been_truncated attributes.
783 (+reshow_banner, hildon_banner_real_show_information)
784 (hildon_banner_show_information_with_markup)
785 (hildon_banner_show_animation, hildon_banner_show_progress)
786 (hildon_banner_set_text, hildon_banner_set_markup):
787 Refactor code. Shrink banner vertically to use the minimum space
788 necessary everytime the text of the label is updated.
789 (screen_size_changed):
790 Call force_to_wrap_truncated() when the size of the screen
793 Fixes: NB#120500 (only device memory connect mmc in use info
794 banner is left aligned)
796 Fixes: NB#120613 (Size of HildonBanner varies depending on
797 previously opened banners)
799 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
801 * hildon/hildon-color-chooser.c
802 (hildon_color_chooser_pointer_motion): Take the widget allocation
805 Fixes: NB#124385 (Unable to select exact point in color mixing box
806 in color palette dialog)
808 2009-06-23 Alejandro G. Castro <alex@igalia.com>
810 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
811 (hildon_pannable_area_dispose)
812 (hildon_pannable_area_button_press_cb)
813 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
814 (hildon_pannable_area_button_release_cb)
815 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
816 New 'panning-started' and 'panning-finished' signals.
818 Fixes: NB#121732 (New feature request: Signal to pannable area
819 that informs when panning is stopped.)
821 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
823 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
824 instead of hardcoded colon.
826 Fixes: NB#124090 (New calendar wizard title is not using
827 ecdg_ti_caption_separator)
829 2009-06-22 David King <davidk@openismus.com>
831 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
832 constants and functions, as well as correct many typos throughout the
835 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
838 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
840 * configure.ac: postrelease version bump.
841 * debian/changelog: post release version bump
843 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
848 * configure.ac: Bump version.
849 * debian/changelog: Updates.
851 2009-06-18 Alberto Garcia <agarcia@igalia.com>
853 * hildon/hildon-window-stack.c
854 (hildon_window_stack_pop_and_push_list):
855 Prevent windows from having the same stack index
857 2009-06-18 Alberto Garcia <agarcia@igalia.com>
859 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
860 Use the index of the previous window rather than the stack length
861 to calculate the new index.
865 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
867 * hildon/hildon-date-selector.c
868 (hildon_date_selector_select_current_date)
869 (hildon_date_selector_get_date)
870 (hildon_date_selector_select_day):
871 Update the documentation: uses always the range (1-31), as it is obvious
872 that the final one will depend on the month and the year, but globally
873 the range is this, in a similar GtkCalendar approach
874 (hildon_date_selector_get_date):
875 Update the documentation: add NULL as a valid value for the day, month
878 Fix some details, after talk with David King on bug MB#4698
880 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
882 * hildon/hildon-touch-selector-entry.c
883 * hildon/hildon-touch-selector.c
884 Update the documentation of the "text-column" property
886 2009-06-18 David King <davidk@openismus.com>
888 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
889 several typos and errors throughout the documentation.
891 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
894 2009-06-18 Alberto Garcia <agarcia@igalia.com>
896 * hildon/hildon-note.c (hildon_note_realize):
897 Make HildonNote support portrait mode.
899 Fixes: NB#123448 (HildonNote is not portrait-friendly)
901 2009-06-17 Alberto Garcia <agarcia@igalia.com>
903 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
904 Document this function
906 2009-06-17 David King <davidk@openismus.com>
908 * hildon/hildon-date-selector.c
909 (hildon_date_selector_select_current_date)
910 (hildon_date_selector_get_date): Update documentation regarding days,
911 as the day of the month is dependent on both the month and the year.
912 (hildon_date_selector_get_date): Fix documentation of output arguments.
914 Fixes: MB#4698 (DateSelector documentation has bad output argument
915 description, and the day depends on both the month and the year)
917 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
919 * hildon/hildon-caption.c: Other documentation fixes to
922 2009-06-17 David King <davidk@openismus.com>
924 * hildon/hildon-caption.c: Minor documentation updates for
925 HildonCaption. Fixes MB#4697.
927 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
929 * doc/hildon-docs.sgml: Add hildon-version section.
930 * doc/hildon-sections.txt:
931 * hildon/hildon-version.h.in: Document versioning macros and
934 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
936 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
937 from HildonPickerDialog section.
939 2009-06-16 Alberto Garcia <agarcia@igalia.com>
941 * hildon/hildon-banner.c (hildon_banner_bind_style)
942 (screen_size_changed, hildon_banner_init)
943 (hildon_banner_real_show_information)
944 (hildon_banner_show_information_with_markup)
945 (hildon_banner_show_animation, hildon_banner_show_progress):
946 Set a different widget name to banners in portrait mode, for them
947 to be themed correctly.
949 2009-06-16 Alberto Garcia <agarcia@igalia.com>
951 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
952 Set a different widget name to notes in portrait mode, for them to
955 Partially fixes: NB#118401 (HildonNote causes unnecessary
958 2009-06-16 Alberto Garcia <agarcia@igalia.com>
960 * hildon/hildon-note.c (hildon_note_class_init)
961 (+hildon_note_size_request, screen_size_changed):
962 Always request the full width of the screen.
964 Fixes: NB#118375 (unnecessary rescaling of images)
966 2009-06-16 Alejandro G. Castro <alex@igalia.com>
968 * hildon/hildon-pannable-area.c,
969 (hildon_pannable_area_init),
970 (hildon_pannable_area_realize): Replaced old code adding flags in
971 the object init, now we add it with the other flags in the realize
974 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
976 * hildon/hildon-note.c: (hildon_note_class_init): Several
977 documentation improvements to the HildonNote widget.
979 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
981 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
983 Fixes: MB#4556 (HildonNoteType is undocumented)
985 2009-06-15 Alberto Garcia <agarcia@igalia.com>
987 * hildon/hildon-picker-button.c:
988 Explain how HildonPickerButton sets the title of its dialog
990 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
991 the title of its dialog)
993 2009-06-15 Alberto Garcia <agarcia@igalia.com>
995 * hildon/hildon-check-button.c:
996 Documentation updates
998 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1001 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1003 * hildon/Makefile.am
1004 * hildon/hildon-edit-toolbar-private.h
1005 * hildon/hildon-edit-toolbar.c
1006 (+hildon_edit_toolbar_set_progress_indicator)
1007 (hildon_edit_toolbar_init): Add progress indicator to the
1010 * hildon/hildon-gtk.c
1011 (hildon_gtk_window_set_progress_indicator):
1012 If the window contains a HildonEditToolbar, enable the progress
1013 indicator there too.
1015 * hildon/hildon-private.h
1016 * hildon/hildon-private.c
1017 (+hildon_private_create_animation)
1018 * hildon/hildon-banner.c
1019 (-hildon_banner_create_animation):
1020 Moved to hildon-private.c
1022 Fixes: NB#102373 (Progress indicator also for the Edit mode
1025 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1027 * hildon/hildon-app-menu-private.h
1028 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1029 (hildon_app_menu_add_filter, +menu_item_button_event)
1030 (hildon_app_menu_button_release, hildon_app_menu_init):
1031 Make sure that buttons receive 'button-release-event' in spite of
1032 the grab held by HildonAppMenu
1034 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1036 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1038 * hildon/hildon-app-menu.c
1039 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1040 New style property to set the size of the group of filter buttons.
1042 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1044 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1049 * configure.ac: Bump version.
1050 * debian/changelog: Updates.
1052 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1054 * hildon/hildon-main.c: Minor documentation fixes.
1056 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1058 * doc/hildon-sections.txt:
1059 * hildon/hildon-defines.h: Document the defines, organize them,
1060 and mark deprecations as such.
1062 Fixes: MB#4463 (Hildon size #defines are undocumented)
1064 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1066 * hildon/hildon-animation-actor.c:
1067 * hildon/hildon-app-menu.c:
1068 * hildon/hildon-button.c:
1069 * hildon/hildon-date-editor.c:
1070 * hildon/hildon-dialog.c:
1071 * hildon/hildon-edit-toolbar.c:
1072 * hildon/hildon-entry.c:
1073 * hildon/hildon-program.c:
1074 * hildon/hildon-remote-texture.c:
1075 * hildon/hildon-stackable-window.c:
1076 * hildon/hildon-text-view.c:
1077 * hildon/hildon-touch-selector.c:
1078 * hildon/hildon-window-stack.c:
1079 * hildon/hildon-window.c:
1081 Remove redundant "represents" wording from most of the documentation.
1083 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1085 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1089 * hildon/Makefile.am
1090 * hildon/hildon-banner-private.h
1091 * hildon/hildon-banner.c:
1092 Move HildonBannerPrivate to hildon-banner.c and remove
1093 hildon-banner-private.h
1094 Use a bit field to store private booleans.
1096 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1098 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1099 Don't install a new idle function if there's already one
1104 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1106 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1107 (+legacy_menu_realized, +legacy_menu_unmapped)
1108 (+set_legacy_menu_type):
1109 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1110 they can be identified by the window manager.
1112 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1113 displayed in wrong location)
1115 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1118 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1120 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1122 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1123 use gtk-doc support)
1125 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1127 * hildon/hildon-code-dialog.c
1128 * hildon/hildon-date-editor.c
1129 * hildon/hildon-number-editor.c
1130 * hildon/hildon-seekbar.c
1131 * hildon/hildon-stackable-window.c
1132 * hildon/hildon-window.c:
1133 Misc documentation updates
1135 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1137 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1138 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1140 Fixes: NB#117931 (Theming issues in accounts dialogs)
1142 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1144 * hildon/hildon-pannable-area.c,
1145 (hildon_pannable_area_button_release_cb): Changed the coordinates
1146 of the original release in case we want to discard the release,
1147 some widgets in Fremantle do not handle the leave-notify.
1149 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1151 * hildon/hildon-pannable-area.c,
1152 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1153 the release using the last refactored functions and avoiding the
1154 movement if an element was selected.
1156 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1158 * hildon/hildon-pannable-area.c,
1159 (hildon_pannable_area_check_move),
1160 (hildon_pannable_area_handle_move),
1161 (hildon_pannable_area_motion_notify_cb): Refactored the
1162 motion_notify method using a couple of new functions.
1164 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1166 * hildon/hildon-date-selector.c:
1167 (hildon_date_selector_construct_ui):
1168 * hildon/hildon-time-selector.c:
1169 (hildon_time_selector_constructor):
1170 * hildon/hildon-touch-selector-entry.c:
1171 (hildon_touch_selector_entry_set_text_column),
1172 (hildon_touch_selector_entry_get_text_column):
1173 * hildon/hildon-touch-selector.c: (_default_print_func),
1174 (hildon_touch_selector_new_text): Use
1175 hildon_touch_selector_set/get_text_column() instead of
1176 setting/getting the "text-column" property.
1178 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1180 * doc/hildon-sections.txt: Add the new public methods below.
1182 * examples/hildon-picker-button-multicolumn-example.c:
1183 (create_touch_selector):
1184 * examples/hildon-touch-selector-example.c: (create_selector):
1185 * examples/hildon-touch-selector-multi-cells-example.c:
1187 Use hildon_touch_selector_column_set_text_column()
1189 * hildon/hildon-touch-selector-column.h:
1190 * hildon/hildon-touch-selector.c:
1191 (hildon_touch_selector_column_set_text_column),
1192 (hildon_touch_selector_column_get_text_column):
1193 Make hildon_touch_selector_column_set/get_column() public, use
1194 them in the inline example, document them, and reference to them
1197 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1199 * hildon/hildon-time-selector.c: Fix the docs for
1200 hildon_time_selector_new_step().
1202 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1204 * hildon/hildon-touch-selector.c: Improve the documentation for
1205 hildon_touch_selector_append_column().
1207 Fixes MB#4641 (Documentation:
1208 hildon_touch_selector_append_column() ref-counting)
1210 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1212 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1213 Comment out test 5, since the hildon_controlbar_set_range() range
1214 check is broken and fixing it would have side effects. Also,
1215 this finally fixes make distcheck.
1217 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1219 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1221 * tests/TEST-CASES.txt: Remove other bogus test.
1222 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1223 Remove bogus test that was setting/retrieving a valid value.
1225 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1227 * tests/TEST-CASES.txt: Remove bogus tests.
1228 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1229 Remove three bogus tests that were actually setting valid colors.
1231 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1233 * configure.ac: post release version bump
1234 * debian/changelog: post release version bump
1236 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1241 * configure.ac: Bump version.
1242 * debian/changelog: Updates.
1244 2009-06-08 Christian Dywan <christian@lanedo.com>
1248 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1249 Correct errors in hildon_format_file-size_for_display and use
1250 translations from the hildon-fm package instead of osso-filemanager.
1252 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1254 * hildon/hildon-pannable-area.c,
1255 (hildon_pannable_area_init): Initialized new values to handle the
1256 adjustment position.
1257 (hildon_pannable_area_adjust_value_changed): Check if the values
1258 changed before even call the redraw function.
1259 (hildon_pannable_area_size_allocate),
1260 (hildon_pannable_axis_scroll),
1261 (hildon_pannable_area_scroll),
1262 (hildon_pannable_area_jump_to): Improved the diagonal movement
1265 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1268 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1270 * examples/hildon-banner-example.c:
1271 Several style updates
1272 (on_animation_clicked, on_animation_idle)
1273 (on_progress_clicked, on_progress_idle):
1274 Add additional reference for the cases when the parent window is
1277 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1279 * doc/hildon-sections.txt
1280 * hildon/hildon-pannable-area.c
1281 * hildon/hildon-banner.h
1282 * hildon/hildon-banner.c: Documentation updates.
1284 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1287 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1289 * hildon/hildon-calendar-popup.h:
1290 * hildon/hildon-caption.h:
1291 * hildon/hildon-code-dialog.h:
1292 * hildon/hildon-controlbar.h:
1293 * hildon/hildon-date-editor.h:
1294 * hildon/hildon-dialog.h:
1295 * hildon/hildon-get-password-dialog.h:
1296 * hildon/hildon-hvolumebar.h:
1297 * hildon/hildon-login-dialog.h:
1298 * hildon/hildon-note.h:
1299 * hildon/hildon-number-editor.h:
1300 * hildon/hildon-range-editor.h:
1301 * hildon/hildon-seekbar.h:
1302 * hildon/hildon-set-password-dialog.h:
1303 * hildon/hildon-sort-dialog.h:
1304 * hildon/hildon-time-editor.h:
1305 * hildon/hildon-time-picker.h:
1306 * hildon/hildon-volumebar-range.h:
1307 * hildon/hildon-volumebar.h:
1308 * hildon/hildon-vvolumebar.h:
1309 * hildon/hildon-weekday-picker.h:
1310 * hildon/hildon-window.h:
1311 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1312 macros with the current replacements
1314 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1316 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1318 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1319 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1320 itself, to make it fit better with Fremantle style.
1322 Fixes: NB#109878 (height and width of focus on color icon is not
1323 consistent with other item in the application tool bar)
1325 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1327 * hildon/hildon-touch-selector.c:
1328 (hildon_touch_selector_optimal_size_request): use the current requisition
1329 as the base, in order to include any possible extra widget, like the
1330 hildon entry on HildonTouchSelectorEntry
1332 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1334 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1336 * configure.ac: post release version bump
1337 * debian/changelog: post release version bump
1339 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1344 * configure.ac: Bump version.
1345 * debian/changelog: Updates.
1347 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1349 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1351 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1352 to ensure the banner contents are centered, instead of relying on
1353 the expand and fill properties in GtkHBox.
1354 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1356 Fixes: NB#108265 (Animation banner not properly centered)
1358 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1360 * hildon/hildon-pannable-area.c
1361 (hildon_pannable_area_initial_effect): Remove the initial_effect
1362 management, check initial_hint
1363 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1364 set initial_effect to FALSE
1365 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1366 by launching the fade_timeout if the scrollbars state has changed and are
1368 * examples/hildon-pannable-area-initial-hint-example.c
1369 Modified to allow to remove rows too. Add and remove rows one by one.
1371 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1373 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1374 Don't close the menu if there's an animation actor below it.
1376 Fixes: NB#117927 (Application menu not usable with animation
1379 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1381 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1382 "focus-on-click" from the dialog button, to avoid stealing the
1383 focus from the entry.
1385 Fixes: NB#118903 (Account setup wizard: Text in Search field
1386 should be focused when "Region" touch list picker is reopened
1389 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1391 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1392 (prepare_action_area): Completely hide the dialog separator.
1394 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1396 * hildon/hildon-touch-selector-entry.c
1397 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1398 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1399 now that the entry is exposed.
1401 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1403 * hildon/hildon-touch-selector-entry.c
1404 (hildon_touch_selector_entry_init): Change the entry's size
1405 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1407 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1409 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1410 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1411 avoid unnecessary scaling.
1413 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1415 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1416 Create grab transfer window before calling parent's map function.
1418 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1419 "crushed" button(s) in the top left corner)
1421 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1423 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1424 Check if the window is already realized when pushing it.
1426 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1428 * configure.ac: post release version bump
1429 * debian/changelog: post release version bump
1431 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1436 * configure.ac: Bump version.
1437 * debian/changelog: Updates.
1439 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1441 * hildon/hildon-app-menu.c: Doc updates.
1443 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1445 * hildon/hildon-banner.c: Remove leftover macro.
1447 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1449 * hildon/hildon-pannable-area.c,
1450 (hildon_pannable_area_scroll_indicator_fade),
1451 (hildon_pannable_area_button_release_cb): Reviewed vmin
1452 conditions, it could cause problems in the fadeout procedure.
1454 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1456 * hildon/hildon-pannable-area.c
1457 (hildon_pannable_area_button_release_cb): Added a threshold to
1458 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1460 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1462 * hildon/hildon-pannable-area.c,
1463 (hildon_pannable_area_set_property): Added code to sync the gtk
1464 dnd threshold with the panning threshold.
1466 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1468 * hildon/hildon-pannable-area.c,
1469 (hildon_pannable_area_class_init): Changed some of the default
1470 values, now it should be less responsive and more accurate.
1472 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1474 * hildon/hildon-pannable-area.c,
1475 (hildon_pannable_area_init),
1476 (hildon_pannable_area_scroll_indicator_fade),
1477 (hildon_pannable_area_button_press_cb),
1478 (hildon_pannable_axis_scroll),
1479 (hildon_pannable_area_timeout),
1480 (hildon_pannable_area_motion_notify_cb),
1481 (hildon_pannable_area_button_release_cb): Changed the name of the
1482 clicked attribute to button_pressed, it is more clear about its use.
1484 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1486 * src/hildon-pannable-area.c
1487 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1489 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1490 vertical scrollbar visibility, and use the data on private section instead,
1491 remove the initial_hint check
1492 (hildon_pannable_area_expose_event): add the initial_hint check here
1494 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1496 * src/hildon-pannable-area.c
1497 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1498 if the fadeout effect was used
1499 (hildon_pannable_area_expose_event): check if it is required to
1500 manage the initial effect on the begining of the function. Previously
1501 it was made at the end, but this doesn't ensure that the scrollbars
1502 will be painted on the first show. Do not set to FALSE initial_effect,
1503 to ensure that the initial hint is showed the first time the pannable
1505 * examples/Makefile.am
1506 * examples/hildon-pannable-area-initial-hint-example.c:
1507 New example, to show that the initial-hint is showed when the widget
1510 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1511 initially if the application can be scrolled)
1513 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1515 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1516 Resize table before adding new items to make sure that
1517 gtk_table_resize() is called just once.
1519 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1521 * hildon/hildon-app-menu-private.h
1522 * hildon/hildon-app-menu.c (item_visibility_changed)
1523 (filter_visibility_changed, hildon_app_menu_show_all)
1524 (hildon_app_menu_hide_all, hildon_app_menu_init):
1525 Rearrange items just once when gtk_widget_show_all()/hide_all()
1528 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1530 * hildon/hildon-app-menu.c
1531 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1532 Don't call gtk_widget_show() on added items.
1534 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1535 automatically when they're added)
1537 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1539 * hildon/hildon-banner.c
1540 (hildon_banner_realize, +hildon_banner_unrealize)
1541 (+screen_size_changed, hildon_banner_class_init):
1542 Redisplay the banner if the screen is rotated.
1544 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1545 on transition from landscape to portrait)
1547 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1549 * hildon/hildon-banner.[ch]:
1550 (hildon_banner_show_information_override_dnd): remove icon_name from the
1551 method definition as it is ignored.
1552 * examples/hildon-banner-dnd-example.c: updated with the change on
1555 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1557 * hildon/hildon-banner-private.h: new require_override_dnd and
1558 overrides_dnd variables
1559 * hildon/hildon-banner.h:
1560 (hildon_banner_show_information_override_dnd): new method, that shows
1561 the information but sets the override flag, in order to show important
1563 * hildon/hildon-banner.c
1564 (hildon_banner_show_information_override_dnd): new method
1565 (hildon_banner_set_override_flag): new utility function
1566 (hildon_banner_real_show_information): new utility function, in order to
1567 generalize the current hildon_banner_show_information_override_dnd and
1568 hildon_banner_show_information_override_dnd
1569 * examples/Makefile.am
1570 * examples/hildon-banner-dnd-example.c: New example that show how to
1571 use the new hildon_banner_show_information_override_dnd
1573 Fixes: NB#114874 (There is no possibility to show hildon banners with
1576 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1578 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1579 behind hildon_pannable_calculate_vel_factor().
1581 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1583 * hildon/hildon-pannable-area.c
1584 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1585 deceleration factors.
1587 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1589 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1590 Reduce the default value for 'scroll_time' to 1 second, since the
1591 current initial scrolling takes too much time.
1593 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1595 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1596 calculate velocity factor during initialization, since the properties
1599 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1601 * hildon/hildon-pannable-area.c
1602 (hildon_pannable_area_set_property): Calculate the velocity factor
1603 after setting the deceleration property and not after.
1605 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1607 * hildon/hildon-entry.c
1608 (hildon_entry_class_init, +set_property, hildon_entry_new)
1609 * hildon/hildon-check-button.c
1610 (hildon_check_button_class_init)
1611 (+set_property, hildon_check_button_new):
1612 Make the theme size a property.
1614 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1615 others) do too much in the _new function)
1617 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1619 * configure.ac: post release version bump
1620 * debian/changelog: post release version bump
1622 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1627 * configure.ac: Bump version.
1628 * debian/changelog: Updates.
1630 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1632 * hildon/hildon-gtk.h
1633 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1634 New API function to take a screenshot of a window
1636 Fixes: NB#106374 (Need API to take a loading screenshot)
1638 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1640 * hildon/hildon-time-selector.c
1641 (update_format_policy): prevent to use hours and minutes unitialized
1643 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1645 * hildon/hildon-window.c (hildon_window_size_request):
1646 Always request the full size of the screen (minus the title bar if
1647 not in fullscreen mode).
1649 Fixes: NB#107486 (HildonWindow should size itself properly)
1651 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1653 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1654 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1655 (on_show_cb), (sound_handling): Disconnect the idle handler for
1656 the sound when the note is finalized to avoid possible crashes.
1658 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1661 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1663 * src/hildon-animation-actor.c,
1664 * src/hildon-remote-texture.c:
1665 Added proper object cleanup to remove signal handler and object
1666 references as HildonAnimationActor and HildonRemoteTexture
1667 objects get destroyed.
1669 Fixes: NB#116682 (Destroying parented animation actors when
1670 parent in unmapped leads to crash)
1672 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1674 Based on a patch by Christian Dywan (christian@imendio.com)
1676 * doc/hildon-sections.txt:
1677 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1678 * hildon/hildon-helper.h: New file size formatting method.
1680 * debian/control: Depend on osso-filemanager l10n package for
1681 proper localization strings.
1683 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1685 * tests/Makefile.am: Include top_srcdir to make possible to build
1686 tests in a different builddir.
1687 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1688 on a different builddir.
1690 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1692 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1693 (hildon_touch_selector_remove): Disconnect model's signal handler
1696 Fixes: NB#116289 (Hildon home crashes while adding task
1699 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1701 * hildon/hildon-button.c
1702 (hildon_button_set_title, hildon_button_set_value):
1703 Hide labels containing an empty string.
1705 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1707 * configure.ac: post release version bump
1708 * debian/changelog: post release version bump
1710 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1715 * configure.ac: Bump version.
1716 * debian/changelog: Updates.
1718 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1720 * hildon/hildon-note-private.h: Removed sound_signal_handler
1721 * hildon/hildon-note.c
1722 (on_show_cb): new callback on note "show" event, this simply adds
1723 a idle, with the function sound_handling
1724 (sound_handling): removed the sound_signal_handler management
1725 (hildon_note_init): connect note "show" event to on_show_cb
1726 (hildon_note_realize): remove the connection to "expose-event"
1728 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1729 device?' confirmation note)
1731 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1733 * hildon/hildon-note.c
1734 (hildon_note_new_information_with_icon_name)
1735 (hildon_note_new_confirmation_with_icon_name):
1736 Terminate the list of parameters in g_object_set() calls
1738 Fixes: NB#115166 (Formatting memory card is not taking place)
1740 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1742 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1743 "dialog-information" role for the sound being played.
1745 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1747 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1748 Don't make the menu a modal window, it causes strange interactions
1749 with the pointer grab and it's not really needed.
1751 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1753 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1755 * hildon/hildon-touch-selector.[ch]
1756 (hildon_touch_selector_optimal_size_request): function added to get a
1757 optimal size request from the touch selector, when you want a dialog to
1758 show as much of the selector
1759 * hildon/hildon-picker-dialog.c:
1760 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1761 (hildon_app_menu_class_init):
1762 New "max-height-landscape" and "max-height-portrait" style properties
1763 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1764 (hildon_picker_dialog_get_max_height): returns the maximum height using
1765 the style properties defined and checking the current portrait/landscape
1767 (_hildon_picker_dialog_set_selector): removed the set_size_request
1769 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1771 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1773 * hildon/hildon-bread-crumb-trail.c:
1774 * hildon/hildon-bread-crumb.c:
1775 * hildon/hildon-seekbar.c:
1776 Add reference to replacements for these deprecated widgets.
1778 Fixes: MB#4461 (Documentation: All deprecations should mention
1781 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1783 * examples/hildon-remote-texture-example.c
1785 Change the include to the hildon-remote-texture in order to compile
1786 properly the examples on the installed libhildon1-examples package
1788 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1790 * tests/Makefile.am: Add check for HildonPickerButton.
1791 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1792 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1793 checks for the HildonPickerButton.
1794 * tests/check_test.c (configure_tests): Add the test suite.
1795 * tests/test_suites.h: likewise.
1797 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1799 * hildon/hildon-touch-selector.c
1800 (+on_row_changed): Emit HildonTouchSelector:changed when the
1801 contents of a selected row change.
1802 (_create_new_column), (_hildon_touch_selector_set_model): connect
1803 to GtkTreeModel:row-changed on a newly set model.
1805 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1807 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1809 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1811 * hildon/hildon-banner.c (hildon_banner_destroy)
1812 (hildon_banner_show_progress, hildon_banner_set_fraction):
1813 Remove the progress bar from HildonBanner and use a progress
1816 Fixes: NB#113761 (Update progress banner to use progress
1819 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1821 * hildon/hildon-banner.c:
1822 Calculate size of the banner label using the actual screen width
1823 rather than using a fixed value.
1825 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1828 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1830 * hildon/hildon-pannable-area.c,
1831 (hildon_pannable_area_class_init): Fixed signals documentation
1834 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1836 * configure.ac: post release version bump
1837 * debian/changelog: post release version bump
1839 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1844 * configure.ac: Bump version.
1845 * debian/changelog: Updates.
1847 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1849 * hildon/hildon-edit-toolbar.c
1850 (hildon_edit_toolbar_init):
1851 Don't let buttons in HildonEditToolbar receive focus.
1853 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1854 typing on an HW arrows key)
1856 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1858 * doc/Makefile.am: Fix build.
1860 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1862 * doc/Makefile.am: Do not redefine content_files.
1864 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1872 Renamed src/ to hildon/
1877 Include <hildon/hildon.h> directly in all examples.
1879 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1881 * src/hildon-sort-dialog.c
1882 (hildon_sort_dialog_add_sort_key_with_sorting)
1886 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1888 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1889 make distcheck passes.
1891 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1893 * Makefile.am: Enable gtk-doc during distcheck.
1895 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1897 * Makefile.am: Do not distribute the debian/ directory.
1899 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1901 * doc/Makefile.am: Add the extra SGML files to content_files,
1902 so that they are distributed properly.
1904 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1906 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1909 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1911 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1912 (hildon_note_new_information_with_icon_name): Set the "icon" property
1913 to preserve soundness.
1915 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1917 * src/hildon-font-selection-dialog.c
1918 (hildon_font_selection_dialog_set_property): Fail when the "family"
1919 property is set to NULL.
1921 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1926 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1928 * src/hildon-time-selector.h:
1929 Added HildonTimeSelectorFormatPolicy
1930 * src/hildon-time-selector.c:
1931 Added PROP_TIME_FORMAT_POLICY
1932 (_check_ampm_format): renamed to check_automatic_ampm_format
1933 (update_format_policy), (update_format_dependant_columns): new functions
1934 (hildon_time_selector_class_init)
1935 (hildon_time_selector_contructor)
1936 (hildon_time_selector_init)
1937 (hildon_time_selector_get_property)
1938 (hildon_time_selector_set_property)
1939 (hildon_time_selector_get_time)
1940 (hildon_time_selector_set_time)
1941 * src/hildon-touch-selector.h: new file
1942 * src/hildon-touch-selector.c
1943 (hildon_touch_selector_emit_changed)
1944 (hildon_touch_selector_block_changed)
1945 (hildon_touch_selector_unblock_changed)
1946 Added functions to allow to block the emission of the "changed" signal
1947 * src/hildon-picker-dialog.c
1948 (hildon_picker_dialog_show): call the parent show before the custom code
1949 * examples/hildon-time-button-example.c
1950 Modified, so now you can configure the time format using the new property
1952 Added a new property "time-format-policy" that allow to choose the time
1953 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1954 case it uses gconf in order to check if the time selector must use
1957 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1960 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1962 * src/hildon-note.c (hildon_note_init):
1963 Label in HildonNote must be left aligned, not centered. This
1964 reverts the last commit in HildonNote.
1966 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1967 is connectivity dialog)
1969 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1974 * doc/hildon-sections.txt:
1975 Added hildon_gtk_window_set_do_not_disturb()
1977 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1979 * src/hildon-note.c (hildon_note_init): Center label.
1981 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1984 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1989 * configure.ac: Bump version.
1990 * debian/changelog: Updates.
1992 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1994 * src/hildon-note-private.h: Add button-width to the private data.
1995 * src/hildon-note.c (+resize_button),
1996 (+hildon_note_orientation_update): methods to repack widgets on orientation
1998 (screen_size_changed): Call above method for confirmation notes.
1999 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2000 (hildon_note_rebuild): Store the original width request from buttons.
2002 Fixes: NB#109635 (Confirmation notes do not support portrait)
2004 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2006 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2007 when it is a progress note.
2009 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2011 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2012 in the note, since there are no horizontally arranged contents.
2014 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-gtk.c (+set_flag): new generic method to
2017 set/delay a flag setting in a window.
2018 (hildon_gtk_window_set_progress_indicator):
2019 (hildon_gtk_window_set_do_not_disturb),
2020 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2021 avoid code redundance.
2023 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2025 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2027 * src/hildon-gtk.c (set_clear_window_flag),
2028 (do_set_progress_indicator), (do_set_do_not_disturb),
2029 (do_set_portrait_flags),
2030 (hildon_gtk_window_set_progress_indicator),
2031 (hildon_gtk_window_set_do_not_disturb),
2032 (hildon_gtk_window_set_portrait_flags):
2033 Allow setting dnd-flag, progress indicator, and portrait flags
2034 when the window is not realized.
2036 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2038 * src/hildon-pannable-area.c,
2039 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2040 the size request policy function and defines.
2042 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2044 * doc/hildon-sections.txt: Add the new API.
2045 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2046 method to set the portrait flags.
2047 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2049 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2051 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2054 to allow using this method with other flags.
2055 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2056 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2058 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2060 * src/hildon-touch-selector.c
2061 (hildon_touch_selector_append_text_column):
2062 Make the cell renderer use the smallest width possible.
2064 Fixes: NB#108470 (Selected items in multiple selection are either
2065 having a tick that is cut or not visible at all.)
2067 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2069 * src/hildon-touch-selector.c
2070 (hildon_touch_selector_append_text_column):
2073 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2075 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2076 Use g_strdup_printf() instead of a fixed size buffer.
2078 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2080 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2081 Close banners when a HildonAppMenu is popped up.
2083 Fixes: NB#111027 (Title menu closed immediately if activated when
2084 "Invalid e-mail address" banner is shown)
2086 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2091 * configure.ac: Bump version.
2092 * debian/changelog: Updates.
2094 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-banner.c (hildon_banner_realize):
2097 Mark HildonBanner as supporting portrait mode.
2098 Use GDK to set window properties insetad of direct Xlib calls.
2100 Fixes: NB#111830 (HildonBanner should be marked as supporting
2103 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-note.c (hildon_note_rebuild):
2106 Hide action area in information notes. Prevents text from being
2107 slightly aligned to the left.
2109 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2112 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2114 Patch by Mox Soini (ext-mox.soini@nokia.com)
2116 * src/hildon-banner.c (hildon_banner_create_animation):
2117 Use stylus-sized icons in animation banner.
2119 Fixes: NB#111206 (stylus sized icon for animation banner)
2121 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2125 (+hildon_gtk_window_set_do_not_disturb):
2126 New API to set the do-not-disturb flag.
2128 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2130 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2132 * examples/hildon-progress-indicator-example.c: Fix example
2134 * src/hildon-gtk.c (set_clear_window_flag)
2135 (hildon_gtk_window_set_progress_indicator):
2136 Create a generic function for setting flags to a window.
2137 Use GDK instead of direct Xlib calls.
2139 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2141 * src/hildon-button.c (hildon_button_set_arrangement):
2142 Due to NB#88126, if one of the labels is too long it will be
2143 painted outside the button. The 'value' label is more likely to be
2144 the longest one, so we change its packing options in order to
2145 truncate it if necessary. As a side effect, the 'title' label will
2146 no longer be truncated.
2148 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2150 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2155 * configure.ac: Bump version.
2156 * debian/changelog: Updates.
2158 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2160 Deprecation of the hildon_pannable_area_set_size_request_policy
2161 API, the only policy properly supported in gtk+ nowadays is the
2164 * src/hildon-pannable-area.c,
2165 (hildon_pannable_area_size_request): Added a workaround for the
2166 size_request to avoid the problems of huge pixmaps in case someone
2167 is still using the function.
2168 * src/hildon-pannable-area.h: Deprecated the enum with the
2171 Fixes: NB#110244 (Problems with the
2172 hildon_pannable_area_set_size_request_policy API)
2174 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2176 * src/hildon-pannable-area.c,
2177 (hildon_pannable_area_init),
2178 (hildon_pannable_area_size_request),
2179 (hildon_pannable_area_style_set),
2180 (hildon_pannable_draw_vscroll),
2181 (hildon_pannable_draw_hscroll),
2182 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2183 indicator_width to clarify the use of the attribute.
2185 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2190 * configure.ac: Bump version.
2191 * debian/changelog: Updates.
2193 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2195 * src/hildon-picker-dialog.c
2196 * src/hildon-touch-selector.c
2197 Reverting the change that tried to avoid the hardcoded height on
2198 the picker dialog, as causes problems on the hildon-touch-selector
2201 Fixes: NB#110029 (selectors not scrolling to selected value)
2203 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2205 * src/hildon-touch-selector.c: Fix typos
2207 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2209 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2210 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2211 request more motions after using it.
2213 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2215 * src/hildon-calendar.c (hildon_calendar_expose),
2216 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2217 Remove unused variables.
2219 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2221 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2222 variable assignment.
2224 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2227 Check the return value of gtk_tree_selection_get_selected()
2230 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-animation-actor.c
2233 * src/hildon-button.c
2235 * src/hildon-pannable-area.c
2236 * src/hildon-picker-button.c
2237 * src/hildon-program.c
2238 * src/hildon-remote-texture.c
2239 * src/hildon-text-view.c
2240 * src/hildon-touch-selector.c
2241 * src/hildon-window-stack.c
2242 * src/hildon-window.c:
2243 Add missing 'Since: 2.2' tags.
2245 * doc/hildon-sections.txt:
2246 Add some missing symbols.
2248 * doc/hildon-docs.sgml:
2249 New 'Other' section for HildonAnimationActor and
2252 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2254 Patch by Iván Gómez (igomez@igalia.com)
2257 * doc/compiling.sgml
2258 * doc/hildon-docs.sgml
2259 * doc/hildon-sections.txt
2260 * doc/migration.sgml
2261 * doc/resources.sgml
2263 New chapters on using the Hildon library.
2264 Updated the general structure of the reference manual.
2265 Other minor documentation fixes.
2267 * src/hildon-calendar-popup.c
2268 * src/hildon-calendar.c
2269 * src/hildon-controlbar.c
2270 * src/hildon-date-editor.c
2271 * src/hildon-dialog.c
2272 * src/hildon-hvolumebar.c
2273 * src/hildon-number-editor.c
2274 * src/hildon-range-editor.c
2275 * src/hildon-sort-dialog.c
2276 * src/hildon-time-editor.c
2277 * src/hildon-time-picker.c
2278 * src/hildon-volumebar-range.c
2279 * src/hildon-volumebar.c
2280 * src/hildon-vvolumebar.c
2281 * src/hildon-weekday-picker.c:
2282 Add deprecation notes
2284 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2285 Document 'horizontal-movement' and 'vertical-movement' signals.
2287 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2292 * configure.ac: Bump version.
2293 * debian/changelog: Updates.
2295 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2297 * src/hildon-pannable-area.c,
2298 (hildon_pannable_area_class_init): increased the minimum velocity.
2299 (hildon_pannable_area_button_release_cb): Updated the
2300 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2301 setup. Review the code to control that last event.
2303 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2306 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2308 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2310 * src/hildon-get-password-dialog.c
2311 (hildon_get_password_set_property),
2312 (hildon_get_password_get_property), (create_contents):
2313 * src/hildon-login-dialog-private.h:
2314 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2315 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2316 (hildon_login_dialog_get_password):
2317 * src/hildon-set-password-dialog-private.h:
2318 * src/hildon-set-password-dialog.c
2319 (hildon_set_password_set_property),
2320 (hildon_set_password_get_property), (create_contents),
2321 (hildon_set_password_response_change),
2322 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2324 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2325 instead and look more Fremantle style.
2327 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2329 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2331 * doc/hildon-sections.txt
2332 * src/hildon-window-stack.h
2333 * src/hildon-window-stack.c
2334 (+hildon_window_stack_get_windows):
2335 New API to obtain the list of windows on a stack.
2337 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2339 * src/hildon-app-menu.c (hildon_app_menu_popup)
2340 (hildon_app_menu_class_init, -hildon_app_menu_show):
2341 Remove hildon_app_menu_show() and move all its checks to
2342 hildon_app_menu_popup()
2344 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2346 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2347 (_hildon_picker_dialog_set_selector): removed call to
2348 gtk_widget_set_size_request
2349 * src/hildon-touch-selector.c
2350 (_create_new_column): change the pannable size request policy
2352 Avoid to use a hardcoded height for the hildon picker dialog. In order
2353 to get that, we needed to change the hildon pannable size request
2355 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2357 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2359 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2360 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2363 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2365 * debian/control: Depend on osso-system-lock localization package.
2366 * src/hildon-code-dialog.c: Obtain the secu_application_title
2367 translation from osso-system-lock.
2368 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2369 for translation the atk related strings, that's not necessary.
2370 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2371 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2372 cancel button, it is not required.
2374 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2376 * src/hildon-pannable-area.c,
2377 (hildon_pannable_area_class_init): Modified the default value of
2378 the overshooting max speed, we have reduced it.
2380 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2382 * doc/hildon-sections.txt
2383 * src/hildon-window-private.h
2384 * src/hildon-window.h
2385 * src/hildon-window.c (hildon_window_class_init)
2386 (hildon_window_init, hildon_window_finalize)
2387 (hildon_window_realize, hildon_window_get_property)
2388 (hildon_window_set_property, hildon_window_update_markup)
2389 (hildon_window_get_markup, hildon_window_set_markup):
2390 New "markup" property and hildon_window_{get,set}_markup() methods.
2392 * examples/hildon-stackable-window-example.c (new_window):
2393 Update example to use hildon_window_set_markup()
2395 Fixes: NB#106375 (Need API to retitle a window with a title
2398 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2400 * src/hildon-pannable-area.c,
2401 (hildon_pannable_area_class_init): Changed the default value of
2402 the initial_hint to TRUE.
2403 (hildon_pannable_area_initial_effect): Changed the initial effect,
2404 not the effect is just the fade-out of the scrollbars.
2406 Fixes: NB#107775 (No scrollbars can be seen when several items are
2407 available in a dialog)
2409 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-program.c (hildon_program_update_top_most):
2414 Fixes: NB#109179 (Memory leak in Hildon program)
2416 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-banner.c (-get_current_app_window):
2419 Remove unused function.
2421 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2423 * src/hildon-pannable-area.c: Modified the documentation of the
2424 get adjustments functions to explain the problem of using the
2425 adjustment directly.
2426 (hildon_pannable_area_class_init): Improved the explanation about
2429 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2431 * src/hildon-app-menu-private.h
2432 * src/hildon-app-menu.c
2433 (hildon_app_menu_class_init):
2434 Bring back the 'external-border' style property
2435 (hildon_app_menu_class_init, hildon_app_menu_init)
2436 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2437 Set a fixed width-request for the menu, independent of the number
2440 Fixes: NB#94957 (Smoothly opened application menu)
2442 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2446 * src/hildon-banner.c
2447 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2449 Make sure that the banner is correctly placed the first time it's
2451 (hildon_banner_check_position, -check_fullscreen_state):
2452 Show the banner in the same place no matter if the window is in
2453 fullscreen mode or not.
2455 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2457 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-touch-selector.c (_default_print_func): reorder
2460 concatenation for clarity.
2462 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2464 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2465 for multicolumn selectors.
2467 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2469 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2474 * configure.ac: Bump version.
2475 * debian/changelog: Updates.
2477 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2479 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2482 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2484 * configure.ac: removed libcangerra-gtk dependency
2485 * debian/control: removed libcanberra-gtk dependency
2486 * src/Makefile.am: removed libcanberra gtk related flags
2487 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2488 context, and manage a global canberra context instead
2490 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2492 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2494 Patch by Daniel Borgmann (danielb@openismus.com)
2496 * src/hildon-edit-toolbar.c:
2497 Adjust the left padding.
2498 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2499 Paint background of the edit toolbar.
2501 Fixes: NB#107897 (Patch to make editmodetoolbar background
2502 themeable and adjust margin)
2504 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2506 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2508 * src/hildon-program.c (hildon_program_update_top_most):
2509 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2511 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2512 change when the user tasks in/out of an application)
2514 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2516 * configure.ac: added libcangerra-gtk dependency
2517 * debian/control: added libcanberra-gtk dependency
2518 * src/Makefile.am: added libcanberra gtk related flags
2519 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2522 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2524 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2526 * src/hildon-program.c (hildon_program_remove_window)
2527 (hildon_program_add_window): Add checks for the window
2528 parameter. Don't decrease the window counter if the window is not
2531 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2533 * src/hildon-pannable-area.c,
2534 (hildon_pannable_area_realize): Fixed position of the event_window
2535 in the realize method.
2537 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2539 * src/hildon-app-menu-private.h
2540 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2541 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2542 (hildon_app_menu_key_press, hildon_app_menu_init)
2543 (hildon_app_menu_finalize):
2544 Make sure that all idle functions are removed when the widget is
2547 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2549 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2554 * configure.ac: Bump version.
2555 * debian/changelog: Updates.
2557 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2559 * src/hildon-entry.c
2560 (+hildon_entry_show_placeholder),
2561 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2562 that replace hildon_entry_update_contents().
2563 (hildon_entry_set_text),
2564 (hildon_entry_set_placeholder),
2565 (hildon_entry_focus_in_event),
2566 (hildon_entry_focus_out_event): Determine when it is needed
2567 either to show or hide the placeholder and call the above methods.
2569 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2570 when the placeholder text is already set)
2572 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2575 simple GdkPixbufAnim using the new icons for the banner.
2576 (hildon_banner_show_animation): Use the above mentioned method to
2577 create the animation widget.
2579 Fixes: NB#103564 (Make hildon animation banner use individual
2580 image files as the animation)
2582 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2584 * src/hildon-pannable-area.c,
2585 (hildon_pannable_leave_notify_event): Check if the child is NULL
2586 to avoid sending the leave.
2588 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2590 * src/hildon-pannable-area.c,
2591 (hildon_pannable_area_class_init),
2592 (hildon_pannable_leave_notify_event): Added a handler of the
2593 leave-notify-signal to consider when no motion notify before
2596 Fixes: NB#107494 (Items stay selected when clicking and moving
2597 away when inside pannable area)
2599 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2604 * configure.ac: Bump version.
2605 * debian/changelog: Updates.
2607 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2609 Patch by Alberto Garcia (agarcia@igalia.com)
2611 * src/hildon-date-button.c,
2612 (hildon_date_button_class_init),
2613 (hildon_date_button_init): Removed the construct property handling
2614 and created a default selector in the init method.
2615 * src/hildon-picker-button.c,
2616 (hildon_picker_button_class_init): Removed the construct flag of the
2619 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2621 * src/hildon-main.c (hildon_init):
2622 Don't allow hildon_init() to be called more than once.
2624 Fixes: NB#106607 (hildon_init should issue error message upon
2627 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2629 * examples/hildon-pannable-area-touch-list-example.c
2630 * examples/hildon-pannagle-area-touch-grid-example.c
2631 * examples/hildon-edit-toolbar-example.c
2632 * examples/hildon-touch-selector-multi-cells-example.c
2633 Removed the call to gtk_rc_parse_string, as it is not required since
2636 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2638 * src/hildon-pannable-area.c,
2639 (hildon_pannable_area_class_init): Modified the default panning
2640 threshold of the widget to 6px.
2642 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2643 than the threshold value ) within the button is not sending the
2646 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2648 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2649 for the treeview in the new column. This way, the touch list will never
2652 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2653 be selected manually for the HW keys to work)
2655 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2657 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2658 comparison instead of using strcmp(). Fixes a compiler warning as well.
2660 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2662 * doc/hildon-docs.sgml: Do not set the library version in the
2663 document title, use the releaseinfo tag for that purpose instead.
2665 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2668 Do not jump to the first item if the text in the entry is removed.
2670 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2675 * configure.ac: Bump version.
2676 * debian/changelog: Updates.
2678 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-entry.c (hildon_entry_refresh_contents):
2681 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2682 Use "ReversedSecondaryTextColor" for the placeholder text.
2684 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-text-view.c: Fix compilation warning.
2688 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2690 * src/hildon-button.c (hildon_button_class_init): Don't make
2691 "title" and "value" construction properties, to prevent them from
2692 overwriting labels set from derived classes.
2694 * src/hildon-picker-button.c
2695 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2696 (hildon_picker_button_class_init): Make touch-selector a
2697 construction property.
2699 * src/hildon-date-button.c (hildon_date_button_class_init)
2700 (+hildon_date_button_constructed): Add a default date selector if
2703 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2705 * src/hildon-touch-selector.c: Small documentation fixes.
2707 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2709 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2711 * src/hildon-entry.c (hildon_entry_refresh_contents),
2712 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2713 widget name, set the logical color directly instead and a boolean
2714 showing_placeholder instead.
2715 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2716 use the widget name here either.
2718 Fixes: NB#105678 (HildonTextView should use logical colours
2719 instead of setting widget name)
2721 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2723 Patch by Daniel Elster (danielk@openismus.com)
2725 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2726 Add user_data parameter.
2727 (hildon_touch_selector_set_print_func_full): New function akin
2728 hildon_touch_selector_set_print_func() but with support for user
2729 data and a destroy callback.
2730 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2731 to clean up the print function user data.
2732 (hildon_touch_selector_class_init): Install dispose function.
2733 (HildonTouchSelectorPrivate::print_user_data),
2734 (HildonTouchSelectorPrivate::print_destroy_func): New private
2736 (hildon_touch_selector_init): Initialize new private members.
2737 (hildon_touch_selector_get_current_text): Pass along user data
2738 to the print function.
2739 (_default_print_func): Add dummy user_data to parameter list.
2740 * hildon-date-selector.c (_custom_print_func): ditto,
2741 * hildon-time-selector.c (_custom_print_func): ditto,
2742 * hildon-touch-selector-entry.c
2743 (hildon_touch_selector_entry_print_func): ditto.
2745 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2747 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2749 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2751 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2753 * src/hildon-pannable-area.c,
2754 (hildon_pannable_area_init),
2755 (hildon_pannable_area_button_press_cb),
2756 (hildon_pannable_area_motion_notify_cb): We have added code to
2757 handle the leave and enter events when using the motion events.
2759 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2761 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2763 * src/hildon-date-button.c (hildon_date_button_get_date)
2764 (hildon_date_button_set_date): Make sure that the button has a
2767 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2769 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2771 * src/hildon-pannable-area.c,
2772 (hildon_pannable_area_class_init),
2773 (hildon_pannable_area_calculate_velocity): Modify the use of the
2774 force and adapt the value.
2776 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2778 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2779 (hildon_app_menu_class_init): Hide the menu if it receives a
2780 delete-event, but don't destroy it
2782 Fixes: NB#104485 (Not able to address the call when application
2783 menu is opened at background)
2785 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-app-menu.c
2788 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2789 Remove the "external-border" style property, let the menu take its
2790 natural size (or the one set by the window manager)
2791 (hildon_app_menu_repack_items):
2792 Don't reshow the menu, avoid flickers.
2794 Partially fixes NB#94957 (Smoothly opened application menu)
2796 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2801 * configure.ac: Bump version.
2802 * debian/changelog: Updates.
2804 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2806 * src/hildon-pannable-area.c,
2807 (hildon_pannable_area_motion_notify_cb): We control that the
2808 direction error margin is used just in case the movement is
2809 allowed in the other direction.
2811 Fixes: NB#105012 (buttons inside a pannable area not getting
2812 release event when dragging/releasing)
2814 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2816 * src/hildon-pannable-area.c,
2817 (hildon_pannable_area_class_init),
2818 (hildon_pannable_area_get_property),
2819 (hildon_pannable_area_set_property),
2820 (hildon_pannable_area_initial_effect),
2821 (hildon_pannable_axis_scroll),
2822 (hildon_pannable_area_button_release_cb): Reviewed the
2823 overshooting effect, now it has its own max
2824 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2825 speed when bouncing.
2827 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2832 * configure.ac: Bump version.
2833 * debian/changelog: Updates.
2835 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2837 * src/hildon-pannable-area.c,
2838 (hildon_pannable_area_class_init): Changed the max speed, now
2839 users can launch the widget very fast. Reduced the default force,
2840 that way it is easier to control the launch speed.
2842 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2844 * src/hildon-pannable-area.c,
2845 (hildon_pannable_area_button_release_cb): Removed this check
2846 because it causes problems when the device is overloaded.
2848 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2850 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2851 add a current_text field to store the text entered in the
2852 touch selector entry.
2853 (_clean_current_selection): clean up the current text as well.
2854 (_save_current_selection), (_restore_current_selection):
2855 Save/restore the text in the entry if the selector is a
2856 HildonTouchSelectorEntry.
2858 Fixes: NB#102541 (value entered in the touch selector entry is not
2859 shown when opened for second time)
2861 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2863 * doc/hildon-sections.txt:
2864 * src/hildon-touch-selector-entry.c
2865 (+hildon_touch_selector_entry_get_entry):
2866 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2868 Fixes: NB#104815 (I need accessor to the entry inside
2869 HildonTouchSelectorEntry)
2871 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2874 (hildon_app_menu_class_init):
2875 New "filter-vertical-spacing" style property.
2877 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2879 * src/hildon-find-toolbar.c
2880 (hildon_find_toolbar_emit_close)
2881 (hildon_find_toolbar_emit_invalid_input)
2882 (hildon_find_toolbar_entry_activate):
2883 Use g_signal_emit() instead of g_signal_emit_by_name()
2885 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2887 Patch by Mox Soini (ext-mox.soini@nokia.com)
2889 * tests/TEST-CASES.txt
2890 * tests/check-hildon-banner.c
2891 * tests/check-hildon-note.c
2892 * src/hildon-banner.c
2893 * src/hildon-code-dialog.c
2894 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2895 * src/hildon-time-editor.c
2896 * examples/hildon-lookup-example.c (main):
2897 Replace obsolete icon names with new ones.
2899 * src/hildon-find-toolbar-private.h:
2900 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2901 (-hildon_find_toolbar_emit_search):
2902 Remove find button and change icon of close button.
2904 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2906 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2908 * src/hildon-time-button.c (hildon_time_button_new_step):
2909 Use the "touch-selector" property to set the selector directly
2910 when creating the object.
2912 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2914 Added a new example application that allows tuning the pannable
2915 area and replaced defines with properties in order to simplify the
2916 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2917 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2918 PROP_DIRECTION_ERROR_MARGIN.
2920 * examples/hildon-pannable-area-tuning-example.c: New example
2922 * src/hildon-pannable-area.c,
2923 (hildon_pannable_area_class_init),
2924 (hildon_pannable_area_init),
2925 (hildon_pannable_area_get_property),
2926 (hildon_pannable_area_set_property),
2927 (hildon_pannable_area_launch_fade_timeout),
2928 (hildon_pannable_area_adjust_value_changed),
2929 (hildon_pannable_axis_scroll),
2930 (hildon_pannable_area_motion_notify_cb),
2931 (hildon_pannable_area_scroll_cb),
2932 (hildon_pannable_area_button_release_cb): We have converted some
2933 of the defines that control the widget to properties to simplify
2936 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-app-menu.c (hildon_app_menu_map)
2939 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2940 so it's closed if a new window appears.
2942 Fixes: NB#104485 (Not able to address the call when application
2943 menu is opened at background)
2945 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2947 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2948 missing 'break' statement in in 'case' construct to avoid
2951 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2953 * src/hildon-touch-selector-entry.c
2954 (hildon_touch_selector_entry_get_property),
2955 (hildon_touch_selector_entry_set_property): Add missing 'break'
2956 statements in in 'case' constructs to avoid incorrect warnings.
2958 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2960 * src/hildon-time-editor.c
2961 (hildon_time_editor_get_time_separators): Do not crash if
2962 the first label is NULL.
2964 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2966 * src/hildon-date-selector.c (_month_days): Check for month to be
2967 strictly less than 12, since otherwise we may overrun the array.
2969 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-date-button.c (+hildon_date_button_new_full)
2972 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2973 (hildon_date_button_init): Set the date selector using a
2974 construction property, to make it happen after HildonButton's
2975 "value" property is set.
2977 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2978 current date by default)
2980 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2982 * doc/hildon-sections.txt
2983 * src/hildon-program.c
2984 * src/hildon-stackable-window.c
2985 * src/hildon-window.c:
2986 Documentation updates
2988 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2990 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2991 (hildon_window_stack_new, +hildon_window_stack_set_property)
2992 (+hildon_window_stack_get_property)
2993 (hildon_window_stack_class_init)
2994 (+hildon_window_stack_set_window_group)
2995 (+hildon_window_stack_get_window_group):
2996 Make the window group a construction property.
2998 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3000 * doc/hildon-sections.txt
3001 * src/hildon-stackable-window-private.h
3002 * src/hildon-stackable-window.h
3003 * src/hildon-stackable-window.c
3004 (-hildon_stackable_window_set_app_menu)
3005 (-hildon_stackable_window_get_app_menu)
3006 (-hildon_stackable_window_toggle_menu)
3007 (-hildon_stackable_window_finalize)
3008 (hildon_stackable_window_class_init)
3009 (hildon_stackable_window_init)
3010 * src/hildon-window-private.h
3011 * src/hildon-window.h
3012 * src/hildon-window.c (hildon_window_init)
3013 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3014 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3015 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3016 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3017 Moved all HildonAppMenu code to HildonWindow. The menu does not
3018 require a HildonStackableWindow anymore.
3020 * src/hildon-app-menu.c
3021 * src/hildon-program.c
3022 * examples/hildon-app-menu-example.c (main):
3023 Update examples and documentation to reflect HildonAppMenu
3026 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-remote-texture.c
3029 * src/hildon-animation-actor.c:
3030 Don't include unused private headers.
3032 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3034 * src/hildon-program-private.h
3035 * src/hildon-program.c
3036 (hildon_program_set_common_menu)
3037 (hildon_program_get_common_menu)
3038 (hildon_program_set_common_app_menu)
3039 (hildon_program_get_common_app_menu):
3040 Change common menu pointers from GtkWidget* to GtkMenu* and
3041 HildonAppMenu* to avoid unnecessary casts.
3043 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3045 * src/hildon-window.c (hildon_window_set_main_menu):
3046 Removed incorrect 'Since:' tag
3048 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3050 * src/hildon-pannable-area.c,
3051 (hildon_pannable_area_calculate_velocity): We use now the
3052 RATIO_TOLERANCE here to check the distance, fixed typo in the
3054 (hildon_pannable_area_motion_notify_cb): We have to set the type
3055 and time even if we are not sending the motion.
3057 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3059 * doc/hildon-sections.txt
3060 * src/hildon-app-menu.h
3061 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3062 (+hildon_app_menu_get_filters): New methods to get the contents of
3065 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3068 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3070 * src/hildon-app-menu.c (hildon_app_menu_popup):
3073 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3075 * src/hildon-window.h
3076 * src/hildon-window.c (+hildon_window_get_main_menu)
3077 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3078 and deprecated hildon_window_get_menu().
3080 * src/hildon-stackable-window.h
3081 * src/hildon-stackable-window.c
3082 (+hildon_stackable_window_set_app_menu)
3083 (+hildon_stackable_window_get_app_menu)
3084 (hildon_stackable_window_set_main_menu): Created
3085 hildon_stackable_window_{get,set}_app_menu() and deprecated
3086 hildon_stackable_window_set_main_menu().
3088 * doc/hildon-sections.txt
3089 * examples/hildon-app-menu-example.c (main)
3090 * src/hildon-app-menu.c
3091 * src/hildon-program.c:
3092 Updated examples and documentation.
3094 Fixes: NB#103758 (No way to obtain a menu from a
3095 HildonStackableWindow)
3097 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3102 * configure.ac: Bump version.
3103 * debian/changelog: Updates.
3105 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3107 * examples/hildon-remote-texture-example.c: Include
3108 hildon-remote-texture.h explicitely.
3109 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3110 applications not defining _XOPEN_SOURCE which don't require this header.
3112 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3114 * doc/hildon-sections.txt
3115 * src/hildon-app-menu.h
3116 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3117 New function to pop up a HildonAppMenu
3119 * src/hildon-stackable-window.c
3120 (hildon_stackable_window_toggle_menu):
3121 Use hildon_app_menu_popup() to show the menu.
3123 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3125 * src/hildon-app-menu.c (hildon_app_menu_show)
3126 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3127 menu if there's another window between it and its parent window.
3129 Fixes: NB#100468 (Application menu window is launched even when a
3130 new secondary-window/dialog is pending to be shown/realized)
3132 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3134 * src/hildon-window-stack.c (hildon_window_stack_push)
3135 (hildon_window_stack_pop_and_push):
3136 Don't forget to push/pop the first window.
3137 Reverse the window list before calling _push_list()
3139 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3141 * src/hildon-picker-button.h
3142 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3143 Remove "value_changed" slot to avoid ABI breakage
3145 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3147 * src/hildon-pannable-area.c,
3148 (hildon_pannable_area_realize),
3149 (hildon_pannable_area_unrealize),
3150 (hildon_pannable_draw_vscroll),
3151 (hildon_pannable_draw_hscroll): Changed the method to handle the
3152 GC used to draw the transparent scrollbar, this way we avoid
3153 creating the GC all the time when drawing the scrollbars.
3155 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3157 * src/hildon-pannable-area.c,
3158 (hildon_pannable_area_init),
3159 (hildon_pannable_area_remove): Removed some unnecessary casts.
3160 (hildon_pannable_area_dispose): Disconnected some signals before
3161 releasing the adjustments.
3163 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3166 Make sure that all widgets contained in the toolbar are shown.
3168 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3170 * doc/hildon-sections.txt
3171 * src/hildon-picker-button.h
3172 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3173 (_selection_changed, hildon_picker_button_on_dialog_response)
3174 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3175 New hildon_picker_button_value_changed() method.
3178 * src/hildon-picker-button-private.h
3179 * src/hildon-picker-button.c (hildon_picker_button_init)
3180 (+hildon_picker_button_disable_value_changed): Add protected
3181 function for disabling the "value-changed" signal.
3183 * src/hildon-date-button.c (hildon_date_button_set_date):
3184 Don't emit "value-changed" for each one of the three columns.
3186 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3187 before actual change of values)
3189 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3191 * src/hildon-pannable-area.c,
3192 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3193 for the treeview overshooting.
3195 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3197 * src/hildon-banner.c (+hildon_banner_bind_style):
3198 Renamed from hildon_banner_bind_label_style(), now naming the
3199 banner itself as well.
3200 (hildon_banner_show_information),
3201 (hildon_banner_show_information_with_markup),
3202 (hildon_banner_show_animation), (hildon_banner_show_progress):
3203 Name the widgets and labels, based on their type.
3205 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3208 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3210 * src/hildon-note.c (hildon_note_set_property): call
3211 hildon_note_rename() on HildonNote:note-type set.
3212 (hildon_note_rename): Name the note and its label, based on the
3213 HildonNote:note-type property.
3215 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3218 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3220 * src/hildon-pannable-area.c,
3221 (hildon_pannable_area_class_init),
3222 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3223 panning parameters, increased SPS and deceleration factor. Added
3224 also a margin to control fake directions.
3226 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3228 Patch by Sven Herzberg (sven@imendio.com)
3230 * configure.ac: Add missing AM_PROG_CC_C_0
3231 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3233 See NB#101420 (Update unit tests and fix make check)
3235 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3237 This patch was applied before but reverted because it caused
3238 problems, we have changed the main condition and tested the
3239 regressions we detected before and they work ok. We have done a
3240 complete review of the topmost algorithm in order to get a more
3243 * src/hildon-pannable-area.c,
3244 (hildon_pannable_area_get_topmost): Added a new parameter to
3245 filter the the windows that do not include those events.
3246 (hildon_pannable_area_button_press_cb),
3247 (hildon_pannable_area_button_release_cb),
3248 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3249 topmost function, we have added the new parameter.
3251 Fixes: NB#97458 (Pannable area prevents propagation of button
3254 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3256 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3257 if all columns in the selector have an item selected.
3258 (_on_dialog_response): Stop "response" signal emission if there is
3259 any selector column without selected items.
3261 Fixes: NB#101889 (Picker dialog should not close when nothing is
3262 selected in multiple selection list)
3264 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3266 * src/hildon-font-selection-dialog.c
3267 (hildon_font_selection_dialog_class_init),
3268 (hildon_font_selection_dialog_init): Remove the preview
3269 button and dialog, since previewing with default theming is likely
3270 to be overcomplicated. The :preview property has now no effect.
3271 Update documentation blurbs to inform about this.
3273 Fixes: NB#92297 (Preview content is not clearly visible for
3274 default colour text)
3276 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3278 Reviewed the geometry that handles the children size and
3279 scrollbar, now it tries a size and reviews the results depending
3280 on the scrollbars visibility.
3282 * src/hildon-pannable-area.c,
3283 (hildon_pannable_area_realize): Fixed a typo.
3284 (hildon_pannable_area_child_allocate_calculate): Added this
3285 function to calculate the child allocation.
3286 (hildon_pannable_area_size_allocate): Reviewed the allocation
3288 (hildon_pannable_area_check_scrollbars),
3289 (hildon_pannable_area_refresh): Refactored refresh function, this
3290 way we can call the code handling the scrollbars without causing a
3291 size_request, it is interesting in the allocate.
3292 (hildon_pannable_area_init): Replace the callbacks of the
3293 value_changed and changed signals to propertly deal with the
3295 (hildon_pannable_area_grab_notify),
3296 (hildon_pannable_area_initial_effect),
3297 (hildon_pannable_area_launch_fade_timeout),
3298 (hildon_pannable_area_adjust_changed),
3299 (hildon_pannable_area_adjust_value_changed),
3300 (hildon_pannable_area_redraw),
3301 (hildon_pannable_area_button_press_cb),
3302 (hildon_pannable_area_button_release_cb),
3303 (hildon_pannable_area_scroll_cb),
3304 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3305 code and use the new functions adjust_changed and
3306 adjust_value_changed.
3308 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3309 Contact editor dialog)
3311 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3316 * configure.ac: Bump version.
3317 * debian/changelog: Updates.
3319 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3321 * src/hildon-pannable-area.c,
3322 (hildon_pannable_area_get_topmost),
3323 (hildon_pannable_area_button_press_cb),
3324 (hildon_pannable_area_button_release_cb),
3325 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3326 topmost function adding the event mask. We have to try a
3327 differente approach because it is still causing problems (NB#9745,
3330 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3332 * src/hildon-banner.c:
3333 Update the maximum width of timed banners.
3334 (force_to_wrap_truncated): Enforce the maximum text width if the
3337 Fixes: NB#102413 (The text margins (wrapping) in information
3338 banner should be HILDON_MARGIN_TRIPLE)
3340 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3342 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3344 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3345 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3346 bound when calculating the scroll indicator position.
3348 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3349 treat ->lower correctly)
3351 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3353 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3354 expose event handling, since it is not necessary to draw the focus
3357 Fixes: NB#102467 (Do not show highlight on the text in
3360 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3362 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3363 full height of the toolbar for the button and the label.
3365 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3368 padding before the label and after the button.
3370 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3374 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3375 Add a GtkVSeparator between the button and the back arrow.
3376 Let the button have automatic size.
3377 Set a name to the widget for theming handling.
3379 Fixes: NB#101793 (Make edit toolbar the same height as window
3380 title bar (use title area theming))
3382 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-helper.c (attach_new_color_element): Fix memory
3387 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3389 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3391 * examples/hildon-button-example.c (common_buttons_window): Don't
3394 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3397 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3399 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3401 * src/hildon-gtk.c: Check that the window is realized.
3403 Fixes: NB#102225 (Crash setting the progress indicator to a non
3406 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3408 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3409 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3410 instead of modifying the one in the widget style.
3412 Fixes: NB#101043 (Second row of all the command button are
3413 displayed in transparent mode.)
3415 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3417 * src/hildon-date-button.c
3418 * src/hildon-time-button.c: Add gettext macros
3420 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3422 * src/hildon-date-button.c (hildon_date_button_new):
3423 * src/hildon-time-button.c (hildon_time_button_new_step):
3424 Use new logical strings to set the button default title.
3426 Fixes: NB#99915 (Date and Time options are not localised in Date
3429 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3431 * src/hildon-pannable-area.c
3432 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3433 the PANNING_THRESHOLD.
3435 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3437 * src/hildon-pannable-area.c,
3438 (hildon_pannable_area_class_init): Increased the maximum speed.
3439 (hildon_pannable_area_get_property),
3440 (hildon_pannable_area_set_property),
3441 (hildon_pannable_area_timeout): Added a new low friction mode, it
3442 allows the user avoid friction when launching the widget fast
3443 enough. It is interesting to traverse long lists.
3445 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3447 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3448 (+hildon_stackable_window_delete_event): Ignore delete events if
3449 the window is not the topmost one.
3451 Fixes: NB#101698 (Back button long press and delete-event handling)
3453 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3455 * src/hildon-pannable-area.c,
3456 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3457 gtk-dnd-drag-threshold, it was too big. We have defined our own
3458 dnd define and set a smaller value: PANNIG_THRESHOLD.
3460 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3463 user-defined icons, use always the default one.
3465 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3467 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3469 This patch was applied before but reverted because it caused
3470 problems, we have changed the main condition and tested the
3471 regressions we detected before and they work ok.
3473 * src/hildon-pannable-area.c,
3474 (hildon_pannable_area_get_topmost): Added a new parameter to
3475 filter the the windows that do not include those events. Added
3476 also a condition when finding the window to filter windows that do
3477 not ask for those events.
3478 (hildon_pannable_area_button_press_cb),
3479 (hildon_pannable_area_button_release_cb),
3480 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3481 topmost function, we have added the new parameter.
3483 Fixes: NB#97458 (Pannable area prevents propagation of button
3486 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3488 * tests/check-hildon-color-button.c (START_TEST): do not leak
3491 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3493 * src/hildon-font-selection-dialog.c
3494 (hildon_font_selection_dialog_get_preview_text): Return NULL
3495 instead of FALSE on the g_return_val_if_fail().
3497 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3499 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3500 * src/hildon-date-selector.c
3501 (hildon_date_selector_select_current_date):
3502 Do not compare unsigned integers to be greater than or equal 0,
3503 because it's always TRUE.
3505 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3507 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3508 (hildon_date_selector_constructor): Do not select the current
3509 date until we are handle the "changed" signal, to avoid having bogus
3510 elements in the days model.
3512 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3514 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3515 for num_days, since _month_days() can return a negative value.
3517 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3519 * src/hildon-caption.c (hildon_caption_size_allocate):
3520 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3521 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3523 Initialize allocation variables to 0, to avoid eventually using
3524 unitialized variables.
3526 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3528 * src/hildon-bread-crumb-trail.c
3529 (hildon_bread_crumb_trail_size_allocate):
3530 * src/hildon-calendar.c (hildon_calendar_set_background):
3531 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3532 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3533 * src/hildon-seekbar.c (hildon_seekbar_init):
3534 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3535 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3536 * src/hildon-touch-selector-entry.c
3537 (hildon_touch_selector_get_text_from_model):
3538 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3539 * src/hildon-window.c (hildon_window_finalize):
3541 Remove many unused variables.
3543 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3545 * src/hildon-seekbar.c: (hildon_seekbar_init),
3546 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3548 Remove unnecessary g_assert() calls.
3550 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3552 * src/hildon-caption.c: (hildon_caption_expose),
3553 (hildon_caption_set_property), (hildon_caption_init),
3554 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3555 (hildon_caption_size_request), (hildon_caption_size_allocate),
3556 (hildon_caption_forall), (hildon_caption_set_separator),
3557 (hildon_caption_activate), (hildon_caption_set_child_expand),
3558 (hildon_caption_set_label_text),
3559 (hildon_caption_get_label_alignment):
3561 Remove unnecessary g_assert() calls.
3563 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-banner.c
3566 (hildon_banner_map, hildon_banner_init): Make banner temporary
3567 before mapping it to avoid closing other temporary windows, but
3568 make it non-temporary afterwards to avoid being closed by other
3569 non-temporary windows.
3570 (-hildon_banner_client_event, hildon_banner_init):
3571 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3573 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3576 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3578 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3581 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3583 * src/hildon-remote-texture.c
3584 * src/hildon-remote-texture.h
3585 * src/hildon-remote-texture-private.h
3586 * examples/hildon-remote-texture-example.c:
3587 Updates/fixes to remote-texture and its example.
3589 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3591 Patch by Mox Soini (ext-mox.soini@nokia.com)
3593 * src/hildon-code-dialog.c: Update logical id.
3594 * src/hildon-set-password-dialog.c: Update logical id.
3596 Fixes: NB#100646 (Logical strings is shown for ok in set
3597 password,Password needed dialogs)
3599 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3602 * src/hildon-remote-texture.c
3603 * src/hildon-remote-texture.h
3604 * src/hildon-remote-texture-private.h
3606 Added remote texture widget (for Clutter shared memory textures)
3608 * examples/hildon-remote-texture-example.c
3609 * examples/Makefile.am
3610 Added example file for remote texture usage
3612 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3614 * configure.ac: post release version bump.
3615 * debian/changelog: version bump.
3617 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3622 * configure.ac: Bump version.
3623 * debian/changelog: Updates.
3625 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-date-selector.c (hildon_date_selector_init)
3628 (hildon_date_selector_constructor): Don't connect to the "changed"
3629 signal until the selector is completely constructed.
3631 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3633 * src/hildon-touch-selector.c: (_create_new_column),
3634 (hildon_touch_selector_append_column),
3635 (hildon_touch_selector_set_column_selection_mode),
3636 (hildon_touch_selector_set_active),
3637 (hildon_touch_selector_select_iter):
3638 Emit the HildonTouchSelector::changed signal every time selection
3639 is changed in any of the methods above. This behavior was already
3640 documented but not fully functional.
3642 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3643 selection is programmatically changed)
3645 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3647 * doc/hildon-sections.txt: Remove obsolete icon
3648 sizes from here as well.
3650 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3652 * examples/hildon-stackable-window-example.c (add_window): Remove
3655 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3657 * src/hildon-app-menu.c
3658 (hildon_app_menu_show): Check whether the parent window of a menu
3659 is topmost before popping it up.
3661 Fixes: NB#100468 (Application menu window is launched even when a
3662 new secondary-window/dialog is pending to be shown/realized.)
3664 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3666 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3669 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3671 Patch by Mox Soini (ext-mox.soini@nokia.com)
3673 * src/hildon-banner.c: (hildon_banner_show_animation):
3674 use stylus size instead of obsolete note size.
3675 * src/hildon-defines.h: Update icon sizes.
3677 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-touch-selector-entry.c:
3680 (hildon_touch_selector_entry_init): Disable unsupported
3682 (hildon_touch_selector_entry_get_text_column): Emit a warning
3683 if an unsupported input modes is used and explicitile state
3684 these modes in the documentation.
3686 Fixes: NB#99802 (Hildon touch selector entry not working properly
3687 for some of the input modes)
3689 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3691 * src/hildon-pannable-area.c,
3692 (hildon_pannable_area_init): Added the changed signal handlers of
3695 Fixes: NB#100320 (HildonPannableArea does not listen to
3696 GtkAdjustment "change" signals)
3698 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3700 * doc/hildon-sections.txt
3701 * src/hildon-window-private.h
3702 * src/hildon-window.h
3703 * src/hildon-window.c (hildon_window_init)
3704 (hildon_window_realize, hildon_window_unrealize)
3705 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3706 (hildon_window_size_request, hildon_window_size_allocate)
3707 (hildon_window_forall, hildon_window_show_all)
3708 (hildon_window_destroy, +paint_edit_toolbar)
3709 (+hildon_window_set_edit_toolbar):
3710 New hildon_window_set_edit_toolbar() method, to add a
3711 HildonEditToolbar to a window without having to pack it manually.
3713 Reorganize hildon_window_size_allocate()
3715 * src/hildon-edit-toolbar.c: Update documentation.
3717 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3718 example to use the new API.
3720 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3722 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3725 Remove from stack before calling parent's hide.
3727 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3730 window is removed from the middle of the stack, update the
3731 transiency of the previous one.
3733 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3736 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3738 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3739 block/unblock the signal handler if it's not actually being used.
3740 Fixes some critical warnings.
3742 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3744 Based on a patch by Iván Gómez (igomez@igalia.com)
3746 * src/hildon-banner.c
3750 * src/hildon-pannable-area.c
3751 * src/hildon-picker-dialog.c
3752 * src/hildon-wizard-dialog.h
3753 * src/hildon-wizard-dialog.c: Documentation updates.
3755 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3756 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3758 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3760 * configure.ac: post release version bump.
3761 * debian/changelog: version bump.
3763 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3768 * configure.ac: Bump version.
3769 * debian/changelog: Updates.
3771 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3773 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3774 a stock icon nor change the relief of the back arrow.
3776 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3777 graphics from theme)
3779 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3781 * src/hildon-button.c (hildon_button_set_alignment): Use
3782 priv->alignment if the button has no child yet.
3784 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3786 * src/hildon-button.c: (hildon_button_init): Set the
3787 button style during initialization to give it the proper
3790 Fixes: NB#99713 (HildonButton value label color is wrong)
3792 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3794 * src/hildon-touch-selector.c: Document
3795 hildon_touch_selector_center_on_selected()
3797 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3799 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3800 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3801 all menu items, but not the menu itself.
3802 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3803 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3804 items after adding them to the menu so keyboard accelerators work.
3805 (hildon_app_menu_show): Don't show the menu if it contains items
3806 but none of them are visible.
3808 * examples/hildon-app-menu-example.c (create_menu): Use
3809 gtk_widget_show_all() to show all menu items.
3811 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3813 * src/hildon-picker-dialog.c:
3814 (-_update_title_on_selector_changed_cb),
3815 (-_dialog_update_title): Removed.
3816 (_select_on_selector_changed_cb), (_on_dialog_response),
3817 (on_selector_columns_changed): Do not update the dialog title.
3818 (setup_interaction_mode): Do not connect to
3819 HildonTouchSelector::changed signal if there's a "done" button, as
3820 the dialog title doesn't need to be updated.
3822 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3825 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3827 Patch by Kristian Rietveld (kris@imendio.com)
3829 * src/hildon-touch-selector.c: (_create_new_column): Use new
3830 GtkTreeView::hildon-row-tapped signal to react to user interactions
3831 instead of ::changed.
3833 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3834 with some dynamic tree model)
3836 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3838 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3839 (+screen_size_changed, +label_size_request)
3840 (hildon_note_class_init): Make the Hildon information note have a
3841 minimum height, and make its text hvae a maximum width.
3843 Fixes: NB#98614 (Hildon information note (background) should have
3844 minimum height and maximum text width)
3846 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3848 * src/hildon-banner.h
3849 * src/hildon-banner.c (hildon_banner_show_information)
3850 (hildon_banner_show_informationf)
3851 (hildon_banner_show_information_with_markup): Update documentation
3852 to reflect that the icon_name parameter is not used anymore.
3853 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3854 Remove all code from these functions and mark them as deprecated.
3855 (hildon_banner_show_progress): Mark as deprecated.
3857 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3859 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3861 * src/hildon-pannable-area.c,
3862 (hildon_pannable_area_class_init),
3863 (tranparency_color),
3864 (hildon_pannable_draw_vscroll),
3865 (hildon_pannable_draw_hscroll),
3866 (hildon_pannable_area_expose_event): Added a new way to render the
3867 scrollbars of the pannable area avoiding using cairo at all. This
3868 way we improve the performance of the pannable area rendering. The
3869 cairo rendering procedure is still in the code, we can control
3870 which one to use changing the value of the define
3871 USE_CAIRO_SCROLLBARS.
3873 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3875 * configure.ac: post release version bump.
3876 * debian/changelog: version bump.
3878 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3883 * configure.ac: Bump version.
3884 * debian/changelog: Updates.
3886 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3889 banners instead of destroying them when they receive a button
3892 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3894 Reverted commit 34028, it was causing regressions, probably the
3895 topmost condition is not correct, we have to check it in more
3896 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3897 propagation of button press events)
3899 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3901 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3902 that the selection is not empty before attempting to retrieve the
3903 current ampm selection.
3905 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3907 * src/hildon-picker-button.c:
3908 (hildon_picker_button_on_dialog_response): Directly update the
3909 button contents when required instead of calling _selection_changed.
3911 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3913 * src/hildon-program.c (hildon_program_update_top_most): Update
3914 'is-topmost' property also when wm_hints is not set.
3916 Fixes: NB#98383 (is-topmost signal is not emitted when task
3917 switcher is clicked.)
3919 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3921 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3925 * src/hildon-animation-actor.c,
3926 * src/hildon-animation-actor.h: Added the animation actor class,
3927 this widget represents an animation actor for WM-assisted
3928 animation effects in the Hildon framework.
3930 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3932 * src/hildon-window-stack-private.h
3933 * src/hildon-window-stack.c
3934 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3935 Avoid calling gtk_widget_show() again indirectly from
3936 hildon_stackable_window_show()
3938 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3940 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3943 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3945 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3946 (hildon_time_selector_init): Move the construction of the hours and
3947 ampm columns to the constructor to preserve the order the columns
3950 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-picker-dialog.c:
3953 (hildon_picker_dialog_class_init): Connect a realize method.
3954 (+hildon_picker_dialog_realize): Setup the interaction mode here
3956 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3957 yet, do it during the realize instead.
3958 (_on_dialog_response):
3959 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3960 if the widget is not realized, to avoid the dialog response before it
3963 Avoid premature responses in the HildonPickerDialog that can cause it
3964 to be hidden before it's even shown.
3966 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3968 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3969 (on_selector_columns_changed), (requires_done_button),
3970 (+prepare_action_area), (setup_interaction_mode),
3971 (_hildon_picker_dialog_set_selector):
3973 Split the interaction mode setup into preparation of the
3974 action area (prepare_action_area()) and the connection of
3975 the signals in setup_interaction_mode() and update the code to
3978 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3980 * src/hildon-pannable-area.c,
3981 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3982 per second to 15, we will check if this is ok regarding
3985 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3987 * src/hildon-pannable-area.c,
3988 (hildon_pannable_axis_scroll): Avoid resize if we already have
3989 reached overshoot_max.
3991 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3993 * src/hildon-pannable-area.c,
3994 (hildon_pannable_area_init),
3995 (hildon_pannable_area_realize),
3996 (hildon_pannable_area_size_allocate),
3997 (hildon_pannable_area_map),
3998 (hildon_pannable_area_unmap),
3999 (hildon_pannable_draw_vscroll),
4000 (hildon_pannable_draw_hscroll),
4001 (hildon_pannable_area_expose_event),
4002 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4003 pannable are to avoid the expose events go to the window and
4004 redraw the window. We save this way that part of the stack and the
4005 paint_boxes. We had to change the positions of the elements when
4008 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4010 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4011 * src/hildon-color-chooser-dialog.c:
4012 (hildon_color_chooser_dialog_init):
4013 * src/hildon-font-selection-dialog.c:
4014 (hildon_font_selection_dialog_init),
4015 (hildon_font_selection_dialog_show_preview):
4016 * src/hildon-get-password-dialog.c:
4017 * src/hildon-login-dialog.c:
4018 * src/hildon-set-password-dialog.c:
4019 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4020 * src/hildon-time-picker.c: (hildon_time_picker_init):
4022 Remove obsolete logical string IDs and update to the appropriate ones.
4024 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4026 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4028 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4029 that happens if the window hasn't been realized yet.
4031 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4032 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4034 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4036 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4037 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4040 Fixes: NB#98537 (Device hangs in account settings dialog)
4042 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4044 * configure.ac: post release version bump.
4045 * debian/changelog: version bump
4047 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4052 * configure.ac: Bump version.
4053 * debian/changelog: Updates.
4055 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4057 Added a new function to the HildonTimeButton widget that allows to
4058 change the step of the minutes in the selector associated with the
4059 button: hildon_time_button_new_step
4061 * src/hildon-time-button.c,
4062 (hildon_time_button_init),
4063 (hildon_time_button_new),
4064 (hildon_time_button_new_step):
4065 * src/hildon-time-button.h: Added the new function and refactored
4067 * examples/hildon-time-button-example.c,
4068 (main): We have replaced the function without parameters with the
4069 function with the steps set to 5
4071 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4073 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4075 * src/hildon-time-selector.c,
4076 (hildon_time_selector_class_init),
4077 (hildon_time_selector_constructor),
4078 (hildon_time_selector_get_property),
4079 (hildon_time_selector_set_property),
4080 (_create_minutes_model),
4081 (hildon_time_selector_new_step),
4082 (hildon_time_selector_set_time),
4083 * src/hildon-time-selector.h: Added a new property to the
4084 HildonTimeSelector (minutes-step), we use that property to control
4085 the steps between the minutes in the list of the selector. We have
4086 added a new function to the API to create a widget changing the
4087 step: hildon_time_selector_new_step.
4089 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4091 * src/hildon-time-selector.c,
4092 (hildon_time_selector_class_init),
4093 (hildon_time_selector_constructor),
4094 (hildon_time_selector_init): Overrided the construct function when
4095 creating the time selector object. We have moved the minutes model
4096 handling code from the init to the new construction function:
4097 hildon_time_selector_constructor.
4099 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4101 * examples/hildon-date-button-example.c: (main): Use the new
4102 hildon_date_button_new_with_year_range() method in the example.
4103 * src/hildon-date-button.c:
4104 (+hildon_date_button_new_with_year_range): New public method
4105 to conveniently create a HildonDateButton with a custom year range
4106 in its HildonDateSelector.
4107 * src/hildon-date-button.h: Add the new public method definition.
4109 Fixes: NB#97908 (Not possible to change the year range in
4110 HildonDateSelector/HildonDateButton)
4112 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-date-selector.c:
4115 (+hildon_date_selector_set_property),
4116 (+hildon_date_selector_get_property),
4117 (hildon_date_selector_class_init): Install new properties "min-year"
4118 and "max-year" to define boundaries for the year column.
4119 (_create_year_model): Use the boundary properties to populate the model.
4120 (+hildon_date_selector_new_with_year_range): New public method to
4121 create a HildonDateSelector with a user defined year range.
4122 (hildon_date_selector_select_current_date): Use the new boundaries to
4123 calculate the iterator of current year.
4124 * src/hildon-date-selector.h: Add the new public method definition.
4126 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4128 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4129 Install a constructor method.
4130 (+hildon_date_selector_construct_ui): construct the widget.
4131 (+hildon_date_selector_constructor): new constructor.
4132 (+hildon_date_selector_init): move out widget construction code to
4133 the new constructor.
4135 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4137 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4138 that there's actually a month or year selected before obtaining them.
4139 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4140 of the HildonTouchSelector::changed signal, as it was emitted on every
4141 single item selection.
4143 Fix some warnings and possible crashers due to the selection restoring.
4145 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4147 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4148 the signal handlers only after creating the dialog instead of on every
4151 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-button.c (hildon_button_init)
4154 * src/hildon-check-button.c (hildon_check_button_init)
4155 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4156 focus when clicked by default.
4158 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4160 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4163 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4165 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4166 Alejandro G. Castro (alex@igalia.com)
4168 * src/hildon-picker-dialog.c:
4169 (hildon_picker_dialog_class_init): install new "center-on-show"
4171 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4172 (hildon_picker_dialog_set_property): add setter code for the new
4174 (hildon_picker_dialog_get_property): add getter code for the new
4176 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4177 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4180 Fixes: NB#92849 (Selected item is not always visible when
4181 HildonTouchSelector is shown)
4183 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4185 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4186 Alejandro G. Castro (alex@igalia.com)
4188 * src/hildon-touch-selector.c:
4189 (_create_new_column): Do not connect to the "realize" signal of the
4191 (hildon_touch_selector_append_column): center on the selected items
4192 when a new column is appended.
4193 (hildon_touch_selector_select_iter): Factor out the code to select a
4194 column to hildon_touch_selector_scroll_to().
4195 (+search_nearest_element): Method to retrieve the nearest selected
4196 element to the visible area of the pannable area in a column.
4197 (+on_realize_cb): scroll to the initially selected item.
4198 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4199 the pannable area is realized, otherwise delay this until it is.
4200 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4201 selected items of a given column.
4202 (+hildon_touch_selector_center_on_selected): Public method to center
4203 all columns on the nearest selected item.
4204 * src/hildon-touch-selector.h: Add definition for
4205 hildon_touch_selector_center_on_selected().
4207 Implement public API to ensure visibility of all selected items in
4208 a HildonTouchSelector.
4210 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4212 Fixed a problem in the fading when calling the scroll_to API, and
4213 improve scrollbar fading handling.
4215 * src/hildon-pannable-area.c,
4216 (hildon_pannable_area_grab_notify): avoid the timeout when the
4218 (hildon_pannable_area_button_press_cb),
4219 (hildon_pannable_area_motion_notify_cb): Code style changes.
4220 (hildon_pannable_area_button_release_cb): Review the conditions
4221 when releasing the mouse button to avoid unrequired fading
4223 (hildon_pannable_area_scroll_to): Do not calculate and set the
4224 velocity if the scroll is not required.
4226 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4228 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4229 Don't check whether the new selector is NULL: it cannot be.
4230 Hold a reference to the selector while doing the replacement.
4232 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4235 unnecessary size_request in a removed widget.
4237 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4239 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4240 an unnecessary reference tracking that was leaking.
4242 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4244 Added delayed motion notify event handling, this way we can
4245 discard redrawing if more than 25 events arrive per second.
4247 * src/hildon-pannable-area.c,
4248 (hildon_pannable_area_init): Initialized the new private atributes
4249 controlling this timeout
4250 (hildon_pannable_area_dispose): Remove the timeout that controls
4251 the motion notify events.
4252 (hildon_pannable_area_scroll): Added a condition to control the
4253 use of the acceleration.
4254 (hildon_pannable_area_motion_event_scroll_timeout),
4255 (hildon_pannable_area_motion_event_scroll): Added this two
4256 functions, they handle the motion notify events inside the
4258 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4259 to the scroll method with the new function.
4260 (hildon_pannable_area_button_release_cb): We have to remove the
4261 timeout handler and move to the last position if the last motion
4262 events were not handled.
4264 Fixes: NB#97028 (Pannable area updates on every motion event)
4266 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4268 * src/hildon-pannable-area.c,
4269 (hildon_pannable_area_get_topmost): Added a new parameter to
4270 filter the the windows that do not include those events. Added
4271 also a condition when finding the window to filter windows that do
4272 not ask for those events.
4273 (hildon_pannable_area_button_press_cb),
4274 (hildon_pannable_area_button_release_cb),
4275 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4276 topmost function, we have added the new parameter.
4278 Fixes: NB#97458 (Pannable area prevents propagation of button
4281 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4283 * src/hildon-pannable-area.c,
4284 (hildon_pannable_area_initial_effect): Added controls before
4285 launching the timeout and the idle functions.
4286 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4287 of the method, in some situations it can return with TRUE and 0 in
4289 (hildon_pannable_area_button_press_cb): We do not need to set
4290 DELAY for fading out here.
4292 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4294 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4296 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4297 post-cleaning if the selection is not NULL.
4299 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4301 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4302 all items before restoring the selection.
4304 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4306 * src/hildon-touch-selector.c:
4307 (+hildon_touch_selector_unselect_all):
4308 * src/hildon-touch-selector.h: New API to unselect all items in a
4309 column of the touch selector.
4311 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4313 * src/hildon-pannable-area.c,
4314 (hildon_pannable_area_redraw): Added a call to the refresh
4315 function inside the redraw because apparently in some cases the
4316 change in the adjustment does not imply a size allocate.
4318 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4319 despite the view not being scrollable)
4321 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4323 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4324 leak. Check for NULL before attempting to set the window title.
4326 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4328 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4329 whether to show or not the 'Done' button each time the dialog is
4330 shown, as it depends on the HildonTouchSelector selection mode.
4332 Fixes: NB#96226 (In multiple selection mode Done button is shown
4333 sometimes in listpicker)
4335 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4337 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4338 for the number of columns in the HildonTouchSelector more than once.
4340 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4342 * src/hildon-touch-selector.c: Minor documentation fixes.
4344 * src/hildon-picker-dialog.c (+_dialog_update_title)
4345 (_select_on_selector_changed_cb)
4346 (_update_title_on_selector_changed_cb)
4347 (on_selector_columns_changed): Update dialog title when there's no
4348 'Done' button and also when the number of columns in the selector
4352 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4353 (+_selection_changed, hildon_picker_button_on_dialog_response)
4354 (hildon_picker_button_selector_selection_changed)
4355 (+hildon_picker_button_selector_columns_changed)
4356 (hildon_picker_button_set_selector): Update button value and emit
4357 'value-changed' when the number of columns in the selector
4361 Fixes: NB#96225 (Dialog titles are not shown according to the
4362 values selected in the list picker)
4364 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4366 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4367 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4368 New "arrow-width" and "arrow-height" style properties to set the
4369 size of the arrow button.
4370 Set name of arrow button ("hildon-edit-toolbar-arrow").
4372 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4373 graphics from theme)
4375 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4377 * src/hildon-picker-button.c:
4378 (hildon_picker_button_selector_selection_changed): Use
4379 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4380 the dialog is present.
4382 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4383 the selection is accepted in the dialog)
4385 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4387 * src/hildon-color-chooser.h
4388 * src/hildon-color-chooser-dialog.h:
4389 Added G_BEGIN_DECLS and G_END_DECLS
4391 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4393 (_clean_current_selection): plug a leak in the list.
4395 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4397 * src/hildon-picker-dialog.c:
4398 (+free_path_list): Method to free a GList of GtkTreePaths.
4399 (_clean_current_selection), (_save_current_selection),
4400 (_restore_current_selection): Save the current selection in
4401 as a list of lists, to support multiple selection properly.
4403 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4405 patch by Claudio Saavedra (csaavedra@igalia.com)
4407 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4408 Store the press position.
4409 (+hildon_text_view_button_release_event): If the release position is
4410 close enough to the press position, move the cursor here. Otherwise,
4412 (hildon_text_view_class_init): Override GtkTextView press, release, and
4413 motion event handlers, disabling this way text selection through
4414 pointer interaction, and allowing the container widget to handle the
4417 Fixes: NB#95828 (HildonTextView functionality)
4419 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4421 Based on a patch by Iván Gómez (igomez@igalia.com)
4423 * src/hildon-button.[ch]
4424 * src/hildon-calendar.c
4425 * src/hildon-check-button.c
4426 * src/hildon-date-editor.c
4427 * src/hildon-date-selector.c
4428 * src/hildon-picker-button.c
4429 * src/hildon-time-editor.c
4430 * src/hildon-time-selector.c
4431 * src/hildon-touch-selector.[ch]:
4432 Documentation updates
4434 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4436 * src/hildon-pannable-area.c,
4437 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4438 threshold, it was required due to X events handling.
4440 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4442 * src/hildon-pannable-area.c,
4443 (hildon_pannable_area_grab_notify),
4444 (hildon_pannable_area_initial_effect),
4445 (hildon_pannable_area_button_press_cb),
4446 (hildon_pannable_area_button_release_cb),
4447 (hildon_pannable_area_scroll_cb),
4448 (hildon_pannable_area_scroll_to): Review the timeout management of
4449 the scrollbar, the frecuency was incorrectly set.
4451 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4453 * src/hildon-picker-button.c:
4454 (+hildon_picker_button_on_dialog_response),
4455 (hildon_picker_button_clicked): Present the dialog instead of
4456 running it with gtk_dialog_run().
4458 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4461 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4463 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4464 (hildon_app_menu_finalize): When a window is hidden it doesn't
4465 emit notify::is-topmost, so make sure than the menu also
4466 disappears in that case.
4467 (parent_window_topmost_notify): Renamed from parent_window_hidden
4469 Fixes: NB#94460 (stackable window's menu is not closed when its
4472 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4474 * src/hildon-touch-selector-entry.c:
4475 (+hildon_touch_selector_entry_set_input_mode),
4476 (+hildon_touch_selector_entry_get_input_mode):
4477 * src/hildon-touch-selector-entry.h: New methods to access the input
4478 mode in the selector's entry.
4480 Fixes: NB#93410 (API required for setting IM mode in
4481 HildonTouchSelectorEntry)
4483 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4485 * configure.ac: post release version bump.
4486 * debian/changelog: version bump
4488 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4493 * configure.ac: Bump version.
4494 * debian/changelog: Updates.
4496 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4498 * src/hildon-touch-selector.c:
4499 (_hildon_touch_selector_has_multiple_selection): No need
4500 to initialize the variables here.
4502 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4504 * src/hildon-note-private.h
4505 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4506 (hildon_note_finalize, hildon_note_rebuild): Close information
4507 notes when they receive a button press.
4509 Fixes: NB#89890 (Information notes does not get disappeared after
4512 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4514 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4515 mark from the wizard title, as it's not really necessary. Also,
4516 do not display the page title if not set.
4518 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4521 (parent_window_hidden): Use the window's "is-topmost" property to
4522 detect when to hide the menu.
4524 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4526 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4527 (hildon_app_menu_finalize): If the parent window of the menu is
4528 hidden, hide the menu too.
4530 Fixes: NB#94460 (stackable window's menu is not closed when its
4533 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4536 * debian/libhildon1-examples.install
4538 * examples/Makefile.am:
4539 Use dh_install to install all examples.
4540 Use DEB_SRCDIR instead of defining SOURCE_DIR
4542 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4544 * configure.ac: post release version bump.
4545 * debian/changelog: version bump
4547 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4552 * configure.ac: bump version
4553 * debian/changelog: updates
4554 * debian/control: bump gtk+ dependency
4556 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4558 patch by Christian Dywan (christian@imendio.com)
4560 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4561 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4563 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4565 * src/hildon-check-button.c (hildon_check_button_init)
4566 (hildon_check_button_class_init, hildon_check_button_style_set)
4567 (hildon_check_button_apply_style):
4568 New "checkbox-size" style property.
4570 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4571 larger / configurable size)
4573 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4575 * configure.ac: post release version bump.
4576 * debian/changelog: version bump
4578 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4583 * configure.ac: bump version
4584 * debian/changelog: updates
4586 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4588 * doc/hildon-sections.txt
4589 * src/hildon-pannable-area.c
4590 * src/hildon-program.c
4591 * src/hildon-time-editor.c
4592 * src/hildon-touch-selector-entry.c:
4594 More documentation updates.
4596 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4598 * doc/hildon-sections.txt
4599 * src/hildon-caption.c
4600 * src/hildon-code-dialog.c
4601 * src/hildon-color-button.c
4602 * src/hildon-controlbar.c
4603 * src/hildon-date-editor.c
4604 * src/hildon-date-selector.c
4605 * src/hildon-edit-toolbar.c
4606 * src/hildon-find-toolbar.c
4607 * src/hildon-font-selection-dialog.c
4609 * src/hildon-program.c
4610 * src/hildon-range-editor.c
4611 * src/hildon-seekbar.c
4612 * src/hildon-time-editor.c
4613 * src/hildon-time-selector.c
4614 * src/hildon-volumebar-range.c
4615 * src/hildon-volumebar.c
4616 * src/hildon-vvolumebar.c
4617 * src/hildon-weekday-picker.c
4618 * src/hildon-window.c
4619 * src/hildon-wizard-dialog.c:
4621 Lots of documentation fixes.
4623 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4625 Patch contributed by Iván Gómez (igomez@igalia.com)
4627 * src/hildon-check-button.c:
4628 * src/hildon-date-button.c:
4629 * src/hildon-date-selector.c:
4630 * src/hildon-dialog.c:
4631 * src/hildon-edit-toolbar.c:
4632 * src/hildon-entry.c:
4633 * src/hildon-picker-button.c:
4634 * src/hildon-program.c:
4635 * src/hildon-text-view.c:
4636 * src/hildon-time-button.c:
4637 * src/hildon-touch-selector-entry.c:
4638 * src/hildon-window-stack.c:
4640 Add more "since" tags to the new API.
4642 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4644 * doc/hildon-sections.txt: Add below method.
4645 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4646 version for the hildonized scale.
4647 * src/hildon-gtk.h: Add the definition.
4649 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4651 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4653 * doc/hildon-sections.txt: Add missing entries for new methods.
4655 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4657 Added API to pannable are in order to get its adjustments. We
4658 added two properties to manage the values we had in the private
4661 * src/hildon-pannable-area.c:
4662 (hildon_pannable_area_class_init): Added hadjustment and
4663 vadjustment properties in order to expose horizontal and vertical
4665 (hildon_pannable_area_get_property),
4666 (hildon_pannable_area_set_property): Added code to handle the new
4668 (hildon_pannable_area_get_hadjustment),
4669 (hildon_pannable_area_get_vadjustment): API functions to get the
4671 * src/hildon-pannable-area.h:
4672 (hildon_pannable_area_get_hadjustment),
4673 (hildon_pannable_area_get_vadjustment): API functions to get the
4676 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4678 Fixed some leaks, after valgrinding.
4680 * src/hildon-touch-selector.c:
4681 (_default_print_func): Fixed a leak.
4682 (hildon_touch_selector_append_column): Fixed a leak.
4683 * src/hildon-date-button.c:
4684 (hildon_date_button_init): Fixed a leak.
4685 * src/hildon-date-selector.c
4686 (hildon_date_selector_finalize): Fixed a leak.
4688 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4690 Based on a patch by Christian Dywan (christian@imendio.com)
4692 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4694 * src/hildon-gtk.h: Add definition.
4696 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4698 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4700 * src/hildon-picker-button.c: (hildon_picker_button_init),
4701 (hildon_picker_button_new): Set the HildonButton::style property
4702 in the init method, to propagate the value to the derived classes.
4704 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4706 * src/hildon-button.c: (hildon_button_class_init): Do not make
4707 the "style" property a construct property.
4709 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-wizard-dialog.h
4712 * src/hildon-wizard-dialog.c
4713 (hildon_wizard_dialog_set_forward_page_func)
4714 * src/hildon-pannable-area.h
4715 * src/hildon-pannable-area.c
4716 (hildon_pannable_area_set_size_request_policy):
4717 Documentation fixes.
4719 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4721 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4723 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4725 * doc/hildon-sections.txt: Added sections file.
4727 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4730 * src/*.[ch]: Updates.
4732 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4734 * examples/hildon-progress-indicator-example.c: new file
4735 * examples/Makefile.am: include the new example program
4737 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4739 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4741 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4743 * configure.ac: post release version bump
4744 * debian/changelog: version bump
4746 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4751 * configure.ac: bump version
4752 * debian/changelog: updates
4753 * debian/control: bump gtk+ dependency
4755 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4757 * src/hildon-dialog.c: Mark as deprecated.
4758 * src/hildon-dialog.h: Mark as deprecated.
4759 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4760 from HildonDialog and still work, even if
4761 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4762 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4764 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4765 maemo changes) instead)
4767 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4769 * src/hildon-pannable_area.h:
4770 * src/hildon-pannable_area.c:
4771 (hildon_pannable_area_class_init),
4772 (hildon_pannable_area_set_property),
4773 (hildon_pannable_area_get_property),
4774 (hildon_pannable_area_size_request),
4775 (hildon_pannable_area_get_size_request_policy),
4776 (hildon_pannable_area_set_size_request_policy): Added new API
4777 allowing applications to control the request policy. Now they can
4778 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4779 children allocation (HILDON_MOVEMENT_CHILDREN).
4781 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4785 (hildon_gtk_tree_view_set_ui_mode)
4786 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4787 mode of treeviews and iconviews.
4789 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4791 * src/hildon-touch-selector-entry.c:
4792 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4793 of a GtkEntry to get proper theming.
4795 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4796 widget, not GtkEntry)
4798 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4801 no HildonWizardDialogPageFunc.
4803 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4805 Patch contributed by Iván Gómez (igomez@igalia.com)
4807 * src/hildon-app-menu.c:
4808 * src/hildon-button.c:
4809 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4810 * src/hildon-stackable-window.c:
4811 * src/hildon-time-selector.c:
4812 * src/hildon-touch-selector.c:
4813 * src/hildon-window.c:
4815 Add more "since" tags to the new API in hildon 2.2.
4817 2008-12-05 Tim Janik <timj@imendio.com>
4819 Patch contributed by Christian Dywan (christian@imendio.com)
4821 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4822 HildonSizeType, which are supplied by Gtk+ now.
4824 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4826 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4827 (with maemo changes) instead)
4829 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4831 Patch contributed by Iván Gómez (igomez@igalia.com)
4833 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4836 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4838 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4839 (some_page_func), (main): Update the example to use a
4840 HildonWizardDialogPageFunc function.
4842 * src/hildon-wizard-dialog-private.h: Add private data for
4843 the HildonWizardDialogPageFunc function usage.
4845 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4846 (destroy), (hildon_wizard_dialog_init), (response),
4847 (hildon_wizard_dialog_set_forward_page_func):
4848 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4849 that applications can use to stop a HildonWizardDialog to jump to
4852 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4855 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-program.h
4858 * src/hildon-program-private.h
4859 * src/hildon-program.c (hildon_program_init)
4860 (hildon_program_set_common_app_menu)
4861 (hildon_program_get_common_app_menu):
4862 New API for setting a common HildonAppMenu for all
4863 HildonStackableWindows registered with the HildonProgram.
4865 * src/hildon-stackable-window.c
4866 (hildon_stackable_window_toggle_menu):
4867 Use the common HildonAppMenu if a window doesn't have a specific
4870 * src/hildon-app-menu-private.h
4871 * src/hildon-app-menu.c
4872 (hildon_app_menu_get_parent_window):
4873 Function to obtain the window a HildonAppMenu is attached to.
4874 (hildon_app_menu_set_parent_window):
4875 Hide the menu if the parent window is set to NULL.
4877 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4879 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4880 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4881 search widget to popup.
4883 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4885 * configure.ac: post release version bump
4886 * debian/changelog: version bump
4888 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4893 * configure.ac: bump version
4894 * debian/changelog: updates
4896 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4898 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4900 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4901 (hildon_window_stack_window_realized)
4902 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4903 Set the leader GdkWindow when a window is stacked and realized,
4904 unset it when it's unstacked.
4905 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4907 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4909 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4911 * src/hildon-stackable-window.h
4912 * src/hildon-window-stack.h:
4913 Protect definition of HildonWindowStack using the preprocessor.
4915 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4918 Fix warning if all menu items are hidden.
4920 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4922 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4924 * src/hildon-controlbar.c:
4925 * src/hildon-hvolumebar.c:
4926 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4927 Multiple scale size defines updates.
4929 Fixes: NB#94322 (Scale Updates)
4931 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4933 * examples/hildon-app-menu-example.c (create_menu)
4934 Show items after adding them to the menu, as in the future the
4935 menu will no longer call gtk_widget_show() on the added items.
4937 * src/hildon-app-menu.c:
4938 Update example as explained above.
4940 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-app-menu.c
4943 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4944 Make sure that all menu items have finger height.
4946 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4948 * src/hildon-picker-dialog.c:
4949 (_on_dialog_response), (_save_current_selection),
4950 (_restore_current_selection), (_clean_current_selection),
4951 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4952 Defined new functions in order to save the current internal selector
4953 selection previous open the dialog, in case that the use cancel the
4954 interaction, so the widget restores the previous selection.
4956 Fixes: NB#92032 (In calendar application, date values in 'new event'
4959 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4961 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4963 * src/hildon-button.c: Add a reference to the button examples in
4964 hildon-button-example.c
4966 * examples/hildon-button-example.c: Added examples of the most
4967 common button layouts.
4969 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4971 * src/hildon-app-menu.c (hildon_app_menu_show)
4972 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4974 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4976 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4978 * src/hildon-picker-dialog.c:
4979 (hildon_picker_dialog_init): Initialize the signal id for
4980 HildonTouchSelector::columns-changed.
4981 (+on_selector_columns_changed): Set up the interaction mode everytime a
4982 column is added or removed from the HildonTouchSelector.
4983 (_hildon_picker_dialog_set_selector): Connect to
4984 HildonTouchSelector::columns-changed and keep track of it.
4986 Make sure to update the interaction mode of the dialog everytime a
4987 column is added or removed in the HildonTouchSelector.
4989 Fixes: NB#93228 (Done button is not shown always in listpicker)
4991 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4993 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4994 a new ::columns-changed signal.
4995 (hildon_touch_selector_append_column): Emit ::columns-changed.
4996 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4998 Add a ::columns-changed signal, emitted when the number of columns in a
4999 HildonTouchSelector changes.
5001 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5003 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5004 (_hildon_picker_dialog_set_selector): Factor out the code
5005 to set up the dialog interaction mode.
5007 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5009 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5010 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5011 to signal_changed_id.
5013 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5015 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5018 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5020 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5021 Updated the logical ids related to ampm format, as now it is required to
5022 show it correctly localized even on languages with no default
5023 abbreviations for am or pm
5024 (_check_am_pm_format): check correctly the 24h format gconf property
5026 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5028 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5030 * src/hildon-button.c: Documentation updates.
5032 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5034 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5035 * src/hildon-caption.c: (hildon_caption_class_init):
5036 * src/hildon-color-button.c: (hildon_color_button_class_init):
5037 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5038 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5039 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5040 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5042 Remove deprecated GTK+ marshalers and replace them with the ones
5043 provided by GLib, for those available, add a marshaler for
5044 BOOLEAN:VOID, which is not available in GLib, and use it.
5046 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5048 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5049 the text from the previous column if there is no
5050 HildonTouchSelectorColumn::text-property set.
5052 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5054 * src/hildon-button.h
5055 * src/hildon-button.c (hildon_button_set_property)
5056 (hildon_button_get_property, hildon_button_class_init)
5057 (hildon_button_set_style, hildon_button_get_style):
5058 New "style" property to change the visual appearance of the
5061 * src/hildon-picker-button.c (hildon_picker_button_new):
5062 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5064 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5065 HildonButton look like PickerButton)
5067 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5069 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5070 column while building the default string.
5072 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5074 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5075 scroll indicator by default.
5077 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5079 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5081 * src/hildon-main.c: Fix the documentation for hildon_init()
5083 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5085 * doc/hildon-docs.sgml
5089 * src/hildon-window-stack-private.h
5090 * src/hildon-window-stack.h
5091 * src/hildon-window-stack.c:
5092 New HildonWindowStack object, that adds support for multiple
5093 stacks of windows per process.
5095 * src/hildon-stackable-window-private.h
5096 * src/hildon-stackable-window.h
5097 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5098 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5099 (hildon_stackable_window_show, hildon_stackable_window_hide)
5100 (hildon_stackable_window_class_init)
5101 (hildon_stackable_window_init):
5102 Use HildonWindowStack for stack management.
5104 * src/hildon-program.c (hildon_program_pop_window_stack)
5105 (hildon_program_peek_window_stack)
5106 (hildon_program_go_to_root_window):
5107 Add a fallback implementation to the deprecated functions using
5110 * examples/hildon-stackable-window-example.c:
5111 Use the new HildonWindowStack API.
5113 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5115 * src/hildon-stackable-window-private.h
5116 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5117 (hildon_stackable_window_hide, hildon_stackable_window_init):
5118 Remove all window stack management.
5120 * src/hildon-program-private.h
5121 * src/hildon-program.h
5122 * src/hildon-program.c (hildon_program_init)
5123 (hildon_program_pop_window_stack)
5124 (hildon_program_peek_window_stack)
5125 (hildon_program_go_to_root_window):
5126 Remove all window stack management and mark functions as
5129 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5131 * src/hildon-app-menu.c (hildon_app_menu_realize):
5132 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5134 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5136 * configure.ac: post release version bump
5137 * debian/changelog: version bump
5139 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5144 * configure.ac: bump version
5145 * debian/changelog: updates
5147 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5149 Based on initial code by Christian Dywan (christian@imendio.com)
5151 * doc/hildon-docs.sgml: Add section for hildon-main.
5152 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5153 * src/Makefile.am: Add new hildon-main.[ch]
5154 * src/hildon-defines.h: Update the icon sizes.
5155 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5156 new library initialization files and register icon sizes.
5157 * src/hildon-main.h: New declarations.
5158 * src/hildon.h: Include hildon-main.h
5160 Add new initialization functions to the library. These methods
5161 will register the hildon specific icon sizes and can be used in the
5162 future for other hildon specific bits.
5164 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5166 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5168 * src/hildon-window.c: (hildon_window_realize),
5169 (hildon_window_notify), (-hildon_window_update_title): Do not set
5170 the application name in the window title.
5172 Fixes: NB#89754 (Applications shouldn't display their names in the
5175 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5177 * src/hildon-note-private.h:
5178 * src/hildon-note.c: (hildon_note_set_property),
5179 (hildon_note_get_property), (hildon_note_class_init),
5180 (hildon_note_init), (hildon_note_finalize),
5181 (hildon_note_new_confirmation_with_icon_name),
5182 (hildon_note_new_information_with_icon_name):
5184 No need to mark as deprecated the actual code. Revert
5185 to avoid missing symbols in widgets using deprecated API.
5187 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5189 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5191 * src/hildon-volumebar.h
5192 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5193 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5195 * src/hildon-helper.h
5196 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5197 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5199 * examples/Makefile.am:
5200 Deprecate hildon-insensitive-example
5202 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5204 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5206 * examples/hildon-pannable-area-buttons-scroll-example.c:
5207 Make all buttons finger height
5209 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5211 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5213 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5214 update the day model only if it is really required, and to avoid the
5215 full-reconstruction aproach. Now it only add or remove the required days.
5217 The purpose of this is avoid superfluous HildonTouchSelector::changed
5220 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5221 with strange parameters)
5223 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5225 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5227 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5228 the WINDOW_TYPE property.
5230 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5232 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5235 Fix dependency to allow parallel compilation with make -jX
5237 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5239 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5240 color frame and some minor tweaks to make it more consistent with
5243 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5244 highlighted but not visible)
5246 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5248 * examples/Makefile.am: Fixed typo in the Makefile.am.
5250 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5252 Reviewed the use of MAEMO_GTK define, now we add the define in the
5253 compilation line, and we also add it to the pc file.
5255 * configure.ac: Added MAEMO_GTK define to the compilation command
5256 and removed it from the config.h.
5258 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5259 do not have to take care about this define if the library was
5263 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5265 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5267 * examples/Makefile.am,
5268 * examples/hildon-pannable-area-buttons-scroll-example.c,
5269 * examples/hildon-pannable-area-gesture-signals-example.c,
5270 * examples/hildon-pannable-area-scroll-jump-example.c,
5271 * examples/hildon-pannable-area-tree-view-example.c:
5272 Renamed the pannable area examples, now they have more meaningful
5275 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5277 * src/hildon-touch-selector.c:
5278 (hildon_touch_selector_set_column_selection_mode): Used of
5279 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5280 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5281 to avoid re-seting the same selection mode.
5283 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5284 breaks HildonPickerDialog)
5286 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5288 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5289 conditional in the Makefile.am
5291 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5293 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5294 Remove unused methods.
5296 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5298 * src/hildon-button.c (hildon_button_init):
5299 Make button images center-aligned by default
5301 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5304 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5305 activated, we have to think about how to deal with both defines
5306 MAEMO_GTK and MAEMO_CHANGES.
5308 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5310 * examples/hildon-app-menu-example.c (create_menu): Make all
5311 buttons finger size.
5313 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5315 Fixed the compilation without maemo gtk adding ifdefs with
5316 MAEMO_GTK define to the code, we have to check this version more
5319 * examples/Makefile.am: Added control to avoid some examples that
5320 just make sense with maemo gtk.
5323 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5324 hildon modes with the define.
5326 * examples/hildon-edit-toolbar-example.c,
5327 (create_icon_view): Create the icon view without hildon-gtk
5328 helpers if we are not using maemo gtk.
5330 * src/hildon-touch-selector.c,
5331 (_create_new_column): Create the treeview without hildon-gtk
5332 helpers if we are not using maemo gtk.
5334 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5336 * src/hildon-pnnable-area.c,
5337 (hildon_pannable_area_dispose),
5338 (hildon_pannable_area_button_press_cb),
5339 (hildon_pannable_area_child_mapped),
5340 (hildon_pannable_area_add),
5341 (hildon_pannable_area_remove): Added code to control the position
5342 of the event_window when adding and removing children from the
5343 pannable. We have to raise the event window when the child is
5346 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5347 selection mode using custom widget inside pannable)
5349 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5351 * configure.ac: post release version bump
5352 * debian/changelog: version bump
5354 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5359 * configure.ac: bump version
5360 * debian/changelog: updates
5362 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5364 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5365 search mode, in order to avoid lose the focus on the treeview when
5366 a hw key (like enter) is pressed.
5368 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5369 in HildonDateSelector dialog)
5371 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5373 * debian/rules: Added --enable-maintainer-mode
5374 * Makefile.am: Added ACLOCAL_AMFLAGS
5376 This allows to properly regenerate the Makefiles if you modify the
5377 configure.ac or any Makefile.am.
5379 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5381 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5382 properties, not needed at all.
5384 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5386 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5388 * src/hildon-note.c: (hildon_note_set_property),
5389 (hildon_note_get_property), (hildon_note_class_init),
5390 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5391 (hildon_note_new_confirmation_add_buttons): Remove icons.
5392 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5393 (hildon_note_new_information_with_icon_name): Deprecate.
5394 (hildon_note_new_confirmation): Act directly, without calling
5395 the deprecated constructor.
5396 (hildon_note_new_information): Act directly, without calling
5397 the deprecated constructor.
5398 * src/hildon-note.h: Mark deprecate methods as such.
5399 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5400 not run tests on the deprecated methods if built with deprecation
5403 Fixes: NB#91688 (Never show icons in information notes/confirmation
5406 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5408 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5409 (hildon_app_menu_key_press): Remove leftover usage of the
5410 private structure in HildonAppMenu struct.
5411 * src/hildon-app-menu.h: Remove leftover private structure
5412 from the HildonAppMenu struct.
5414 Fixes a crasher when using the HildonAppMenu.
5416 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5418 * src/hildon-picker-dialog.c: Use appropriate logical id
5419 for the default "Done" text.
5421 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5423 * configure.ac: post release version bump
5424 * debian/changelog: version bump
5426 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5428 Modified the way to scroll to the current selection just when the touch
5429 selector is shown on the screen, avoiding a g_idle. Added too a property
5430 to configure this behaviour. See hildon_pannable_area_jump_to_child
5431 documentation for more information.
5433 * src/hildon-touch-selector.c
5434 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5435 Added 'initial-scroll' property
5436 (hildon_touch_selector_set_property): Added
5437 (hildon_touch_selector_map): Removed as not required anymore
5438 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5439 only a concrete column, instead of iterate along all the columns
5441 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5446 * configure.ac: bump version
5447 * debian/changelog: updates
5449 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5451 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5452 compilation time warnings.
5454 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5456 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5457 the default value for HildonPannableArea::mov-mode to
5458 HILDON_PANNABLE_AREA_MODE_VERT.
5460 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5462 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5464 Reverting following commit:
5466 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-app-menu-private.h
5469 * src/hildon-app-menu.[ch]
5470 * src/hildon-button.[ch]
5471 * src/hildon-check-button.[ch]
5472 * src/hildon-entry.[ch]
5473 * src/hildon-pannable-area.[ch]
5474 * src/hildon-text-view.[ch]:
5475 Added private field to the object's structure.
5477 because it causes an ABI breakage. We will need to introduce these
5478 changes later at some point. See NB#91636 for an extensive
5479 explanation and status.
5481 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5483 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5485 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5486 remove special cases that are no longer necessary.
5488 Fixes: NB#91016 (Change toolbar sizes, simplification)
5490 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5492 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5493 is shown in the cancel note.
5495 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5497 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5498 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5499 (hildon_seekbar_init): Remove steppers, remove expose event.
5500 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5502 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5504 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5506 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5507 label font to "SmallSystemFont" for vertically arranged buttons.
5509 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5512 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5514 * src/hildon-check-button.c
5515 (hildon_check_button_set_active, hildon_check_button_clicked):
5516 Don't access private parts directly, use getters instead.
5518 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5520 * src/hildon-check-button.c (hildon_check_button_new):
5521 Align the contents of the check button to the left.
5523 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5525 * src/hildon-pannable-area.c,
5526 (hildon_pannable_area_scroll_to),
5527 (hildon_pannable_area_jump_to),
5528 (hildon_pannable_area_scroll_to_child),
5529 (hildon_pannable_area_jump_to_child): Replace the mapped
5530 precondition of these functions with the realized, it is the
5531 correct state of the widget in this case. Changed the
5532 documentation according to this modification.
5534 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5536 Added a new EXTRA_CFLAGS option to add the deprecated define to
5537 the compilation command. This way we can avoid using the define in
5538 the documentation compilation.
5540 * configure.ac: Defined EXTRA_CFLAGS.
5542 * examples/Makefile.am:
5544 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5546 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5548 * src/hildon-picker-dialog.c:
5549 Defined a utility macro with the desired touch selector height
5550 Removed currently unused separator, and title_label variables from
5552 (hildon_picker_dialog_init): Removed code related to the creation
5553 of unused private variables title_label and separator.
5554 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5555 to ensure correct visualization of the touch selector inside the dialog.
5556 * src/hildon-touch-selector.c
5557 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5558 ensure a concrete height of the widget.
5560 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5563 * tests/Makefile.am:
5565 Remove spurious whitespaces.
5567 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5569 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5570 compilation warning after the cancel button removal.
5572 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5574 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5576 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5577 Makefile.am, that way we can choose not to compile some examples
5578 and tests of the deprecated widgets.
5580 * examples/Makefile.am: Divided the sources in deprecated and
5583 * src/Makefile.am: Added undef statement of the deprecated
5584 symbol to the enums file generation process.
5586 * src/hildon-color-chooser-dialog.c
5587 * src/hildon-color-chooser-dialog.h
5588 * src/hildon-color-button.c
5589 * src/hildon-color-button.h
5590 * src/hildon-color-chooser.c
5591 * src/hildon-color-chooser.h
5592 * src/hildon-controlbar.c
5593 * src/hildon-controlbar.h
5594 * src/hildon-date-editor.c
5595 * src/hildon-date-editor.h
5596 * src/hildon-hvolumebar.c
5597 * src/hildon-hvolumebar.h
5598 * src/hildon-private.c
5599 * src/hildon-private.h
5600 * src/hildon-range-editor.c
5601 * src/hildon-range-editor.h
5602 * src/hildon-seekbar.c
5603 * src/hildon-seekbar.h
5604 * src/hildon-time-editor.c
5605 * src/hildon-time-editor.h
5606 * src/hildon-time-picker.c
5607 * src/hildon-time-picker.h
5608 * src/hildon-volumebar.c
5609 * src/hildon-volumebar.h
5610 * src/hildon-vvolumebar.c
5611 * src/hildon-vvolumebar.h
5612 * src/hildon-bread-crumb-trail.h
5613 * src/hildon-bread-crumb-trail.c
5614 * src/hildon-calendar-popup.c
5615 * src/hildon-calendar-popup.h
5616 * src/hildon-weekday-picker.c:
5617 * src/hildon-weekday-picker.h:
5618 * src/hildon-bread-crumb-widget.c:
5619 * src/hildon-bread-crumb-widget.h:
5620 * src/hildon-bread-crumb.c:
5621 * src/hildon-bread-crumb.h:
5622 * src/hildon-calendar.c:
5623 * src/hildon-calendar.h:
5624 * src/hildon-caption.c:
5625 * src/hildon-code-dialog.c:
5626 * src/hildon-code-dialog.h:
5627 * src/hildon-font-selection-dialog.c:
5628 * src/hildon-font-selection-dialog.h:
5629 * src/hildon-get-password-dialog.c:
5630 * src/hildon-get-password-dialog.h:
5631 * src/hildon-login-dialog.c:
5632 * src/hildon-login-dialog.h:
5633 * src/hildon-number-editor.c:
5634 * src/hildon-number-editor.h:
5635 * src/hildon-set-password-dialog.c:
5636 * src/hildon-set-password-dialog.h:
5637 * src/hildon-sort-dialog.c:
5638 * src/hildon-sort-dialog.h: This is the list of deprecated
5641 * src/hildon-touch-selector.c:
5642 * src/hildon-window.c: Added undef statement to avoid compilation
5645 * tests/Makefile.am: Divided the sources in deprecated and
5648 * tests/check_test.c,
5649 (configure_tests): Marked the deprecated code that was adding
5650 suites with deprecated tests.
5652 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5654 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5656 * src/hildon-touch-selector.c: (_default_print_func): Do not
5657 duplicate a string returned by gtk_tree_model_get(), it is already
5660 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5663 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5665 * src/hildon-pannable-area.c
5666 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5667 method, it had problems when adding a widget with viewport the
5668 second time. Now checks if it already has a viewport and uses it.
5670 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5673 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5675 * src/hildon-pannable-area.c,
5676 (hildon_pannable_area_scroll_to),
5677 (hildon_pannable_area_jump_to),
5678 (hildon_pannable_area_scroll_to_child),
5679 (hildon_pannable_area_jump_to_child): Added a precondition to the
5680 scroll and jump to functions: the widget must be mapped before we
5681 can safely call these functions. We have also added documentation
5682 to the functions to explain how to use them in this situation.
5685 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5687 Reviewed the threading handling of the pannable widget, we have
5688 used the gdk_threads_add_timeout function instead of the usual
5689 glib handlers. This avoids some problems with the threads.
5691 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5692 (hildon_pannable_area_initial_effect),
5693 (hildon_pannable_area_scroll_indicator_fade),
5694 (hildon_pannable_area_button_press_cb),
5695 (hildon_pannable_area_timeout),
5696 (hildon_pannable_area_motion_notify_cb),
5697 (hildon_pannable_area_button_release_cb),
5698 (hildon_pannable_area_scroll_cb),
5699 (hildon_pannable_area_scroll_to): Removed the
5700 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5701 gdk_threads_add_timeout.
5703 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5705 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5710 * configure.ac: bump version
5711 * debian/changelog: updates
5713 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5715 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5716 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5717 * src/hildon-color-chooser-dialog.c:
5718 (hildon_color_chooser_dialog_init):
5719 * src/hildon-font-selection-dialog.c:
5720 (hildon_font_selection_dialog_init):
5721 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5723 Remove all cancel/close-like dialogs, as these are not going to be
5726 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5728 * src/hildon-note.c: (hildon_note_rebuild),
5729 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5732 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5734 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5736 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5737 sure all buttons are shown, even the Cancel/Close-like ones.
5739 Fixes: NB#90861 (Custom Confirmation dialogs should be
5740 protected from cancel button removal)
5742 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5744 * debian/control: Change libhildon1-examples dependency from libhildon1
5746 * debian/libhildon1-examples.install
5748 * Makefile.am: Modified the final install directory for the examples on
5749 package libhildon1-examples
5750 * Makefile.static: Update clean target in order to remove all the binary
5753 Changes suggested by Claudio after review new libhildon1-examples package
5755 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5757 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5758 * src/hildon-touch-selector.c: Ditto.
5760 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5762 * debian/control: Added new package libhildon1-examples, in order to pack
5763 the current hildon examples as documentation
5764 * debian/rules: Not to compress .c files, modify some includes on the
5765 examples (as normally are compiled locally, but when installed it will
5766 require to include the installed libhildon1 library), and rename
5768 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5769 install all the example files on the new example package
5770 * examples/Makefile.static: Added static makefile that can be used to
5771 compile the examples, once installed the new example package
5772 * examples: Most of the examples were modified in order to grant that
5773 all use only '#include "hildon.h"', in order to be easy to prepare
5774 it on the example package
5776 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5779 * debian/libhildon1-dev.install
5780 * debian/libhildon1-doc.install:
5781 Move all gtk-doc files to a separate libhildon1-doc package.
5783 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5785 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5787 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5789 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5791 * debian/rules: Fixed a error in order to avoid unnecessary calls
5792 to autogen.sh on package building
5794 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5796 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5798 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5800 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5803 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-picker-button.c
5806 (hildon_picker_button_finalize):
5807 Free priv->done_button_text
5809 * src/hildon-time-button.c
5810 (hildon_time_button_set_time)
5811 * src/hildon-picker-button.c
5812 (hildon_picker_button_clicked)
5813 (hildon_picker_button_selector_selection_changed)
5814 (hildon_picker_button_set_selector)
5815 * src/hildon-date-button.c
5816 (hildon_date_button_set_date):
5817 Free strings returned by hildon_touch_selector_get_current_text()
5819 * src/hildon-button.c (hildon_button_construct_child):
5820 Fix leaks in priv->image and priv->label_box
5822 Fixes: NB#90535 (Memory leak in picker button)
5824 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5826 * src/hildon-button.c: (hildon_button_get_property): Do not access
5827 private elements directly, use getters instead.
5829 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-app-menu-private.h
5832 * src/hildon-app-menu.c
5833 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5834 Store the menu's parent window.
5836 * src/hildon-stackable-window.c
5837 (hildon_stackable_window_toggle_menu)
5838 (hildon_stackable_window_finalize):
5839 Set the menu's parent window when the menu is shown, unset it when
5842 * src/hildon-app-menu.c
5843 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5844 (hildon_app_menu_class_init):
5845 Send unhandled keyboard accelerators to the parent window.
5847 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5849 * src/hildon-stackable-window.c
5850 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5852 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5854 * configure.ac: post release version bump
5856 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5859 * configure.ac: Bump version
5860 * debian/changelog: Updates
5861 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5864 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5866 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5869 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5870 GtkMenu with Hildon style.
5872 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5874 * src/hildon-picker-button.c:
5875 (hildon_picker_button_set_done_button_text): Set the dialog's
5876 done button text here as well.
5878 Fixes: NB#90232 (Picker button does not set the label on done button
5879 for the second time)
5881 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5883 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5886 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5888 * src/hildon-app-menu.c (hildon_app_menu_insert)
5889 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5890 the HildonAppMenu to be activatable using keyboard accelerators
5891 when the menu is not being shown.
5893 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5895 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5897 * src/hildon-stackable-window.c
5898 (hildon_stackable_window_show):
5899 Don't hide old windows automatically when new windows are shown:
5900 this is now a task for the window manager.
5901 (hildon_stackable_window_class_init)
5902 (hildon_stackable_window_hide):
5903 Remove windows from the stack everytime they're hidden.
5904 (hildon_stackable_window_realize):
5905 Don't change the _NET_WM_WINDOW_TYPE property. Use
5906 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5907 it as a stackable window.
5909 * src/hildon-program.c
5910 (hildon_program_pop_window_stack):
5911 Just hide the window to remove it from the stack.
5912 (hildon_program_go_to_root_window):
5913 Don't call gtk_widget_show(), this is now a task for the window
5916 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5918 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-button.c
5921 (hildon_button_construct_child):
5922 Don't pack anything in the button until text or image are
5923 set. This allows adding a custom child after creating the button
5924 with hildon_button_new().
5925 (hildon_button_finalize, hildon_button_class_init)
5926 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5927 alignment and the label box even when they're not packed in the
5930 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5932 * src/hildon-touch-selector.h:
5933 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5934 currently the type definition was using GTK_TYPE_VBOX
5935 * src/hildon-touch-selector.c:
5936 Added some implementation notes in order to clarify that any other widget
5937 added without the column related API will not be included on the
5938 selection logic, and how the widget is freed, as some people ask about
5940 (hildon_touch_selector_remove): Reimplemented in order to free properly
5941 the column related data when you remove the private hbox.
5942 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5943 to get a proper HildonTouchSelectorColumn documentation
5945 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5947 * src/hildon-touch-selector-entry.c:
5948 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5949 text in the GtkEntry and there is no item selected. Fixes a
5952 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5954 * src/hildon-app-menu-private.h
5955 * src/hildon-app-menu.[ch]
5956 * src/hildon-button.[ch]
5957 * src/hildon-check-button.[ch]
5958 * src/hildon-entry.[ch]
5959 * src/hildon-pannable-area.[ch]
5960 * src/hildon-text-view.[ch]:
5961 Added private field to the object's structure.
5963 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5965 * configure.ac: post-release version bump
5967 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5971 * configure.ac: pre-release version bump
5973 * debian/changelog: updates.
5975 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5977 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5978 Disconnect the handler for HildonTouchSelector::changed.
5980 (hildon_picker_button_selector_selection_changed): Update the button
5981 value if the selection change was not triggered by the
5984 (hildon_picker_button_set_selector): connect to
5985 HildonTouchSelector::changed.
5987 Fixes: NB#89650 (Picker button is not updated, when selection in
5988 selector has changed)
5990 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5992 * src/hildon-picker-dialog.c
5993 (hildon_picker_dialog_realize): Removed as not required
5994 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5995 * src/hildon-picker-button.c
5996 (_current_selector_empty): New function, checks if the selector is empty
5997 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5998 if the current selector is empty, in order to avoid to show the dialog
5999 close the dialog in this case (and shows a g_warning).
6001 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6003 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6005 * src/hildon-pannable-area.c,
6006 (hildon_pannable_area_scroll): Added clause to stop movement when
6007 the child of pannable is smaller than one page.
6008 (hildon_pannable_area_scroll_to): Added conditions to avoid
6009 starting the scrolling movement if the child is smaller than one
6010 page, the complete child is in the screen, we do not have to move.
6012 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6014 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6016 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6017 this is managed automatically by the widget when the size of the
6020 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6022 * src/hildon-picker-button.c
6023 (hildon_picker_button_set_done_button_text): Make a copy of the
6024 text, and free the previous value.
6026 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6028 * src/hildon-touch-selector-entry.c:
6029 (hildon_touch_selector_entry_print_func): Return the selected row's
6030 text if the entry is empty.
6032 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6035 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6037 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6039 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6042 * src/hildon-check-button.h
6043 * src/hildon-check-button.c
6044 * examples/hildon-check-button-example.c:
6045 HildonCheckButton is now a new widget. 'toggled' signal added.
6047 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-program-private.h
6050 * src/hildon-program.c (hildon_program_init)
6051 (hildon_program_finalize): Removed unused variables group_leader
6052 and name from HildonProgramPrivate.
6054 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6056 * src/hildon-check-button.c (hildon_check_button_set_active)
6057 (hildon_check_button_get_active, hildon_check_button_new): Use
6058 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6060 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6062 * src/hildon-touch-selector.h
6063 (hildon_touch_selector_set_column_attributes): added deprecation
6064 guard HILDON_DISABLE_DEPRECATED
6065 * src/hildon-time-selector.c
6066 (hildon_time_selector_set_time)
6067 (hildon_time_selector_get_time): Fixed a typo on documentation
6068 * src/hildon-touch-selector.c: update HildonTouchSelector and
6069 HildonTouchSelectorColumn documentation
6070 * src/hildon-touch-selector-entry.c: update "text-column" property
6072 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6073 to be added to the general documentation.
6075 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6077 * examples/hildon-pannable-area-example-4.c,
6079 * examples/hildon-pannable-area-example.c,
6080 (main): Modified the code in order to use the container add, with
6081 viewport treeviews could have problems if they are really big.
6083 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6085 * src/hildon-weekday-picker.c,
6086 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6087 the agreement regarding deprecation in the library.
6089 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6091 * examples/hildon-picker-button-multicolumn-example.c:
6092 (main): Use custom "done" button text.
6094 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6095 (hildon_picker_button_set_property),
6096 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6097 (hildon_picker_button_init),
6098 (+hildon_picker_button_get_done_button_text),
6099 (+hildon_picker_button_set_done_button_text): New methods to customize
6100 the "done" button label in the launched HildonPickerDialog. Also,
6103 * src/hildon-picker-button.h: add the public API.
6105 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6107 * src/hildon-date-selector.h:
6108 * src/hildon-picker-dialog.h:
6109 * src/hildon-time-selector.h:
6110 * src/hildon-touch-selector-column.h:
6111 * src/hildon-touch-selector.h:
6113 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6114 declarations. Fixes gtk-doc warnings.
6116 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6118 * src/hildon-picker-dialog.h
6119 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6120 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6122 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6123 long text is set as label for done button)
6125 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6127 * src/hildon-dialog.c (hildon_dialog_add_button):
6128 Set fixed width to all buttons in the HildonDialog.
6130 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6132 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6134 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6135 Set widget name using class name plus "-finger" or "-thumb".
6137 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6139 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6140 'clicked' when the state of the button is manually changed.
6142 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6144 * src/hildon-app-menu.c (hildon_app_menu_realize)
6145 (hildon_app_menu_unrealize, hildon_app_menu_init)
6146 (hildon_app_menu_class_init, item_visibility_changed):
6147 Change the menu layout when the size of the screen changes.
6148 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6149 Show warning only when changing the number of colums using the
6152 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6154 * debian/compat: Set to 5
6155 * debian/control: Update dependencies.
6156 * debian/libhildon1-dbg.install: Remove.
6157 * debian/libhildon1-dev.install: Update according to cdbs paths.
6158 * debian/libhildon1.install: Update according to cdbs paths.
6159 * debian/rules: Switch to cdbs.
6161 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6163 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6164 'item' variable renamed to 'filter'
6166 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6168 * src/hildon-app-menu.c (hildon_app_menu_insert)
6169 (hildon_app_menu_add_filter, remove_item_from_list)
6170 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6171 Don't leak hidden items when the menu is destroyed.
6173 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-app-menu.c (hildon_app_menu_insert)
6176 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6177 (hildon_app_menu_set_columns, item_visibility_changed)
6178 (filter_visibility_changed, hildon_app_menu_repack_filters)
6179 (hildon_app_menu_repack_items):
6180 Repack items and filters separately.
6182 Don't repack all items, change only the ones that are needed to
6185 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6187 * src/Makefile.am: added hildon-touch-selector-column.h
6189 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6191 * src/hildon-touch-selector.c: added the property "text-column" to the
6192 class HildonTouchSelectorColumn, and related get/set functions
6193 (_default_printf_func): updated to use "text-column" property
6194 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6195 "text-column" in his documentation, as this is now included on
6196 HildonTouchSelectorColumn. The get/set_property can still be used,
6197 working as a wrapper to the concrete column "text-column" property
6198 (_text_column_modified): callback added in order to handle the signal
6199 "notify::text-column" of the concrete HildonTouchSelectorColumn
6200 (hildon_touch_selector_entry_get_text_column)
6201 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6202 modified in order to use the HildonTouchSelectorColumn "text-column"
6204 * src/hildon-time-selector.c:
6205 * src/hildon-date-selector.c:
6206 * examples/hildon-touch-selector-example.c
6207 * examples/hildon-touch-selector-multi-cells-example.c
6208 * examples/hildon-picker-button-multicolumn-example.c
6209 Set the right value to "text-column" property on the creation of a new
6210 column using hildon_touch_selector_append_column()
6212 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6214 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6216 * src/hildon-app-menu.c
6217 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6218 updating the layout of the menu, don't create all widgets again,
6219 just repack the items in their new places.
6221 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6223 * src/hildon-time-selector.c
6224 (hildon_time_selector_get_time)
6225 (hildon_time_selector_set_time)
6226 Added documentation of these public methods
6228 * src/hildon-date-button.h
6229 * src/hildon-touch-selector-column.h
6230 * src/hildon-time-button.h
6231 * src/hildon-picker-dialog.h
6232 * src/hildon-time-selector.h
6233 * src/hildon-picker-button.h
6234 * src/hildon-touch-selector.h
6235 * src/hildon-time-picker.h
6236 * src/hildon-date-selector.h
6237 * src/hildon-touch-selector-entry.h
6238 Modified in order to use hildon-widgets code style
6240 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6242 Added deprecated support to the compilation process using
6243 HILDON_DISABLE_DEPRECATED
6245 * configure.ac: Added the --disable-deprecated to the configure
6248 * src/hildon-weekday-picker.c:
6249 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6250 to use the deprecated support. We will update the other deprecated
6251 widgets status in a new patch.
6253 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6255 * configure.ac: Fixed typo with fatal warnings support, the
6256 variable name was not correct
6258 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6260 * src/hildon-app-menu.c
6261 * src/hildon-program.c: Update documentation.
6263 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6265 * configure.ac: Post-release version bump.
6267 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6272 * configure.ac: Pre-release version bump.
6273 * debian/changelog: Updates.
6275 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6277 * NEWS: Update news for previous releases.
6279 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6281 * examples/hildon-touch-selector-multi-cells-example.c:
6282 (create_selector): Update the example to use
6283 hildon_touch_selector_append_column() with a NULL renderer and set
6284 the renderers later.
6285 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6286 passed a NULL renderer. This is documented behavior now.
6288 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6289 This must be used if the developer wants full control on the layout of
6290 the renderers to be added to the column.
6292 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6294 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6296 * src/hildon-touch-selector.c: Documentation fixes.
6298 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6300 * src/hildon-wizard-dialog-private.h: Remove image and box.
6301 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6302 (hildon_wizard_dialog_set_property), (response): Completely remove
6303 image/icon support, and the containers required for the layout.
6305 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6307 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6309 * src/hildon-app-menu.c: Updated documentation.
6311 * src/hildon-stackable-window.c
6312 (hildon_stackable_window_set_main_menu): Unref the old menu after
6313 ref'ing the new one.
6315 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6317 * src/hildon-stackable-window.c
6318 (hildon_stackable_window_set_main_menu): Unref the previous menu
6319 instead of destroying it.
6321 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6322 floating reference and set has_user_ref_count to FALSE to make
6323 HildonAppMenu act like a normal ref-counted widget and not a
6326 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6329 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6331 * src/hildon-touch-selector-column.h: new file
6332 * src/hildon-touch-selector.h
6333 * src/hildon-touch-selector.c
6334 Implemented GtkCellLayout interface, in order to allow to configure
6335 the cell layout on each individual selector column
6336 (hildon_touch_selector_set_column_attributes): marked as deprecated
6337 * examples/hildon-touch-selector-multi-cells-example.c
6338 Example of how to use the GtkCellLayout interface on the selector
6340 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6342 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6344 * src/hildon-app-menu.h
6345 * src/hildon-app-menu.c
6346 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6347 (hildon_app_menu_append, hildon_app_menu_prepend):
6348 New methods to prepend, insert and move items in the menu.
6350 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6352 * src/hildon-wizard-dialog.c:
6354 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6356 (create_title): Update logical IDs and related code.
6357 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6359 * src/hildon-wizard-dialog.h: Note that
6360 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6361 point, as it is not used anymore.
6363 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6365 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6367 * src/hildon-note.c:
6368 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6369 shown. Do not display an icon in confirmation notes nor information
6371 (hildon_note_set_button_text): Update logical ID for cancel button.
6373 Fixes: NB#88850 (Update HildonNote button strings + signals)
6375 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6377 * src/hildon-stackable-window.c
6378 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6380 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6382 * src/hildon-app-menu-private.h
6383 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6384 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6385 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6386 temporary property 'columns' to change the number of columns.
6388 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6390 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6392 * examples/hildon-note-example.c: (on_information_clicked),
6393 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6394 debugging information.
6395 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6397 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6398 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6399 in order to close: this will be handled by the WM from now on.
6401 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6403 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6405 * src/hildon-app-menu-private.h
6406 * src/hildon-app-menu.c
6407 (hildon_app_menu_append, hildon_app_menu_add_filter)
6408 (button_visibility_changed, hildon_app_menu_apply_style)
6409 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6410 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6411 layout everytime a button (item or filter) is shown or hidden.
6413 * src/hildon-stackable-window.c
6414 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6417 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6419 * src/hildon-touch-selector.c:
6420 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6421 that the treeview inside the touch selector is in fremantle hildon mode
6422 * examples/hildon-date-button-example.c
6423 * examples/hildon-picker-button-multicolumn-example.c
6424 * examples/hildon-touch-selector-entry-example.c
6425 * examples/hildon-touch-selector-example.c
6426 * examples/hildon-time-button-example.c
6427 * examples/hildon-picker-button-example.c:
6428 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6430 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6432 * examples/hildon-text-view-example.c: (main): Remove the
6433 gtkrc bits, now handled by the theme.
6435 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6437 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6440 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6442 * po/Makefile.am: Install properly the mo files.
6443 * po/en_GB.po: Update translation, to ease testing purposes.
6445 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6447 * examples/hildon-picker-button-example.c: (main): Select an item
6448 in the selector before setting it to the button.
6450 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6452 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6453 Update button's value if the selector has an item active.
6455 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6456 'value' with the selector)
6458 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6460 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6461 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6462 (hildon_picker_button_class_init): Plug the finalize method.
6463 (hildon_picker_button_set_selector): If there's a previously set
6464 selector, unref'it before setting a new one.
6466 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6467 HildonTouchSelector)
6469 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6471 * src/hildon-touch-selector-entry.c:
6472 (hildon_touch_selector_entry_changed): Check if there is no text
6473 selected before setting the entry text.
6476 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6478 * src/hildon-touch-selector.h
6479 * src/hildon-touch-selector.c
6480 (hildon_touch_selector_get_active)
6481 (hildon_touch_selector_set_active): New methods to set/get the
6482 index of the selected item.
6484 * src/hildon-picker-button.h
6485 * src/hildon-picker-button.c
6486 (hildon_picker_button_get_active)
6487 (hildon_picker_button_set_active): New methods to set/get the
6488 index of the selected item.
6490 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6492 * configure.ac: post-release version bump.
6494 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6498 * configure.ac: Pre-release version bump.
6499 * debian/changelog: Updates.
6500 * debian/control: Add myself as maintainer and depend on l10n
6503 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6505 * src/hildon-window.c
6506 (hildon_window_set_main_menu)
6507 * src/hildon-stackable-window.c
6508 (hildon_stackable_window_set_main_menu):
6509 Updated documentation.
6511 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6513 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6514 Don't free selector->priv manually.
6517 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6520 (hildon_gtk_window_set_progress_indicator):
6521 * src/hildon-gtk.h: Added the new API
6522 hildon_gtk_window_set_progress_indicator, it changes the state of
6523 the window progress hint.
6525 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6527 * src/hildon-button.c
6528 * src/hildon-stackable-window.c: Minor documentation updates.
6530 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6532 * src/hildon-stackable-window.c: Updated documentation.
6534 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6536 * src/hildon-defines.h: Update margins definitions
6537 to the Fremantle sizes.
6540 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6542 * src/hildon-touch-selector.c,
6543 (_hildon_touch_selector_set_model): Cleaning the code after
6544 review, removed g_print and #if 0 from the code.
6546 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6548 * src/hildon-edit-toolbar.c: Update documentation.
6550 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6552 * src/hildon-check-button.h
6553 * src/hildon-check-button.c
6554 (hildon_check_button_set_label, hildon_check_button_get_label)
6555 * examples/hildon-check-button-example.c
6556 (button_clicked_cb):
6557 Removed deprecated methods.
6559 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6561 * src/hildon-text-view.c:
6562 Add sample code to the documentation.
6564 * src/hildon-entry.h
6565 * src/hildon-text-view.h:
6566 Minor cosmetic changes.
6568 * src/hildon-entry.c:
6569 Add sample code to the documentation.
6570 (hildon_entry_init, hildon_entry_refresh_contents):
6571 Don't allow NULL values in the placeholder.
6573 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6575 * doc/hildon-docs.sgml
6577 * examples/Makefile.am
6578 * examples/hildon-text-view-example.c
6580 * src/hildon-text-view.c
6581 * src/hildon-text-view.h
6583 New HildonTextView widget, with example.
6585 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6587 * po/POTFILES.in: Add missing files with translatable strings.
6588 Partially fixes NB#88287.
6590 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6592 * examples/hildon-pannable-area-example-2.c: (main): No need to
6593 set the cellrenderer height inside hildon touch lists, the theme does
6596 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6598 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6599 they are integrated in the theme.
6601 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6603 * examples/hildon-entry-example.c: Update the example adding
6604 widgets to modify the text and the placeholder of the HildonEntry.
6606 * src/hildon-entry.c: Show the placeholder everytime the widget
6607 is empty and loses the focus.
6609 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6611 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6613 * src/hildon-pannable-area.c,
6614 (hildon_pannable_area_size_request): Fixed bug in height
6615 requisition, avoid increasing size and add border twice.
6617 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6619 * configure.ac: postrelease version bump.
6621 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6625 * configure.ac: Prerelease version bump.
6626 * debian/changelog: update.
6627 * debian/rules: make -dbg package contain useful debugging symbols.
6629 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6631 * src/hildon-dialog.h
6632 * src/hildon-dialog.c
6633 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6634 New methods to add buttons with finger size.
6635 (hildon_dialog_new_with_buttons):
6636 Create buttons with finger size.
6638 * examples/hildon-dialog-example.c (main): Use HildonDialog
6639 methods to add buttons.
6641 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6643 * src/hildon-entry.c: Updated HildonButton documentation.
6645 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6647 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6648 button value label with (FALSE, FALSE) to prevent NB#88126 from
6651 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6653 * examples/hildon-pannable-area-example.c,
6654 (main): Removed examples panning a vbox inside a pannable
6655 area. Check bug NB#87965
6657 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6659 Patch contributed by Kris Rietveld (kris@imendio.com)
6661 * src/hildon-pannable-area.c,
6662 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6663 get_size and get_position, this saves an X server roundtrip.
6665 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6667 * doc/hildon-docs.sgml
6669 * examples/Makefile.am
6670 * examples/hildon-entry-example.c
6672 * src/hildon-entry.c
6673 * src/hildon-entry.h
6675 New HildonEntry widget, with example.
6677 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6679 * src/hildon-button.c (hildon_button_construct_child): Pack the
6680 image with expand == fill == FALSE. This is a workaround for a bug
6683 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6685 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6686 labels for the text column, to make it more look more dynamic.
6688 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6690 * src/hildon-time-selector.c
6691 Define gettext auxiliar macro N_
6692 (_create_minutes_model)
6693 (_create_hours_model)
6694 (_create_ampm_model): use of strftime in order to fill the model
6695 * src/hildon-date-selector.c
6696 (hildon_date_selector_finalize):
6697 (_locales_init): remove the logic related to get the name of the months
6698 using nl_langinfo, as it is not required anymore
6700 (_create_year_model)
6701 (_create_month_model)
6702 (_update_day_model): use of strftime in order to fill the model properly
6705 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6707 * src/hildon-button.h
6708 * src/hildon-button.c (hildon_button_get_image): New method to
6711 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6713 * src/hildon-touch-selector.c:
6714 (hildon_touch_selector_remove_column): Remove from the correct parent
6715 and also remove the list element and free it.
6718 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6720 * src/hildon-time-selector.c
6721 (_create_hours_model): change the range on 12h ampm format in order to use
6722 a 12-11 range instead of previous 01-12 range
6723 (hildon_time_selector_set_time): change the way to select the current time
6724 on 12h ampm format, due the change on the range
6725 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6728 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6730 * src/hildon-touch-selector.c
6731 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6732 in order to allow use this function on multiple row selection mode if
6733 the column is different that the first one
6736 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6738 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6739 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6741 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6743 * src/hildon-date-selector.h: clean some comments, now on the .c
6744 * src/hildon-date-selector.c
6745 (hildon_date_selector_select_month): first implementation
6746 (hildon_date_selector_select_day): added documentation, reimplemented
6747 using hildon_date_selector_select_current_date to avoid repeat code
6750 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6752 Reviewed interaction logic based on device experiences, refactored
6755 * src/hildon-pannable-area.c,
6756 (hildon_pannable_area_class_init): Updated default vmax speed.
6757 (hildon_pannable_area_calculate_velocity): Added this function, it
6758 avoids duplicate valocity calculation. Adjusted calculation to
6759 avoid problems with zero dist events.
6761 (hildon_pannable_area_motion_notify_cb): Now we use the
6762 calculate_velocity function.
6764 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6766 * src/hildon-date-selector.c
6767 (hildon_date_selector_select_current_date): fix the day range check
6768 as it failed using the last day of the current month
6771 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6773 * src/hildon-touch-selector.c
6774 (hildon_touch_selector_get_num_columns): added a parameter validation
6777 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6779 * examples/Makefile.am
6780 * examples/hildon-edit-toolbar-example.c: Example of the
6781 HildonEditToolbar widget.
6783 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6785 * configure.ac: postrelease version bump.
6787 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6791 * configure.ac: prerelease version bump.
6792 * debian/changelog: update.
6794 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6796 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6797 renderer to display stock icons in the touch list. Also, set the sizes
6798 to the recommended in the style guide.
6800 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6801 * src/hildon-touch-selector.h
6802 (hildon_touch_selector_set_active_iter): renamed, now is
6803 hildon_touch_selector_select_iter
6804 (hildon_touch_selector_get_active_iter): renamed, now is
6805 hildon_touch_selector_get_selected
6806 (hildon_touch_selector_unselect_iter): added
6807 * src/hildon-touch-selector.c
6808 Update after API modification (methods renamed)
6809 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6810 order to avoid problems selecting multiple elements on the column
6811 (hildon_touch_selector_unselect_iter): added the implementation
6812 * src/hildon-time-selector.c
6813 * src/hildon-date-selector.c
6814 * src/hildon-touch-selector-entry.c
6815 Update methods calls after hildon-touch-selector.h API modification (methods
6818 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6820 * src/hildon-stackable-window.c
6821 (hildon_stackable_window_finalize): Call the parent class's finalize.
6823 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6825 * examples/hildon-touch-selector-example.c: (create_selector): Use
6826 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6829 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6831 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6832 set a cell background color, to respect theming.
6834 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6836 * doc/hildon-docs.sgml
6839 * src/hildon-edit-toolbar.c
6840 * src/hildon-edit-toolbar.h
6841 * src/hildon.h: New HildonEditToolbar widget.
6843 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6845 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6848 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6849 * src/hildon-touch-selector.c
6850 (_create_new_column): use g_object_set instead of two g_object_set_property
6852 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6853 * src/hildon-touch-selector.c
6854 (_create_new_column): use of hildon_gtk_tree_view_new to create
6855 the treeview, instead of use directly g_object_new
6856 (_create_new_column): update the property name "vindicator-mode" for the
6857 new one "vscrollbar-policy"
6858 * examples/hildon-date-button-example.c
6859 * examples/hildon-picker-button-multicolumn-example.c
6860 * examples/hildon-touch-selector-entry-example.c
6861 * examples/hildon-touch-selector-example.c
6862 * examples/hildon-time-button-example.c
6863 * examples/hildon-picker-button-example.c
6864 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6865 to all the treeviews inside a pannable area.
6867 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6869 * src/hildon-button.h
6870 * src/hildon-button.c (hildon_button_init)
6871 (hildon_button_set_arrangement, hildon_button_set_alignment)
6872 (hildon_button_set_title_alignment)
6873 (hildon_button_set_value_alignment)
6874 (hildon_button_set_image_alignment)
6875 (hildon_button_construct_child): New methods to set the alignment
6876 of the individual components of the button (title, value,
6877 image). Also, new method to alter the xscale and yscale properties
6878 of the GtkAlignment inside the button, so more complex layouts can
6881 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6883 * src/hildon-button.c (hildon_button_style_set)
6884 (hildon_button_class_init, hildon_button_set_arrangement)
6885 (hildon_button_construct_child): Apply style properties
6886 correctly. Use the 'image-spacing' style property too.
6888 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6890 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6891 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6894 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6896 * src/hildon-pannable-area.c,
6897 (hildon_pannable_area_size_request): Fixed problem with
6898 pannable-area size_request.
6900 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6902 Added management for the grab-focus to a child widget, like a
6903 range, we need to fade out the scrollbar when releasing.
6905 * src/hildon-pannable-area.c,
6906 (hildon_pannable_area_init): Connected the grab-focus signal to
6908 (hildon_pannable_area_grab_notify): Added this function in order
6909 to manage the situation when the grab-focus ends. We have to
6910 fade-out the scrollbar.
6912 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6914 * src/hildon-app-menu.c: Minor documentation update.
6916 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6918 * src/hildon-app-menu.c
6919 * examples/hildon-app-menu-example.c (create_menu): Update
6920 examples and documentation to explain how to connect callbacks.
6922 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6924 * examples/hildon-button-example.c
6925 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6926 hildon_stackable_window_new instead of gtk_window_new
6928 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6930 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6931 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6932 (hildon_pannable_area_set_property),
6933 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6934 (hildon_pannable_area_unrealize),
6935 (hildon_pannable_area_size_request),
6936 (hildon_pannable_area_size_allocate),
6937 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6938 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6939 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6940 (hildon_pannable_area_initial_effect),
6941 (hildon_pannable_area_redraw),
6942 (hildon_pannable_area_scroll_indicator_fade),
6943 (hildon_pannable_area_expose_event),
6944 (hildon_pannable_area_get_topmost), (synth_crossing),
6945 (hildon_pannable_area_button_press_cb),
6946 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6947 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6948 (hildon_pannable_area_motion_notify_cb),
6949 (hildon_pannable_area_button_release_cb),
6950 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6951 (hildon_pannable_area_remove),
6952 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6953 chage the code layout to a more GtkWidget like. Review the use of
6956 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6958 * examples/hildon-pannable-area-example-4.c,
6959 (main): Modified the name of the hindicator_mode to
6962 * src/hildon-pannable-area.c,
6963 (hildon_pannable_area_class_init),
6964 (hildon_pannable_area_motion_notify_cb),
6965 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6966 we have reduced the amount of signals and managed reviewed its
6967 rationale. Changed the default decelerate value.
6969 (hildon_pannable_area_add),
6970 (hildon_pannable_area_redraw): Refactored functions.
6972 (hildon_pannable_area_init),
6973 (hildon_pannable_area_get_property),
6974 (hildon_pannable_area_set_property):
6975 (hildon_pannable_draw_vscroll),
6976 (hildon_pannable_draw_hscroll),
6977 (hildon_pannable_area_initial_effect),
6978 (hildon_pannable_area_expose_event),
6979 (hildon_pannable_area_scroll),
6980 (hildon_pannable_area_button_press_cb),
6981 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6982 and vindicator_mode with hscrollbar_policy and
6983 vscrollbar_policy. Replaced hscroll and vscroll with
6984 hscroll_visible and vscroll_visible.
6986 (hildon_pannable_area_refresh): Refactor the function, remove
6987 variables and check the calls to this function, added resize
6988 conditions in case the children change their layout.
6990 (hildon_pannable_area_size_request): Added more detailed
6991 size_request calculation.
6994 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6996 * src/hildon-color-chooser.c
6997 (init_borders): use the correct gtk_border_free instead of g_free, to
6998 avoid a crash when this widget is used (ie: the three color selection
7001 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7003 * src/hildon-check-button.c,
7004 (hildon_check_button_set_active): Fixed problem when setting the
7005 active value, the widget was not redrawn.
7007 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7009 * src/hildon-pannable-area.c,
7010 (hildon_pannable_area_refresh),
7011 (hildon_pannable_area_scroll),
7012 (hildon_pannable_area_motion_notify_cb): Small code style change.
7014 (hildon_pannable_area_class_init): Default initial_hint set to
7015 FALSE, it is not in the specs.
7017 (hildon_pannable_area_initial_effect),
7018 (hildon_pannable_area_expose_event),
7019 (hildon_pannable_area_map),
7020 (hildon_pannable_area_init): Moved the launching point of the
7021 initial effect, it was in map but the sizes where not correct in
7022 that method so we do not know if we have the reproduce it. Now it
7023 is placed in the expose_event method and uses a variable to
7024 reproduce it just once.
7026 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7028 * src/hildon-pannable-area.c,
7029 (hildon_pannable_draw_vscroll),
7030 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7031 position allowed for the scrollbars.
7033 (hildon_pannable_area_size_allocate): Small style change.
7035 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7037 * src/hildon-pannable-area.c,
7038 (hildon_pannable_area_scroll_indicator_fade),
7039 (hildon_pannable_area_button_press_cb),
7040 (hildon_pannable_area_button_release_cb),
7041 (hildon_pannable_area_scroll_cb),
7042 (hildon_pannable_area_expose_event),
7043 (hildon_pannable_area_init): Added the define parameter
7044 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7045 and refactor the fade variable.
7047 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7049 * src/hildon-pannable-area.c,
7050 (hildon_pannable_area_redraw),
7051 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7052 lines, we were reimplemeting the redraw code.
7054 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7056 * src/hildon-pannable-area.c,
7057 (hildon_pannable_area_scroll_cb),
7058 (hildon_pannable_area_realize),
7059 (hildon_pannable_area_class_init): Added scroll_event management
7060 for pannable area, now we can scroll the usual desktop method.
7062 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7063 initialization of the parameters should depend on idle_id.
7065 (hildon_pannable_area_init),
7066 (hildon_pannable_area_map): Small code style modifications
7068 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7070 * src/hildon-pannable-area.c
7071 (hildon_pannable_area_button_press_cb),
7072 (hildon_pannable_area_motion_notify_cb),
7073 (hildon_pannable_area_button_release_cb),
7074 (hildon_pannable_area_size_allocate),
7075 (hildon_pannable_area_scroll_to): Improved the timeouts
7076 management, we avoid creating them each time.
7078 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7080 * src/hildon-pannable-area.c:
7081 (hildon_pannable_area_refresh),
7082 (hildon_pannable_area_motion_notify_cb),
7083 (hildon_pannable_area_class_init):
7084 * src/hildon-pannable-area.h:
7085 * src/hildon-touch-selector.c
7086 (_create_new_column):
7087 * examples/hildon-pannable-area-example-4.c:
7088 (horizontal_movement),
7089 (vertical_movement),
7091 Replaced the names of enums in the HildonPannableArea:
7092 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7093 HILDON_MOVEMENT_MODE_*
7094 - HILDON_PANNABLE_AREA_MOV_* ->
7096 - Removed HildonPannableAreaIndicatorMode, now we
7099 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7101 * examples/hildon-pannable-area-touch-grid-example.c
7102 * examples/hildon-pannable-area-touch-list-example.c: Fix
7103 compilation warnings.
7105 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7107 * src/hildon-gtk.c (hildon_gtk_button_new)
7108 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7109 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7110 images overriding the value of the "gtk-button-images" setting.
7112 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7114 * src/hildon-check-button.c (hildon_check_button_new):
7115 Instead of using a custom container, display the label and the
7116 checkbox using the standard GtkButton API.
7118 * examples/hildon-check-button-example.c (main): Don't use
7119 hildon_check_button_set_label() anymore
7121 * src/hildon-check-button.h
7122 * src/hildon-check-button.c
7123 (hildon_check_button_set_label, hildon_check_button_get_label):
7124 Set as deprecated, now we're using gtk_button_{get,set}_label()
7126 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7128 * src/hildon-pannable-area.c,
7129 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7130 GtkTreeview first line we detected it after the inclusion of the
7131 GtkWindowImpl in gtk+. We now check if the window is visible, not
7132 just if the pointer is over the window.
7133 (hildon_pannable_axis_scroll),
7134 (hildon_pannable_area_expose_event): Small style changes.
7136 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7138 * src/hildon-button.c: Update documentation.
7140 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7142 * examples/hildon-button-example.c: Add a switch to show images in
7145 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7147 * doc/hildon-docs.sgml: Some docs reorganization.
7149 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7151 * examples/hildon-pannable-area-touch-list-example.c
7153 * examples/hildon-pannable-area-touch-grid-example.c
7154 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7155 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7156 Fix memory leak when setting the tree model.
7158 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7162 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7164 * doc/hildon.types: Remove duplicated hildon_window_get_type
7165 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7166 documentation comment.
7168 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7170 * doc/Makefile.am: Complete list of private headers.
7172 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7174 * doc/hildon-docs.sgml
7175 * src/hildon-app-menu.c
7176 * src/hildon-bread-crumb.c
7177 * src/hildon-button.c
7179 * src/hildon-program.c
7180 * src/hildon-stackable-window.c
7181 * src/hildon-window.c: Lots of documentation updates.
7183 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7185 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7187 * configure.ac: Require Gtk+ 2.12.9 at least
7189 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7191 * src/hildon-pannable-area.c
7192 (hildon_pannable_area_scroll_indicator_fade),
7193 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7194 to protect the return of this timeout callbacks, avoiding deadlocks.
7196 2008-08-12 Christian Dywan <christian@imendio.com>
7199 * src/hildon-*.h: Ensure a consistent include order,
7200 include <gtk/gtk.h> instead of particular files and
7201 only include the topmost header in the gtk stack. See NB #39857
7203 2008-08-12 Christian Dywan <christian@imendio.com>
7205 * src/hildon-picker-dialog.c
7206 * src/hildon-touch-selector.c: Fix warnings about unused and
7207 uninitialized variables.
7209 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7211 * examples/Makefile.am
7212 * examples/hildon-check-button-example.c: Example of the hildon
7215 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7217 * src/hildon-window.h
7218 * src/hildon-window.c (hildon_window_class_init)
7219 (hildon_window_unset_program): Don't make
7220 hildon_window_unset_program a virtual function anymore.
7222 * src/hildon-stackable-window.c: Update documentation
7224 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7227 * doc/hildon-docs.sgml
7228 * doc/visual_index.xml
7229 * src/hildon-defines.c
7231 * src/hildon-helper.c
7232 * src/hildon-range-editor.c: Lots of documentation fixes.
7234 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7236 * examples/hildon-picker-button-multicolumn-example.c
7237 (create_touch_selector): Fix compilation warning.
7239 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7241 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7242 (hildon_pannable_area_button_release_cb)
7243 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7245 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7247 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7250 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7252 * src/hildon-bread-crumb-trail.h
7253 * src/hildon-date-editor.c
7254 * src/hildon-date-selector.c
7255 * src/hildon-pannable-area.c
7256 * src/hildon-picker-dialog.c
7257 * src/hildon-time-selector.c
7258 * src/hildon-touch-selector-entry.c
7259 * src/hildon-touch-selector.c
7260 * src/hildon-touch-selector.h: Misc documentation fixes
7262 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7264 * examples/hildon-date-editor-example.c (main): Updated date
7267 * examples/hildon-note-example.c (on_confirmation_clicked):
7268 Updated confirmation note example.
7270 * src/hildon-date-editor.c
7271 * src/hildon-note.c: Updated sample programs in documentation.
7274 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7276 * src/hildon-date-button.h:
7277 * src/hildon-picker-button.h:
7278 * src/hildon-time-button.c:
7279 * src/hildon-time-button.h:
7281 Some declarations changes to allow gtk-doc to document the widgets
7284 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7286 * src/hildon-date-button.c: Document the widget.
7287 * src/hildon-time-button.c: Document the widget.
7289 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7291 * src/hildon-picker-button.c: Document the widget.
7292 * src/hildon-touch-selector-entry.c: Document the widget.
7294 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7296 * doc/hildon-docs.sgml
7299 * src/hildon-check-button.h
7300 * src/hildon-check-button.c: New functions to create the Hildon
7304 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7306 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7308 * src/hildon-button.h
7309 * src/hildon-button.c
7310 (hildon_button_add_title_size_group)
7311 (hildon_button_add_value_size_group)
7312 (hildon_button_add_image_size_group)
7313 (hildon_button_add_size_groups): New functions to set size groups
7314 for the button labels and image.
7315 (hildon_button_new_full): Removed
7317 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7319 * src/hildon-time-selector.c
7320 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7321 in order to avoid a crash if gconf is not available
7323 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7325 * src/hildon-button.c (hildon_button_set_arrangement)
7326 (hildon_button_construct_child): Don't construct the button child
7327 before setting the arrangement.
7329 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7331 * src/hildon-program-private.h
7332 * src/hildon-program.c
7333 * src/hildon-program.h
7334 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7335 (hildon_program_peek_window_stack)
7336 (hildon_program_pop_window_stack)
7337 (hildon_program_go_to_root_window): HildonProgram now has a
7338 separate list for stackable windows. Functions are provided to
7339 manage that list with a stack-like API.
7341 * src/hildon-stackable-window.c: Stackable window management is
7342 now much simpler with the new HildonProgram API. Windows no
7343 longer need to be manually added to the program, they're
7344 automatically pushed to the top of the stack when shown.
7346 * examples/hildon-stackable-window-example.c: Updated example to
7347 reflect the API changes.
7349 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7351 * src/hildon-touch-selector.c: Comment out unimplemented
7352 hildon_touch_selector_insert_column() to avoid a compile warning.
7354 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7356 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7357 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7358 (hildon_touch_selector_set_column_selection_mode),
7359 (_hildon_touch_selector_set_model),
7360 (hildon_touch_selector_set_model):
7362 Complete review of HildonTouchSelector documentation.
7364 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7366 * doc/hildon-docs.sgml
7370 * src/hildon-gtk.c: Convenience functions for standard Gtk
7371 widgets, used to easily perform frequent operations.
7373 * src/hildon-button-helpers.h
7374 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7376 * src/hildon-helper.h
7377 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7378 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7380 * src/hildon-button.h
7381 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7383 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7385 * src/hildon-button.c (hildon_button_init)
7386 (hildon_button_set_arrangement, hildon_button_construct_child):
7387 Pack the image and the labels inside the same GtkAlignment so
7388 gtk_button_set_alignment() can be used
7390 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7392 * src/hildon-button.h
7393 * src/hildon-button.c
7394 (hildon_button_init, hildon_button_set_image)
7395 (hildon_button_set_image_position)
7396 (hildon_button_construct_child): New functions to add an image to
7399 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7401 * src/hildon-date-button.c
7402 * src/hildon-picker-button.c
7403 * src/hildon-time-button.c
7404 * src/hildon-button.c:
7405 (hildon_button_class_init): "size-flags" renamed to "size"
7406 (hildon_button_set_title): Hide the title label if set to NULL.
7408 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7410 HildonButtonFlags split into HildonButtonArrangement (to set the
7411 button layout) and HildonSizeType (which can be used for any
7414 * src/hildon-button.h
7415 * src/hildon-button.c
7416 (hildon_button_class_init)
7417 (hildon_button_set_arrangement)
7418 (hildon_button_set_property): New "size-flags"
7419 property. "arrangement-flags" renamed to "arrangement".
7420 (hildon_button_new, hildon_button_new_with_text)
7421 (hildon_button_new_full): Constructors updated to reflect type changes.
7423 * src/hildon-helper.h
7424 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7425 to set the size of a widget.
7429 * src/hildon-button-helpers.c
7430 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7432 * src/hildon-date-button.c
7433 * src/hildon-date-button.h
7434 * src/hildon-picker-button.c
7435 * src/hildon-picker-button.h
7436 * src/hildon-time-button.c
7437 * src/hildon-time-button.h: Updated widgets to reflect
7438 HildonButton API changes.
7440 * examples/hildon-button-example.c
7441 * examples/hildon-date-button-example.c
7442 * examples/hildon-picker-button-example.c
7443 * examples/hildon-picker-button-multicolumn-example.c
7444 * examples/hildon-time-button-example.c
7445 * examples/hildon-touch-selector-entry-example.c
7446 * examples/hildon-touch-selector-example.c: Updated examples to
7447 reflect HildonButton API changes.
7449 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7451 * doc/hildon-docs.sgml:
7453 * examples/Makefile.am:
7454 * examples/hildon-touch-selector-entry-example.c:
7456 * src/hildon-touch-selector-entry.c:
7457 * src/hildon-touch-selector-entry.h:
7460 Moved HildonTouchSelectorEntry from sandbox. Added its
7461 documentation and examples.
7463 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7465 * src/hildon-touch-selector.h:
7466 * examples/hildon-picker-button-multicolumn-example.c:
7467 (hildon_touch_selector_append_text_column): Add a gboolean
7468 parameter to determine if text must be centered in the column.
7470 * src/hildon-date-selector.c: (hildon_date_selector_init):
7471 * src/hildon-time-selector.c: (hildon_time_selector_init):
7472 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7473 (create_touch_selector): Update widgets and example to reflect
7476 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7478 * src/hildon-touch-selector.c:
7479 (hildon_touch_selector_set_active_iter): Set also the cursor in
7482 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7484 * doc/hildon-docs.sgml
7487 * src/hildon-toggle-button.c
7488 * src/hildon-toggle-button.h
7489 * src/hildon.h: Removed HildonToggleButton widget, a derived
7490 class is not necessary for this.
7492 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7494 * src/hildon-pannable-area.c,
7495 (hildon_pannable_area_realize),
7496 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7499 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7501 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7502 "done" button the default widget for the dialog.
7504 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7506 * src/hildon-touch-selector.c:
7507 (hildon_touch_selector_class_init),
7508 (hildon_touch_selector_get_property),
7509 (_hildon_touch_selector_set_model),
7510 (_hildon_touch_selector_has_multiple_selection),
7511 (hildon_touch_selector_has_multiple_selection):
7512 Add a "has-multiple-selection" property with a virtual
7513 has_multiple_selection() method to allow derived classes to
7514 override the default value for it. See the method and property
7515 documentation for details.
7517 * src/hildon-touch-selector.h: Add the new API.
7519 * src/hildon-picker-dialog.c: (requires_done_button): Call
7520 hildon_touch_selector_has_multiple_selection() instead of
7521 determining the need for a button itself.
7523 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7525 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7526 (_hildon_touch_selector_set_model),
7527 (hildon_touch_selector_set_model): Move working code to
7528 _hildon_touch_selector_set_mode(). Call the class method instead.
7530 * src/hildon-touch-selector.h: Add (*set_model) to
7531 HildonTouchSelectorClass.
7533 Make hildon_touch_selector_set_model() a virtual method, so that
7534 derived classes can extend it and do fancy stuff with the model.
7536 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7538 * configure.ac: Set back the tarname in AC_INIT to hildon.
7540 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7544 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7545 instead of libesd (NB#86876). Volume handling is still an open issue.
7547 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7550 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7553 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7554 derived class to ease placement of an entry widget in
7555 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7556 end, where the selector columns are packed now.
7558 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7560 * src/hildon-picker-button.c: Removed the simple _text() API.
7561 * src/hildon-picker-button.h: Likewise.
7563 * src/hildon-touch-selector.h:
7564 * src/hildon-touch-selector.c:
7565 (hildon_touch_selector_new_text),
7566 (hildon_touch_selector_append_text),
7567 (hildon_touch_selector_prepend_text),
7568 (hildon_touch_selector_insert_text):
7570 Moved the simple _text() API from HildonPickerButton to
7571 HildonTouchPicker, to provide better escalability and not to tie
7572 that API to HildonPickerButton.
7574 * examples/hildon-picker-button-example.c: (main): Example updated.
7576 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7578 * src/hildon-button.c: Updated documentation.
7580 * examples/hildon-button-example.c: Add the posibility to create
7581 the buttons using horizontal layout for title and value.
7583 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7585 * src/hildon-app-menu-private.h
7586 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7587 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7588 GtkSizeGroup for the filters, use the 'homogeneous' property of
7591 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7593 * examples/hildon-button-example.c: Updated example.
7595 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7597 * doc/hildon-docs.sgml:
7600 Update documentation.
7602 * examples/Makefile.am: Update renamed examples.
7604 * examples/hildon-picker-button-multicolumn-example.c:
7605 (create_touch_selector), (main): Update after the rename.
7607 * examples/hildon-touch-picker-example.c: Removed.
7608 * examples/hildon-touch-selector-example.c: (value_changed),
7609 (create_selector), (get_visible_content), (main): Renamed from
7610 hildon-touch-picker-example.c
7612 * src/Makefile.am: Updated renamed files.
7614 * src/hildon-date-button.c: (hildon_date_button_init),
7615 (hildon_date_button_get_date), (hildon_date_button_set_date):
7616 * src/hildon-date-selector.c: (hildon_date_selector_init),
7617 (_custom_print_func), (_update_day_model),
7618 (_manage_selector_change_cb),
7619 (hildon_date_selector_select_current_date),
7620 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7621 * src/hildon-date-selector.h:
7622 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7623 (hildon_picker_button_set_property),
7624 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7625 (hildon_picker_button_init), (hildon_picker_button_new_text),
7626 (hildon_picker_button_append_text),
7627 (hildon_picker_button_prepend_text),
7628 (hildon_picker_button_insert_text),
7629 (hildon_picker_button_set_selector),
7630 (hildon_picker_button_get_selector):
7631 * src/hildon-picker-button.h:
7632 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7633 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7634 (_update_title_on_selector_changed_cb), (requires_done_button),
7635 (_hildon_picker_dialog_set_selector),
7636 (hildon_picker_dialog_set_selector),
7637 (hildon_picker_dialog_get_selector):
7638 * src/hildon-picker-dialog.h:
7639 * src/hildon-time-button.c: (hildon_time_button_init),
7640 (hildon_time_button_get_time), (hildon_time_button_set_time):
7641 * src/hildon-time-selector.c: (hildon_time_selector_init),
7642 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7643 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7644 * src/hildon-time-selector.h:
7647 Massive code updates after the rename.
7649 * src/hildon-touch-picker.c: Removed.
7650 * src/hildon-touch-picker.h: Removed.
7652 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7653 (hildon_touch_selector_init), (hildon_touch_selector_map),
7654 (hildon_touch_selector_remove), (_default_print_func),
7655 (_selection_changed_cb), (_create_new_column),
7656 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7657 (hildon_touch_selector_append_text_column),
7658 (hildon_touch_selector_remove_column),
7659 (hildon_touch_selector_set_column_attributes),
7660 (hildon_touch_selector_insert_column),
7661 (hildon_touch_selector_get_num_columns),
7662 (hildon_touch_selector_get_column_selection_mode),
7663 (hildon_touch_selector_set_column_selection_mode),
7664 (hildon_touch_selector_set_print_func),
7665 (hildon_touch_selector_get_print_func),
7666 (hildon_touch_selector_get_active_iter),
7667 (hildon_touch_selector_set_active_iter),
7668 (hildon_touch_selector_get_selected_rows),
7669 (hildon_touch_selector_get_model),
7670 (hildon_touch_selector_set_model),
7671 (hildon_touch_selector_get_current_text),
7672 (_hildon_touch_selector_center_on_selected_items):
7673 * src/hildon-touch-selector.h: Renamed from
7674 hildon-touch-picker.[ch]
7676 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7677 references, code examples, and related documentation.
7679 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7681 * doc/hildon-docs.sgml
7684 * src/hildon-toggle-button.c
7685 * src/hildon-toggle-button.h
7686 * src/hildon.h: New HildonToggleButton widget.
7688 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7690 * src/hildon-button.c: Add API documentation.
7691 (hildon_button_set_size_groups): Check input parameters
7693 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7695 * src/hildon-pannable-area.c
7696 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7697 effect after reaching the movement thredshold. This way we start
7698 using the distance after passing the thredshold.
7700 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7702 * src/hildon-button.c: (hildon_button_set_property): Use the
7703 appropriate g_value_get_flags() method.
7705 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7707 * doc/hildon-docs.sgml:
7710 Add the touch pickers, picker dialogs, and picker button widgets
7711 to the documentation.
7713 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7715 * src/hildon-button.c: (hildon_button_set_property),
7716 (hildon_button_class_init): Make "arrangement-flags" a proper
7717 G_TYPE_FLAGS derived property.
7719 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7721 * examples/Makefile.am: Add below examples.
7722 * examples/hildon-date-button-example.c:
7723 * examples/hildon-picker-button-example.c:
7724 * examples/hildon-picker-button-multicolumn-example.c:
7725 * examples/hildon-time-button-example.c:
7726 * examples/hildon-touch-picker-example.c:
7728 Add examples for the recently added touch pickers,
7729 picker dialogs, and picker button widgets.
7731 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7733 * src/hildon-button.c: Add some API documentation
7735 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7737 * src/hildon-button.h
7738 * src/hildon-button.c
7740 (hildon_button_new_with_text): New constructor to create a button
7741 with no text at all.
7742 (hildon_button_init, hildon_button_set_arrangement)
7743 (hildon_button_set_title, hildon_button_set_value)
7744 (hildon_button_set_text)
7745 (hildon_button_construct_child): Hide the value when it's not used
7746 so the rest of the text is properly aligned.
7747 Allow creating buttons with arbitrary widgets inside (not just
7748 title/value labels).
7750 * examples/hildon-button-example.c (vertical_buttons_window)
7751 (horizontal_buttons_window): Update example to use new API.
7753 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7755 * src/Makefile.am: Added HildonTimeButton.
7756 * src/hildon-time-button.c: Added missing LGPL header.
7757 * src/hildon-time-button.h: Added missing LGPL header.
7758 * src/hildon.h: Add hildon-time-button.h
7760 Copied HildonTimeButton from sandbox to trunk. Future work on this
7761 widget must take place in trunk.
7763 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7765 * src/Makefile.am: Added HildonDateButton.
7766 * src/hildon-date-button.c: Update includes.
7767 * src/hildon.h: Add hildon-date-button.h
7769 Copied HildonDateButton from sandbox to trunk. Future work on this
7770 widget must take place in trunk.
7772 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7774 * src/Makefile.am: Added HildonPickerButton.
7775 * src/hildon-picker-button.h: Update includes.
7776 * src/hildon.h: Add hildon-picker-button.h
7778 Copied HildonPickerButton from sandbox to trunk. Future work on
7779 this widget must take place in trunk.
7781 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7783 * src/Makefile.am: Added HildonPickerDialog.
7784 * src/hildon-picker-dialog.c: Update includes.
7785 * src/hildon.h: Add hildon-picker-dialog.h
7787 Copied HildonPickerDialog from sandbox to trunk. Future work
7788 on this widget must take place in trunk.
7790 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7792 * src/Makefile.am: Added HildonTimeSelector.
7793 * src/hildon.h: Add hildon-time-selector.h
7795 Copied HildonTimeSelector widget from sandbox to trunk. Future
7796 work on this widget must happen in trunk.
7798 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7800 * src/Makefile.am: Added HildonDateSelector.
7801 * src/hildon.h: Add hildon-date-selector.h
7803 Copied HildonDateSelector widget from sandbox to trunk. Future
7804 work on this widget must happen in trunk.
7806 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7808 * src/Makefile.am: Added HildonTouchPicker.
7809 * src/hildon-touch-picker.c: Update includes.
7810 * src/hildon.h: Add hildon-touch-picker.h
7812 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7813 on this widget must happen in trunk.
7815 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7817 * src/hildon-pannable-area.c:
7818 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7820 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7822 * examples/hildon-app-menu-example.c (main): Let the window
7825 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7827 * src/hildon-pannable-area.c
7828 (hildon_pannable_area_class_init): Set the min value of the
7829 overshoot properties to zero, which points out that not
7830 overshooting allowed.
7832 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7834 Modified the procedure to get the widget at a point inside the
7835 pannable area when using the movement type signals. Now the user
7836 has to call a function to get the child, that way we just
7837 calculate the child in case the user really want to use it and not
7840 * src/hildon-marshalers.list: Modified the marshallers, now we do
7841 not have the widget as a parameter.
7843 * src/hildon-pannable-area.c
7844 (hildon_pannable_area_motion_notify_cb),
7845 (hildon_pannable_area_class_init),
7846 (hildon_pannable_get_child_widget_at): Removed the widget
7847 parameter from the signal callback. We have also refactored the
7848 emission of the signals.
7850 * src/hildon-pannable-area.h: Added a new method to the API to
7851 calculate a widget at a point inside the pannable area,
7852 hildon_pannable_get_child_widget_at.
7854 * examples/hildon-pannable-area-example-4.c
7855 (horizontal_movement): Modified the example to use the new API,
7856 added condition to control which widget is under the event. This
7857 way we can avoid scrolling laterally over other widgets.
7859 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7861 * src/hildon-pannable-area.c
7862 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7863 modes, we stop getting the pointer events due to returning the
7864 callback without properly calling the get pointer again. Fixed
7865 also an error using the hscroll and vscroll.
7867 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7869 * src/hildon-app-menu-private.h
7870 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7871 (hildon_app_menu_button_release, hildon_app_menu_init)
7872 (hildon_app_menu_class_init): Don't hide the menu on button
7873 release if the user didn't press outside first.
7875 * src/hildon-window.h
7876 * src/hildon-window.c (hildon_window_toggle_menu)
7877 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7878 hildon_window_toggle_menu a virtual function for the stackable
7879 window to override it.
7881 * src/hildon-stackable-window.h
7882 * src/hildon-stackable-window-private.h
7883 * src/hildon-stackable-window.c
7884 (hildon_stackable_window_realize)
7885 (hildon_stackable_window_finalize)
7886 (hildon_stackable_window_class_init)
7887 (hildon_stackable_window_init)
7888 (hildon_stackable_window_set_main_menu): New function to set the
7889 app menu of a HildonStackableWindow.
7891 * examples/hildon-app-menu-example.c: Remove the button to show
7892 the app menu, now it'll be shown when clicking on the title bar
7895 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7897 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7898 set the widget name if the arrangement flags do not specify
7901 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7903 * src/hildon-button.c: (hildon_button_set_property),
7904 (hildon_button_class_init), (hildon_button_new_full),
7905 (hildon_button_set_arrangement): Added "arrangement-flags"
7908 Make the HildonButtonFlags a construction-only property, to allow
7909 subclasses to set them properly.
7911 2008-07-21 Tim Janik <timj@imendio.com>
7913 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7914 insertion position after backspace, so additional digits are appended,
7917 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7919 * src/hildon-pannable-area.c,
7920 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7921 TODO list, it was complete and removed the g_debug and g_print
7924 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7926 Added the movement modes to the hildon-pannable-area, with this
7927 modes the developers can control in which directions the widget
7928 can scroll. They can also connect to signals in order to do
7929 something when that happens, allowing applications scroll. There
7930 is an example uploaded showing how to use it.
7932 * examples/Makefile.am:
7933 * examples/hildon-pannable-area-example-4.c: Added this example of
7934 an application using the modes.
7936 * src/hildon-marshalers.list: Added a new marshaller for the new
7939 * src/hildon-pannable-area.h: Added new enumerations and flags in
7940 order to control the movement modes and the new signals to warn
7941 about the movements in the area.
7943 * src/hildon-pannable-area.c:
7944 (hildon_pannable_axis_scroll),
7945 (hildon_pannable_area_scroll),
7946 (hildon_pannable_area_motion_notify_cb),
7947 (hildon_pannable_area_get_property),
7948 (hildon_pannable_area_set_property),
7949 (hildon_pannable_area_map),
7950 (hildon_pannable_area_class_init),
7951 (hildon_pannable_area_init),
7952 (hildon_pannable_area_jump_to): Added the modes to control the
7953 movement in the widget. We have added properties to control it,
7954 signals to warn about the movements and refactored some code.
7956 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7958 Changes required in order to allow vfast_factor set to zero to
7961 * src/hildon-pannable-area.c:
7962 (hildon_pannable_area_button_press_cb): Changed the condition, it
7963 is required for not allowing click when vfast_factor is zero.
7964 (hildon_pannable_area_timeout): Initialized velocity variables
7965 when we stop moving, it was less than 1 but not zero and we need
7966 to check zero in some situations.
7967 (hildon_pannable_area_class_init): Changed the default value of
7968 the speed factor, now the button_press is just sent in case the
7969 speed is 2 per cent of the max speed.
7970 (hildon_pannable_area_init): Initialization with 0.
7972 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7974 * src/hildon-pannable-area.c,
7975 (hildon_pannable_area_get_topmost): replaced
7976 gdk_window_get_children with gdk_window_peek_children, this way we
7977 do not have to free the list because it is not a copy.
7979 (hildon_pannable_axis_scroll),
7980 (hildon_pannable_area_scroll),
7981 (hildon_pannable_area_timeout),
7982 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7983 two parameters that were only used inside the
7984 hildon_pannable_area_scroll function.
7986 * examples/hildon-pannable-area-example.c,
7987 (get_sawtooth_label): Fixed small memory leak.
7989 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7991 More checks for the case where the overshoot is bigger than the
7994 * src/hildon-pannable-area.c:
7995 (hildon_pannable_draw_vscroll),
7996 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7997 to draw the slider of the scrollbar under the other scrollbar.
7998 (hildon_pannable_area_expose_event): added new checks to control
7999 the drawing of the overshooting area rectangle, in case it is too
8000 big for the area of the widget.
8001 (hildon_pannable_area_size_allocate): add more checks to avoid
8002 setting a position to the child widget outside the area.
8004 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8006 * src/hildon-pannable-area.c
8007 (hildon_pannable_area_size_allocate): Added conditions to control
8008 when overshooting is bigger than the allocated space for the
8009 children, this avoids negative allocations.
8011 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8013 * doc/hildon-docs.sgml
8015 * examples/Makefile.am
8016 * examples/hildon-button-example.c
8018 * src/hildon-button.c
8019 * src/hildon-button.h
8020 * src/hildon.h: Initial version of the new HildonButton widget,
8023 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8025 * src/hildon-pannable-area.c:
8026 (hildon_pannable_area_button_press_cb),
8027 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8028 (hildon_pannable_area_motion_notify_cb),
8029 (hildon_pannable_area_button_release_cb),
8030 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8031 (hildon_pannable_area_jump_to_child):
8033 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8035 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8037 * examples/Makefile.am
8038 * examples/hildon-pannable-area-touch-grid-example.c
8039 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8040 the Hildon Touch List and Hildon Touch Grid using the
8041 HildonPannableArea widget.
8043 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8045 * src/hildon-pannable-area.c,
8046 (hildon_pannable_area_button_press_cb),
8047 (hildon_pannable_area_refresh),
8048 (hildon_pannable_area_scroll),
8049 (hildon_pannable_area_motion_notify_cb),
8050 (hildon_pannable_area_button_release_cb),
8051 (hildon_pannable_area_expose_event),
8052 (hildon_pannable_area_add),
8053 (hildon_pannable_area_remove),
8054 (hildon_pannable_area_realize),
8055 (hildon_pannable_area_size_allocate),
8056 (hildon_pannable_area_class_init),
8057 (hildon_pannable_area_init),
8058 (hildon_pannable_area_scroll_to_child),
8059 (hildon_pannable_area_jump_to_child): Fixed the problem of
8060 removing the child from the GtkBin, we have rearranged the widget
8061 hierarchy, now there is no GtkAlignment which was not doing
8062 anything interesting but breaking some of the assumptions of
8063 GtkContainer. Now developers if they want to add a GtkAlignment
8064 they could, but it is not inside the area.
8066 We had to review the whole allocation/expose process, now it is
8067 improved and we save at least three signals which would be saving
8068 some time when rendering the widget. The allocation of the
8069 scrollbars is now made in the allocate method as usual.
8071 We have also added some conditions in order to control when there
8072 is no child of the pannable area. Maybe we will need more work
8075 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8077 * src/hildon-pannable-area.c,
8078 (hildon_pannable_area_dispose): Released the fade-out timeout when
8079 disposing the widget.
8081 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8083 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8084 zero, we are going to use that property in order to deactivate the
8086 (hildon_pannable_axis_scroll),
8087 (hildon_pannable_area_size_allocate): Added conditions to control
8088 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8089 call, now it is called in all situations and we can remove calls
8090 in the allocate method.
8091 (hildon_pannable_area_map): Control the situation when
8092 overshoot_max is zero, we do not need the timeout.
8093 (hildon_pannable_area_class_init): Added documentation in order to
8094 point out that setting zero to overshoot_max means deactivate
8097 NOTE: removed trailing whitespaces from my previous comments of
8100 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8102 * src/hildon-pannable-area.c
8103 (hildon_pannable_area_get_property),
8104 (hildon_pannable_area_set_property),
8105 (hildon_pannable_area_map),
8106 (hildon_pannable_area_class_init),
8107 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8108 to cause the widget give a hint about its panning abilities upon
8111 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8113 * src/hildon-pannable-area.c: Several documentation improvements.
8115 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8117 * src/hildon-program.c
8118 * src/hildon-stackable-window.c: Update documentation.
8120 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8122 * src/hildon-stackable-window.c (get_previous_window_if_last):
8123 Renamed get_last_window()
8124 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8125 (hildon_stackable_window_unset_program):
8127 (get_previous_window_if_last):
8128 Detect if the window hasn't been added to a HildonProgram.
8130 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8132 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8134 * src/hildon-pannable-area.c
8135 (hildon_pannable_area_button_press_cb),
8136 (hildon_pannable_axis_scroll),
8137 (hildon_pannable_area_scroll),
8138 (hildon_pannable_area_timeout),
8139 (hildon_pannable_calculate_vel_factor),
8140 (hildon_pannable_area_get_property),
8141 (hildon_pannable_area_set_property),
8142 (hildon_pannable_area_class_init),
8143 (hildon_pannable_area_init),
8144 (hildon_pannable_area_scroll_to),
8145 (hildon_pannable_area_jump_to),
8146 (hildon_pannable_area_scroll_to_child),
8147 (hildon_pannable_area_jump_to_child):
8148 * src/hildon-pannable-area.h: Added the new API functions:
8149 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8150 hildon_pannable_area_scroll_to_child,
8151 hildon_pannable_area_jump_to_child
8154 * examples/Makefile.am
8155 * examples/hildon-pannable-area-example-2.c
8156 * examples/hildon-pannable-area-example-3.c: Added these two new
8157 examples in order to test and show how the new APIs work.
8159 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8161 * examples/hildon-stackable-window-example.c (new_window):
8162 * src/Makefile.am (noinst_HEADERS):
8163 * src/hildon-program.c (hildon_program_go_to_root_window):
8164 * src/hildon-program.h:
8165 * src/hildon-stackable-window-private.h:
8166 * src/hildon-stackable-window.c:
8167 * src/hildon-stackable-window.h:
8168 Create hildon-stackable-window-private.h
8169 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8171 * examples/hildon-app-menu-example.c (create_menu):
8172 * examples/hildon-hvolumebar-insensitive-example.c (main):
8173 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8174 * examples/hildon-toolbar-seekbar-example.c (main):
8175 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8176 * src/hildon-banner.c (hildon_banner_set_property):
8177 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8178 Fix compilation warnings
8180 * src/hildon-window.c:
8183 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8185 * src/hildon-stackable-window.c
8186 (hildon_stackable_window_unset_program):
8187 Calculate correctly whether to show the previous window if the
8188 last one is removed from the stack.
8189 (hildon_stackable_window_go_to_root_window):
8190 Send delete events starting from the topmost window.
8191 Stop if one of the windows is not destroyed.
8193 (hildon_stackable_window_delete_event)
8194 (hildon_stackable_window_class_init):
8195 Ignore the delete event if the window is not the topmost one.
8197 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8199 * src/hildon-pannable-area.c
8200 (hildon_pannable_area_expose_event): Fixed a problem when
8201 selecting the background color of the scrollbars.
8203 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8205 * examples/hildon-stackable-window-example.c
8206 * src/hildon-stackable-window.c
8207 * src/hildon-stackable-window.h
8208 hildon_stackable_window_go_home() renamed to
8209 hildon_stackable_window_go_to_root_window()
8210 Send delete events to windows rather than closing them with
8211 gtk_widget_destroy()
8213 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8215 * src/hildon-pannable-area.c
8216 (hildon_pannable_area_button_release_cb): Fix overshooting in
8219 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8221 * src/hildon-pannable-area.c
8222 (hildon_pannable_area_init): Initially show the scroll indicators.
8223 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8225 Add initial effect showing the widget is pannable.
8227 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8229 * src/hildon-pannable-area.c
8230 (hildon_pannable_area_class_init)
8231 (hildon_pannable_area_set_property)
8232 (hildon_pannable_area_get_property)
8233 (hildon_pannable_area_button_press_cb):
8234 New 'velocity_fast_factor' property to decide which velocity is
8237 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8239 * src/hildon-pannable-area.c
8240 (hildon_pannable_draw_hscroll)
8241 (hildon_pannable_draw_vscroll):
8242 Use float variables to calculate the size of the scrollbars to
8243 avoid error propagation and resizing during scrolling.
8245 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8247 * src/hildon-pannable-area.c
8248 (hildon_pannable_draw_vscroll)
8249 (hildon_pannable_draw_hscroll):
8250 Define a minimum size for the scroll bars
8252 * src/hildon-stackable-window.c
8253 (hildon_stackable_window_go_home): Fix compilation warning
8254 (get_last_window): Minor optimizations
8255 (hildon_stackable_window_class_init): Fix initialization of
8258 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8260 * src/hildon-stackable-window.c: Fixed typos in doc
8262 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8264 * src/hildon-pannable-area.c
8265 (hildon_pannable_area_scroll):
8266 Calculate here whether we need to scroll instead of using the booleans
8267 that tell us whether to /draw/ the scrolling bars.
8269 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8271 * src/hildon-app-menu.h
8273 * src/hildon-app-menu.c
8274 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8275 multiple filter groups related code and API. Now we support only
8277 * examples/hildon-app-menu-example.c:
8279 Update to reflect API changes.
8281 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8283 * src/hildon-stackable-window.c
8284 (hildon_stackable_window_class_init):
8285 Add hildon_stackable_window_realize.
8286 (hildon_stackable_window_realize):
8287 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8288 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8289 to apply theming and behavior specific to HildonStackableWindow
8292 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8294 * src/hildon-note.c (hildon_note_button_release):
8295 Close information notes also when tapping on them
8297 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8299 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8300 ELASTICITY, refactor and review, fix some issues with drawing
8303 * src/hildon-pannable-area.c:
8304 (hildon_pannable_area_button_press_cb): removed the conditions to
8305 avoid clicks when overshooting. It is not required
8307 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8308 define. Refatored and reviewed the code, now we do not need to
8309 manage velocity in motion_notify.
8311 (hildon_pannable_area_motion_notify_cb): We have moved the code
8312 that controls the area_scroll to the axis_scroll function and get
8313 rid of duplicated code.
8315 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8317 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8319 (hildon_pannable_draw_vscroll),
8320 (hildon_pannable_draw_hscroll): Fixed the problems with the
8321 scrollbar drawing, now we do not use two surfaces, it is easier
8322 and saves resources.
8324 (hildon_pannable_area_get_property): Style modification.
8326 (hildon_pannable_area_class_init): Changed some default values.
8328 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8330 * src/hildon-stackable-window.c: Fix some typos in the
8333 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8335 * src/hildon-dialog.c:
8336 Change indentation style
8339 (hildon_note_button_release):
8340 Use root coordinates to check if the release event happened
8343 * src/hildon-app-menu.c
8344 (hildon_app_menu_button_release):
8345 Remove unnecessary check
8347 * examples/hildon-app-menu-example.c
8349 Add cast to fix warning
8351 * src/hildon-app-menu.c
8352 (hildon_app_menu_class_init):
8353 New inner-border style property.
8354 Set all default spacings to 16
8355 (hildon_app_menu_init):
8356 Use vertical-spacing to set the space between filter buttons and
8357 regular menu buttons.
8358 Set the default container border using the inner-border value.
8360 * examples/hildon-app-menu-example.c
8362 Don't set the menu border explicitly, now we have the inner-border
8363 style property for that.
8365 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8367 * src/hildon-app-menu.c (hildon_app_menu_init):
8368 Make the window modal
8370 * src/hildon-note.c (hildon_note_map)
8371 * src/hildon-app-menu.c (hildon_app_menu_map):
8372 Destroy the grab window if we're unable to grab the pointer
8374 * src/hildon-app-menu-private.h
8375 * src/hildon-app-menu.c
8376 (hildon_app_menu_init, hildon_app_menu_finalize)
8377 (hildon_app_menu_map, hildon_app_menu_unmap)
8378 (hildon_app_menu_button_release)
8379 (grab_transfer_window_get):
8380 Bring back the grab window
8381 (hildon_app_menu_realize):
8382 Decorate the window, set WM hint for Matchbox
8384 * src/hildon-note.c (hildon_note_realize):
8385 * src/hildon-banner.c (hildon_banner_realize):
8386 Add WM hints for Matchbox
8388 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8390 * src/hildon-app-menu-private.h
8391 * src/hildon-app-menu.c
8392 (hildon_app_menu_init, hildon_app_menu_finalize)
8393 (hildon_app_menu_map, hildon_app_menu_unmap)
8394 (hildon_app_menu_button_release):
8395 Remove the grab window, it's not needed anymore
8397 * src/hildon-program.c
8398 Fixed typo in documentation
8400 * src/hildon-app-menu.h
8401 * src/hildon-app-menu.c
8402 * examples/hildon-app-menu-example.c
8403 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8405 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8408 Added new transfer_window and close_if_pressed_outside private
8410 (hildon_note_rebuild):
8411 Don't add a cancel button to the information note. It will be
8412 closed when tapping outside
8413 Remove the comment about the OK button in the documentation
8414 (hildon_note_realize):
8415 Set the notification type hint
8416 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8417 Grab/ungrab pointer and keyboard if the note has to be closed when
8419 (hildon_note_button_release):
8420 Close the note when tapping outside (if applicable)
8422 * src/hildon-app-menu.c
8423 Grab/ungrab pointer and keyboard on map/unmap
8424 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8425 Close the menu on button release, not button press
8427 * src/hildon-banner.c
8428 (hildon_banner_set_property)
8429 (hildon_banner_check_position):
8430 Make the banner use the full width of the screen
8431 (hildon_banner_show_information)
8432 (hildon_banner_show_information_with_markup):
8433 Don't display an icon by default
8435 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8437 Added fading scrollbars and adapted all the overshooting code to
8438 horizontal scrolling. We have also fixed bugs with overshooting
8439 and current fading implementation.
8441 * src/hildon-pannable-area.c
8442 (hildon_pannable_area_scroll_indicator_fade): Time out function
8443 used to change the transparency of the scrollbars.
8445 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8446 control and fixed a problem with fading, we now remove the fade
8447 timeout before adding a new one.
8449 (hildon_pannable_axis_scroll):
8450 (hildon_pannable_area_scroll):
8451 (hildon_pannable_area_timeout): Added this functions so we can use
8452 the scroll code both for vertical and horizontal.
8454 (hildon_pannable_area_motion_notify_cb):
8455 (hildon_pannable_area_button_release_cb): Added the horizontal
8456 scrolling control, fixed a problem with the overshooting timeout.
8458 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8459 painting of the scrolls.
8461 (hildon_pannable_draw_vscroll):
8462 (hildon_pannable_draw_hscroll):
8463 (hildon_pannable_area_expose_event):
8464 Draw both scrollbars and rectangles in the overshooting area.
8466 (hildon_pannable_area_get_property):
8467 (hildon_pannable_area_set_property):
8468 Modified the overshoot property to overshoot_max
8470 (hildon_pannable_area_map):
8471 Replaced the comments symbols.
8473 (hildon_pannable_area_size_allocate):
8474 (hildon_pannable_area_class_init):
8475 (hildon_pannable_area_init): Added horizontal scroll, fading
8476 effect properties, fixed a problem when overshooting in the bottom
8479 * examples/hildon-pannable-area-example.c:
8480 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8481 looks better in the example.
8483 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8485 * src/hildon-window.c
8486 * src/hildon-window.h
8487 (hildon_window_class_init)
8488 (hildon_window_unset_program)
8489 (hildon_window_unset_program_real):
8490 Make unset_program a virtual function
8492 * src/hildon-stackable-window.c
8493 * src/hildon-stackable-window.h
8494 Added hildon_stackable_window_go_home()
8496 * examples/Makefile.am
8497 * examples/hildon-stackable-window-example.c
8498 HildonStackableWindow example
8500 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8502 * hildon-pannable-area.c: Added the overshoot property and removed
8503 the OVERSHOOT define. Fixed an indent style error.
8504 (hildon_pannable_area_motion_notify_cb):
8505 (hildon_pannable_area_get_property):
8506 (hildon_pannable_area_set_property): Add overshoot property.
8508 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8511 (hildon_pannable_area_class_init): Installed the new property.
8513 * hildon-pannable-area-example.c: Added a sawtooth function, this
8514 way it is easier to check the movement in the pannable.
8515 (get_sawtooth_label): Added this function.
8516 (main): Now we get the labels from the new get_sawtooth_label
8519 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8521 * src/hildon-app-menu.h
8522 * src/hildon-app-menu.c
8523 Renamed API variables for consistency
8525 (hildon_app_menu_popup): Use also the default window size to
8526 decide where to place the menu
8528 (hildon_app_menu_init, hildon_app_menu_class_init): New
8529 external-border style property
8531 2008-05-26 Michael Natterer <mitch@imendio.com>
8533 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8534 widget_class->tap_and_hold_setup signal slot doesn't exist any
8535 longer, stop overriding it.
8537 (hildon_time_editor_init): g_signal_connect() to the
8538 tap-and-hold-setup signal instead.
8540 (hildon_time_editor_entry_keypress): add cast to fix warning.
8542 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8544 * doc/hildon-docs.sgml
8546 * examples/Makefile.am
8547 * examples/hildon-app-menu-example.c
8549 * src/hildon-app-menu-private.h
8550 * src/hildon-app-menu.c
8551 * src/hildon-app-menu.h
8553 New HildonAppMenu widget
8555 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8557 Rearranged the inheritance of the pannable area, now it inherits
8558 from GtkBin. This will allow us to control the event_window and
8559 the allocation process of the widget, required for some effects.
8561 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8562 GtkBin structures. * src/hildon-pannable-area.c: Added the
8563 event_window variable.
8564 (hildon_pannable_area_button_press_cb):
8565 (hildon_pannable_area_button_release_cb):
8566 (hildon_pannable_area_motion_notify_cb):
8567 Changed the signature of the method, now we override the event
8568 callback instead of connecting to the signal.
8570 (hildon_pannable_area_realize):
8571 (hildon_pannable_area_unrealize):
8572 (hildon_pannable_area_map):
8573 (hildon_pannable_area_unmap):
8574 (hildon_pannable_area_size_allocate):
8575 Added functions to control the widget construction. We add a
8576 INPUT_ONLY window and we put it over the widgets inside the
8577 container, this event_window handles the events.
8579 (hildon_pannable_area_class_init):
8580 Replaced the signal connections with overrides of the event
8583 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8585 Bouncing effect added when touching the borders, you can change
8586 the elasticity of the border changing the ELASTICITY define.
8588 * src/hildon-pannable-area.c: Added ELASTICITY define.
8589 (hildon_pannable_area_timeout): Added inverse velocity when
8590 touching the border of the child widget, that causes a bounce.
8592 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8594 Improved performance, we now do not go to the X server in order to
8595 get the list of window children. Apparently the effect is the
8596 same, we have to be careful and check if this breaks something in
8599 * src/hildon-pannable-area.c:
8600 (get_ordered_children): Removed this function.
8601 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8602 the children windows function with gdk_window_get_children.
8604 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8606 * src/hildon-pannable-area.c:
8607 (hildon_pannable_area_dispose): Fixed a crash when closing the
8608 window and kinetics is activated.
8610 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8612 * src/hildon-pannable-area.h
8613 * src/hildon-pannable-area.c
8614 Changed indentation style to meet the one used in Hildon
8616 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8618 Reviewed the interaction of the AUTO mode, now we use the time
8619 attribute of the events and calculate the velocity in the motion,
8620 doing a gimp like calculation. The velocity is calculated in each
8621 motion event using the last velocity and the current one, the
8622 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8624 * src/hildon-pannable-area.c: Replaced the time based algorithm
8626 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8627 timeout for the AUTO mode when we are still moving the cursor. We
8628 added also the velocity calculation in this function.
8629 (hildon_pannable_area_button_release_cb): launch the timeout in
8630 case we are in AUTO mode. There are still some constants here that
8631 come from the old implementation that should be reviewed and
8634 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8636 * doc/hildon-docs.sgml
8639 * src/hildon-stackable-window.c
8640 * src/hildon-stackable-window.h
8642 New HildonStackableWindow widget
8644 * examples/hildon-dialog-example.c
8645 * examples/hildon-pannable-area-example.c
8648 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8650 * src/hildon-dialog.c
8651 (hildon_dialog_new_with_buttons): New constructor.
8653 * examples/hildon-dialog-example.c
8654 (main): Update the example to use the new
8655 hildon_dialog_new_with_buttons().
8657 * examples/hildon-pannable-area-example.c
8658 (main): Update example.
8660 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8662 * doc/hildon-docs.sgml
8664 Added HildonPannableArea to the documentation.
8666 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8668 * doc/visual_index.xml
8669 Fix reference to HildonLoginDialog in documentation
8671 * doc/hildon-docs.sgml
8673 * examples/Makefile.am
8674 * examples/hildon-dialog-example.c
8676 * src/hildon-dialog.c
8677 * src/hildon-dialog.h
8679 New HildonDialog widget.
8681 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8683 * src/hildon-pannable-area.c
8684 Merge latest changes (r4318, r4342) from libmokoui trunk
8686 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8688 * examples/Makefile.am
8689 * examples/hildon-pannable-area-example.c
8691 * src/hildon-pannable-area.c
8692 * src/hildon-pannable-area.h
8694 New HildonPannableArea widget.
8696 2008-04-15 18:05:19 <timj@imendio.com>
8698 * src/hildon-banner.c: revert the recent change, that introduced
8699 gtk_window_present() calls. this reopens:
8700 Bug 78481 - [freetest] information banners are hidden under browser menu
8701 But resolves another variant of:
8702 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8704 2008-04-15 13:21:13 <timj@imendio.com>
8706 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8707 recreated its layout, spotted by Kris. this fixes all remaining
8708 artefacts and stability issues with the banner code. in particular:
8709 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8711 2008-04-14 16:52:59 <timj@imendio.com>
8713 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8714 operating on unrealized widgets, fixes:
8715 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8717 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8719 2008-04-09 Kristian Rietveld <kris@imendio.com>
8721 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8722 makes banner disappear.
8723 Fixes: NB#79182: info banner flickering with certain message lengts.
8725 * src/hildon-banner.c (hildon_banner_constructor),
8726 (hildon_banner_init), (hildon_banner_set_text),
8727 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8728 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8729 FALSE, reset size requests of label and banner,
8730 (force_to_wrap_truncated): when the text is too wide, always enforce
8731 the maximum possible width instead of recalculating it from the
8732 layout; enforce the maximum banner height of 3 lines,
8733 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8734 nicer wrapping and no truncated chars if space gets tight.
8736 * src/hildon-banner-private.h: add has_been_wrapped and
8737 has_been_truncated fields.
8739 2008-04-07 Sven Herzberg <sven@imendio.com>
8741 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8742 local values in hildon_date_editor_size_allocate
8744 * src/hildon-date-editor.c: moved the real allocation code into the
8747 2008-04-07 Sven Herzberg <sven@imendio.com>
8749 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8750 local values in hildon_date_editor_size_allocate
8752 * src/hildon-date-editor.c: merged the two if() branches together
8754 2008-04-07 Sven Herzberg <sven@imendio.com>
8756 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8757 local values in hildon_date_editor_size_allocate
8759 * src/hildon-date-editor.c: changed the arguments of the if()
8762 2008-04-07 Sven Herzberg <sven@imendio.com>
8764 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8765 local values in hildon_date_editor_size_allocate
8767 * src/hildon-date-editor.c: split the calculation of the allocation
8768 from the real allocation
8770 2008-03-27 Michael Natterer <mitch@imendio.com>
8772 Fixes: NB#81696: The passcode is not overwritten even after
8775 * src/hildon-code-dialog.c
8776 (hildon_code_dialog_button_clicked)
8777 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8778 because that doesn't overwrite selected text. Instead, emit the
8779 "commit" signal on the entry's im_context so the entry's normal
8780 insert logic is triggered. Set the cursor to the end of the entry
8781 after each insert operation so that we *only* insert in the middle
8782 of the text if something was selected.
8784 2008-03-27 Michael Natterer <mitch@imendio.com>
8786 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8787 selector cannot be opened
8789 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8790 when the popup color selector is created. Please connect to this
8791 signal in order to set the dialog's help ID.
8793 2008-03-25 Sven Herzberg <sven@imendio.com>
8795 Fixes: MB#1212: Hide info banners (infoprints) on click
8797 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8798 extracted the close event simulation into an extra function
8799 (hildon_banner_button_press_event): simulate a close event and destroy
8800 the widget if the event wasn't handled
8801 (hildon_banner_class_init): added the button_press_event handler
8802 (hildon_banner_init): added button-press events to the widget
8804 2008-03-25 Sven Herzberg <sven@imendio.com>
8806 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8807 Patch from: Mohammad Anwari <mdamt@maemo.org>
8809 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8810 instead of the right in RTL mode
8811 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8812 breadcrumb button list in RTL mode
8813 * src/hildon-caption.c: mirror the appearance of the caption widget in
8815 * src/hildon-date-editor.c: mirror appearance of the date editor in
8817 * src/hildon-time-editor.c: mirror appearance of the time editor in
8819 * src/hildon-window.c: fix the position of the popup in RTL mode
8821 2008-03-25 Sven Herzberg <sven@imendio.com>
8823 Amendment to the fix of NB#22072. Fix compilation.
8825 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8827 2008-03-19 Sven Herzberg <sven@imendio.com>
8829 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8832 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8833 timeout id properly when the timeout will disappear this leaves no
8834 artifacts around in the destroy(); there will only be the timeout
8835 created by hildon_banner_ensure_timeout() and adding a new timeout
8836 will also work if the timeout gets removed because the timeout_handler
8839 2008-03-19 Michael Natterer <mitch@imendio.com>
8841 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8843 * src/hildon-volumebar.c
8844 * src/hildon-vvolumebar.c
8845 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8846 the widget becomes focussable at all.
8848 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8849 set the focus to wither the mute button or the volumebar.
8851 Remove own "can-focus" property and instead listen to
8852 notify::can-focus in order to update the widget's state.
8854 Implement GtkWidget::focus() and make sure we can also *leave* the
8855 widget, not only enter it, depending on volumebar orientation and
8856 requested focus direction.
8858 Clean up set_mute() to cooperate nicely with all the above.
8860 2008-03-04 Michael Natterer <mitch@imendio.com>
8862 Fixes: NB#78481: information banners are hidden under browser menu
8864 * src/hildon-banner.c: call gtk_window_present() on the banners so
8865 they are risen if they are already visible.
8867 2008-03-03 Sven Herzberg <sven@imendio.com>
8869 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8871 * examples/hildon-window-menu-example.c: (main): extended the window
8872 menu example to serve as a testcase for automatically added
8873 accelerator groups, too
8874 * src/hildon-window.c: (hildon_window_add_accel_group),
8875 (hildon_window_set_menu): added patch by Tommi Komulainen
8877 2008-03-03 Sven Herzberg <sven@imendio.com>
8879 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8881 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8882 knowledge about the border allocators used within GTK+
8884 2008-02-26 Sven Herzberg <sven@imendio.com>
8886 Fixes: MB#2981: Build with asserts broken
8888 * src/hildon-date-editor.c,
8889 * src/hildon-number-editor.c,
8890 * src/hildon-time-editor.c,
8891 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8892 the proper GType instance check
8894 2008-02-25 Sven Herzberg <sven@imendio.com>
8896 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8898 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8899 * examples/hildon-window-menu-example.c: (main): explicitly show
8901 * src/hildon-window.c:
8902 (hildon_window_set_main_menu): moved most of the code from set_menu()
8903 to this place; skipped the call to gtk_widget_show_all(); also didn't
8904 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8905 (hildon_window_set_menu): removed most of the code, just keep the
8906 questionable gtk_widget_show_all()
8907 * src/hildon-window.h: added the new function and deprecate the old
8910 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8916 * debian/changelog: Updating.
8918 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8921 * pkgconfig/Makefile.am:
8922 * pkgconfig/hildon.pc.in:
8925 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8926 use newly created API_MAJOR_VERSION.
8928 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8934 * debian/changelog: Updating.
8936 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8938 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8940 Add outer_border style property, we use it but don't define it (!).
8944 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8946 * examples/hildon-bread-crumb-trail-example.c (main):
8950 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8952 Fix logic for the bread crumb trail node removal.
8956 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8962 * debian/changelog: Updating.
8964 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8966 Patch by Alejandro to get/set passwords dialogs accesibility.
8968 * hildon-1/src/hildon-get-password-dialog.c:
8969 * hildon-1/src/hildon-set-password-dialog.c:
8970 Set atk_set_name to the passwd entries in order to allow
8971 accessibility by name on this entries.
8973 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8978 * debian/control: Updating gtk dep.
8980 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8982 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8983 USE_MAEMO_GTK is enabled.
8985 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8987 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8988 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8990 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8996 * debian/changelog: Updating.
8998 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * examples/Makefile.am:
9001 * examples/hildon-logical-color-example.c:
9002 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9003 applied + adding a test case. Fixes: NB#71660.
9005 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9007 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9008 to be visible, fixes warning on map for windows without toolbars.
9010 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9012 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9013 2.11.0, add a check for that besides the MAEMO_GTK check.
9015 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * debian/changelog: Updating.
9023 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9025 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9026 visibility. Fixes: NB#70842 and MB#615.
9028 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9030 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9031 set the separator as no-show-all so it doesn't unintentionally appear when
9032 someone does a show_all.
9034 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9036 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9037 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9038 toplevel item. Fixes: NB#62031
9040 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9042 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9043 fix the name of the function in the docs.
9045 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9051 * debian/changelog: Updating.
9053 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 * examples/hildon-banner-long-example.c: Adding a test-case for long
9058 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9060 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9062 * src/hildon-color-chooser-dialog.c:
9063 * src/hildon-color-chooser.c:
9064 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9065 memory leaks in font selector and color selector. Fixes: NB#70499 and
9068 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9070 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9072 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9075 little bit bigger. Fixes: #NB63694.
9077 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9083 * debian/changelog: Updating.
9085 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * doc/hildon-docs.sgml:
9089 * doc/images/bread-crumb-trail.png:
9090 * doc/images/calendar-popup.png:
9091 * doc/images/caption.png:
9092 * doc/images/code-dialog.png:
9093 * doc/images/color-button.png:
9094 * doc/images/color-chooser-dialog.png:
9095 * doc/images/color-chooser.png:
9096 * doc/images/controlbar.png:
9097 * doc/images/date-editor.png:
9098 * doc/images/font-selection-dialog.png:
9099 * doc/images/get-password-dialog.png:
9100 * doc/images/hvolumebar.png:
9101 * doc/images/login-dialog.png:
9102 * doc/images/note.png:
9103 * doc/images/number-editor.png:
9104 * doc/images/range-editor.png:
9105 * doc/images/seekbar.png:
9106 * doc/images/set-password-dialog.png:
9107 * doc/images/sort-dialog.png:
9108 * doc/images/time-editor.png:
9109 * doc/images/time-picker.png:
9110 * doc/images/vvolumebar.png:
9111 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9112 Adding the bread-crumb-trial and helpers to the documentation.
9114 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9116 * examples/hildon-find-toolbar-example.c:
9117 * src/hildon-find-toolbar.c:
9118 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9119 actually continue firing the other handlers if connected. Adding a new
9121 hildon_find_toolbar_get_last_index that gets the index of the most
9122 recently added (last) item. Fixes: NB#52301.
9124 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9127 behaviour. Fixes: NB#68610.
9129 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9131 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9134 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9136 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9137 when realizing the banner. Should make the infonbanner effect a bit more
9140 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9142 * src/hildon-volumebar.c:
9143 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9144 hildon_volumebar_set_range_insensitive_message and
9145 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9147 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * src/hildon-window.c: Fixing the border freeing on destroy.
9151 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9153 * src/hildon-code-dialog-private.h:
9154 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9155 kw keyboard support in HildonCodeDialog.
9157 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9163 * debian/changelog: Updating.
9165 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9167 * src/hildon-date-editor.c:
9168 * src/hildon-number-editor.c:
9169 * src/hildon-private.c:
9170 * src/hildon-private.h:
9171 * src/hildon-time-editor.c:
9172 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9173 handling in subclassed composite widgets. Fixes: NB#66628.
9175 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9177 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9178 from destroy_ callback as it introduces problems in async dbus signal
9179 handlers. Fixes NB#66673.
9181 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9183 * examples/hildon-hvolumebar-example.c:
9184 * src/hildon-volumebar.c: Improving the focus handling in the
9185 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9186 set_property accessor so that "mute" property can be actually set. I'm
9187 scared that nobody noticed it's totally broken.
9189 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9191 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9194 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9196 * src/hildon-calendar.c:
9197 * src/hildon-number-editor.c:
9198 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9199 matches the spec of 6 chars per second. Fixes: NB#60489.
9201 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9204 gtk_style_lookup_color sometime returns FALSE even though color was
9205 found and values were filled properly. Weird. Removing the warning for the
9208 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9211 expand vertically. Adding some extra space to the find toolbar buttons to
9212 make them thumbable. Fixes NB#66060.
9214 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9216 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9217 popup with "Ok" and "Cancel". Fixes NB#59299.
9219 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9221 * src/hildon-calendar.c: Process all window updates before executing next
9222 timeout. Fixes: NB#54146.
9224 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9230 * debian/changelog: Updating.
9232 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9234 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9235 the client event and ignore it, since we use the delete event to close
9238 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9240 * src/hildon-helper.c: Remove the bogus warning about color not being
9241 found. Fixes NB#58352.
9243 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9245 * examples/Makefile.am:
9246 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9247 HildonSeekbar widget inside a toolbar.
9249 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9251 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9252 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9253 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9254 don't want to be closed by non-temporary windows on map.
9256 Also use G_DEFINE_TYPE instead of manually typed code.
9258 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * debian/rules: Updating.
9267 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9269 * examples/Makefile.am:
9270 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9271 bug NB#61128. Strangely it works.
9273 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9275 * src/hildon-date-editor.c: When the date editor entry has been changed
9276 but the numbers of characters < max, turn off the skip validation flag.
9277 Prevents a situation when we enter first a valid year and later re-write
9278 it with an invalid one. Fixes NB#60154.
9280 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9283 code dialog. Fixes NB#64355.
9285 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9287 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9288 switching the page. Fixes NB#49374.
9290 * examples/Makefile.am:
9291 * examples/hildon-wizard-dialog-example.c: Adding an example for
9292 HildonWizardDialog that shows how to handle manual sensitivity setting on
9295 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9299 * src/hildon-version.h.in:
9300 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9302 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9304 * src/hildon-volumebar.c: Updating the docs.
9306 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9312 * debian/changelog: Updating.
9314 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9316 * src/hildon-find-toolbar.c:
9317 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9318 selected item: hildon_find_toolbar_set_active,
9319 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9320 hildon_find_toolbar_get_active_iter . They correspond to respective
9321 GtkComboBox functions.
9323 * examples/Makefile.am:
9324 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9327 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9329 * examples/Makefile.am:
9330 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9333 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9334 when font size > 32 and we pack a focusable widget inside. Actually using
9335 the default response would work too, but since we don't show default
9336 response state in any way (no theming) it would not be visible to the
9337 user. Fixes NB#63430.
9339 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * src/hildon-date-editor.c: Adding the missing variable setter in the
9342 set_property handler. Fixes NB#54182.
9344 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9346 * src/hildon-window.h: Changing the long key press time from 1500ms to
9347 800ms as requested in NB#63700. I have a bad feeling about this, let's
9348 see... Fixes NB#63700.
9350 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9352 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9353 hildon_time_picker_map, hildon_time_picker_realize,
9354 hildon_time_picker_style_set): Split the contents of map to more
9355 appropriate functions; set window decorations on realize and update
9356 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9358 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9363 * debian/changelog: Updating.
9365 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9367 * src/Makefile.am: fixed installation of the header files
9369 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9375 * debian/changelog: Updating.
9377 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9379 * configure.ac: Removing some remaining of --enable-xan.
9381 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9383 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9384 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9386 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9387 2.10.12-osso6 because the move-focus signal needs to be available in
9390 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9392 * examples/Makefile.am:
9393 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9394 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9395 fine. Prolly NB#61128 is fixed now.
9397 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9399 * src/hildon-volumebar.c:
9400 * src/hildon-volumebar.h: Adding the
9401 hildon_volumebar_set_range_insensitive_message and
9402 hildon_volumebar_set_range_insensitive_messagef functions to set
9403 insensitive message on the slider of the volumebar. Fixes NB#61129.
9405 * examples/Makefile.am:
9406 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9407 test the new insensitive messsage functionality on HildonVolumebar.
9409 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9411 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9414 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9416 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9417 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9418 button on after clearing the trail.
9420 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9422 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9424 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9426 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9427 by splitting the installed headers in generated and non-generated groups. Use
9428 only the non-generated headers to create the hildon-enum-types.h file.
9430 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9432 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9434 * src/hildon-window.c: Hide the window before performing the destroy.
9435 Should make the app closing a little tiny bit more snappy.
9437 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9439 * src/hildon-seekbar.c: add gtkrange.h header
9440 * src/hildon-caption.c: remove unused variable
9442 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9444 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9447 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9453 * debian/changelog: Updating.
9455 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9457 * src/hildon-window.c (hildon_window_window_state_event,
9458 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9459 escape timeout on focus-out-event rather than notify::is-topmost; the
9460 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9462 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9464 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9465 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9467 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9469 * src/hildon-window: actually, you need to use the macro always, there's
9470 no private pointer in the instance structure. We should have cleaned this up
9471 when we had the chance...
9473 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9475 * src/hildon-window.c: do not get the private date from HildonWindow before
9476 it passes the g_return_if_fail check. Once it's passed the test, there's no
9477 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9478 if you are only going to access the data once. Whitespace cleanups.
9480 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9482 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9483 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9485 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9491 * debian/changelog: Updating.
9493 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9495 * src/hildon-window.c: When destroying the window, remove (if exists) the
9496 escape timeout handler. Fixes #NB59276.
9498 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9500 * src/hildon-banner.c: When realizing the widget, set the window
9501 transiency. Setting the transiency in the gobject constructor is not
9502 good, as the widget is not realized at that point. Fixes: #NB56624.
9504 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9506 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9507 Add padding for future expansions.
9509 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9511 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9512 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9513 will fake an activation on the previous to the last item of the trail, so
9514 the effect can be overrided by the developer as usual.
9515 Also change the callback for the back button to do the same thing, so its
9516 effect can be overrided too. Fixes: NB#58982
9518 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9520 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9521 HildonCaption. Fixes NB#52379.
9523 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9525 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9526 the internal state of the trail after the user has had the chance of executing
9527 his handler for the signal. Specifically, it may happen that the activated button
9528 is removed and the user still lets the default handler run. This would segfault
9531 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9533 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9534 scrollbar to the preview dialog. Fixes NB#54147.
9536 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9538 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9539 max/min year properties can be altered, so the client can modify it
9540 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9542 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9544 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9545 hildonlike by default. Fixing a problem with disappearing arrows when
9546 scrolling through months and years. Fixes NB#54127.
9548 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9550 * examples/hildon-date-editor-example.c: Adding error callback to the date
9553 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9559 * configure.ac: Updating.
9561 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9563 * configure.ac: Adding a special '--enable-xan' configure option that
9564 turns off the -Werror compilation setting. Usefull for development.
9566 * src/hildon-calendar.c:
9567 * src/hildon-number-editor.c:
9568 * src/hildon-time-picker.c: Adding the 5* multiplier to
9571 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9573 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9574 instead of g_object_ref + gtk_object_sink.
9576 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9582 * debian/changelog: Updating.
9584 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9586 * src/hildon-color-chooser-dialog.c:
9587 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9588 straight from Tommi labs.
9590 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9592 * examples/hildon-finger-example.c: Correcting the header file path.
9594 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9595 the changed signal. Fixes a small memory leak.
9597 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9601 * src/hildon-banner.c: Importing several usefull fixes from the
9602 ubuntu-mobile branch.
9604 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9606 * examples/Makefile.am:
9607 * examples/hildon-finger-example.c: Adding a finger-checking code
9610 * src/hildon-font-selection-dialog.c: Do not allocate the color
9611 structure using the g_new. Fixes NB#54061.
9613 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9615 * src/hildon-helper.c: Correcting tabs in file.
9617 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9619 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9620 control the visibility of the children.
9622 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9624 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9630 * debian/changelog: Updating.
9632 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9634 * src/hildon-bread-crumb-trail.c:
9635 (hildon_bread_crumb_trail_size_allocate):
9637 Make the back button always a square.
9639 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9641 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9642 from the .c file as it's a private file.
9644 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9646 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9647 uses slightly bigger height.
9649 * src/hildon-font-selection-dialog.c: Adding some checks before
9650 freeing memory in the font selection dialog.
9652 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9654 * src/hildon-font-selection-dialog.c: Adding a small check when
9657 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9658 buttons sensitivity on page switching.
9660 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9662 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9663 internal details of adding a bread crumb to the trail.
9665 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9671 * debian/changelog: Updating.
9673 * src/hildon-bread-crumb-trail.h:
9674 * src/hildon-bread-crumb.h: Changing the API guard to
9675 HILDON_ENABLE_UNSTABLE_API.
9677 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9685 * src/hildon-helper.h: Updating.
9687 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9695 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9699 * src/hildon-helper.h: Small fix to make the package actually compile.
9701 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9703 * src/hildon-bread-crumb-trail.h:
9704 * src/hildon-bread-crumb.h:
9706 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9707 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9709 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9711 * examples/hildon-bread-crumb-trail-example.c:
9713 * src/hildon-bread-crumb-trail.c:
9714 * src/hildon-bread-crumb-trail.h:
9715 * src/hildon-bread-crumb.c:
9716 * src/hildon-bread-crumb.h:
9717 * src/hildon-marshalers.list:
9718 * src/hildon-bread-crumb-widget.c:
9719 * src/hildon-bread-crumb-widget.h:
9721 Slight change in the widget design. The bread crumb trail API is
9722 unchanged, but HildonBreadCrumb is now an interface. A *private*
9723 implementation, hildon-bread-crumb-widget, is provided and used
9724 internally by the trail for the push_text/push_icon functions.
9726 The generic push API is still available, so anyone can implement
9727 and use its own bread crumb widget.
9729 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9731 * debian/rules: Fixing the shlibs.
9733 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9735 * src/hildon-banner.c: Fixing a problem with timed banners having
9736 their parrent destroyed before they are.
9738 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9740 * src/hildon-bread-crumb.c:
9741 * src/hildon-bread-crumb.h:
9743 Make the get_natural_size function a vfunc.
9745 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9747 * src/hildon-bread-crumb.c:
9748 * src/hildon-bread-crumb-trail.c:
9752 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9759 * debian/changelog: Updating for release.
9761 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9763 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9764 don't leak the pango layout.
9766 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9769 * examples/hildon-bread-crumb-trail-example.c:
9773 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9775 * debian/changelog: Removing the bug-fixed entries that were actually
9776 resolved as WONTFIX.
9778 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9781 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9783 * src/hildon-bread-crumb-trail.c:
9784 * src/hildon-bread-crumb-trail.h:
9785 * src/hildon-bread-crumb.c:
9786 * src/hildon-bread-crumb.h:
9790 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9792 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9793 until it's passed the type check.
9795 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9797 * examples/hildon-bread-crumb-trail-example.c
9801 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9803 * examples/Makefile.am
9804 * examples/hildon-bread-crumb-trail-example.c
9806 * src/hildon-bread-crumb-trail.c
9807 * src/hildon-bread-crumb-trail.h
9808 * src/hildon-bread-crumb.c
9809 * src/hildon-bread-crumb.h
9811 New HildonBreadCrumbTrail widget.
9813 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9815 * src/hildon-range-editor.c (hildon_range_editor_init),
9816 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9817 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9818 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9819 hildon_time_editor_class_init, hildon_time_editor_init),
9820 src/hildon-get-password-dialog.c (invalid_input,
9821 hildon_get_password_set_property, hildon_get_password_get_property,
9822 create_contents, hildon_get_password_dialog_set_max_characters),
9823 src/hildon-set-password-dialog.c (create_contents),
9824 src/hildon-date-editor.c (hildon_date_editor_init),
9825 src/hildon-login-dialog.c (hildon_login_dialog_init),
9826 src/hildon-number-editor.c (hildon_number_editor_init),
9827 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9828 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9829 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9830 configure option and adding the respective checks in the code.
9831 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9832 hildon_calendar_drag_data_received): fixed some build warnings.
9834 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9836 * debian/changelog: A 1.0.0 release notes.