1 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
3 Do not set the menu flag in a window when a menu is empty
5 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
6 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
7 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
8 changes by using the HildonAppMenu::changed signal.
10 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
12 Add HildonAppMenu::changed signal
14 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
15 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
16 Emit a new HildonAppMenu:changed signal when there are changes in
19 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
21 Add hildon_app_menu_has_visible_children() private method
23 * hildon/hildon-app-menu-private.h: Add below private method.
24 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
25 New method to check the visibility of a HildonAppMenu children.
27 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
29 Set the window menu flag for application-common menus
31 * hildon/hildon-program.c:
32 (+hildon_program_window_set_common_menu_flag): Set or remove the
33 menu flag from a window only this doesn't have its own menu.
34 (+hildon_program_set_common_menu_flag): adjust menu flag for
35 all windows in the program.
36 (hildon_program_add_window),
37 (hildon_program_remove_window): add/remove the menu flag when
38 a window is added to the program.
40 Fixes: NB#137814 (Indicator for view menu in app title area)
42 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
44 Set a special window property for windows with menus
46 * hildon/hildon-window-private.h: Add private
47 hildon_window_set_menu_flag()
48 * hildon/hildon-window.c: (+do_set_has_menu),
49 (+hildon_window_set_menu_flag): set
50 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
51 or remove the property.
52 (hildon_window_set_main_menu),
53 (hildon_window_set_app_menu): call above methods to set or remove
54 the property when a menu is added or removed from the window.
56 Partially fixes: NB#137814 (Indicator for view menu in app title area)
58 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
60 Rename and move the methods to set flags to hildon-private.h
62 * hildon/hildon-gtk.c: (do_set_progress_indicator),
63 (do_set_do_not_disturb), (do_set_portrait_flags): call
64 the new private method hildon_gtk_window_set_clear_window_flag()
65 (hildon_gtk_window_set_progress_indicator),
66 (hildon_gtk_window_set_do_not_disturb),
67 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
68 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
69 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
71 * hildon/hildon-private.h: Add the two new private methds.
73 2009-09-11 Alejandro G. Castro <alex@igalia.com>
75 * hildon/hildon-pannable-area.c,
76 (hildon_pannable_area_init),
77 (hildon_pannable_area_size_allocate),
78 (hildon_pannable_area_button_release_cb): More tuning of the
79 speed, adding a way to calculate the acceleration and fast-panning
80 based on the child size.
82 2009-09-10 Alberto Garcia <agarcia@igalia.com>
84 * hildon/hildon-touch-selector.c
85 (hildon_touch_selector_class_init):
90 2009-09-10 Alberto Garcia <agarcia@igalia.com>
92 * hildon/hildon-touch-selector.c:
95 Fixes: MB#5104 (HildonTouchSelector docs should say no
96 HildonPannableArea is necessary)
98 2009-09-08 Alejandro G. Castro <alex@igalia.com>
100 * hildon/hildon-pannable-area.c,
101 (hildon_pannable_area_timeout): Fixed problem with the timeout
102 function, we need to move before decelerating the first time or we
103 are loosing the first jump.
105 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
107 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
109 [2.2.0 Release Candidate 3]
111 * debian/changelog: updates
113 2009-09-07 Alejandro G. Castro <alex@igalia.com>
115 * hildon/hildon-pannable-area.c,
116 (hildon_pannable_area_class_init): Increased max speed.
118 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
120 [2.2.0 Release Candidate 2]
123 * debian/changelog: bump version, updates
125 2009-09-07 Alejandro G. Castro <alex@igalia.com>
127 * hildon/hildon-pannable-area.c,
128 (hildon_pannable_area_class_init),
129 (hildon_pannable_area_button_release_cb): More tuning for the
132 2009-09-07 Alejandro G. Castro <alex@igalia.com>
134 * hildon/hildon-pannable-area.c,
135 (hildon_pannable_area_class_init):
136 Change the default value of the scrollbar_fade_delay.
138 Fixes: NB#127018 (Panning indicator fades out too slowly)
140 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
142 [2.2.0 Release Candidate 1]
145 * configure.ac: Bump version
146 * debian/changelog: updates
148 2009-09-04 Alejandro G. Castro <alex@igalia.com>
150 * hildon/hildon-pannable-area.c,
151 (hildon_pannable_area_init),
152 (hildon_pannable_area_button_press_cb),
153 (hildon_pannable_area_button_release_cb): Added a new acceleration
154 system to help traversing big lists, tuned the stop threshold.
156 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
158 2009-09-04 Alberto Garcia <agarcia@igalia.com>
160 * hildon/hildon-window.h:
161 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
163 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
165 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
169 * configure.ac: bump version
171 * debian/changelog: updates
173 2009-09-04 Alberto Garcia <agarcia@igalia.com>
175 * hildon/hildon-entry.c
176 * hildon/hildon-text-view.c:
177 Documentation updates
179 2009-09-04 Alberto Garcia <agarcia@igalia.com>
181 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
182 Redraw menu when the number of items change.
184 Fixes: NB#131911 (Appmenu does not resize properly, when number of
187 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
189 * hildon/hildon-pannable-area.c:
190 (hildon_pannable_area_launch_fade_timeout),
191 (hildon_pannable_area_motion_event_scroll),
192 (hildon_pannable_area_check_move),
193 (hildon_pannable_area_button_release_cb),
194 (hildon_pannable_area_scroll_to):
196 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
197 area drawing operations, since this is the recommended for drawing
200 Fixes: NB#110894 (In event view containing very large description
201 field, application menu is displayed blank while panning)
202 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
205 2009-09-03 Alberto Garcia <agarcia@igalia.com>
207 * doc/hildon-sections.txt
208 * hildon/hildon-button.c
209 * hildon/hildon-edit-toolbar.c
210 * hildon/hildon-gtk.[ch]
211 * hildon/hildon-main.c
212 * hildon/hildon-program.c
213 * hildon/hildon-stackable-window.c:
214 Documentation updates
216 2009-08-28 Alberto Garcia <agarcia@igalia.com>
218 * hildon/hildon-app-menu.c
219 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
220 Close the menu if it receives a grab-notify signal.
222 Fixes: NB#134533 (UI freezes if we show a dialog with
223 gtk_dialog_run() while a menu is opened)
225 2009-08-27 Alejandro G. Castro <alex@igalia.com>
227 * hildon/hildon-pannable-area.c,
228 (hildon_pannable_area_class_init): Reverted tuning modifications:
229 "Pannign needs to be faster" and "Pannable kinetics in large lists
232 2009-08-26 Alberto Garcia <agarcia@igalia.com>
234 * hildon/hildon-sound.c (hildon_play_system_sound):
235 Set "module-stream-restore.id" to "x-maemo-system-sound" when
236 playing system sounds
238 Fixes: NB#133767 (Information and confirmation note sound should
239 follow system profile setting)
241 2009-08-26 Alejandro G. Castro <alex@igalia.com>
243 * hildon/hildon-pannable-area.c,
244 (hildon_pannable_area_class_init): Added more force and increased
245 the max speed threshold.
247 Fixes: NB#135344 (Pannign needs to be faster)
249 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
251 [Release 2.1.96, this time for real]
254 * debian/changelog: updates
256 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
258 * hildon/hildon-pannable-area.c
259 (hildon_pannable_area_get_topmost): change the computation of the
260 co-ordinates transformed when no one of the children is a topmost
262 Fixes: NB#133252 (Opening any feed item from RSS always opens the
263 first feed item in browser)
265 2009-08-26 Alejandro G. Castro <alex@igalia.com>
267 * hildon/hildon-pannable-area.c,
268 (hildon_pannable_area_remove_timeouts): Adding this new function
269 with the code that removes the timeouts of the widget.
270 (hildon_pannable_area_dispose),
271 (hildon_pannable_area_unrealize): Use the new remove function to
272 stop timeouts when unrealizing and disposing.
273 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
274 calculation to avoid negative values in some cases.
276 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
278 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
280 * examples/hildon-check-button-example.c: (button_toggled_cb):
281 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
282 (hildon_check_button_set_active), (hildon_check_button_new),
283 (hildon_check_button_clicked), (hildon_check_button_class_init):
284 * hildon/hildon-check-button.h:
285 * hildon/hildon-set-password-dialog.c: (create_contents),
286 (hildon_set_password_response_change), (hildon_checkbox_toggled):
288 Revert "Make HildonCheckButton derive from GtkToggleButton"
290 2009-08-21 Alberto Garcia <agarcia@igalia.com>
294 * configure.ac: bump version
296 * debian/changelog: updates
298 2009-08-21 Alberto Garcia <agarcia@igalia.com>
300 * hildon/hildon-check-button.h
301 * hildon/hildon-check-button.c
302 (hildon_check_button_clicked, hildon_check_button_class_init):
303 Make HildonCheckButton derive from GtkToggleButton
304 (hildon_check_button_toggled, hildon_check_button_set_active)
305 (hildon_check_button_get_active):
306 Deprecate unnecessary HildonCheckButton API and use the
307 one from GtkToggleButton instead.
309 * hildon/hildon-set-password-dialog.c (create_contents)
310 (hildon_set_password_response_change, hildon_checkbox_toggled)
311 * examples/hildon-check-button-example.c (button_toggled_cb):
312 Update to use the GtkToggleButton API
314 Fixes: MB#4739 (HildonCheckButton should inherit from
317 Fixes: NB#132661 (HildonCheckButton should inherit from
320 2009-08-20 Alberto Garcia <agarcia@igalia.com>
322 * hildon/hildon-pannable-area.c
323 (hildon_pannable_area_class_init):
324 Increase default value of HildonPannableArea:velocity_max to 2000
326 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
328 2009-08-18 Alberto Garcia <agarcia@igalia.com>
332 * configure.ac: bump version
334 * debian/changelog: updates
336 2009-08-11 Alejandro G. Castro <alex@igalia.com>
338 * hildon/hildon-pannable-area.c
339 (hildon_pannable_area_size_allocate): Checked the scrollbars
340 before the first try when defining the layout, avoids two
341 allocations in some situations.
343 Fixes: NB#131794 (pannable area produces unnecessary allocations
344 causing performance problems)
346 2009-08-11 Alejandro G. Castro <alex@igalia.com>
348 * hildon/hildon-pannable-area.c
349 (hildon_pannable_area_button_press_cb),
350 (hildon_pannable_area_motion_notify_cb),
351 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
352 the spurious ref added in the copy, fixes leak of window.
354 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
355 if it's realized without showing and then deleted)
357 2009-08-10 Alberto Garcia <agarcia@igalia.com>
361 * configure.ac: bump version
363 * debian/changelog: updates
365 2009-08-06 Alberto Garcia <agarcia@igalia.com>
367 * examples/hildon-hvolumebar-timer-example.c
369 * hildon/hildon-banner.c
370 (hildon_banner_timeout, hildon_banner_ensure_timeout)
371 * hildon/hildon-calendar.c
372 (calendar_timer, start_spinning)
373 * hildon/hildon-color-chooser.c
374 (inline_limited_expose)
375 * hildon/hildon-date-editor.c
376 (hildon_date_editor_entry_focus_in)
377 (hildon_date_editor_entry_validate)
378 (hildon_date_editor_entry_select_all)
379 * hildon/hildon-note.c
381 * hildon/hildon-number-editor.c
382 (hildon_number_editor_button_pressed)
383 (hildon_number_editor_start_timer, do_mouse_timeout),
384 (add_select_all_idle, hildon_number_editor_select_all)
385 * hildon/hildon-time-editor.c
386 (hildon_time_editor_entry_focus_in)
387 (highlight_callback, hildon_time_editor_validate)
388 (hildon_time_editor_entry_select_all)
389 * hildon/hildon-time-picker.c
390 (hildon_time_picker_arrow_press)
391 (hildon_time_picker_key_repeat_timeout)
392 * hildon/hildon-window.c
393 (hildon_window_key_press_event)
394 (hildon_window_escape_timeout):
395 Replace all calls to g_idle_add/g_timeout_add with their
396 gdk_threads counterparts.
398 Fixes: NB#126198 (gdk-threads API should be used to install idle
399 and timeout handlers)
401 2009-08-06 Alejandro G. Castro <alex@igalia.com>
403 * hildon/hildon-pannable-area.c,
404 (hildon_pannable_area_class_init): Increased the overshooting max
405 speed to get a faster effect.
406 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
407 deceleration of the overshooting
408 (hildon_pannable_area_button_release_cb): Calculate initial
409 overshooting speed when finger on the screen using the distance to
410 launch the effect faster.
412 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
413 lists with slow row renderers)
415 2009-08-05 Alberto Garcia <agarcia@igalia.com>
417 * doc/hildon-sections.txt: Add new functions
419 2009-08-05 Alberto Garcia <agarcia@igalia.com>
421 * hildon/hildon-text-view.[ch]
422 * hildon/hildon-entry.[ch]:
423 Add deprecation guards around deprecated functions.
425 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
427 * hildon/hildon-app-menu.c: Remove leftover function declaration.
429 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
431 Remove the grab from HildonAppMenu
433 * hildon/hildon-app-menu.c:
434 Now hildon-desktop places a blocker window behind the menu to handle
435 its closing, so the grab is no longer needed. This simplifies its
436 implementation and allows the system blanking to succeed.
438 Fixes: NB#130910 (Screen gets unlocked when menu is open)
440 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
444 * configure.ac: bump version
446 * debian/changelog: updates
447 * debian/control: raise debian dependency on GTK+
449 2009-08-04 Alberto Garcia <agarcia@igalia.com>
451 * hildon/hildon-text-view.c
452 * hildon/hildon-entry.c:
453 Remove all placeholder code from HildonEntry and HildonTextView
454 and use the API in GtkEntry and GtkTextView instead.
456 * examples/hildon-entry-example.c
457 * examples/hildon-text-view-example.c
458 * examples/hildon-wizard-dialog-example.c
459 * hildon/hildon-get-password-dialog.c
460 * hildon/hildon-login-dialog.c
461 * hildon/hildon-picker-dialog.c
462 * hildon/hildon-set-password-dialog.c
463 * hildon/hildon-touch-selector-entry.c:
464 Replace all deprecated calls to HildonEntry and HildonTextView
465 with their Gtk counterparts.
467 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
470 2009-08-03 Alejandro G. Castro <alex@igalia.com>
472 * hildon/hildon-pannable-area.c,
473 (hildon_pannable_area_check_move),
474 (hildon_pannable_area_button_release_cb),
475 (hildon_pannable_area_scroll_to): Reverted the priority change of
476 the timeout, in some situations, slow renderers, the click do not
477 make it to the mainloop on time.
479 Fixes NB#131013 (unable to stop panning file manager by tapping on
482 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
484 * configure.ac: bump version
486 * debian/changelog: updates
488 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
490 * hildon/hildon-touch-selector.[ch]
491 (hildon_touch_selector_center_on_index): New method that allows to center
492 on a item not selected
494 Fixes NB#130291 (New HildonTouchSelector API is required to center on
497 2009-07-29 Alberto Garcia <agarcia@igalia.com>
499 * hildon/hildon-text-view.c
500 (+set_logical_color, +hildon_text_view_style_set)
501 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
502 (hildon_text_view_init)
503 * hildon/hildon-entry.c
504 (+set_logical_color, +hildon_entry_style_set)
505 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
506 (hildon_entry_class_init, hildon_entry_init)
507 * hildon/hildon-button.c
508 (+set_logical_font, +set_logical_color)
509 (hildon_button_style_set, hildon_button_init)
510 (hildon_button_set_arrangement, hildon_button_set_style):
511 Remove all calls to hildon_helper_set_logical_font() and
512 hildon_helper_set_logical_color(), which are recursive, from
515 Fixes: NB#123409 (Showing dialog consumes significant amount of
518 2009-07-29 Alejandro G. Castro <alex@igalia.com>
520 * hildon/hildon-pannable-area.c,
521 (hildon_pannable_area_timeout): Added the process updates of the
522 scrollbars window in the pannable.
524 Fixes: NB#130043 (scrollindicator not smooth while panning)
526 2009-07-23 Alejandro G. Castro <alex@igalia.com>
528 * hildon/hildon-pannable-area.c,
529 (hildon_pannable_area_check_move),
530 (hildon_pannable_area_button_release_cb),
531 (hildon_pannable_area_scroll_to): Increased the priority of the
532 timeout this way it is going to be handled before the events.
534 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
538 * configure.ac: bump version
539 * debian/changelog: updates
541 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
543 * hildon/hildon-entry.c: (set_property): Do not allow to set
544 automatic height and use finger height instead, to prevent an to
545 have a smaller size than than its theme pixbuf.
547 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
549 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
551 * configure.ac: postrelease version bump.
552 * debian/changelog: post release version bump
554 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
559 * configure.ac: Bump version.
560 * debian/changelog: Updates.
562 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
564 * hildon/hildon-note.c: (label_size_request): Take the note
565 padding into account when setting the size request.
567 Fixes: NB#127896 (Information notes text truncated)
569 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
571 * configure.ac: postrelease version bump.
572 * debian/changelog: post release version bump
574 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
579 * configure.ac: Bump version.
580 * debian/changelog: Updates.
582 2009-07-16 Alejandro G. Castro <alex@igalia.com>
585 * hildon/hildon-text-view.c,
586 (hildon_text_view_button_press_event): Grabbed the focus in button
587 press, this way we are sure the widget has the focus in the
588 release event, required for HIM.
590 Fixes: NB#121445 (Virtual keyboard opening is not working in same
591 way for each text entry field)
593 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
595 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
596 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
597 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
598 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
599 (hildon_pannable_area_[gs]et_center_on_child_focus)
600 Redefined GtkContainer set-focus-child signal, in order to center
601 properly on a child when it receives the focus. Defined a new property
602 "center-on-child-focus" in order to activate this feature (deactivated
603 by default). Public get/set methods defined to manage the property.
605 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
607 2009-07-14 László Pere <lpere@blumsoft.eu>
609 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
610 the new size is applied.
612 Fixes: NB#124510 (The Application Menu is distorted when switched
613 between portrait and landscape mode)
614 Fixes: NB#115388 (Power key menu does not resize itself)
616 2009-07-01 Alberto Garcia <agarcia@igalia.com>
618 * hildon/hildon-banner.c (hildon_banner_map):
619 Set banner position after mapping.
621 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
623 * configure.ac: postrelease version bump.
624 * debian/changelog: post release version bump
626 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
631 * configure.ac: Bump version.
632 * debian/changelog: Updates.
634 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
636 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
639 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
641 * tests/check-hildon-banner.c
643 * tests/test_suites.h
644 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
645 were testing deprecated functions.
646 * examples/hildon-banner-example.c: typo on button3 type, that causes
647 a fail compiling with --with-examples but without --disable-deprecated
649 Missed commit in order to fix compilation using '--enable-fatal' and
650 '--disable-deprecated' (see previous commit)
652 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
654 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
655 functions with #ifndef HILDON_DISABLE_DEPRECATED
656 * examples/hildon-find-toolbar.c: Protect deprecated
657 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
658 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
659 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
660 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
662 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
663 to allow proper compilation of deprecated functions defined on the header
665 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
667 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
669 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
670 Cache the panning indicator color.,
671 (hildon_pannable_area_style_set): Query the color on style changes.
672 (hildon_pannable_draw_vscroll),
673 (hildon_pannable_draw_hscroll),
674 (hildon_pannable_area_expose_event): Use the cached panning indicator
675 color instead of looking it up on every expose and more.
677 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
679 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
680 (hildon_pannable_draw_hscroll),
681 (hildon_pannable_area_expose_event): Fix the panning indicator color,
682 so that it's "SecondaryTextColor", as desired.
684 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
686 * hildon/hildon-picker-dialog.c:
687 (selection_completed): take into account HILDON_UI_MODE_NORMAL
688 * hildon/hildon-touch-selector.c
689 (hildon_touch_selector_init): Initialize hildon-ui-mode
690 (hildon_touch_selector_row_activated): new callback for the
691 "row-activated" signal, in order to save the last activated
692 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
693 if the current hildon-ui-mode is coherent with the touch selector
694 (hildon_touch_selector_class_init)
695 (hildon_touch_selector_get_property)
696 (hildon_touch_selector_set_property)
697 Added "hildon-ui-mode" property
698 (disconnect_model_handlers): renamed to clean_column
699 (hildon_touch_selector_remove): use clean_column function
700 (_create_new_column): use the hildon-ui-mode to create the treeview, and
701 only select the first element on HILDON_UI_MODE_EDIT
702 (hildon_touch_selector_column_init): Initialize last_activate
703 (hildon_touch_selector_append_column): check that the touch selector
704 is coherent with the current hildon-ui-mode
705 (hildon_touch_selector_get_hildon_ui_mode)
706 (hildon_touch_selector_set_hildon_ui_mode)
707 Added a getter/setter for the hildon-ui-mode property
708 (hildon_touch_selector_get_last_activated_row): Added this method in
709 order to get the last activated row.
710 * examples/hildon-touch-selector-normal-mode-example.c
711 New example, that shows how to use the HildonTouchSelector in
712 HILDON_UI_MODE_NORMAL
714 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
715 Kristian Rietveld <kris@lanedo.com> advices
717 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
719 * hildon/hildon-time-selector.c: (update_format_policy): Do
720 not call update_format_dependant_columns() if not necessary.
721 (update_format_dependant_columns): Remove unnecessary check for
722 the number of columns.
724 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
726 * hildon/hildon-note.c (+hildon_note_constructor),
727 (hildon_note_class_init), (+hildon_note_set_padding),
728 (hildon_note_rebuild): Install a constructor where to set the
729 padding properties in the note, so that it actually works fine.
730 Use hildon_note_set_padding() for this, and also to set it during
733 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
735 * configure.ac: Bump GTK+ requirement to 2.14.3.
736 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
737 when using maemo-gtk to define proper margins for the notes.
739 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
740 with the dialog edge)
742 2009-06-24 Alberto Garcia <agarcia@igalia.com>
744 * hildon/hildon-banner.c
745 (hildon_banner_class_init):
747 (+hildon_banner_size_request):
748 Request always the full width of the screen.
749 (hildon_banner_realize)
750 (-hildon_banner_check_position, hildon_banner_map):
751 hildon_banner_check_position() is not needed in Hildon 2.2.
752 (-hildon_banner_reset_wrap_state)
753 (hildon_banner_constructor, hildon_banner_init):
754 Remove unnecessary calls to hildon_banner_reset_wrap_state()
755 (+banner_do_set_text)
756 (force_to_wrap_truncated):
757 Remove has_been_wrapped and has_been_truncated attributes.
758 (+reshow_banner, hildon_banner_real_show_information)
759 (hildon_banner_show_information_with_markup)
760 (hildon_banner_show_animation, hildon_banner_show_progress)
761 (hildon_banner_set_text, hildon_banner_set_markup):
762 Refactor code. Shrink banner vertically to use the minimum space
763 necessary everytime the text of the label is updated.
764 (screen_size_changed):
765 Call force_to_wrap_truncated() when the size of the screen
768 Fixes: NB#120500 (only device memory connect mmc in use info
769 banner is left aligned)
771 Fixes: NB#120613 (Size of HildonBanner varies depending on
772 previously opened banners)
774 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
776 * hildon/hildon-color-chooser.c
777 (hildon_color_chooser_pointer_motion): Take the widget allocation
780 Fixes: NB#124385 (Unable to select exact point in color mixing box
781 in color palette dialog)
783 2009-06-23 Alejandro G. Castro <alex@igalia.com>
785 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
786 (hildon_pannable_area_dispose)
787 (hildon_pannable_area_button_press_cb)
788 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
789 (hildon_pannable_area_button_release_cb)
790 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
791 New 'panning-started' and 'panning-finished' signals.
793 Fixes: NB#121732 (New feature request: Signal to pannable area
794 that informs when panning is stopped.)
796 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
798 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
799 instead of hardcoded colon.
801 Fixes: NB#124090 (New calendar wizard title is not using
802 ecdg_ti_caption_separator)
804 2009-06-22 David King <davidk@openismus.com>
806 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
807 constants and functions, as well as correct many typos throughout the
810 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
813 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
815 * configure.ac: postrelease version bump.
816 * debian/changelog: post release version bump
818 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
823 * configure.ac: Bump version.
824 * debian/changelog: Updates.
826 2009-06-18 Alberto Garcia <agarcia@igalia.com>
828 * hildon/hildon-window-stack.c
829 (hildon_window_stack_pop_and_push_list):
830 Prevent windows from having the same stack index
832 2009-06-18 Alberto Garcia <agarcia@igalia.com>
834 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
835 Use the index of the previous window rather than the stack length
836 to calculate the new index.
840 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
842 * hildon/hildon-date-selector.c
843 (hildon_date_selector_select_current_date)
844 (hildon_date_selector_get_date)
845 (hildon_date_selector_select_day):
846 Update the documentation: uses always the range (1-31), as it is obvious
847 that the final one will depend on the month and the year, but globally
848 the range is this, in a similar GtkCalendar approach
849 (hildon_date_selector_get_date):
850 Update the documentation: add NULL as a valid value for the day, month
853 Fix some details, after talk with David King on bug MB#4698
855 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
857 * hildon/hildon-touch-selector-entry.c
858 * hildon/hildon-touch-selector.c
859 Update the documentation of the "text-column" property
861 2009-06-18 David King <davidk@openismus.com>
863 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
864 several typos and errors throughout the documentation.
866 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
869 2009-06-18 Alberto Garcia <agarcia@igalia.com>
871 * hildon/hildon-note.c (hildon_note_realize):
872 Make HildonNote support portrait mode.
874 Fixes: NB#123448 (HildonNote is not portrait-friendly)
876 2009-06-17 Alberto Garcia <agarcia@igalia.com>
878 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
879 Document this function
881 2009-06-17 David King <davidk@openismus.com>
883 * hildon/hildon-date-selector.c
884 (hildon_date_selector_select_current_date)
885 (hildon_date_selector_get_date): Update documentation regarding days,
886 as the day of the month is dependent on both the month and the year.
887 (hildon_date_selector_get_date): Fix documentation of output arguments.
889 Fixes: MB#4698 (DateSelector documentation has bad output argument
890 description, and the day depends on both the month and the year)
892 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
894 * hildon/hildon-caption.c: Other documentation fixes to
897 2009-06-17 David King <davidk@openismus.com>
899 * hildon/hildon-caption.c: Minor documentation updates for
900 HildonCaption. Fixes MB#4697.
902 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
904 * doc/hildon-docs.sgml: Add hildon-version section.
905 * doc/hildon-sections.txt:
906 * hildon/hildon-version.h.in: Document versioning macros and
909 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
911 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
912 from HildonPickerDialog section.
914 2009-06-16 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-banner.c (hildon_banner_bind_style)
917 (screen_size_changed, hildon_banner_init)
918 (hildon_banner_real_show_information)
919 (hildon_banner_show_information_with_markup)
920 (hildon_banner_show_animation, hildon_banner_show_progress):
921 Set a different widget name to banners in portrait mode, for them
922 to be themed correctly.
924 2009-06-16 Alberto Garcia <agarcia@igalia.com>
926 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
927 Set a different widget name to notes in portrait mode, for them to
930 Partially fixes: NB#118401 (HildonNote causes unnecessary
933 2009-06-16 Alberto Garcia <agarcia@igalia.com>
935 * hildon/hildon-note.c (hildon_note_class_init)
936 (+hildon_note_size_request, screen_size_changed):
937 Always request the full width of the screen.
939 Fixes: NB#118375 (unnecessary rescaling of images)
941 2009-06-16 Alejandro G. Castro <alex@igalia.com>
943 * hildon/hildon-pannable-area.c,
944 (hildon_pannable_area_init),
945 (hildon_pannable_area_realize): Replaced old code adding flags in
946 the object init, now we add it with the other flags in the realize
949 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
951 * hildon/hildon-note.c: (hildon_note_class_init): Several
952 documentation improvements to the HildonNote widget.
954 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
956 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
958 Fixes: MB#4556 (HildonNoteType is undocumented)
960 2009-06-15 Alberto Garcia <agarcia@igalia.com>
962 * hildon/hildon-picker-button.c:
963 Explain how HildonPickerButton sets the title of its dialog
965 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
966 the title of its dialog)
968 2009-06-15 Alberto Garcia <agarcia@igalia.com>
970 * hildon/hildon-check-button.c:
971 Documentation updates
973 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
976 2009-06-15 Alberto Garcia <agarcia@igalia.com>
979 * hildon/hildon-edit-toolbar-private.h
980 * hildon/hildon-edit-toolbar.c
981 (+hildon_edit_toolbar_set_progress_indicator)
982 (hildon_edit_toolbar_init): Add progress indicator to the
985 * hildon/hildon-gtk.c
986 (hildon_gtk_window_set_progress_indicator):
987 If the window contains a HildonEditToolbar, enable the progress
990 * hildon/hildon-private.h
991 * hildon/hildon-private.c
992 (+hildon_private_create_animation)
993 * hildon/hildon-banner.c
994 (-hildon_banner_create_animation):
995 Moved to hildon-private.c
997 Fixes: NB#102373 (Progress indicator also for the Edit mode
1000 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1002 * hildon/hildon-app-menu-private.h
1003 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1004 (hildon_app_menu_add_filter, +menu_item_button_event)
1005 (hildon_app_menu_button_release, hildon_app_menu_init):
1006 Make sure that buttons receive 'button-release-event' in spite of
1007 the grab held by HildonAppMenu
1009 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1011 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1013 * hildon/hildon-app-menu.c
1014 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1015 New style property to set the size of the group of filter buttons.
1017 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1019 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1024 * configure.ac: Bump version.
1025 * debian/changelog: Updates.
1027 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1029 * hildon/hildon-main.c: Minor documentation fixes.
1031 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1033 * doc/hildon-sections.txt:
1034 * hildon/hildon-defines.h: Document the defines, organize them,
1035 and mark deprecations as such.
1037 Fixes: MB#4463 (Hildon size #defines are undocumented)
1039 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1041 * hildon/hildon-animation-actor.c:
1042 * hildon/hildon-app-menu.c:
1043 * hildon/hildon-button.c:
1044 * hildon/hildon-date-editor.c:
1045 * hildon/hildon-dialog.c:
1046 * hildon/hildon-edit-toolbar.c:
1047 * hildon/hildon-entry.c:
1048 * hildon/hildon-program.c:
1049 * hildon/hildon-remote-texture.c:
1050 * hildon/hildon-stackable-window.c:
1051 * hildon/hildon-text-view.c:
1052 * hildon/hildon-touch-selector.c:
1053 * hildon/hildon-window-stack.c:
1054 * hildon/hildon-window.c:
1056 Remove redundant "represents" wording from most of the documentation.
1058 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1060 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1064 * hildon/Makefile.am
1065 * hildon/hildon-banner-private.h
1066 * hildon/hildon-banner.c:
1067 Move HildonBannerPrivate to hildon-banner.c and remove
1068 hildon-banner-private.h
1069 Use a bit field to store private booleans.
1071 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1073 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1074 Don't install a new idle function if there's already one
1079 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1081 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1082 (+legacy_menu_realized, +legacy_menu_unmapped)
1083 (+set_legacy_menu_type):
1084 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1085 they can be identified by the window manager.
1087 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1088 displayed in wrong location)
1090 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1093 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1095 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1097 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1098 use gtk-doc support)
1100 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1102 * hildon/hildon-code-dialog.c
1103 * hildon/hildon-date-editor.c
1104 * hildon/hildon-number-editor.c
1105 * hildon/hildon-seekbar.c
1106 * hildon/hildon-stackable-window.c
1107 * hildon/hildon-window.c:
1108 Misc documentation updates
1110 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1112 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1113 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1115 Fixes: NB#117931 (Theming issues in accounts dialogs)
1117 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1119 * hildon/hildon-pannable-area.c,
1120 (hildon_pannable_area_button_release_cb): Changed the coordinates
1121 of the original release in case we want to discard the release,
1122 some widgets in Fremantle do not handle the leave-notify.
1124 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1126 * hildon/hildon-pannable-area.c,
1127 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1128 the release using the last refactored functions and avoiding the
1129 movement if an element was selected.
1131 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1133 * hildon/hildon-pannable-area.c,
1134 (hildon_pannable_area_check_move),
1135 (hildon_pannable_area_handle_move),
1136 (hildon_pannable_area_motion_notify_cb): Refactored the
1137 motion_notify method using a couple of new functions.
1139 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1141 * hildon/hildon-date-selector.c:
1142 (hildon_date_selector_construct_ui):
1143 * hildon/hildon-time-selector.c:
1144 (hildon_time_selector_constructor):
1145 * hildon/hildon-touch-selector-entry.c:
1146 (hildon_touch_selector_entry_set_text_column),
1147 (hildon_touch_selector_entry_get_text_column):
1148 * hildon/hildon-touch-selector.c: (_default_print_func),
1149 (hildon_touch_selector_new_text): Use
1150 hildon_touch_selector_set/get_text_column() instead of
1151 setting/getting the "text-column" property.
1153 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1155 * doc/hildon-sections.txt: Add the new public methods below.
1157 * examples/hildon-picker-button-multicolumn-example.c:
1158 (create_touch_selector):
1159 * examples/hildon-touch-selector-example.c: (create_selector):
1160 * examples/hildon-touch-selector-multi-cells-example.c:
1162 Use hildon_touch_selector_column_set_text_column()
1164 * hildon/hildon-touch-selector-column.h:
1165 * hildon/hildon-touch-selector.c:
1166 (hildon_touch_selector_column_set_text_column),
1167 (hildon_touch_selector_column_get_text_column):
1168 Make hildon_touch_selector_column_set/get_column() public, use
1169 them in the inline example, document them, and reference to them
1172 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1174 * hildon/hildon-time-selector.c: Fix the docs for
1175 hildon_time_selector_new_step().
1177 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1179 * hildon/hildon-touch-selector.c: Improve the documentation for
1180 hildon_touch_selector_append_column().
1182 Fixes MB#4641 (Documentation:
1183 hildon_touch_selector_append_column() ref-counting)
1185 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1187 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1188 Comment out test 5, since the hildon_controlbar_set_range() range
1189 check is broken and fixing it would have side effects. Also,
1190 this finally fixes make distcheck.
1192 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1194 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1196 * tests/TEST-CASES.txt: Remove other bogus test.
1197 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1198 Remove bogus test that was setting/retrieving a valid value.
1200 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1202 * tests/TEST-CASES.txt: Remove bogus tests.
1203 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1204 Remove three bogus tests that were actually setting valid colors.
1206 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1208 * configure.ac: post release version bump
1209 * debian/changelog: post release version bump
1211 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1216 * configure.ac: Bump version.
1217 * debian/changelog: Updates.
1219 2009-06-08 Christian Dywan <christian@lanedo.com>
1223 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1224 Correct errors in hildon_format_file-size_for_display and use
1225 translations from the hildon-fm package instead of osso-filemanager.
1227 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1229 * hildon/hildon-pannable-area.c,
1230 (hildon_pannable_area_init): Initialized new values to handle the
1231 adjustment position.
1232 (hildon_pannable_area_adjust_value_changed): Check if the values
1233 changed before even call the redraw function.
1234 (hildon_pannable_area_size_allocate),
1235 (hildon_pannable_axis_scroll),
1236 (hildon_pannable_area_scroll),
1237 (hildon_pannable_area_jump_to): Improved the diagonal movement
1240 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1243 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1245 * examples/hildon-banner-example.c:
1246 Several style updates
1247 (on_animation_clicked, on_animation_idle)
1248 (on_progress_clicked, on_progress_idle):
1249 Add additional reference for the cases when the parent window is
1252 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1254 * doc/hildon-sections.txt
1255 * hildon/hildon-pannable-area.c
1256 * hildon/hildon-banner.h
1257 * hildon/hildon-banner.c: Documentation updates.
1259 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1262 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1264 * hildon/hildon-calendar-popup.h:
1265 * hildon/hildon-caption.h:
1266 * hildon/hildon-code-dialog.h:
1267 * hildon/hildon-controlbar.h:
1268 * hildon/hildon-date-editor.h:
1269 * hildon/hildon-dialog.h:
1270 * hildon/hildon-get-password-dialog.h:
1271 * hildon/hildon-hvolumebar.h:
1272 * hildon/hildon-login-dialog.h:
1273 * hildon/hildon-note.h:
1274 * hildon/hildon-number-editor.h:
1275 * hildon/hildon-range-editor.h:
1276 * hildon/hildon-seekbar.h:
1277 * hildon/hildon-set-password-dialog.h:
1278 * hildon/hildon-sort-dialog.h:
1279 * hildon/hildon-time-editor.h:
1280 * hildon/hildon-time-picker.h:
1281 * hildon/hildon-volumebar-range.h:
1282 * hildon/hildon-volumebar.h:
1283 * hildon/hildon-vvolumebar.h:
1284 * hildon/hildon-weekday-picker.h:
1285 * hildon/hildon-window.h:
1286 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1287 macros with the current replacements
1289 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1291 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1293 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1294 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1295 itself, to make it fit better with Fremantle style.
1297 Fixes: NB#109878 (height and width of focus on color icon is not
1298 consistent with other item in the application tool bar)
1300 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1302 * hildon/hildon-touch-selector.c:
1303 (hildon_touch_selector_optimal_size_request): use the current requisition
1304 as the base, in order to include any possible extra widget, like the
1305 hildon entry on HildonTouchSelectorEntry
1307 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1309 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1311 * configure.ac: post release version bump
1312 * debian/changelog: post release version bump
1314 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1319 * configure.ac: Bump version.
1320 * debian/changelog: Updates.
1322 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1324 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1326 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1327 to ensure the banner contents are centered, instead of relying on
1328 the expand and fill properties in GtkHBox.
1329 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1331 Fixes: NB#108265 (Animation banner not properly centered)
1333 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1335 * hildon/hildon-pannable-area.c
1336 (hildon_pannable_area_initial_effect): Remove the initial_effect
1337 management, check initial_hint
1338 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1339 set initial_effect to FALSE
1340 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1341 by launching the fade_timeout if the scrollbars state has changed and are
1343 * examples/hildon-pannable-area-initial-hint-example.c
1344 Modified to allow to remove rows too. Add and remove rows one by one.
1346 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1348 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1349 Don't close the menu if there's an animation actor below it.
1351 Fixes: NB#117927 (Application menu not usable with animation
1354 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1356 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1357 "focus-on-click" from the dialog button, to avoid stealing the
1358 focus from the entry.
1360 Fixes: NB#118903 (Account setup wizard: Text in Search field
1361 should be focused when "Region" touch list picker is reopened
1364 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1366 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1367 (prepare_action_area): Completely hide the dialog separator.
1369 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1371 * hildon/hildon-touch-selector-entry.c
1372 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1373 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1374 now that the entry is exposed.
1376 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1378 * hildon/hildon-touch-selector-entry.c
1379 (hildon_touch_selector_entry_init): Change the entry's size
1380 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1382 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1384 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1385 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1386 avoid unnecessary scaling.
1388 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1390 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1391 Create grab transfer window before calling parent's map function.
1393 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1394 "crushed" button(s) in the top left corner)
1396 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1398 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1399 Check if the window is already realized when pushing it.
1401 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1403 * configure.ac: post release version bump
1404 * debian/changelog: post release version bump
1406 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1411 * configure.ac: Bump version.
1412 * debian/changelog: Updates.
1414 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1416 * hildon/hildon-app-menu.c: Doc updates.
1418 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1420 * hildon/hildon-banner.c: Remove leftover macro.
1422 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1424 * hildon/hildon-pannable-area.c,
1425 (hildon_pannable_area_scroll_indicator_fade),
1426 (hildon_pannable_area_button_release_cb): Reviewed vmin
1427 conditions, it could cause problems in the fadeout procedure.
1429 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1431 * hildon/hildon-pannable-area.c
1432 (hildon_pannable_area_button_release_cb): Added a threshold to
1433 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1435 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1437 * hildon/hildon-pannable-area.c,
1438 (hildon_pannable_area_set_property): Added code to sync the gtk
1439 dnd threshold with the panning threshold.
1441 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1443 * hildon/hildon-pannable-area.c,
1444 (hildon_pannable_area_class_init): Changed some of the default
1445 values, now it should be less responsive and more accurate.
1447 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1449 * hildon/hildon-pannable-area.c,
1450 (hildon_pannable_area_init),
1451 (hildon_pannable_area_scroll_indicator_fade),
1452 (hildon_pannable_area_button_press_cb),
1453 (hildon_pannable_axis_scroll),
1454 (hildon_pannable_area_timeout),
1455 (hildon_pannable_area_motion_notify_cb),
1456 (hildon_pannable_area_button_release_cb): Changed the name of the
1457 clicked attribute to button_pressed, it is more clear about its use.
1459 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1461 * src/hildon-pannable-area.c
1462 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1464 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1465 vertical scrollbar visibility, and use the data on private section instead,
1466 remove the initial_hint check
1467 (hildon_pannable_area_expose_event): add the initial_hint check here
1469 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1471 * src/hildon-pannable-area.c
1472 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1473 if the fadeout effect was used
1474 (hildon_pannable_area_expose_event): check if it is required to
1475 manage the initial effect on the begining of the function. Previously
1476 it was made at the end, but this doesn't ensure that the scrollbars
1477 will be painted on the first show. Do not set to FALSE initial_effect,
1478 to ensure that the initial hint is showed the first time the pannable
1480 * examples/Makefile.am
1481 * examples/hildon-pannable-area-initial-hint-example.c:
1482 New example, to show that the initial-hint is showed when the widget
1485 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1486 initially if the application can be scrolled)
1488 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1490 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1491 Resize table before adding new items to make sure that
1492 gtk_table_resize() is called just once.
1494 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1496 * hildon/hildon-app-menu-private.h
1497 * hildon/hildon-app-menu.c (item_visibility_changed)
1498 (filter_visibility_changed, hildon_app_menu_show_all)
1499 (hildon_app_menu_hide_all, hildon_app_menu_init):
1500 Rearrange items just once when gtk_widget_show_all()/hide_all()
1503 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1505 * hildon/hildon-app-menu.c
1506 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1507 Don't call gtk_widget_show() on added items.
1509 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1510 automatically when they're added)
1512 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1514 * hildon/hildon-banner.c
1515 (hildon_banner_realize, +hildon_banner_unrealize)
1516 (+screen_size_changed, hildon_banner_class_init):
1517 Redisplay the banner if the screen is rotated.
1519 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1520 on transition from landscape to portrait)
1522 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1524 * hildon/hildon-banner.[ch]:
1525 (hildon_banner_show_information_override_dnd): remove icon_name from the
1526 method definition as it is ignored.
1527 * examples/hildon-banner-dnd-example.c: updated with the change on
1530 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1532 * hildon/hildon-banner-private.h: new require_override_dnd and
1533 overrides_dnd variables
1534 * hildon/hildon-banner.h:
1535 (hildon_banner_show_information_override_dnd): new method, that shows
1536 the information but sets the override flag, in order to show important
1538 * hildon/hildon-banner.c
1539 (hildon_banner_show_information_override_dnd): new method
1540 (hildon_banner_set_override_flag): new utility function
1541 (hildon_banner_real_show_information): new utility function, in order to
1542 generalize the current hildon_banner_show_information_override_dnd and
1543 hildon_banner_show_information_override_dnd
1544 * examples/Makefile.am
1545 * examples/hildon-banner-dnd-example.c: New example that show how to
1546 use the new hildon_banner_show_information_override_dnd
1548 Fixes: NB#114874 (There is no possibility to show hildon banners with
1551 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1553 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1554 behind hildon_pannable_calculate_vel_factor().
1556 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1558 * hildon/hildon-pannable-area.c
1559 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1560 deceleration factors.
1562 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1564 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1565 Reduce the default value for 'scroll_time' to 1 second, since the
1566 current initial scrolling takes too much time.
1568 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1570 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1571 calculate velocity factor during initialization, since the properties
1574 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1576 * hildon/hildon-pannable-area.c
1577 (hildon_pannable_area_set_property): Calculate the velocity factor
1578 after setting the deceleration property and not after.
1580 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1582 * hildon/hildon-entry.c
1583 (hildon_entry_class_init, +set_property, hildon_entry_new)
1584 * hildon/hildon-check-button.c
1585 (hildon_check_button_class_init)
1586 (+set_property, hildon_check_button_new):
1587 Make the theme size a property.
1589 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1590 others) do too much in the _new function)
1592 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1594 * configure.ac: post release version bump
1595 * debian/changelog: post release version bump
1597 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1602 * configure.ac: Bump version.
1603 * debian/changelog: Updates.
1605 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1607 * hildon/hildon-gtk.h
1608 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1609 New API function to take a screenshot of a window
1611 Fixes: NB#106374 (Need API to take a loading screenshot)
1613 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1615 * hildon/hildon-time-selector.c
1616 (update_format_policy): prevent to use hours and minutes unitialized
1618 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1620 * hildon/hildon-window.c (hildon_window_size_request):
1621 Always request the full size of the screen (minus the title bar if
1622 not in fullscreen mode).
1624 Fixes: NB#107486 (HildonWindow should size itself properly)
1626 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1628 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1629 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1630 (on_show_cb), (sound_handling): Disconnect the idle handler for
1631 the sound when the note is finalized to avoid possible crashes.
1633 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1636 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1638 * src/hildon-animation-actor.c,
1639 * src/hildon-remote-texture.c:
1640 Added proper object cleanup to remove signal handler and object
1641 references as HildonAnimationActor and HildonRemoteTexture
1642 objects get destroyed.
1644 Fixes: NB#116682 (Destroying parented animation actors when
1645 parent in unmapped leads to crash)
1647 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1649 Based on a patch by Christian Dywan (christian@imendio.com)
1651 * doc/hildon-sections.txt:
1652 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1653 * hildon/hildon-helper.h: New file size formatting method.
1655 * debian/control: Depend on osso-filemanager l10n package for
1656 proper localization strings.
1658 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1660 * tests/Makefile.am: Include top_srcdir to make possible to build
1661 tests in a different builddir.
1662 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1663 on a different builddir.
1665 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1667 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1668 (hildon_touch_selector_remove): Disconnect model's signal handler
1671 Fixes: NB#116289 (Hildon home crashes while adding task
1674 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1676 * hildon/hildon-button.c
1677 (hildon_button_set_title, hildon_button_set_value):
1678 Hide labels containing an empty string.
1680 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1682 * configure.ac: post release version bump
1683 * debian/changelog: post release version bump
1685 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1690 * configure.ac: Bump version.
1691 * debian/changelog: Updates.
1693 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1695 * hildon/hildon-note-private.h: Removed sound_signal_handler
1696 * hildon/hildon-note.c
1697 (on_show_cb): new callback on note "show" event, this simply adds
1698 a idle, with the function sound_handling
1699 (sound_handling): removed the sound_signal_handler management
1700 (hildon_note_init): connect note "show" event to on_show_cb
1701 (hildon_note_realize): remove the connection to "expose-event"
1703 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1704 device?' confirmation note)
1706 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1708 * hildon/hildon-note.c
1709 (hildon_note_new_information_with_icon_name)
1710 (hildon_note_new_confirmation_with_icon_name):
1711 Terminate the list of parameters in g_object_set() calls
1713 Fixes: NB#115166 (Formatting memory card is not taking place)
1715 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1717 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1718 "dialog-information" role for the sound being played.
1720 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1722 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1723 Don't make the menu a modal window, it causes strange interactions
1724 with the pointer grab and it's not really needed.
1726 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1728 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1730 * hildon/hildon-touch-selector.[ch]
1731 (hildon_touch_selector_optimal_size_request): function added to get a
1732 optimal size request from the touch selector, when you want a dialog to
1733 show as much of the selector
1734 * hildon/hildon-picker-dialog.c:
1735 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1736 (hildon_app_menu_class_init):
1737 New "max-height-landscape" and "max-height-portrait" style properties
1738 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1739 (hildon_picker_dialog_get_max_height): returns the maximum height using
1740 the style properties defined and checking the current portrait/landscape
1742 (_hildon_picker_dialog_set_selector): removed the set_size_request
1744 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1746 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1748 * hildon/hildon-bread-crumb-trail.c:
1749 * hildon/hildon-bread-crumb.c:
1750 * hildon/hildon-seekbar.c:
1751 Add reference to replacements for these deprecated widgets.
1753 Fixes: MB#4461 (Documentation: All deprecations should mention
1756 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1758 * examples/hildon-remote-texture-example.c
1760 Change the include to the hildon-remote-texture in order to compile
1761 properly the examples on the installed libhildon1-examples package
1763 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1765 * tests/Makefile.am: Add check for HildonPickerButton.
1766 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1767 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1768 checks for the HildonPickerButton.
1769 * tests/check_test.c (configure_tests): Add the test suite.
1770 * tests/test_suites.h: likewise.
1772 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1774 * hildon/hildon-touch-selector.c
1775 (+on_row_changed): Emit HildonTouchSelector:changed when the
1776 contents of a selected row change.
1777 (_create_new_column), (_hildon_touch_selector_set_model): connect
1778 to GtkTreeModel:row-changed on a newly set model.
1780 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1782 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1784 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1786 * hildon/hildon-banner.c (hildon_banner_destroy)
1787 (hildon_banner_show_progress, hildon_banner_set_fraction):
1788 Remove the progress bar from HildonBanner and use a progress
1791 Fixes: NB#113761 (Update progress banner to use progress
1794 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1796 * hildon/hildon-banner.c:
1797 Calculate size of the banner label using the actual screen width
1798 rather than using a fixed value.
1800 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1803 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1805 * hildon/hildon-pannable-area.c,
1806 (hildon_pannable_area_class_init): Fixed signals documentation
1809 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1811 * configure.ac: post release version bump
1812 * debian/changelog: post release version bump
1814 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1819 * configure.ac: Bump version.
1820 * debian/changelog: Updates.
1822 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1824 * hildon/hildon-edit-toolbar.c
1825 (hildon_edit_toolbar_init):
1826 Don't let buttons in HildonEditToolbar receive focus.
1828 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1829 typing on an HW arrows key)
1831 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1833 * doc/Makefile.am: Fix build.
1835 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1837 * doc/Makefile.am: Do not redefine content_files.
1839 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1847 Renamed src/ to hildon/
1852 Include <hildon/hildon.h> directly in all examples.
1854 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1856 * src/hildon-sort-dialog.c
1857 (hildon_sort_dialog_add_sort_key_with_sorting)
1861 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1863 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1864 make distcheck passes.
1866 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1868 * Makefile.am: Enable gtk-doc during distcheck.
1870 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1872 * Makefile.am: Do not distribute the debian/ directory.
1874 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1876 * doc/Makefile.am: Add the extra SGML files to content_files,
1877 so that they are distributed properly.
1879 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1881 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1884 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1886 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1887 (hildon_note_new_information_with_icon_name): Set the "icon" property
1888 to preserve soundness.
1890 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1892 * src/hildon-font-selection-dialog.c
1893 (hildon_font_selection_dialog_set_property): Fail when the "family"
1894 property is set to NULL.
1896 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1901 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1903 * src/hildon-time-selector.h:
1904 Added HildonTimeSelectorFormatPolicy
1905 * src/hildon-time-selector.c:
1906 Added PROP_TIME_FORMAT_POLICY
1907 (_check_ampm_format): renamed to check_automatic_ampm_format
1908 (update_format_policy), (update_format_dependant_columns): new functions
1909 (hildon_time_selector_class_init)
1910 (hildon_time_selector_contructor)
1911 (hildon_time_selector_init)
1912 (hildon_time_selector_get_property)
1913 (hildon_time_selector_set_property)
1914 (hildon_time_selector_get_time)
1915 (hildon_time_selector_set_time)
1916 * src/hildon-touch-selector.h: new file
1917 * src/hildon-touch-selector.c
1918 (hildon_touch_selector_emit_changed)
1919 (hildon_touch_selector_block_changed)
1920 (hildon_touch_selector_unblock_changed)
1921 Added functions to allow to block the emission of the "changed" signal
1922 * src/hildon-picker-dialog.c
1923 (hildon_picker_dialog_show): call the parent show before the custom code
1924 * examples/hildon-time-button-example.c
1925 Modified, so now you can configure the time format using the new property
1927 Added a new property "time-format-policy" that allow to choose the time
1928 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1929 case it uses gconf in order to check if the time selector must use
1932 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1935 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1937 * src/hildon-note.c (hildon_note_init):
1938 Label in HildonNote must be left aligned, not centered. This
1939 reverts the last commit in HildonNote.
1941 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1942 is connectivity dialog)
1944 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1949 * doc/hildon-sections.txt:
1950 Added hildon_gtk_window_set_do_not_disturb()
1952 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-note.c (hildon_note_init): Center label.
1956 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1959 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1964 * configure.ac: Bump version.
1965 * debian/changelog: Updates.
1967 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1969 * src/hildon-note-private.h: Add button-width to the private data.
1970 * src/hildon-note.c (+resize_button),
1971 (+hildon_note_orientation_update): methods to repack widgets on orientation
1973 (screen_size_changed): Call above method for confirmation notes.
1974 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1975 (hildon_note_rebuild): Store the original width request from buttons.
1977 Fixes: NB#109635 (Confirmation notes do not support portrait)
1979 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1981 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1982 when it is a progress note.
1984 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1986 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1987 in the note, since there are no horizontally arranged contents.
1989 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1991 * src/hildon-gtk.c (+set_flag): new generic method to
1992 set/delay a flag setting in a window.
1993 (hildon_gtk_window_set_progress_indicator):
1994 (hildon_gtk_window_set_do_not_disturb),
1995 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1996 avoid code redundance.
1998 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2000 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2002 * src/hildon-gtk.c (set_clear_window_flag),
2003 (do_set_progress_indicator), (do_set_do_not_disturb),
2004 (do_set_portrait_flags),
2005 (hildon_gtk_window_set_progress_indicator),
2006 (hildon_gtk_window_set_do_not_disturb),
2007 (hildon_gtk_window_set_portrait_flags):
2008 Allow setting dnd-flag, progress indicator, and portrait flags
2009 when the window is not realized.
2011 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2013 * src/hildon-pannable-area.c,
2014 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2015 the size request policy function and defines.
2017 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2019 * doc/hildon-sections.txt: Add the new API.
2020 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2021 method to set the portrait flags.
2022 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2024 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2026 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2028 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2029 to allow using this method with other flags.
2030 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2031 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2033 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-touch-selector.c
2036 (hildon_touch_selector_append_text_column):
2037 Make the cell renderer use the smallest width possible.
2039 Fixes: NB#108470 (Selected items in multiple selection are either
2040 having a tick that is cut or not visible at all.)
2042 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2044 * src/hildon-touch-selector.c
2045 (hildon_touch_selector_append_text_column):
2048 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2050 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2051 Use g_strdup_printf() instead of a fixed size buffer.
2053 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2056 Close banners when a HildonAppMenu is popped up.
2058 Fixes: NB#111027 (Title menu closed immediately if activated when
2059 "Invalid e-mail address" banner is shown)
2061 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2066 * configure.ac: Bump version.
2067 * debian/changelog: Updates.
2069 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2071 * src/hildon-banner.c (hildon_banner_realize):
2072 Mark HildonBanner as supporting portrait mode.
2073 Use GDK to set window properties insetad of direct Xlib calls.
2075 Fixes: NB#111830 (HildonBanner should be marked as supporting
2078 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2080 * src/hildon-note.c (hildon_note_rebuild):
2081 Hide action area in information notes. Prevents text from being
2082 slightly aligned to the left.
2084 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2087 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2089 Patch by Mox Soini (ext-mox.soini@nokia.com)
2091 * src/hildon-banner.c (hildon_banner_create_animation):
2092 Use stylus-sized icons in animation banner.
2094 Fixes: NB#111206 (stylus sized icon for animation banner)
2096 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2100 (+hildon_gtk_window_set_do_not_disturb):
2101 New API to set the do-not-disturb flag.
2103 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2105 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2107 * examples/hildon-progress-indicator-example.c: Fix example
2109 * src/hildon-gtk.c (set_clear_window_flag)
2110 (hildon_gtk_window_set_progress_indicator):
2111 Create a generic function for setting flags to a window.
2112 Use GDK instead of direct Xlib calls.
2114 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-button.c (hildon_button_set_arrangement):
2117 Due to NB#88126, if one of the labels is too long it will be
2118 painted outside the button. The 'value' label is more likely to be
2119 the longest one, so we change its packing options in order to
2120 truncate it if necessary. As a side effect, the 'title' label will
2121 no longer be truncated.
2123 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2125 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2130 * configure.ac: Bump version.
2131 * debian/changelog: Updates.
2133 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2135 Deprecation of the hildon_pannable_area_set_size_request_policy
2136 API, the only policy properly supported in gtk+ nowadays is the
2139 * src/hildon-pannable-area.c,
2140 (hildon_pannable_area_size_request): Added a workaround for the
2141 size_request to avoid the problems of huge pixmaps in case someone
2142 is still using the function.
2143 * src/hildon-pannable-area.h: Deprecated the enum with the
2146 Fixes: NB#110244 (Problems with the
2147 hildon_pannable_area_set_size_request_policy API)
2149 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2151 * src/hildon-pannable-area.c,
2152 (hildon_pannable_area_init),
2153 (hildon_pannable_area_size_request),
2154 (hildon_pannable_area_style_set),
2155 (hildon_pannable_draw_vscroll),
2156 (hildon_pannable_draw_hscroll),
2157 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2158 indicator_width to clarify the use of the attribute.
2160 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2165 * configure.ac: Bump version.
2166 * debian/changelog: Updates.
2168 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2170 * src/hildon-picker-dialog.c
2171 * src/hildon-touch-selector.c
2172 Reverting the change that tried to avoid the hardcoded height on
2173 the picker dialog, as causes problems on the hildon-touch-selector
2176 Fixes: NB#110029 (selectors not scrolling to selected value)
2178 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2180 * src/hildon-touch-selector.c: Fix typos
2182 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2185 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2186 request more motions after using it.
2188 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-calendar.c (hildon_calendar_expose),
2191 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2192 Remove unused variables.
2194 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2196 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2197 variable assignment.
2199 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2201 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2202 Check the return value of gtk_tree_selection_get_selected()
2205 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-animation-actor.c
2208 * src/hildon-button.c
2210 * src/hildon-pannable-area.c
2211 * src/hildon-picker-button.c
2212 * src/hildon-program.c
2213 * src/hildon-remote-texture.c
2214 * src/hildon-text-view.c
2215 * src/hildon-touch-selector.c
2216 * src/hildon-window-stack.c
2217 * src/hildon-window.c:
2218 Add missing 'Since: 2.2' tags.
2220 * doc/hildon-sections.txt:
2221 Add some missing symbols.
2223 * doc/hildon-docs.sgml:
2224 New 'Other' section for HildonAnimationActor and
2227 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2229 Patch by Iván Gómez (igomez@igalia.com)
2232 * doc/compiling.sgml
2233 * doc/hildon-docs.sgml
2234 * doc/hildon-sections.txt
2235 * doc/migration.sgml
2236 * doc/resources.sgml
2238 New chapters on using the Hildon library.
2239 Updated the general structure of the reference manual.
2240 Other minor documentation fixes.
2242 * src/hildon-calendar-popup.c
2243 * src/hildon-calendar.c
2244 * src/hildon-controlbar.c
2245 * src/hildon-date-editor.c
2246 * src/hildon-dialog.c
2247 * src/hildon-hvolumebar.c
2248 * src/hildon-number-editor.c
2249 * src/hildon-range-editor.c
2250 * src/hildon-sort-dialog.c
2251 * src/hildon-time-editor.c
2252 * src/hildon-time-picker.c
2253 * src/hildon-volumebar-range.c
2254 * src/hildon-volumebar.c
2255 * src/hildon-vvolumebar.c
2256 * src/hildon-weekday-picker.c:
2257 Add deprecation notes
2259 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2260 Document 'horizontal-movement' and 'vertical-movement' signals.
2262 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2267 * configure.ac: Bump version.
2268 * debian/changelog: Updates.
2270 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2272 * src/hildon-pannable-area.c,
2273 (hildon_pannable_area_class_init): increased the minimum velocity.
2274 (hildon_pannable_area_button_release_cb): Updated the
2275 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2276 setup. Review the code to control that last event.
2278 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2281 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2283 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2285 * src/hildon-get-password-dialog.c
2286 (hildon_get_password_set_property),
2287 (hildon_get_password_get_property), (create_contents):
2288 * src/hildon-login-dialog-private.h:
2289 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2290 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2291 (hildon_login_dialog_get_password):
2292 * src/hildon-set-password-dialog-private.h:
2293 * src/hildon-set-password-dialog.c
2294 (hildon_set_password_set_property),
2295 (hildon_set_password_get_property), (create_contents),
2296 (hildon_set_password_response_change),
2297 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2299 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2300 instead and look more Fremantle style.
2302 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2304 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2306 * doc/hildon-sections.txt
2307 * src/hildon-window-stack.h
2308 * src/hildon-window-stack.c
2309 (+hildon_window_stack_get_windows):
2310 New API to obtain the list of windows on a stack.
2312 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-app-menu.c (hildon_app_menu_popup)
2315 (hildon_app_menu_class_init, -hildon_app_menu_show):
2316 Remove hildon_app_menu_show() and move all its checks to
2317 hildon_app_menu_popup()
2319 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2321 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2322 (_hildon_picker_dialog_set_selector): removed call to
2323 gtk_widget_set_size_request
2324 * src/hildon-touch-selector.c
2325 (_create_new_column): change the pannable size request policy
2327 Avoid to use a hardcoded height for the hildon picker dialog. In order
2328 to get that, we needed to change the hildon pannable size request
2330 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2332 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2334 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2335 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2338 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2340 * debian/control: Depend on osso-system-lock localization package.
2341 * src/hildon-code-dialog.c: Obtain the secu_application_title
2342 translation from osso-system-lock.
2343 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2344 for translation the atk related strings, that's not necessary.
2345 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2346 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2347 cancel button, it is not required.
2349 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2351 * src/hildon-pannable-area.c,
2352 (hildon_pannable_area_class_init): Modified the default value of
2353 the overshooting max speed, we have reduced it.
2355 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2357 * doc/hildon-sections.txt
2358 * src/hildon-window-private.h
2359 * src/hildon-window.h
2360 * src/hildon-window.c (hildon_window_class_init)
2361 (hildon_window_init, hildon_window_finalize)
2362 (hildon_window_realize, hildon_window_get_property)
2363 (hildon_window_set_property, hildon_window_update_markup)
2364 (hildon_window_get_markup, hildon_window_set_markup):
2365 New "markup" property and hildon_window_{get,set}_markup() methods.
2367 * examples/hildon-stackable-window-example.c (new_window):
2368 Update example to use hildon_window_set_markup()
2370 Fixes: NB#106375 (Need API to retitle a window with a title
2373 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2375 * src/hildon-pannable-area.c,
2376 (hildon_pannable_area_class_init): Changed the default value of
2377 the initial_hint to TRUE.
2378 (hildon_pannable_area_initial_effect): Changed the initial effect,
2379 not the effect is just the fade-out of the scrollbars.
2381 Fixes: NB#107775 (No scrollbars can be seen when several items are
2382 available in a dialog)
2384 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2386 * src/hildon-program.c (hildon_program_update_top_most):
2389 Fixes: NB#109179 (Memory leak in Hildon program)
2391 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2393 * src/hildon-banner.c (-get_current_app_window):
2394 Remove unused function.
2396 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2398 * src/hildon-pannable-area.c: Modified the documentation of the
2399 get adjustments functions to explain the problem of using the
2400 adjustment directly.
2401 (hildon_pannable_area_class_init): Improved the explanation about
2404 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-app-menu-private.h
2407 * src/hildon-app-menu.c
2408 (hildon_app_menu_class_init):
2409 Bring back the 'external-border' style property
2410 (hildon_app_menu_class_init, hildon_app_menu_init)
2411 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2412 Set a fixed width-request for the menu, independent of the number
2415 Fixes: NB#94957 (Smoothly opened application menu)
2417 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2419 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2421 * src/hildon-banner.c
2422 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2424 Make sure that the banner is correctly placed the first time it's
2426 (hildon_banner_check_position, -check_fullscreen_state):
2427 Show the banner in the same place no matter if the window is in
2428 fullscreen mode or not.
2430 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2432 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2434 * src/hildon-touch-selector.c (_default_print_func): reorder
2435 concatenation for clarity.
2437 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2440 for multicolumn selectors.
2442 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2444 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2449 * configure.ac: Bump version.
2450 * debian/changelog: Updates.
2452 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2454 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2457 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2459 * configure.ac: removed libcangerra-gtk dependency
2460 * debian/control: removed libcanberra-gtk dependency
2461 * src/Makefile.am: removed libcanberra gtk related flags
2462 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2463 context, and manage a global canberra context instead
2465 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2467 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2469 Patch by Daniel Borgmann (danielb@openismus.com)
2471 * src/hildon-edit-toolbar.c:
2472 Adjust the left padding.
2473 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2474 Paint background of the edit toolbar.
2476 Fixes: NB#107897 (Patch to make editmodetoolbar background
2477 themeable and adjust margin)
2479 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2481 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2483 * src/hildon-program.c (hildon_program_update_top_most):
2484 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2486 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2487 change when the user tasks in/out of an application)
2489 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2491 * configure.ac: added libcangerra-gtk dependency
2492 * debian/control: added libcanberra-gtk dependency
2493 * src/Makefile.am: added libcanberra gtk related flags
2494 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2497 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2499 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2501 * src/hildon-program.c (hildon_program_remove_window)
2502 (hildon_program_add_window): Add checks for the window
2503 parameter. Don't decrease the window counter if the window is not
2506 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2508 * src/hildon-pannable-area.c,
2509 (hildon_pannable_area_realize): Fixed position of the event_window
2510 in the realize method.
2512 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-app-menu-private.h
2515 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2516 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2517 (hildon_app_menu_key_press, hildon_app_menu_init)
2518 (hildon_app_menu_finalize):
2519 Make sure that all idle functions are removed when the widget is
2522 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2524 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2529 * configure.ac: Bump version.
2530 * debian/changelog: Updates.
2532 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2534 * src/hildon-entry.c
2535 (+hildon_entry_show_placeholder),
2536 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2537 that replace hildon_entry_update_contents().
2538 (hildon_entry_set_text),
2539 (hildon_entry_set_placeholder),
2540 (hildon_entry_focus_in_event),
2541 (hildon_entry_focus_out_event): Determine when it is needed
2542 either to show or hide the placeholder and call the above methods.
2544 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2545 when the placeholder text is already set)
2547 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2549 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2550 simple GdkPixbufAnim using the new icons for the banner.
2551 (hildon_banner_show_animation): Use the above mentioned method to
2552 create the animation widget.
2554 Fixes: NB#103564 (Make hildon animation banner use individual
2555 image files as the animation)
2557 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2559 * src/hildon-pannable-area.c,
2560 (hildon_pannable_leave_notify_event): Check if the child is NULL
2561 to avoid sending the leave.
2563 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2565 * src/hildon-pannable-area.c,
2566 (hildon_pannable_area_class_init),
2567 (hildon_pannable_leave_notify_event): Added a handler of the
2568 leave-notify-signal to consider when no motion notify before
2571 Fixes: NB#107494 (Items stay selected when clicking and moving
2572 away when inside pannable area)
2574 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2579 * configure.ac: Bump version.
2580 * debian/changelog: Updates.
2582 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2584 Patch by Alberto Garcia (agarcia@igalia.com)
2586 * src/hildon-date-button.c,
2587 (hildon_date_button_class_init),
2588 (hildon_date_button_init): Removed the construct property handling
2589 and created a default selector in the init method.
2590 * src/hildon-picker-button.c,
2591 (hildon_picker_button_class_init): Removed the construct flag of the
2594 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2596 * src/hildon-main.c (hildon_init):
2597 Don't allow hildon_init() to be called more than once.
2599 Fixes: NB#106607 (hildon_init should issue error message upon
2602 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2604 * examples/hildon-pannable-area-touch-list-example.c
2605 * examples/hildon-pannagle-area-touch-grid-example.c
2606 * examples/hildon-edit-toolbar-example.c
2607 * examples/hildon-touch-selector-multi-cells-example.c
2608 Removed the call to gtk_rc_parse_string, as it is not required since
2611 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2613 * src/hildon-pannable-area.c,
2614 (hildon_pannable_area_class_init): Modified the default panning
2615 threshold of the widget to 6px.
2617 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2618 than the threshold value ) within the button is not sending the
2621 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2623 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2624 for the treeview in the new column. This way, the touch list will never
2627 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2628 be selected manually for the HW keys to work)
2630 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2632 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2633 comparison instead of using strcmp(). Fixes a compiler warning as well.
2635 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2637 * doc/hildon-docs.sgml: Do not set the library version in the
2638 document title, use the releaseinfo tag for that purpose instead.
2640 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2642 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2643 Do not jump to the first item if the text in the entry is removed.
2645 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2650 * configure.ac: Bump version.
2651 * debian/changelog: Updates.
2653 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-entry.c (hildon_entry_refresh_contents):
2656 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2657 Use "ReversedSecondaryTextColor" for the placeholder text.
2659 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-text-view.c: Fix compilation warning.
2663 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2665 * src/hildon-button.c (hildon_button_class_init): Don't make
2666 "title" and "value" construction properties, to prevent them from
2667 overwriting labels set from derived classes.
2669 * src/hildon-picker-button.c
2670 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2671 (hildon_picker_button_class_init): Make touch-selector a
2672 construction property.
2674 * src/hildon-date-button.c (hildon_date_button_class_init)
2675 (+hildon_date_button_constructed): Add a default date selector if
2678 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-touch-selector.c: Small documentation fixes.
2682 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2684 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2686 * src/hildon-entry.c (hildon_entry_refresh_contents),
2687 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2688 widget name, set the logical color directly instead and a boolean
2689 showing_placeholder instead.
2690 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2691 use the widget name here either.
2693 Fixes: NB#105678 (HildonTextView should use logical colours
2694 instead of setting widget name)
2696 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2698 Patch by Daniel Elster (danielk@openismus.com)
2700 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2701 Add user_data parameter.
2702 (hildon_touch_selector_set_print_func_full): New function akin
2703 hildon_touch_selector_set_print_func() but with support for user
2704 data and a destroy callback.
2705 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2706 to clean up the print function user data.
2707 (hildon_touch_selector_class_init): Install dispose function.
2708 (HildonTouchSelectorPrivate::print_user_data),
2709 (HildonTouchSelectorPrivate::print_destroy_func): New private
2711 (hildon_touch_selector_init): Initialize new private members.
2712 (hildon_touch_selector_get_current_text): Pass along user data
2713 to the print function.
2714 (_default_print_func): Add dummy user_data to parameter list.
2715 * hildon-date-selector.c (_custom_print_func): ditto,
2716 * hildon-time-selector.c (_custom_print_func): ditto,
2717 * hildon-touch-selector-entry.c
2718 (hildon_touch_selector_entry_print_func): ditto.
2720 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2722 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2724 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2726 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2728 * src/hildon-pannable-area.c,
2729 (hildon_pannable_area_init),
2730 (hildon_pannable_area_button_press_cb),
2731 (hildon_pannable_area_motion_notify_cb): We have added code to
2732 handle the leave and enter events when using the motion events.
2734 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2736 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-date-button.c (hildon_date_button_get_date)
2739 (hildon_date_button_set_date): Make sure that the button has a
2742 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2744 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2746 * src/hildon-pannable-area.c,
2747 (hildon_pannable_area_class_init),
2748 (hildon_pannable_area_calculate_velocity): Modify the use of the
2749 force and adapt the value.
2751 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2754 (hildon_app_menu_class_init): Hide the menu if it receives a
2755 delete-event, but don't destroy it
2757 Fixes: NB#104485 (Not able to address the call when application
2758 menu is opened at background)
2760 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2762 * src/hildon-app-menu.c
2763 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2764 Remove the "external-border" style property, let the menu take its
2765 natural size (or the one set by the window manager)
2766 (hildon_app_menu_repack_items):
2767 Don't reshow the menu, avoid flickers.
2769 Partially fixes NB#94957 (Smoothly opened application menu)
2771 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2776 * configure.ac: Bump version.
2777 * debian/changelog: Updates.
2779 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2781 * src/hildon-pannable-area.c,
2782 (hildon_pannable_area_motion_notify_cb): We control that the
2783 direction error margin is used just in case the movement is
2784 allowed in the other direction.
2786 Fixes: NB#105012 (buttons inside a pannable area not getting
2787 release event when dragging/releasing)
2789 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2791 * src/hildon-pannable-area.c,
2792 (hildon_pannable_area_class_init),
2793 (hildon_pannable_area_get_property),
2794 (hildon_pannable_area_set_property),
2795 (hildon_pannable_area_initial_effect),
2796 (hildon_pannable_axis_scroll),
2797 (hildon_pannable_area_button_release_cb): Reviewed the
2798 overshooting effect, now it has its own max
2799 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2800 speed when bouncing.
2802 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2807 * configure.ac: Bump version.
2808 * debian/changelog: Updates.
2810 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2812 * src/hildon-pannable-area.c,
2813 (hildon_pannable_area_class_init): Changed the max speed, now
2814 users can launch the widget very fast. Reduced the default force,
2815 that way it is easier to control the launch speed.
2817 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2819 * src/hildon-pannable-area.c,
2820 (hildon_pannable_area_button_release_cb): Removed this check
2821 because it causes problems when the device is overloaded.
2823 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2826 add a current_text field to store the text entered in the
2827 touch selector entry.
2828 (_clean_current_selection): clean up the current text as well.
2829 (_save_current_selection), (_restore_current_selection):
2830 Save/restore the text in the entry if the selector is a
2831 HildonTouchSelectorEntry.
2833 Fixes: NB#102541 (value entered in the touch selector entry is not
2834 shown when opened for second time)
2836 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2838 * doc/hildon-sections.txt:
2839 * src/hildon-touch-selector-entry.c
2840 (+hildon_touch_selector_entry_get_entry):
2841 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2843 Fixes: NB#104815 (I need accessor to the entry inside
2844 HildonTouchSelectorEntry)
2846 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2849 (hildon_app_menu_class_init):
2850 New "filter-vertical-spacing" style property.
2852 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2854 * src/hildon-find-toolbar.c
2855 (hildon_find_toolbar_emit_close)
2856 (hildon_find_toolbar_emit_invalid_input)
2857 (hildon_find_toolbar_entry_activate):
2858 Use g_signal_emit() instead of g_signal_emit_by_name()
2860 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2862 Patch by Mox Soini (ext-mox.soini@nokia.com)
2864 * tests/TEST-CASES.txt
2865 * tests/check-hildon-banner.c
2866 * tests/check-hildon-note.c
2867 * src/hildon-banner.c
2868 * src/hildon-code-dialog.c
2869 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2870 * src/hildon-time-editor.c
2871 * examples/hildon-lookup-example.c (main):
2872 Replace obsolete icon names with new ones.
2874 * src/hildon-find-toolbar-private.h:
2875 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2876 (-hildon_find_toolbar_emit_search):
2877 Remove find button and change icon of close button.
2879 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2881 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-time-button.c (hildon_time_button_new_step):
2884 Use the "touch-selector" property to set the selector directly
2885 when creating the object.
2887 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2889 Added a new example application that allows tuning the pannable
2890 area and replaced defines with properties in order to simplify the
2891 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2892 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2893 PROP_DIRECTION_ERROR_MARGIN.
2895 * examples/hildon-pannable-area-tuning-example.c: New example
2897 * src/hildon-pannable-area.c,
2898 (hildon_pannable_area_class_init),
2899 (hildon_pannable_area_init),
2900 (hildon_pannable_area_get_property),
2901 (hildon_pannable_area_set_property),
2902 (hildon_pannable_area_launch_fade_timeout),
2903 (hildon_pannable_area_adjust_value_changed),
2904 (hildon_pannable_axis_scroll),
2905 (hildon_pannable_area_motion_notify_cb),
2906 (hildon_pannable_area_scroll_cb),
2907 (hildon_pannable_area_button_release_cb): We have converted some
2908 of the defines that control the widget to properties to simplify
2911 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2913 * src/hildon-app-menu.c (hildon_app_menu_map)
2914 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2915 so it's closed if a new window appears.
2917 Fixes: NB#104485 (Not able to address the call when application
2918 menu is opened at background)
2920 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2923 missing 'break' statement in in 'case' construct to avoid
2926 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-touch-selector-entry.c
2929 (hildon_touch_selector_entry_get_property),
2930 (hildon_touch_selector_entry_set_property): Add missing 'break'
2931 statements in in 'case' constructs to avoid incorrect warnings.
2933 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2935 * src/hildon-time-editor.c
2936 (hildon_time_editor_get_time_separators): Do not crash if
2937 the first label is NULL.
2939 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-date-selector.c (_month_days): Check for month to be
2942 strictly less than 12, since otherwise we may overrun the array.
2944 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2946 * src/hildon-date-button.c (+hildon_date_button_new_full)
2947 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2948 (hildon_date_button_init): Set the date selector using a
2949 construction property, to make it happen after HildonButton's
2950 "value" property is set.
2952 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2953 current date by default)
2955 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2957 * doc/hildon-sections.txt
2958 * src/hildon-program.c
2959 * src/hildon-stackable-window.c
2960 * src/hildon-window.c:
2961 Documentation updates
2963 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2965 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2966 (hildon_window_stack_new, +hildon_window_stack_set_property)
2967 (+hildon_window_stack_get_property)
2968 (hildon_window_stack_class_init)
2969 (+hildon_window_stack_set_window_group)
2970 (+hildon_window_stack_get_window_group):
2971 Make the window group a construction property.
2973 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2975 * doc/hildon-sections.txt
2976 * src/hildon-stackable-window-private.h
2977 * src/hildon-stackable-window.h
2978 * src/hildon-stackable-window.c
2979 (-hildon_stackable_window_set_app_menu)
2980 (-hildon_stackable_window_get_app_menu)
2981 (-hildon_stackable_window_toggle_menu)
2982 (-hildon_stackable_window_finalize)
2983 (hildon_stackable_window_class_init)
2984 (hildon_stackable_window_init)
2985 * src/hildon-window-private.h
2986 * src/hildon-window.h
2987 * src/hildon-window.c (hildon_window_init)
2988 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2989 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2990 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2991 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2992 Moved all HildonAppMenu code to HildonWindow. The menu does not
2993 require a HildonStackableWindow anymore.
2995 * src/hildon-app-menu.c
2996 * src/hildon-program.c
2997 * examples/hildon-app-menu-example.c (main):
2998 Update examples and documentation to reflect HildonAppMenu
3001 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3003 * src/hildon-remote-texture.c
3004 * src/hildon-animation-actor.c:
3005 Don't include unused private headers.
3007 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3009 * src/hildon-program-private.h
3010 * src/hildon-program.c
3011 (hildon_program_set_common_menu)
3012 (hildon_program_get_common_menu)
3013 (hildon_program_set_common_app_menu)
3014 (hildon_program_get_common_app_menu):
3015 Change common menu pointers from GtkWidget* to GtkMenu* and
3016 HildonAppMenu* to avoid unnecessary casts.
3018 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-window.c (hildon_window_set_main_menu):
3021 Removed incorrect 'Since:' tag
3023 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3025 * src/hildon-pannable-area.c,
3026 (hildon_pannable_area_calculate_velocity): We use now the
3027 RATIO_TOLERANCE here to check the distance, fixed typo in the
3029 (hildon_pannable_area_motion_notify_cb): We have to set the type
3030 and time even if we are not sending the motion.
3032 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3034 * doc/hildon-sections.txt
3035 * src/hildon-app-menu.h
3036 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3037 (+hildon_app_menu_get_filters): New methods to get the contents of
3040 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3043 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3045 * src/hildon-app-menu.c (hildon_app_menu_popup):
3048 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3050 * src/hildon-window.h
3051 * src/hildon-window.c (+hildon_window_get_main_menu)
3052 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3053 and deprecated hildon_window_get_menu().
3055 * src/hildon-stackable-window.h
3056 * src/hildon-stackable-window.c
3057 (+hildon_stackable_window_set_app_menu)
3058 (+hildon_stackable_window_get_app_menu)
3059 (hildon_stackable_window_set_main_menu): Created
3060 hildon_stackable_window_{get,set}_app_menu() and deprecated
3061 hildon_stackable_window_set_main_menu().
3063 * doc/hildon-sections.txt
3064 * examples/hildon-app-menu-example.c (main)
3065 * src/hildon-app-menu.c
3066 * src/hildon-program.c:
3067 Updated examples and documentation.
3069 Fixes: NB#103758 (No way to obtain a menu from a
3070 HildonStackableWindow)
3072 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3077 * configure.ac: Bump version.
3078 * debian/changelog: Updates.
3080 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3082 * examples/hildon-remote-texture-example.c: Include
3083 hildon-remote-texture.h explicitely.
3084 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3085 applications not defining _XOPEN_SOURCE which don't require this header.
3087 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3089 * doc/hildon-sections.txt
3090 * src/hildon-app-menu.h
3091 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3092 New function to pop up a HildonAppMenu
3094 * src/hildon-stackable-window.c
3095 (hildon_stackable_window_toggle_menu):
3096 Use hildon_app_menu_popup() to show the menu.
3098 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3100 * src/hildon-app-menu.c (hildon_app_menu_show)
3101 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3102 menu if there's another window between it and its parent window.
3104 Fixes: NB#100468 (Application menu window is launched even when a
3105 new secondary-window/dialog is pending to be shown/realized)
3107 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3109 * src/hildon-window-stack.c (hildon_window_stack_push)
3110 (hildon_window_stack_pop_and_push):
3111 Don't forget to push/pop the first window.
3112 Reverse the window list before calling _push_list()
3114 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3116 * src/hildon-picker-button.h
3117 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3118 Remove "value_changed" slot to avoid ABI breakage
3120 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3122 * src/hildon-pannable-area.c,
3123 (hildon_pannable_area_realize),
3124 (hildon_pannable_area_unrealize),
3125 (hildon_pannable_draw_vscroll),
3126 (hildon_pannable_draw_hscroll): Changed the method to handle the
3127 GC used to draw the transparent scrollbar, this way we avoid
3128 creating the GC all the time when drawing the scrollbars.
3130 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3132 * src/hildon-pannable-area.c,
3133 (hildon_pannable_area_init),
3134 (hildon_pannable_area_remove): Removed some unnecessary casts.
3135 (hildon_pannable_area_dispose): Disconnected some signals before
3136 releasing the adjustments.
3138 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3140 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3141 Make sure that all widgets contained in the toolbar are shown.
3143 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3145 * doc/hildon-sections.txt
3146 * src/hildon-picker-button.h
3147 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3148 (_selection_changed, hildon_picker_button_on_dialog_response)
3149 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3150 New hildon_picker_button_value_changed() method.
3153 * src/hildon-picker-button-private.h
3154 * src/hildon-picker-button.c (hildon_picker_button_init)
3155 (+hildon_picker_button_disable_value_changed): Add protected
3156 function for disabling the "value-changed" signal.
3158 * src/hildon-date-button.c (hildon_date_button_set_date):
3159 Don't emit "value-changed" for each one of the three columns.
3161 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3162 before actual change of values)
3164 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3166 * src/hildon-pannable-area.c,
3167 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3168 for the treeview overshooting.
3170 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3172 * src/hildon-banner.c (+hildon_banner_bind_style):
3173 Renamed from hildon_banner_bind_label_style(), now naming the
3174 banner itself as well.
3175 (hildon_banner_show_information),
3176 (hildon_banner_show_information_with_markup),
3177 (hildon_banner_show_animation), (hildon_banner_show_progress):
3178 Name the widgets and labels, based on their type.
3180 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3183 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-note.c (hildon_note_set_property): call
3186 hildon_note_rename() on HildonNote:note-type set.
3187 (hildon_note_rename): Name the note and its label, based on the
3188 HildonNote:note-type property.
3190 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3193 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3195 * src/hildon-pannable-area.c,
3196 (hildon_pannable_area_class_init),
3197 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3198 panning parameters, increased SPS and deceleration factor. Added
3199 also a margin to control fake directions.
3201 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3203 Patch by Sven Herzberg (sven@imendio.com)
3205 * configure.ac: Add missing AM_PROG_CC_C_0
3206 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3208 See NB#101420 (Update unit tests and fix make check)
3210 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3212 This patch was applied before but reverted because it caused
3213 problems, we have changed the main condition and tested the
3214 regressions we detected before and they work ok. We have done a
3215 complete review of the topmost algorithm in order to get a more
3218 * src/hildon-pannable-area.c,
3219 (hildon_pannable_area_get_topmost): Added a new parameter to
3220 filter the the windows that do not include those events.
3221 (hildon_pannable_area_button_press_cb),
3222 (hildon_pannable_area_button_release_cb),
3223 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3224 topmost function, we have added the new parameter.
3226 Fixes: NB#97458 (Pannable area prevents propagation of button
3229 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3231 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3232 if all columns in the selector have an item selected.
3233 (_on_dialog_response): Stop "response" signal emission if there is
3234 any selector column without selected items.
3236 Fixes: NB#101889 (Picker dialog should not close when nothing is
3237 selected in multiple selection list)
3239 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3241 * src/hildon-font-selection-dialog.c
3242 (hildon_font_selection_dialog_class_init),
3243 (hildon_font_selection_dialog_init): Remove the preview
3244 button and dialog, since previewing with default theming is likely
3245 to be overcomplicated. The :preview property has now no effect.
3246 Update documentation blurbs to inform about this.
3248 Fixes: NB#92297 (Preview content is not clearly visible for
3249 default colour text)
3251 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3253 Reviewed the geometry that handles the children size and
3254 scrollbar, now it tries a size and reviews the results depending
3255 on the scrollbars visibility.
3257 * src/hildon-pannable-area.c,
3258 (hildon_pannable_area_realize): Fixed a typo.
3259 (hildon_pannable_area_child_allocate_calculate): Added this
3260 function to calculate the child allocation.
3261 (hildon_pannable_area_size_allocate): Reviewed the allocation
3263 (hildon_pannable_area_check_scrollbars),
3264 (hildon_pannable_area_refresh): Refactored refresh function, this
3265 way we can call the code handling the scrollbars without causing a
3266 size_request, it is interesting in the allocate.
3267 (hildon_pannable_area_init): Replace the callbacks of the
3268 value_changed and changed signals to propertly deal with the
3270 (hildon_pannable_area_grab_notify),
3271 (hildon_pannable_area_initial_effect),
3272 (hildon_pannable_area_launch_fade_timeout),
3273 (hildon_pannable_area_adjust_changed),
3274 (hildon_pannable_area_adjust_value_changed),
3275 (hildon_pannable_area_redraw),
3276 (hildon_pannable_area_button_press_cb),
3277 (hildon_pannable_area_button_release_cb),
3278 (hildon_pannable_area_scroll_cb),
3279 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3280 code and use the new functions adjust_changed and
3281 adjust_value_changed.
3283 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3284 Contact editor dialog)
3286 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3291 * configure.ac: Bump version.
3292 * debian/changelog: Updates.
3294 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3296 * src/hildon-pannable-area.c,
3297 (hildon_pannable_area_get_topmost),
3298 (hildon_pannable_area_button_press_cb),
3299 (hildon_pannable_area_button_release_cb),
3300 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3301 topmost function adding the event mask. We have to try a
3302 differente approach because it is still causing problems (NB#9745,
3305 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3307 * src/hildon-banner.c:
3308 Update the maximum width of timed banners.
3309 (force_to_wrap_truncated): Enforce the maximum text width if the
3312 Fixes: NB#102413 (The text margins (wrapping) in information
3313 banner should be HILDON_MARGIN_TRIPLE)
3315 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3317 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3319 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3320 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3321 bound when calculating the scroll indicator position.
3323 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3324 treat ->lower correctly)
3326 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3328 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3329 expose event handling, since it is not necessary to draw the focus
3332 Fixes: NB#102467 (Do not show highlight on the text in
3335 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3337 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3338 full height of the toolbar for the button and the label.
3340 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3342 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3343 padding before the label and after the button.
3345 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3347 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3349 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3350 Add a GtkVSeparator between the button and the back arrow.
3351 Let the button have automatic size.
3352 Set a name to the widget for theming handling.
3354 Fixes: NB#101793 (Make edit toolbar the same height as window
3355 title bar (use title area theming))
3357 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3359 * src/hildon-helper.c (attach_new_color_element): Fix memory
3362 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3364 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3366 * examples/hildon-button-example.c (common_buttons_window): Don't
3369 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3371 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3372 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3374 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3376 * src/hildon-gtk.c: Check that the window is realized.
3378 Fixes: NB#102225 (Crash setting the progress indicator to a non
3381 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3383 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3384 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3385 instead of modifying the one in the widget style.
3387 Fixes: NB#101043 (Second row of all the command button are
3388 displayed in transparent mode.)
3390 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-date-button.c
3393 * src/hildon-time-button.c: Add gettext macros
3395 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3397 * src/hildon-date-button.c (hildon_date_button_new):
3398 * src/hildon-time-button.c (hildon_time_button_new_step):
3399 Use new logical strings to set the button default title.
3401 Fixes: NB#99915 (Date and Time options are not localised in Date
3404 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3406 * src/hildon-pannable-area.c
3407 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3408 the PANNING_THRESHOLD.
3410 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3412 * src/hildon-pannable-area.c,
3413 (hildon_pannable_area_class_init): Increased the maximum speed.
3414 (hildon_pannable_area_get_property),
3415 (hildon_pannable_area_set_property),
3416 (hildon_pannable_area_timeout): Added a new low friction mode, it
3417 allows the user avoid friction when launching the widget fast
3418 enough. It is interesting to traverse long lists.
3420 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3422 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3423 (+hildon_stackable_window_delete_event): Ignore delete events if
3424 the window is not the topmost one.
3426 Fixes: NB#101698 (Back button long press and delete-event handling)
3428 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3430 * src/hildon-pannable-area.c,
3431 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3432 gtk-dnd-drag-threshold, it was too big. We have defined our own
3433 dnd define and set a smaller value: PANNIG_THRESHOLD.
3435 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3437 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3438 user-defined icons, use always the default one.
3440 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3442 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3444 This patch was applied before but reverted because it caused
3445 problems, we have changed the main condition and tested the
3446 regressions we detected before and they work ok.
3448 * src/hildon-pannable-area.c,
3449 (hildon_pannable_area_get_topmost): Added a new parameter to
3450 filter the the windows that do not include those events. Added
3451 also a condition when finding the window to filter windows that do
3452 not ask for those events.
3453 (hildon_pannable_area_button_press_cb),
3454 (hildon_pannable_area_button_release_cb),
3455 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3456 topmost function, we have added the new parameter.
3458 Fixes: NB#97458 (Pannable area prevents propagation of button
3461 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3463 * tests/check-hildon-color-button.c (START_TEST): do not leak
3466 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-font-selection-dialog.c
3469 (hildon_font_selection_dialog_get_preview_text): Return NULL
3470 instead of FALSE on the g_return_val_if_fail().
3472 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3474 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3475 * src/hildon-date-selector.c
3476 (hildon_date_selector_select_current_date):
3477 Do not compare unsigned integers to be greater than or equal 0,
3478 because it's always TRUE.
3480 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3482 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3483 (hildon_date_selector_constructor): Do not select the current
3484 date until we are handle the "changed" signal, to avoid having bogus
3485 elements in the days model.
3487 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3490 for num_days, since _month_days() can return a negative value.
3492 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3494 * src/hildon-caption.c (hildon_caption_size_allocate):
3495 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3496 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3498 Initialize allocation variables to 0, to avoid eventually using
3499 unitialized variables.
3501 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3503 * src/hildon-bread-crumb-trail.c
3504 (hildon_bread_crumb_trail_size_allocate):
3505 * src/hildon-calendar.c (hildon_calendar_set_background):
3506 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3507 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3508 * src/hildon-seekbar.c (hildon_seekbar_init):
3509 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3510 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3511 * src/hildon-touch-selector-entry.c
3512 (hildon_touch_selector_get_text_from_model):
3513 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3514 * src/hildon-window.c (hildon_window_finalize):
3516 Remove many unused variables.
3518 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-seekbar.c: (hildon_seekbar_init),
3521 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3523 Remove unnecessary g_assert() calls.
3525 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3527 * src/hildon-caption.c: (hildon_caption_expose),
3528 (hildon_caption_set_property), (hildon_caption_init),
3529 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3530 (hildon_caption_size_request), (hildon_caption_size_allocate),
3531 (hildon_caption_forall), (hildon_caption_set_separator),
3532 (hildon_caption_activate), (hildon_caption_set_child_expand),
3533 (hildon_caption_set_label_text),
3534 (hildon_caption_get_label_alignment):
3536 Remove unnecessary g_assert() calls.
3538 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3540 * src/hildon-banner.c
3541 (hildon_banner_map, hildon_banner_init): Make banner temporary
3542 before mapping it to avoid closing other temporary windows, but
3543 make it non-temporary afterwards to avoid being closed by other
3544 non-temporary windows.
3545 (-hildon_banner_client_event, hildon_banner_init):
3546 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3548 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3551 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3553 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3556 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3558 * src/hildon-remote-texture.c
3559 * src/hildon-remote-texture.h
3560 * src/hildon-remote-texture-private.h
3561 * examples/hildon-remote-texture-example.c:
3562 Updates/fixes to remote-texture and its example.
3564 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3566 Patch by Mox Soini (ext-mox.soini@nokia.com)
3568 * src/hildon-code-dialog.c: Update logical id.
3569 * src/hildon-set-password-dialog.c: Update logical id.
3571 Fixes: NB#100646 (Logical strings is shown for ok in set
3572 password,Password needed dialogs)
3574 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3577 * src/hildon-remote-texture.c
3578 * src/hildon-remote-texture.h
3579 * src/hildon-remote-texture-private.h
3581 Added remote texture widget (for Clutter shared memory textures)
3583 * examples/hildon-remote-texture-example.c
3584 * examples/Makefile.am
3585 Added example file for remote texture usage
3587 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3589 * configure.ac: post release version bump.
3590 * debian/changelog: version bump.
3592 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3597 * configure.ac: Bump version.
3598 * debian/changelog: Updates.
3600 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3602 * src/hildon-date-selector.c (hildon_date_selector_init)
3603 (hildon_date_selector_constructor): Don't connect to the "changed"
3604 signal until the selector is completely constructed.
3606 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3608 * src/hildon-touch-selector.c: (_create_new_column),
3609 (hildon_touch_selector_append_column),
3610 (hildon_touch_selector_set_column_selection_mode),
3611 (hildon_touch_selector_set_active),
3612 (hildon_touch_selector_select_iter):
3613 Emit the HildonTouchSelector::changed signal every time selection
3614 is changed in any of the methods above. This behavior was already
3615 documented but not fully functional.
3617 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3618 selection is programmatically changed)
3620 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3622 * doc/hildon-sections.txt: Remove obsolete icon
3623 sizes from here as well.
3625 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3627 * examples/hildon-stackable-window-example.c (add_window): Remove
3630 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-app-menu.c
3633 (hildon_app_menu_show): Check whether the parent window of a menu
3634 is topmost before popping it up.
3636 Fixes: NB#100468 (Application menu window is launched even when a
3637 new secondary-window/dialog is pending to be shown/realized.)
3639 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3641 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3644 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3646 Patch by Mox Soini (ext-mox.soini@nokia.com)
3648 * src/hildon-banner.c: (hildon_banner_show_animation):
3649 use stylus size instead of obsolete note size.
3650 * src/hildon-defines.h: Update icon sizes.
3652 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3654 * src/hildon-touch-selector-entry.c:
3655 (hildon_touch_selector_entry_init): Disable unsupported
3657 (hildon_touch_selector_entry_get_text_column): Emit a warning
3658 if an unsupported input modes is used and explicitile state
3659 these modes in the documentation.
3661 Fixes: NB#99802 (Hildon touch selector entry not working properly
3662 for some of the input modes)
3664 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3666 * src/hildon-pannable-area.c,
3667 (hildon_pannable_area_init): Added the changed signal handlers of
3670 Fixes: NB#100320 (HildonPannableArea does not listen to
3671 GtkAdjustment "change" signals)
3673 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3675 * doc/hildon-sections.txt
3676 * src/hildon-window-private.h
3677 * src/hildon-window.h
3678 * src/hildon-window.c (hildon_window_init)
3679 (hildon_window_realize, hildon_window_unrealize)
3680 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3681 (hildon_window_size_request, hildon_window_size_allocate)
3682 (hildon_window_forall, hildon_window_show_all)
3683 (hildon_window_destroy, +paint_edit_toolbar)
3684 (+hildon_window_set_edit_toolbar):
3685 New hildon_window_set_edit_toolbar() method, to add a
3686 HildonEditToolbar to a window without having to pack it manually.
3688 Reorganize hildon_window_size_allocate()
3690 * src/hildon-edit-toolbar.c: Update documentation.
3692 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3693 example to use the new API.
3695 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3697 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3699 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3700 Remove from stack before calling parent's hide.
3702 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3704 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3705 window is removed from the middle of the stack, update the
3706 transiency of the previous one.
3708 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3711 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3713 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3714 block/unblock the signal handler if it's not actually being used.
3715 Fixes some critical warnings.
3717 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3719 Based on a patch by Iván Gómez (igomez@igalia.com)
3721 * src/hildon-banner.c
3725 * src/hildon-pannable-area.c
3726 * src/hildon-picker-dialog.c
3727 * src/hildon-wizard-dialog.h
3728 * src/hildon-wizard-dialog.c: Documentation updates.
3730 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3731 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3733 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3735 * configure.ac: post release version bump.
3736 * debian/changelog: version bump.
3738 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3743 * configure.ac: Bump version.
3744 * debian/changelog: Updates.
3746 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3749 a stock icon nor change the relief of the back arrow.
3751 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3752 graphics from theme)
3754 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-button.c (hildon_button_set_alignment): Use
3757 priv->alignment if the button has no child yet.
3759 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3761 * src/hildon-button.c: (hildon_button_init): Set the
3762 button style during initialization to give it the proper
3765 Fixes: NB#99713 (HildonButton value label color is wrong)
3767 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3769 * src/hildon-touch-selector.c: Document
3770 hildon_touch_selector_center_on_selected()
3772 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3774 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3775 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3776 all menu items, but not the menu itself.
3777 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3778 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3779 items after adding them to the menu so keyboard accelerators work.
3780 (hildon_app_menu_show): Don't show the menu if it contains items
3781 but none of them are visible.
3783 * examples/hildon-app-menu-example.c (create_menu): Use
3784 gtk_widget_show_all() to show all menu items.
3786 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3788 * src/hildon-picker-dialog.c:
3789 (-_update_title_on_selector_changed_cb),
3790 (-_dialog_update_title): Removed.
3791 (_select_on_selector_changed_cb), (_on_dialog_response),
3792 (on_selector_columns_changed): Do not update the dialog title.
3793 (setup_interaction_mode): Do not connect to
3794 HildonTouchSelector::changed signal if there's a "done" button, as
3795 the dialog title doesn't need to be updated.
3797 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3800 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3802 Patch by Kristian Rietveld (kris@imendio.com)
3804 * src/hildon-touch-selector.c: (_create_new_column): Use new
3805 GtkTreeView::hildon-row-tapped signal to react to user interactions
3806 instead of ::changed.
3808 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3809 with some dynamic tree model)
3811 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3813 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3814 (+screen_size_changed, +label_size_request)
3815 (hildon_note_class_init): Make the Hildon information note have a
3816 minimum height, and make its text hvae a maximum width.
3818 Fixes: NB#98614 (Hildon information note (background) should have
3819 minimum height and maximum text width)
3821 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3823 * src/hildon-banner.h
3824 * src/hildon-banner.c (hildon_banner_show_information)
3825 (hildon_banner_show_informationf)
3826 (hildon_banner_show_information_with_markup): Update documentation
3827 to reflect that the icon_name parameter is not used anymore.
3828 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3829 Remove all code from these functions and mark them as deprecated.
3830 (hildon_banner_show_progress): Mark as deprecated.
3832 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3834 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3836 * src/hildon-pannable-area.c,
3837 (hildon_pannable_area_class_init),
3838 (tranparency_color),
3839 (hildon_pannable_draw_vscroll),
3840 (hildon_pannable_draw_hscroll),
3841 (hildon_pannable_area_expose_event): Added a new way to render the
3842 scrollbars of the pannable area avoiding using cairo at all. This
3843 way we improve the performance of the pannable area rendering. The
3844 cairo rendering procedure is still in the code, we can control
3845 which one to use changing the value of the define
3846 USE_CAIRO_SCROLLBARS.
3848 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3850 * configure.ac: post release version bump.
3851 * debian/changelog: version bump.
3853 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3858 * configure.ac: Bump version.
3859 * debian/changelog: Updates.
3861 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3863 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3864 banners instead of destroying them when they receive a button
3867 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3869 Reverted commit 34028, it was causing regressions, probably the
3870 topmost condition is not correct, we have to check it in more
3871 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3872 propagation of button press events)
3874 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3877 that the selection is not empty before attempting to retrieve the
3878 current ampm selection.
3880 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3882 * src/hildon-picker-button.c:
3883 (hildon_picker_button_on_dialog_response): Directly update the
3884 button contents when required instead of calling _selection_changed.
3886 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-program.c (hildon_program_update_top_most): Update
3889 'is-topmost' property also when wm_hints is not set.
3891 Fixes: NB#98383 (is-topmost signal is not emitted when task
3892 switcher is clicked.)
3894 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3896 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3900 * src/hildon-animation-actor.c,
3901 * src/hildon-animation-actor.h: Added the animation actor class,
3902 this widget represents an animation actor for WM-assisted
3903 animation effects in the Hildon framework.
3905 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-window-stack-private.h
3908 * src/hildon-window-stack.c
3909 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3910 Avoid calling gtk_widget_show() again indirectly from
3911 hildon_stackable_window_show()
3913 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3915 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3918 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3920 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3921 (hildon_time_selector_init): Move the construction of the hours and
3922 ampm columns to the constructor to preserve the order the columns
3925 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3927 * src/hildon-picker-dialog.c:
3928 (hildon_picker_dialog_class_init): Connect a realize method.
3929 (+hildon_picker_dialog_realize): Setup the interaction mode here
3931 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3932 yet, do it during the realize instead.
3933 (_on_dialog_response):
3934 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3935 if the widget is not realized, to avoid the dialog response before it
3938 Avoid premature responses in the HildonPickerDialog that can cause it
3939 to be hidden before it's even shown.
3941 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3943 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3944 (on_selector_columns_changed), (requires_done_button),
3945 (+prepare_action_area), (setup_interaction_mode),
3946 (_hildon_picker_dialog_set_selector):
3948 Split the interaction mode setup into preparation of the
3949 action area (prepare_action_area()) and the connection of
3950 the signals in setup_interaction_mode() and update the code to
3953 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3955 * src/hildon-pannable-area.c,
3956 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3957 per second to 15, we will check if this is ok regarding
3960 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3962 * src/hildon-pannable-area.c,
3963 (hildon_pannable_axis_scroll): Avoid resize if we already have
3964 reached overshoot_max.
3966 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3968 * src/hildon-pannable-area.c,
3969 (hildon_pannable_area_init),
3970 (hildon_pannable_area_realize),
3971 (hildon_pannable_area_size_allocate),
3972 (hildon_pannable_area_map),
3973 (hildon_pannable_area_unmap),
3974 (hildon_pannable_draw_vscroll),
3975 (hildon_pannable_draw_hscroll),
3976 (hildon_pannable_area_expose_event),
3977 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3978 pannable are to avoid the expose events go to the window and
3979 redraw the window. We save this way that part of the stack and the
3980 paint_boxes. We had to change the positions of the elements when
3983 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3985 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3986 * src/hildon-color-chooser-dialog.c:
3987 (hildon_color_chooser_dialog_init):
3988 * src/hildon-font-selection-dialog.c:
3989 (hildon_font_selection_dialog_init),
3990 (hildon_font_selection_dialog_show_preview):
3991 * src/hildon-get-password-dialog.c:
3992 * src/hildon-login-dialog.c:
3993 * src/hildon-set-password-dialog.c:
3994 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3995 * src/hildon-time-picker.c: (hildon_time_picker_init):
3997 Remove obsolete logical string IDs and update to the appropriate ones.
3999 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4001 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4003 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4004 that happens if the window hasn't been realized yet.
4006 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4007 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4009 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4011 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4012 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4015 Fixes: NB#98537 (Device hangs in account settings dialog)
4017 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4019 * configure.ac: post release version bump.
4020 * debian/changelog: version bump
4022 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4027 * configure.ac: Bump version.
4028 * debian/changelog: Updates.
4030 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4032 Added a new function to the HildonTimeButton widget that allows to
4033 change the step of the minutes in the selector associated with the
4034 button: hildon_time_button_new_step
4036 * src/hildon-time-button.c,
4037 (hildon_time_button_init),
4038 (hildon_time_button_new),
4039 (hildon_time_button_new_step):
4040 * src/hildon-time-button.h: Added the new function and refactored
4042 * examples/hildon-time-button-example.c,
4043 (main): We have replaced the function without parameters with the
4044 function with the steps set to 5
4046 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4048 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4050 * src/hildon-time-selector.c,
4051 (hildon_time_selector_class_init),
4052 (hildon_time_selector_constructor),
4053 (hildon_time_selector_get_property),
4054 (hildon_time_selector_set_property),
4055 (_create_minutes_model),
4056 (hildon_time_selector_new_step),
4057 (hildon_time_selector_set_time),
4058 * src/hildon-time-selector.h: Added a new property to the
4059 HildonTimeSelector (minutes-step), we use that property to control
4060 the steps between the minutes in the list of the selector. We have
4061 added a new function to the API to create a widget changing the
4062 step: hildon_time_selector_new_step.
4064 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4066 * src/hildon-time-selector.c,
4067 (hildon_time_selector_class_init),
4068 (hildon_time_selector_constructor),
4069 (hildon_time_selector_init): Overrided the construct function when
4070 creating the time selector object. We have moved the minutes model
4071 handling code from the init to the new construction function:
4072 hildon_time_selector_constructor.
4074 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4076 * examples/hildon-date-button-example.c: (main): Use the new
4077 hildon_date_button_new_with_year_range() method in the example.
4078 * src/hildon-date-button.c:
4079 (+hildon_date_button_new_with_year_range): New public method
4080 to conveniently create a HildonDateButton with a custom year range
4081 in its HildonDateSelector.
4082 * src/hildon-date-button.h: Add the new public method definition.
4084 Fixes: NB#97908 (Not possible to change the year range in
4085 HildonDateSelector/HildonDateButton)
4087 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4089 * src/hildon-date-selector.c:
4090 (+hildon_date_selector_set_property),
4091 (+hildon_date_selector_get_property),
4092 (hildon_date_selector_class_init): Install new properties "min-year"
4093 and "max-year" to define boundaries for the year column.
4094 (_create_year_model): Use the boundary properties to populate the model.
4095 (+hildon_date_selector_new_with_year_range): New public method to
4096 create a HildonDateSelector with a user defined year range.
4097 (hildon_date_selector_select_current_date): Use the new boundaries to
4098 calculate the iterator of current year.
4099 * src/hildon-date-selector.h: Add the new public method definition.
4101 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4104 Install a constructor method.
4105 (+hildon_date_selector_construct_ui): construct the widget.
4106 (+hildon_date_selector_constructor): new constructor.
4107 (+hildon_date_selector_init): move out widget construction code to
4108 the new constructor.
4110 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4113 that there's actually a month or year selected before obtaining them.
4114 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4115 of the HildonTouchSelector::changed signal, as it was emitted on every
4116 single item selection.
4118 Fix some warnings and possible crashers due to the selection restoring.
4120 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4122 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4123 the signal handlers only after creating the dialog instead of on every
4126 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4128 * src/hildon-button.c (hildon_button_init)
4129 * src/hildon-check-button.c (hildon_check_button_init)
4130 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4131 focus when clicked by default.
4133 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4135 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4138 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4140 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4141 Alejandro G. Castro (alex@igalia.com)
4143 * src/hildon-picker-dialog.c:
4144 (hildon_picker_dialog_class_init): install new "center-on-show"
4146 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4147 (hildon_picker_dialog_set_property): add setter code for the new
4149 (hildon_picker_dialog_get_property): add getter code for the new
4151 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4152 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4155 Fixes: NB#92849 (Selected item is not always visible when
4156 HildonTouchSelector is shown)
4158 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4160 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4161 Alejandro G. Castro (alex@igalia.com)
4163 * src/hildon-touch-selector.c:
4164 (_create_new_column): Do not connect to the "realize" signal of the
4166 (hildon_touch_selector_append_column): center on the selected items
4167 when a new column is appended.
4168 (hildon_touch_selector_select_iter): Factor out the code to select a
4169 column to hildon_touch_selector_scroll_to().
4170 (+search_nearest_element): Method to retrieve the nearest selected
4171 element to the visible area of the pannable area in a column.
4172 (+on_realize_cb): scroll to the initially selected item.
4173 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4174 the pannable area is realized, otherwise delay this until it is.
4175 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4176 selected items of a given column.
4177 (+hildon_touch_selector_center_on_selected): Public method to center
4178 all columns on the nearest selected item.
4179 * src/hildon-touch-selector.h: Add definition for
4180 hildon_touch_selector_center_on_selected().
4182 Implement public API to ensure visibility of all selected items in
4183 a HildonTouchSelector.
4185 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4187 Fixed a problem in the fading when calling the scroll_to API, and
4188 improve scrollbar fading handling.
4190 * src/hildon-pannable-area.c,
4191 (hildon_pannable_area_grab_notify): avoid the timeout when the
4193 (hildon_pannable_area_button_press_cb),
4194 (hildon_pannable_area_motion_notify_cb): Code style changes.
4195 (hildon_pannable_area_button_release_cb): Review the conditions
4196 when releasing the mouse button to avoid unrequired fading
4198 (hildon_pannable_area_scroll_to): Do not calculate and set the
4199 velocity if the scroll is not required.
4201 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4203 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4204 Don't check whether the new selector is NULL: it cannot be.
4205 Hold a reference to the selector while doing the replacement.
4207 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4210 unnecessary size_request in a removed widget.
4212 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4214 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4215 an unnecessary reference tracking that was leaking.
4217 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4219 Added delayed motion notify event handling, this way we can
4220 discard redrawing if more than 25 events arrive per second.
4222 * src/hildon-pannable-area.c,
4223 (hildon_pannable_area_init): Initialized the new private atributes
4224 controlling this timeout
4225 (hildon_pannable_area_dispose): Remove the timeout that controls
4226 the motion notify events.
4227 (hildon_pannable_area_scroll): Added a condition to control the
4228 use of the acceleration.
4229 (hildon_pannable_area_motion_event_scroll_timeout),
4230 (hildon_pannable_area_motion_event_scroll): Added this two
4231 functions, they handle the motion notify events inside the
4233 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4234 to the scroll method with the new function.
4235 (hildon_pannable_area_button_release_cb): We have to remove the
4236 timeout handler and move to the last position if the last motion
4237 events were not handled.
4239 Fixes: NB#97028 (Pannable area updates on every motion event)
4241 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4243 * src/hildon-pannable-area.c,
4244 (hildon_pannable_area_get_topmost): Added a new parameter to
4245 filter the the windows that do not include those events. Added
4246 also a condition when finding the window to filter windows that do
4247 not ask for those events.
4248 (hildon_pannable_area_button_press_cb),
4249 (hildon_pannable_area_button_release_cb),
4250 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4251 topmost function, we have added the new parameter.
4253 Fixes: NB#97458 (Pannable area prevents propagation of button
4256 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4258 * src/hildon-pannable-area.c,
4259 (hildon_pannable_area_initial_effect): Added controls before
4260 launching the timeout and the idle functions.
4261 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4262 of the method, in some situations it can return with TRUE and 0 in
4264 (hildon_pannable_area_button_press_cb): We do not need to set
4265 DELAY for fading out here.
4267 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4269 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4271 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4272 post-cleaning if the selection is not NULL.
4274 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4276 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4277 all items before restoring the selection.
4279 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4281 * src/hildon-touch-selector.c:
4282 (+hildon_touch_selector_unselect_all):
4283 * src/hildon-touch-selector.h: New API to unselect all items in a
4284 column of the touch selector.
4286 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4288 * src/hildon-pannable-area.c,
4289 (hildon_pannable_area_redraw): Added a call to the refresh
4290 function inside the redraw because apparently in some cases the
4291 change in the adjustment does not imply a size allocate.
4293 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4294 despite the view not being scrollable)
4296 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4298 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4299 leak. Check for NULL before attempting to set the window title.
4301 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4303 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4304 whether to show or not the 'Done' button each time the dialog is
4305 shown, as it depends on the HildonTouchSelector selection mode.
4307 Fixes: NB#96226 (In multiple selection mode Done button is shown
4308 sometimes in listpicker)
4310 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4312 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4313 for the number of columns in the HildonTouchSelector more than once.
4315 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4317 * src/hildon-touch-selector.c: Minor documentation fixes.
4319 * src/hildon-picker-dialog.c (+_dialog_update_title)
4320 (_select_on_selector_changed_cb)
4321 (_update_title_on_selector_changed_cb)
4322 (on_selector_columns_changed): Update dialog title when there's no
4323 'Done' button and also when the number of columns in the selector
4327 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4328 (+_selection_changed, hildon_picker_button_on_dialog_response)
4329 (hildon_picker_button_selector_selection_changed)
4330 (+hildon_picker_button_selector_columns_changed)
4331 (hildon_picker_button_set_selector): Update button value and emit
4332 'value-changed' when the number of columns in the selector
4336 Fixes: NB#96225 (Dialog titles are not shown according to the
4337 values selected in the list picker)
4339 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4341 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4342 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4343 New "arrow-width" and "arrow-height" style properties to set the
4344 size of the arrow button.
4345 Set name of arrow button ("hildon-edit-toolbar-arrow").
4347 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4348 graphics from theme)
4350 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4352 * src/hildon-picker-button.c:
4353 (hildon_picker_button_selector_selection_changed): Use
4354 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4355 the dialog is present.
4357 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4358 the selection is accepted in the dialog)
4360 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4362 * src/hildon-color-chooser.h
4363 * src/hildon-color-chooser-dialog.h:
4364 Added G_BEGIN_DECLS and G_END_DECLS
4366 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4368 (_clean_current_selection): plug a leak in the list.
4370 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-picker-dialog.c:
4373 (+free_path_list): Method to free a GList of GtkTreePaths.
4374 (_clean_current_selection), (_save_current_selection),
4375 (_restore_current_selection): Save the current selection in
4376 as a list of lists, to support multiple selection properly.
4378 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4380 patch by Claudio Saavedra (csaavedra@igalia.com)
4382 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4383 Store the press position.
4384 (+hildon_text_view_button_release_event): If the release position is
4385 close enough to the press position, move the cursor here. Otherwise,
4387 (hildon_text_view_class_init): Override GtkTextView press, release, and
4388 motion event handlers, disabling this way text selection through
4389 pointer interaction, and allowing the container widget to handle the
4392 Fixes: NB#95828 (HildonTextView functionality)
4394 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4396 Based on a patch by Iván Gómez (igomez@igalia.com)
4398 * src/hildon-button.[ch]
4399 * src/hildon-calendar.c
4400 * src/hildon-check-button.c
4401 * src/hildon-date-editor.c
4402 * src/hildon-date-selector.c
4403 * src/hildon-picker-button.c
4404 * src/hildon-time-editor.c
4405 * src/hildon-time-selector.c
4406 * src/hildon-touch-selector.[ch]:
4407 Documentation updates
4409 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4411 * src/hildon-pannable-area.c,
4412 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4413 threshold, it was required due to X events handling.
4415 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4417 * src/hildon-pannable-area.c,
4418 (hildon_pannable_area_grab_notify),
4419 (hildon_pannable_area_initial_effect),
4420 (hildon_pannable_area_button_press_cb),
4421 (hildon_pannable_area_button_release_cb),
4422 (hildon_pannable_area_scroll_cb),
4423 (hildon_pannable_area_scroll_to): Review the timeout management of
4424 the scrollbar, the frecuency was incorrectly set.
4426 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4428 * src/hildon-picker-button.c:
4429 (+hildon_picker_button_on_dialog_response),
4430 (hildon_picker_button_clicked): Present the dialog instead of
4431 running it with gtk_dialog_run().
4433 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4436 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4438 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4439 (hildon_app_menu_finalize): When a window is hidden it doesn't
4440 emit notify::is-topmost, so make sure than the menu also
4441 disappears in that case.
4442 (parent_window_topmost_notify): Renamed from parent_window_hidden
4444 Fixes: NB#94460 (stackable window's menu is not closed when its
4447 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4449 * src/hildon-touch-selector-entry.c:
4450 (+hildon_touch_selector_entry_set_input_mode),
4451 (+hildon_touch_selector_entry_get_input_mode):
4452 * src/hildon-touch-selector-entry.h: New methods to access the input
4453 mode in the selector's entry.
4455 Fixes: NB#93410 (API required for setting IM mode in
4456 HildonTouchSelectorEntry)
4458 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4460 * configure.ac: post release version bump.
4461 * debian/changelog: version bump
4463 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4468 * configure.ac: Bump version.
4469 * debian/changelog: Updates.
4471 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4473 * src/hildon-touch-selector.c:
4474 (_hildon_touch_selector_has_multiple_selection): No need
4475 to initialize the variables here.
4477 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4479 * src/hildon-note-private.h
4480 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4481 (hildon_note_finalize, hildon_note_rebuild): Close information
4482 notes when they receive a button press.
4484 Fixes: NB#89890 (Information notes does not get disappeared after
4487 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4489 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4490 mark from the wizard title, as it's not really necessary. Also,
4491 do not display the page title if not set.
4493 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4495 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4496 (parent_window_hidden): Use the window's "is-topmost" property to
4497 detect when to hide the menu.
4499 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4501 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4502 (hildon_app_menu_finalize): If the parent window of the menu is
4503 hidden, hide the menu too.
4505 Fixes: NB#94460 (stackable window's menu is not closed when its
4508 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4511 * debian/libhildon1-examples.install
4513 * examples/Makefile.am:
4514 Use dh_install to install all examples.
4515 Use DEB_SRCDIR instead of defining SOURCE_DIR
4517 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4519 * configure.ac: post release version bump.
4520 * debian/changelog: version bump
4522 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4527 * configure.ac: bump version
4528 * debian/changelog: updates
4529 * debian/control: bump gtk+ dependency
4531 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4533 patch by Christian Dywan (christian@imendio.com)
4535 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4536 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4538 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4540 * src/hildon-check-button.c (hildon_check_button_init)
4541 (hildon_check_button_class_init, hildon_check_button_style_set)
4542 (hildon_check_button_apply_style):
4543 New "checkbox-size" style property.
4545 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4546 larger / configurable size)
4548 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4550 * configure.ac: post release version bump.
4551 * debian/changelog: version bump
4553 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4558 * configure.ac: bump version
4559 * debian/changelog: updates
4561 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4563 * doc/hildon-sections.txt
4564 * src/hildon-pannable-area.c
4565 * src/hildon-program.c
4566 * src/hildon-time-editor.c
4567 * src/hildon-touch-selector-entry.c:
4569 More documentation updates.
4571 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4573 * doc/hildon-sections.txt
4574 * src/hildon-caption.c
4575 * src/hildon-code-dialog.c
4576 * src/hildon-color-button.c
4577 * src/hildon-controlbar.c
4578 * src/hildon-date-editor.c
4579 * src/hildon-date-selector.c
4580 * src/hildon-edit-toolbar.c
4581 * src/hildon-find-toolbar.c
4582 * src/hildon-font-selection-dialog.c
4584 * src/hildon-program.c
4585 * src/hildon-range-editor.c
4586 * src/hildon-seekbar.c
4587 * src/hildon-time-editor.c
4588 * src/hildon-time-selector.c
4589 * src/hildon-volumebar-range.c
4590 * src/hildon-volumebar.c
4591 * src/hildon-vvolumebar.c
4592 * src/hildon-weekday-picker.c
4593 * src/hildon-window.c
4594 * src/hildon-wizard-dialog.c:
4596 Lots of documentation fixes.
4598 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4600 Patch contributed by Iván Gómez (igomez@igalia.com)
4602 * src/hildon-check-button.c:
4603 * src/hildon-date-button.c:
4604 * src/hildon-date-selector.c:
4605 * src/hildon-dialog.c:
4606 * src/hildon-edit-toolbar.c:
4607 * src/hildon-entry.c:
4608 * src/hildon-picker-button.c:
4609 * src/hildon-program.c:
4610 * src/hildon-text-view.c:
4611 * src/hildon-time-button.c:
4612 * src/hildon-touch-selector-entry.c:
4613 * src/hildon-window-stack.c:
4615 Add more "since" tags to the new API.
4617 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4619 * doc/hildon-sections.txt: Add below method.
4620 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4621 version for the hildonized scale.
4622 * src/hildon-gtk.h: Add the definition.
4624 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4626 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4628 * doc/hildon-sections.txt: Add missing entries for new methods.
4630 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4632 Added API to pannable are in order to get its adjustments. We
4633 added two properties to manage the values we had in the private
4636 * src/hildon-pannable-area.c:
4637 (hildon_pannable_area_class_init): Added hadjustment and
4638 vadjustment properties in order to expose horizontal and vertical
4640 (hildon_pannable_area_get_property),
4641 (hildon_pannable_area_set_property): Added code to handle the new
4643 (hildon_pannable_area_get_hadjustment),
4644 (hildon_pannable_area_get_vadjustment): API functions to get the
4646 * src/hildon-pannable-area.h:
4647 (hildon_pannable_area_get_hadjustment),
4648 (hildon_pannable_area_get_vadjustment): API functions to get the
4651 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4653 Fixed some leaks, after valgrinding.
4655 * src/hildon-touch-selector.c:
4656 (_default_print_func): Fixed a leak.
4657 (hildon_touch_selector_append_column): Fixed a leak.
4658 * src/hildon-date-button.c:
4659 (hildon_date_button_init): Fixed a leak.
4660 * src/hildon-date-selector.c
4661 (hildon_date_selector_finalize): Fixed a leak.
4663 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4665 Based on a patch by Christian Dywan (christian@imendio.com)
4667 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4669 * src/hildon-gtk.h: Add definition.
4671 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4673 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4675 * src/hildon-picker-button.c: (hildon_picker_button_init),
4676 (hildon_picker_button_new): Set the HildonButton::style property
4677 in the init method, to propagate the value to the derived classes.
4679 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4681 * src/hildon-button.c: (hildon_button_class_init): Do not make
4682 the "style" property a construct property.
4684 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4686 * src/hildon-wizard-dialog.h
4687 * src/hildon-wizard-dialog.c
4688 (hildon_wizard_dialog_set_forward_page_func)
4689 * src/hildon-pannable-area.h
4690 * src/hildon-pannable-area.c
4691 (hildon_pannable_area_set_size_request_policy):
4692 Documentation fixes.
4694 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4696 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4698 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4700 * doc/hildon-sections.txt: Added sections file.
4702 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4705 * src/*.[ch]: Updates.
4707 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4709 * examples/hildon-progress-indicator-example.c: new file
4710 * examples/Makefile.am: include the new example program
4712 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4716 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4718 * configure.ac: post release version bump
4719 * debian/changelog: version bump
4721 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4726 * configure.ac: bump version
4727 * debian/changelog: updates
4728 * debian/control: bump gtk+ dependency
4730 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4732 * src/hildon-dialog.c: Mark as deprecated.
4733 * src/hildon-dialog.h: Mark as deprecated.
4734 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4735 from HildonDialog and still work, even if
4736 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4737 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4739 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4740 maemo changes) instead)
4742 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4744 * src/hildon-pannable_area.h:
4745 * src/hildon-pannable_area.c:
4746 (hildon_pannable_area_class_init),
4747 (hildon_pannable_area_set_property),
4748 (hildon_pannable_area_get_property),
4749 (hildon_pannable_area_size_request),
4750 (hildon_pannable_area_get_size_request_policy),
4751 (hildon_pannable_area_set_size_request_policy): Added new API
4752 allowing applications to control the request policy. Now they can
4753 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4754 children allocation (HILDON_MOVEMENT_CHILDREN).
4756 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4760 (hildon_gtk_tree_view_set_ui_mode)
4761 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4762 mode of treeviews and iconviews.
4764 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4766 * src/hildon-touch-selector-entry.c:
4767 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4768 of a GtkEntry to get proper theming.
4770 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4771 widget, not GtkEntry)
4773 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4776 no HildonWizardDialogPageFunc.
4778 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4780 Patch contributed by Iván Gómez (igomez@igalia.com)
4782 * src/hildon-app-menu.c:
4783 * src/hildon-button.c:
4784 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4785 * src/hildon-stackable-window.c:
4786 * src/hildon-time-selector.c:
4787 * src/hildon-touch-selector.c:
4788 * src/hildon-window.c:
4790 Add more "since" tags to the new API in hildon 2.2.
4792 2008-12-05 Tim Janik <timj@imendio.com>
4794 Patch contributed by Christian Dywan (christian@imendio.com)
4796 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4797 HildonSizeType, which are supplied by Gtk+ now.
4799 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4801 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4802 (with maemo changes) instead)
4804 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4806 Patch contributed by Iván Gómez (igomez@igalia.com)
4808 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4811 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4813 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4814 (some_page_func), (main): Update the example to use a
4815 HildonWizardDialogPageFunc function.
4817 * src/hildon-wizard-dialog-private.h: Add private data for
4818 the HildonWizardDialogPageFunc function usage.
4820 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4821 (destroy), (hildon_wizard_dialog_init), (response),
4822 (hildon_wizard_dialog_set_forward_page_func):
4823 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4824 that applications can use to stop a HildonWizardDialog to jump to
4827 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4830 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4832 * src/hildon-program.h
4833 * src/hildon-program-private.h
4834 * src/hildon-program.c (hildon_program_init)
4835 (hildon_program_set_common_app_menu)
4836 (hildon_program_get_common_app_menu):
4837 New API for setting a common HildonAppMenu for all
4838 HildonStackableWindows registered with the HildonProgram.
4840 * src/hildon-stackable-window.c
4841 (hildon_stackable_window_toggle_menu):
4842 Use the common HildonAppMenu if a window doesn't have a specific
4845 * src/hildon-app-menu-private.h
4846 * src/hildon-app-menu.c
4847 (hildon_app_menu_get_parent_window):
4848 Function to obtain the window a HildonAppMenu is attached to.
4849 (hildon_app_menu_set_parent_window):
4850 Hide the menu if the parent window is set to NULL.
4852 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4855 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4856 search widget to popup.
4858 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4860 * configure.ac: post release version bump
4861 * debian/changelog: version bump
4863 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4868 * configure.ac: bump version
4869 * debian/changelog: updates
4871 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4873 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4875 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4876 (hildon_window_stack_window_realized)
4877 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4878 Set the leader GdkWindow when a window is stacked and realized,
4879 unset it when it's unstacked.
4880 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4882 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4884 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4886 * src/hildon-stackable-window.h
4887 * src/hildon-window-stack.h:
4888 Protect definition of HildonWindowStack using the preprocessor.
4890 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4892 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4893 Fix warning if all menu items are hidden.
4895 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4897 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4899 * src/hildon-controlbar.c:
4900 * src/hildon-hvolumebar.c:
4901 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4902 Multiple scale size defines updates.
4904 Fixes: NB#94322 (Scale Updates)
4906 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4908 * examples/hildon-app-menu-example.c (create_menu)
4909 Show items after adding them to the menu, as in the future the
4910 menu will no longer call gtk_widget_show() on the added items.
4912 * src/hildon-app-menu.c:
4913 Update example as explained above.
4915 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-app-menu.c
4918 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4919 Make sure that all menu items have finger height.
4921 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4923 * src/hildon-picker-dialog.c:
4924 (_on_dialog_response), (_save_current_selection),
4925 (_restore_current_selection), (_clean_current_selection),
4926 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4927 Defined new functions in order to save the current internal selector
4928 selection previous open the dialog, in case that the use cancel the
4929 interaction, so the widget restores the previous selection.
4931 Fixes: NB#92032 (In calendar application, date values in 'new event'
4934 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4936 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4938 * src/hildon-button.c: Add a reference to the button examples in
4939 hildon-button-example.c
4941 * examples/hildon-button-example.c: Added examples of the most
4942 common button layouts.
4944 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4946 * src/hildon-app-menu.c (hildon_app_menu_show)
4947 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4949 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4951 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4953 * src/hildon-picker-dialog.c:
4954 (hildon_picker_dialog_init): Initialize the signal id for
4955 HildonTouchSelector::columns-changed.
4956 (+on_selector_columns_changed): Set up the interaction mode everytime a
4957 column is added or removed from the HildonTouchSelector.
4958 (_hildon_picker_dialog_set_selector): Connect to
4959 HildonTouchSelector::columns-changed and keep track of it.
4961 Make sure to update the interaction mode of the dialog everytime a
4962 column is added or removed in the HildonTouchSelector.
4964 Fixes: NB#93228 (Done button is not shown always in listpicker)
4966 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4968 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4969 a new ::columns-changed signal.
4970 (hildon_touch_selector_append_column): Emit ::columns-changed.
4971 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4973 Add a ::columns-changed signal, emitted when the number of columns in a
4974 HildonTouchSelector changes.
4976 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4978 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4979 (_hildon_picker_dialog_set_selector): Factor out the code
4980 to set up the dialog interaction mode.
4982 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4984 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4985 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4986 to signal_changed_id.
4988 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4990 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4993 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4995 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4996 Updated the logical ids related to ampm format, as now it is required to
4997 show it correctly localized even on languages with no default
4998 abbreviations for am or pm
4999 (_check_am_pm_format): check correctly the 24h format gconf property
5001 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5003 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-button.c: Documentation updates.
5007 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5009 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5010 * src/hildon-caption.c: (hildon_caption_class_init):
5011 * src/hildon-color-button.c: (hildon_color_button_class_init):
5012 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5013 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5014 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5015 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5017 Remove deprecated GTK+ marshalers and replace them with the ones
5018 provided by GLib, for those available, add a marshaler for
5019 BOOLEAN:VOID, which is not available in GLib, and use it.
5021 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5023 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5024 the text from the previous column if there is no
5025 HildonTouchSelectorColumn::text-property set.
5027 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5029 * src/hildon-button.h
5030 * src/hildon-button.c (hildon_button_set_property)
5031 (hildon_button_get_property, hildon_button_class_init)
5032 (hildon_button_set_style, hildon_button_get_style):
5033 New "style" property to change the visual appearance of the
5036 * src/hildon-picker-button.c (hildon_picker_button_new):
5037 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5039 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5040 HildonButton look like PickerButton)
5042 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5044 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5045 column while building the default string.
5047 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5049 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5050 scroll indicator by default.
5052 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5054 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5056 * src/hildon-main.c: Fix the documentation for hildon_init()
5058 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5060 * doc/hildon-docs.sgml
5064 * src/hildon-window-stack-private.h
5065 * src/hildon-window-stack.h
5066 * src/hildon-window-stack.c:
5067 New HildonWindowStack object, that adds support for multiple
5068 stacks of windows per process.
5070 * src/hildon-stackable-window-private.h
5071 * src/hildon-stackable-window.h
5072 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5073 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5074 (hildon_stackable_window_show, hildon_stackable_window_hide)
5075 (hildon_stackable_window_class_init)
5076 (hildon_stackable_window_init):
5077 Use HildonWindowStack for stack management.
5079 * src/hildon-program.c (hildon_program_pop_window_stack)
5080 (hildon_program_peek_window_stack)
5081 (hildon_program_go_to_root_window):
5082 Add a fallback implementation to the deprecated functions using
5085 * examples/hildon-stackable-window-example.c:
5086 Use the new HildonWindowStack API.
5088 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5090 * src/hildon-stackable-window-private.h
5091 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5092 (hildon_stackable_window_hide, hildon_stackable_window_init):
5093 Remove all window stack management.
5095 * src/hildon-program-private.h
5096 * src/hildon-program.h
5097 * src/hildon-program.c (hildon_program_init)
5098 (hildon_program_pop_window_stack)
5099 (hildon_program_peek_window_stack)
5100 (hildon_program_go_to_root_window):
5101 Remove all window stack management and mark functions as
5104 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5106 * src/hildon-app-menu.c (hildon_app_menu_realize):
5107 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5109 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5111 * configure.ac: post release version bump
5112 * debian/changelog: version bump
5114 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5119 * configure.ac: bump version
5120 * debian/changelog: updates
5122 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5124 Based on initial code by Christian Dywan (christian@imendio.com)
5126 * doc/hildon-docs.sgml: Add section for hildon-main.
5127 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5128 * src/Makefile.am: Add new hildon-main.[ch]
5129 * src/hildon-defines.h: Update the icon sizes.
5130 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5131 new library initialization files and register icon sizes.
5132 * src/hildon-main.h: New declarations.
5133 * src/hildon.h: Include hildon-main.h
5135 Add new initialization functions to the library. These methods
5136 will register the hildon specific icon sizes and can be used in the
5137 future for other hildon specific bits.
5139 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5141 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5143 * src/hildon-window.c: (hildon_window_realize),
5144 (hildon_window_notify), (-hildon_window_update_title): Do not set
5145 the application name in the window title.
5147 Fixes: NB#89754 (Applications shouldn't display their names in the
5150 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5152 * src/hildon-note-private.h:
5153 * src/hildon-note.c: (hildon_note_set_property),
5154 (hildon_note_get_property), (hildon_note_class_init),
5155 (hildon_note_init), (hildon_note_finalize),
5156 (hildon_note_new_confirmation_with_icon_name),
5157 (hildon_note_new_information_with_icon_name):
5159 No need to mark as deprecated the actual code. Revert
5160 to avoid missing symbols in widgets using deprecated API.
5162 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5164 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5166 * src/hildon-volumebar.h
5167 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5168 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5170 * src/hildon-helper.h
5171 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5172 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5174 * examples/Makefile.am:
5175 Deprecate hildon-insensitive-example
5177 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5179 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5181 * examples/hildon-pannable-area-buttons-scroll-example.c:
5182 Make all buttons finger height
5184 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5186 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5188 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5189 update the day model only if it is really required, and to avoid the
5190 full-reconstruction aproach. Now it only add or remove the required days.
5192 The purpose of this is avoid superfluous HildonTouchSelector::changed
5195 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5196 with strange parameters)
5198 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5200 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5202 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5203 the WINDOW_TYPE property.
5205 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5207 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5210 Fix dependency to allow parallel compilation with make -jX
5212 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5214 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5215 color frame and some minor tweaks to make it more consistent with
5218 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5219 highlighted but not visible)
5221 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5223 * examples/Makefile.am: Fixed typo in the Makefile.am.
5225 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5227 Reviewed the use of MAEMO_GTK define, now we add the define in the
5228 compilation line, and we also add it to the pc file.
5230 * configure.ac: Added MAEMO_GTK define to the compilation command
5231 and removed it from the config.h.
5233 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5234 do not have to take care about this define if the library was
5238 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5240 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5242 * examples/Makefile.am,
5243 * examples/hildon-pannable-area-buttons-scroll-example.c,
5244 * examples/hildon-pannable-area-gesture-signals-example.c,
5245 * examples/hildon-pannable-area-scroll-jump-example.c,
5246 * examples/hildon-pannable-area-tree-view-example.c:
5247 Renamed the pannable area examples, now they have more meaningful
5250 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5252 * src/hildon-touch-selector.c:
5253 (hildon_touch_selector_set_column_selection_mode): Used of
5254 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5255 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5256 to avoid re-seting the same selection mode.
5258 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5259 breaks HildonPickerDialog)
5261 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5263 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5264 conditional in the Makefile.am
5266 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5268 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5269 Remove unused methods.
5271 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5273 * src/hildon-button.c (hildon_button_init):
5274 Make button images center-aligned by default
5276 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5279 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5280 activated, we have to think about how to deal with both defines
5281 MAEMO_GTK and MAEMO_CHANGES.
5283 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5285 * examples/hildon-app-menu-example.c (create_menu): Make all
5286 buttons finger size.
5288 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5290 Fixed the compilation without maemo gtk adding ifdefs with
5291 MAEMO_GTK define to the code, we have to check this version more
5294 * examples/Makefile.am: Added control to avoid some examples that
5295 just make sense with maemo gtk.
5298 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5299 hildon modes with the define.
5301 * examples/hildon-edit-toolbar-example.c,
5302 (create_icon_view): Create the icon view without hildon-gtk
5303 helpers if we are not using maemo gtk.
5305 * src/hildon-touch-selector.c,
5306 (_create_new_column): Create the treeview without hildon-gtk
5307 helpers if we are not using maemo gtk.
5309 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5311 * src/hildon-pnnable-area.c,
5312 (hildon_pannable_area_dispose),
5313 (hildon_pannable_area_button_press_cb),
5314 (hildon_pannable_area_child_mapped),
5315 (hildon_pannable_area_add),
5316 (hildon_pannable_area_remove): Added code to control the position
5317 of the event_window when adding and removing children from the
5318 pannable. We have to raise the event window when the child is
5321 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5322 selection mode using custom widget inside pannable)
5324 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5326 * configure.ac: post release version bump
5327 * debian/changelog: version bump
5329 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5334 * configure.ac: bump version
5335 * debian/changelog: updates
5337 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5339 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5340 search mode, in order to avoid lose the focus on the treeview when
5341 a hw key (like enter) is pressed.
5343 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5344 in HildonDateSelector dialog)
5346 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5348 * debian/rules: Added --enable-maintainer-mode
5349 * Makefile.am: Added ACLOCAL_AMFLAGS
5351 This allows to properly regenerate the Makefiles if you modify the
5352 configure.ac or any Makefile.am.
5354 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5356 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5357 properties, not needed at all.
5359 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5361 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5363 * src/hildon-note.c: (hildon_note_set_property),
5364 (hildon_note_get_property), (hildon_note_class_init),
5365 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5366 (hildon_note_new_confirmation_add_buttons): Remove icons.
5367 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5368 (hildon_note_new_information_with_icon_name): Deprecate.
5369 (hildon_note_new_confirmation): Act directly, without calling
5370 the deprecated constructor.
5371 (hildon_note_new_information): Act directly, without calling
5372 the deprecated constructor.
5373 * src/hildon-note.h: Mark deprecate methods as such.
5374 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5375 not run tests on the deprecated methods if built with deprecation
5378 Fixes: NB#91688 (Never show icons in information notes/confirmation
5381 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5383 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5384 (hildon_app_menu_key_press): Remove leftover usage of the
5385 private structure in HildonAppMenu struct.
5386 * src/hildon-app-menu.h: Remove leftover private structure
5387 from the HildonAppMenu struct.
5389 Fixes a crasher when using the HildonAppMenu.
5391 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5393 * src/hildon-picker-dialog.c: Use appropriate logical id
5394 for the default "Done" text.
5396 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5398 * configure.ac: post release version bump
5399 * debian/changelog: version bump
5401 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5403 Modified the way to scroll to the current selection just when the touch
5404 selector is shown on the screen, avoiding a g_idle. Added too a property
5405 to configure this behaviour. See hildon_pannable_area_jump_to_child
5406 documentation for more information.
5408 * src/hildon-touch-selector.c
5409 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5410 Added 'initial-scroll' property
5411 (hildon_touch_selector_set_property): Added
5412 (hildon_touch_selector_map): Removed as not required anymore
5413 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5414 only a concrete column, instead of iterate along all the columns
5416 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5421 * configure.ac: bump version
5422 * debian/changelog: updates
5424 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5426 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5427 compilation time warnings.
5429 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5431 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5432 the default value for HildonPannableArea::mov-mode to
5433 HILDON_PANNABLE_AREA_MODE_VERT.
5435 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5437 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5439 Reverting following commit:
5441 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-app-menu-private.h
5444 * src/hildon-app-menu.[ch]
5445 * src/hildon-button.[ch]
5446 * src/hildon-check-button.[ch]
5447 * src/hildon-entry.[ch]
5448 * src/hildon-pannable-area.[ch]
5449 * src/hildon-text-view.[ch]:
5450 Added private field to the object's structure.
5452 because it causes an ABI breakage. We will need to introduce these
5453 changes later at some point. See NB#91636 for an extensive
5454 explanation and status.
5456 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5458 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5460 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5461 remove special cases that are no longer necessary.
5463 Fixes: NB#91016 (Change toolbar sizes, simplification)
5465 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5467 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5468 is shown in the cancel note.
5470 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5472 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5473 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5474 (hildon_seekbar_init): Remove steppers, remove expose event.
5475 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5477 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5479 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5481 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5482 label font to "SmallSystemFont" for vertically arranged buttons.
5484 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5487 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-check-button.c
5490 (hildon_check_button_set_active, hildon_check_button_clicked):
5491 Don't access private parts directly, use getters instead.
5493 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5495 * src/hildon-check-button.c (hildon_check_button_new):
5496 Align the contents of the check button to the left.
5498 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5500 * src/hildon-pannable-area.c,
5501 (hildon_pannable_area_scroll_to),
5502 (hildon_pannable_area_jump_to),
5503 (hildon_pannable_area_scroll_to_child),
5504 (hildon_pannable_area_jump_to_child): Replace the mapped
5505 precondition of these functions with the realized, it is the
5506 correct state of the widget in this case. Changed the
5507 documentation according to this modification.
5509 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5511 Added a new EXTRA_CFLAGS option to add the deprecated define to
5512 the compilation command. This way we can avoid using the define in
5513 the documentation compilation.
5515 * configure.ac: Defined EXTRA_CFLAGS.
5517 * examples/Makefile.am:
5519 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5521 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5523 * src/hildon-picker-dialog.c:
5524 Defined a utility macro with the desired touch selector height
5525 Removed currently unused separator, and title_label variables from
5527 (hildon_picker_dialog_init): Removed code related to the creation
5528 of unused private variables title_label and separator.
5529 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5530 to ensure correct visualization of the touch selector inside the dialog.
5531 * src/hildon-touch-selector.c
5532 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5533 ensure a concrete height of the widget.
5535 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5538 * tests/Makefile.am:
5540 Remove spurious whitespaces.
5542 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5544 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5545 compilation warning after the cancel button removal.
5547 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5549 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5551 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5552 Makefile.am, that way we can choose not to compile some examples
5553 and tests of the deprecated widgets.
5555 * examples/Makefile.am: Divided the sources in deprecated and
5558 * src/Makefile.am: Added undef statement of the deprecated
5559 symbol to the enums file generation process.
5561 * src/hildon-color-chooser-dialog.c
5562 * src/hildon-color-chooser-dialog.h
5563 * src/hildon-color-button.c
5564 * src/hildon-color-button.h
5565 * src/hildon-color-chooser.c
5566 * src/hildon-color-chooser.h
5567 * src/hildon-controlbar.c
5568 * src/hildon-controlbar.h
5569 * src/hildon-date-editor.c
5570 * src/hildon-date-editor.h
5571 * src/hildon-hvolumebar.c
5572 * src/hildon-hvolumebar.h
5573 * src/hildon-private.c
5574 * src/hildon-private.h
5575 * src/hildon-range-editor.c
5576 * src/hildon-range-editor.h
5577 * src/hildon-seekbar.c
5578 * src/hildon-seekbar.h
5579 * src/hildon-time-editor.c
5580 * src/hildon-time-editor.h
5581 * src/hildon-time-picker.c
5582 * src/hildon-time-picker.h
5583 * src/hildon-volumebar.c
5584 * src/hildon-volumebar.h
5585 * src/hildon-vvolumebar.c
5586 * src/hildon-vvolumebar.h
5587 * src/hildon-bread-crumb-trail.h
5588 * src/hildon-bread-crumb-trail.c
5589 * src/hildon-calendar-popup.c
5590 * src/hildon-calendar-popup.h
5591 * src/hildon-weekday-picker.c:
5592 * src/hildon-weekday-picker.h:
5593 * src/hildon-bread-crumb-widget.c:
5594 * src/hildon-bread-crumb-widget.h:
5595 * src/hildon-bread-crumb.c:
5596 * src/hildon-bread-crumb.h:
5597 * src/hildon-calendar.c:
5598 * src/hildon-calendar.h:
5599 * src/hildon-caption.c:
5600 * src/hildon-code-dialog.c:
5601 * src/hildon-code-dialog.h:
5602 * src/hildon-font-selection-dialog.c:
5603 * src/hildon-font-selection-dialog.h:
5604 * src/hildon-get-password-dialog.c:
5605 * src/hildon-get-password-dialog.h:
5606 * src/hildon-login-dialog.c:
5607 * src/hildon-login-dialog.h:
5608 * src/hildon-number-editor.c:
5609 * src/hildon-number-editor.h:
5610 * src/hildon-set-password-dialog.c:
5611 * src/hildon-set-password-dialog.h:
5612 * src/hildon-sort-dialog.c:
5613 * src/hildon-sort-dialog.h: This is the list of deprecated
5616 * src/hildon-touch-selector.c:
5617 * src/hildon-window.c: Added undef statement to avoid compilation
5620 * tests/Makefile.am: Divided the sources in deprecated and
5623 * tests/check_test.c,
5624 (configure_tests): Marked the deprecated code that was adding
5625 suites with deprecated tests.
5627 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5629 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5631 * src/hildon-touch-selector.c: (_default_print_func): Do not
5632 duplicate a string returned by gtk_tree_model_get(), it is already
5635 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5638 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5640 * src/hildon-pannable-area.c
5641 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5642 method, it had problems when adding a widget with viewport the
5643 second time. Now checks if it already has a viewport and uses it.
5645 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5648 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5650 * src/hildon-pannable-area.c,
5651 (hildon_pannable_area_scroll_to),
5652 (hildon_pannable_area_jump_to),
5653 (hildon_pannable_area_scroll_to_child),
5654 (hildon_pannable_area_jump_to_child): Added a precondition to the
5655 scroll and jump to functions: the widget must be mapped before we
5656 can safely call these functions. We have also added documentation
5657 to the functions to explain how to use them in this situation.
5660 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5662 Reviewed the threading handling of the pannable widget, we have
5663 used the gdk_threads_add_timeout function instead of the usual
5664 glib handlers. This avoids some problems with the threads.
5666 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5667 (hildon_pannable_area_initial_effect),
5668 (hildon_pannable_area_scroll_indicator_fade),
5669 (hildon_pannable_area_button_press_cb),
5670 (hildon_pannable_area_timeout),
5671 (hildon_pannable_area_motion_notify_cb),
5672 (hildon_pannable_area_button_release_cb),
5673 (hildon_pannable_area_scroll_cb),
5674 (hildon_pannable_area_scroll_to): Removed the
5675 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5676 gdk_threads_add_timeout.
5678 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5680 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5685 * configure.ac: bump version
5686 * debian/changelog: updates
5688 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5690 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5691 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5692 * src/hildon-color-chooser-dialog.c:
5693 (hildon_color_chooser_dialog_init):
5694 * src/hildon-font-selection-dialog.c:
5695 (hildon_font_selection_dialog_init):
5696 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5698 Remove all cancel/close-like dialogs, as these are not going to be
5701 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5703 * src/hildon-note.c: (hildon_note_rebuild),
5704 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5707 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5709 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5711 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5712 sure all buttons are shown, even the Cancel/Close-like ones.
5714 Fixes: NB#90861 (Custom Confirmation dialogs should be
5715 protected from cancel button removal)
5717 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5719 * debian/control: Change libhildon1-examples dependency from libhildon1
5721 * debian/libhildon1-examples.install
5723 * Makefile.am: Modified the final install directory for the examples on
5724 package libhildon1-examples
5725 * Makefile.static: Update clean target in order to remove all the binary
5728 Changes suggested by Claudio after review new libhildon1-examples package
5730 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5732 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5733 * src/hildon-touch-selector.c: Ditto.
5735 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5737 * debian/control: Added new package libhildon1-examples, in order to pack
5738 the current hildon examples as documentation
5739 * debian/rules: Not to compress .c files, modify some includes on the
5740 examples (as normally are compiled locally, but when installed it will
5741 require to include the installed libhildon1 library), and rename
5743 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5744 install all the example files on the new example package
5745 * examples/Makefile.static: Added static makefile that can be used to
5746 compile the examples, once installed the new example package
5747 * examples: Most of the examples were modified in order to grant that
5748 all use only '#include "hildon.h"', in order to be easy to prepare
5749 it on the example package
5751 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5754 * debian/libhildon1-dev.install
5755 * debian/libhildon1-doc.install:
5756 Move all gtk-doc files to a separate libhildon1-doc package.
5758 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5760 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5762 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5764 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5766 * debian/rules: Fixed a error in order to avoid unnecessary calls
5767 to autogen.sh on package building
5769 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5771 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5773 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5775 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5778 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5780 * src/hildon-picker-button.c
5781 (hildon_picker_button_finalize):
5782 Free priv->done_button_text
5784 * src/hildon-time-button.c
5785 (hildon_time_button_set_time)
5786 * src/hildon-picker-button.c
5787 (hildon_picker_button_clicked)
5788 (hildon_picker_button_selector_selection_changed)
5789 (hildon_picker_button_set_selector)
5790 * src/hildon-date-button.c
5791 (hildon_date_button_set_date):
5792 Free strings returned by hildon_touch_selector_get_current_text()
5794 * src/hildon-button.c (hildon_button_construct_child):
5795 Fix leaks in priv->image and priv->label_box
5797 Fixes: NB#90535 (Memory leak in picker button)
5799 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5801 * src/hildon-button.c: (hildon_button_get_property): Do not access
5802 private elements directly, use getters instead.
5804 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-app-menu-private.h
5807 * src/hildon-app-menu.c
5808 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5809 Store the menu's parent window.
5811 * src/hildon-stackable-window.c
5812 (hildon_stackable_window_toggle_menu)
5813 (hildon_stackable_window_finalize):
5814 Set the menu's parent window when the menu is shown, unset it when
5817 * src/hildon-app-menu.c
5818 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5819 (hildon_app_menu_class_init):
5820 Send unhandled keyboard accelerators to the parent window.
5822 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5824 * src/hildon-stackable-window.c
5825 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5827 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5829 * configure.ac: post release version bump
5831 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5834 * configure.ac: Bump version
5835 * debian/changelog: Updates
5836 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5839 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5841 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5844 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5845 GtkMenu with Hildon style.
5847 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5849 * src/hildon-picker-button.c:
5850 (hildon_picker_button_set_done_button_text): Set the dialog's
5851 done button text here as well.
5853 Fixes: NB#90232 (Picker button does not set the label on done button
5854 for the second time)
5856 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5858 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5861 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5863 * src/hildon-app-menu.c (hildon_app_menu_insert)
5864 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5865 the HildonAppMenu to be activatable using keyboard accelerators
5866 when the menu is not being shown.
5868 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5870 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-stackable-window.c
5873 (hildon_stackable_window_show):
5874 Don't hide old windows automatically when new windows are shown:
5875 this is now a task for the window manager.
5876 (hildon_stackable_window_class_init)
5877 (hildon_stackable_window_hide):
5878 Remove windows from the stack everytime they're hidden.
5879 (hildon_stackable_window_realize):
5880 Don't change the _NET_WM_WINDOW_TYPE property. Use
5881 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5882 it as a stackable window.
5884 * src/hildon-program.c
5885 (hildon_program_pop_window_stack):
5886 Just hide the window to remove it from the stack.
5887 (hildon_program_go_to_root_window):
5888 Don't call gtk_widget_show(), this is now a task for the window
5891 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5893 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-button.c
5896 (hildon_button_construct_child):
5897 Don't pack anything in the button until text or image are
5898 set. This allows adding a custom child after creating the button
5899 with hildon_button_new().
5900 (hildon_button_finalize, hildon_button_class_init)
5901 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5902 alignment and the label box even when they're not packed in the
5905 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5907 * src/hildon-touch-selector.h:
5908 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5909 currently the type definition was using GTK_TYPE_VBOX
5910 * src/hildon-touch-selector.c:
5911 Added some implementation notes in order to clarify that any other widget
5912 added without the column related API will not be included on the
5913 selection logic, and how the widget is freed, as some people ask about
5915 (hildon_touch_selector_remove): Reimplemented in order to free properly
5916 the column related data when you remove the private hbox.
5917 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5918 to get a proper HildonTouchSelectorColumn documentation
5920 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5922 * src/hildon-touch-selector-entry.c:
5923 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5924 text in the GtkEntry and there is no item selected. Fixes a
5927 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5929 * src/hildon-app-menu-private.h
5930 * src/hildon-app-menu.[ch]
5931 * src/hildon-button.[ch]
5932 * src/hildon-check-button.[ch]
5933 * src/hildon-entry.[ch]
5934 * src/hildon-pannable-area.[ch]
5935 * src/hildon-text-view.[ch]:
5936 Added private field to the object's structure.
5938 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5940 * configure.ac: post-release version bump
5942 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5946 * configure.ac: pre-release version bump
5948 * debian/changelog: updates.
5950 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5952 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5953 Disconnect the handler for HildonTouchSelector::changed.
5955 (hildon_picker_button_selector_selection_changed): Update the button
5956 value if the selection change was not triggered by the
5959 (hildon_picker_button_set_selector): connect to
5960 HildonTouchSelector::changed.
5962 Fixes: NB#89650 (Picker button is not updated, when selection in
5963 selector has changed)
5965 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5967 * src/hildon-picker-dialog.c
5968 (hildon_picker_dialog_realize): Removed as not required
5969 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5970 * src/hildon-picker-button.c
5971 (_current_selector_empty): New function, checks if the selector is empty
5972 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5973 if the current selector is empty, in order to avoid to show the dialog
5974 close the dialog in this case (and shows a g_warning).
5976 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5978 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5980 * src/hildon-pannable-area.c,
5981 (hildon_pannable_area_scroll): Added clause to stop movement when
5982 the child of pannable is smaller than one page.
5983 (hildon_pannable_area_scroll_to): Added conditions to avoid
5984 starting the scrolling movement if the child is smaller than one
5985 page, the complete child is in the screen, we do not have to move.
5987 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5989 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5991 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5992 this is managed automatically by the widget when the size of the
5995 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5997 * src/hildon-picker-button.c
5998 (hildon_picker_button_set_done_button_text): Make a copy of the
5999 text, and free the previous value.
6001 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6003 * src/hildon-touch-selector-entry.c:
6004 (hildon_touch_selector_entry_print_func): Return the selected row's
6005 text if the entry is empty.
6007 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6010 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6012 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6014 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6017 * src/hildon-check-button.h
6018 * src/hildon-check-button.c
6019 * examples/hildon-check-button-example.c:
6020 HildonCheckButton is now a new widget. 'toggled' signal added.
6022 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6024 * src/hildon-program-private.h
6025 * src/hildon-program.c (hildon_program_init)
6026 (hildon_program_finalize): Removed unused variables group_leader
6027 and name from HildonProgramPrivate.
6029 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6031 * src/hildon-check-button.c (hildon_check_button_set_active)
6032 (hildon_check_button_get_active, hildon_check_button_new): Use
6033 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6035 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6037 * src/hildon-touch-selector.h
6038 (hildon_touch_selector_set_column_attributes): added deprecation
6039 guard HILDON_DISABLE_DEPRECATED
6040 * src/hildon-time-selector.c
6041 (hildon_time_selector_set_time)
6042 (hildon_time_selector_get_time): Fixed a typo on documentation
6043 * src/hildon-touch-selector.c: update HildonTouchSelector and
6044 HildonTouchSelectorColumn documentation
6045 * src/hildon-touch-selector-entry.c: update "text-column" property
6047 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6048 to be added to the general documentation.
6050 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6052 * examples/hildon-pannable-area-example-4.c,
6054 * examples/hildon-pannable-area-example.c,
6055 (main): Modified the code in order to use the container add, with
6056 viewport treeviews could have problems if they are really big.
6058 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6060 * src/hildon-weekday-picker.c,
6061 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6062 the agreement regarding deprecation in the library.
6064 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6066 * examples/hildon-picker-button-multicolumn-example.c:
6067 (main): Use custom "done" button text.
6069 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6070 (hildon_picker_button_set_property),
6071 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6072 (hildon_picker_button_init),
6073 (+hildon_picker_button_get_done_button_text),
6074 (+hildon_picker_button_set_done_button_text): New methods to customize
6075 the "done" button label in the launched HildonPickerDialog. Also,
6078 * src/hildon-picker-button.h: add the public API.
6080 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6082 * src/hildon-date-selector.h:
6083 * src/hildon-picker-dialog.h:
6084 * src/hildon-time-selector.h:
6085 * src/hildon-touch-selector-column.h:
6086 * src/hildon-touch-selector.h:
6088 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6089 declarations. Fixes gtk-doc warnings.
6091 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-picker-dialog.h
6094 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6095 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6097 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6098 long text is set as label for done button)
6100 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-dialog.c (hildon_dialog_add_button):
6103 Set fixed width to all buttons in the HildonDialog.
6105 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6107 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6109 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6110 Set widget name using class name plus "-finger" or "-thumb".
6112 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6114 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6115 'clicked' when the state of the button is manually changed.
6117 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6119 * src/hildon-app-menu.c (hildon_app_menu_realize)
6120 (hildon_app_menu_unrealize, hildon_app_menu_init)
6121 (hildon_app_menu_class_init, item_visibility_changed):
6122 Change the menu layout when the size of the screen changes.
6123 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6124 Show warning only when changing the number of colums using the
6127 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6129 * debian/compat: Set to 5
6130 * debian/control: Update dependencies.
6131 * debian/libhildon1-dbg.install: Remove.
6132 * debian/libhildon1-dev.install: Update according to cdbs paths.
6133 * debian/libhildon1.install: Update according to cdbs paths.
6134 * debian/rules: Switch to cdbs.
6136 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6138 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6139 'item' variable renamed to 'filter'
6141 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6143 * src/hildon-app-menu.c (hildon_app_menu_insert)
6144 (hildon_app_menu_add_filter, remove_item_from_list)
6145 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6146 Don't leak hidden items when the menu is destroyed.
6148 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6150 * src/hildon-app-menu.c (hildon_app_menu_insert)
6151 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6152 (hildon_app_menu_set_columns, item_visibility_changed)
6153 (filter_visibility_changed, hildon_app_menu_repack_filters)
6154 (hildon_app_menu_repack_items):
6155 Repack items and filters separately.
6157 Don't repack all items, change only the ones that are needed to
6160 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6162 * src/Makefile.am: added hildon-touch-selector-column.h
6164 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6166 * src/hildon-touch-selector.c: added the property "text-column" to the
6167 class HildonTouchSelectorColumn, and related get/set functions
6168 (_default_printf_func): updated to use "text-column" property
6169 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6170 "text-column" in his documentation, as this is now included on
6171 HildonTouchSelectorColumn. The get/set_property can still be used,
6172 working as a wrapper to the concrete column "text-column" property
6173 (_text_column_modified): callback added in order to handle the signal
6174 "notify::text-column" of the concrete HildonTouchSelectorColumn
6175 (hildon_touch_selector_entry_get_text_column)
6176 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6177 modified in order to use the HildonTouchSelectorColumn "text-column"
6179 * src/hildon-time-selector.c:
6180 * src/hildon-date-selector.c:
6181 * examples/hildon-touch-selector-example.c
6182 * examples/hildon-touch-selector-multi-cells-example.c
6183 * examples/hildon-picker-button-multicolumn-example.c
6184 Set the right value to "text-column" property on the creation of a new
6185 column using hildon_touch_selector_append_column()
6187 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6189 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-app-menu.c
6192 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6193 updating the layout of the menu, don't create all widgets again,
6194 just repack the items in their new places.
6196 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6198 * src/hildon-time-selector.c
6199 (hildon_time_selector_get_time)
6200 (hildon_time_selector_set_time)
6201 Added documentation of these public methods
6203 * src/hildon-date-button.h
6204 * src/hildon-touch-selector-column.h
6205 * src/hildon-time-button.h
6206 * src/hildon-picker-dialog.h
6207 * src/hildon-time-selector.h
6208 * src/hildon-picker-button.h
6209 * src/hildon-touch-selector.h
6210 * src/hildon-time-picker.h
6211 * src/hildon-date-selector.h
6212 * src/hildon-touch-selector-entry.h
6213 Modified in order to use hildon-widgets code style
6215 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6217 Added deprecated support to the compilation process using
6218 HILDON_DISABLE_DEPRECATED
6220 * configure.ac: Added the --disable-deprecated to the configure
6223 * src/hildon-weekday-picker.c:
6224 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6225 to use the deprecated support. We will update the other deprecated
6226 widgets status in a new patch.
6228 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6230 * configure.ac: Fixed typo with fatal warnings support, the
6231 variable name was not correct
6233 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6235 * src/hildon-app-menu.c
6236 * src/hildon-program.c: Update documentation.
6238 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6240 * configure.ac: Post-release version bump.
6242 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6247 * configure.ac: Pre-release version bump.
6248 * debian/changelog: Updates.
6250 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6252 * NEWS: Update news for previous releases.
6254 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6256 * examples/hildon-touch-selector-multi-cells-example.c:
6257 (create_selector): Update the example to use
6258 hildon_touch_selector_append_column() with a NULL renderer and set
6259 the renderers later.
6260 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6261 passed a NULL renderer. This is documented behavior now.
6263 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6264 This must be used if the developer wants full control on the layout of
6265 the renderers to be added to the column.
6267 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6269 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6271 * src/hildon-touch-selector.c: Documentation fixes.
6273 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6275 * src/hildon-wizard-dialog-private.h: Remove image and box.
6276 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6277 (hildon_wizard_dialog_set_property), (response): Completely remove
6278 image/icon support, and the containers required for the layout.
6280 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6282 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6284 * src/hildon-app-menu.c: Updated documentation.
6286 * src/hildon-stackable-window.c
6287 (hildon_stackable_window_set_main_menu): Unref the old menu after
6288 ref'ing the new one.
6290 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6292 * src/hildon-stackable-window.c
6293 (hildon_stackable_window_set_main_menu): Unref the previous menu
6294 instead of destroying it.
6296 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6297 floating reference and set has_user_ref_count to FALSE to make
6298 HildonAppMenu act like a normal ref-counted widget and not a
6301 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6304 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6306 * src/hildon-touch-selector-column.h: new file
6307 * src/hildon-touch-selector.h
6308 * src/hildon-touch-selector.c
6309 Implemented GtkCellLayout interface, in order to allow to configure
6310 the cell layout on each individual selector column
6311 (hildon_touch_selector_set_column_attributes): marked as deprecated
6312 * examples/hildon-touch-selector-multi-cells-example.c
6313 Example of how to use the GtkCellLayout interface on the selector
6315 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6317 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6319 * src/hildon-app-menu.h
6320 * src/hildon-app-menu.c
6321 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6322 (hildon_app_menu_append, hildon_app_menu_prepend):
6323 New methods to prepend, insert and move items in the menu.
6325 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6327 * src/hildon-wizard-dialog.c:
6329 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6331 (create_title): Update logical IDs and related code.
6332 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6334 * src/hildon-wizard-dialog.h: Note that
6335 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6336 point, as it is not used anymore.
6338 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6340 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6342 * src/hildon-note.c:
6343 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6344 shown. Do not display an icon in confirmation notes nor information
6346 (hildon_note_set_button_text): Update logical ID for cancel button.
6348 Fixes: NB#88850 (Update HildonNote button strings + signals)
6350 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6352 * src/hildon-stackable-window.c
6353 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6355 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6357 * src/hildon-app-menu-private.h
6358 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6359 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6360 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6361 temporary property 'columns' to change the number of columns.
6363 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6365 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6367 * examples/hildon-note-example.c: (on_information_clicked),
6368 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6369 debugging information.
6370 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6372 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6373 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6374 in order to close: this will be handled by the WM from now on.
6376 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6378 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6380 * src/hildon-app-menu-private.h
6381 * src/hildon-app-menu.c
6382 (hildon_app_menu_append, hildon_app_menu_add_filter)
6383 (button_visibility_changed, hildon_app_menu_apply_style)
6384 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6385 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6386 layout everytime a button (item or filter) is shown or hidden.
6388 * src/hildon-stackable-window.c
6389 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6392 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6394 * src/hildon-touch-selector.c:
6395 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6396 that the treeview inside the touch selector is in fremantle hildon mode
6397 * examples/hildon-date-button-example.c
6398 * examples/hildon-picker-button-multicolumn-example.c
6399 * examples/hildon-touch-selector-entry-example.c
6400 * examples/hildon-touch-selector-example.c
6401 * examples/hildon-time-button-example.c
6402 * examples/hildon-picker-button-example.c:
6403 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6405 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6407 * examples/hildon-text-view-example.c: (main): Remove the
6408 gtkrc bits, now handled by the theme.
6410 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6412 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6415 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6417 * po/Makefile.am: Install properly the mo files.
6418 * po/en_GB.po: Update translation, to ease testing purposes.
6420 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6422 * examples/hildon-picker-button-example.c: (main): Select an item
6423 in the selector before setting it to the button.
6425 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6427 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6428 Update button's value if the selector has an item active.
6430 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6431 'value' with the selector)
6433 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6435 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6436 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6437 (hildon_picker_button_class_init): Plug the finalize method.
6438 (hildon_picker_button_set_selector): If there's a previously set
6439 selector, unref'it before setting a new one.
6441 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6442 HildonTouchSelector)
6444 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6446 * src/hildon-touch-selector-entry.c:
6447 (hildon_touch_selector_entry_changed): Check if there is no text
6448 selected before setting the entry text.
6451 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6453 * src/hildon-touch-selector.h
6454 * src/hildon-touch-selector.c
6455 (hildon_touch_selector_get_active)
6456 (hildon_touch_selector_set_active): New methods to set/get the
6457 index of the selected item.
6459 * src/hildon-picker-button.h
6460 * src/hildon-picker-button.c
6461 (hildon_picker_button_get_active)
6462 (hildon_picker_button_set_active): New methods to set/get the
6463 index of the selected item.
6465 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6467 * configure.ac: post-release version bump.
6469 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6473 * configure.ac: Pre-release version bump.
6474 * debian/changelog: Updates.
6475 * debian/control: Add myself as maintainer and depend on l10n
6478 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-window.c
6481 (hildon_window_set_main_menu)
6482 * src/hildon-stackable-window.c
6483 (hildon_stackable_window_set_main_menu):
6484 Updated documentation.
6486 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6488 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6489 Don't free selector->priv manually.
6492 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6495 (hildon_gtk_window_set_progress_indicator):
6496 * src/hildon-gtk.h: Added the new API
6497 hildon_gtk_window_set_progress_indicator, it changes the state of
6498 the window progress hint.
6500 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6502 * src/hildon-button.c
6503 * src/hildon-stackable-window.c: Minor documentation updates.
6505 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6507 * src/hildon-stackable-window.c: Updated documentation.
6509 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6511 * src/hildon-defines.h: Update margins definitions
6512 to the Fremantle sizes.
6515 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6517 * src/hildon-touch-selector.c,
6518 (_hildon_touch_selector_set_model): Cleaning the code after
6519 review, removed g_print and #if 0 from the code.
6521 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6523 * src/hildon-edit-toolbar.c: Update documentation.
6525 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6527 * src/hildon-check-button.h
6528 * src/hildon-check-button.c
6529 (hildon_check_button_set_label, hildon_check_button_get_label)
6530 * examples/hildon-check-button-example.c
6531 (button_clicked_cb):
6532 Removed deprecated methods.
6534 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6536 * src/hildon-text-view.c:
6537 Add sample code to the documentation.
6539 * src/hildon-entry.h
6540 * src/hildon-text-view.h:
6541 Minor cosmetic changes.
6543 * src/hildon-entry.c:
6544 Add sample code to the documentation.
6545 (hildon_entry_init, hildon_entry_refresh_contents):
6546 Don't allow NULL values in the placeholder.
6548 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6550 * doc/hildon-docs.sgml
6552 * examples/Makefile.am
6553 * examples/hildon-text-view-example.c
6555 * src/hildon-text-view.c
6556 * src/hildon-text-view.h
6558 New HildonTextView widget, with example.
6560 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6562 * po/POTFILES.in: Add missing files with translatable strings.
6563 Partially fixes NB#88287.
6565 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6567 * examples/hildon-pannable-area-example-2.c: (main): No need to
6568 set the cellrenderer height inside hildon touch lists, the theme does
6571 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6573 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6574 they are integrated in the theme.
6576 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6578 * examples/hildon-entry-example.c: Update the example adding
6579 widgets to modify the text and the placeholder of the HildonEntry.
6581 * src/hildon-entry.c: Show the placeholder everytime the widget
6582 is empty and loses the focus.
6584 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6586 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6588 * src/hildon-pannable-area.c,
6589 (hildon_pannable_area_size_request): Fixed bug in height
6590 requisition, avoid increasing size and add border twice.
6592 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6594 * configure.ac: postrelease version bump.
6596 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6600 * configure.ac: Prerelease version bump.
6601 * debian/changelog: update.
6602 * debian/rules: make -dbg package contain useful debugging symbols.
6604 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6606 * src/hildon-dialog.h
6607 * src/hildon-dialog.c
6608 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6609 New methods to add buttons with finger size.
6610 (hildon_dialog_new_with_buttons):
6611 Create buttons with finger size.
6613 * examples/hildon-dialog-example.c (main): Use HildonDialog
6614 methods to add buttons.
6616 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-entry.c: Updated HildonButton documentation.
6620 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6622 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6623 button value label with (FALSE, FALSE) to prevent NB#88126 from
6626 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6628 * examples/hildon-pannable-area-example.c,
6629 (main): Removed examples panning a vbox inside a pannable
6630 area. Check bug NB#87965
6632 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6634 Patch contributed by Kris Rietveld (kris@imendio.com)
6636 * src/hildon-pannable-area.c,
6637 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6638 get_size and get_position, this saves an X server roundtrip.
6640 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6642 * doc/hildon-docs.sgml
6644 * examples/Makefile.am
6645 * examples/hildon-entry-example.c
6647 * src/hildon-entry.c
6648 * src/hildon-entry.h
6650 New HildonEntry widget, with example.
6652 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6654 * src/hildon-button.c (hildon_button_construct_child): Pack the
6655 image with expand == fill == FALSE. This is a workaround for a bug
6658 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6660 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6661 labels for the text column, to make it more look more dynamic.
6663 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6665 * src/hildon-time-selector.c
6666 Define gettext auxiliar macro N_
6667 (_create_minutes_model)
6668 (_create_hours_model)
6669 (_create_ampm_model): use of strftime in order to fill the model
6670 * src/hildon-date-selector.c
6671 (hildon_date_selector_finalize):
6672 (_locales_init): remove the logic related to get the name of the months
6673 using nl_langinfo, as it is not required anymore
6675 (_create_year_model)
6676 (_create_month_model)
6677 (_update_day_model): use of strftime in order to fill the model properly
6680 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6682 * src/hildon-button.h
6683 * src/hildon-button.c (hildon_button_get_image): New method to
6686 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6688 * src/hildon-touch-selector.c:
6689 (hildon_touch_selector_remove_column): Remove from the correct parent
6690 and also remove the list element and free it.
6693 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6695 * src/hildon-time-selector.c
6696 (_create_hours_model): change the range on 12h ampm format in order to use
6697 a 12-11 range instead of previous 01-12 range
6698 (hildon_time_selector_set_time): change the way to select the current time
6699 on 12h ampm format, due the change on the range
6700 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6703 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6705 * src/hildon-touch-selector.c
6706 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6707 in order to allow use this function on multiple row selection mode if
6708 the column is different that the first one
6711 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6713 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6714 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6716 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6718 * src/hildon-date-selector.h: clean some comments, now on the .c
6719 * src/hildon-date-selector.c
6720 (hildon_date_selector_select_month): first implementation
6721 (hildon_date_selector_select_day): added documentation, reimplemented
6722 using hildon_date_selector_select_current_date to avoid repeat code
6725 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6727 Reviewed interaction logic based on device experiences, refactored
6730 * src/hildon-pannable-area.c,
6731 (hildon_pannable_area_class_init): Updated default vmax speed.
6732 (hildon_pannable_area_calculate_velocity): Added this function, it
6733 avoids duplicate valocity calculation. Adjusted calculation to
6734 avoid problems with zero dist events.
6736 (hildon_pannable_area_motion_notify_cb): Now we use the
6737 calculate_velocity function.
6739 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6741 * src/hildon-date-selector.c
6742 (hildon_date_selector_select_current_date): fix the day range check
6743 as it failed using the last day of the current month
6746 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6748 * src/hildon-touch-selector.c
6749 (hildon_touch_selector_get_num_columns): added a parameter validation
6752 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6754 * examples/Makefile.am
6755 * examples/hildon-edit-toolbar-example.c: Example of the
6756 HildonEditToolbar widget.
6758 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6760 * configure.ac: postrelease version bump.
6762 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6766 * configure.ac: prerelease version bump.
6767 * debian/changelog: update.
6769 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6771 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6772 renderer to display stock icons in the touch list. Also, set the sizes
6773 to the recommended in the style guide.
6775 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6776 * src/hildon-touch-selector.h
6777 (hildon_touch_selector_set_active_iter): renamed, now is
6778 hildon_touch_selector_select_iter
6779 (hildon_touch_selector_get_active_iter): renamed, now is
6780 hildon_touch_selector_get_selected
6781 (hildon_touch_selector_unselect_iter): added
6782 * src/hildon-touch-selector.c
6783 Update after API modification (methods renamed)
6784 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6785 order to avoid problems selecting multiple elements on the column
6786 (hildon_touch_selector_unselect_iter): added the implementation
6787 * src/hildon-time-selector.c
6788 * src/hildon-date-selector.c
6789 * src/hildon-touch-selector-entry.c
6790 Update methods calls after hildon-touch-selector.h API modification (methods
6793 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6795 * src/hildon-stackable-window.c
6796 (hildon_stackable_window_finalize): Call the parent class's finalize.
6798 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6800 * examples/hildon-touch-selector-example.c: (create_selector): Use
6801 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6804 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6806 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6807 set a cell background color, to respect theming.
6809 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6811 * doc/hildon-docs.sgml
6814 * src/hildon-edit-toolbar.c
6815 * src/hildon-edit-toolbar.h
6816 * src/hildon.h: New HildonEditToolbar widget.
6818 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6820 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6823 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6824 * src/hildon-touch-selector.c
6825 (_create_new_column): use g_object_set instead of two g_object_set_property
6827 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6828 * src/hildon-touch-selector.c
6829 (_create_new_column): use of hildon_gtk_tree_view_new to create
6830 the treeview, instead of use directly g_object_new
6831 (_create_new_column): update the property name "vindicator-mode" for the
6832 new one "vscrollbar-policy"
6833 * examples/hildon-date-button-example.c
6834 * examples/hildon-picker-button-multicolumn-example.c
6835 * examples/hildon-touch-selector-entry-example.c
6836 * examples/hildon-touch-selector-example.c
6837 * examples/hildon-time-button-example.c
6838 * examples/hildon-picker-button-example.c
6839 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6840 to all the treeviews inside a pannable area.
6842 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6844 * src/hildon-button.h
6845 * src/hildon-button.c (hildon_button_init)
6846 (hildon_button_set_arrangement, hildon_button_set_alignment)
6847 (hildon_button_set_title_alignment)
6848 (hildon_button_set_value_alignment)
6849 (hildon_button_set_image_alignment)
6850 (hildon_button_construct_child): New methods to set the alignment
6851 of the individual components of the button (title, value,
6852 image). Also, new method to alter the xscale and yscale properties
6853 of the GtkAlignment inside the button, so more complex layouts can
6856 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6858 * src/hildon-button.c (hildon_button_style_set)
6859 (hildon_button_class_init, hildon_button_set_arrangement)
6860 (hildon_button_construct_child): Apply style properties
6861 correctly. Use the 'image-spacing' style property too.
6863 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6865 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6866 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6869 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6871 * src/hildon-pannable-area.c,
6872 (hildon_pannable_area_size_request): Fixed problem with
6873 pannable-area size_request.
6875 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6877 Added management for the grab-focus to a child widget, like a
6878 range, we need to fade out the scrollbar when releasing.
6880 * src/hildon-pannable-area.c,
6881 (hildon_pannable_area_init): Connected the grab-focus signal to
6883 (hildon_pannable_area_grab_notify): Added this function in order
6884 to manage the situation when the grab-focus ends. We have to
6885 fade-out the scrollbar.
6887 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6889 * src/hildon-app-menu.c: Minor documentation update.
6891 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6893 * src/hildon-app-menu.c
6894 * examples/hildon-app-menu-example.c (create_menu): Update
6895 examples and documentation to explain how to connect callbacks.
6897 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6899 * examples/hildon-button-example.c
6900 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6901 hildon_stackable_window_new instead of gtk_window_new
6903 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6905 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6906 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6907 (hildon_pannable_area_set_property),
6908 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6909 (hildon_pannable_area_unrealize),
6910 (hildon_pannable_area_size_request),
6911 (hildon_pannable_area_size_allocate),
6912 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6913 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6914 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6915 (hildon_pannable_area_initial_effect),
6916 (hildon_pannable_area_redraw),
6917 (hildon_pannable_area_scroll_indicator_fade),
6918 (hildon_pannable_area_expose_event),
6919 (hildon_pannable_area_get_topmost), (synth_crossing),
6920 (hildon_pannable_area_button_press_cb),
6921 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6922 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6923 (hildon_pannable_area_motion_notify_cb),
6924 (hildon_pannable_area_button_release_cb),
6925 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6926 (hildon_pannable_area_remove),
6927 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6928 chage the code layout to a more GtkWidget like. Review the use of
6931 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6933 * examples/hildon-pannable-area-example-4.c,
6934 (main): Modified the name of the hindicator_mode to
6937 * src/hildon-pannable-area.c,
6938 (hildon_pannable_area_class_init),
6939 (hildon_pannable_area_motion_notify_cb),
6940 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6941 we have reduced the amount of signals and managed reviewed its
6942 rationale. Changed the default decelerate value.
6944 (hildon_pannable_area_add),
6945 (hildon_pannable_area_redraw): Refactored functions.
6947 (hildon_pannable_area_init),
6948 (hildon_pannable_area_get_property),
6949 (hildon_pannable_area_set_property):
6950 (hildon_pannable_draw_vscroll),
6951 (hildon_pannable_draw_hscroll),
6952 (hildon_pannable_area_initial_effect),
6953 (hildon_pannable_area_expose_event),
6954 (hildon_pannable_area_scroll),
6955 (hildon_pannable_area_button_press_cb),
6956 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6957 and vindicator_mode with hscrollbar_policy and
6958 vscrollbar_policy. Replaced hscroll and vscroll with
6959 hscroll_visible and vscroll_visible.
6961 (hildon_pannable_area_refresh): Refactor the function, remove
6962 variables and check the calls to this function, added resize
6963 conditions in case the children change their layout.
6965 (hildon_pannable_area_size_request): Added more detailed
6966 size_request calculation.
6969 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6971 * src/hildon-color-chooser.c
6972 (init_borders): use the correct gtk_border_free instead of g_free, to
6973 avoid a crash when this widget is used (ie: the three color selection
6976 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6978 * src/hildon-check-button.c,
6979 (hildon_check_button_set_active): Fixed problem when setting the
6980 active value, the widget was not redrawn.
6982 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6984 * src/hildon-pannable-area.c,
6985 (hildon_pannable_area_refresh),
6986 (hildon_pannable_area_scroll),
6987 (hildon_pannable_area_motion_notify_cb): Small code style change.
6989 (hildon_pannable_area_class_init): Default initial_hint set to
6990 FALSE, it is not in the specs.
6992 (hildon_pannable_area_initial_effect),
6993 (hildon_pannable_area_expose_event),
6994 (hildon_pannable_area_map),
6995 (hildon_pannable_area_init): Moved the launching point of the
6996 initial effect, it was in map but the sizes where not correct in
6997 that method so we do not know if we have the reproduce it. Now it
6998 is placed in the expose_event method and uses a variable to
6999 reproduce it just once.
7001 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7003 * src/hildon-pannable-area.c,
7004 (hildon_pannable_draw_vscroll),
7005 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7006 position allowed for the scrollbars.
7008 (hildon_pannable_area_size_allocate): Small style change.
7010 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7012 * src/hildon-pannable-area.c,
7013 (hildon_pannable_area_scroll_indicator_fade),
7014 (hildon_pannable_area_button_press_cb),
7015 (hildon_pannable_area_button_release_cb),
7016 (hildon_pannable_area_scroll_cb),
7017 (hildon_pannable_area_expose_event),
7018 (hildon_pannable_area_init): Added the define parameter
7019 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7020 and refactor the fade variable.
7022 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7024 * src/hildon-pannable-area.c,
7025 (hildon_pannable_area_redraw),
7026 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7027 lines, we were reimplemeting the redraw code.
7029 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7031 * src/hildon-pannable-area.c,
7032 (hildon_pannable_area_scroll_cb),
7033 (hildon_pannable_area_realize),
7034 (hildon_pannable_area_class_init): Added scroll_event management
7035 for pannable area, now we can scroll the usual desktop method.
7037 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7038 initialization of the parameters should depend on idle_id.
7040 (hildon_pannable_area_init),
7041 (hildon_pannable_area_map): Small code style modifications
7043 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7045 * src/hildon-pannable-area.c
7046 (hildon_pannable_area_button_press_cb),
7047 (hildon_pannable_area_motion_notify_cb),
7048 (hildon_pannable_area_button_release_cb),
7049 (hildon_pannable_area_size_allocate),
7050 (hildon_pannable_area_scroll_to): Improved the timeouts
7051 management, we avoid creating them each time.
7053 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7055 * src/hildon-pannable-area.c:
7056 (hildon_pannable_area_refresh),
7057 (hildon_pannable_area_motion_notify_cb),
7058 (hildon_pannable_area_class_init):
7059 * src/hildon-pannable-area.h:
7060 * src/hildon-touch-selector.c
7061 (_create_new_column):
7062 * examples/hildon-pannable-area-example-4.c:
7063 (horizontal_movement),
7064 (vertical_movement),
7066 Replaced the names of enums in the HildonPannableArea:
7067 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7068 HILDON_MOVEMENT_MODE_*
7069 - HILDON_PANNABLE_AREA_MOV_* ->
7071 - Removed HildonPannableAreaIndicatorMode, now we
7074 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7076 * examples/hildon-pannable-area-touch-grid-example.c
7077 * examples/hildon-pannable-area-touch-list-example.c: Fix
7078 compilation warnings.
7080 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7082 * src/hildon-gtk.c (hildon_gtk_button_new)
7083 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7084 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7085 images overriding the value of the "gtk-button-images" setting.
7087 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7089 * src/hildon-check-button.c (hildon_check_button_new):
7090 Instead of using a custom container, display the label and the
7091 checkbox using the standard GtkButton API.
7093 * examples/hildon-check-button-example.c (main): Don't use
7094 hildon_check_button_set_label() anymore
7096 * src/hildon-check-button.h
7097 * src/hildon-check-button.c
7098 (hildon_check_button_set_label, hildon_check_button_get_label):
7099 Set as deprecated, now we're using gtk_button_{get,set}_label()
7101 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7103 * src/hildon-pannable-area.c,
7104 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7105 GtkTreeview first line we detected it after the inclusion of the
7106 GtkWindowImpl in gtk+. We now check if the window is visible, not
7107 just if the pointer is over the window.
7108 (hildon_pannable_axis_scroll),
7109 (hildon_pannable_area_expose_event): Small style changes.
7111 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7113 * src/hildon-button.c: Update documentation.
7115 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7117 * examples/hildon-button-example.c: Add a switch to show images in
7120 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7122 * doc/hildon-docs.sgml: Some docs reorganization.
7124 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7126 * examples/hildon-pannable-area-touch-list-example.c
7128 * examples/hildon-pannable-area-touch-grid-example.c
7129 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7130 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7131 Fix memory leak when setting the tree model.
7133 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7137 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7139 * doc/hildon.types: Remove duplicated hildon_window_get_type
7140 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7141 documentation comment.
7143 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7145 * doc/Makefile.am: Complete list of private headers.
7147 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7149 * doc/hildon-docs.sgml
7150 * src/hildon-app-menu.c
7151 * src/hildon-bread-crumb.c
7152 * src/hildon-button.c
7154 * src/hildon-program.c
7155 * src/hildon-stackable-window.c
7156 * src/hildon-window.c: Lots of documentation updates.
7158 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7160 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7162 * configure.ac: Require Gtk+ 2.12.9 at least
7164 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7166 * src/hildon-pannable-area.c
7167 (hildon_pannable_area_scroll_indicator_fade),
7168 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7169 to protect the return of this timeout callbacks, avoiding deadlocks.
7171 2008-08-12 Christian Dywan <christian@imendio.com>
7174 * src/hildon-*.h: Ensure a consistent include order,
7175 include <gtk/gtk.h> instead of particular files and
7176 only include the topmost header in the gtk stack. See NB #39857
7178 2008-08-12 Christian Dywan <christian@imendio.com>
7180 * src/hildon-picker-dialog.c
7181 * src/hildon-touch-selector.c: Fix warnings about unused and
7182 uninitialized variables.
7184 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7186 * examples/Makefile.am
7187 * examples/hildon-check-button-example.c: Example of the hildon
7190 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7192 * src/hildon-window.h
7193 * src/hildon-window.c (hildon_window_class_init)
7194 (hildon_window_unset_program): Don't make
7195 hildon_window_unset_program a virtual function anymore.
7197 * src/hildon-stackable-window.c: Update documentation
7199 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7202 * doc/hildon-docs.sgml
7203 * doc/visual_index.xml
7204 * src/hildon-defines.c
7206 * src/hildon-helper.c
7207 * src/hildon-range-editor.c: Lots of documentation fixes.
7209 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7211 * examples/hildon-picker-button-multicolumn-example.c
7212 (create_touch_selector): Fix compilation warning.
7214 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7216 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7217 (hildon_pannable_area_button_release_cb)
7218 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7220 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7222 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7225 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7227 * src/hildon-bread-crumb-trail.h
7228 * src/hildon-date-editor.c
7229 * src/hildon-date-selector.c
7230 * src/hildon-pannable-area.c
7231 * src/hildon-picker-dialog.c
7232 * src/hildon-time-selector.c
7233 * src/hildon-touch-selector-entry.c
7234 * src/hildon-touch-selector.c
7235 * src/hildon-touch-selector.h: Misc documentation fixes
7237 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7239 * examples/hildon-date-editor-example.c (main): Updated date
7242 * examples/hildon-note-example.c (on_confirmation_clicked):
7243 Updated confirmation note example.
7245 * src/hildon-date-editor.c
7246 * src/hildon-note.c: Updated sample programs in documentation.
7249 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7251 * src/hildon-date-button.h:
7252 * src/hildon-picker-button.h:
7253 * src/hildon-time-button.c:
7254 * src/hildon-time-button.h:
7256 Some declarations changes to allow gtk-doc to document the widgets
7259 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7261 * src/hildon-date-button.c: Document the widget.
7262 * src/hildon-time-button.c: Document the widget.
7264 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7266 * src/hildon-picker-button.c: Document the widget.
7267 * src/hildon-touch-selector-entry.c: Document the widget.
7269 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7271 * doc/hildon-docs.sgml
7274 * src/hildon-check-button.h
7275 * src/hildon-check-button.c: New functions to create the Hildon
7279 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7281 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7283 * src/hildon-button.h
7284 * src/hildon-button.c
7285 (hildon_button_add_title_size_group)
7286 (hildon_button_add_value_size_group)
7287 (hildon_button_add_image_size_group)
7288 (hildon_button_add_size_groups): New functions to set size groups
7289 for the button labels and image.
7290 (hildon_button_new_full): Removed
7292 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7294 * src/hildon-time-selector.c
7295 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7296 in order to avoid a crash if gconf is not available
7298 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7300 * src/hildon-button.c (hildon_button_set_arrangement)
7301 (hildon_button_construct_child): Don't construct the button child
7302 before setting the arrangement.
7304 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7306 * src/hildon-program-private.h
7307 * src/hildon-program.c
7308 * src/hildon-program.h
7309 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7310 (hildon_program_peek_window_stack)
7311 (hildon_program_pop_window_stack)
7312 (hildon_program_go_to_root_window): HildonProgram now has a
7313 separate list for stackable windows. Functions are provided to
7314 manage that list with a stack-like API.
7316 * src/hildon-stackable-window.c: Stackable window management is
7317 now much simpler with the new HildonProgram API. Windows no
7318 longer need to be manually added to the program, they're
7319 automatically pushed to the top of the stack when shown.
7321 * examples/hildon-stackable-window-example.c: Updated example to
7322 reflect the API changes.
7324 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7326 * src/hildon-touch-selector.c: Comment out unimplemented
7327 hildon_touch_selector_insert_column() to avoid a compile warning.
7329 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7331 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7332 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7333 (hildon_touch_selector_set_column_selection_mode),
7334 (_hildon_touch_selector_set_model),
7335 (hildon_touch_selector_set_model):
7337 Complete review of HildonTouchSelector documentation.
7339 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7341 * doc/hildon-docs.sgml
7345 * src/hildon-gtk.c: Convenience functions for standard Gtk
7346 widgets, used to easily perform frequent operations.
7348 * src/hildon-button-helpers.h
7349 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7351 * src/hildon-helper.h
7352 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7353 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7355 * src/hildon-button.h
7356 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7358 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7360 * src/hildon-button.c (hildon_button_init)
7361 (hildon_button_set_arrangement, hildon_button_construct_child):
7362 Pack the image and the labels inside the same GtkAlignment so
7363 gtk_button_set_alignment() can be used
7365 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7367 * src/hildon-button.h
7368 * src/hildon-button.c
7369 (hildon_button_init, hildon_button_set_image)
7370 (hildon_button_set_image_position)
7371 (hildon_button_construct_child): New functions to add an image to
7374 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7376 * src/hildon-date-button.c
7377 * src/hildon-picker-button.c
7378 * src/hildon-time-button.c
7379 * src/hildon-button.c:
7380 (hildon_button_class_init): "size-flags" renamed to "size"
7381 (hildon_button_set_title): Hide the title label if set to NULL.
7383 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7385 HildonButtonFlags split into HildonButtonArrangement (to set the
7386 button layout) and HildonSizeType (which can be used for any
7389 * src/hildon-button.h
7390 * src/hildon-button.c
7391 (hildon_button_class_init)
7392 (hildon_button_set_arrangement)
7393 (hildon_button_set_property): New "size-flags"
7394 property. "arrangement-flags" renamed to "arrangement".
7395 (hildon_button_new, hildon_button_new_with_text)
7396 (hildon_button_new_full): Constructors updated to reflect type changes.
7398 * src/hildon-helper.h
7399 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7400 to set the size of a widget.
7404 * src/hildon-button-helpers.c
7405 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7407 * src/hildon-date-button.c
7408 * src/hildon-date-button.h
7409 * src/hildon-picker-button.c
7410 * src/hildon-picker-button.h
7411 * src/hildon-time-button.c
7412 * src/hildon-time-button.h: Updated widgets to reflect
7413 HildonButton API changes.
7415 * examples/hildon-button-example.c
7416 * examples/hildon-date-button-example.c
7417 * examples/hildon-picker-button-example.c
7418 * examples/hildon-picker-button-multicolumn-example.c
7419 * examples/hildon-time-button-example.c
7420 * examples/hildon-touch-selector-entry-example.c
7421 * examples/hildon-touch-selector-example.c: Updated examples to
7422 reflect HildonButton API changes.
7424 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7426 * doc/hildon-docs.sgml:
7428 * examples/Makefile.am:
7429 * examples/hildon-touch-selector-entry-example.c:
7431 * src/hildon-touch-selector-entry.c:
7432 * src/hildon-touch-selector-entry.h:
7435 Moved HildonTouchSelectorEntry from sandbox. Added its
7436 documentation and examples.
7438 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7440 * src/hildon-touch-selector.h:
7441 * examples/hildon-picker-button-multicolumn-example.c:
7442 (hildon_touch_selector_append_text_column): Add a gboolean
7443 parameter to determine if text must be centered in the column.
7445 * src/hildon-date-selector.c: (hildon_date_selector_init):
7446 * src/hildon-time-selector.c: (hildon_time_selector_init):
7447 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7448 (create_touch_selector): Update widgets and example to reflect
7451 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7453 * src/hildon-touch-selector.c:
7454 (hildon_touch_selector_set_active_iter): Set also the cursor in
7457 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7459 * doc/hildon-docs.sgml
7462 * src/hildon-toggle-button.c
7463 * src/hildon-toggle-button.h
7464 * src/hildon.h: Removed HildonToggleButton widget, a derived
7465 class is not necessary for this.
7467 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7469 * src/hildon-pannable-area.c,
7470 (hildon_pannable_area_realize),
7471 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7474 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7476 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7477 "done" button the default widget for the dialog.
7479 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7481 * src/hildon-touch-selector.c:
7482 (hildon_touch_selector_class_init),
7483 (hildon_touch_selector_get_property),
7484 (_hildon_touch_selector_set_model),
7485 (_hildon_touch_selector_has_multiple_selection),
7486 (hildon_touch_selector_has_multiple_selection):
7487 Add a "has-multiple-selection" property with a virtual
7488 has_multiple_selection() method to allow derived classes to
7489 override the default value for it. See the method and property
7490 documentation for details.
7492 * src/hildon-touch-selector.h: Add the new API.
7494 * src/hildon-picker-dialog.c: (requires_done_button): Call
7495 hildon_touch_selector_has_multiple_selection() instead of
7496 determining the need for a button itself.
7498 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7500 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7501 (_hildon_touch_selector_set_model),
7502 (hildon_touch_selector_set_model): Move working code to
7503 _hildon_touch_selector_set_mode(). Call the class method instead.
7505 * src/hildon-touch-selector.h: Add (*set_model) to
7506 HildonTouchSelectorClass.
7508 Make hildon_touch_selector_set_model() a virtual method, so that
7509 derived classes can extend it and do fancy stuff with the model.
7511 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7513 * configure.ac: Set back the tarname in AC_INIT to hildon.
7515 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7519 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7520 instead of libesd (NB#86876). Volume handling is still an open issue.
7522 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7525 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7527 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7528 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7529 derived class to ease placement of an entry widget in
7530 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7531 end, where the selector columns are packed now.
7533 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7535 * src/hildon-picker-button.c: Removed the simple _text() API.
7536 * src/hildon-picker-button.h: Likewise.
7538 * src/hildon-touch-selector.h:
7539 * src/hildon-touch-selector.c:
7540 (hildon_touch_selector_new_text),
7541 (hildon_touch_selector_append_text),
7542 (hildon_touch_selector_prepend_text),
7543 (hildon_touch_selector_insert_text):
7545 Moved the simple _text() API from HildonPickerButton to
7546 HildonTouchPicker, to provide better escalability and not to tie
7547 that API to HildonPickerButton.
7549 * examples/hildon-picker-button-example.c: (main): Example updated.
7551 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7553 * src/hildon-button.c: Updated documentation.
7555 * examples/hildon-button-example.c: Add the posibility to create
7556 the buttons using horizontal layout for title and value.
7558 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7560 * src/hildon-app-menu-private.h
7561 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7562 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7563 GtkSizeGroup for the filters, use the 'homogeneous' property of
7566 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7568 * examples/hildon-button-example.c: Updated example.
7570 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7572 * doc/hildon-docs.sgml:
7575 Update documentation.
7577 * examples/Makefile.am: Update renamed examples.
7579 * examples/hildon-picker-button-multicolumn-example.c:
7580 (create_touch_selector), (main): Update after the rename.
7582 * examples/hildon-touch-picker-example.c: Removed.
7583 * examples/hildon-touch-selector-example.c: (value_changed),
7584 (create_selector), (get_visible_content), (main): Renamed from
7585 hildon-touch-picker-example.c
7587 * src/Makefile.am: Updated renamed files.
7589 * src/hildon-date-button.c: (hildon_date_button_init),
7590 (hildon_date_button_get_date), (hildon_date_button_set_date):
7591 * src/hildon-date-selector.c: (hildon_date_selector_init),
7592 (_custom_print_func), (_update_day_model),
7593 (_manage_selector_change_cb),
7594 (hildon_date_selector_select_current_date),
7595 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7596 * src/hildon-date-selector.h:
7597 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7598 (hildon_picker_button_set_property),
7599 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7600 (hildon_picker_button_init), (hildon_picker_button_new_text),
7601 (hildon_picker_button_append_text),
7602 (hildon_picker_button_prepend_text),
7603 (hildon_picker_button_insert_text),
7604 (hildon_picker_button_set_selector),
7605 (hildon_picker_button_get_selector):
7606 * src/hildon-picker-button.h:
7607 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7608 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7609 (_update_title_on_selector_changed_cb), (requires_done_button),
7610 (_hildon_picker_dialog_set_selector),
7611 (hildon_picker_dialog_set_selector),
7612 (hildon_picker_dialog_get_selector):
7613 * src/hildon-picker-dialog.h:
7614 * src/hildon-time-button.c: (hildon_time_button_init),
7615 (hildon_time_button_get_time), (hildon_time_button_set_time):
7616 * src/hildon-time-selector.c: (hildon_time_selector_init),
7617 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7618 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7619 * src/hildon-time-selector.h:
7622 Massive code updates after the rename.
7624 * src/hildon-touch-picker.c: Removed.
7625 * src/hildon-touch-picker.h: Removed.
7627 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7628 (hildon_touch_selector_init), (hildon_touch_selector_map),
7629 (hildon_touch_selector_remove), (_default_print_func),
7630 (_selection_changed_cb), (_create_new_column),
7631 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7632 (hildon_touch_selector_append_text_column),
7633 (hildon_touch_selector_remove_column),
7634 (hildon_touch_selector_set_column_attributes),
7635 (hildon_touch_selector_insert_column),
7636 (hildon_touch_selector_get_num_columns),
7637 (hildon_touch_selector_get_column_selection_mode),
7638 (hildon_touch_selector_set_column_selection_mode),
7639 (hildon_touch_selector_set_print_func),
7640 (hildon_touch_selector_get_print_func),
7641 (hildon_touch_selector_get_active_iter),
7642 (hildon_touch_selector_set_active_iter),
7643 (hildon_touch_selector_get_selected_rows),
7644 (hildon_touch_selector_get_model),
7645 (hildon_touch_selector_set_model),
7646 (hildon_touch_selector_get_current_text),
7647 (_hildon_touch_selector_center_on_selected_items):
7648 * src/hildon-touch-selector.h: Renamed from
7649 hildon-touch-picker.[ch]
7651 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7652 references, code examples, and related documentation.
7654 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7656 * doc/hildon-docs.sgml
7659 * src/hildon-toggle-button.c
7660 * src/hildon-toggle-button.h
7661 * src/hildon.h: New HildonToggleButton widget.
7663 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7665 * src/hildon-button.c: Add API documentation.
7666 (hildon_button_set_size_groups): Check input parameters
7668 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7670 * src/hildon-pannable-area.c
7671 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7672 effect after reaching the movement thredshold. This way we start
7673 using the distance after passing the thredshold.
7675 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7677 * src/hildon-button.c: (hildon_button_set_property): Use the
7678 appropriate g_value_get_flags() method.
7680 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7682 * doc/hildon-docs.sgml:
7685 Add the touch pickers, picker dialogs, and picker button widgets
7686 to the documentation.
7688 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7690 * src/hildon-button.c: (hildon_button_set_property),
7691 (hildon_button_class_init): Make "arrangement-flags" a proper
7692 G_TYPE_FLAGS derived property.
7694 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7696 * examples/Makefile.am: Add below examples.
7697 * examples/hildon-date-button-example.c:
7698 * examples/hildon-picker-button-example.c:
7699 * examples/hildon-picker-button-multicolumn-example.c:
7700 * examples/hildon-time-button-example.c:
7701 * examples/hildon-touch-picker-example.c:
7703 Add examples for the recently added touch pickers,
7704 picker dialogs, and picker button widgets.
7706 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7708 * src/hildon-button.c: Add some API documentation
7710 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7712 * src/hildon-button.h
7713 * src/hildon-button.c
7715 (hildon_button_new_with_text): New constructor to create a button
7716 with no text at all.
7717 (hildon_button_init, hildon_button_set_arrangement)
7718 (hildon_button_set_title, hildon_button_set_value)
7719 (hildon_button_set_text)
7720 (hildon_button_construct_child): Hide the value when it's not used
7721 so the rest of the text is properly aligned.
7722 Allow creating buttons with arbitrary widgets inside (not just
7723 title/value labels).
7725 * examples/hildon-button-example.c (vertical_buttons_window)
7726 (horizontal_buttons_window): Update example to use new API.
7728 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7730 * src/Makefile.am: Added HildonTimeButton.
7731 * src/hildon-time-button.c: Added missing LGPL header.
7732 * src/hildon-time-button.h: Added missing LGPL header.
7733 * src/hildon.h: Add hildon-time-button.h
7735 Copied HildonTimeButton from sandbox to trunk. Future work on this
7736 widget must take place in trunk.
7738 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7740 * src/Makefile.am: Added HildonDateButton.
7741 * src/hildon-date-button.c: Update includes.
7742 * src/hildon.h: Add hildon-date-button.h
7744 Copied HildonDateButton from sandbox to trunk. Future work on this
7745 widget must take place in trunk.
7747 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7749 * src/Makefile.am: Added HildonPickerButton.
7750 * src/hildon-picker-button.h: Update includes.
7751 * src/hildon.h: Add hildon-picker-button.h
7753 Copied HildonPickerButton from sandbox to trunk. Future work on
7754 this widget must take place in trunk.
7756 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7758 * src/Makefile.am: Added HildonPickerDialog.
7759 * src/hildon-picker-dialog.c: Update includes.
7760 * src/hildon.h: Add hildon-picker-dialog.h
7762 Copied HildonPickerDialog from sandbox to trunk. Future work
7763 on this widget must take place in trunk.
7765 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7767 * src/Makefile.am: Added HildonTimeSelector.
7768 * src/hildon.h: Add hildon-time-selector.h
7770 Copied HildonTimeSelector widget from sandbox to trunk. Future
7771 work on this widget must happen in trunk.
7773 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7775 * src/Makefile.am: Added HildonDateSelector.
7776 * src/hildon.h: Add hildon-date-selector.h
7778 Copied HildonDateSelector widget from sandbox to trunk. Future
7779 work on this widget must happen in trunk.
7781 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7783 * src/Makefile.am: Added HildonTouchPicker.
7784 * src/hildon-touch-picker.c: Update includes.
7785 * src/hildon.h: Add hildon-touch-picker.h
7787 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7788 on this widget must happen in trunk.
7790 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7792 * src/hildon-pannable-area.c:
7793 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7795 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7797 * examples/hildon-app-menu-example.c (main): Let the window
7800 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7802 * src/hildon-pannable-area.c
7803 (hildon_pannable_area_class_init): Set the min value of the
7804 overshoot properties to zero, which points out that not
7805 overshooting allowed.
7807 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7809 Modified the procedure to get the widget at a point inside the
7810 pannable area when using the movement type signals. Now the user
7811 has to call a function to get the child, that way we just
7812 calculate the child in case the user really want to use it and not
7815 * src/hildon-marshalers.list: Modified the marshallers, now we do
7816 not have the widget as a parameter.
7818 * src/hildon-pannable-area.c
7819 (hildon_pannable_area_motion_notify_cb),
7820 (hildon_pannable_area_class_init),
7821 (hildon_pannable_get_child_widget_at): Removed the widget
7822 parameter from the signal callback. We have also refactored the
7823 emission of the signals.
7825 * src/hildon-pannable-area.h: Added a new method to the API to
7826 calculate a widget at a point inside the pannable area,
7827 hildon_pannable_get_child_widget_at.
7829 * examples/hildon-pannable-area-example-4.c
7830 (horizontal_movement): Modified the example to use the new API,
7831 added condition to control which widget is under the event. This
7832 way we can avoid scrolling laterally over other widgets.
7834 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7836 * src/hildon-pannable-area.c
7837 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7838 modes, we stop getting the pointer events due to returning the
7839 callback without properly calling the get pointer again. Fixed
7840 also an error using the hscroll and vscroll.
7842 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7844 * src/hildon-app-menu-private.h
7845 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7846 (hildon_app_menu_button_release, hildon_app_menu_init)
7847 (hildon_app_menu_class_init): Don't hide the menu on button
7848 release if the user didn't press outside first.
7850 * src/hildon-window.h
7851 * src/hildon-window.c (hildon_window_toggle_menu)
7852 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7853 hildon_window_toggle_menu a virtual function for the stackable
7854 window to override it.
7856 * src/hildon-stackable-window.h
7857 * src/hildon-stackable-window-private.h
7858 * src/hildon-stackable-window.c
7859 (hildon_stackable_window_realize)
7860 (hildon_stackable_window_finalize)
7861 (hildon_stackable_window_class_init)
7862 (hildon_stackable_window_init)
7863 (hildon_stackable_window_set_main_menu): New function to set the
7864 app menu of a HildonStackableWindow.
7866 * examples/hildon-app-menu-example.c: Remove the button to show
7867 the app menu, now it'll be shown when clicking on the title bar
7870 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7872 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7873 set the widget name if the arrangement flags do not specify
7876 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7878 * src/hildon-button.c: (hildon_button_set_property),
7879 (hildon_button_class_init), (hildon_button_new_full),
7880 (hildon_button_set_arrangement): Added "arrangement-flags"
7883 Make the HildonButtonFlags a construction-only property, to allow
7884 subclasses to set them properly.
7886 2008-07-21 Tim Janik <timj@imendio.com>
7888 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7889 insertion position after backspace, so additional digits are appended,
7892 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7894 * src/hildon-pannable-area.c,
7895 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7896 TODO list, it was complete and removed the g_debug and g_print
7899 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7901 Added the movement modes to the hildon-pannable-area, with this
7902 modes the developers can control in which directions the widget
7903 can scroll. They can also connect to signals in order to do
7904 something when that happens, allowing applications scroll. There
7905 is an example uploaded showing how to use it.
7907 * examples/Makefile.am:
7908 * examples/hildon-pannable-area-example-4.c: Added this example of
7909 an application using the modes.
7911 * src/hildon-marshalers.list: Added a new marshaller for the new
7914 * src/hildon-pannable-area.h: Added new enumerations and flags in
7915 order to control the movement modes and the new signals to warn
7916 about the movements in the area.
7918 * src/hildon-pannable-area.c:
7919 (hildon_pannable_axis_scroll),
7920 (hildon_pannable_area_scroll),
7921 (hildon_pannable_area_motion_notify_cb),
7922 (hildon_pannable_area_get_property),
7923 (hildon_pannable_area_set_property),
7924 (hildon_pannable_area_map),
7925 (hildon_pannable_area_class_init),
7926 (hildon_pannable_area_init),
7927 (hildon_pannable_area_jump_to): Added the modes to control the
7928 movement in the widget. We have added properties to control it,
7929 signals to warn about the movements and refactored some code.
7931 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7933 Changes required in order to allow vfast_factor set to zero to
7936 * src/hildon-pannable-area.c:
7937 (hildon_pannable_area_button_press_cb): Changed the condition, it
7938 is required for not allowing click when vfast_factor is zero.
7939 (hildon_pannable_area_timeout): Initialized velocity variables
7940 when we stop moving, it was less than 1 but not zero and we need
7941 to check zero in some situations.
7942 (hildon_pannable_area_class_init): Changed the default value of
7943 the speed factor, now the button_press is just sent in case the
7944 speed is 2 per cent of the max speed.
7945 (hildon_pannable_area_init): Initialization with 0.
7947 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7949 * src/hildon-pannable-area.c,
7950 (hildon_pannable_area_get_topmost): replaced
7951 gdk_window_get_children with gdk_window_peek_children, this way we
7952 do not have to free the list because it is not a copy.
7954 (hildon_pannable_axis_scroll),
7955 (hildon_pannable_area_scroll),
7956 (hildon_pannable_area_timeout),
7957 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7958 two parameters that were only used inside the
7959 hildon_pannable_area_scroll function.
7961 * examples/hildon-pannable-area-example.c,
7962 (get_sawtooth_label): Fixed small memory leak.
7964 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7966 More checks for the case where the overshoot is bigger than the
7969 * src/hildon-pannable-area.c:
7970 (hildon_pannable_draw_vscroll),
7971 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7972 to draw the slider of the scrollbar under the other scrollbar.
7973 (hildon_pannable_area_expose_event): added new checks to control
7974 the drawing of the overshooting area rectangle, in case it is too
7975 big for the area of the widget.
7976 (hildon_pannable_area_size_allocate): add more checks to avoid
7977 setting a position to the child widget outside the area.
7979 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7981 * src/hildon-pannable-area.c
7982 (hildon_pannable_area_size_allocate): Added conditions to control
7983 when overshooting is bigger than the allocated space for the
7984 children, this avoids negative allocations.
7986 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7988 * doc/hildon-docs.sgml
7990 * examples/Makefile.am
7991 * examples/hildon-button-example.c
7993 * src/hildon-button.c
7994 * src/hildon-button.h
7995 * src/hildon.h: Initial version of the new HildonButton widget,
7998 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8000 * src/hildon-pannable-area.c:
8001 (hildon_pannable_area_button_press_cb),
8002 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8003 (hildon_pannable_area_motion_notify_cb),
8004 (hildon_pannable_area_button_release_cb),
8005 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8006 (hildon_pannable_area_jump_to_child):
8008 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8010 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8012 * examples/Makefile.am
8013 * examples/hildon-pannable-area-touch-grid-example.c
8014 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8015 the Hildon Touch List and Hildon Touch Grid using the
8016 HildonPannableArea widget.
8018 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8020 * src/hildon-pannable-area.c,
8021 (hildon_pannable_area_button_press_cb),
8022 (hildon_pannable_area_refresh),
8023 (hildon_pannable_area_scroll),
8024 (hildon_pannable_area_motion_notify_cb),
8025 (hildon_pannable_area_button_release_cb),
8026 (hildon_pannable_area_expose_event),
8027 (hildon_pannable_area_add),
8028 (hildon_pannable_area_remove),
8029 (hildon_pannable_area_realize),
8030 (hildon_pannable_area_size_allocate),
8031 (hildon_pannable_area_class_init),
8032 (hildon_pannable_area_init),
8033 (hildon_pannable_area_scroll_to_child),
8034 (hildon_pannable_area_jump_to_child): Fixed the problem of
8035 removing the child from the GtkBin, we have rearranged the widget
8036 hierarchy, now there is no GtkAlignment which was not doing
8037 anything interesting but breaking some of the assumptions of
8038 GtkContainer. Now developers if they want to add a GtkAlignment
8039 they could, but it is not inside the area.
8041 We had to review the whole allocation/expose process, now it is
8042 improved and we save at least three signals which would be saving
8043 some time when rendering the widget. The allocation of the
8044 scrollbars is now made in the allocate method as usual.
8046 We have also added some conditions in order to control when there
8047 is no child of the pannable area. Maybe we will need more work
8050 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8052 * src/hildon-pannable-area.c,
8053 (hildon_pannable_area_dispose): Released the fade-out timeout when
8054 disposing the widget.
8056 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8058 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8059 zero, we are going to use that property in order to deactivate the
8061 (hildon_pannable_axis_scroll),
8062 (hildon_pannable_area_size_allocate): Added conditions to control
8063 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8064 call, now it is called in all situations and we can remove calls
8065 in the allocate method.
8066 (hildon_pannable_area_map): Control the situation when
8067 overshoot_max is zero, we do not need the timeout.
8068 (hildon_pannable_area_class_init): Added documentation in order to
8069 point out that setting zero to overshoot_max means deactivate
8072 NOTE: removed trailing whitespaces from my previous comments of
8075 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8077 * src/hildon-pannable-area.c
8078 (hildon_pannable_area_get_property),
8079 (hildon_pannable_area_set_property),
8080 (hildon_pannable_area_map),
8081 (hildon_pannable_area_class_init),
8082 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8083 to cause the widget give a hint about its panning abilities upon
8086 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8088 * src/hildon-pannable-area.c: Several documentation improvements.
8090 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8092 * src/hildon-program.c
8093 * src/hildon-stackable-window.c: Update documentation.
8095 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8097 * src/hildon-stackable-window.c (get_previous_window_if_last):
8098 Renamed get_last_window()
8099 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8100 (hildon_stackable_window_unset_program):
8102 (get_previous_window_if_last):
8103 Detect if the window hasn't been added to a HildonProgram.
8105 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8107 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8109 * src/hildon-pannable-area.c
8110 (hildon_pannable_area_button_press_cb),
8111 (hildon_pannable_axis_scroll),
8112 (hildon_pannable_area_scroll),
8113 (hildon_pannable_area_timeout),
8114 (hildon_pannable_calculate_vel_factor),
8115 (hildon_pannable_area_get_property),
8116 (hildon_pannable_area_set_property),
8117 (hildon_pannable_area_class_init),
8118 (hildon_pannable_area_init),
8119 (hildon_pannable_area_scroll_to),
8120 (hildon_pannable_area_jump_to),
8121 (hildon_pannable_area_scroll_to_child),
8122 (hildon_pannable_area_jump_to_child):
8123 * src/hildon-pannable-area.h: Added the new API functions:
8124 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8125 hildon_pannable_area_scroll_to_child,
8126 hildon_pannable_area_jump_to_child
8129 * examples/Makefile.am
8130 * examples/hildon-pannable-area-example-2.c
8131 * examples/hildon-pannable-area-example-3.c: Added these two new
8132 examples in order to test and show how the new APIs work.
8134 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8136 * examples/hildon-stackable-window-example.c (new_window):
8137 * src/Makefile.am (noinst_HEADERS):
8138 * src/hildon-program.c (hildon_program_go_to_root_window):
8139 * src/hildon-program.h:
8140 * src/hildon-stackable-window-private.h:
8141 * src/hildon-stackable-window.c:
8142 * src/hildon-stackable-window.h:
8143 Create hildon-stackable-window-private.h
8144 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8146 * examples/hildon-app-menu-example.c (create_menu):
8147 * examples/hildon-hvolumebar-insensitive-example.c (main):
8148 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8149 * examples/hildon-toolbar-seekbar-example.c (main):
8150 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8151 * src/hildon-banner.c (hildon_banner_set_property):
8152 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8153 Fix compilation warnings
8155 * src/hildon-window.c:
8158 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8160 * src/hildon-stackable-window.c
8161 (hildon_stackable_window_unset_program):
8162 Calculate correctly whether to show the previous window if the
8163 last one is removed from the stack.
8164 (hildon_stackable_window_go_to_root_window):
8165 Send delete events starting from the topmost window.
8166 Stop if one of the windows is not destroyed.
8168 (hildon_stackable_window_delete_event)
8169 (hildon_stackable_window_class_init):
8170 Ignore the delete event if the window is not the topmost one.
8172 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8174 * src/hildon-pannable-area.c
8175 (hildon_pannable_area_expose_event): Fixed a problem when
8176 selecting the background color of the scrollbars.
8178 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8180 * examples/hildon-stackable-window-example.c
8181 * src/hildon-stackable-window.c
8182 * src/hildon-stackable-window.h
8183 hildon_stackable_window_go_home() renamed to
8184 hildon_stackable_window_go_to_root_window()
8185 Send delete events to windows rather than closing them with
8186 gtk_widget_destroy()
8188 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8190 * src/hildon-pannable-area.c
8191 (hildon_pannable_area_button_release_cb): Fix overshooting in
8194 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8196 * src/hildon-pannable-area.c
8197 (hildon_pannable_area_init): Initially show the scroll indicators.
8198 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8200 Add initial effect showing the widget is pannable.
8202 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8204 * src/hildon-pannable-area.c
8205 (hildon_pannable_area_class_init)
8206 (hildon_pannable_area_set_property)
8207 (hildon_pannable_area_get_property)
8208 (hildon_pannable_area_button_press_cb):
8209 New 'velocity_fast_factor' property to decide which velocity is
8212 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8214 * src/hildon-pannable-area.c
8215 (hildon_pannable_draw_hscroll)
8216 (hildon_pannable_draw_vscroll):
8217 Use float variables to calculate the size of the scrollbars to
8218 avoid error propagation and resizing during scrolling.
8220 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8222 * src/hildon-pannable-area.c
8223 (hildon_pannable_draw_vscroll)
8224 (hildon_pannable_draw_hscroll):
8225 Define a minimum size for the scroll bars
8227 * src/hildon-stackable-window.c
8228 (hildon_stackable_window_go_home): Fix compilation warning
8229 (get_last_window): Minor optimizations
8230 (hildon_stackable_window_class_init): Fix initialization of
8233 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8235 * src/hildon-stackable-window.c: Fixed typos in doc
8237 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8239 * src/hildon-pannable-area.c
8240 (hildon_pannable_area_scroll):
8241 Calculate here whether we need to scroll instead of using the booleans
8242 that tell us whether to /draw/ the scrolling bars.
8244 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8246 * src/hildon-app-menu.h
8248 * src/hildon-app-menu.c
8249 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8250 multiple filter groups related code and API. Now we support only
8252 * examples/hildon-app-menu-example.c:
8254 Update to reflect API changes.
8256 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8258 * src/hildon-stackable-window.c
8259 (hildon_stackable_window_class_init):
8260 Add hildon_stackable_window_realize.
8261 (hildon_stackable_window_realize):
8262 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8263 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8264 to apply theming and behavior specific to HildonStackableWindow
8267 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8269 * src/hildon-note.c (hildon_note_button_release):
8270 Close information notes also when tapping on them
8272 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8274 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8275 ELASTICITY, refactor and review, fix some issues with drawing
8278 * src/hildon-pannable-area.c:
8279 (hildon_pannable_area_button_press_cb): removed the conditions to
8280 avoid clicks when overshooting. It is not required
8282 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8283 define. Refatored and reviewed the code, now we do not need to
8284 manage velocity in motion_notify.
8286 (hildon_pannable_area_motion_notify_cb): We have moved the code
8287 that controls the area_scroll to the axis_scroll function and get
8288 rid of duplicated code.
8290 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8292 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8294 (hildon_pannable_draw_vscroll),
8295 (hildon_pannable_draw_hscroll): Fixed the problems with the
8296 scrollbar drawing, now we do not use two surfaces, it is easier
8297 and saves resources.
8299 (hildon_pannable_area_get_property): Style modification.
8301 (hildon_pannable_area_class_init): Changed some default values.
8303 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8305 * src/hildon-stackable-window.c: Fix some typos in the
8308 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8310 * src/hildon-dialog.c:
8311 Change indentation style
8314 (hildon_note_button_release):
8315 Use root coordinates to check if the release event happened
8318 * src/hildon-app-menu.c
8319 (hildon_app_menu_button_release):
8320 Remove unnecessary check
8322 * examples/hildon-app-menu-example.c
8324 Add cast to fix warning
8326 * src/hildon-app-menu.c
8327 (hildon_app_menu_class_init):
8328 New inner-border style property.
8329 Set all default spacings to 16
8330 (hildon_app_menu_init):
8331 Use vertical-spacing to set the space between filter buttons and
8332 regular menu buttons.
8333 Set the default container border using the inner-border value.
8335 * examples/hildon-app-menu-example.c
8337 Don't set the menu border explicitly, now we have the inner-border
8338 style property for that.
8340 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8342 * src/hildon-app-menu.c (hildon_app_menu_init):
8343 Make the window modal
8345 * src/hildon-note.c (hildon_note_map)
8346 * src/hildon-app-menu.c (hildon_app_menu_map):
8347 Destroy the grab window if we're unable to grab the pointer
8349 * src/hildon-app-menu-private.h
8350 * src/hildon-app-menu.c
8351 (hildon_app_menu_init, hildon_app_menu_finalize)
8352 (hildon_app_menu_map, hildon_app_menu_unmap)
8353 (hildon_app_menu_button_release)
8354 (grab_transfer_window_get):
8355 Bring back the grab window
8356 (hildon_app_menu_realize):
8357 Decorate the window, set WM hint for Matchbox
8359 * src/hildon-note.c (hildon_note_realize):
8360 * src/hildon-banner.c (hildon_banner_realize):
8361 Add WM hints for Matchbox
8363 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8365 * src/hildon-app-menu-private.h
8366 * src/hildon-app-menu.c
8367 (hildon_app_menu_init, hildon_app_menu_finalize)
8368 (hildon_app_menu_map, hildon_app_menu_unmap)
8369 (hildon_app_menu_button_release):
8370 Remove the grab window, it's not needed anymore
8372 * src/hildon-program.c
8373 Fixed typo in documentation
8375 * src/hildon-app-menu.h
8376 * src/hildon-app-menu.c
8377 * examples/hildon-app-menu-example.c
8378 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8380 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8383 Added new transfer_window and close_if_pressed_outside private
8385 (hildon_note_rebuild):
8386 Don't add a cancel button to the information note. It will be
8387 closed when tapping outside
8388 Remove the comment about the OK button in the documentation
8389 (hildon_note_realize):
8390 Set the notification type hint
8391 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8392 Grab/ungrab pointer and keyboard if the note has to be closed when
8394 (hildon_note_button_release):
8395 Close the note when tapping outside (if applicable)
8397 * src/hildon-app-menu.c
8398 Grab/ungrab pointer and keyboard on map/unmap
8399 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8400 Close the menu on button release, not button press
8402 * src/hildon-banner.c
8403 (hildon_banner_set_property)
8404 (hildon_banner_check_position):
8405 Make the banner use the full width of the screen
8406 (hildon_banner_show_information)
8407 (hildon_banner_show_information_with_markup):
8408 Don't display an icon by default
8410 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8412 Added fading scrollbars and adapted all the overshooting code to
8413 horizontal scrolling. We have also fixed bugs with overshooting
8414 and current fading implementation.
8416 * src/hildon-pannable-area.c
8417 (hildon_pannable_area_scroll_indicator_fade): Time out function
8418 used to change the transparency of the scrollbars.
8420 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8421 control and fixed a problem with fading, we now remove the fade
8422 timeout before adding a new one.
8424 (hildon_pannable_axis_scroll):
8425 (hildon_pannable_area_scroll):
8426 (hildon_pannable_area_timeout): Added this functions so we can use
8427 the scroll code both for vertical and horizontal.
8429 (hildon_pannable_area_motion_notify_cb):
8430 (hildon_pannable_area_button_release_cb): Added the horizontal
8431 scrolling control, fixed a problem with the overshooting timeout.
8433 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8434 painting of the scrolls.
8436 (hildon_pannable_draw_vscroll):
8437 (hildon_pannable_draw_hscroll):
8438 (hildon_pannable_area_expose_event):
8439 Draw both scrollbars and rectangles in the overshooting area.
8441 (hildon_pannable_area_get_property):
8442 (hildon_pannable_area_set_property):
8443 Modified the overshoot property to overshoot_max
8445 (hildon_pannable_area_map):
8446 Replaced the comments symbols.
8448 (hildon_pannable_area_size_allocate):
8449 (hildon_pannable_area_class_init):
8450 (hildon_pannable_area_init): Added horizontal scroll, fading
8451 effect properties, fixed a problem when overshooting in the bottom
8454 * examples/hildon-pannable-area-example.c:
8455 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8456 looks better in the example.
8458 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8460 * src/hildon-window.c
8461 * src/hildon-window.h
8462 (hildon_window_class_init)
8463 (hildon_window_unset_program)
8464 (hildon_window_unset_program_real):
8465 Make unset_program a virtual function
8467 * src/hildon-stackable-window.c
8468 * src/hildon-stackable-window.h
8469 Added hildon_stackable_window_go_home()
8471 * examples/Makefile.am
8472 * examples/hildon-stackable-window-example.c
8473 HildonStackableWindow example
8475 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8477 * hildon-pannable-area.c: Added the overshoot property and removed
8478 the OVERSHOOT define. Fixed an indent style error.
8479 (hildon_pannable_area_motion_notify_cb):
8480 (hildon_pannable_area_get_property):
8481 (hildon_pannable_area_set_property): Add overshoot property.
8483 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8486 (hildon_pannable_area_class_init): Installed the new property.
8488 * hildon-pannable-area-example.c: Added a sawtooth function, this
8489 way it is easier to check the movement in the pannable.
8490 (get_sawtooth_label): Added this function.
8491 (main): Now we get the labels from the new get_sawtooth_label
8494 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8496 * src/hildon-app-menu.h
8497 * src/hildon-app-menu.c
8498 Renamed API variables for consistency
8500 (hildon_app_menu_popup): Use also the default window size to
8501 decide where to place the menu
8503 (hildon_app_menu_init, hildon_app_menu_class_init): New
8504 external-border style property
8506 2008-05-26 Michael Natterer <mitch@imendio.com>
8508 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8509 widget_class->tap_and_hold_setup signal slot doesn't exist any
8510 longer, stop overriding it.
8512 (hildon_time_editor_init): g_signal_connect() to the
8513 tap-and-hold-setup signal instead.
8515 (hildon_time_editor_entry_keypress): add cast to fix warning.
8517 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8519 * doc/hildon-docs.sgml
8521 * examples/Makefile.am
8522 * examples/hildon-app-menu-example.c
8524 * src/hildon-app-menu-private.h
8525 * src/hildon-app-menu.c
8526 * src/hildon-app-menu.h
8528 New HildonAppMenu widget
8530 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8532 Rearranged the inheritance of the pannable area, now it inherits
8533 from GtkBin. This will allow us to control the event_window and
8534 the allocation process of the widget, required for some effects.
8536 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8537 GtkBin structures. * src/hildon-pannable-area.c: Added the
8538 event_window variable.
8539 (hildon_pannable_area_button_press_cb):
8540 (hildon_pannable_area_button_release_cb):
8541 (hildon_pannable_area_motion_notify_cb):
8542 Changed the signature of the method, now we override the event
8543 callback instead of connecting to the signal.
8545 (hildon_pannable_area_realize):
8546 (hildon_pannable_area_unrealize):
8547 (hildon_pannable_area_map):
8548 (hildon_pannable_area_unmap):
8549 (hildon_pannable_area_size_allocate):
8550 Added functions to control the widget construction. We add a
8551 INPUT_ONLY window and we put it over the widgets inside the
8552 container, this event_window handles the events.
8554 (hildon_pannable_area_class_init):
8555 Replaced the signal connections with overrides of the event
8558 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8560 Bouncing effect added when touching the borders, you can change
8561 the elasticity of the border changing the ELASTICITY define.
8563 * src/hildon-pannable-area.c: Added ELASTICITY define.
8564 (hildon_pannable_area_timeout): Added inverse velocity when
8565 touching the border of the child widget, that causes a bounce.
8567 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8569 Improved performance, we now do not go to the X server in order to
8570 get the list of window children. Apparently the effect is the
8571 same, we have to be careful and check if this breaks something in
8574 * src/hildon-pannable-area.c:
8575 (get_ordered_children): Removed this function.
8576 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8577 the children windows function with gdk_window_get_children.
8579 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8581 * src/hildon-pannable-area.c:
8582 (hildon_pannable_area_dispose): Fixed a crash when closing the
8583 window and kinetics is activated.
8585 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8587 * src/hildon-pannable-area.h
8588 * src/hildon-pannable-area.c
8589 Changed indentation style to meet the one used in Hildon
8591 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8593 Reviewed the interaction of the AUTO mode, now we use the time
8594 attribute of the events and calculate the velocity in the motion,
8595 doing a gimp like calculation. The velocity is calculated in each
8596 motion event using the last velocity and the current one, the
8597 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8599 * src/hildon-pannable-area.c: Replaced the time based algorithm
8601 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8602 timeout for the AUTO mode when we are still moving the cursor. We
8603 added also the velocity calculation in this function.
8604 (hildon_pannable_area_button_release_cb): launch the timeout in
8605 case we are in AUTO mode. There are still some constants here that
8606 come from the old implementation that should be reviewed and
8609 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8611 * doc/hildon-docs.sgml
8614 * src/hildon-stackable-window.c
8615 * src/hildon-stackable-window.h
8617 New HildonStackableWindow widget
8619 * examples/hildon-dialog-example.c
8620 * examples/hildon-pannable-area-example.c
8623 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8625 * src/hildon-dialog.c
8626 (hildon_dialog_new_with_buttons): New constructor.
8628 * examples/hildon-dialog-example.c
8629 (main): Update the example to use the new
8630 hildon_dialog_new_with_buttons().
8632 * examples/hildon-pannable-area-example.c
8633 (main): Update example.
8635 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8637 * doc/hildon-docs.sgml
8639 Added HildonPannableArea to the documentation.
8641 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8643 * doc/visual_index.xml
8644 Fix reference to HildonLoginDialog in documentation
8646 * doc/hildon-docs.sgml
8648 * examples/Makefile.am
8649 * examples/hildon-dialog-example.c
8651 * src/hildon-dialog.c
8652 * src/hildon-dialog.h
8654 New HildonDialog widget.
8656 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8658 * src/hildon-pannable-area.c
8659 Merge latest changes (r4318, r4342) from libmokoui trunk
8661 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8663 * examples/Makefile.am
8664 * examples/hildon-pannable-area-example.c
8666 * src/hildon-pannable-area.c
8667 * src/hildon-pannable-area.h
8669 New HildonPannableArea widget.
8671 2008-04-15 18:05:19 <timj@imendio.com>
8673 * src/hildon-banner.c: revert the recent change, that introduced
8674 gtk_window_present() calls. this reopens:
8675 Bug 78481 - [freetest] information banners are hidden under browser menu
8676 But resolves another variant of:
8677 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8679 2008-04-15 13:21:13 <timj@imendio.com>
8681 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8682 recreated its layout, spotted by Kris. this fixes all remaining
8683 artefacts and stability issues with the banner code. in particular:
8684 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8686 2008-04-14 16:52:59 <timj@imendio.com>
8688 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8689 operating on unrealized widgets, fixes:
8690 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8692 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8694 2008-04-09 Kristian Rietveld <kris@imendio.com>
8696 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8697 makes banner disappear.
8698 Fixes: NB#79182: info banner flickering with certain message lengts.
8700 * src/hildon-banner.c (hildon_banner_constructor),
8701 (hildon_banner_init), (hildon_banner_set_text),
8702 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8703 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8704 FALSE, reset size requests of label and banner,
8705 (force_to_wrap_truncated): when the text is too wide, always enforce
8706 the maximum possible width instead of recalculating it from the
8707 layout; enforce the maximum banner height of 3 lines,
8708 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8709 nicer wrapping and no truncated chars if space gets tight.
8711 * src/hildon-banner-private.h: add has_been_wrapped and
8712 has_been_truncated fields.
8714 2008-04-07 Sven Herzberg <sven@imendio.com>
8716 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8717 local values in hildon_date_editor_size_allocate
8719 * src/hildon-date-editor.c: moved the real allocation code into the
8722 2008-04-07 Sven Herzberg <sven@imendio.com>
8724 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8725 local values in hildon_date_editor_size_allocate
8727 * src/hildon-date-editor.c: merged the two if() branches together
8729 2008-04-07 Sven Herzberg <sven@imendio.com>
8731 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8732 local values in hildon_date_editor_size_allocate
8734 * src/hildon-date-editor.c: changed the arguments of the if()
8737 2008-04-07 Sven Herzberg <sven@imendio.com>
8739 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8740 local values in hildon_date_editor_size_allocate
8742 * src/hildon-date-editor.c: split the calculation of the allocation
8743 from the real allocation
8745 2008-03-27 Michael Natterer <mitch@imendio.com>
8747 Fixes: NB#81696: The passcode is not overwritten even after
8750 * src/hildon-code-dialog.c
8751 (hildon_code_dialog_button_clicked)
8752 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8753 because that doesn't overwrite selected text. Instead, emit the
8754 "commit" signal on the entry's im_context so the entry's normal
8755 insert logic is triggered. Set the cursor to the end of the entry
8756 after each insert operation so that we *only* insert in the middle
8757 of the text if something was selected.
8759 2008-03-27 Michael Natterer <mitch@imendio.com>
8761 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8762 selector cannot be opened
8764 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8765 when the popup color selector is created. Please connect to this
8766 signal in order to set the dialog's help ID.
8768 2008-03-25 Sven Herzberg <sven@imendio.com>
8770 Fixes: MB#1212: Hide info banners (infoprints) on click
8772 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8773 extracted the close event simulation into an extra function
8774 (hildon_banner_button_press_event): simulate a close event and destroy
8775 the widget if the event wasn't handled
8776 (hildon_banner_class_init): added the button_press_event handler
8777 (hildon_banner_init): added button-press events to the widget
8779 2008-03-25 Sven Herzberg <sven@imendio.com>
8781 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8782 Patch from: Mohammad Anwari <mdamt@maemo.org>
8784 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8785 instead of the right in RTL mode
8786 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8787 breadcrumb button list in RTL mode
8788 * src/hildon-caption.c: mirror the appearance of the caption widget in
8790 * src/hildon-date-editor.c: mirror appearance of the date editor in
8792 * src/hildon-time-editor.c: mirror appearance of the time editor in
8794 * src/hildon-window.c: fix the position of the popup in RTL mode
8796 2008-03-25 Sven Herzberg <sven@imendio.com>
8798 Amendment to the fix of NB#22072. Fix compilation.
8800 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8802 2008-03-19 Sven Herzberg <sven@imendio.com>
8804 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8807 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8808 timeout id properly when the timeout will disappear this leaves no
8809 artifacts around in the destroy(); there will only be the timeout
8810 created by hildon_banner_ensure_timeout() and adding a new timeout
8811 will also work if the timeout gets removed because the timeout_handler
8814 2008-03-19 Michael Natterer <mitch@imendio.com>
8816 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8818 * src/hildon-volumebar.c
8819 * src/hildon-vvolumebar.c
8820 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8821 the widget becomes focussable at all.
8823 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8824 set the focus to wither the mute button or the volumebar.
8826 Remove own "can-focus" property and instead listen to
8827 notify::can-focus in order to update the widget's state.
8829 Implement GtkWidget::focus() and make sure we can also *leave* the
8830 widget, not only enter it, depending on volumebar orientation and
8831 requested focus direction.
8833 Clean up set_mute() to cooperate nicely with all the above.
8835 2008-03-04 Michael Natterer <mitch@imendio.com>
8837 Fixes: NB#78481: information banners are hidden under browser menu
8839 * src/hildon-banner.c: call gtk_window_present() on the banners so
8840 they are risen if they are already visible.
8842 2008-03-03 Sven Herzberg <sven@imendio.com>
8844 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8846 * examples/hildon-window-menu-example.c: (main): extended the window
8847 menu example to serve as a testcase for automatically added
8848 accelerator groups, too
8849 * src/hildon-window.c: (hildon_window_add_accel_group),
8850 (hildon_window_set_menu): added patch by Tommi Komulainen
8852 2008-03-03 Sven Herzberg <sven@imendio.com>
8854 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8856 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8857 knowledge about the border allocators used within GTK+
8859 2008-02-26 Sven Herzberg <sven@imendio.com>
8861 Fixes: MB#2981: Build with asserts broken
8863 * src/hildon-date-editor.c,
8864 * src/hildon-number-editor.c,
8865 * src/hildon-time-editor.c,
8866 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8867 the proper GType instance check
8869 2008-02-25 Sven Herzberg <sven@imendio.com>
8871 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8873 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8874 * examples/hildon-window-menu-example.c: (main): explicitly show
8876 * src/hildon-window.c:
8877 (hildon_window_set_main_menu): moved most of the code from set_menu()
8878 to this place; skipped the call to gtk_widget_show_all(); also didn't
8879 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8880 (hildon_window_set_menu): removed most of the code, just keep the
8881 questionable gtk_widget_show_all()
8882 * src/hildon-window.h: added the new function and deprecate the old
8885 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8891 * debian/changelog: Updating.
8893 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8896 * pkgconfig/Makefile.am:
8897 * pkgconfig/hildon.pc.in:
8900 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8901 use newly created API_MAJOR_VERSION.
8903 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8909 * debian/changelog: Updating.
8911 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8913 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8915 Add outer_border style property, we use it but don't define it (!).
8919 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8921 * examples/hildon-bread-crumb-trail-example.c (main):
8925 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8927 Fix logic for the bread crumb trail node removal.
8931 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * debian/changelog: Updating.
8939 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 Patch by Alejandro to get/set passwords dialogs accesibility.
8943 * hildon-1/src/hildon-get-password-dialog.c:
8944 * hildon-1/src/hildon-set-password-dialog.c:
8945 Set atk_set_name to the passwd entries in order to allow
8946 accessibility by name on this entries.
8948 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8953 * debian/control: Updating gtk dep.
8955 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8957 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8958 USE_MAEMO_GTK is enabled.
8960 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8962 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8963 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8965 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8971 * debian/changelog: Updating.
8973 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * examples/Makefile.am:
8976 * examples/hildon-logical-color-example.c:
8977 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8978 applied + adding a test case. Fixes: NB#71660.
8980 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8982 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8983 to be visible, fixes warning on map for windows without toolbars.
8985 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8987 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8988 2.11.0, add a check for that besides the MAEMO_GTK check.
8990 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8996 * debian/changelog: Updating.
8998 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9001 visibility. Fixes: NB#70842 and MB#615.
9003 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9005 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9006 set the separator as no-show-all so it doesn't unintentionally appear when
9007 someone does a show_all.
9009 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9011 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9012 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9013 toplevel item. Fixes: NB#62031
9015 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9017 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9018 fix the name of the function in the docs.
9020 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9026 * debian/changelog: Updating.
9028 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9030 * examples/hildon-banner-long-example.c: Adding a test-case for long
9033 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9035 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9037 * src/hildon-color-chooser-dialog.c:
9038 * src/hildon-color-chooser.c:
9039 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9040 memory leaks in font selector and color selector. Fixes: NB#70499 and
9043 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9045 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9047 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9049 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9050 little bit bigger. Fixes: #NB63694.
9052 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9058 * debian/changelog: Updating.
9060 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9063 * doc/hildon-docs.sgml:
9064 * doc/images/bread-crumb-trail.png:
9065 * doc/images/calendar-popup.png:
9066 * doc/images/caption.png:
9067 * doc/images/code-dialog.png:
9068 * doc/images/color-button.png:
9069 * doc/images/color-chooser-dialog.png:
9070 * doc/images/color-chooser.png:
9071 * doc/images/controlbar.png:
9072 * doc/images/date-editor.png:
9073 * doc/images/font-selection-dialog.png:
9074 * doc/images/get-password-dialog.png:
9075 * doc/images/hvolumebar.png:
9076 * doc/images/login-dialog.png:
9077 * doc/images/note.png:
9078 * doc/images/number-editor.png:
9079 * doc/images/range-editor.png:
9080 * doc/images/seekbar.png:
9081 * doc/images/set-password-dialog.png:
9082 * doc/images/sort-dialog.png:
9083 * doc/images/time-editor.png:
9084 * doc/images/time-picker.png:
9085 * doc/images/vvolumebar.png:
9086 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9087 Adding the bread-crumb-trial and helpers to the documentation.
9089 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9091 * examples/hildon-find-toolbar-example.c:
9092 * src/hildon-find-toolbar.c:
9093 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9094 actually continue firing the other handlers if connected. Adding a new
9096 hildon_find_toolbar_get_last_index that gets the index of the most
9097 recently added (last) item. Fixes: NB#52301.
9099 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9102 behaviour. Fixes: NB#68610.
9104 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9106 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9109 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9111 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9112 when realizing the banner. Should make the infonbanner effect a bit more
9115 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9117 * src/hildon-volumebar.c:
9118 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9119 hildon_volumebar_set_range_insensitive_message and
9120 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9122 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9124 * src/hildon-window.c: Fixing the border freeing on destroy.
9126 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * src/hildon-code-dialog-private.h:
9129 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9130 kw keyboard support in HildonCodeDialog.
9132 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * debian/changelog: Updating.
9140 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9142 * src/hildon-date-editor.c:
9143 * src/hildon-number-editor.c:
9144 * src/hildon-private.c:
9145 * src/hildon-private.h:
9146 * src/hildon-time-editor.c:
9147 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9148 handling in subclassed composite widgets. Fixes: NB#66628.
9150 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9153 from destroy_ callback as it introduces problems in async dbus signal
9154 handlers. Fixes NB#66673.
9156 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9158 * examples/hildon-hvolumebar-example.c:
9159 * src/hildon-volumebar.c: Improving the focus handling in the
9160 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9161 set_property accessor so that "mute" property can be actually set. I'm
9162 scared that nobody noticed it's totally broken.
9164 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9166 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9169 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9171 * src/hildon-calendar.c:
9172 * src/hildon-number-editor.c:
9173 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9174 matches the spec of 6 chars per second. Fixes: NB#60489.
9176 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9178 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9179 gtk_style_lookup_color sometime returns FALSE even though color was
9180 found and values were filled properly. Weird. Removing the warning for the
9183 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9186 expand vertically. Adding some extra space to the find toolbar buttons to
9187 make them thumbable. Fixes NB#66060.
9189 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9191 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9192 popup with "Ok" and "Cancel". Fixes NB#59299.
9194 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9196 * src/hildon-calendar.c: Process all window updates before executing next
9197 timeout. Fixes: NB#54146.
9199 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * debian/changelog: Updating.
9207 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9209 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9210 the client event and ignore it, since we use the delete event to close
9213 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * src/hildon-helper.c: Remove the bogus warning about color not being
9216 found. Fixes NB#58352.
9218 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9220 * examples/Makefile.am:
9221 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9222 HildonSeekbar widget inside a toolbar.
9224 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9226 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9227 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9228 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9229 don't want to be closed by non-temporary windows on map.
9231 Also use G_DEFINE_TYPE instead of manually typed code.
9233 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9240 * debian/rules: Updating.
9242 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9244 * examples/Makefile.am:
9245 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9246 bug NB#61128. Strangely it works.
9248 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9250 * src/hildon-date-editor.c: When the date editor entry has been changed
9251 but the numbers of characters < max, turn off the skip validation flag.
9252 Prevents a situation when we enter first a valid year and later re-write
9253 it with an invalid one. Fixes NB#60154.
9255 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9258 code dialog. Fixes NB#64355.
9260 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9263 switching the page. Fixes NB#49374.
9265 * examples/Makefile.am:
9266 * examples/hildon-wizard-dialog-example.c: Adding an example for
9267 HildonWizardDialog that shows how to handle manual sensitivity setting on
9270 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9274 * src/hildon-version.h.in:
9275 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9277 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9279 * src/hildon-volumebar.c: Updating the docs.
9281 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9287 * debian/changelog: Updating.
9289 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9291 * src/hildon-find-toolbar.c:
9292 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9293 selected item: hildon_find_toolbar_set_active,
9294 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9295 hildon_find_toolbar_get_active_iter . They correspond to respective
9296 GtkComboBox functions.
9298 * examples/Makefile.am:
9299 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9302 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9304 * examples/Makefile.am:
9305 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9308 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9309 when font size > 32 and we pack a focusable widget inside. Actually using
9310 the default response would work too, but since we don't show default
9311 response state in any way (no theming) it would not be visible to the
9312 user. Fixes NB#63430.
9314 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9316 * src/hildon-date-editor.c: Adding the missing variable setter in the
9317 set_property handler. Fixes NB#54182.
9319 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9321 * src/hildon-window.h: Changing the long key press time from 1500ms to
9322 800ms as requested in NB#63700. I have a bad feeling about this, let's
9323 see... Fixes NB#63700.
9325 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9327 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9328 hildon_time_picker_map, hildon_time_picker_realize,
9329 hildon_time_picker_style_set): Split the contents of map to more
9330 appropriate functions; set window decorations on realize and update
9331 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9333 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9338 * debian/changelog: Updating.
9340 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9342 * src/Makefile.am: fixed installation of the header files
9344 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9350 * debian/changelog: Updating.
9352 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9354 * configure.ac: Removing some remaining of --enable-xan.
9356 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9358 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9359 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9361 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9362 2.10.12-osso6 because the move-focus signal needs to be available in
9365 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9367 * examples/Makefile.am:
9368 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9369 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9370 fine. Prolly NB#61128 is fixed now.
9372 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9374 * src/hildon-volumebar.c:
9375 * src/hildon-volumebar.h: Adding the
9376 hildon_volumebar_set_range_insensitive_message and
9377 hildon_volumebar_set_range_insensitive_messagef functions to set
9378 insensitive message on the slider of the volumebar. Fixes NB#61129.
9380 * examples/Makefile.am:
9381 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9382 test the new insensitive messsage functionality on HildonVolumebar.
9384 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9386 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9389 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9391 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9392 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9393 button on after clearing the trail.
9395 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9397 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9399 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9401 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9402 by splitting the installed headers in generated and non-generated groups. Use
9403 only the non-generated headers to create the hildon-enum-types.h file.
9405 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9407 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9409 * src/hildon-window.c: Hide the window before performing the destroy.
9410 Should make the app closing a little tiny bit more snappy.
9412 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9414 * src/hildon-seekbar.c: add gtkrange.h header
9415 * src/hildon-caption.c: remove unused variable
9417 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9419 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9422 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9428 * debian/changelog: Updating.
9430 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9432 * src/hildon-window.c (hildon_window_window_state_event,
9433 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9434 escape timeout on focus-out-event rather than notify::is-topmost; the
9435 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9437 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9439 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9440 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9442 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9444 * src/hildon-window: actually, you need to use the macro always, there's
9445 no private pointer in the instance structure. We should have cleaned this up
9446 when we had the chance...
9448 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9450 * src/hildon-window.c: do not get the private date from HildonWindow before
9451 it passes the g_return_if_fail check. Once it's passed the test, there's no
9452 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9453 if you are only going to access the data once. Whitespace cleanups.
9455 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9457 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9458 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9460 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9466 * debian/changelog: Updating.
9468 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9470 * src/hildon-window.c: When destroying the window, remove (if exists) the
9471 escape timeout handler. Fixes #NB59276.
9473 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9475 * src/hildon-banner.c: When realizing the widget, set the window
9476 transiency. Setting the transiency in the gobject constructor is not
9477 good, as the widget is not realized at that point. Fixes: #NB56624.
9479 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9481 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9482 Add padding for future expansions.
9484 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9486 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9487 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9488 will fake an activation on the previous to the last item of the trail, so
9489 the effect can be overrided by the developer as usual.
9490 Also change the callback for the back button to do the same thing, so its
9491 effect can be overrided too. Fixes: NB#58982
9493 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9495 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9496 HildonCaption. Fixes NB#52379.
9498 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9500 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9501 the internal state of the trail after the user has had the chance of executing
9502 his handler for the signal. Specifically, it may happen that the activated button
9503 is removed and the user still lets the default handler run. This would segfault
9506 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9508 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9509 scrollbar to the preview dialog. Fixes NB#54147.
9511 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9513 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9514 max/min year properties can be altered, so the client can modify it
9515 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9517 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9519 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9520 hildonlike by default. Fixing a problem with disappearing arrows when
9521 scrolling through months and years. Fixes NB#54127.
9523 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9525 * examples/hildon-date-editor-example.c: Adding error callback to the date
9528 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9534 * configure.ac: Updating.
9536 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9538 * configure.ac: Adding a special '--enable-xan' configure option that
9539 turns off the -Werror compilation setting. Usefull for development.
9541 * src/hildon-calendar.c:
9542 * src/hildon-number-editor.c:
9543 * src/hildon-time-picker.c: Adding the 5* multiplier to
9546 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9548 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9549 instead of g_object_ref + gtk_object_sink.
9551 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9557 * debian/changelog: Updating.
9559 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9561 * src/hildon-color-chooser-dialog.c:
9562 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9563 straight from Tommi labs.
9565 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9567 * examples/hildon-finger-example.c: Correcting the header file path.
9569 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9570 the changed signal. Fixes a small memory leak.
9572 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9576 * src/hildon-banner.c: Importing several usefull fixes from the
9577 ubuntu-mobile branch.
9579 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9581 * examples/Makefile.am:
9582 * examples/hildon-finger-example.c: Adding a finger-checking code
9585 * src/hildon-font-selection-dialog.c: Do not allocate the color
9586 structure using the g_new. Fixes NB#54061.
9588 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9590 * src/hildon-helper.c: Correcting tabs in file.
9592 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9594 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9595 control the visibility of the children.
9597 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9599 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9605 * debian/changelog: Updating.
9607 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9609 * src/hildon-bread-crumb-trail.c:
9610 (hildon_bread_crumb_trail_size_allocate):
9612 Make the back button always a square.
9614 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9616 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9617 from the .c file as it's a private file.
9619 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9621 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9622 uses slightly bigger height.
9624 * src/hildon-font-selection-dialog.c: Adding some checks before
9625 freeing memory in the font selection dialog.
9627 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9629 * src/hildon-font-selection-dialog.c: Adding a small check when
9632 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9633 buttons sensitivity on page switching.
9635 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9637 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9638 internal details of adding a bread crumb to the trail.
9640 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9646 * debian/changelog: Updating.
9648 * src/hildon-bread-crumb-trail.h:
9649 * src/hildon-bread-crumb.h: Changing the API guard to
9650 HILDON_ENABLE_UNSTABLE_API.
9652 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9660 * src/hildon-helper.h: Updating.
9662 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9670 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9674 * src/hildon-helper.h: Small fix to make the package actually compile.
9676 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9678 * src/hildon-bread-crumb-trail.h:
9679 * src/hildon-bread-crumb.h:
9681 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9682 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9684 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9686 * examples/hildon-bread-crumb-trail-example.c:
9688 * src/hildon-bread-crumb-trail.c:
9689 * src/hildon-bread-crumb-trail.h:
9690 * src/hildon-bread-crumb.c:
9691 * src/hildon-bread-crumb.h:
9692 * src/hildon-marshalers.list:
9693 * src/hildon-bread-crumb-widget.c:
9694 * src/hildon-bread-crumb-widget.h:
9696 Slight change in the widget design. The bread crumb trail API is
9697 unchanged, but HildonBreadCrumb is now an interface. A *private*
9698 implementation, hildon-bread-crumb-widget, is provided and used
9699 internally by the trail for the push_text/push_icon functions.
9701 The generic push API is still available, so anyone can implement
9702 and use its own bread crumb widget.
9704 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9706 * debian/rules: Fixing the shlibs.
9708 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9710 * src/hildon-banner.c: Fixing a problem with timed banners having
9711 their parrent destroyed before they are.
9713 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9715 * src/hildon-bread-crumb.c:
9716 * src/hildon-bread-crumb.h:
9718 Make the get_natural_size function a vfunc.
9720 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9722 * src/hildon-bread-crumb.c:
9723 * src/hildon-bread-crumb-trail.c:
9727 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9734 * debian/changelog: Updating for release.
9736 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9738 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9739 don't leak the pango layout.
9741 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9744 * examples/hildon-bread-crumb-trail-example.c:
9748 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9750 * debian/changelog: Removing the bug-fixed entries that were actually
9751 resolved as WONTFIX.
9753 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9756 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9758 * src/hildon-bread-crumb-trail.c:
9759 * src/hildon-bread-crumb-trail.h:
9760 * src/hildon-bread-crumb.c:
9761 * src/hildon-bread-crumb.h:
9765 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9767 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9768 until it's passed the type check.
9770 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9772 * examples/hildon-bread-crumb-trail-example.c
9776 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9778 * examples/Makefile.am
9779 * examples/hildon-bread-crumb-trail-example.c
9781 * src/hildon-bread-crumb-trail.c
9782 * src/hildon-bread-crumb-trail.h
9783 * src/hildon-bread-crumb.c
9784 * src/hildon-bread-crumb.h
9786 New HildonBreadCrumbTrail widget.
9788 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9790 * src/hildon-range-editor.c (hildon_range_editor_init),
9791 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9792 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9793 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9794 hildon_time_editor_class_init, hildon_time_editor_init),
9795 src/hildon-get-password-dialog.c (invalid_input,
9796 hildon_get_password_set_property, hildon_get_password_get_property,
9797 create_contents, hildon_get_password_dialog_set_max_characters),
9798 src/hildon-set-password-dialog.c (create_contents),
9799 src/hildon-date-editor.c (hildon_date_editor_init),
9800 src/hildon-login-dialog.c (hildon_login_dialog_init),
9801 src/hildon-number-editor.c (hildon_number_editor_init),
9802 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9803 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9804 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9805 configure option and adding the respective checks in the code.
9806 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9807 hildon_calendar_drag_data_received): fixed some build warnings.
9809 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9811 * debian/changelog: A 1.0.0 release notes.