1 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
3 Update the application menu flag for application-wise windows
5 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
6 (hildon_program_set_common_app_menu): Also take into account the visibility
9 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
11 Emit HildonAppMenu::changed when menu items change visibility
13 * hildon/hildon-app-menu.c: (item_visibility_changed),
14 (filter_visibility_changed): Also emit ::changed on
15 visibility of items changed.
17 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
19 Do not set the menu flag in a window when a menu is empty
21 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
22 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
23 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
24 changes by using the HildonAppMenu::changed signal.
26 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
28 Add HildonAppMenu::changed signal
30 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
31 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
32 Emit a new HildonAppMenu:changed signal when there are changes in
35 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
37 Add hildon_app_menu_has_visible_children() private method
39 * hildon/hildon-app-menu-private.h: Add below private method.
40 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
41 New method to check the visibility of a HildonAppMenu children.
43 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
45 Set the window menu flag for application-common menus
47 * hildon/hildon-program.c:
48 (+hildon_program_window_set_common_menu_flag): Set or remove the
49 menu flag from a window only this doesn't have its own menu.
50 (+hildon_program_set_common_menu_flag): adjust menu flag for
51 all windows in the program.
52 (hildon_program_add_window),
53 (hildon_program_remove_window): add/remove the menu flag when
54 a window is added to the program.
56 Fixes: NB#137814 (Indicator for view menu in app title area)
58 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
60 Set a special window property for windows with menus
62 * hildon/hildon-window-private.h: Add private
63 hildon_window_set_menu_flag()
64 * hildon/hildon-window.c: (+do_set_has_menu),
65 (+hildon_window_set_menu_flag): set
66 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
67 or remove the property.
68 (hildon_window_set_main_menu),
69 (hildon_window_set_app_menu): call above methods to set or remove
70 the property when a menu is added or removed from the window.
72 Partially fixes: NB#137814 (Indicator for view menu in app title area)
74 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
76 Rename and move the methods to set flags to hildon-private.h
78 * hildon/hildon-gtk.c: (do_set_progress_indicator),
79 (do_set_do_not_disturb), (do_set_portrait_flags): call
80 the new private method hildon_gtk_window_set_clear_window_flag()
81 (hildon_gtk_window_set_progress_indicator),
82 (hildon_gtk_window_set_do_not_disturb),
83 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
84 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
85 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
87 * hildon/hildon-private.h: Add the two new private methds.
89 2009-09-11 Alejandro G. Castro <alex@igalia.com>
91 * hildon/hildon-pannable-area.c,
92 (hildon_pannable_area_init),
93 (hildon_pannable_area_size_allocate),
94 (hildon_pannable_area_button_release_cb): More tuning of the
95 speed, adding a way to calculate the acceleration and fast-panning
96 based on the child size.
98 2009-09-10 Alberto Garcia <agarcia@igalia.com>
100 * hildon/hildon-touch-selector.c
101 (hildon_touch_selector_class_init):
102 Documentation updates
106 2009-09-10 Alberto Garcia <agarcia@igalia.com>
108 * hildon/hildon-touch-selector.c:
109 Documentation updates
111 Fixes: MB#5104 (HildonTouchSelector docs should say no
112 HildonPannableArea is necessary)
114 2009-09-08 Alejandro G. Castro <alex@igalia.com>
116 * hildon/hildon-pannable-area.c,
117 (hildon_pannable_area_timeout): Fixed problem with the timeout
118 function, we need to move before decelerating the first time or we
119 are loosing the first jump.
121 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
123 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
125 [2.2.0 Release Candidate 3]
127 * debian/changelog: updates
129 2009-09-07 Alejandro G. Castro <alex@igalia.com>
131 * hildon/hildon-pannable-area.c,
132 (hildon_pannable_area_class_init): Increased max speed.
134 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
136 [2.2.0 Release Candidate 2]
139 * debian/changelog: bump version, updates
141 2009-09-07 Alejandro G. Castro <alex@igalia.com>
143 * hildon/hildon-pannable-area.c,
144 (hildon_pannable_area_class_init),
145 (hildon_pannable_area_button_release_cb): More tuning for the
148 2009-09-07 Alejandro G. Castro <alex@igalia.com>
150 * hildon/hildon-pannable-area.c,
151 (hildon_pannable_area_class_init):
152 Change the default value of the scrollbar_fade_delay.
154 Fixes: NB#127018 (Panning indicator fades out too slowly)
156 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
158 [2.2.0 Release Candidate 1]
161 * configure.ac: Bump version
162 * debian/changelog: updates
164 2009-09-04 Alejandro G. Castro <alex@igalia.com>
166 * hildon/hildon-pannable-area.c,
167 (hildon_pannable_area_init),
168 (hildon_pannable_area_button_press_cb),
169 (hildon_pannable_area_button_release_cb): Added a new acceleration
170 system to help traversing big lists, tuned the stop threshold.
172 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
174 2009-09-04 Alberto Garcia <agarcia@igalia.com>
176 * hildon/hildon-window.h:
177 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
179 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
181 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
185 * configure.ac: bump version
187 * debian/changelog: updates
189 2009-09-04 Alberto Garcia <agarcia@igalia.com>
191 * hildon/hildon-entry.c
192 * hildon/hildon-text-view.c:
193 Documentation updates
195 2009-09-04 Alberto Garcia <agarcia@igalia.com>
197 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
198 Redraw menu when the number of items change.
200 Fixes: NB#131911 (Appmenu does not resize properly, when number of
203 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
205 * hildon/hildon-pannable-area.c:
206 (hildon_pannable_area_launch_fade_timeout),
207 (hildon_pannable_area_motion_event_scroll),
208 (hildon_pannable_area_check_move),
209 (hildon_pannable_area_button_release_cb),
210 (hildon_pannable_area_scroll_to):
212 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
213 area drawing operations, since this is the recommended for drawing
216 Fixes: NB#110894 (In event view containing very large description
217 field, application menu is displayed blank while panning)
218 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
221 2009-09-03 Alberto Garcia <agarcia@igalia.com>
223 * doc/hildon-sections.txt
224 * hildon/hildon-button.c
225 * hildon/hildon-edit-toolbar.c
226 * hildon/hildon-gtk.[ch]
227 * hildon/hildon-main.c
228 * hildon/hildon-program.c
229 * hildon/hildon-stackable-window.c:
230 Documentation updates
232 2009-08-28 Alberto Garcia <agarcia@igalia.com>
234 * hildon/hildon-app-menu.c
235 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
236 Close the menu if it receives a grab-notify signal.
238 Fixes: NB#134533 (UI freezes if we show a dialog with
239 gtk_dialog_run() while a menu is opened)
241 2009-08-27 Alejandro G. Castro <alex@igalia.com>
243 * hildon/hildon-pannable-area.c,
244 (hildon_pannable_area_class_init): Reverted tuning modifications:
245 "Pannign needs to be faster" and "Pannable kinetics in large lists
248 2009-08-26 Alberto Garcia <agarcia@igalia.com>
250 * hildon/hildon-sound.c (hildon_play_system_sound):
251 Set "module-stream-restore.id" to "x-maemo-system-sound" when
252 playing system sounds
254 Fixes: NB#133767 (Information and confirmation note sound should
255 follow system profile setting)
257 2009-08-26 Alejandro G. Castro <alex@igalia.com>
259 * hildon/hildon-pannable-area.c,
260 (hildon_pannable_area_class_init): Added more force and increased
261 the max speed threshold.
263 Fixes: NB#135344 (Pannign needs to be faster)
265 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
267 [Release 2.1.96, this time for real]
270 * debian/changelog: updates
272 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
274 * hildon/hildon-pannable-area.c
275 (hildon_pannable_area_get_topmost): change the computation of the
276 co-ordinates transformed when no one of the children is a topmost
278 Fixes: NB#133252 (Opening any feed item from RSS always opens the
279 first feed item in browser)
281 2009-08-26 Alejandro G. Castro <alex@igalia.com>
283 * hildon/hildon-pannable-area.c,
284 (hildon_pannable_area_remove_timeouts): Adding this new function
285 with the code that removes the timeouts of the widget.
286 (hildon_pannable_area_dispose),
287 (hildon_pannable_area_unrealize): Use the new remove function to
288 stop timeouts when unrealizing and disposing.
289 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
290 calculation to avoid negative values in some cases.
292 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
294 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
296 * examples/hildon-check-button-example.c: (button_toggled_cb):
297 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
298 (hildon_check_button_set_active), (hildon_check_button_new),
299 (hildon_check_button_clicked), (hildon_check_button_class_init):
300 * hildon/hildon-check-button.h:
301 * hildon/hildon-set-password-dialog.c: (create_contents),
302 (hildon_set_password_response_change), (hildon_checkbox_toggled):
304 Revert "Make HildonCheckButton derive from GtkToggleButton"
306 2009-08-21 Alberto Garcia <agarcia@igalia.com>
310 * configure.ac: bump version
312 * debian/changelog: updates
314 2009-08-21 Alberto Garcia <agarcia@igalia.com>
316 * hildon/hildon-check-button.h
317 * hildon/hildon-check-button.c
318 (hildon_check_button_clicked, hildon_check_button_class_init):
319 Make HildonCheckButton derive from GtkToggleButton
320 (hildon_check_button_toggled, hildon_check_button_set_active)
321 (hildon_check_button_get_active):
322 Deprecate unnecessary HildonCheckButton API and use the
323 one from GtkToggleButton instead.
325 * hildon/hildon-set-password-dialog.c (create_contents)
326 (hildon_set_password_response_change, hildon_checkbox_toggled)
327 * examples/hildon-check-button-example.c (button_toggled_cb):
328 Update to use the GtkToggleButton API
330 Fixes: MB#4739 (HildonCheckButton should inherit from
333 Fixes: NB#132661 (HildonCheckButton should inherit from
336 2009-08-20 Alberto Garcia <agarcia@igalia.com>
338 * hildon/hildon-pannable-area.c
339 (hildon_pannable_area_class_init):
340 Increase default value of HildonPannableArea:velocity_max to 2000
342 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
344 2009-08-18 Alberto Garcia <agarcia@igalia.com>
348 * configure.ac: bump version
350 * debian/changelog: updates
352 2009-08-11 Alejandro G. Castro <alex@igalia.com>
354 * hildon/hildon-pannable-area.c
355 (hildon_pannable_area_size_allocate): Checked the scrollbars
356 before the first try when defining the layout, avoids two
357 allocations in some situations.
359 Fixes: NB#131794 (pannable area produces unnecessary allocations
360 causing performance problems)
362 2009-08-11 Alejandro G. Castro <alex@igalia.com>
364 * hildon/hildon-pannable-area.c
365 (hildon_pannable_area_button_press_cb),
366 (hildon_pannable_area_motion_notify_cb),
367 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
368 the spurious ref added in the copy, fixes leak of window.
370 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
371 if it's realized without showing and then deleted)
373 2009-08-10 Alberto Garcia <agarcia@igalia.com>
377 * configure.ac: bump version
379 * debian/changelog: updates
381 2009-08-06 Alberto Garcia <agarcia@igalia.com>
383 * examples/hildon-hvolumebar-timer-example.c
385 * hildon/hildon-banner.c
386 (hildon_banner_timeout, hildon_banner_ensure_timeout)
387 * hildon/hildon-calendar.c
388 (calendar_timer, start_spinning)
389 * hildon/hildon-color-chooser.c
390 (inline_limited_expose)
391 * hildon/hildon-date-editor.c
392 (hildon_date_editor_entry_focus_in)
393 (hildon_date_editor_entry_validate)
394 (hildon_date_editor_entry_select_all)
395 * hildon/hildon-note.c
397 * hildon/hildon-number-editor.c
398 (hildon_number_editor_button_pressed)
399 (hildon_number_editor_start_timer, do_mouse_timeout),
400 (add_select_all_idle, hildon_number_editor_select_all)
401 * hildon/hildon-time-editor.c
402 (hildon_time_editor_entry_focus_in)
403 (highlight_callback, hildon_time_editor_validate)
404 (hildon_time_editor_entry_select_all)
405 * hildon/hildon-time-picker.c
406 (hildon_time_picker_arrow_press)
407 (hildon_time_picker_key_repeat_timeout)
408 * hildon/hildon-window.c
409 (hildon_window_key_press_event)
410 (hildon_window_escape_timeout):
411 Replace all calls to g_idle_add/g_timeout_add with their
412 gdk_threads counterparts.
414 Fixes: NB#126198 (gdk-threads API should be used to install idle
415 and timeout handlers)
417 2009-08-06 Alejandro G. Castro <alex@igalia.com>
419 * hildon/hildon-pannable-area.c,
420 (hildon_pannable_area_class_init): Increased the overshooting max
421 speed to get a faster effect.
422 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
423 deceleration of the overshooting
424 (hildon_pannable_area_button_release_cb): Calculate initial
425 overshooting speed when finger on the screen using the distance to
426 launch the effect faster.
428 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
429 lists with slow row renderers)
431 2009-08-05 Alberto Garcia <agarcia@igalia.com>
433 * doc/hildon-sections.txt: Add new functions
435 2009-08-05 Alberto Garcia <agarcia@igalia.com>
437 * hildon/hildon-text-view.[ch]
438 * hildon/hildon-entry.[ch]:
439 Add deprecation guards around deprecated functions.
441 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
443 * hildon/hildon-app-menu.c: Remove leftover function declaration.
445 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
447 Remove the grab from HildonAppMenu
449 * hildon/hildon-app-menu.c:
450 Now hildon-desktop places a blocker window behind the menu to handle
451 its closing, so the grab is no longer needed. This simplifies its
452 implementation and allows the system blanking to succeed.
454 Fixes: NB#130910 (Screen gets unlocked when menu is open)
456 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
460 * configure.ac: bump version
462 * debian/changelog: updates
463 * debian/control: raise debian dependency on GTK+
465 2009-08-04 Alberto Garcia <agarcia@igalia.com>
467 * hildon/hildon-text-view.c
468 * hildon/hildon-entry.c:
469 Remove all placeholder code from HildonEntry and HildonTextView
470 and use the API in GtkEntry and GtkTextView instead.
472 * examples/hildon-entry-example.c
473 * examples/hildon-text-view-example.c
474 * examples/hildon-wizard-dialog-example.c
475 * hildon/hildon-get-password-dialog.c
476 * hildon/hildon-login-dialog.c
477 * hildon/hildon-picker-dialog.c
478 * hildon/hildon-set-password-dialog.c
479 * hildon/hildon-touch-selector-entry.c:
480 Replace all deprecated calls to HildonEntry and HildonTextView
481 with their Gtk counterparts.
483 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
486 2009-08-03 Alejandro G. Castro <alex@igalia.com>
488 * hildon/hildon-pannable-area.c,
489 (hildon_pannable_area_check_move),
490 (hildon_pannable_area_button_release_cb),
491 (hildon_pannable_area_scroll_to): Reverted the priority change of
492 the timeout, in some situations, slow renderers, the click do not
493 make it to the mainloop on time.
495 Fixes NB#131013 (unable to stop panning file manager by tapping on
498 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
500 * configure.ac: bump version
502 * debian/changelog: updates
504 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
506 * hildon/hildon-touch-selector.[ch]
507 (hildon_touch_selector_center_on_index): New method that allows to center
508 on a item not selected
510 Fixes NB#130291 (New HildonTouchSelector API is required to center on
513 2009-07-29 Alberto Garcia <agarcia@igalia.com>
515 * hildon/hildon-text-view.c
516 (+set_logical_color, +hildon_text_view_style_set)
517 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
518 (hildon_text_view_init)
519 * hildon/hildon-entry.c
520 (+set_logical_color, +hildon_entry_style_set)
521 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
522 (hildon_entry_class_init, hildon_entry_init)
523 * hildon/hildon-button.c
524 (+set_logical_font, +set_logical_color)
525 (hildon_button_style_set, hildon_button_init)
526 (hildon_button_set_arrangement, hildon_button_set_style):
527 Remove all calls to hildon_helper_set_logical_font() and
528 hildon_helper_set_logical_color(), which are recursive, from
531 Fixes: NB#123409 (Showing dialog consumes significant amount of
534 2009-07-29 Alejandro G. Castro <alex@igalia.com>
536 * hildon/hildon-pannable-area.c,
537 (hildon_pannable_area_timeout): Added the process updates of the
538 scrollbars window in the pannable.
540 Fixes: NB#130043 (scrollindicator not smooth while panning)
542 2009-07-23 Alejandro G. Castro <alex@igalia.com>
544 * hildon/hildon-pannable-area.c,
545 (hildon_pannable_area_check_move),
546 (hildon_pannable_area_button_release_cb),
547 (hildon_pannable_area_scroll_to): Increased the priority of the
548 timeout this way it is going to be handled before the events.
550 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
554 * configure.ac: bump version
555 * debian/changelog: updates
557 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
559 * hildon/hildon-entry.c: (set_property): Do not allow to set
560 automatic height and use finger height instead, to prevent an to
561 have a smaller size than than its theme pixbuf.
563 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
565 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
567 * configure.ac: postrelease version bump.
568 * debian/changelog: post release version bump
570 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
575 * configure.ac: Bump version.
576 * debian/changelog: Updates.
578 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
580 * hildon/hildon-note.c: (label_size_request): Take the note
581 padding into account when setting the size request.
583 Fixes: NB#127896 (Information notes text truncated)
585 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
587 * configure.ac: postrelease version bump.
588 * debian/changelog: post release version bump
590 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
595 * configure.ac: Bump version.
596 * debian/changelog: Updates.
598 2009-07-16 Alejandro G. Castro <alex@igalia.com>
601 * hildon/hildon-text-view.c,
602 (hildon_text_view_button_press_event): Grabbed the focus in button
603 press, this way we are sure the widget has the focus in the
604 release event, required for HIM.
606 Fixes: NB#121445 (Virtual keyboard opening is not working in same
607 way for each text entry field)
609 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
611 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
612 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
613 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
614 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
615 (hildon_pannable_area_[gs]et_center_on_child_focus)
616 Redefined GtkContainer set-focus-child signal, in order to center
617 properly on a child when it receives the focus. Defined a new property
618 "center-on-child-focus" in order to activate this feature (deactivated
619 by default). Public get/set methods defined to manage the property.
621 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
623 2009-07-14 László Pere <lpere@blumsoft.eu>
625 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
626 the new size is applied.
628 Fixes: NB#124510 (The Application Menu is distorted when switched
629 between portrait and landscape mode)
630 Fixes: NB#115388 (Power key menu does not resize itself)
632 2009-07-01 Alberto Garcia <agarcia@igalia.com>
634 * hildon/hildon-banner.c (hildon_banner_map):
635 Set banner position after mapping.
637 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
639 * configure.ac: postrelease version bump.
640 * debian/changelog: post release version bump
642 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
647 * configure.ac: Bump version.
648 * debian/changelog: Updates.
650 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
652 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
655 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
657 * tests/check-hildon-banner.c
659 * tests/test_suites.h
660 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
661 were testing deprecated functions.
662 * examples/hildon-banner-example.c: typo on button3 type, that causes
663 a fail compiling with --with-examples but without --disable-deprecated
665 Missed commit in order to fix compilation using '--enable-fatal' and
666 '--disable-deprecated' (see previous commit)
668 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
670 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
671 functions with #ifndef HILDON_DISABLE_DEPRECATED
672 * examples/hildon-find-toolbar.c: Protect deprecated
673 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
674 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
675 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
676 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
678 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
679 to allow proper compilation of deprecated functions defined on the header
681 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
683 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
685 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
686 Cache the panning indicator color.,
687 (hildon_pannable_area_style_set): Query the color on style changes.
688 (hildon_pannable_draw_vscroll),
689 (hildon_pannable_draw_hscroll),
690 (hildon_pannable_area_expose_event): Use the cached panning indicator
691 color instead of looking it up on every expose and more.
693 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
695 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
696 (hildon_pannable_draw_hscroll),
697 (hildon_pannable_area_expose_event): Fix the panning indicator color,
698 so that it's "SecondaryTextColor", as desired.
700 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
702 * hildon/hildon-picker-dialog.c:
703 (selection_completed): take into account HILDON_UI_MODE_NORMAL
704 * hildon/hildon-touch-selector.c
705 (hildon_touch_selector_init): Initialize hildon-ui-mode
706 (hildon_touch_selector_row_activated): new callback for the
707 "row-activated" signal, in order to save the last activated
708 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
709 if the current hildon-ui-mode is coherent with the touch selector
710 (hildon_touch_selector_class_init)
711 (hildon_touch_selector_get_property)
712 (hildon_touch_selector_set_property)
713 Added "hildon-ui-mode" property
714 (disconnect_model_handlers): renamed to clean_column
715 (hildon_touch_selector_remove): use clean_column function
716 (_create_new_column): use the hildon-ui-mode to create the treeview, and
717 only select the first element on HILDON_UI_MODE_EDIT
718 (hildon_touch_selector_column_init): Initialize last_activate
719 (hildon_touch_selector_append_column): check that the touch selector
720 is coherent with the current hildon-ui-mode
721 (hildon_touch_selector_get_hildon_ui_mode)
722 (hildon_touch_selector_set_hildon_ui_mode)
723 Added a getter/setter for the hildon-ui-mode property
724 (hildon_touch_selector_get_last_activated_row): Added this method in
725 order to get the last activated row.
726 * examples/hildon-touch-selector-normal-mode-example.c
727 New example, that shows how to use the HildonTouchSelector in
728 HILDON_UI_MODE_NORMAL
730 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
731 Kristian Rietveld <kris@lanedo.com> advices
733 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
735 * hildon/hildon-time-selector.c: (update_format_policy): Do
736 not call update_format_dependant_columns() if not necessary.
737 (update_format_dependant_columns): Remove unnecessary check for
738 the number of columns.
740 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
742 * hildon/hildon-note.c (+hildon_note_constructor),
743 (hildon_note_class_init), (+hildon_note_set_padding),
744 (hildon_note_rebuild): Install a constructor where to set the
745 padding properties in the note, so that it actually works fine.
746 Use hildon_note_set_padding() for this, and also to set it during
749 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
751 * configure.ac: Bump GTK+ requirement to 2.14.3.
752 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
753 when using maemo-gtk to define proper margins for the notes.
755 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
756 with the dialog edge)
758 2009-06-24 Alberto Garcia <agarcia@igalia.com>
760 * hildon/hildon-banner.c
761 (hildon_banner_class_init):
763 (+hildon_banner_size_request):
764 Request always the full width of the screen.
765 (hildon_banner_realize)
766 (-hildon_banner_check_position, hildon_banner_map):
767 hildon_banner_check_position() is not needed in Hildon 2.2.
768 (-hildon_banner_reset_wrap_state)
769 (hildon_banner_constructor, hildon_banner_init):
770 Remove unnecessary calls to hildon_banner_reset_wrap_state()
771 (+banner_do_set_text)
772 (force_to_wrap_truncated):
773 Remove has_been_wrapped and has_been_truncated attributes.
774 (+reshow_banner, hildon_banner_real_show_information)
775 (hildon_banner_show_information_with_markup)
776 (hildon_banner_show_animation, hildon_banner_show_progress)
777 (hildon_banner_set_text, hildon_banner_set_markup):
778 Refactor code. Shrink banner vertically to use the minimum space
779 necessary everytime the text of the label is updated.
780 (screen_size_changed):
781 Call force_to_wrap_truncated() when the size of the screen
784 Fixes: NB#120500 (only device memory connect mmc in use info
785 banner is left aligned)
787 Fixes: NB#120613 (Size of HildonBanner varies depending on
788 previously opened banners)
790 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
792 * hildon/hildon-color-chooser.c
793 (hildon_color_chooser_pointer_motion): Take the widget allocation
796 Fixes: NB#124385 (Unable to select exact point in color mixing box
797 in color palette dialog)
799 2009-06-23 Alejandro G. Castro <alex@igalia.com>
801 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
802 (hildon_pannable_area_dispose)
803 (hildon_pannable_area_button_press_cb)
804 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
805 (hildon_pannable_area_button_release_cb)
806 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
807 New 'panning-started' and 'panning-finished' signals.
809 Fixes: NB#121732 (New feature request: Signal to pannable area
810 that informs when panning is stopped.)
812 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
814 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
815 instead of hardcoded colon.
817 Fixes: NB#124090 (New calendar wizard title is not using
818 ecdg_ti_caption_separator)
820 2009-06-22 David King <davidk@openismus.com>
822 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
823 constants and functions, as well as correct many typos throughout the
826 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
829 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
831 * configure.ac: postrelease version bump.
832 * debian/changelog: post release version bump
834 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
839 * configure.ac: Bump version.
840 * debian/changelog: Updates.
842 2009-06-18 Alberto Garcia <agarcia@igalia.com>
844 * hildon/hildon-window-stack.c
845 (hildon_window_stack_pop_and_push_list):
846 Prevent windows from having the same stack index
848 2009-06-18 Alberto Garcia <agarcia@igalia.com>
850 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
851 Use the index of the previous window rather than the stack length
852 to calculate the new index.
856 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
858 * hildon/hildon-date-selector.c
859 (hildon_date_selector_select_current_date)
860 (hildon_date_selector_get_date)
861 (hildon_date_selector_select_day):
862 Update the documentation: uses always the range (1-31), as it is obvious
863 that the final one will depend on the month and the year, but globally
864 the range is this, in a similar GtkCalendar approach
865 (hildon_date_selector_get_date):
866 Update the documentation: add NULL as a valid value for the day, month
869 Fix some details, after talk with David King on bug MB#4698
871 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
873 * hildon/hildon-touch-selector-entry.c
874 * hildon/hildon-touch-selector.c
875 Update the documentation of the "text-column" property
877 2009-06-18 David King <davidk@openismus.com>
879 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
880 several typos and errors throughout the documentation.
882 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
885 2009-06-18 Alberto Garcia <agarcia@igalia.com>
887 * hildon/hildon-note.c (hildon_note_realize):
888 Make HildonNote support portrait mode.
890 Fixes: NB#123448 (HildonNote is not portrait-friendly)
892 2009-06-17 Alberto Garcia <agarcia@igalia.com>
894 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
895 Document this function
897 2009-06-17 David King <davidk@openismus.com>
899 * hildon/hildon-date-selector.c
900 (hildon_date_selector_select_current_date)
901 (hildon_date_selector_get_date): Update documentation regarding days,
902 as the day of the month is dependent on both the month and the year.
903 (hildon_date_selector_get_date): Fix documentation of output arguments.
905 Fixes: MB#4698 (DateSelector documentation has bad output argument
906 description, and the day depends on both the month and the year)
908 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
910 * hildon/hildon-caption.c: Other documentation fixes to
913 2009-06-17 David King <davidk@openismus.com>
915 * hildon/hildon-caption.c: Minor documentation updates for
916 HildonCaption. Fixes MB#4697.
918 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
920 * doc/hildon-docs.sgml: Add hildon-version section.
921 * doc/hildon-sections.txt:
922 * hildon/hildon-version.h.in: Document versioning macros and
925 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
927 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
928 from HildonPickerDialog section.
930 2009-06-16 Alberto Garcia <agarcia@igalia.com>
932 * hildon/hildon-banner.c (hildon_banner_bind_style)
933 (screen_size_changed, hildon_banner_init)
934 (hildon_banner_real_show_information)
935 (hildon_banner_show_information_with_markup)
936 (hildon_banner_show_animation, hildon_banner_show_progress):
937 Set a different widget name to banners in portrait mode, for them
938 to be themed correctly.
940 2009-06-16 Alberto Garcia <agarcia@igalia.com>
942 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
943 Set a different widget name to notes in portrait mode, for them to
946 Partially fixes: NB#118401 (HildonNote causes unnecessary
949 2009-06-16 Alberto Garcia <agarcia@igalia.com>
951 * hildon/hildon-note.c (hildon_note_class_init)
952 (+hildon_note_size_request, screen_size_changed):
953 Always request the full width of the screen.
955 Fixes: NB#118375 (unnecessary rescaling of images)
957 2009-06-16 Alejandro G. Castro <alex@igalia.com>
959 * hildon/hildon-pannable-area.c,
960 (hildon_pannable_area_init),
961 (hildon_pannable_area_realize): Replaced old code adding flags in
962 the object init, now we add it with the other flags in the realize
965 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
967 * hildon/hildon-note.c: (hildon_note_class_init): Several
968 documentation improvements to the HildonNote widget.
970 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
972 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
974 Fixes: MB#4556 (HildonNoteType is undocumented)
976 2009-06-15 Alberto Garcia <agarcia@igalia.com>
978 * hildon/hildon-picker-button.c:
979 Explain how HildonPickerButton sets the title of its dialog
981 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
982 the title of its dialog)
984 2009-06-15 Alberto Garcia <agarcia@igalia.com>
986 * hildon/hildon-check-button.c:
987 Documentation updates
989 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
992 2009-06-15 Alberto Garcia <agarcia@igalia.com>
995 * hildon/hildon-edit-toolbar-private.h
996 * hildon/hildon-edit-toolbar.c
997 (+hildon_edit_toolbar_set_progress_indicator)
998 (hildon_edit_toolbar_init): Add progress indicator to the
1001 * hildon/hildon-gtk.c
1002 (hildon_gtk_window_set_progress_indicator):
1003 If the window contains a HildonEditToolbar, enable the progress
1004 indicator there too.
1006 * hildon/hildon-private.h
1007 * hildon/hildon-private.c
1008 (+hildon_private_create_animation)
1009 * hildon/hildon-banner.c
1010 (-hildon_banner_create_animation):
1011 Moved to hildon-private.c
1013 Fixes: NB#102373 (Progress indicator also for the Edit mode
1016 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1018 * hildon/hildon-app-menu-private.h
1019 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1020 (hildon_app_menu_add_filter, +menu_item_button_event)
1021 (hildon_app_menu_button_release, hildon_app_menu_init):
1022 Make sure that buttons receive 'button-release-event' in spite of
1023 the grab held by HildonAppMenu
1025 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1027 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1029 * hildon/hildon-app-menu.c
1030 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1031 New style property to set the size of the group of filter buttons.
1033 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1035 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1040 * configure.ac: Bump version.
1041 * debian/changelog: Updates.
1043 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1045 * hildon/hildon-main.c: Minor documentation fixes.
1047 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1049 * doc/hildon-sections.txt:
1050 * hildon/hildon-defines.h: Document the defines, organize them,
1051 and mark deprecations as such.
1053 Fixes: MB#4463 (Hildon size #defines are undocumented)
1055 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1057 * hildon/hildon-animation-actor.c:
1058 * hildon/hildon-app-menu.c:
1059 * hildon/hildon-button.c:
1060 * hildon/hildon-date-editor.c:
1061 * hildon/hildon-dialog.c:
1062 * hildon/hildon-edit-toolbar.c:
1063 * hildon/hildon-entry.c:
1064 * hildon/hildon-program.c:
1065 * hildon/hildon-remote-texture.c:
1066 * hildon/hildon-stackable-window.c:
1067 * hildon/hildon-text-view.c:
1068 * hildon/hildon-touch-selector.c:
1069 * hildon/hildon-window-stack.c:
1070 * hildon/hildon-window.c:
1072 Remove redundant "represents" wording from most of the documentation.
1074 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1076 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1080 * hildon/Makefile.am
1081 * hildon/hildon-banner-private.h
1082 * hildon/hildon-banner.c:
1083 Move HildonBannerPrivate to hildon-banner.c and remove
1084 hildon-banner-private.h
1085 Use a bit field to store private booleans.
1087 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1089 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1090 Don't install a new idle function if there's already one
1095 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1097 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1098 (+legacy_menu_realized, +legacy_menu_unmapped)
1099 (+set_legacy_menu_type):
1100 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1101 they can be identified by the window manager.
1103 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1104 displayed in wrong location)
1106 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1109 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1111 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1113 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1114 use gtk-doc support)
1116 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1118 * hildon/hildon-code-dialog.c
1119 * hildon/hildon-date-editor.c
1120 * hildon/hildon-number-editor.c
1121 * hildon/hildon-seekbar.c
1122 * hildon/hildon-stackable-window.c
1123 * hildon/hildon-window.c:
1124 Misc documentation updates
1126 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1128 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1129 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1131 Fixes: NB#117931 (Theming issues in accounts dialogs)
1133 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1135 * hildon/hildon-pannable-area.c,
1136 (hildon_pannable_area_button_release_cb): Changed the coordinates
1137 of the original release in case we want to discard the release,
1138 some widgets in Fremantle do not handle the leave-notify.
1140 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1142 * hildon/hildon-pannable-area.c,
1143 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1144 the release using the last refactored functions and avoiding the
1145 movement if an element was selected.
1147 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1149 * hildon/hildon-pannable-area.c,
1150 (hildon_pannable_area_check_move),
1151 (hildon_pannable_area_handle_move),
1152 (hildon_pannable_area_motion_notify_cb): Refactored the
1153 motion_notify method using a couple of new functions.
1155 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1157 * hildon/hildon-date-selector.c:
1158 (hildon_date_selector_construct_ui):
1159 * hildon/hildon-time-selector.c:
1160 (hildon_time_selector_constructor):
1161 * hildon/hildon-touch-selector-entry.c:
1162 (hildon_touch_selector_entry_set_text_column),
1163 (hildon_touch_selector_entry_get_text_column):
1164 * hildon/hildon-touch-selector.c: (_default_print_func),
1165 (hildon_touch_selector_new_text): Use
1166 hildon_touch_selector_set/get_text_column() instead of
1167 setting/getting the "text-column" property.
1169 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1171 * doc/hildon-sections.txt: Add the new public methods below.
1173 * examples/hildon-picker-button-multicolumn-example.c:
1174 (create_touch_selector):
1175 * examples/hildon-touch-selector-example.c: (create_selector):
1176 * examples/hildon-touch-selector-multi-cells-example.c:
1178 Use hildon_touch_selector_column_set_text_column()
1180 * hildon/hildon-touch-selector-column.h:
1181 * hildon/hildon-touch-selector.c:
1182 (hildon_touch_selector_column_set_text_column),
1183 (hildon_touch_selector_column_get_text_column):
1184 Make hildon_touch_selector_column_set/get_column() public, use
1185 them in the inline example, document them, and reference to them
1188 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1190 * hildon/hildon-time-selector.c: Fix the docs for
1191 hildon_time_selector_new_step().
1193 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1195 * hildon/hildon-touch-selector.c: Improve the documentation for
1196 hildon_touch_selector_append_column().
1198 Fixes MB#4641 (Documentation:
1199 hildon_touch_selector_append_column() ref-counting)
1201 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1203 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1204 Comment out test 5, since the hildon_controlbar_set_range() range
1205 check is broken and fixing it would have side effects. Also,
1206 this finally fixes make distcheck.
1208 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1210 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1212 * tests/TEST-CASES.txt: Remove other bogus test.
1213 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1214 Remove bogus test that was setting/retrieving a valid value.
1216 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1218 * tests/TEST-CASES.txt: Remove bogus tests.
1219 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1220 Remove three bogus tests that were actually setting valid colors.
1222 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1224 * configure.ac: post release version bump
1225 * debian/changelog: post release version bump
1227 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1232 * configure.ac: Bump version.
1233 * debian/changelog: Updates.
1235 2009-06-08 Christian Dywan <christian@lanedo.com>
1239 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1240 Correct errors in hildon_format_file-size_for_display and use
1241 translations from the hildon-fm package instead of osso-filemanager.
1243 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1245 * hildon/hildon-pannable-area.c,
1246 (hildon_pannable_area_init): Initialized new values to handle the
1247 adjustment position.
1248 (hildon_pannable_area_adjust_value_changed): Check if the values
1249 changed before even call the redraw function.
1250 (hildon_pannable_area_size_allocate),
1251 (hildon_pannable_axis_scroll),
1252 (hildon_pannable_area_scroll),
1253 (hildon_pannable_area_jump_to): Improved the diagonal movement
1256 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1259 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1261 * examples/hildon-banner-example.c:
1262 Several style updates
1263 (on_animation_clicked, on_animation_idle)
1264 (on_progress_clicked, on_progress_idle):
1265 Add additional reference for the cases when the parent window is
1268 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1270 * doc/hildon-sections.txt
1271 * hildon/hildon-pannable-area.c
1272 * hildon/hildon-banner.h
1273 * hildon/hildon-banner.c: Documentation updates.
1275 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1278 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1280 * hildon/hildon-calendar-popup.h:
1281 * hildon/hildon-caption.h:
1282 * hildon/hildon-code-dialog.h:
1283 * hildon/hildon-controlbar.h:
1284 * hildon/hildon-date-editor.h:
1285 * hildon/hildon-dialog.h:
1286 * hildon/hildon-get-password-dialog.h:
1287 * hildon/hildon-hvolumebar.h:
1288 * hildon/hildon-login-dialog.h:
1289 * hildon/hildon-note.h:
1290 * hildon/hildon-number-editor.h:
1291 * hildon/hildon-range-editor.h:
1292 * hildon/hildon-seekbar.h:
1293 * hildon/hildon-set-password-dialog.h:
1294 * hildon/hildon-sort-dialog.h:
1295 * hildon/hildon-time-editor.h:
1296 * hildon/hildon-time-picker.h:
1297 * hildon/hildon-volumebar-range.h:
1298 * hildon/hildon-volumebar.h:
1299 * hildon/hildon-vvolumebar.h:
1300 * hildon/hildon-weekday-picker.h:
1301 * hildon/hildon-window.h:
1302 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1303 macros with the current replacements
1305 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1307 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1309 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1310 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1311 itself, to make it fit better with Fremantle style.
1313 Fixes: NB#109878 (height and width of focus on color icon is not
1314 consistent with other item in the application tool bar)
1316 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1318 * hildon/hildon-touch-selector.c:
1319 (hildon_touch_selector_optimal_size_request): use the current requisition
1320 as the base, in order to include any possible extra widget, like the
1321 hildon entry on HildonTouchSelectorEntry
1323 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1325 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1327 * configure.ac: post release version bump
1328 * debian/changelog: post release version bump
1330 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1335 * configure.ac: Bump version.
1336 * debian/changelog: Updates.
1338 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1340 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1342 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1343 to ensure the banner contents are centered, instead of relying on
1344 the expand and fill properties in GtkHBox.
1345 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1347 Fixes: NB#108265 (Animation banner not properly centered)
1349 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1351 * hildon/hildon-pannable-area.c
1352 (hildon_pannable_area_initial_effect): Remove the initial_effect
1353 management, check initial_hint
1354 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1355 set initial_effect to FALSE
1356 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1357 by launching the fade_timeout if the scrollbars state has changed and are
1359 * examples/hildon-pannable-area-initial-hint-example.c
1360 Modified to allow to remove rows too. Add and remove rows one by one.
1362 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1364 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1365 Don't close the menu if there's an animation actor below it.
1367 Fixes: NB#117927 (Application menu not usable with animation
1370 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1372 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1373 "focus-on-click" from the dialog button, to avoid stealing the
1374 focus from the entry.
1376 Fixes: NB#118903 (Account setup wizard: Text in Search field
1377 should be focused when "Region" touch list picker is reopened
1380 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1382 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1383 (prepare_action_area): Completely hide the dialog separator.
1385 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1387 * hildon/hildon-touch-selector-entry.c
1388 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1389 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1390 now that the entry is exposed.
1392 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1394 * hildon/hildon-touch-selector-entry.c
1395 (hildon_touch_selector_entry_init): Change the entry's size
1396 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1398 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1400 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1401 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1402 avoid unnecessary scaling.
1404 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1406 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1407 Create grab transfer window before calling parent's map function.
1409 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1410 "crushed" button(s) in the top left corner)
1412 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1414 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1415 Check if the window is already realized when pushing it.
1417 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1419 * configure.ac: post release version bump
1420 * debian/changelog: post release version bump
1422 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1427 * configure.ac: Bump version.
1428 * debian/changelog: Updates.
1430 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1432 * hildon/hildon-app-menu.c: Doc updates.
1434 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1436 * hildon/hildon-banner.c: Remove leftover macro.
1438 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1440 * hildon/hildon-pannable-area.c,
1441 (hildon_pannable_area_scroll_indicator_fade),
1442 (hildon_pannable_area_button_release_cb): Reviewed vmin
1443 conditions, it could cause problems in the fadeout procedure.
1445 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1447 * hildon/hildon-pannable-area.c
1448 (hildon_pannable_area_button_release_cb): Added a threshold to
1449 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1451 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1453 * hildon/hildon-pannable-area.c,
1454 (hildon_pannable_area_set_property): Added code to sync the gtk
1455 dnd threshold with the panning threshold.
1457 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1459 * hildon/hildon-pannable-area.c,
1460 (hildon_pannable_area_class_init): Changed some of the default
1461 values, now it should be less responsive and more accurate.
1463 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1465 * hildon/hildon-pannable-area.c,
1466 (hildon_pannable_area_init),
1467 (hildon_pannable_area_scroll_indicator_fade),
1468 (hildon_pannable_area_button_press_cb),
1469 (hildon_pannable_axis_scroll),
1470 (hildon_pannable_area_timeout),
1471 (hildon_pannable_area_motion_notify_cb),
1472 (hildon_pannable_area_button_release_cb): Changed the name of the
1473 clicked attribute to button_pressed, it is more clear about its use.
1475 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1477 * src/hildon-pannable-area.c
1478 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1480 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1481 vertical scrollbar visibility, and use the data on private section instead,
1482 remove the initial_hint check
1483 (hildon_pannable_area_expose_event): add the initial_hint check here
1485 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1487 * src/hildon-pannable-area.c
1488 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1489 if the fadeout effect was used
1490 (hildon_pannable_area_expose_event): check if it is required to
1491 manage the initial effect on the begining of the function. Previously
1492 it was made at the end, but this doesn't ensure that the scrollbars
1493 will be painted on the first show. Do not set to FALSE initial_effect,
1494 to ensure that the initial hint is showed the first time the pannable
1496 * examples/Makefile.am
1497 * examples/hildon-pannable-area-initial-hint-example.c:
1498 New example, to show that the initial-hint is showed when the widget
1501 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1502 initially if the application can be scrolled)
1504 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1506 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1507 Resize table before adding new items to make sure that
1508 gtk_table_resize() is called just once.
1510 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1512 * hildon/hildon-app-menu-private.h
1513 * hildon/hildon-app-menu.c (item_visibility_changed)
1514 (filter_visibility_changed, hildon_app_menu_show_all)
1515 (hildon_app_menu_hide_all, hildon_app_menu_init):
1516 Rearrange items just once when gtk_widget_show_all()/hide_all()
1519 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1521 * hildon/hildon-app-menu.c
1522 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1523 Don't call gtk_widget_show() on added items.
1525 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1526 automatically when they're added)
1528 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1530 * hildon/hildon-banner.c
1531 (hildon_banner_realize, +hildon_banner_unrealize)
1532 (+screen_size_changed, hildon_banner_class_init):
1533 Redisplay the banner if the screen is rotated.
1535 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1536 on transition from landscape to portrait)
1538 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1540 * hildon/hildon-banner.[ch]:
1541 (hildon_banner_show_information_override_dnd): remove icon_name from the
1542 method definition as it is ignored.
1543 * examples/hildon-banner-dnd-example.c: updated with the change on
1546 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1548 * hildon/hildon-banner-private.h: new require_override_dnd and
1549 overrides_dnd variables
1550 * hildon/hildon-banner.h:
1551 (hildon_banner_show_information_override_dnd): new method, that shows
1552 the information but sets the override flag, in order to show important
1554 * hildon/hildon-banner.c
1555 (hildon_banner_show_information_override_dnd): new method
1556 (hildon_banner_set_override_flag): new utility function
1557 (hildon_banner_real_show_information): new utility function, in order to
1558 generalize the current hildon_banner_show_information_override_dnd and
1559 hildon_banner_show_information_override_dnd
1560 * examples/Makefile.am
1561 * examples/hildon-banner-dnd-example.c: New example that show how to
1562 use the new hildon_banner_show_information_override_dnd
1564 Fixes: NB#114874 (There is no possibility to show hildon banners with
1567 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1569 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1570 behind hildon_pannable_calculate_vel_factor().
1572 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1574 * hildon/hildon-pannable-area.c
1575 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1576 deceleration factors.
1578 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1580 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1581 Reduce the default value for 'scroll_time' to 1 second, since the
1582 current initial scrolling takes too much time.
1584 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1586 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1587 calculate velocity factor during initialization, since the properties
1590 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1592 * hildon/hildon-pannable-area.c
1593 (hildon_pannable_area_set_property): Calculate the velocity factor
1594 after setting the deceleration property and not after.
1596 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1598 * hildon/hildon-entry.c
1599 (hildon_entry_class_init, +set_property, hildon_entry_new)
1600 * hildon/hildon-check-button.c
1601 (hildon_check_button_class_init)
1602 (+set_property, hildon_check_button_new):
1603 Make the theme size a property.
1605 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1606 others) do too much in the _new function)
1608 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1610 * configure.ac: post release version bump
1611 * debian/changelog: post release version bump
1613 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1618 * configure.ac: Bump version.
1619 * debian/changelog: Updates.
1621 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1623 * hildon/hildon-gtk.h
1624 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1625 New API function to take a screenshot of a window
1627 Fixes: NB#106374 (Need API to take a loading screenshot)
1629 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1631 * hildon/hildon-time-selector.c
1632 (update_format_policy): prevent to use hours and minutes unitialized
1634 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1636 * hildon/hildon-window.c (hildon_window_size_request):
1637 Always request the full size of the screen (minus the title bar if
1638 not in fullscreen mode).
1640 Fixes: NB#107486 (HildonWindow should size itself properly)
1642 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1644 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1645 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1646 (on_show_cb), (sound_handling): Disconnect the idle handler for
1647 the sound when the note is finalized to avoid possible crashes.
1649 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1652 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1654 * src/hildon-animation-actor.c,
1655 * src/hildon-remote-texture.c:
1656 Added proper object cleanup to remove signal handler and object
1657 references as HildonAnimationActor and HildonRemoteTexture
1658 objects get destroyed.
1660 Fixes: NB#116682 (Destroying parented animation actors when
1661 parent in unmapped leads to crash)
1663 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1665 Based on a patch by Christian Dywan (christian@imendio.com)
1667 * doc/hildon-sections.txt:
1668 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1669 * hildon/hildon-helper.h: New file size formatting method.
1671 * debian/control: Depend on osso-filemanager l10n package for
1672 proper localization strings.
1674 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1676 * tests/Makefile.am: Include top_srcdir to make possible to build
1677 tests in a different builddir.
1678 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1679 on a different builddir.
1681 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1683 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1684 (hildon_touch_selector_remove): Disconnect model's signal handler
1687 Fixes: NB#116289 (Hildon home crashes while adding task
1690 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1692 * hildon/hildon-button.c
1693 (hildon_button_set_title, hildon_button_set_value):
1694 Hide labels containing an empty string.
1696 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1698 * configure.ac: post release version bump
1699 * debian/changelog: post release version bump
1701 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1706 * configure.ac: Bump version.
1707 * debian/changelog: Updates.
1709 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1711 * hildon/hildon-note-private.h: Removed sound_signal_handler
1712 * hildon/hildon-note.c
1713 (on_show_cb): new callback on note "show" event, this simply adds
1714 a idle, with the function sound_handling
1715 (sound_handling): removed the sound_signal_handler management
1716 (hildon_note_init): connect note "show" event to on_show_cb
1717 (hildon_note_realize): remove the connection to "expose-event"
1719 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1720 device?' confirmation note)
1722 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1724 * hildon/hildon-note.c
1725 (hildon_note_new_information_with_icon_name)
1726 (hildon_note_new_confirmation_with_icon_name):
1727 Terminate the list of parameters in g_object_set() calls
1729 Fixes: NB#115166 (Formatting memory card is not taking place)
1731 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1733 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1734 "dialog-information" role for the sound being played.
1736 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1738 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1739 Don't make the menu a modal window, it causes strange interactions
1740 with the pointer grab and it's not really needed.
1742 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1744 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1746 * hildon/hildon-touch-selector.[ch]
1747 (hildon_touch_selector_optimal_size_request): function added to get a
1748 optimal size request from the touch selector, when you want a dialog to
1749 show as much of the selector
1750 * hildon/hildon-picker-dialog.c:
1751 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1752 (hildon_app_menu_class_init):
1753 New "max-height-landscape" and "max-height-portrait" style properties
1754 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1755 (hildon_picker_dialog_get_max_height): returns the maximum height using
1756 the style properties defined and checking the current portrait/landscape
1758 (_hildon_picker_dialog_set_selector): removed the set_size_request
1760 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1762 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1764 * hildon/hildon-bread-crumb-trail.c:
1765 * hildon/hildon-bread-crumb.c:
1766 * hildon/hildon-seekbar.c:
1767 Add reference to replacements for these deprecated widgets.
1769 Fixes: MB#4461 (Documentation: All deprecations should mention
1772 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1774 * examples/hildon-remote-texture-example.c
1776 Change the include to the hildon-remote-texture in order to compile
1777 properly the examples on the installed libhildon1-examples package
1779 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1781 * tests/Makefile.am: Add check for HildonPickerButton.
1782 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1783 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1784 checks for the HildonPickerButton.
1785 * tests/check_test.c (configure_tests): Add the test suite.
1786 * tests/test_suites.h: likewise.
1788 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1790 * hildon/hildon-touch-selector.c
1791 (+on_row_changed): Emit HildonTouchSelector:changed when the
1792 contents of a selected row change.
1793 (_create_new_column), (_hildon_touch_selector_set_model): connect
1794 to GtkTreeModel:row-changed on a newly set model.
1796 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1798 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1800 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1802 * hildon/hildon-banner.c (hildon_banner_destroy)
1803 (hildon_banner_show_progress, hildon_banner_set_fraction):
1804 Remove the progress bar from HildonBanner and use a progress
1807 Fixes: NB#113761 (Update progress banner to use progress
1810 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1812 * hildon/hildon-banner.c:
1813 Calculate size of the banner label using the actual screen width
1814 rather than using a fixed value.
1816 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1819 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1821 * hildon/hildon-pannable-area.c,
1822 (hildon_pannable_area_class_init): Fixed signals documentation
1825 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1827 * configure.ac: post release version bump
1828 * debian/changelog: post release version bump
1830 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1835 * configure.ac: Bump version.
1836 * debian/changelog: Updates.
1838 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1840 * hildon/hildon-edit-toolbar.c
1841 (hildon_edit_toolbar_init):
1842 Don't let buttons in HildonEditToolbar receive focus.
1844 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1845 typing on an HW arrows key)
1847 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1849 * doc/Makefile.am: Fix build.
1851 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1853 * doc/Makefile.am: Do not redefine content_files.
1855 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1863 Renamed src/ to hildon/
1868 Include <hildon/hildon.h> directly in all examples.
1870 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1872 * src/hildon-sort-dialog.c
1873 (hildon_sort_dialog_add_sort_key_with_sorting)
1877 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1879 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1880 make distcheck passes.
1882 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1884 * Makefile.am: Enable gtk-doc during distcheck.
1886 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1888 * Makefile.am: Do not distribute the debian/ directory.
1890 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1892 * doc/Makefile.am: Add the extra SGML files to content_files,
1893 so that they are distributed properly.
1895 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1897 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1900 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1902 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1903 (hildon_note_new_information_with_icon_name): Set the "icon" property
1904 to preserve soundness.
1906 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1908 * src/hildon-font-selection-dialog.c
1909 (hildon_font_selection_dialog_set_property): Fail when the "family"
1910 property is set to NULL.
1912 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1914 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1917 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1919 * src/hildon-time-selector.h:
1920 Added HildonTimeSelectorFormatPolicy
1921 * src/hildon-time-selector.c:
1922 Added PROP_TIME_FORMAT_POLICY
1923 (_check_ampm_format): renamed to check_automatic_ampm_format
1924 (update_format_policy), (update_format_dependant_columns): new functions
1925 (hildon_time_selector_class_init)
1926 (hildon_time_selector_contructor)
1927 (hildon_time_selector_init)
1928 (hildon_time_selector_get_property)
1929 (hildon_time_selector_set_property)
1930 (hildon_time_selector_get_time)
1931 (hildon_time_selector_set_time)
1932 * src/hildon-touch-selector.h: new file
1933 * src/hildon-touch-selector.c
1934 (hildon_touch_selector_emit_changed)
1935 (hildon_touch_selector_block_changed)
1936 (hildon_touch_selector_unblock_changed)
1937 Added functions to allow to block the emission of the "changed" signal
1938 * src/hildon-picker-dialog.c
1939 (hildon_picker_dialog_show): call the parent show before the custom code
1940 * examples/hildon-time-button-example.c
1941 Modified, so now you can configure the time format using the new property
1943 Added a new property "time-format-policy" that allow to choose the time
1944 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1945 case it uses gconf in order to check if the time selector must use
1948 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1951 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1953 * src/hildon-note.c (hildon_note_init):
1954 Label in HildonNote must be left aligned, not centered. This
1955 reverts the last commit in HildonNote.
1957 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1958 is connectivity dialog)
1960 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1965 * doc/hildon-sections.txt:
1966 Added hildon_gtk_window_set_do_not_disturb()
1968 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1970 * src/hildon-note.c (hildon_note_init): Center label.
1972 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1975 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1980 * configure.ac: Bump version.
1981 * debian/changelog: Updates.
1983 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1985 * src/hildon-note-private.h: Add button-width to the private data.
1986 * src/hildon-note.c (+resize_button),
1987 (+hildon_note_orientation_update): methods to repack widgets on orientation
1989 (screen_size_changed): Call above method for confirmation notes.
1990 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1991 (hildon_note_rebuild): Store the original width request from buttons.
1993 Fixes: NB#109635 (Confirmation notes do not support portrait)
1995 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1997 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1998 when it is a progress note.
2000 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2002 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2003 in the note, since there are no horizontally arranged contents.
2005 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-gtk.c (+set_flag): new generic method to
2008 set/delay a flag setting in a window.
2009 (hildon_gtk_window_set_progress_indicator):
2010 (hildon_gtk_window_set_do_not_disturb),
2011 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2012 avoid code redundance.
2014 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2016 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2018 * src/hildon-gtk.c (set_clear_window_flag),
2019 (do_set_progress_indicator), (do_set_do_not_disturb),
2020 (do_set_portrait_flags),
2021 (hildon_gtk_window_set_progress_indicator),
2022 (hildon_gtk_window_set_do_not_disturb),
2023 (hildon_gtk_window_set_portrait_flags):
2024 Allow setting dnd-flag, progress indicator, and portrait flags
2025 when the window is not realized.
2027 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2029 * src/hildon-pannable-area.c,
2030 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2031 the size request policy function and defines.
2033 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2035 * doc/hildon-sections.txt: Add the new API.
2036 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2037 method to set the portrait flags.
2038 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2040 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2042 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2044 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2045 to allow using this method with other flags.
2046 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2047 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2049 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2051 * src/hildon-touch-selector.c
2052 (hildon_touch_selector_append_text_column):
2053 Make the cell renderer use the smallest width possible.
2055 Fixes: NB#108470 (Selected items in multiple selection are either
2056 having a tick that is cut or not visible at all.)
2058 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2060 * src/hildon-touch-selector.c
2061 (hildon_touch_selector_append_text_column):
2064 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2066 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2067 Use g_strdup_printf() instead of a fixed size buffer.
2069 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2071 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2072 Close banners when a HildonAppMenu is popped up.
2074 Fixes: NB#111027 (Title menu closed immediately if activated when
2075 "Invalid e-mail address" banner is shown)
2077 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2082 * configure.ac: Bump version.
2083 * debian/changelog: Updates.
2085 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-banner.c (hildon_banner_realize):
2088 Mark HildonBanner as supporting portrait mode.
2089 Use GDK to set window properties insetad of direct Xlib calls.
2091 Fixes: NB#111830 (HildonBanner should be marked as supporting
2094 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-note.c (hildon_note_rebuild):
2097 Hide action area in information notes. Prevents text from being
2098 slightly aligned to the left.
2100 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2103 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2105 Patch by Mox Soini (ext-mox.soini@nokia.com)
2107 * src/hildon-banner.c (hildon_banner_create_animation):
2108 Use stylus-sized icons in animation banner.
2110 Fixes: NB#111206 (stylus sized icon for animation banner)
2112 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2116 (+hildon_gtk_window_set_do_not_disturb):
2117 New API to set the do-not-disturb flag.
2119 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2121 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2123 * examples/hildon-progress-indicator-example.c: Fix example
2125 * src/hildon-gtk.c (set_clear_window_flag)
2126 (hildon_gtk_window_set_progress_indicator):
2127 Create a generic function for setting flags to a window.
2128 Use GDK instead of direct Xlib calls.
2130 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-button.c (hildon_button_set_arrangement):
2133 Due to NB#88126, if one of the labels is too long it will be
2134 painted outside the button. The 'value' label is more likely to be
2135 the longest one, so we change its packing options in order to
2136 truncate it if necessary. As a side effect, the 'title' label will
2137 no longer be truncated.
2139 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2141 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2146 * configure.ac: Bump version.
2147 * debian/changelog: Updates.
2149 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2151 Deprecation of the hildon_pannable_area_set_size_request_policy
2152 API, the only policy properly supported in gtk+ nowadays is the
2155 * src/hildon-pannable-area.c,
2156 (hildon_pannable_area_size_request): Added a workaround for the
2157 size_request to avoid the problems of huge pixmaps in case someone
2158 is still using the function.
2159 * src/hildon-pannable-area.h: Deprecated the enum with the
2162 Fixes: NB#110244 (Problems with the
2163 hildon_pannable_area_set_size_request_policy API)
2165 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2167 * src/hildon-pannable-area.c,
2168 (hildon_pannable_area_init),
2169 (hildon_pannable_area_size_request),
2170 (hildon_pannable_area_style_set),
2171 (hildon_pannable_draw_vscroll),
2172 (hildon_pannable_draw_hscroll),
2173 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2174 indicator_width to clarify the use of the attribute.
2176 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2181 * configure.ac: Bump version.
2182 * debian/changelog: Updates.
2184 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2186 * src/hildon-picker-dialog.c
2187 * src/hildon-touch-selector.c
2188 Reverting the change that tried to avoid the hardcoded height on
2189 the picker dialog, as causes problems on the hildon-touch-selector
2192 Fixes: NB#110029 (selectors not scrolling to selected value)
2194 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-touch-selector.c: Fix typos
2198 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2200 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2201 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2202 request more motions after using it.
2204 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2206 * src/hildon-calendar.c (hildon_calendar_expose),
2207 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2208 Remove unused variables.
2210 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2212 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2213 variable assignment.
2215 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2218 Check the return value of gtk_tree_selection_get_selected()
2221 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2223 * src/hildon-animation-actor.c
2224 * src/hildon-button.c
2226 * src/hildon-pannable-area.c
2227 * src/hildon-picker-button.c
2228 * src/hildon-program.c
2229 * src/hildon-remote-texture.c
2230 * src/hildon-text-view.c
2231 * src/hildon-touch-selector.c
2232 * src/hildon-window-stack.c
2233 * src/hildon-window.c:
2234 Add missing 'Since: 2.2' tags.
2236 * doc/hildon-sections.txt:
2237 Add some missing symbols.
2239 * doc/hildon-docs.sgml:
2240 New 'Other' section for HildonAnimationActor and
2243 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2245 Patch by Iván Gómez (igomez@igalia.com)
2248 * doc/compiling.sgml
2249 * doc/hildon-docs.sgml
2250 * doc/hildon-sections.txt
2251 * doc/migration.sgml
2252 * doc/resources.sgml
2254 New chapters on using the Hildon library.
2255 Updated the general structure of the reference manual.
2256 Other minor documentation fixes.
2258 * src/hildon-calendar-popup.c
2259 * src/hildon-calendar.c
2260 * src/hildon-controlbar.c
2261 * src/hildon-date-editor.c
2262 * src/hildon-dialog.c
2263 * src/hildon-hvolumebar.c
2264 * src/hildon-number-editor.c
2265 * src/hildon-range-editor.c
2266 * src/hildon-sort-dialog.c
2267 * src/hildon-time-editor.c
2268 * src/hildon-time-picker.c
2269 * src/hildon-volumebar-range.c
2270 * src/hildon-volumebar.c
2271 * src/hildon-vvolumebar.c
2272 * src/hildon-weekday-picker.c:
2273 Add deprecation notes
2275 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2276 Document 'horizontal-movement' and 'vertical-movement' signals.
2278 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2283 * configure.ac: Bump version.
2284 * debian/changelog: Updates.
2286 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2288 * src/hildon-pannable-area.c,
2289 (hildon_pannable_area_class_init): increased the minimum velocity.
2290 (hildon_pannable_area_button_release_cb): Updated the
2291 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2292 setup. Review the code to control that last event.
2294 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2297 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2299 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2301 * src/hildon-get-password-dialog.c
2302 (hildon_get_password_set_property),
2303 (hildon_get_password_get_property), (create_contents):
2304 * src/hildon-login-dialog-private.h:
2305 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2306 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2307 (hildon_login_dialog_get_password):
2308 * src/hildon-set-password-dialog-private.h:
2309 * src/hildon-set-password-dialog.c
2310 (hildon_set_password_set_property),
2311 (hildon_set_password_get_property), (create_contents),
2312 (hildon_set_password_response_change),
2313 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2315 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2316 instead and look more Fremantle style.
2318 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2320 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2322 * doc/hildon-sections.txt
2323 * src/hildon-window-stack.h
2324 * src/hildon-window-stack.c
2325 (+hildon_window_stack_get_windows):
2326 New API to obtain the list of windows on a stack.
2328 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2330 * src/hildon-app-menu.c (hildon_app_menu_popup)
2331 (hildon_app_menu_class_init, -hildon_app_menu_show):
2332 Remove hildon_app_menu_show() and move all its checks to
2333 hildon_app_menu_popup()
2335 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2337 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2338 (_hildon_picker_dialog_set_selector): removed call to
2339 gtk_widget_set_size_request
2340 * src/hildon-touch-selector.c
2341 (_create_new_column): change the pannable size request policy
2343 Avoid to use a hardcoded height for the hildon picker dialog. In order
2344 to get that, we needed to change the hildon pannable size request
2346 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2348 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2350 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2351 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2354 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2356 * debian/control: Depend on osso-system-lock localization package.
2357 * src/hildon-code-dialog.c: Obtain the secu_application_title
2358 translation from osso-system-lock.
2359 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2360 for translation the atk related strings, that's not necessary.
2361 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2362 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2363 cancel button, it is not required.
2365 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2367 * src/hildon-pannable-area.c,
2368 (hildon_pannable_area_class_init): Modified the default value of
2369 the overshooting max speed, we have reduced it.
2371 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2373 * doc/hildon-sections.txt
2374 * src/hildon-window-private.h
2375 * src/hildon-window.h
2376 * src/hildon-window.c (hildon_window_class_init)
2377 (hildon_window_init, hildon_window_finalize)
2378 (hildon_window_realize, hildon_window_get_property)
2379 (hildon_window_set_property, hildon_window_update_markup)
2380 (hildon_window_get_markup, hildon_window_set_markup):
2381 New "markup" property and hildon_window_{get,set}_markup() methods.
2383 * examples/hildon-stackable-window-example.c (new_window):
2384 Update example to use hildon_window_set_markup()
2386 Fixes: NB#106375 (Need API to retitle a window with a title
2389 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2391 * src/hildon-pannable-area.c,
2392 (hildon_pannable_area_class_init): Changed the default value of
2393 the initial_hint to TRUE.
2394 (hildon_pannable_area_initial_effect): Changed the initial effect,
2395 not the effect is just the fade-out of the scrollbars.
2397 Fixes: NB#107775 (No scrollbars can be seen when several items are
2398 available in a dialog)
2400 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-program.c (hildon_program_update_top_most):
2405 Fixes: NB#109179 (Memory leak in Hildon program)
2407 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2409 * src/hildon-banner.c (-get_current_app_window):
2410 Remove unused function.
2412 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2414 * src/hildon-pannable-area.c: Modified the documentation of the
2415 get adjustments functions to explain the problem of using the
2416 adjustment directly.
2417 (hildon_pannable_area_class_init): Improved the explanation about
2420 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2422 * src/hildon-app-menu-private.h
2423 * src/hildon-app-menu.c
2424 (hildon_app_menu_class_init):
2425 Bring back the 'external-border' style property
2426 (hildon_app_menu_class_init, hildon_app_menu_init)
2427 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2428 Set a fixed width-request for the menu, independent of the number
2431 Fixes: NB#94957 (Smoothly opened application menu)
2433 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2437 * src/hildon-banner.c
2438 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2440 Make sure that the banner is correctly placed the first time it's
2442 (hildon_banner_check_position, -check_fullscreen_state):
2443 Show the banner in the same place no matter if the window is in
2444 fullscreen mode or not.
2446 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2448 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2450 * src/hildon-touch-selector.c (_default_print_func): reorder
2451 concatenation for clarity.
2453 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2455 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2456 for multicolumn selectors.
2458 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2460 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2465 * configure.ac: Bump version.
2466 * debian/changelog: Updates.
2468 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2470 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2473 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2475 * configure.ac: removed libcangerra-gtk dependency
2476 * debian/control: removed libcanberra-gtk dependency
2477 * src/Makefile.am: removed libcanberra gtk related flags
2478 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2479 context, and manage a global canberra context instead
2481 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2483 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2485 Patch by Daniel Borgmann (danielb@openismus.com)
2487 * src/hildon-edit-toolbar.c:
2488 Adjust the left padding.
2489 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2490 Paint background of the edit toolbar.
2492 Fixes: NB#107897 (Patch to make editmodetoolbar background
2493 themeable and adjust margin)
2495 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2497 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2499 * src/hildon-program.c (hildon_program_update_top_most):
2500 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2502 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2503 change when the user tasks in/out of an application)
2505 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2507 * configure.ac: added libcangerra-gtk dependency
2508 * debian/control: added libcanberra-gtk dependency
2509 * src/Makefile.am: added libcanberra gtk related flags
2510 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2513 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2515 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-program.c (hildon_program_remove_window)
2518 (hildon_program_add_window): Add checks for the window
2519 parameter. Don't decrease the window counter if the window is not
2522 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2524 * src/hildon-pannable-area.c,
2525 (hildon_pannable_area_realize): Fixed position of the event_window
2526 in the realize method.
2528 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2530 * src/hildon-app-menu-private.h
2531 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2532 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2533 (hildon_app_menu_key_press, hildon_app_menu_init)
2534 (hildon_app_menu_finalize):
2535 Make sure that all idle functions are removed when the widget is
2538 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2540 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2545 * configure.ac: Bump version.
2546 * debian/changelog: Updates.
2548 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-entry.c
2551 (+hildon_entry_show_placeholder),
2552 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2553 that replace hildon_entry_update_contents().
2554 (hildon_entry_set_text),
2555 (hildon_entry_set_placeholder),
2556 (hildon_entry_focus_in_event),
2557 (hildon_entry_focus_out_event): Determine when it is needed
2558 either to show or hide the placeholder and call the above methods.
2560 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2561 when the placeholder text is already set)
2563 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2566 simple GdkPixbufAnim using the new icons for the banner.
2567 (hildon_banner_show_animation): Use the above mentioned method to
2568 create the animation widget.
2570 Fixes: NB#103564 (Make hildon animation banner use individual
2571 image files as the animation)
2573 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2575 * src/hildon-pannable-area.c,
2576 (hildon_pannable_leave_notify_event): Check if the child is NULL
2577 to avoid sending the leave.
2579 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2581 * src/hildon-pannable-area.c,
2582 (hildon_pannable_area_class_init),
2583 (hildon_pannable_leave_notify_event): Added a handler of the
2584 leave-notify-signal to consider when no motion notify before
2587 Fixes: NB#107494 (Items stay selected when clicking and moving
2588 away when inside pannable area)
2590 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2595 * configure.ac: Bump version.
2596 * debian/changelog: Updates.
2598 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2600 Patch by Alberto Garcia (agarcia@igalia.com)
2602 * src/hildon-date-button.c,
2603 (hildon_date_button_class_init),
2604 (hildon_date_button_init): Removed the construct property handling
2605 and created a default selector in the init method.
2606 * src/hildon-picker-button.c,
2607 (hildon_picker_button_class_init): Removed the construct flag of the
2610 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-main.c (hildon_init):
2613 Don't allow hildon_init() to be called more than once.
2615 Fixes: NB#106607 (hildon_init should issue error message upon
2618 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2620 * examples/hildon-pannable-area-touch-list-example.c
2621 * examples/hildon-pannagle-area-touch-grid-example.c
2622 * examples/hildon-edit-toolbar-example.c
2623 * examples/hildon-touch-selector-multi-cells-example.c
2624 Removed the call to gtk_rc_parse_string, as it is not required since
2627 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2629 * src/hildon-pannable-area.c,
2630 (hildon_pannable_area_class_init): Modified the default panning
2631 threshold of the widget to 6px.
2633 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2634 than the threshold value ) within the button is not sending the
2637 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2639 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2640 for the treeview in the new column. This way, the touch list will never
2643 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2644 be selected manually for the HW keys to work)
2646 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2648 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2649 comparison instead of using strcmp(). Fixes a compiler warning as well.
2651 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2653 * doc/hildon-docs.sgml: Do not set the library version in the
2654 document title, use the releaseinfo tag for that purpose instead.
2656 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2658 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2659 Do not jump to the first item if the text in the entry is removed.
2661 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2666 * configure.ac: Bump version.
2667 * debian/changelog: Updates.
2669 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2671 * src/hildon-entry.c (hildon_entry_refresh_contents):
2672 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2673 Use "ReversedSecondaryTextColor" for the placeholder text.
2675 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2677 * src/hildon-text-view.c: Fix compilation warning.
2679 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-button.c (hildon_button_class_init): Don't make
2682 "title" and "value" construction properties, to prevent them from
2683 overwriting labels set from derived classes.
2685 * src/hildon-picker-button.c
2686 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2687 (hildon_picker_button_class_init): Make touch-selector a
2688 construction property.
2690 * src/hildon-date-button.c (hildon_date_button_class_init)
2691 (+hildon_date_button_constructed): Add a default date selector if
2694 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2696 * src/hildon-touch-selector.c: Small documentation fixes.
2698 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2700 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2702 * src/hildon-entry.c (hildon_entry_refresh_contents),
2703 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2704 widget name, set the logical color directly instead and a boolean
2705 showing_placeholder instead.
2706 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2707 use the widget name here either.
2709 Fixes: NB#105678 (HildonTextView should use logical colours
2710 instead of setting widget name)
2712 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2714 Patch by Daniel Elster (danielk@openismus.com)
2716 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2717 Add user_data parameter.
2718 (hildon_touch_selector_set_print_func_full): New function akin
2719 hildon_touch_selector_set_print_func() but with support for user
2720 data and a destroy callback.
2721 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2722 to clean up the print function user data.
2723 (hildon_touch_selector_class_init): Install dispose function.
2724 (HildonTouchSelectorPrivate::print_user_data),
2725 (HildonTouchSelectorPrivate::print_destroy_func): New private
2727 (hildon_touch_selector_init): Initialize new private members.
2728 (hildon_touch_selector_get_current_text): Pass along user data
2729 to the print function.
2730 (_default_print_func): Add dummy user_data to parameter list.
2731 * hildon-date-selector.c (_custom_print_func): ditto,
2732 * hildon-time-selector.c (_custom_print_func): ditto,
2733 * hildon-touch-selector-entry.c
2734 (hildon_touch_selector_entry_print_func): ditto.
2736 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2738 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2740 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2742 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2744 * src/hildon-pannable-area.c,
2745 (hildon_pannable_area_init),
2746 (hildon_pannable_area_button_press_cb),
2747 (hildon_pannable_area_motion_notify_cb): We have added code to
2748 handle the leave and enter events when using the motion events.
2750 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2752 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2754 * src/hildon-date-button.c (hildon_date_button_get_date)
2755 (hildon_date_button_set_date): Make sure that the button has a
2758 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2760 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2762 * src/hildon-pannable-area.c,
2763 (hildon_pannable_area_class_init),
2764 (hildon_pannable_area_calculate_velocity): Modify the use of the
2765 force and adapt the value.
2767 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2769 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2770 (hildon_app_menu_class_init): Hide the menu if it receives a
2771 delete-event, but don't destroy it
2773 Fixes: NB#104485 (Not able to address the call when application
2774 menu is opened at background)
2776 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2778 * src/hildon-app-menu.c
2779 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2780 Remove the "external-border" style property, let the menu take its
2781 natural size (or the one set by the window manager)
2782 (hildon_app_menu_repack_items):
2783 Don't reshow the menu, avoid flickers.
2785 Partially fixes NB#94957 (Smoothly opened application menu)
2787 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2792 * configure.ac: Bump version.
2793 * debian/changelog: Updates.
2795 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2797 * src/hildon-pannable-area.c,
2798 (hildon_pannable_area_motion_notify_cb): We control that the
2799 direction error margin is used just in case the movement is
2800 allowed in the other direction.
2802 Fixes: NB#105012 (buttons inside a pannable area not getting
2803 release event when dragging/releasing)
2805 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2807 * src/hildon-pannable-area.c,
2808 (hildon_pannable_area_class_init),
2809 (hildon_pannable_area_get_property),
2810 (hildon_pannable_area_set_property),
2811 (hildon_pannable_area_initial_effect),
2812 (hildon_pannable_axis_scroll),
2813 (hildon_pannable_area_button_release_cb): Reviewed the
2814 overshooting effect, now it has its own max
2815 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2816 speed when bouncing.
2818 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2823 * configure.ac: Bump version.
2824 * debian/changelog: Updates.
2826 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2828 * src/hildon-pannable-area.c,
2829 (hildon_pannable_area_class_init): Changed the max speed, now
2830 users can launch the widget very fast. Reduced the default force,
2831 that way it is easier to control the launch speed.
2833 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2835 * src/hildon-pannable-area.c,
2836 (hildon_pannable_area_button_release_cb): Removed this check
2837 because it causes problems when the device is overloaded.
2839 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2842 add a current_text field to store the text entered in the
2843 touch selector entry.
2844 (_clean_current_selection): clean up the current text as well.
2845 (_save_current_selection), (_restore_current_selection):
2846 Save/restore the text in the entry if the selector is a
2847 HildonTouchSelectorEntry.
2849 Fixes: NB#102541 (value entered in the touch selector entry is not
2850 shown when opened for second time)
2852 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2854 * doc/hildon-sections.txt:
2855 * src/hildon-touch-selector-entry.c
2856 (+hildon_touch_selector_entry_get_entry):
2857 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2859 Fixes: NB#104815 (I need accessor to the entry inside
2860 HildonTouchSelectorEntry)
2862 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2865 (hildon_app_menu_class_init):
2866 New "filter-vertical-spacing" style property.
2868 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-find-toolbar.c
2871 (hildon_find_toolbar_emit_close)
2872 (hildon_find_toolbar_emit_invalid_input)
2873 (hildon_find_toolbar_entry_activate):
2874 Use g_signal_emit() instead of g_signal_emit_by_name()
2876 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2878 Patch by Mox Soini (ext-mox.soini@nokia.com)
2880 * tests/TEST-CASES.txt
2881 * tests/check-hildon-banner.c
2882 * tests/check-hildon-note.c
2883 * src/hildon-banner.c
2884 * src/hildon-code-dialog.c
2885 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2886 * src/hildon-time-editor.c
2887 * examples/hildon-lookup-example.c (main):
2888 Replace obsolete icon names with new ones.
2890 * src/hildon-find-toolbar-private.h:
2891 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2892 (-hildon_find_toolbar_emit_search):
2893 Remove find button and change icon of close button.
2895 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2897 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2899 * src/hildon-time-button.c (hildon_time_button_new_step):
2900 Use the "touch-selector" property to set the selector directly
2901 when creating the object.
2903 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2905 Added a new example application that allows tuning the pannable
2906 area and replaced defines with properties in order to simplify the
2907 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2908 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2909 PROP_DIRECTION_ERROR_MARGIN.
2911 * examples/hildon-pannable-area-tuning-example.c: New example
2913 * src/hildon-pannable-area.c,
2914 (hildon_pannable_area_class_init),
2915 (hildon_pannable_area_init),
2916 (hildon_pannable_area_get_property),
2917 (hildon_pannable_area_set_property),
2918 (hildon_pannable_area_launch_fade_timeout),
2919 (hildon_pannable_area_adjust_value_changed),
2920 (hildon_pannable_axis_scroll),
2921 (hildon_pannable_area_motion_notify_cb),
2922 (hildon_pannable_area_scroll_cb),
2923 (hildon_pannable_area_button_release_cb): We have converted some
2924 of the defines that control the widget to properties to simplify
2927 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-app-menu.c (hildon_app_menu_map)
2930 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2931 so it's closed if a new window appears.
2933 Fixes: NB#104485 (Not able to address the call when application
2934 menu is opened at background)
2936 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2938 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2939 missing 'break' statement in in 'case' construct to avoid
2942 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2944 * src/hildon-touch-selector-entry.c
2945 (hildon_touch_selector_entry_get_property),
2946 (hildon_touch_selector_entry_set_property): Add missing 'break'
2947 statements in in 'case' constructs to avoid incorrect warnings.
2949 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-time-editor.c
2952 (hildon_time_editor_get_time_separators): Do not crash if
2953 the first label is NULL.
2955 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-date-selector.c (_month_days): Check for month to be
2958 strictly less than 12, since otherwise we may overrun the array.
2960 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-date-button.c (+hildon_date_button_new_full)
2963 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2964 (hildon_date_button_init): Set the date selector using a
2965 construction property, to make it happen after HildonButton's
2966 "value" property is set.
2968 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2969 current date by default)
2971 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2973 * doc/hildon-sections.txt
2974 * src/hildon-program.c
2975 * src/hildon-stackable-window.c
2976 * src/hildon-window.c:
2977 Documentation updates
2979 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2981 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2982 (hildon_window_stack_new, +hildon_window_stack_set_property)
2983 (+hildon_window_stack_get_property)
2984 (hildon_window_stack_class_init)
2985 (+hildon_window_stack_set_window_group)
2986 (+hildon_window_stack_get_window_group):
2987 Make the window group a construction property.
2989 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2991 * doc/hildon-sections.txt
2992 * src/hildon-stackable-window-private.h
2993 * src/hildon-stackable-window.h
2994 * src/hildon-stackable-window.c
2995 (-hildon_stackable_window_set_app_menu)
2996 (-hildon_stackable_window_get_app_menu)
2997 (-hildon_stackable_window_toggle_menu)
2998 (-hildon_stackable_window_finalize)
2999 (hildon_stackable_window_class_init)
3000 (hildon_stackable_window_init)
3001 * src/hildon-window-private.h
3002 * src/hildon-window.h
3003 * src/hildon-window.c (hildon_window_init)
3004 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3005 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3006 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3007 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3008 Moved all HildonAppMenu code to HildonWindow. The menu does not
3009 require a HildonStackableWindow anymore.
3011 * src/hildon-app-menu.c
3012 * src/hildon-program.c
3013 * examples/hildon-app-menu-example.c (main):
3014 Update examples and documentation to reflect HildonAppMenu
3017 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3019 * src/hildon-remote-texture.c
3020 * src/hildon-animation-actor.c:
3021 Don't include unused private headers.
3023 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3025 * src/hildon-program-private.h
3026 * src/hildon-program.c
3027 (hildon_program_set_common_menu)
3028 (hildon_program_get_common_menu)
3029 (hildon_program_set_common_app_menu)
3030 (hildon_program_get_common_app_menu):
3031 Change common menu pointers from GtkWidget* to GtkMenu* and
3032 HildonAppMenu* to avoid unnecessary casts.
3034 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3036 * src/hildon-window.c (hildon_window_set_main_menu):
3037 Removed incorrect 'Since:' tag
3039 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3041 * src/hildon-pannable-area.c,
3042 (hildon_pannable_area_calculate_velocity): We use now the
3043 RATIO_TOLERANCE here to check the distance, fixed typo in the
3045 (hildon_pannable_area_motion_notify_cb): We have to set the type
3046 and time even if we are not sending the motion.
3048 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3050 * doc/hildon-sections.txt
3051 * src/hildon-app-menu.h
3052 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3053 (+hildon_app_menu_get_filters): New methods to get the contents of
3056 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3059 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3061 * src/hildon-app-menu.c (hildon_app_menu_popup):
3064 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3066 * src/hildon-window.h
3067 * src/hildon-window.c (+hildon_window_get_main_menu)
3068 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3069 and deprecated hildon_window_get_menu().
3071 * src/hildon-stackable-window.h
3072 * src/hildon-stackable-window.c
3073 (+hildon_stackable_window_set_app_menu)
3074 (+hildon_stackable_window_get_app_menu)
3075 (hildon_stackable_window_set_main_menu): Created
3076 hildon_stackable_window_{get,set}_app_menu() and deprecated
3077 hildon_stackable_window_set_main_menu().
3079 * doc/hildon-sections.txt
3080 * examples/hildon-app-menu-example.c (main)
3081 * src/hildon-app-menu.c
3082 * src/hildon-program.c:
3083 Updated examples and documentation.
3085 Fixes: NB#103758 (No way to obtain a menu from a
3086 HildonStackableWindow)
3088 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3093 * configure.ac: Bump version.
3094 * debian/changelog: Updates.
3096 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3098 * examples/hildon-remote-texture-example.c: Include
3099 hildon-remote-texture.h explicitely.
3100 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3101 applications not defining _XOPEN_SOURCE which don't require this header.
3103 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3105 * doc/hildon-sections.txt
3106 * src/hildon-app-menu.h
3107 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3108 New function to pop up a HildonAppMenu
3110 * src/hildon-stackable-window.c
3111 (hildon_stackable_window_toggle_menu):
3112 Use hildon_app_menu_popup() to show the menu.
3114 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3116 * src/hildon-app-menu.c (hildon_app_menu_show)
3117 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3118 menu if there's another window between it and its parent window.
3120 Fixes: NB#100468 (Application menu window is launched even when a
3121 new secondary-window/dialog is pending to be shown/realized)
3123 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3125 * src/hildon-window-stack.c (hildon_window_stack_push)
3126 (hildon_window_stack_pop_and_push):
3127 Don't forget to push/pop the first window.
3128 Reverse the window list before calling _push_list()
3130 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-picker-button.h
3133 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3134 Remove "value_changed" slot to avoid ABI breakage
3136 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3138 * src/hildon-pannable-area.c,
3139 (hildon_pannable_area_realize),
3140 (hildon_pannable_area_unrealize),
3141 (hildon_pannable_draw_vscroll),
3142 (hildon_pannable_draw_hscroll): Changed the method to handle the
3143 GC used to draw the transparent scrollbar, this way we avoid
3144 creating the GC all the time when drawing the scrollbars.
3146 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3148 * src/hildon-pannable-area.c,
3149 (hildon_pannable_area_init),
3150 (hildon_pannable_area_remove): Removed some unnecessary casts.
3151 (hildon_pannable_area_dispose): Disconnected some signals before
3152 releasing the adjustments.
3154 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3156 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3157 Make sure that all widgets contained in the toolbar are shown.
3159 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3161 * doc/hildon-sections.txt
3162 * src/hildon-picker-button.h
3163 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3164 (_selection_changed, hildon_picker_button_on_dialog_response)
3165 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3166 New hildon_picker_button_value_changed() method.
3169 * src/hildon-picker-button-private.h
3170 * src/hildon-picker-button.c (hildon_picker_button_init)
3171 (+hildon_picker_button_disable_value_changed): Add protected
3172 function for disabling the "value-changed" signal.
3174 * src/hildon-date-button.c (hildon_date_button_set_date):
3175 Don't emit "value-changed" for each one of the three columns.
3177 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3178 before actual change of values)
3180 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3182 * src/hildon-pannable-area.c,
3183 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3184 for the treeview overshooting.
3186 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-banner.c (+hildon_banner_bind_style):
3189 Renamed from hildon_banner_bind_label_style(), now naming the
3190 banner itself as well.
3191 (hildon_banner_show_information),
3192 (hildon_banner_show_information_with_markup),
3193 (hildon_banner_show_animation), (hildon_banner_show_progress):
3194 Name the widgets and labels, based on their type.
3196 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3199 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3201 * src/hildon-note.c (hildon_note_set_property): call
3202 hildon_note_rename() on HildonNote:note-type set.
3203 (hildon_note_rename): Name the note and its label, based on the
3204 HildonNote:note-type property.
3206 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3209 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3211 * src/hildon-pannable-area.c,
3212 (hildon_pannable_area_class_init),
3213 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3214 panning parameters, increased SPS and deceleration factor. Added
3215 also a margin to control fake directions.
3217 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3219 Patch by Sven Herzberg (sven@imendio.com)
3221 * configure.ac: Add missing AM_PROG_CC_C_0
3222 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3224 See NB#101420 (Update unit tests and fix make check)
3226 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3228 This patch was applied before but reverted because it caused
3229 problems, we have changed the main condition and tested the
3230 regressions we detected before and they work ok. We have done a
3231 complete review of the topmost algorithm in order to get a more
3234 * src/hildon-pannable-area.c,
3235 (hildon_pannable_area_get_topmost): Added a new parameter to
3236 filter the the windows that do not include those events.
3237 (hildon_pannable_area_button_press_cb),
3238 (hildon_pannable_area_button_release_cb),
3239 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3240 topmost function, we have added the new parameter.
3242 Fixes: NB#97458 (Pannable area prevents propagation of button
3245 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3248 if all columns in the selector have an item selected.
3249 (_on_dialog_response): Stop "response" signal emission if there is
3250 any selector column without selected items.
3252 Fixes: NB#101889 (Picker dialog should not close when nothing is
3253 selected in multiple selection list)
3255 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3257 * src/hildon-font-selection-dialog.c
3258 (hildon_font_selection_dialog_class_init),
3259 (hildon_font_selection_dialog_init): Remove the preview
3260 button and dialog, since previewing with default theming is likely
3261 to be overcomplicated. The :preview property has now no effect.
3262 Update documentation blurbs to inform about this.
3264 Fixes: NB#92297 (Preview content is not clearly visible for
3265 default colour text)
3267 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3269 Reviewed the geometry that handles the children size and
3270 scrollbar, now it tries a size and reviews the results depending
3271 on the scrollbars visibility.
3273 * src/hildon-pannable-area.c,
3274 (hildon_pannable_area_realize): Fixed a typo.
3275 (hildon_pannable_area_child_allocate_calculate): Added this
3276 function to calculate the child allocation.
3277 (hildon_pannable_area_size_allocate): Reviewed the allocation
3279 (hildon_pannable_area_check_scrollbars),
3280 (hildon_pannable_area_refresh): Refactored refresh function, this
3281 way we can call the code handling the scrollbars without causing a
3282 size_request, it is interesting in the allocate.
3283 (hildon_pannable_area_init): Replace the callbacks of the
3284 value_changed and changed signals to propertly deal with the
3286 (hildon_pannable_area_grab_notify),
3287 (hildon_pannable_area_initial_effect),
3288 (hildon_pannable_area_launch_fade_timeout),
3289 (hildon_pannable_area_adjust_changed),
3290 (hildon_pannable_area_adjust_value_changed),
3291 (hildon_pannable_area_redraw),
3292 (hildon_pannable_area_button_press_cb),
3293 (hildon_pannable_area_button_release_cb),
3294 (hildon_pannable_area_scroll_cb),
3295 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3296 code and use the new functions adjust_changed and
3297 adjust_value_changed.
3299 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3300 Contact editor dialog)
3302 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3307 * configure.ac: Bump version.
3308 * debian/changelog: Updates.
3310 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3312 * src/hildon-pannable-area.c,
3313 (hildon_pannable_area_get_topmost),
3314 (hildon_pannable_area_button_press_cb),
3315 (hildon_pannable_area_button_release_cb),
3316 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3317 topmost function adding the event mask. We have to try a
3318 differente approach because it is still causing problems (NB#9745,
3321 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3323 * src/hildon-banner.c:
3324 Update the maximum width of timed banners.
3325 (force_to_wrap_truncated): Enforce the maximum text width if the
3328 Fixes: NB#102413 (The text margins (wrapping) in information
3329 banner should be HILDON_MARGIN_TRIPLE)
3331 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3333 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3335 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3336 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3337 bound when calculating the scroll indicator position.
3339 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3340 treat ->lower correctly)
3342 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3344 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3345 expose event handling, since it is not necessary to draw the focus
3348 Fixes: NB#102467 (Do not show highlight on the text in
3351 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3353 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3354 full height of the toolbar for the button and the label.
3356 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3359 padding before the label and after the button.
3361 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3363 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3365 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3366 Add a GtkVSeparator between the button and the back arrow.
3367 Let the button have automatic size.
3368 Set a name to the widget for theming handling.
3370 Fixes: NB#101793 (Make edit toolbar the same height as window
3371 title bar (use title area theming))
3373 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-helper.c (attach_new_color_element): Fix memory
3378 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3380 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3382 * examples/hildon-button-example.c (common_buttons_window): Don't
3385 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3387 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3388 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3390 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-gtk.c: Check that the window is realized.
3394 Fixes: NB#102225 (Crash setting the progress indicator to a non
3397 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3399 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3400 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3401 instead of modifying the one in the widget style.
3403 Fixes: NB#101043 (Second row of all the command button are
3404 displayed in transparent mode.)
3406 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3408 * src/hildon-date-button.c
3409 * src/hildon-time-button.c: Add gettext macros
3411 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3413 * src/hildon-date-button.c (hildon_date_button_new):
3414 * src/hildon-time-button.c (hildon_time_button_new_step):
3415 Use new logical strings to set the button default title.
3417 Fixes: NB#99915 (Date and Time options are not localised in Date
3420 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3422 * src/hildon-pannable-area.c
3423 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3424 the PANNING_THRESHOLD.
3426 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3428 * src/hildon-pannable-area.c,
3429 (hildon_pannable_area_class_init): Increased the maximum speed.
3430 (hildon_pannable_area_get_property),
3431 (hildon_pannable_area_set_property),
3432 (hildon_pannable_area_timeout): Added a new low friction mode, it
3433 allows the user avoid friction when launching the widget fast
3434 enough. It is interesting to traverse long lists.
3436 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3439 (+hildon_stackable_window_delete_event): Ignore delete events if
3440 the window is not the topmost one.
3442 Fixes: NB#101698 (Back button long press and delete-event handling)
3444 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3446 * src/hildon-pannable-area.c,
3447 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3448 gtk-dnd-drag-threshold, it was too big. We have defined our own
3449 dnd define and set a smaller value: PANNIG_THRESHOLD.
3451 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3453 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3454 user-defined icons, use always the default one.
3456 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3458 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3460 This patch was applied before but reverted because it caused
3461 problems, we have changed the main condition and tested the
3462 regressions we detected before and they work ok.
3464 * src/hildon-pannable-area.c,
3465 (hildon_pannable_area_get_topmost): Added a new parameter to
3466 filter the the windows that do not include those events. Added
3467 also a condition when finding the window to filter windows that do
3468 not ask for those events.
3469 (hildon_pannable_area_button_press_cb),
3470 (hildon_pannable_area_button_release_cb),
3471 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3472 topmost function, we have added the new parameter.
3474 Fixes: NB#97458 (Pannable area prevents propagation of button
3477 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3479 * tests/check-hildon-color-button.c (START_TEST): do not leak
3482 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3484 * src/hildon-font-selection-dialog.c
3485 (hildon_font_selection_dialog_get_preview_text): Return NULL
3486 instead of FALSE on the g_return_val_if_fail().
3488 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3490 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3491 * src/hildon-date-selector.c
3492 (hildon_date_selector_select_current_date):
3493 Do not compare unsigned integers to be greater than or equal 0,
3494 because it's always TRUE.
3496 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3499 (hildon_date_selector_constructor): Do not select the current
3500 date until we are handle the "changed" signal, to avoid having bogus
3501 elements in the days model.
3503 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3506 for num_days, since _month_days() can return a negative value.
3508 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3510 * src/hildon-caption.c (hildon_caption_size_allocate):
3511 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3512 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3514 Initialize allocation variables to 0, to avoid eventually using
3515 unitialized variables.
3517 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3519 * src/hildon-bread-crumb-trail.c
3520 (hildon_bread_crumb_trail_size_allocate):
3521 * src/hildon-calendar.c (hildon_calendar_set_background):
3522 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3523 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3524 * src/hildon-seekbar.c (hildon_seekbar_init):
3525 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3526 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3527 * src/hildon-touch-selector-entry.c
3528 (hildon_touch_selector_get_text_from_model):
3529 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3530 * src/hildon-window.c (hildon_window_finalize):
3532 Remove many unused variables.
3534 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-seekbar.c: (hildon_seekbar_init),
3537 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3539 Remove unnecessary g_assert() calls.
3541 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3543 * src/hildon-caption.c: (hildon_caption_expose),
3544 (hildon_caption_set_property), (hildon_caption_init),
3545 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3546 (hildon_caption_size_request), (hildon_caption_size_allocate),
3547 (hildon_caption_forall), (hildon_caption_set_separator),
3548 (hildon_caption_activate), (hildon_caption_set_child_expand),
3549 (hildon_caption_set_label_text),
3550 (hildon_caption_get_label_alignment):
3552 Remove unnecessary g_assert() calls.
3554 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3556 * src/hildon-banner.c
3557 (hildon_banner_map, hildon_banner_init): Make banner temporary
3558 before mapping it to avoid closing other temporary windows, but
3559 make it non-temporary afterwards to avoid being closed by other
3560 non-temporary windows.
3561 (-hildon_banner_client_event, hildon_banner_init):
3562 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3564 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3567 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3569 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3572 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3574 * src/hildon-remote-texture.c
3575 * src/hildon-remote-texture.h
3576 * src/hildon-remote-texture-private.h
3577 * examples/hildon-remote-texture-example.c:
3578 Updates/fixes to remote-texture and its example.
3580 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3582 Patch by Mox Soini (ext-mox.soini@nokia.com)
3584 * src/hildon-code-dialog.c: Update logical id.
3585 * src/hildon-set-password-dialog.c: Update logical id.
3587 Fixes: NB#100646 (Logical strings is shown for ok in set
3588 password,Password needed dialogs)
3590 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3593 * src/hildon-remote-texture.c
3594 * src/hildon-remote-texture.h
3595 * src/hildon-remote-texture-private.h
3597 Added remote texture widget (for Clutter shared memory textures)
3599 * examples/hildon-remote-texture-example.c
3600 * examples/Makefile.am
3601 Added example file for remote texture usage
3603 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3605 * configure.ac: post release version bump.
3606 * debian/changelog: version bump.
3608 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3613 * configure.ac: Bump version.
3614 * debian/changelog: Updates.
3616 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3618 * src/hildon-date-selector.c (hildon_date_selector_init)
3619 (hildon_date_selector_constructor): Don't connect to the "changed"
3620 signal until the selector is completely constructed.
3622 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3624 * src/hildon-touch-selector.c: (_create_new_column),
3625 (hildon_touch_selector_append_column),
3626 (hildon_touch_selector_set_column_selection_mode),
3627 (hildon_touch_selector_set_active),
3628 (hildon_touch_selector_select_iter):
3629 Emit the HildonTouchSelector::changed signal every time selection
3630 is changed in any of the methods above. This behavior was already
3631 documented but not fully functional.
3633 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3634 selection is programmatically changed)
3636 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3638 * doc/hildon-sections.txt: Remove obsolete icon
3639 sizes from here as well.
3641 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3643 * examples/hildon-stackable-window-example.c (add_window): Remove
3646 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-app-menu.c
3649 (hildon_app_menu_show): Check whether the parent window of a menu
3650 is topmost before popping it up.
3652 Fixes: NB#100468 (Application menu window is launched even when a
3653 new secondary-window/dialog is pending to be shown/realized.)
3655 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3657 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3660 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3662 Patch by Mox Soini (ext-mox.soini@nokia.com)
3664 * src/hildon-banner.c: (hildon_banner_show_animation):
3665 use stylus size instead of obsolete note size.
3666 * src/hildon-defines.h: Update icon sizes.
3668 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3670 * src/hildon-touch-selector-entry.c:
3671 (hildon_touch_selector_entry_init): Disable unsupported
3673 (hildon_touch_selector_entry_get_text_column): Emit a warning
3674 if an unsupported input modes is used and explicitile state
3675 these modes in the documentation.
3677 Fixes: NB#99802 (Hildon touch selector entry not working properly
3678 for some of the input modes)
3680 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3682 * src/hildon-pannable-area.c,
3683 (hildon_pannable_area_init): Added the changed signal handlers of
3686 Fixes: NB#100320 (HildonPannableArea does not listen to
3687 GtkAdjustment "change" signals)
3689 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3691 * doc/hildon-sections.txt
3692 * src/hildon-window-private.h
3693 * src/hildon-window.h
3694 * src/hildon-window.c (hildon_window_init)
3695 (hildon_window_realize, hildon_window_unrealize)
3696 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3697 (hildon_window_size_request, hildon_window_size_allocate)
3698 (hildon_window_forall, hildon_window_show_all)
3699 (hildon_window_destroy, +paint_edit_toolbar)
3700 (+hildon_window_set_edit_toolbar):
3701 New hildon_window_set_edit_toolbar() method, to add a
3702 HildonEditToolbar to a window without having to pack it manually.
3704 Reorganize hildon_window_size_allocate()
3706 * src/hildon-edit-toolbar.c: Update documentation.
3708 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3709 example to use the new API.
3711 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3713 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3715 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3716 Remove from stack before calling parent's hide.
3718 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3720 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3721 window is removed from the middle of the stack, update the
3722 transiency of the previous one.
3724 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3727 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3729 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3730 block/unblock the signal handler if it's not actually being used.
3731 Fixes some critical warnings.
3733 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3735 Based on a patch by Iván Gómez (igomez@igalia.com)
3737 * src/hildon-banner.c
3741 * src/hildon-pannable-area.c
3742 * src/hildon-picker-dialog.c
3743 * src/hildon-wizard-dialog.h
3744 * src/hildon-wizard-dialog.c: Documentation updates.
3746 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3747 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3749 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3751 * configure.ac: post release version bump.
3752 * debian/changelog: version bump.
3754 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3759 * configure.ac: Bump version.
3760 * debian/changelog: Updates.
3762 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3765 a stock icon nor change the relief of the back arrow.
3767 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3768 graphics from theme)
3770 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-button.c (hildon_button_set_alignment): Use
3773 priv->alignment if the button has no child yet.
3775 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3777 * src/hildon-button.c: (hildon_button_init): Set the
3778 button style during initialization to give it the proper
3781 Fixes: NB#99713 (HildonButton value label color is wrong)
3783 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3785 * src/hildon-touch-selector.c: Document
3786 hildon_touch_selector_center_on_selected()
3788 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3790 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3791 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3792 all menu items, but not the menu itself.
3793 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3794 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3795 items after adding them to the menu so keyboard accelerators work.
3796 (hildon_app_menu_show): Don't show the menu if it contains items
3797 but none of them are visible.
3799 * examples/hildon-app-menu-example.c (create_menu): Use
3800 gtk_widget_show_all() to show all menu items.
3802 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3804 * src/hildon-picker-dialog.c:
3805 (-_update_title_on_selector_changed_cb),
3806 (-_dialog_update_title): Removed.
3807 (_select_on_selector_changed_cb), (_on_dialog_response),
3808 (on_selector_columns_changed): Do not update the dialog title.
3809 (setup_interaction_mode): Do not connect to
3810 HildonTouchSelector::changed signal if there's a "done" button, as
3811 the dialog title doesn't need to be updated.
3813 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3816 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3818 Patch by Kristian Rietveld (kris@imendio.com)
3820 * src/hildon-touch-selector.c: (_create_new_column): Use new
3821 GtkTreeView::hildon-row-tapped signal to react to user interactions
3822 instead of ::changed.
3824 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3825 with some dynamic tree model)
3827 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3830 (+screen_size_changed, +label_size_request)
3831 (hildon_note_class_init): Make the Hildon information note have a
3832 minimum height, and make its text hvae a maximum width.
3834 Fixes: NB#98614 (Hildon information note (background) should have
3835 minimum height and maximum text width)
3837 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-banner.h
3840 * src/hildon-banner.c (hildon_banner_show_information)
3841 (hildon_banner_show_informationf)
3842 (hildon_banner_show_information_with_markup): Update documentation
3843 to reflect that the icon_name parameter is not used anymore.
3844 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3845 Remove all code from these functions and mark them as deprecated.
3846 (hildon_banner_show_progress): Mark as deprecated.
3848 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3850 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3852 * src/hildon-pannable-area.c,
3853 (hildon_pannable_area_class_init),
3854 (tranparency_color),
3855 (hildon_pannable_draw_vscroll),
3856 (hildon_pannable_draw_hscroll),
3857 (hildon_pannable_area_expose_event): Added a new way to render the
3858 scrollbars of the pannable area avoiding using cairo at all. This
3859 way we improve the performance of the pannable area rendering. The
3860 cairo rendering procedure is still in the code, we can control
3861 which one to use changing the value of the define
3862 USE_CAIRO_SCROLLBARS.
3864 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3866 * configure.ac: post release version bump.
3867 * debian/changelog: version bump.
3869 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3874 * configure.ac: Bump version.
3875 * debian/changelog: Updates.
3877 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3880 banners instead of destroying them when they receive a button
3883 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3885 Reverted commit 34028, it was causing regressions, probably the
3886 topmost condition is not correct, we have to check it in more
3887 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3888 propagation of button press events)
3890 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3892 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3893 that the selection is not empty before attempting to retrieve the
3894 current ampm selection.
3896 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3898 * src/hildon-picker-button.c:
3899 (hildon_picker_button_on_dialog_response): Directly update the
3900 button contents when required instead of calling _selection_changed.
3902 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3904 * src/hildon-program.c (hildon_program_update_top_most): Update
3905 'is-topmost' property also when wm_hints is not set.
3907 Fixes: NB#98383 (is-topmost signal is not emitted when task
3908 switcher is clicked.)
3910 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3912 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3916 * src/hildon-animation-actor.c,
3917 * src/hildon-animation-actor.h: Added the animation actor class,
3918 this widget represents an animation actor for WM-assisted
3919 animation effects in the Hildon framework.
3921 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3923 * src/hildon-window-stack-private.h
3924 * src/hildon-window-stack.c
3925 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3926 Avoid calling gtk_widget_show() again indirectly from
3927 hildon_stackable_window_show()
3929 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3931 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3934 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3936 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3937 (hildon_time_selector_init): Move the construction of the hours and
3938 ampm columns to the constructor to preserve the order the columns
3941 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3943 * src/hildon-picker-dialog.c:
3944 (hildon_picker_dialog_class_init): Connect a realize method.
3945 (+hildon_picker_dialog_realize): Setup the interaction mode here
3947 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3948 yet, do it during the realize instead.
3949 (_on_dialog_response):
3950 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3951 if the widget is not realized, to avoid the dialog response before it
3954 Avoid premature responses in the HildonPickerDialog that can cause it
3955 to be hidden before it's even shown.
3957 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3959 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3960 (on_selector_columns_changed), (requires_done_button),
3961 (+prepare_action_area), (setup_interaction_mode),
3962 (_hildon_picker_dialog_set_selector):
3964 Split the interaction mode setup into preparation of the
3965 action area (prepare_action_area()) and the connection of
3966 the signals in setup_interaction_mode() and update the code to
3969 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3971 * src/hildon-pannable-area.c,
3972 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3973 per second to 15, we will check if this is ok regarding
3976 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3978 * src/hildon-pannable-area.c,
3979 (hildon_pannable_axis_scroll): Avoid resize if we already have
3980 reached overshoot_max.
3982 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3984 * src/hildon-pannable-area.c,
3985 (hildon_pannable_area_init),
3986 (hildon_pannable_area_realize),
3987 (hildon_pannable_area_size_allocate),
3988 (hildon_pannable_area_map),
3989 (hildon_pannable_area_unmap),
3990 (hildon_pannable_draw_vscroll),
3991 (hildon_pannable_draw_hscroll),
3992 (hildon_pannable_area_expose_event),
3993 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3994 pannable are to avoid the expose events go to the window and
3995 redraw the window. We save this way that part of the stack and the
3996 paint_boxes. We had to change the positions of the elements when
3999 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4001 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4002 * src/hildon-color-chooser-dialog.c:
4003 (hildon_color_chooser_dialog_init):
4004 * src/hildon-font-selection-dialog.c:
4005 (hildon_font_selection_dialog_init),
4006 (hildon_font_selection_dialog_show_preview):
4007 * src/hildon-get-password-dialog.c:
4008 * src/hildon-login-dialog.c:
4009 * src/hildon-set-password-dialog.c:
4010 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4011 * src/hildon-time-picker.c: (hildon_time_picker_init):
4013 Remove obsolete logical string IDs and update to the appropriate ones.
4015 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4017 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4019 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4020 that happens if the window hasn't been realized yet.
4022 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4023 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4025 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4027 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4028 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4031 Fixes: NB#98537 (Device hangs in account settings dialog)
4033 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4035 * configure.ac: post release version bump.
4036 * debian/changelog: version bump
4038 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4043 * configure.ac: Bump version.
4044 * debian/changelog: Updates.
4046 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4048 Added a new function to the HildonTimeButton widget that allows to
4049 change the step of the minutes in the selector associated with the
4050 button: hildon_time_button_new_step
4052 * src/hildon-time-button.c,
4053 (hildon_time_button_init),
4054 (hildon_time_button_new),
4055 (hildon_time_button_new_step):
4056 * src/hildon-time-button.h: Added the new function and refactored
4058 * examples/hildon-time-button-example.c,
4059 (main): We have replaced the function without parameters with the
4060 function with the steps set to 5
4062 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
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_get_property),
4070 (hildon_time_selector_set_property),
4071 (_create_minutes_model),
4072 (hildon_time_selector_new_step),
4073 (hildon_time_selector_set_time),
4074 * src/hildon-time-selector.h: Added a new property to the
4075 HildonTimeSelector (minutes-step), we use that property to control
4076 the steps between the minutes in the list of the selector. We have
4077 added a new function to the API to create a widget changing the
4078 step: hildon_time_selector_new_step.
4080 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4082 * src/hildon-time-selector.c,
4083 (hildon_time_selector_class_init),
4084 (hildon_time_selector_constructor),
4085 (hildon_time_selector_init): Overrided the construct function when
4086 creating the time selector object. We have moved the minutes model
4087 handling code from the init to the new construction function:
4088 hildon_time_selector_constructor.
4090 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4092 * examples/hildon-date-button-example.c: (main): Use the new
4093 hildon_date_button_new_with_year_range() method in the example.
4094 * src/hildon-date-button.c:
4095 (+hildon_date_button_new_with_year_range): New public method
4096 to conveniently create a HildonDateButton with a custom year range
4097 in its HildonDateSelector.
4098 * src/hildon-date-button.h: Add the new public method definition.
4100 Fixes: NB#97908 (Not possible to change the year range in
4101 HildonDateSelector/HildonDateButton)
4103 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4105 * src/hildon-date-selector.c:
4106 (+hildon_date_selector_set_property),
4107 (+hildon_date_selector_get_property),
4108 (hildon_date_selector_class_init): Install new properties "min-year"
4109 and "max-year" to define boundaries for the year column.
4110 (_create_year_model): Use the boundary properties to populate the model.
4111 (+hildon_date_selector_new_with_year_range): New public method to
4112 create a HildonDateSelector with a user defined year range.
4113 (hildon_date_selector_select_current_date): Use the new boundaries to
4114 calculate the iterator of current year.
4115 * src/hildon-date-selector.h: Add the new public method definition.
4117 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4119 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4120 Install a constructor method.
4121 (+hildon_date_selector_construct_ui): construct the widget.
4122 (+hildon_date_selector_constructor): new constructor.
4123 (+hildon_date_selector_init): move out widget construction code to
4124 the new constructor.
4126 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4128 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4129 that there's actually a month or year selected before obtaining them.
4130 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4131 of the HildonTouchSelector::changed signal, as it was emitted on every
4132 single item selection.
4134 Fix some warnings and possible crashers due to the selection restoring.
4136 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4138 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4139 the signal handlers only after creating the dialog instead of on every
4142 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4144 * src/hildon-button.c (hildon_button_init)
4145 * src/hildon-check-button.c (hildon_check_button_init)
4146 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4147 focus when clicked by default.
4149 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4151 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4154 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4156 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4157 Alejandro G. Castro (alex@igalia.com)
4159 * src/hildon-picker-dialog.c:
4160 (hildon_picker_dialog_class_init): install new "center-on-show"
4162 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4163 (hildon_picker_dialog_set_property): add setter code for the new
4165 (hildon_picker_dialog_get_property): add getter code for the new
4167 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4168 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4171 Fixes: NB#92849 (Selected item is not always visible when
4172 HildonTouchSelector is shown)
4174 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4176 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4177 Alejandro G. Castro (alex@igalia.com)
4179 * src/hildon-touch-selector.c:
4180 (_create_new_column): Do not connect to the "realize" signal of the
4182 (hildon_touch_selector_append_column): center on the selected items
4183 when a new column is appended.
4184 (hildon_touch_selector_select_iter): Factor out the code to select a
4185 column to hildon_touch_selector_scroll_to().
4186 (+search_nearest_element): Method to retrieve the nearest selected
4187 element to the visible area of the pannable area in a column.
4188 (+on_realize_cb): scroll to the initially selected item.
4189 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4190 the pannable area is realized, otherwise delay this until it is.
4191 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4192 selected items of a given column.
4193 (+hildon_touch_selector_center_on_selected): Public method to center
4194 all columns on the nearest selected item.
4195 * src/hildon-touch-selector.h: Add definition for
4196 hildon_touch_selector_center_on_selected().
4198 Implement public API to ensure visibility of all selected items in
4199 a HildonTouchSelector.
4201 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4203 Fixed a problem in the fading when calling the scroll_to API, and
4204 improve scrollbar fading handling.
4206 * src/hildon-pannable-area.c,
4207 (hildon_pannable_area_grab_notify): avoid the timeout when the
4209 (hildon_pannable_area_button_press_cb),
4210 (hildon_pannable_area_motion_notify_cb): Code style changes.
4211 (hildon_pannable_area_button_release_cb): Review the conditions
4212 when releasing the mouse button to avoid unrequired fading
4214 (hildon_pannable_area_scroll_to): Do not calculate and set the
4215 velocity if the scroll is not required.
4217 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4219 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4220 Don't check whether the new selector is NULL: it cannot be.
4221 Hold a reference to the selector while doing the replacement.
4223 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4226 unnecessary size_request in a removed widget.
4228 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4231 an unnecessary reference tracking that was leaking.
4233 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4235 Added delayed motion notify event handling, this way we can
4236 discard redrawing if more than 25 events arrive per second.
4238 * src/hildon-pannable-area.c,
4239 (hildon_pannable_area_init): Initialized the new private atributes
4240 controlling this timeout
4241 (hildon_pannable_area_dispose): Remove the timeout that controls
4242 the motion notify events.
4243 (hildon_pannable_area_scroll): Added a condition to control the
4244 use of the acceleration.
4245 (hildon_pannable_area_motion_event_scroll_timeout),
4246 (hildon_pannable_area_motion_event_scroll): Added this two
4247 functions, they handle the motion notify events inside the
4249 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4250 to the scroll method with the new function.
4251 (hildon_pannable_area_button_release_cb): We have to remove the
4252 timeout handler and move to the last position if the last motion
4253 events were not handled.
4255 Fixes: NB#97028 (Pannable area updates on every motion event)
4257 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4259 * src/hildon-pannable-area.c,
4260 (hildon_pannable_area_get_topmost): Added a new parameter to
4261 filter the the windows that do not include those events. Added
4262 also a condition when finding the window to filter windows that do
4263 not ask for those events.
4264 (hildon_pannable_area_button_press_cb),
4265 (hildon_pannable_area_button_release_cb),
4266 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4267 topmost function, we have added the new parameter.
4269 Fixes: NB#97458 (Pannable area prevents propagation of button
4272 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4274 * src/hildon-pannable-area.c,
4275 (hildon_pannable_area_initial_effect): Added controls before
4276 launching the timeout and the idle functions.
4277 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4278 of the method, in some situations it can return with TRUE and 0 in
4280 (hildon_pannable_area_button_press_cb): We do not need to set
4281 DELAY for fading out here.
4283 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4285 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4287 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4288 post-cleaning if the selection is not NULL.
4290 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4292 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4293 all items before restoring the selection.
4295 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4297 * src/hildon-touch-selector.c:
4298 (+hildon_touch_selector_unselect_all):
4299 * src/hildon-touch-selector.h: New API to unselect all items in a
4300 column of the touch selector.
4302 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4304 * src/hildon-pannable-area.c,
4305 (hildon_pannable_area_redraw): Added a call to the refresh
4306 function inside the redraw because apparently in some cases the
4307 change in the adjustment does not imply a size allocate.
4309 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4310 despite the view not being scrollable)
4312 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4314 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4315 leak. Check for NULL before attempting to set the window title.
4317 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4319 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4320 whether to show or not the 'Done' button each time the dialog is
4321 shown, as it depends on the HildonTouchSelector selection mode.
4323 Fixes: NB#96226 (In multiple selection mode Done button is shown
4324 sometimes in listpicker)
4326 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4328 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4329 for the number of columns in the HildonTouchSelector more than once.
4331 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4333 * src/hildon-touch-selector.c: Minor documentation fixes.
4335 * src/hildon-picker-dialog.c (+_dialog_update_title)
4336 (_select_on_selector_changed_cb)
4337 (_update_title_on_selector_changed_cb)
4338 (on_selector_columns_changed): Update dialog title when there's no
4339 'Done' button and also when the number of columns in the selector
4343 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4344 (+_selection_changed, hildon_picker_button_on_dialog_response)
4345 (hildon_picker_button_selector_selection_changed)
4346 (+hildon_picker_button_selector_columns_changed)
4347 (hildon_picker_button_set_selector): Update button value and emit
4348 'value-changed' when the number of columns in the selector
4352 Fixes: NB#96225 (Dialog titles are not shown according to the
4353 values selected in the list picker)
4355 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4357 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4358 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4359 New "arrow-width" and "arrow-height" style properties to set the
4360 size of the arrow button.
4361 Set name of arrow button ("hildon-edit-toolbar-arrow").
4363 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4364 graphics from theme)
4366 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4368 * src/hildon-picker-button.c:
4369 (hildon_picker_button_selector_selection_changed): Use
4370 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4371 the dialog is present.
4373 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4374 the selection is accepted in the dialog)
4376 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-color-chooser.h
4379 * src/hildon-color-chooser-dialog.h:
4380 Added G_BEGIN_DECLS and G_END_DECLS
4382 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4384 (_clean_current_selection): plug a leak in the list.
4386 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4388 * src/hildon-picker-dialog.c:
4389 (+free_path_list): Method to free a GList of GtkTreePaths.
4390 (_clean_current_selection), (_save_current_selection),
4391 (_restore_current_selection): Save the current selection in
4392 as a list of lists, to support multiple selection properly.
4394 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4396 patch by Claudio Saavedra (csaavedra@igalia.com)
4398 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4399 Store the press position.
4400 (+hildon_text_view_button_release_event): If the release position is
4401 close enough to the press position, move the cursor here. Otherwise,
4403 (hildon_text_view_class_init): Override GtkTextView press, release, and
4404 motion event handlers, disabling this way text selection through
4405 pointer interaction, and allowing the container widget to handle the
4408 Fixes: NB#95828 (HildonTextView functionality)
4410 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4412 Based on a patch by Iván Gómez (igomez@igalia.com)
4414 * src/hildon-button.[ch]
4415 * src/hildon-calendar.c
4416 * src/hildon-check-button.c
4417 * src/hildon-date-editor.c
4418 * src/hildon-date-selector.c
4419 * src/hildon-picker-button.c
4420 * src/hildon-time-editor.c
4421 * src/hildon-time-selector.c
4422 * src/hildon-touch-selector.[ch]:
4423 Documentation updates
4425 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4427 * src/hildon-pannable-area.c,
4428 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4429 threshold, it was required due to X events handling.
4431 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4433 * src/hildon-pannable-area.c,
4434 (hildon_pannable_area_grab_notify),
4435 (hildon_pannable_area_initial_effect),
4436 (hildon_pannable_area_button_press_cb),
4437 (hildon_pannable_area_button_release_cb),
4438 (hildon_pannable_area_scroll_cb),
4439 (hildon_pannable_area_scroll_to): Review the timeout management of
4440 the scrollbar, the frecuency was incorrectly set.
4442 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4444 * src/hildon-picker-button.c:
4445 (+hildon_picker_button_on_dialog_response),
4446 (hildon_picker_button_clicked): Present the dialog instead of
4447 running it with gtk_dialog_run().
4449 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4452 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4454 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4455 (hildon_app_menu_finalize): When a window is hidden it doesn't
4456 emit notify::is-topmost, so make sure than the menu also
4457 disappears in that case.
4458 (parent_window_topmost_notify): Renamed from parent_window_hidden
4460 Fixes: NB#94460 (stackable window's menu is not closed when its
4463 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4465 * src/hildon-touch-selector-entry.c:
4466 (+hildon_touch_selector_entry_set_input_mode),
4467 (+hildon_touch_selector_entry_get_input_mode):
4468 * src/hildon-touch-selector-entry.h: New methods to access the input
4469 mode in the selector's entry.
4471 Fixes: NB#93410 (API required for setting IM mode in
4472 HildonTouchSelectorEntry)
4474 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4476 * configure.ac: post release version bump.
4477 * debian/changelog: version bump
4479 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4484 * configure.ac: Bump version.
4485 * debian/changelog: Updates.
4487 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4489 * src/hildon-touch-selector.c:
4490 (_hildon_touch_selector_has_multiple_selection): No need
4491 to initialize the variables here.
4493 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4495 * src/hildon-note-private.h
4496 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4497 (hildon_note_finalize, hildon_note_rebuild): Close information
4498 notes when they receive a button press.
4500 Fixes: NB#89890 (Information notes does not get disappeared after
4503 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4505 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4506 mark from the wizard title, as it's not really necessary. Also,
4507 do not display the page title if not set.
4509 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4511 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4512 (parent_window_hidden): Use the window's "is-topmost" property to
4513 detect when to hide the menu.
4515 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4517 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4518 (hildon_app_menu_finalize): If the parent window of the menu is
4519 hidden, hide the menu too.
4521 Fixes: NB#94460 (stackable window's menu is not closed when its
4524 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4527 * debian/libhildon1-examples.install
4529 * examples/Makefile.am:
4530 Use dh_install to install all examples.
4531 Use DEB_SRCDIR instead of defining SOURCE_DIR
4533 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4535 * configure.ac: post release version bump.
4536 * debian/changelog: version bump
4538 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4543 * configure.ac: bump version
4544 * debian/changelog: updates
4545 * debian/control: bump gtk+ dependency
4547 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4549 patch by Christian Dywan (christian@imendio.com)
4551 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4552 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4554 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4556 * src/hildon-check-button.c (hildon_check_button_init)
4557 (hildon_check_button_class_init, hildon_check_button_style_set)
4558 (hildon_check_button_apply_style):
4559 New "checkbox-size" style property.
4561 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4562 larger / configurable size)
4564 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4566 * configure.ac: post release version bump.
4567 * debian/changelog: version bump
4569 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4574 * configure.ac: bump version
4575 * debian/changelog: updates
4577 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4579 * doc/hildon-sections.txt
4580 * src/hildon-pannable-area.c
4581 * src/hildon-program.c
4582 * src/hildon-time-editor.c
4583 * src/hildon-touch-selector-entry.c:
4585 More documentation updates.
4587 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4589 * doc/hildon-sections.txt
4590 * src/hildon-caption.c
4591 * src/hildon-code-dialog.c
4592 * src/hildon-color-button.c
4593 * src/hildon-controlbar.c
4594 * src/hildon-date-editor.c
4595 * src/hildon-date-selector.c
4596 * src/hildon-edit-toolbar.c
4597 * src/hildon-find-toolbar.c
4598 * src/hildon-font-selection-dialog.c
4600 * src/hildon-program.c
4601 * src/hildon-range-editor.c
4602 * src/hildon-seekbar.c
4603 * src/hildon-time-editor.c
4604 * src/hildon-time-selector.c
4605 * src/hildon-volumebar-range.c
4606 * src/hildon-volumebar.c
4607 * src/hildon-vvolumebar.c
4608 * src/hildon-weekday-picker.c
4609 * src/hildon-window.c
4610 * src/hildon-wizard-dialog.c:
4612 Lots of documentation fixes.
4614 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4616 Patch contributed by Iván Gómez (igomez@igalia.com)
4618 * src/hildon-check-button.c:
4619 * src/hildon-date-button.c:
4620 * src/hildon-date-selector.c:
4621 * src/hildon-dialog.c:
4622 * src/hildon-edit-toolbar.c:
4623 * src/hildon-entry.c:
4624 * src/hildon-picker-button.c:
4625 * src/hildon-program.c:
4626 * src/hildon-text-view.c:
4627 * src/hildon-time-button.c:
4628 * src/hildon-touch-selector-entry.c:
4629 * src/hildon-window-stack.c:
4631 Add more "since" tags to the new API.
4633 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4635 * doc/hildon-sections.txt: Add below method.
4636 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4637 version for the hildonized scale.
4638 * src/hildon-gtk.h: Add the definition.
4640 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4642 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4644 * doc/hildon-sections.txt: Add missing entries for new methods.
4646 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4648 Added API to pannable are in order to get its adjustments. We
4649 added two properties to manage the values we had in the private
4652 * src/hildon-pannable-area.c:
4653 (hildon_pannable_area_class_init): Added hadjustment and
4654 vadjustment properties in order to expose horizontal and vertical
4656 (hildon_pannable_area_get_property),
4657 (hildon_pannable_area_set_property): Added code to handle the new
4659 (hildon_pannable_area_get_hadjustment),
4660 (hildon_pannable_area_get_vadjustment): API functions to get the
4662 * src/hildon-pannable-area.h:
4663 (hildon_pannable_area_get_hadjustment),
4664 (hildon_pannable_area_get_vadjustment): API functions to get the
4667 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4669 Fixed some leaks, after valgrinding.
4671 * src/hildon-touch-selector.c:
4672 (_default_print_func): Fixed a leak.
4673 (hildon_touch_selector_append_column): Fixed a leak.
4674 * src/hildon-date-button.c:
4675 (hildon_date_button_init): Fixed a leak.
4676 * src/hildon-date-selector.c
4677 (hildon_date_selector_finalize): Fixed a leak.
4679 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4681 Based on a patch by Christian Dywan (christian@imendio.com)
4683 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4685 * src/hildon-gtk.h: Add definition.
4687 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4689 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4691 * src/hildon-picker-button.c: (hildon_picker_button_init),
4692 (hildon_picker_button_new): Set the HildonButton::style property
4693 in the init method, to propagate the value to the derived classes.
4695 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4697 * src/hildon-button.c: (hildon_button_class_init): Do not make
4698 the "style" property a construct property.
4700 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-wizard-dialog.h
4703 * src/hildon-wizard-dialog.c
4704 (hildon_wizard_dialog_set_forward_page_func)
4705 * src/hildon-pannable-area.h
4706 * src/hildon-pannable-area.c
4707 (hildon_pannable_area_set_size_request_policy):
4708 Documentation fixes.
4710 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4712 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4714 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4716 * doc/hildon-sections.txt: Added sections file.
4718 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4721 * src/*.[ch]: Updates.
4723 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4725 * examples/hildon-progress-indicator-example.c: new file
4726 * examples/Makefile.am: include the new example program
4728 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4730 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4732 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4734 * configure.ac: post release version bump
4735 * debian/changelog: version bump
4737 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4742 * configure.ac: bump version
4743 * debian/changelog: updates
4744 * debian/control: bump gtk+ dependency
4746 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4748 * src/hildon-dialog.c: Mark as deprecated.
4749 * src/hildon-dialog.h: Mark as deprecated.
4750 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4751 from HildonDialog and still work, even if
4752 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4753 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4755 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4756 maemo changes) instead)
4758 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4760 * src/hildon-pannable_area.h:
4761 * src/hildon-pannable_area.c:
4762 (hildon_pannable_area_class_init),
4763 (hildon_pannable_area_set_property),
4764 (hildon_pannable_area_get_property),
4765 (hildon_pannable_area_size_request),
4766 (hildon_pannable_area_get_size_request_policy),
4767 (hildon_pannable_area_set_size_request_policy): Added new API
4768 allowing applications to control the request policy. Now they can
4769 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4770 children allocation (HILDON_MOVEMENT_CHILDREN).
4772 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4776 (hildon_gtk_tree_view_set_ui_mode)
4777 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4778 mode of treeviews and iconviews.
4780 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4782 * src/hildon-touch-selector-entry.c:
4783 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4784 of a GtkEntry to get proper theming.
4786 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4787 widget, not GtkEntry)
4789 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4791 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4792 no HildonWizardDialogPageFunc.
4794 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4796 Patch contributed by Iván Gómez (igomez@igalia.com)
4798 * src/hildon-app-menu.c:
4799 * src/hildon-button.c:
4800 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4801 * src/hildon-stackable-window.c:
4802 * src/hildon-time-selector.c:
4803 * src/hildon-touch-selector.c:
4804 * src/hildon-window.c:
4806 Add more "since" tags to the new API in hildon 2.2.
4808 2008-12-05 Tim Janik <timj@imendio.com>
4810 Patch contributed by Christian Dywan (christian@imendio.com)
4812 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4813 HildonSizeType, which are supplied by Gtk+ now.
4815 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4817 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4818 (with maemo changes) instead)
4820 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4822 Patch contributed by Iván Gómez (igomez@igalia.com)
4824 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4827 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4829 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4830 (some_page_func), (main): Update the example to use a
4831 HildonWizardDialogPageFunc function.
4833 * src/hildon-wizard-dialog-private.h: Add private data for
4834 the HildonWizardDialogPageFunc function usage.
4836 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4837 (destroy), (hildon_wizard_dialog_init), (response),
4838 (hildon_wizard_dialog_set_forward_page_func):
4839 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4840 that applications can use to stop a HildonWizardDialog to jump to
4843 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4846 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4848 * src/hildon-program.h
4849 * src/hildon-program-private.h
4850 * src/hildon-program.c (hildon_program_init)
4851 (hildon_program_set_common_app_menu)
4852 (hildon_program_get_common_app_menu):
4853 New API for setting a common HildonAppMenu for all
4854 HildonStackableWindows registered with the HildonProgram.
4856 * src/hildon-stackable-window.c
4857 (hildon_stackable_window_toggle_menu):
4858 Use the common HildonAppMenu if a window doesn't have a specific
4861 * src/hildon-app-menu-private.h
4862 * src/hildon-app-menu.c
4863 (hildon_app_menu_get_parent_window):
4864 Function to obtain the window a HildonAppMenu is attached to.
4865 (hildon_app_menu_set_parent_window):
4866 Hide the menu if the parent window is set to NULL.
4868 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4870 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4871 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4872 search widget to popup.
4874 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4876 * configure.ac: post release version bump
4877 * debian/changelog: version bump
4879 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4884 * configure.ac: bump version
4885 * debian/changelog: updates
4887 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4889 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4891 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4892 (hildon_window_stack_window_realized)
4893 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4894 Set the leader GdkWindow when a window is stacked and realized,
4895 unset it when it's unstacked.
4896 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4898 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4900 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4902 * src/hildon-stackable-window.h
4903 * src/hildon-window-stack.h:
4904 Protect definition of HildonWindowStack using the preprocessor.
4906 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4909 Fix warning if all menu items are hidden.
4911 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4913 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4915 * src/hildon-controlbar.c:
4916 * src/hildon-hvolumebar.c:
4917 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4918 Multiple scale size defines updates.
4920 Fixes: NB#94322 (Scale Updates)
4922 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4924 * examples/hildon-app-menu-example.c (create_menu)
4925 Show items after adding them to the menu, as in the future the
4926 menu will no longer call gtk_widget_show() on the added items.
4928 * src/hildon-app-menu.c:
4929 Update example as explained above.
4931 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4933 * src/hildon-app-menu.c
4934 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4935 Make sure that all menu items have finger height.
4937 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4939 * src/hildon-picker-dialog.c:
4940 (_on_dialog_response), (_save_current_selection),
4941 (_restore_current_selection), (_clean_current_selection),
4942 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4943 Defined new functions in order to save the current internal selector
4944 selection previous open the dialog, in case that the use cancel the
4945 interaction, so the widget restores the previous selection.
4947 Fixes: NB#92032 (In calendar application, date values in 'new event'
4950 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4952 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-button.c: Add a reference to the button examples in
4955 hildon-button-example.c
4957 * examples/hildon-button-example.c: Added examples of the most
4958 common button layouts.
4960 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4962 * src/hildon-app-menu.c (hildon_app_menu_show)
4963 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4965 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4967 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-picker-dialog.c:
4970 (hildon_picker_dialog_init): Initialize the signal id for
4971 HildonTouchSelector::columns-changed.
4972 (+on_selector_columns_changed): Set up the interaction mode everytime a
4973 column is added or removed from the HildonTouchSelector.
4974 (_hildon_picker_dialog_set_selector): Connect to
4975 HildonTouchSelector::columns-changed and keep track of it.
4977 Make sure to update the interaction mode of the dialog everytime a
4978 column is added or removed in the HildonTouchSelector.
4980 Fixes: NB#93228 (Done button is not shown always in listpicker)
4982 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4984 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4985 a new ::columns-changed signal.
4986 (hildon_touch_selector_append_column): Emit ::columns-changed.
4987 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4989 Add a ::columns-changed signal, emitted when the number of columns in a
4990 HildonTouchSelector changes.
4992 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4994 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4995 (_hildon_picker_dialog_set_selector): Factor out the code
4996 to set up the dialog interaction mode.
4998 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5000 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5001 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5002 to signal_changed_id.
5004 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5006 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5009 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5011 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5012 Updated the logical ids related to ampm format, as now it is required to
5013 show it correctly localized even on languages with no default
5014 abbreviations for am or pm
5015 (_check_am_pm_format): check correctly the 24h format gconf property
5017 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5019 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5021 * src/hildon-button.c: Documentation updates.
5023 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5025 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5026 * src/hildon-caption.c: (hildon_caption_class_init):
5027 * src/hildon-color-button.c: (hildon_color_button_class_init):
5028 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5029 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5030 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5031 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5033 Remove deprecated GTK+ marshalers and replace them with the ones
5034 provided by GLib, for those available, add a marshaler for
5035 BOOLEAN:VOID, which is not available in GLib, and use it.
5037 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5039 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5040 the text from the previous column if there is no
5041 HildonTouchSelectorColumn::text-property set.
5043 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5045 * src/hildon-button.h
5046 * src/hildon-button.c (hildon_button_set_property)
5047 (hildon_button_get_property, hildon_button_class_init)
5048 (hildon_button_set_style, hildon_button_get_style):
5049 New "style" property to change the visual appearance of the
5052 * src/hildon-picker-button.c (hildon_picker_button_new):
5053 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5055 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5056 HildonButton look like PickerButton)
5058 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5060 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5061 column while building the default string.
5063 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5065 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5066 scroll indicator by default.
5068 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5070 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-main.c: Fix the documentation for hildon_init()
5074 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5076 * doc/hildon-docs.sgml
5080 * src/hildon-window-stack-private.h
5081 * src/hildon-window-stack.h
5082 * src/hildon-window-stack.c:
5083 New HildonWindowStack object, that adds support for multiple
5084 stacks of windows per process.
5086 * src/hildon-stackable-window-private.h
5087 * src/hildon-stackable-window.h
5088 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5089 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5090 (hildon_stackable_window_show, hildon_stackable_window_hide)
5091 (hildon_stackable_window_class_init)
5092 (hildon_stackable_window_init):
5093 Use HildonWindowStack for stack management.
5095 * src/hildon-program.c (hildon_program_pop_window_stack)
5096 (hildon_program_peek_window_stack)
5097 (hildon_program_go_to_root_window):
5098 Add a fallback implementation to the deprecated functions using
5101 * examples/hildon-stackable-window-example.c:
5102 Use the new HildonWindowStack API.
5104 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5106 * src/hildon-stackable-window-private.h
5107 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5108 (hildon_stackable_window_hide, hildon_stackable_window_init):
5109 Remove all window stack management.
5111 * src/hildon-program-private.h
5112 * src/hildon-program.h
5113 * src/hildon-program.c (hildon_program_init)
5114 (hildon_program_pop_window_stack)
5115 (hildon_program_peek_window_stack)
5116 (hildon_program_go_to_root_window):
5117 Remove all window stack management and mark functions as
5120 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5122 * src/hildon-app-menu.c (hildon_app_menu_realize):
5123 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5125 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5127 * configure.ac: post release version bump
5128 * debian/changelog: version bump
5130 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5135 * configure.ac: bump version
5136 * debian/changelog: updates
5138 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5140 Based on initial code by Christian Dywan (christian@imendio.com)
5142 * doc/hildon-docs.sgml: Add section for hildon-main.
5143 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5144 * src/Makefile.am: Add new hildon-main.[ch]
5145 * src/hildon-defines.h: Update the icon sizes.
5146 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5147 new library initialization files and register icon sizes.
5148 * src/hildon-main.h: New declarations.
5149 * src/hildon.h: Include hildon-main.h
5151 Add new initialization functions to the library. These methods
5152 will register the hildon specific icon sizes and can be used in the
5153 future for other hildon specific bits.
5155 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5157 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5159 * src/hildon-window.c: (hildon_window_realize),
5160 (hildon_window_notify), (-hildon_window_update_title): Do not set
5161 the application name in the window title.
5163 Fixes: NB#89754 (Applications shouldn't display their names in the
5166 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5168 * src/hildon-note-private.h:
5169 * src/hildon-note.c: (hildon_note_set_property),
5170 (hildon_note_get_property), (hildon_note_class_init),
5171 (hildon_note_init), (hildon_note_finalize),
5172 (hildon_note_new_confirmation_with_icon_name),
5173 (hildon_note_new_information_with_icon_name):
5175 No need to mark as deprecated the actual code. Revert
5176 to avoid missing symbols in widgets using deprecated API.
5178 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5180 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5182 * src/hildon-volumebar.h
5183 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5184 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5186 * src/hildon-helper.h
5187 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5188 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5190 * examples/Makefile.am:
5191 Deprecate hildon-insensitive-example
5193 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5195 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5197 * examples/hildon-pannable-area-buttons-scroll-example.c:
5198 Make all buttons finger height
5200 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5202 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5204 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5205 update the day model only if it is really required, and to avoid the
5206 full-reconstruction aproach. Now it only add or remove the required days.
5208 The purpose of this is avoid superfluous HildonTouchSelector::changed
5211 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5212 with strange parameters)
5214 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5216 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5218 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5219 the WINDOW_TYPE property.
5221 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5223 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5226 Fix dependency to allow parallel compilation with make -jX
5228 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5230 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5231 color frame and some minor tweaks to make it more consistent with
5234 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5235 highlighted but not visible)
5237 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5239 * examples/Makefile.am: Fixed typo in the Makefile.am.
5241 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5243 Reviewed the use of MAEMO_GTK define, now we add the define in the
5244 compilation line, and we also add it to the pc file.
5246 * configure.ac: Added MAEMO_GTK define to the compilation command
5247 and removed it from the config.h.
5249 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5250 do not have to take care about this define if the library was
5254 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5256 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5258 * examples/Makefile.am,
5259 * examples/hildon-pannable-area-buttons-scroll-example.c,
5260 * examples/hildon-pannable-area-gesture-signals-example.c,
5261 * examples/hildon-pannable-area-scroll-jump-example.c,
5262 * examples/hildon-pannable-area-tree-view-example.c:
5263 Renamed the pannable area examples, now they have more meaningful
5266 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5268 * src/hildon-touch-selector.c:
5269 (hildon_touch_selector_set_column_selection_mode): Used of
5270 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5271 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5272 to avoid re-seting the same selection mode.
5274 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5275 breaks HildonPickerDialog)
5277 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5279 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5280 conditional in the Makefile.am
5282 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5284 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5285 Remove unused methods.
5287 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-button.c (hildon_button_init):
5290 Make button images center-aligned by default
5292 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5295 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5296 activated, we have to think about how to deal with both defines
5297 MAEMO_GTK and MAEMO_CHANGES.
5299 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5301 * examples/hildon-app-menu-example.c (create_menu): Make all
5302 buttons finger size.
5304 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5306 Fixed the compilation without maemo gtk adding ifdefs with
5307 MAEMO_GTK define to the code, we have to check this version more
5310 * examples/Makefile.am: Added control to avoid some examples that
5311 just make sense with maemo gtk.
5314 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5315 hildon modes with the define.
5317 * examples/hildon-edit-toolbar-example.c,
5318 (create_icon_view): Create the icon view without hildon-gtk
5319 helpers if we are not using maemo gtk.
5321 * src/hildon-touch-selector.c,
5322 (_create_new_column): Create the treeview without hildon-gtk
5323 helpers if we are not using maemo gtk.
5325 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5327 * src/hildon-pnnable-area.c,
5328 (hildon_pannable_area_dispose),
5329 (hildon_pannable_area_button_press_cb),
5330 (hildon_pannable_area_child_mapped),
5331 (hildon_pannable_area_add),
5332 (hildon_pannable_area_remove): Added code to control the position
5333 of the event_window when adding and removing children from the
5334 pannable. We have to raise the event window when the child is
5337 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5338 selection mode using custom widget inside pannable)
5340 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5342 * configure.ac: post release version bump
5343 * debian/changelog: version bump
5345 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5350 * configure.ac: bump version
5351 * debian/changelog: updates
5353 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5355 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5356 search mode, in order to avoid lose the focus on the treeview when
5357 a hw key (like enter) is pressed.
5359 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5360 in HildonDateSelector dialog)
5362 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5364 * debian/rules: Added --enable-maintainer-mode
5365 * Makefile.am: Added ACLOCAL_AMFLAGS
5367 This allows to properly regenerate the Makefiles if you modify the
5368 configure.ac or any Makefile.am.
5370 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5372 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5373 properties, not needed at all.
5375 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5377 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5379 * src/hildon-note.c: (hildon_note_set_property),
5380 (hildon_note_get_property), (hildon_note_class_init),
5381 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5382 (hildon_note_new_confirmation_add_buttons): Remove icons.
5383 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5384 (hildon_note_new_information_with_icon_name): Deprecate.
5385 (hildon_note_new_confirmation): Act directly, without calling
5386 the deprecated constructor.
5387 (hildon_note_new_information): Act directly, without calling
5388 the deprecated constructor.
5389 * src/hildon-note.h: Mark deprecate methods as such.
5390 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5391 not run tests on the deprecated methods if built with deprecation
5394 Fixes: NB#91688 (Never show icons in information notes/confirmation
5397 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5399 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5400 (hildon_app_menu_key_press): Remove leftover usage of the
5401 private structure in HildonAppMenu struct.
5402 * src/hildon-app-menu.h: Remove leftover private structure
5403 from the HildonAppMenu struct.
5405 Fixes a crasher when using the HildonAppMenu.
5407 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5409 * src/hildon-picker-dialog.c: Use appropriate logical id
5410 for the default "Done" text.
5412 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5414 * configure.ac: post release version bump
5415 * debian/changelog: version bump
5417 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5419 Modified the way to scroll to the current selection just when the touch
5420 selector is shown on the screen, avoiding a g_idle. Added too a property
5421 to configure this behaviour. See hildon_pannable_area_jump_to_child
5422 documentation for more information.
5424 * src/hildon-touch-selector.c
5425 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5426 Added 'initial-scroll' property
5427 (hildon_touch_selector_set_property): Added
5428 (hildon_touch_selector_map): Removed as not required anymore
5429 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5430 only a concrete column, instead of iterate along all the columns
5432 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5437 * configure.ac: bump version
5438 * debian/changelog: updates
5440 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5442 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5443 compilation time warnings.
5445 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5447 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5448 the default value for HildonPannableArea::mov-mode to
5449 HILDON_PANNABLE_AREA_MODE_VERT.
5451 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5453 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5455 Reverting following commit:
5457 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5459 * src/hildon-app-menu-private.h
5460 * src/hildon-app-menu.[ch]
5461 * src/hildon-button.[ch]
5462 * src/hildon-check-button.[ch]
5463 * src/hildon-entry.[ch]
5464 * src/hildon-pannable-area.[ch]
5465 * src/hildon-text-view.[ch]:
5466 Added private field to the object's structure.
5468 because it causes an ABI breakage. We will need to introduce these
5469 changes later at some point. See NB#91636 for an extensive
5470 explanation and status.
5472 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5474 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5476 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5477 remove special cases that are no longer necessary.
5479 Fixes: NB#91016 (Change toolbar sizes, simplification)
5481 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5483 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5484 is shown in the cancel note.
5486 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5488 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5489 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5490 (hildon_seekbar_init): Remove steppers, remove expose event.
5491 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5493 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5495 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5497 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5498 label font to "SmallSystemFont" for vertically arranged buttons.
5500 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5503 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-check-button.c
5506 (hildon_check_button_set_active, hildon_check_button_clicked):
5507 Don't access private parts directly, use getters instead.
5509 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5511 * src/hildon-check-button.c (hildon_check_button_new):
5512 Align the contents of the check button to the left.
5514 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5516 * src/hildon-pannable-area.c,
5517 (hildon_pannable_area_scroll_to),
5518 (hildon_pannable_area_jump_to),
5519 (hildon_pannable_area_scroll_to_child),
5520 (hildon_pannable_area_jump_to_child): Replace the mapped
5521 precondition of these functions with the realized, it is the
5522 correct state of the widget in this case. Changed the
5523 documentation according to this modification.
5525 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5527 Added a new EXTRA_CFLAGS option to add the deprecated define to
5528 the compilation command. This way we can avoid using the define in
5529 the documentation compilation.
5531 * configure.ac: Defined EXTRA_CFLAGS.
5533 * examples/Makefile.am:
5535 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5537 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5539 * src/hildon-picker-dialog.c:
5540 Defined a utility macro with the desired touch selector height
5541 Removed currently unused separator, and title_label variables from
5543 (hildon_picker_dialog_init): Removed code related to the creation
5544 of unused private variables title_label and separator.
5545 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5546 to ensure correct visualization of the touch selector inside the dialog.
5547 * src/hildon-touch-selector.c
5548 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5549 ensure a concrete height of the widget.
5551 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5554 * tests/Makefile.am:
5556 Remove spurious whitespaces.
5558 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5560 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5561 compilation warning after the cancel button removal.
5563 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5565 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5567 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5568 Makefile.am, that way we can choose not to compile some examples
5569 and tests of the deprecated widgets.
5571 * examples/Makefile.am: Divided the sources in deprecated and
5574 * src/Makefile.am: Added undef statement of the deprecated
5575 symbol to the enums file generation process.
5577 * src/hildon-color-chooser-dialog.c
5578 * src/hildon-color-chooser-dialog.h
5579 * src/hildon-color-button.c
5580 * src/hildon-color-button.h
5581 * src/hildon-color-chooser.c
5582 * src/hildon-color-chooser.h
5583 * src/hildon-controlbar.c
5584 * src/hildon-controlbar.h
5585 * src/hildon-date-editor.c
5586 * src/hildon-date-editor.h
5587 * src/hildon-hvolumebar.c
5588 * src/hildon-hvolumebar.h
5589 * src/hildon-private.c
5590 * src/hildon-private.h
5591 * src/hildon-range-editor.c
5592 * src/hildon-range-editor.h
5593 * src/hildon-seekbar.c
5594 * src/hildon-seekbar.h
5595 * src/hildon-time-editor.c
5596 * src/hildon-time-editor.h
5597 * src/hildon-time-picker.c
5598 * src/hildon-time-picker.h
5599 * src/hildon-volumebar.c
5600 * src/hildon-volumebar.h
5601 * src/hildon-vvolumebar.c
5602 * src/hildon-vvolumebar.h
5603 * src/hildon-bread-crumb-trail.h
5604 * src/hildon-bread-crumb-trail.c
5605 * src/hildon-calendar-popup.c
5606 * src/hildon-calendar-popup.h
5607 * src/hildon-weekday-picker.c:
5608 * src/hildon-weekday-picker.h:
5609 * src/hildon-bread-crumb-widget.c:
5610 * src/hildon-bread-crumb-widget.h:
5611 * src/hildon-bread-crumb.c:
5612 * src/hildon-bread-crumb.h:
5613 * src/hildon-calendar.c:
5614 * src/hildon-calendar.h:
5615 * src/hildon-caption.c:
5616 * src/hildon-code-dialog.c:
5617 * src/hildon-code-dialog.h:
5618 * src/hildon-font-selection-dialog.c:
5619 * src/hildon-font-selection-dialog.h:
5620 * src/hildon-get-password-dialog.c:
5621 * src/hildon-get-password-dialog.h:
5622 * src/hildon-login-dialog.c:
5623 * src/hildon-login-dialog.h:
5624 * src/hildon-number-editor.c:
5625 * src/hildon-number-editor.h:
5626 * src/hildon-set-password-dialog.c:
5627 * src/hildon-set-password-dialog.h:
5628 * src/hildon-sort-dialog.c:
5629 * src/hildon-sort-dialog.h: This is the list of deprecated
5632 * src/hildon-touch-selector.c:
5633 * src/hildon-window.c: Added undef statement to avoid compilation
5636 * tests/Makefile.am: Divided the sources in deprecated and
5639 * tests/check_test.c,
5640 (configure_tests): Marked the deprecated code that was adding
5641 suites with deprecated tests.
5643 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5645 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5647 * src/hildon-touch-selector.c: (_default_print_func): Do not
5648 duplicate a string returned by gtk_tree_model_get(), it is already
5651 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5654 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5656 * src/hildon-pannable-area.c
5657 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5658 method, it had problems when adding a widget with viewport the
5659 second time. Now checks if it already has a viewport and uses it.
5661 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5664 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5666 * src/hildon-pannable-area.c,
5667 (hildon_pannable_area_scroll_to),
5668 (hildon_pannable_area_jump_to),
5669 (hildon_pannable_area_scroll_to_child),
5670 (hildon_pannable_area_jump_to_child): Added a precondition to the
5671 scroll and jump to functions: the widget must be mapped before we
5672 can safely call these functions. We have also added documentation
5673 to the functions to explain how to use them in this situation.
5676 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5678 Reviewed the threading handling of the pannable widget, we have
5679 used the gdk_threads_add_timeout function instead of the usual
5680 glib handlers. This avoids some problems with the threads.
5682 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5683 (hildon_pannable_area_initial_effect),
5684 (hildon_pannable_area_scroll_indicator_fade),
5685 (hildon_pannable_area_button_press_cb),
5686 (hildon_pannable_area_timeout),
5687 (hildon_pannable_area_motion_notify_cb),
5688 (hildon_pannable_area_button_release_cb),
5689 (hildon_pannable_area_scroll_cb),
5690 (hildon_pannable_area_scroll_to): Removed the
5691 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5692 gdk_threads_add_timeout.
5694 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5696 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5701 * configure.ac: bump version
5702 * debian/changelog: updates
5704 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5706 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5707 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5708 * src/hildon-color-chooser-dialog.c:
5709 (hildon_color_chooser_dialog_init):
5710 * src/hildon-font-selection-dialog.c:
5711 (hildon_font_selection_dialog_init):
5712 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5714 Remove all cancel/close-like dialogs, as these are not going to be
5717 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5719 * src/hildon-note.c: (hildon_note_rebuild),
5720 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5723 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5725 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5727 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5728 sure all buttons are shown, even the Cancel/Close-like ones.
5730 Fixes: NB#90861 (Custom Confirmation dialogs should be
5731 protected from cancel button removal)
5733 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5735 * debian/control: Change libhildon1-examples dependency from libhildon1
5737 * debian/libhildon1-examples.install
5739 * Makefile.am: Modified the final install directory for the examples on
5740 package libhildon1-examples
5741 * Makefile.static: Update clean target in order to remove all the binary
5744 Changes suggested by Claudio after review new libhildon1-examples package
5746 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5748 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5749 * src/hildon-touch-selector.c: Ditto.
5751 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5753 * debian/control: Added new package libhildon1-examples, in order to pack
5754 the current hildon examples as documentation
5755 * debian/rules: Not to compress .c files, modify some includes on the
5756 examples (as normally are compiled locally, but when installed it will
5757 require to include the installed libhildon1 library), and rename
5759 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5760 install all the example files on the new example package
5761 * examples/Makefile.static: Added static makefile that can be used to
5762 compile the examples, once installed the new example package
5763 * examples: Most of the examples were modified in order to grant that
5764 all use only '#include "hildon.h"', in order to be easy to prepare
5765 it on the example package
5767 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5770 * debian/libhildon1-dev.install
5771 * debian/libhildon1-doc.install:
5772 Move all gtk-doc files to a separate libhildon1-doc package.
5774 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5776 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5778 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5780 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5782 * debian/rules: Fixed a error in order to avoid unnecessary calls
5783 to autogen.sh on package building
5785 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5787 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5789 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5791 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5794 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5796 * src/hildon-picker-button.c
5797 (hildon_picker_button_finalize):
5798 Free priv->done_button_text
5800 * src/hildon-time-button.c
5801 (hildon_time_button_set_time)
5802 * src/hildon-picker-button.c
5803 (hildon_picker_button_clicked)
5804 (hildon_picker_button_selector_selection_changed)
5805 (hildon_picker_button_set_selector)
5806 * src/hildon-date-button.c
5807 (hildon_date_button_set_date):
5808 Free strings returned by hildon_touch_selector_get_current_text()
5810 * src/hildon-button.c (hildon_button_construct_child):
5811 Fix leaks in priv->image and priv->label_box
5813 Fixes: NB#90535 (Memory leak in picker button)
5815 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5817 * src/hildon-button.c: (hildon_button_get_property): Do not access
5818 private elements directly, use getters instead.
5820 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5822 * src/hildon-app-menu-private.h
5823 * src/hildon-app-menu.c
5824 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5825 Store the menu's parent window.
5827 * src/hildon-stackable-window.c
5828 (hildon_stackable_window_toggle_menu)
5829 (hildon_stackable_window_finalize):
5830 Set the menu's parent window when the menu is shown, unset it when
5833 * src/hildon-app-menu.c
5834 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5835 (hildon_app_menu_class_init):
5836 Send unhandled keyboard accelerators to the parent window.
5838 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-stackable-window.c
5841 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5843 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5845 * configure.ac: post release version bump
5847 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5850 * configure.ac: Bump version
5851 * debian/changelog: Updates
5852 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5855 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5857 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5860 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5861 GtkMenu with Hildon style.
5863 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5865 * src/hildon-picker-button.c:
5866 (hildon_picker_button_set_done_button_text): Set the dialog's
5867 done button text here as well.
5869 Fixes: NB#90232 (Picker button does not set the label on done button
5870 for the second time)
5872 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5874 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5877 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-app-menu.c (hildon_app_menu_insert)
5880 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5881 the HildonAppMenu to be activatable using keyboard accelerators
5882 when the menu is not being shown.
5884 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5886 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5888 * src/hildon-stackable-window.c
5889 (hildon_stackable_window_show):
5890 Don't hide old windows automatically when new windows are shown:
5891 this is now a task for the window manager.
5892 (hildon_stackable_window_class_init)
5893 (hildon_stackable_window_hide):
5894 Remove windows from the stack everytime they're hidden.
5895 (hildon_stackable_window_realize):
5896 Don't change the _NET_WM_WINDOW_TYPE property. Use
5897 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5898 it as a stackable window.
5900 * src/hildon-program.c
5901 (hildon_program_pop_window_stack):
5902 Just hide the window to remove it from the stack.
5903 (hildon_program_go_to_root_window):
5904 Don't call gtk_widget_show(), this is now a task for the window
5907 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5909 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5911 * src/hildon-button.c
5912 (hildon_button_construct_child):
5913 Don't pack anything in the button until text or image are
5914 set. This allows adding a custom child after creating the button
5915 with hildon_button_new().
5916 (hildon_button_finalize, hildon_button_class_init)
5917 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5918 alignment and the label box even when they're not packed in the
5921 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5923 * src/hildon-touch-selector.h:
5924 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5925 currently the type definition was using GTK_TYPE_VBOX
5926 * src/hildon-touch-selector.c:
5927 Added some implementation notes in order to clarify that any other widget
5928 added without the column related API will not be included on the
5929 selection logic, and how the widget is freed, as some people ask about
5931 (hildon_touch_selector_remove): Reimplemented in order to free properly
5932 the column related data when you remove the private hbox.
5933 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5934 to get a proper HildonTouchSelectorColumn documentation
5936 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5938 * src/hildon-touch-selector-entry.c:
5939 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5940 text in the GtkEntry and there is no item selected. Fixes a
5943 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5945 * src/hildon-app-menu-private.h
5946 * src/hildon-app-menu.[ch]
5947 * src/hildon-button.[ch]
5948 * src/hildon-check-button.[ch]
5949 * src/hildon-entry.[ch]
5950 * src/hildon-pannable-area.[ch]
5951 * src/hildon-text-view.[ch]:
5952 Added private field to the object's structure.
5954 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5956 * configure.ac: post-release version bump
5958 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5962 * configure.ac: pre-release version bump
5964 * debian/changelog: updates.
5966 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5968 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5969 Disconnect the handler for HildonTouchSelector::changed.
5971 (hildon_picker_button_selector_selection_changed): Update the button
5972 value if the selection change was not triggered by the
5975 (hildon_picker_button_set_selector): connect to
5976 HildonTouchSelector::changed.
5978 Fixes: NB#89650 (Picker button is not updated, when selection in
5979 selector has changed)
5981 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5983 * src/hildon-picker-dialog.c
5984 (hildon_picker_dialog_realize): Removed as not required
5985 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5986 * src/hildon-picker-button.c
5987 (_current_selector_empty): New function, checks if the selector is empty
5988 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5989 if the current selector is empty, in order to avoid to show the dialog
5990 close the dialog in this case (and shows a g_warning).
5992 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5994 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5996 * src/hildon-pannable-area.c,
5997 (hildon_pannable_area_scroll): Added clause to stop movement when
5998 the child of pannable is smaller than one page.
5999 (hildon_pannable_area_scroll_to): Added conditions to avoid
6000 starting the scrolling movement if the child is smaller than one
6001 page, the complete child is in the screen, we do not have to move.
6003 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6005 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6008 this is managed automatically by the widget when the size of the
6011 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-picker-button.c
6014 (hildon_picker_button_set_done_button_text): Make a copy of the
6015 text, and free the previous value.
6017 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6019 * src/hildon-touch-selector-entry.c:
6020 (hildon_touch_selector_entry_print_func): Return the selected row's
6021 text if the entry is empty.
6023 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6026 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6028 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6030 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6033 * src/hildon-check-button.h
6034 * src/hildon-check-button.c
6035 * examples/hildon-check-button-example.c:
6036 HildonCheckButton is now a new widget. 'toggled' signal added.
6038 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-program-private.h
6041 * src/hildon-program.c (hildon_program_init)
6042 (hildon_program_finalize): Removed unused variables group_leader
6043 and name from HildonProgramPrivate.
6045 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6047 * src/hildon-check-button.c (hildon_check_button_set_active)
6048 (hildon_check_button_get_active, hildon_check_button_new): Use
6049 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6051 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6053 * src/hildon-touch-selector.h
6054 (hildon_touch_selector_set_column_attributes): added deprecation
6055 guard HILDON_DISABLE_DEPRECATED
6056 * src/hildon-time-selector.c
6057 (hildon_time_selector_set_time)
6058 (hildon_time_selector_get_time): Fixed a typo on documentation
6059 * src/hildon-touch-selector.c: update HildonTouchSelector and
6060 HildonTouchSelectorColumn documentation
6061 * src/hildon-touch-selector-entry.c: update "text-column" property
6063 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6064 to be added to the general documentation.
6066 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6068 * examples/hildon-pannable-area-example-4.c,
6070 * examples/hildon-pannable-area-example.c,
6071 (main): Modified the code in order to use the container add, with
6072 viewport treeviews could have problems if they are really big.
6074 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6076 * src/hildon-weekday-picker.c,
6077 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6078 the agreement regarding deprecation in the library.
6080 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6082 * examples/hildon-picker-button-multicolumn-example.c:
6083 (main): Use custom "done" button text.
6085 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6086 (hildon_picker_button_set_property),
6087 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6088 (hildon_picker_button_init),
6089 (+hildon_picker_button_get_done_button_text),
6090 (+hildon_picker_button_set_done_button_text): New methods to customize
6091 the "done" button label in the launched HildonPickerDialog. Also,
6094 * src/hildon-picker-button.h: add the public API.
6096 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6098 * src/hildon-date-selector.h:
6099 * src/hildon-picker-dialog.h:
6100 * src/hildon-time-selector.h:
6101 * src/hildon-touch-selector-column.h:
6102 * src/hildon-touch-selector.h:
6104 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6105 declarations. Fixes gtk-doc warnings.
6107 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6109 * src/hildon-picker-dialog.h
6110 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6111 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6113 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6114 long text is set as label for done button)
6116 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6118 * src/hildon-dialog.c (hildon_dialog_add_button):
6119 Set fixed width to all buttons in the HildonDialog.
6121 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6123 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6125 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6126 Set widget name using class name plus "-finger" or "-thumb".
6128 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6130 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6131 'clicked' when the state of the button is manually changed.
6133 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-app-menu.c (hildon_app_menu_realize)
6136 (hildon_app_menu_unrealize, hildon_app_menu_init)
6137 (hildon_app_menu_class_init, item_visibility_changed):
6138 Change the menu layout when the size of the screen changes.
6139 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6140 Show warning only when changing the number of colums using the
6143 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6145 * debian/compat: Set to 5
6146 * debian/control: Update dependencies.
6147 * debian/libhildon1-dbg.install: Remove.
6148 * debian/libhildon1-dev.install: Update according to cdbs paths.
6149 * debian/libhildon1.install: Update according to cdbs paths.
6150 * debian/rules: Switch to cdbs.
6152 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6154 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6155 'item' variable renamed to 'filter'
6157 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6159 * src/hildon-app-menu.c (hildon_app_menu_insert)
6160 (hildon_app_menu_add_filter, remove_item_from_list)
6161 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6162 Don't leak hidden items when the menu is destroyed.
6164 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6166 * src/hildon-app-menu.c (hildon_app_menu_insert)
6167 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6168 (hildon_app_menu_set_columns, item_visibility_changed)
6169 (filter_visibility_changed, hildon_app_menu_repack_filters)
6170 (hildon_app_menu_repack_items):
6171 Repack items and filters separately.
6173 Don't repack all items, change only the ones that are needed to
6176 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6178 * src/Makefile.am: added hildon-touch-selector-column.h
6180 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6182 * src/hildon-touch-selector.c: added the property "text-column" to the
6183 class HildonTouchSelectorColumn, and related get/set functions
6184 (_default_printf_func): updated to use "text-column" property
6185 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6186 "text-column" in his documentation, as this is now included on
6187 HildonTouchSelectorColumn. The get/set_property can still be used,
6188 working as a wrapper to the concrete column "text-column" property
6189 (_text_column_modified): callback added in order to handle the signal
6190 "notify::text-column" of the concrete HildonTouchSelectorColumn
6191 (hildon_touch_selector_entry_get_text_column)
6192 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6193 modified in order to use the HildonTouchSelectorColumn "text-column"
6195 * src/hildon-time-selector.c:
6196 * src/hildon-date-selector.c:
6197 * examples/hildon-touch-selector-example.c
6198 * examples/hildon-touch-selector-multi-cells-example.c
6199 * examples/hildon-picker-button-multicolumn-example.c
6200 Set the right value to "text-column" property on the creation of a new
6201 column using hildon_touch_selector_append_column()
6203 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6205 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6207 * src/hildon-app-menu.c
6208 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6209 updating the layout of the menu, don't create all widgets again,
6210 just repack the items in their new places.
6212 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6214 * src/hildon-time-selector.c
6215 (hildon_time_selector_get_time)
6216 (hildon_time_selector_set_time)
6217 Added documentation of these public methods
6219 * src/hildon-date-button.h
6220 * src/hildon-touch-selector-column.h
6221 * src/hildon-time-button.h
6222 * src/hildon-picker-dialog.h
6223 * src/hildon-time-selector.h
6224 * src/hildon-picker-button.h
6225 * src/hildon-touch-selector.h
6226 * src/hildon-time-picker.h
6227 * src/hildon-date-selector.h
6228 * src/hildon-touch-selector-entry.h
6229 Modified in order to use hildon-widgets code style
6231 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6233 Added deprecated support to the compilation process using
6234 HILDON_DISABLE_DEPRECATED
6236 * configure.ac: Added the --disable-deprecated to the configure
6239 * src/hildon-weekday-picker.c:
6240 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6241 to use the deprecated support. We will update the other deprecated
6242 widgets status in a new patch.
6244 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6246 * configure.ac: Fixed typo with fatal warnings support, the
6247 variable name was not correct
6249 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6251 * src/hildon-app-menu.c
6252 * src/hildon-program.c: Update documentation.
6254 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6256 * configure.ac: Post-release version bump.
6258 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6263 * configure.ac: Pre-release version bump.
6264 * debian/changelog: Updates.
6266 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6268 * NEWS: Update news for previous releases.
6270 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6272 * examples/hildon-touch-selector-multi-cells-example.c:
6273 (create_selector): Update the example to use
6274 hildon_touch_selector_append_column() with a NULL renderer and set
6275 the renderers later.
6276 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6277 passed a NULL renderer. This is documented behavior now.
6279 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6280 This must be used if the developer wants full control on the layout of
6281 the renderers to be added to the column.
6283 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6285 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6287 * src/hildon-touch-selector.c: Documentation fixes.
6289 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6291 * src/hildon-wizard-dialog-private.h: Remove image and box.
6292 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6293 (hildon_wizard_dialog_set_property), (response): Completely remove
6294 image/icon support, and the containers required for the layout.
6296 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6298 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6300 * src/hildon-app-menu.c: Updated documentation.
6302 * src/hildon-stackable-window.c
6303 (hildon_stackable_window_set_main_menu): Unref the old menu after
6304 ref'ing the new one.
6306 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6308 * src/hildon-stackable-window.c
6309 (hildon_stackable_window_set_main_menu): Unref the previous menu
6310 instead of destroying it.
6312 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6313 floating reference and set has_user_ref_count to FALSE to make
6314 HildonAppMenu act like a normal ref-counted widget and not a
6317 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6320 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6322 * src/hildon-touch-selector-column.h: new file
6323 * src/hildon-touch-selector.h
6324 * src/hildon-touch-selector.c
6325 Implemented GtkCellLayout interface, in order to allow to configure
6326 the cell layout on each individual selector column
6327 (hildon_touch_selector_set_column_attributes): marked as deprecated
6328 * examples/hildon-touch-selector-multi-cells-example.c
6329 Example of how to use the GtkCellLayout interface on the selector
6331 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6333 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6335 * src/hildon-app-menu.h
6336 * src/hildon-app-menu.c
6337 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6338 (hildon_app_menu_append, hildon_app_menu_prepend):
6339 New methods to prepend, insert and move items in the menu.
6341 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-wizard-dialog.c:
6345 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6347 (create_title): Update logical IDs and related code.
6348 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6350 * src/hildon-wizard-dialog.h: Note that
6351 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6352 point, as it is not used anymore.
6354 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6356 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6358 * src/hildon-note.c:
6359 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6360 shown. Do not display an icon in confirmation notes nor information
6362 (hildon_note_set_button_text): Update logical ID for cancel button.
6364 Fixes: NB#88850 (Update HildonNote button strings + signals)
6366 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6368 * src/hildon-stackable-window.c
6369 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6371 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6373 * src/hildon-app-menu-private.h
6374 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6375 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6376 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6377 temporary property 'columns' to change the number of columns.
6379 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6381 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6383 * examples/hildon-note-example.c: (on_information_clicked),
6384 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6385 debugging information.
6386 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6388 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6389 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6390 in order to close: this will be handled by the WM from now on.
6392 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6394 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6396 * src/hildon-app-menu-private.h
6397 * src/hildon-app-menu.c
6398 (hildon_app_menu_append, hildon_app_menu_add_filter)
6399 (button_visibility_changed, hildon_app_menu_apply_style)
6400 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6401 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6402 layout everytime a button (item or filter) is shown or hidden.
6404 * src/hildon-stackable-window.c
6405 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6408 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6410 * src/hildon-touch-selector.c:
6411 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6412 that the treeview inside the touch selector is in fremantle hildon mode
6413 * examples/hildon-date-button-example.c
6414 * examples/hildon-picker-button-multicolumn-example.c
6415 * examples/hildon-touch-selector-entry-example.c
6416 * examples/hildon-touch-selector-example.c
6417 * examples/hildon-time-button-example.c
6418 * examples/hildon-picker-button-example.c:
6419 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6421 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6423 * examples/hildon-text-view-example.c: (main): Remove the
6424 gtkrc bits, now handled by the theme.
6426 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6428 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6431 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6433 * po/Makefile.am: Install properly the mo files.
6434 * po/en_GB.po: Update translation, to ease testing purposes.
6436 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6438 * examples/hildon-picker-button-example.c: (main): Select an item
6439 in the selector before setting it to the button.
6441 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6443 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6444 Update button's value if the selector has an item active.
6446 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6447 'value' with the selector)
6449 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6451 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6452 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6453 (hildon_picker_button_class_init): Plug the finalize method.
6454 (hildon_picker_button_set_selector): If there's a previously set
6455 selector, unref'it before setting a new one.
6457 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6458 HildonTouchSelector)
6460 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6462 * src/hildon-touch-selector-entry.c:
6463 (hildon_touch_selector_entry_changed): Check if there is no text
6464 selected before setting the entry text.
6467 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6469 * src/hildon-touch-selector.h
6470 * src/hildon-touch-selector.c
6471 (hildon_touch_selector_get_active)
6472 (hildon_touch_selector_set_active): New methods to set/get the
6473 index of the selected item.
6475 * src/hildon-picker-button.h
6476 * src/hildon-picker-button.c
6477 (hildon_picker_button_get_active)
6478 (hildon_picker_button_set_active): New methods to set/get the
6479 index of the selected item.
6481 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6483 * configure.ac: post-release version bump.
6485 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6489 * configure.ac: Pre-release version bump.
6490 * debian/changelog: Updates.
6491 * debian/control: Add myself as maintainer and depend on l10n
6494 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6496 * src/hildon-window.c
6497 (hildon_window_set_main_menu)
6498 * src/hildon-stackable-window.c
6499 (hildon_stackable_window_set_main_menu):
6500 Updated documentation.
6502 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6504 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6505 Don't free selector->priv manually.
6508 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6511 (hildon_gtk_window_set_progress_indicator):
6512 * src/hildon-gtk.h: Added the new API
6513 hildon_gtk_window_set_progress_indicator, it changes the state of
6514 the window progress hint.
6516 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6518 * src/hildon-button.c
6519 * src/hildon-stackable-window.c: Minor documentation updates.
6521 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6523 * src/hildon-stackable-window.c: Updated documentation.
6525 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6527 * src/hildon-defines.h: Update margins definitions
6528 to the Fremantle sizes.
6531 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6533 * src/hildon-touch-selector.c,
6534 (_hildon_touch_selector_set_model): Cleaning the code after
6535 review, removed g_print and #if 0 from the code.
6537 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6539 * src/hildon-edit-toolbar.c: Update documentation.
6541 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6543 * src/hildon-check-button.h
6544 * src/hildon-check-button.c
6545 (hildon_check_button_set_label, hildon_check_button_get_label)
6546 * examples/hildon-check-button-example.c
6547 (button_clicked_cb):
6548 Removed deprecated methods.
6550 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6552 * src/hildon-text-view.c:
6553 Add sample code to the documentation.
6555 * src/hildon-entry.h
6556 * src/hildon-text-view.h:
6557 Minor cosmetic changes.
6559 * src/hildon-entry.c:
6560 Add sample code to the documentation.
6561 (hildon_entry_init, hildon_entry_refresh_contents):
6562 Don't allow NULL values in the placeholder.
6564 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6566 * doc/hildon-docs.sgml
6568 * examples/Makefile.am
6569 * examples/hildon-text-view-example.c
6571 * src/hildon-text-view.c
6572 * src/hildon-text-view.h
6574 New HildonTextView widget, with example.
6576 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6578 * po/POTFILES.in: Add missing files with translatable strings.
6579 Partially fixes NB#88287.
6581 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6583 * examples/hildon-pannable-area-example-2.c: (main): No need to
6584 set the cellrenderer height inside hildon touch lists, the theme does
6587 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6589 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6590 they are integrated in the theme.
6592 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6594 * examples/hildon-entry-example.c: Update the example adding
6595 widgets to modify the text and the placeholder of the HildonEntry.
6597 * src/hildon-entry.c: Show the placeholder everytime the widget
6598 is empty and loses the focus.
6600 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6602 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6604 * src/hildon-pannable-area.c,
6605 (hildon_pannable_area_size_request): Fixed bug in height
6606 requisition, avoid increasing size and add border twice.
6608 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6610 * configure.ac: postrelease version bump.
6612 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6616 * configure.ac: Prerelease version bump.
6617 * debian/changelog: update.
6618 * debian/rules: make -dbg package contain useful debugging symbols.
6620 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6622 * src/hildon-dialog.h
6623 * src/hildon-dialog.c
6624 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6625 New methods to add buttons with finger size.
6626 (hildon_dialog_new_with_buttons):
6627 Create buttons with finger size.
6629 * examples/hildon-dialog-example.c (main): Use HildonDialog
6630 methods to add buttons.
6632 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-entry.c: Updated HildonButton documentation.
6636 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6638 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6639 button value label with (FALSE, FALSE) to prevent NB#88126 from
6642 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6644 * examples/hildon-pannable-area-example.c,
6645 (main): Removed examples panning a vbox inside a pannable
6646 area. Check bug NB#87965
6648 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6650 Patch contributed by Kris Rietveld (kris@imendio.com)
6652 * src/hildon-pannable-area.c,
6653 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6654 get_size and get_position, this saves an X server roundtrip.
6656 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6658 * doc/hildon-docs.sgml
6660 * examples/Makefile.am
6661 * examples/hildon-entry-example.c
6663 * src/hildon-entry.c
6664 * src/hildon-entry.h
6666 New HildonEntry widget, with example.
6668 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6670 * src/hildon-button.c (hildon_button_construct_child): Pack the
6671 image with expand == fill == FALSE. This is a workaround for a bug
6674 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6676 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6677 labels for the text column, to make it more look more dynamic.
6679 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6681 * src/hildon-time-selector.c
6682 Define gettext auxiliar macro N_
6683 (_create_minutes_model)
6684 (_create_hours_model)
6685 (_create_ampm_model): use of strftime in order to fill the model
6686 * src/hildon-date-selector.c
6687 (hildon_date_selector_finalize):
6688 (_locales_init): remove the logic related to get the name of the months
6689 using nl_langinfo, as it is not required anymore
6691 (_create_year_model)
6692 (_create_month_model)
6693 (_update_day_model): use of strftime in order to fill the model properly
6696 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6698 * src/hildon-button.h
6699 * src/hildon-button.c (hildon_button_get_image): New method to
6702 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6704 * src/hildon-touch-selector.c:
6705 (hildon_touch_selector_remove_column): Remove from the correct parent
6706 and also remove the list element and free it.
6709 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6711 * src/hildon-time-selector.c
6712 (_create_hours_model): change the range on 12h ampm format in order to use
6713 a 12-11 range instead of previous 01-12 range
6714 (hildon_time_selector_set_time): change the way to select the current time
6715 on 12h ampm format, due the change on the range
6716 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6719 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6721 * src/hildon-touch-selector.c
6722 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6723 in order to allow use this function on multiple row selection mode if
6724 the column is different that the first one
6727 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6729 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6730 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6732 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6734 * src/hildon-date-selector.h: clean some comments, now on the .c
6735 * src/hildon-date-selector.c
6736 (hildon_date_selector_select_month): first implementation
6737 (hildon_date_selector_select_day): added documentation, reimplemented
6738 using hildon_date_selector_select_current_date to avoid repeat code
6741 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6743 Reviewed interaction logic based on device experiences, refactored
6746 * src/hildon-pannable-area.c,
6747 (hildon_pannable_area_class_init): Updated default vmax speed.
6748 (hildon_pannable_area_calculate_velocity): Added this function, it
6749 avoids duplicate valocity calculation. Adjusted calculation to
6750 avoid problems with zero dist events.
6752 (hildon_pannable_area_motion_notify_cb): Now we use the
6753 calculate_velocity function.
6755 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6757 * src/hildon-date-selector.c
6758 (hildon_date_selector_select_current_date): fix the day range check
6759 as it failed using the last day of the current month
6762 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6764 * src/hildon-touch-selector.c
6765 (hildon_touch_selector_get_num_columns): added a parameter validation
6768 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6770 * examples/Makefile.am
6771 * examples/hildon-edit-toolbar-example.c: Example of the
6772 HildonEditToolbar widget.
6774 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6776 * configure.ac: postrelease version bump.
6778 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6782 * configure.ac: prerelease version bump.
6783 * debian/changelog: update.
6785 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6787 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6788 renderer to display stock icons in the touch list. Also, set the sizes
6789 to the recommended in the style guide.
6791 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6792 * src/hildon-touch-selector.h
6793 (hildon_touch_selector_set_active_iter): renamed, now is
6794 hildon_touch_selector_select_iter
6795 (hildon_touch_selector_get_active_iter): renamed, now is
6796 hildon_touch_selector_get_selected
6797 (hildon_touch_selector_unselect_iter): added
6798 * src/hildon-touch-selector.c
6799 Update after API modification (methods renamed)
6800 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6801 order to avoid problems selecting multiple elements on the column
6802 (hildon_touch_selector_unselect_iter): added the implementation
6803 * src/hildon-time-selector.c
6804 * src/hildon-date-selector.c
6805 * src/hildon-touch-selector-entry.c
6806 Update methods calls after hildon-touch-selector.h API modification (methods
6809 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6811 * src/hildon-stackable-window.c
6812 (hildon_stackable_window_finalize): Call the parent class's finalize.
6814 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6816 * examples/hildon-touch-selector-example.c: (create_selector): Use
6817 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6820 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6822 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6823 set a cell background color, to respect theming.
6825 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6827 * doc/hildon-docs.sgml
6830 * src/hildon-edit-toolbar.c
6831 * src/hildon-edit-toolbar.h
6832 * src/hildon.h: New HildonEditToolbar widget.
6834 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6836 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6839 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6840 * src/hildon-touch-selector.c
6841 (_create_new_column): use g_object_set instead of two g_object_set_property
6843 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6844 * src/hildon-touch-selector.c
6845 (_create_new_column): use of hildon_gtk_tree_view_new to create
6846 the treeview, instead of use directly g_object_new
6847 (_create_new_column): update the property name "vindicator-mode" for the
6848 new one "vscrollbar-policy"
6849 * examples/hildon-date-button-example.c
6850 * examples/hildon-picker-button-multicolumn-example.c
6851 * examples/hildon-touch-selector-entry-example.c
6852 * examples/hildon-touch-selector-example.c
6853 * examples/hildon-time-button-example.c
6854 * examples/hildon-picker-button-example.c
6855 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6856 to all the treeviews inside a pannable area.
6858 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6860 * src/hildon-button.h
6861 * src/hildon-button.c (hildon_button_init)
6862 (hildon_button_set_arrangement, hildon_button_set_alignment)
6863 (hildon_button_set_title_alignment)
6864 (hildon_button_set_value_alignment)
6865 (hildon_button_set_image_alignment)
6866 (hildon_button_construct_child): New methods to set the alignment
6867 of the individual components of the button (title, value,
6868 image). Also, new method to alter the xscale and yscale properties
6869 of the GtkAlignment inside the button, so more complex layouts can
6872 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6874 * src/hildon-button.c (hildon_button_style_set)
6875 (hildon_button_class_init, hildon_button_set_arrangement)
6876 (hildon_button_construct_child): Apply style properties
6877 correctly. Use the 'image-spacing' style property too.
6879 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6881 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6882 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6885 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6887 * src/hildon-pannable-area.c,
6888 (hildon_pannable_area_size_request): Fixed problem with
6889 pannable-area size_request.
6891 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6893 Added management for the grab-focus to a child widget, like a
6894 range, we need to fade out the scrollbar when releasing.
6896 * src/hildon-pannable-area.c,
6897 (hildon_pannable_area_init): Connected the grab-focus signal to
6899 (hildon_pannable_area_grab_notify): Added this function in order
6900 to manage the situation when the grab-focus ends. We have to
6901 fade-out the scrollbar.
6903 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6905 * src/hildon-app-menu.c: Minor documentation update.
6907 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6909 * src/hildon-app-menu.c
6910 * examples/hildon-app-menu-example.c (create_menu): Update
6911 examples and documentation to explain how to connect callbacks.
6913 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6915 * examples/hildon-button-example.c
6916 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6917 hildon_stackable_window_new instead of gtk_window_new
6919 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6921 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6922 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6923 (hildon_pannable_area_set_property),
6924 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6925 (hildon_pannable_area_unrealize),
6926 (hildon_pannable_area_size_request),
6927 (hildon_pannable_area_size_allocate),
6928 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6929 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6930 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6931 (hildon_pannable_area_initial_effect),
6932 (hildon_pannable_area_redraw),
6933 (hildon_pannable_area_scroll_indicator_fade),
6934 (hildon_pannable_area_expose_event),
6935 (hildon_pannable_area_get_topmost), (synth_crossing),
6936 (hildon_pannable_area_button_press_cb),
6937 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6938 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6939 (hildon_pannable_area_motion_notify_cb),
6940 (hildon_pannable_area_button_release_cb),
6941 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6942 (hildon_pannable_area_remove),
6943 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6944 chage the code layout to a more GtkWidget like. Review the use of
6947 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6949 * examples/hildon-pannable-area-example-4.c,
6950 (main): Modified the name of the hindicator_mode to
6953 * src/hildon-pannable-area.c,
6954 (hildon_pannable_area_class_init),
6955 (hildon_pannable_area_motion_notify_cb),
6956 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6957 we have reduced the amount of signals and managed reviewed its
6958 rationale. Changed the default decelerate value.
6960 (hildon_pannable_area_add),
6961 (hildon_pannable_area_redraw): Refactored functions.
6963 (hildon_pannable_area_init),
6964 (hildon_pannable_area_get_property),
6965 (hildon_pannable_area_set_property):
6966 (hildon_pannable_draw_vscroll),
6967 (hildon_pannable_draw_hscroll),
6968 (hildon_pannable_area_initial_effect),
6969 (hildon_pannable_area_expose_event),
6970 (hildon_pannable_area_scroll),
6971 (hildon_pannable_area_button_press_cb),
6972 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6973 and vindicator_mode with hscrollbar_policy and
6974 vscrollbar_policy. Replaced hscroll and vscroll with
6975 hscroll_visible and vscroll_visible.
6977 (hildon_pannable_area_refresh): Refactor the function, remove
6978 variables and check the calls to this function, added resize
6979 conditions in case the children change their layout.
6981 (hildon_pannable_area_size_request): Added more detailed
6982 size_request calculation.
6985 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6987 * src/hildon-color-chooser.c
6988 (init_borders): use the correct gtk_border_free instead of g_free, to
6989 avoid a crash when this widget is used (ie: the three color selection
6992 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6994 * src/hildon-check-button.c,
6995 (hildon_check_button_set_active): Fixed problem when setting the
6996 active value, the widget was not redrawn.
6998 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7000 * src/hildon-pannable-area.c,
7001 (hildon_pannable_area_refresh),
7002 (hildon_pannable_area_scroll),
7003 (hildon_pannable_area_motion_notify_cb): Small code style change.
7005 (hildon_pannable_area_class_init): Default initial_hint set to
7006 FALSE, it is not in the specs.
7008 (hildon_pannable_area_initial_effect),
7009 (hildon_pannable_area_expose_event),
7010 (hildon_pannable_area_map),
7011 (hildon_pannable_area_init): Moved the launching point of the
7012 initial effect, it was in map but the sizes where not correct in
7013 that method so we do not know if we have the reproduce it. Now it
7014 is placed in the expose_event method and uses a variable to
7015 reproduce it just once.
7017 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7019 * src/hildon-pannable-area.c,
7020 (hildon_pannable_draw_vscroll),
7021 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7022 position allowed for the scrollbars.
7024 (hildon_pannable_area_size_allocate): Small style change.
7026 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7028 * src/hildon-pannable-area.c,
7029 (hildon_pannable_area_scroll_indicator_fade),
7030 (hildon_pannable_area_button_press_cb),
7031 (hildon_pannable_area_button_release_cb),
7032 (hildon_pannable_area_scroll_cb),
7033 (hildon_pannable_area_expose_event),
7034 (hildon_pannable_area_init): Added the define parameter
7035 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7036 and refactor the fade variable.
7038 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7040 * src/hildon-pannable-area.c,
7041 (hildon_pannable_area_redraw),
7042 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7043 lines, we were reimplemeting the redraw code.
7045 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7047 * src/hildon-pannable-area.c,
7048 (hildon_pannable_area_scroll_cb),
7049 (hildon_pannable_area_realize),
7050 (hildon_pannable_area_class_init): Added scroll_event management
7051 for pannable area, now we can scroll the usual desktop method.
7053 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7054 initialization of the parameters should depend on idle_id.
7056 (hildon_pannable_area_init),
7057 (hildon_pannable_area_map): Small code style modifications
7059 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7061 * src/hildon-pannable-area.c
7062 (hildon_pannable_area_button_press_cb),
7063 (hildon_pannable_area_motion_notify_cb),
7064 (hildon_pannable_area_button_release_cb),
7065 (hildon_pannable_area_size_allocate),
7066 (hildon_pannable_area_scroll_to): Improved the timeouts
7067 management, we avoid creating them each time.
7069 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7071 * src/hildon-pannable-area.c:
7072 (hildon_pannable_area_refresh),
7073 (hildon_pannable_area_motion_notify_cb),
7074 (hildon_pannable_area_class_init):
7075 * src/hildon-pannable-area.h:
7076 * src/hildon-touch-selector.c
7077 (_create_new_column):
7078 * examples/hildon-pannable-area-example-4.c:
7079 (horizontal_movement),
7080 (vertical_movement),
7082 Replaced the names of enums in the HildonPannableArea:
7083 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7084 HILDON_MOVEMENT_MODE_*
7085 - HILDON_PANNABLE_AREA_MOV_* ->
7087 - Removed HildonPannableAreaIndicatorMode, now we
7090 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7092 * examples/hildon-pannable-area-touch-grid-example.c
7093 * examples/hildon-pannable-area-touch-list-example.c: Fix
7094 compilation warnings.
7096 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7098 * src/hildon-gtk.c (hildon_gtk_button_new)
7099 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7100 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7101 images overriding the value of the "gtk-button-images" setting.
7103 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7105 * src/hildon-check-button.c (hildon_check_button_new):
7106 Instead of using a custom container, display the label and the
7107 checkbox using the standard GtkButton API.
7109 * examples/hildon-check-button-example.c (main): Don't use
7110 hildon_check_button_set_label() anymore
7112 * src/hildon-check-button.h
7113 * src/hildon-check-button.c
7114 (hildon_check_button_set_label, hildon_check_button_get_label):
7115 Set as deprecated, now we're using gtk_button_{get,set}_label()
7117 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7119 * src/hildon-pannable-area.c,
7120 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7121 GtkTreeview first line we detected it after the inclusion of the
7122 GtkWindowImpl in gtk+. We now check if the window is visible, not
7123 just if the pointer is over the window.
7124 (hildon_pannable_axis_scroll),
7125 (hildon_pannable_area_expose_event): Small style changes.
7127 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7129 * src/hildon-button.c: Update documentation.
7131 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7133 * examples/hildon-button-example.c: Add a switch to show images in
7136 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7138 * doc/hildon-docs.sgml: Some docs reorganization.
7140 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7142 * examples/hildon-pannable-area-touch-list-example.c
7144 * examples/hildon-pannable-area-touch-grid-example.c
7145 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7146 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7147 Fix memory leak when setting the tree model.
7149 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7153 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7155 * doc/hildon.types: Remove duplicated hildon_window_get_type
7156 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7157 documentation comment.
7159 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7161 * doc/Makefile.am: Complete list of private headers.
7163 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7165 * doc/hildon-docs.sgml
7166 * src/hildon-app-menu.c
7167 * src/hildon-bread-crumb.c
7168 * src/hildon-button.c
7170 * src/hildon-program.c
7171 * src/hildon-stackable-window.c
7172 * src/hildon-window.c: Lots of documentation updates.
7174 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7176 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7178 * configure.ac: Require Gtk+ 2.12.9 at least
7180 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7182 * src/hildon-pannable-area.c
7183 (hildon_pannable_area_scroll_indicator_fade),
7184 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7185 to protect the return of this timeout callbacks, avoiding deadlocks.
7187 2008-08-12 Christian Dywan <christian@imendio.com>
7190 * src/hildon-*.h: Ensure a consistent include order,
7191 include <gtk/gtk.h> instead of particular files and
7192 only include the topmost header in the gtk stack. See NB #39857
7194 2008-08-12 Christian Dywan <christian@imendio.com>
7196 * src/hildon-picker-dialog.c
7197 * src/hildon-touch-selector.c: Fix warnings about unused and
7198 uninitialized variables.
7200 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7202 * examples/Makefile.am
7203 * examples/hildon-check-button-example.c: Example of the hildon
7206 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7208 * src/hildon-window.h
7209 * src/hildon-window.c (hildon_window_class_init)
7210 (hildon_window_unset_program): Don't make
7211 hildon_window_unset_program a virtual function anymore.
7213 * src/hildon-stackable-window.c: Update documentation
7215 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7218 * doc/hildon-docs.sgml
7219 * doc/visual_index.xml
7220 * src/hildon-defines.c
7222 * src/hildon-helper.c
7223 * src/hildon-range-editor.c: Lots of documentation fixes.
7225 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7227 * examples/hildon-picker-button-multicolumn-example.c
7228 (create_touch_selector): Fix compilation warning.
7230 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7232 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7233 (hildon_pannable_area_button_release_cb)
7234 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7236 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7238 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7241 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7243 * src/hildon-bread-crumb-trail.h
7244 * src/hildon-date-editor.c
7245 * src/hildon-date-selector.c
7246 * src/hildon-pannable-area.c
7247 * src/hildon-picker-dialog.c
7248 * src/hildon-time-selector.c
7249 * src/hildon-touch-selector-entry.c
7250 * src/hildon-touch-selector.c
7251 * src/hildon-touch-selector.h: Misc documentation fixes
7253 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7255 * examples/hildon-date-editor-example.c (main): Updated date
7258 * examples/hildon-note-example.c (on_confirmation_clicked):
7259 Updated confirmation note example.
7261 * src/hildon-date-editor.c
7262 * src/hildon-note.c: Updated sample programs in documentation.
7265 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7267 * src/hildon-date-button.h:
7268 * src/hildon-picker-button.h:
7269 * src/hildon-time-button.c:
7270 * src/hildon-time-button.h:
7272 Some declarations changes to allow gtk-doc to document the widgets
7275 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7277 * src/hildon-date-button.c: Document the widget.
7278 * src/hildon-time-button.c: Document the widget.
7280 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7282 * src/hildon-picker-button.c: Document the widget.
7283 * src/hildon-touch-selector-entry.c: Document the widget.
7285 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7287 * doc/hildon-docs.sgml
7290 * src/hildon-check-button.h
7291 * src/hildon-check-button.c: New functions to create the Hildon
7295 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7297 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7299 * src/hildon-button.h
7300 * src/hildon-button.c
7301 (hildon_button_add_title_size_group)
7302 (hildon_button_add_value_size_group)
7303 (hildon_button_add_image_size_group)
7304 (hildon_button_add_size_groups): New functions to set size groups
7305 for the button labels and image.
7306 (hildon_button_new_full): Removed
7308 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7310 * src/hildon-time-selector.c
7311 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7312 in order to avoid a crash if gconf is not available
7314 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7316 * src/hildon-button.c (hildon_button_set_arrangement)
7317 (hildon_button_construct_child): Don't construct the button child
7318 before setting the arrangement.
7320 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7322 * src/hildon-program-private.h
7323 * src/hildon-program.c
7324 * src/hildon-program.h
7325 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7326 (hildon_program_peek_window_stack)
7327 (hildon_program_pop_window_stack)
7328 (hildon_program_go_to_root_window): HildonProgram now has a
7329 separate list for stackable windows. Functions are provided to
7330 manage that list with a stack-like API.
7332 * src/hildon-stackable-window.c: Stackable window management is
7333 now much simpler with the new HildonProgram API. Windows no
7334 longer need to be manually added to the program, they're
7335 automatically pushed to the top of the stack when shown.
7337 * examples/hildon-stackable-window-example.c: Updated example to
7338 reflect the API changes.
7340 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7342 * src/hildon-touch-selector.c: Comment out unimplemented
7343 hildon_touch_selector_insert_column() to avoid a compile warning.
7345 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7347 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7348 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7349 (hildon_touch_selector_set_column_selection_mode),
7350 (_hildon_touch_selector_set_model),
7351 (hildon_touch_selector_set_model):
7353 Complete review of HildonTouchSelector documentation.
7355 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7357 * doc/hildon-docs.sgml
7361 * src/hildon-gtk.c: Convenience functions for standard Gtk
7362 widgets, used to easily perform frequent operations.
7364 * src/hildon-button-helpers.h
7365 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7367 * src/hildon-helper.h
7368 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7369 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7371 * src/hildon-button.h
7372 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7374 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7376 * src/hildon-button.c (hildon_button_init)
7377 (hildon_button_set_arrangement, hildon_button_construct_child):
7378 Pack the image and the labels inside the same GtkAlignment so
7379 gtk_button_set_alignment() can be used
7381 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7383 * src/hildon-button.h
7384 * src/hildon-button.c
7385 (hildon_button_init, hildon_button_set_image)
7386 (hildon_button_set_image_position)
7387 (hildon_button_construct_child): New functions to add an image to
7390 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7392 * src/hildon-date-button.c
7393 * src/hildon-picker-button.c
7394 * src/hildon-time-button.c
7395 * src/hildon-button.c:
7396 (hildon_button_class_init): "size-flags" renamed to "size"
7397 (hildon_button_set_title): Hide the title label if set to NULL.
7399 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7401 HildonButtonFlags split into HildonButtonArrangement (to set the
7402 button layout) and HildonSizeType (which can be used for any
7405 * src/hildon-button.h
7406 * src/hildon-button.c
7407 (hildon_button_class_init)
7408 (hildon_button_set_arrangement)
7409 (hildon_button_set_property): New "size-flags"
7410 property. "arrangement-flags" renamed to "arrangement".
7411 (hildon_button_new, hildon_button_new_with_text)
7412 (hildon_button_new_full): Constructors updated to reflect type changes.
7414 * src/hildon-helper.h
7415 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7416 to set the size of a widget.
7420 * src/hildon-button-helpers.c
7421 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7423 * src/hildon-date-button.c
7424 * src/hildon-date-button.h
7425 * src/hildon-picker-button.c
7426 * src/hildon-picker-button.h
7427 * src/hildon-time-button.c
7428 * src/hildon-time-button.h: Updated widgets to reflect
7429 HildonButton API changes.
7431 * examples/hildon-button-example.c
7432 * examples/hildon-date-button-example.c
7433 * examples/hildon-picker-button-example.c
7434 * examples/hildon-picker-button-multicolumn-example.c
7435 * examples/hildon-time-button-example.c
7436 * examples/hildon-touch-selector-entry-example.c
7437 * examples/hildon-touch-selector-example.c: Updated examples to
7438 reflect HildonButton API changes.
7440 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7442 * doc/hildon-docs.sgml:
7444 * examples/Makefile.am:
7445 * examples/hildon-touch-selector-entry-example.c:
7447 * src/hildon-touch-selector-entry.c:
7448 * src/hildon-touch-selector-entry.h:
7451 Moved HildonTouchSelectorEntry from sandbox. Added its
7452 documentation and examples.
7454 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7456 * src/hildon-touch-selector.h:
7457 * examples/hildon-picker-button-multicolumn-example.c:
7458 (hildon_touch_selector_append_text_column): Add a gboolean
7459 parameter to determine if text must be centered in the column.
7461 * src/hildon-date-selector.c: (hildon_date_selector_init):
7462 * src/hildon-time-selector.c: (hildon_time_selector_init):
7463 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7464 (create_touch_selector): Update widgets and example to reflect
7467 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7469 * src/hildon-touch-selector.c:
7470 (hildon_touch_selector_set_active_iter): Set also the cursor in
7473 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7475 * doc/hildon-docs.sgml
7478 * src/hildon-toggle-button.c
7479 * src/hildon-toggle-button.h
7480 * src/hildon.h: Removed HildonToggleButton widget, a derived
7481 class is not necessary for this.
7483 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7485 * src/hildon-pannable-area.c,
7486 (hildon_pannable_area_realize),
7487 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7490 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7492 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7493 "done" button the default widget for the dialog.
7495 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7497 * src/hildon-touch-selector.c:
7498 (hildon_touch_selector_class_init),
7499 (hildon_touch_selector_get_property),
7500 (_hildon_touch_selector_set_model),
7501 (_hildon_touch_selector_has_multiple_selection),
7502 (hildon_touch_selector_has_multiple_selection):
7503 Add a "has-multiple-selection" property with a virtual
7504 has_multiple_selection() method to allow derived classes to
7505 override the default value for it. See the method and property
7506 documentation for details.
7508 * src/hildon-touch-selector.h: Add the new API.
7510 * src/hildon-picker-dialog.c: (requires_done_button): Call
7511 hildon_touch_selector_has_multiple_selection() instead of
7512 determining the need for a button itself.
7514 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7516 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7517 (_hildon_touch_selector_set_model),
7518 (hildon_touch_selector_set_model): Move working code to
7519 _hildon_touch_selector_set_mode(). Call the class method instead.
7521 * src/hildon-touch-selector.h: Add (*set_model) to
7522 HildonTouchSelectorClass.
7524 Make hildon_touch_selector_set_model() a virtual method, so that
7525 derived classes can extend it and do fancy stuff with the model.
7527 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7529 * configure.ac: Set back the tarname in AC_INIT to hildon.
7531 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7535 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7536 instead of libesd (NB#86876). Volume handling is still an open issue.
7538 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7541 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7543 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7544 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7545 derived class to ease placement of an entry widget in
7546 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7547 end, where the selector columns are packed now.
7549 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7551 * src/hildon-picker-button.c: Removed the simple _text() API.
7552 * src/hildon-picker-button.h: Likewise.
7554 * src/hildon-touch-selector.h:
7555 * src/hildon-touch-selector.c:
7556 (hildon_touch_selector_new_text),
7557 (hildon_touch_selector_append_text),
7558 (hildon_touch_selector_prepend_text),
7559 (hildon_touch_selector_insert_text):
7561 Moved the simple _text() API from HildonPickerButton to
7562 HildonTouchPicker, to provide better escalability and not to tie
7563 that API to HildonPickerButton.
7565 * examples/hildon-picker-button-example.c: (main): Example updated.
7567 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7569 * src/hildon-button.c: Updated documentation.
7571 * examples/hildon-button-example.c: Add the posibility to create
7572 the buttons using horizontal layout for title and value.
7574 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7576 * src/hildon-app-menu-private.h
7577 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7578 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7579 GtkSizeGroup for the filters, use the 'homogeneous' property of
7582 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7584 * examples/hildon-button-example.c: Updated example.
7586 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7588 * doc/hildon-docs.sgml:
7591 Update documentation.
7593 * examples/Makefile.am: Update renamed examples.
7595 * examples/hildon-picker-button-multicolumn-example.c:
7596 (create_touch_selector), (main): Update after the rename.
7598 * examples/hildon-touch-picker-example.c: Removed.
7599 * examples/hildon-touch-selector-example.c: (value_changed),
7600 (create_selector), (get_visible_content), (main): Renamed from
7601 hildon-touch-picker-example.c
7603 * src/Makefile.am: Updated renamed files.
7605 * src/hildon-date-button.c: (hildon_date_button_init),
7606 (hildon_date_button_get_date), (hildon_date_button_set_date):
7607 * src/hildon-date-selector.c: (hildon_date_selector_init),
7608 (_custom_print_func), (_update_day_model),
7609 (_manage_selector_change_cb),
7610 (hildon_date_selector_select_current_date),
7611 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7612 * src/hildon-date-selector.h:
7613 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7614 (hildon_picker_button_set_property),
7615 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7616 (hildon_picker_button_init), (hildon_picker_button_new_text),
7617 (hildon_picker_button_append_text),
7618 (hildon_picker_button_prepend_text),
7619 (hildon_picker_button_insert_text),
7620 (hildon_picker_button_set_selector),
7621 (hildon_picker_button_get_selector):
7622 * src/hildon-picker-button.h:
7623 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7624 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7625 (_update_title_on_selector_changed_cb), (requires_done_button),
7626 (_hildon_picker_dialog_set_selector),
7627 (hildon_picker_dialog_set_selector),
7628 (hildon_picker_dialog_get_selector):
7629 * src/hildon-picker-dialog.h:
7630 * src/hildon-time-button.c: (hildon_time_button_init),
7631 (hildon_time_button_get_time), (hildon_time_button_set_time):
7632 * src/hildon-time-selector.c: (hildon_time_selector_init),
7633 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7634 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7635 * src/hildon-time-selector.h:
7638 Massive code updates after the rename.
7640 * src/hildon-touch-picker.c: Removed.
7641 * src/hildon-touch-picker.h: Removed.
7643 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7644 (hildon_touch_selector_init), (hildon_touch_selector_map),
7645 (hildon_touch_selector_remove), (_default_print_func),
7646 (_selection_changed_cb), (_create_new_column),
7647 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7648 (hildon_touch_selector_append_text_column),
7649 (hildon_touch_selector_remove_column),
7650 (hildon_touch_selector_set_column_attributes),
7651 (hildon_touch_selector_insert_column),
7652 (hildon_touch_selector_get_num_columns),
7653 (hildon_touch_selector_get_column_selection_mode),
7654 (hildon_touch_selector_set_column_selection_mode),
7655 (hildon_touch_selector_set_print_func),
7656 (hildon_touch_selector_get_print_func),
7657 (hildon_touch_selector_get_active_iter),
7658 (hildon_touch_selector_set_active_iter),
7659 (hildon_touch_selector_get_selected_rows),
7660 (hildon_touch_selector_get_model),
7661 (hildon_touch_selector_set_model),
7662 (hildon_touch_selector_get_current_text),
7663 (_hildon_touch_selector_center_on_selected_items):
7664 * src/hildon-touch-selector.h: Renamed from
7665 hildon-touch-picker.[ch]
7667 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7668 references, code examples, and related documentation.
7670 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7672 * doc/hildon-docs.sgml
7675 * src/hildon-toggle-button.c
7676 * src/hildon-toggle-button.h
7677 * src/hildon.h: New HildonToggleButton widget.
7679 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7681 * src/hildon-button.c: Add API documentation.
7682 (hildon_button_set_size_groups): Check input parameters
7684 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7686 * src/hildon-pannable-area.c
7687 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7688 effect after reaching the movement thredshold. This way we start
7689 using the distance after passing the thredshold.
7691 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7693 * src/hildon-button.c: (hildon_button_set_property): Use the
7694 appropriate g_value_get_flags() method.
7696 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7698 * doc/hildon-docs.sgml:
7701 Add the touch pickers, picker dialogs, and picker button widgets
7702 to the documentation.
7704 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7706 * src/hildon-button.c: (hildon_button_set_property),
7707 (hildon_button_class_init): Make "arrangement-flags" a proper
7708 G_TYPE_FLAGS derived property.
7710 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7712 * examples/Makefile.am: Add below examples.
7713 * examples/hildon-date-button-example.c:
7714 * examples/hildon-picker-button-example.c:
7715 * examples/hildon-picker-button-multicolumn-example.c:
7716 * examples/hildon-time-button-example.c:
7717 * examples/hildon-touch-picker-example.c:
7719 Add examples for the recently added touch pickers,
7720 picker dialogs, and picker button widgets.
7722 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7724 * src/hildon-button.c: Add some API documentation
7726 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7728 * src/hildon-button.h
7729 * src/hildon-button.c
7731 (hildon_button_new_with_text): New constructor to create a button
7732 with no text at all.
7733 (hildon_button_init, hildon_button_set_arrangement)
7734 (hildon_button_set_title, hildon_button_set_value)
7735 (hildon_button_set_text)
7736 (hildon_button_construct_child): Hide the value when it's not used
7737 so the rest of the text is properly aligned.
7738 Allow creating buttons with arbitrary widgets inside (not just
7739 title/value labels).
7741 * examples/hildon-button-example.c (vertical_buttons_window)
7742 (horizontal_buttons_window): Update example to use new API.
7744 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7746 * src/Makefile.am: Added HildonTimeButton.
7747 * src/hildon-time-button.c: Added missing LGPL header.
7748 * src/hildon-time-button.h: Added missing LGPL header.
7749 * src/hildon.h: Add hildon-time-button.h
7751 Copied HildonTimeButton from sandbox to trunk. Future work on this
7752 widget must take place in trunk.
7754 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7756 * src/Makefile.am: Added HildonDateButton.
7757 * src/hildon-date-button.c: Update includes.
7758 * src/hildon.h: Add hildon-date-button.h
7760 Copied HildonDateButton from sandbox to trunk. Future work on this
7761 widget must take place in trunk.
7763 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7765 * src/Makefile.am: Added HildonPickerButton.
7766 * src/hildon-picker-button.h: Update includes.
7767 * src/hildon.h: Add hildon-picker-button.h
7769 Copied HildonPickerButton from sandbox to trunk. Future work on
7770 this widget must take place in trunk.
7772 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7774 * src/Makefile.am: Added HildonPickerDialog.
7775 * src/hildon-picker-dialog.c: Update includes.
7776 * src/hildon.h: Add hildon-picker-dialog.h
7778 Copied HildonPickerDialog from sandbox to trunk. Future work
7779 on this widget must take place in trunk.
7781 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7783 * src/Makefile.am: Added HildonTimeSelector.
7784 * src/hildon.h: Add hildon-time-selector.h
7786 Copied HildonTimeSelector widget from sandbox to trunk. Future
7787 work on this widget must happen in trunk.
7789 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7791 * src/Makefile.am: Added HildonDateSelector.
7792 * src/hildon.h: Add hildon-date-selector.h
7794 Copied HildonDateSelector widget from sandbox to trunk. Future
7795 work on this widget must happen in trunk.
7797 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7799 * src/Makefile.am: Added HildonTouchPicker.
7800 * src/hildon-touch-picker.c: Update includes.
7801 * src/hildon.h: Add hildon-touch-picker.h
7803 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7804 on this widget must happen in trunk.
7806 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7808 * src/hildon-pannable-area.c:
7809 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7811 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7813 * examples/hildon-app-menu-example.c (main): Let the window
7816 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7818 * src/hildon-pannable-area.c
7819 (hildon_pannable_area_class_init): Set the min value of the
7820 overshoot properties to zero, which points out that not
7821 overshooting allowed.
7823 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7825 Modified the procedure to get the widget at a point inside the
7826 pannable area when using the movement type signals. Now the user
7827 has to call a function to get the child, that way we just
7828 calculate the child in case the user really want to use it and not
7831 * src/hildon-marshalers.list: Modified the marshallers, now we do
7832 not have the widget as a parameter.
7834 * src/hildon-pannable-area.c
7835 (hildon_pannable_area_motion_notify_cb),
7836 (hildon_pannable_area_class_init),
7837 (hildon_pannable_get_child_widget_at): Removed the widget
7838 parameter from the signal callback. We have also refactored the
7839 emission of the signals.
7841 * src/hildon-pannable-area.h: Added a new method to the API to
7842 calculate a widget at a point inside the pannable area,
7843 hildon_pannable_get_child_widget_at.
7845 * examples/hildon-pannable-area-example-4.c
7846 (horizontal_movement): Modified the example to use the new API,
7847 added condition to control which widget is under the event. This
7848 way we can avoid scrolling laterally over other widgets.
7850 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7852 * src/hildon-pannable-area.c
7853 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7854 modes, we stop getting the pointer events due to returning the
7855 callback without properly calling the get pointer again. Fixed
7856 also an error using the hscroll and vscroll.
7858 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7860 * src/hildon-app-menu-private.h
7861 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7862 (hildon_app_menu_button_release, hildon_app_menu_init)
7863 (hildon_app_menu_class_init): Don't hide the menu on button
7864 release if the user didn't press outside first.
7866 * src/hildon-window.h
7867 * src/hildon-window.c (hildon_window_toggle_menu)
7868 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7869 hildon_window_toggle_menu a virtual function for the stackable
7870 window to override it.
7872 * src/hildon-stackable-window.h
7873 * src/hildon-stackable-window-private.h
7874 * src/hildon-stackable-window.c
7875 (hildon_stackable_window_realize)
7876 (hildon_stackable_window_finalize)
7877 (hildon_stackable_window_class_init)
7878 (hildon_stackable_window_init)
7879 (hildon_stackable_window_set_main_menu): New function to set the
7880 app menu of a HildonStackableWindow.
7882 * examples/hildon-app-menu-example.c: Remove the button to show
7883 the app menu, now it'll be shown when clicking on the title bar
7886 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7888 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7889 set the widget name if the arrangement flags do not specify
7892 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7894 * src/hildon-button.c: (hildon_button_set_property),
7895 (hildon_button_class_init), (hildon_button_new_full),
7896 (hildon_button_set_arrangement): Added "arrangement-flags"
7899 Make the HildonButtonFlags a construction-only property, to allow
7900 subclasses to set them properly.
7902 2008-07-21 Tim Janik <timj@imendio.com>
7904 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7905 insertion position after backspace, so additional digits are appended,
7908 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7910 * src/hildon-pannable-area.c,
7911 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7912 TODO list, it was complete and removed the g_debug and g_print
7915 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7917 Added the movement modes to the hildon-pannable-area, with this
7918 modes the developers can control in which directions the widget
7919 can scroll. They can also connect to signals in order to do
7920 something when that happens, allowing applications scroll. There
7921 is an example uploaded showing how to use it.
7923 * examples/Makefile.am:
7924 * examples/hildon-pannable-area-example-4.c: Added this example of
7925 an application using the modes.
7927 * src/hildon-marshalers.list: Added a new marshaller for the new
7930 * src/hildon-pannable-area.h: Added new enumerations and flags in
7931 order to control the movement modes and the new signals to warn
7932 about the movements in the area.
7934 * src/hildon-pannable-area.c:
7935 (hildon_pannable_axis_scroll),
7936 (hildon_pannable_area_scroll),
7937 (hildon_pannable_area_motion_notify_cb),
7938 (hildon_pannable_area_get_property),
7939 (hildon_pannable_area_set_property),
7940 (hildon_pannable_area_map),
7941 (hildon_pannable_area_class_init),
7942 (hildon_pannable_area_init),
7943 (hildon_pannable_area_jump_to): Added the modes to control the
7944 movement in the widget. We have added properties to control it,
7945 signals to warn about the movements and refactored some code.
7947 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7949 Changes required in order to allow vfast_factor set to zero to
7952 * src/hildon-pannable-area.c:
7953 (hildon_pannable_area_button_press_cb): Changed the condition, it
7954 is required for not allowing click when vfast_factor is zero.
7955 (hildon_pannable_area_timeout): Initialized velocity variables
7956 when we stop moving, it was less than 1 but not zero and we need
7957 to check zero in some situations.
7958 (hildon_pannable_area_class_init): Changed the default value of
7959 the speed factor, now the button_press is just sent in case the
7960 speed is 2 per cent of the max speed.
7961 (hildon_pannable_area_init): Initialization with 0.
7963 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7965 * src/hildon-pannable-area.c,
7966 (hildon_pannable_area_get_topmost): replaced
7967 gdk_window_get_children with gdk_window_peek_children, this way we
7968 do not have to free the list because it is not a copy.
7970 (hildon_pannable_axis_scroll),
7971 (hildon_pannable_area_scroll),
7972 (hildon_pannable_area_timeout),
7973 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7974 two parameters that were only used inside the
7975 hildon_pannable_area_scroll function.
7977 * examples/hildon-pannable-area-example.c,
7978 (get_sawtooth_label): Fixed small memory leak.
7980 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7982 More checks for the case where the overshoot is bigger than the
7985 * src/hildon-pannable-area.c:
7986 (hildon_pannable_draw_vscroll),
7987 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7988 to draw the slider of the scrollbar under the other scrollbar.
7989 (hildon_pannable_area_expose_event): added new checks to control
7990 the drawing of the overshooting area rectangle, in case it is too
7991 big for the area of the widget.
7992 (hildon_pannable_area_size_allocate): add more checks to avoid
7993 setting a position to the child widget outside the area.
7995 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7997 * src/hildon-pannable-area.c
7998 (hildon_pannable_area_size_allocate): Added conditions to control
7999 when overshooting is bigger than the allocated space for the
8000 children, this avoids negative allocations.
8002 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8004 * doc/hildon-docs.sgml
8006 * examples/Makefile.am
8007 * examples/hildon-button-example.c
8009 * src/hildon-button.c
8010 * src/hildon-button.h
8011 * src/hildon.h: Initial version of the new HildonButton widget,
8014 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8016 * src/hildon-pannable-area.c:
8017 (hildon_pannable_area_button_press_cb),
8018 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8019 (hildon_pannable_area_motion_notify_cb),
8020 (hildon_pannable_area_button_release_cb),
8021 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8022 (hildon_pannable_area_jump_to_child):
8024 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8026 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8028 * examples/Makefile.am
8029 * examples/hildon-pannable-area-touch-grid-example.c
8030 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8031 the Hildon Touch List and Hildon Touch Grid using the
8032 HildonPannableArea widget.
8034 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8036 * src/hildon-pannable-area.c,
8037 (hildon_pannable_area_button_press_cb),
8038 (hildon_pannable_area_refresh),
8039 (hildon_pannable_area_scroll),
8040 (hildon_pannable_area_motion_notify_cb),
8041 (hildon_pannable_area_button_release_cb),
8042 (hildon_pannable_area_expose_event),
8043 (hildon_pannable_area_add),
8044 (hildon_pannable_area_remove),
8045 (hildon_pannable_area_realize),
8046 (hildon_pannable_area_size_allocate),
8047 (hildon_pannable_area_class_init),
8048 (hildon_pannable_area_init),
8049 (hildon_pannable_area_scroll_to_child),
8050 (hildon_pannable_area_jump_to_child): Fixed the problem of
8051 removing the child from the GtkBin, we have rearranged the widget
8052 hierarchy, now there is no GtkAlignment which was not doing
8053 anything interesting but breaking some of the assumptions of
8054 GtkContainer. Now developers if they want to add a GtkAlignment
8055 they could, but it is not inside the area.
8057 We had to review the whole allocation/expose process, now it is
8058 improved and we save at least three signals which would be saving
8059 some time when rendering the widget. The allocation of the
8060 scrollbars is now made in the allocate method as usual.
8062 We have also added some conditions in order to control when there
8063 is no child of the pannable area. Maybe we will need more work
8066 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8068 * src/hildon-pannable-area.c,
8069 (hildon_pannable_area_dispose): Released the fade-out timeout when
8070 disposing the widget.
8072 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8074 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8075 zero, we are going to use that property in order to deactivate the
8077 (hildon_pannable_axis_scroll),
8078 (hildon_pannable_area_size_allocate): Added conditions to control
8079 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8080 call, now it is called in all situations and we can remove calls
8081 in the allocate method.
8082 (hildon_pannable_area_map): Control the situation when
8083 overshoot_max is zero, we do not need the timeout.
8084 (hildon_pannable_area_class_init): Added documentation in order to
8085 point out that setting zero to overshoot_max means deactivate
8088 NOTE: removed trailing whitespaces from my previous comments of
8091 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8093 * src/hildon-pannable-area.c
8094 (hildon_pannable_area_get_property),
8095 (hildon_pannable_area_set_property),
8096 (hildon_pannable_area_map),
8097 (hildon_pannable_area_class_init),
8098 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8099 to cause the widget give a hint about its panning abilities upon
8102 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8104 * src/hildon-pannable-area.c: Several documentation improvements.
8106 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8108 * src/hildon-program.c
8109 * src/hildon-stackable-window.c: Update documentation.
8111 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8113 * src/hildon-stackable-window.c (get_previous_window_if_last):
8114 Renamed get_last_window()
8115 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8116 (hildon_stackable_window_unset_program):
8118 (get_previous_window_if_last):
8119 Detect if the window hasn't been added to a HildonProgram.
8121 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8123 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8125 * src/hildon-pannable-area.c
8126 (hildon_pannable_area_button_press_cb),
8127 (hildon_pannable_axis_scroll),
8128 (hildon_pannable_area_scroll),
8129 (hildon_pannable_area_timeout),
8130 (hildon_pannable_calculate_vel_factor),
8131 (hildon_pannable_area_get_property),
8132 (hildon_pannable_area_set_property),
8133 (hildon_pannable_area_class_init),
8134 (hildon_pannable_area_init),
8135 (hildon_pannable_area_scroll_to),
8136 (hildon_pannable_area_jump_to),
8137 (hildon_pannable_area_scroll_to_child),
8138 (hildon_pannable_area_jump_to_child):
8139 * src/hildon-pannable-area.h: Added the new API functions:
8140 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8141 hildon_pannable_area_scroll_to_child,
8142 hildon_pannable_area_jump_to_child
8145 * examples/Makefile.am
8146 * examples/hildon-pannable-area-example-2.c
8147 * examples/hildon-pannable-area-example-3.c: Added these two new
8148 examples in order to test and show how the new APIs work.
8150 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8152 * examples/hildon-stackable-window-example.c (new_window):
8153 * src/Makefile.am (noinst_HEADERS):
8154 * src/hildon-program.c (hildon_program_go_to_root_window):
8155 * src/hildon-program.h:
8156 * src/hildon-stackable-window-private.h:
8157 * src/hildon-stackable-window.c:
8158 * src/hildon-stackable-window.h:
8159 Create hildon-stackable-window-private.h
8160 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8162 * examples/hildon-app-menu-example.c (create_menu):
8163 * examples/hildon-hvolumebar-insensitive-example.c (main):
8164 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8165 * examples/hildon-toolbar-seekbar-example.c (main):
8166 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8167 * src/hildon-banner.c (hildon_banner_set_property):
8168 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8169 Fix compilation warnings
8171 * src/hildon-window.c:
8174 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8176 * src/hildon-stackable-window.c
8177 (hildon_stackable_window_unset_program):
8178 Calculate correctly whether to show the previous window if the
8179 last one is removed from the stack.
8180 (hildon_stackable_window_go_to_root_window):
8181 Send delete events starting from the topmost window.
8182 Stop if one of the windows is not destroyed.
8184 (hildon_stackable_window_delete_event)
8185 (hildon_stackable_window_class_init):
8186 Ignore the delete event if the window is not the topmost one.
8188 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8190 * src/hildon-pannable-area.c
8191 (hildon_pannable_area_expose_event): Fixed a problem when
8192 selecting the background color of the scrollbars.
8194 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8196 * examples/hildon-stackable-window-example.c
8197 * src/hildon-stackable-window.c
8198 * src/hildon-stackable-window.h
8199 hildon_stackable_window_go_home() renamed to
8200 hildon_stackable_window_go_to_root_window()
8201 Send delete events to windows rather than closing them with
8202 gtk_widget_destroy()
8204 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8206 * src/hildon-pannable-area.c
8207 (hildon_pannable_area_button_release_cb): Fix overshooting in
8210 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8212 * src/hildon-pannable-area.c
8213 (hildon_pannable_area_init): Initially show the scroll indicators.
8214 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8216 Add initial effect showing the widget is pannable.
8218 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8220 * src/hildon-pannable-area.c
8221 (hildon_pannable_area_class_init)
8222 (hildon_pannable_area_set_property)
8223 (hildon_pannable_area_get_property)
8224 (hildon_pannable_area_button_press_cb):
8225 New 'velocity_fast_factor' property to decide which velocity is
8228 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8230 * src/hildon-pannable-area.c
8231 (hildon_pannable_draw_hscroll)
8232 (hildon_pannable_draw_vscroll):
8233 Use float variables to calculate the size of the scrollbars to
8234 avoid error propagation and resizing during scrolling.
8236 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8238 * src/hildon-pannable-area.c
8239 (hildon_pannable_draw_vscroll)
8240 (hildon_pannable_draw_hscroll):
8241 Define a minimum size for the scroll bars
8243 * src/hildon-stackable-window.c
8244 (hildon_stackable_window_go_home): Fix compilation warning
8245 (get_last_window): Minor optimizations
8246 (hildon_stackable_window_class_init): Fix initialization of
8249 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8251 * src/hildon-stackable-window.c: Fixed typos in doc
8253 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8255 * src/hildon-pannable-area.c
8256 (hildon_pannable_area_scroll):
8257 Calculate here whether we need to scroll instead of using the booleans
8258 that tell us whether to /draw/ the scrolling bars.
8260 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8262 * src/hildon-app-menu.h
8264 * src/hildon-app-menu.c
8265 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8266 multiple filter groups related code and API. Now we support only
8268 * examples/hildon-app-menu-example.c:
8270 Update to reflect API changes.
8272 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8274 * src/hildon-stackable-window.c
8275 (hildon_stackable_window_class_init):
8276 Add hildon_stackable_window_realize.
8277 (hildon_stackable_window_realize):
8278 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8279 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8280 to apply theming and behavior specific to HildonStackableWindow
8283 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8285 * src/hildon-note.c (hildon_note_button_release):
8286 Close information notes also when tapping on them
8288 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8290 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8291 ELASTICITY, refactor and review, fix some issues with drawing
8294 * src/hildon-pannable-area.c:
8295 (hildon_pannable_area_button_press_cb): removed the conditions to
8296 avoid clicks when overshooting. It is not required
8298 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8299 define. Refatored and reviewed the code, now we do not need to
8300 manage velocity in motion_notify.
8302 (hildon_pannable_area_motion_notify_cb): We have moved the code
8303 that controls the area_scroll to the axis_scroll function and get
8304 rid of duplicated code.
8306 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8308 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8310 (hildon_pannable_draw_vscroll),
8311 (hildon_pannable_draw_hscroll): Fixed the problems with the
8312 scrollbar drawing, now we do not use two surfaces, it is easier
8313 and saves resources.
8315 (hildon_pannable_area_get_property): Style modification.
8317 (hildon_pannable_area_class_init): Changed some default values.
8319 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8321 * src/hildon-stackable-window.c: Fix some typos in the
8324 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8326 * src/hildon-dialog.c:
8327 Change indentation style
8330 (hildon_note_button_release):
8331 Use root coordinates to check if the release event happened
8334 * src/hildon-app-menu.c
8335 (hildon_app_menu_button_release):
8336 Remove unnecessary check
8338 * examples/hildon-app-menu-example.c
8340 Add cast to fix warning
8342 * src/hildon-app-menu.c
8343 (hildon_app_menu_class_init):
8344 New inner-border style property.
8345 Set all default spacings to 16
8346 (hildon_app_menu_init):
8347 Use vertical-spacing to set the space between filter buttons and
8348 regular menu buttons.
8349 Set the default container border using the inner-border value.
8351 * examples/hildon-app-menu-example.c
8353 Don't set the menu border explicitly, now we have the inner-border
8354 style property for that.
8356 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8358 * src/hildon-app-menu.c (hildon_app_menu_init):
8359 Make the window modal
8361 * src/hildon-note.c (hildon_note_map)
8362 * src/hildon-app-menu.c (hildon_app_menu_map):
8363 Destroy the grab window if we're unable to grab the pointer
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 (grab_transfer_window_get):
8371 Bring back the grab window
8372 (hildon_app_menu_realize):
8373 Decorate the window, set WM hint for Matchbox
8375 * src/hildon-note.c (hildon_note_realize):
8376 * src/hildon-banner.c (hildon_banner_realize):
8377 Add WM hints for Matchbox
8379 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8381 * src/hildon-app-menu-private.h
8382 * src/hildon-app-menu.c
8383 (hildon_app_menu_init, hildon_app_menu_finalize)
8384 (hildon_app_menu_map, hildon_app_menu_unmap)
8385 (hildon_app_menu_button_release):
8386 Remove the grab window, it's not needed anymore
8388 * src/hildon-program.c
8389 Fixed typo in documentation
8391 * src/hildon-app-menu.h
8392 * src/hildon-app-menu.c
8393 * examples/hildon-app-menu-example.c
8394 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8396 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8399 Added new transfer_window and close_if_pressed_outside private
8401 (hildon_note_rebuild):
8402 Don't add a cancel button to the information note. It will be
8403 closed when tapping outside
8404 Remove the comment about the OK button in the documentation
8405 (hildon_note_realize):
8406 Set the notification type hint
8407 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8408 Grab/ungrab pointer and keyboard if the note has to be closed when
8410 (hildon_note_button_release):
8411 Close the note when tapping outside (if applicable)
8413 * src/hildon-app-menu.c
8414 Grab/ungrab pointer and keyboard on map/unmap
8415 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8416 Close the menu on button release, not button press
8418 * src/hildon-banner.c
8419 (hildon_banner_set_property)
8420 (hildon_banner_check_position):
8421 Make the banner use the full width of the screen
8422 (hildon_banner_show_information)
8423 (hildon_banner_show_information_with_markup):
8424 Don't display an icon by default
8426 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8428 Added fading scrollbars and adapted all the overshooting code to
8429 horizontal scrolling. We have also fixed bugs with overshooting
8430 and current fading implementation.
8432 * src/hildon-pannable-area.c
8433 (hildon_pannable_area_scroll_indicator_fade): Time out function
8434 used to change the transparency of the scrollbars.
8436 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8437 control and fixed a problem with fading, we now remove the fade
8438 timeout before adding a new one.
8440 (hildon_pannable_axis_scroll):
8441 (hildon_pannable_area_scroll):
8442 (hildon_pannable_area_timeout): Added this functions so we can use
8443 the scroll code both for vertical and horizontal.
8445 (hildon_pannable_area_motion_notify_cb):
8446 (hildon_pannable_area_button_release_cb): Added the horizontal
8447 scrolling control, fixed a problem with the overshooting timeout.
8449 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8450 painting of the scrolls.
8452 (hildon_pannable_draw_vscroll):
8453 (hildon_pannable_draw_hscroll):
8454 (hildon_pannable_area_expose_event):
8455 Draw both scrollbars and rectangles in the overshooting area.
8457 (hildon_pannable_area_get_property):
8458 (hildon_pannable_area_set_property):
8459 Modified the overshoot property to overshoot_max
8461 (hildon_pannable_area_map):
8462 Replaced the comments symbols.
8464 (hildon_pannable_area_size_allocate):
8465 (hildon_pannable_area_class_init):
8466 (hildon_pannable_area_init): Added horizontal scroll, fading
8467 effect properties, fixed a problem when overshooting in the bottom
8470 * examples/hildon-pannable-area-example.c:
8471 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8472 looks better in the example.
8474 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8476 * src/hildon-window.c
8477 * src/hildon-window.h
8478 (hildon_window_class_init)
8479 (hildon_window_unset_program)
8480 (hildon_window_unset_program_real):
8481 Make unset_program a virtual function
8483 * src/hildon-stackable-window.c
8484 * src/hildon-stackable-window.h
8485 Added hildon_stackable_window_go_home()
8487 * examples/Makefile.am
8488 * examples/hildon-stackable-window-example.c
8489 HildonStackableWindow example
8491 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8493 * hildon-pannable-area.c: Added the overshoot property and removed
8494 the OVERSHOOT define. Fixed an indent style error.
8495 (hildon_pannable_area_motion_notify_cb):
8496 (hildon_pannable_area_get_property):
8497 (hildon_pannable_area_set_property): Add overshoot property.
8499 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8502 (hildon_pannable_area_class_init): Installed the new property.
8504 * hildon-pannable-area-example.c: Added a sawtooth function, this
8505 way it is easier to check the movement in the pannable.
8506 (get_sawtooth_label): Added this function.
8507 (main): Now we get the labels from the new get_sawtooth_label
8510 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8512 * src/hildon-app-menu.h
8513 * src/hildon-app-menu.c
8514 Renamed API variables for consistency
8516 (hildon_app_menu_popup): Use also the default window size to
8517 decide where to place the menu
8519 (hildon_app_menu_init, hildon_app_menu_class_init): New
8520 external-border style property
8522 2008-05-26 Michael Natterer <mitch@imendio.com>
8524 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8525 widget_class->tap_and_hold_setup signal slot doesn't exist any
8526 longer, stop overriding it.
8528 (hildon_time_editor_init): g_signal_connect() to the
8529 tap-and-hold-setup signal instead.
8531 (hildon_time_editor_entry_keypress): add cast to fix warning.
8533 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8535 * doc/hildon-docs.sgml
8537 * examples/Makefile.am
8538 * examples/hildon-app-menu-example.c
8540 * src/hildon-app-menu-private.h
8541 * src/hildon-app-menu.c
8542 * src/hildon-app-menu.h
8544 New HildonAppMenu widget
8546 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8548 Rearranged the inheritance of the pannable area, now it inherits
8549 from GtkBin. This will allow us to control the event_window and
8550 the allocation process of the widget, required for some effects.
8552 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8553 GtkBin structures. * src/hildon-pannable-area.c: Added the
8554 event_window variable.
8555 (hildon_pannable_area_button_press_cb):
8556 (hildon_pannable_area_button_release_cb):
8557 (hildon_pannable_area_motion_notify_cb):
8558 Changed the signature of the method, now we override the event
8559 callback instead of connecting to the signal.
8561 (hildon_pannable_area_realize):
8562 (hildon_pannable_area_unrealize):
8563 (hildon_pannable_area_map):
8564 (hildon_pannable_area_unmap):
8565 (hildon_pannable_area_size_allocate):
8566 Added functions to control the widget construction. We add a
8567 INPUT_ONLY window and we put it over the widgets inside the
8568 container, this event_window handles the events.
8570 (hildon_pannable_area_class_init):
8571 Replaced the signal connections with overrides of the event
8574 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8576 Bouncing effect added when touching the borders, you can change
8577 the elasticity of the border changing the ELASTICITY define.
8579 * src/hildon-pannable-area.c: Added ELASTICITY define.
8580 (hildon_pannable_area_timeout): Added inverse velocity when
8581 touching the border of the child widget, that causes a bounce.
8583 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8585 Improved performance, we now do not go to the X server in order to
8586 get the list of window children. Apparently the effect is the
8587 same, we have to be careful and check if this breaks something in
8590 * src/hildon-pannable-area.c:
8591 (get_ordered_children): Removed this function.
8592 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8593 the children windows function with gdk_window_get_children.
8595 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8597 * src/hildon-pannable-area.c:
8598 (hildon_pannable_area_dispose): Fixed a crash when closing the
8599 window and kinetics is activated.
8601 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8603 * src/hildon-pannable-area.h
8604 * src/hildon-pannable-area.c
8605 Changed indentation style to meet the one used in Hildon
8607 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8609 Reviewed the interaction of the AUTO mode, now we use the time
8610 attribute of the events and calculate the velocity in the motion,
8611 doing a gimp like calculation. The velocity is calculated in each
8612 motion event using the last velocity and the current one, the
8613 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8615 * src/hildon-pannable-area.c: Replaced the time based algorithm
8617 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8618 timeout for the AUTO mode when we are still moving the cursor. We
8619 added also the velocity calculation in this function.
8620 (hildon_pannable_area_button_release_cb): launch the timeout in
8621 case we are in AUTO mode. There are still some constants here that
8622 come from the old implementation that should be reviewed and
8625 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8627 * doc/hildon-docs.sgml
8630 * src/hildon-stackable-window.c
8631 * src/hildon-stackable-window.h
8633 New HildonStackableWindow widget
8635 * examples/hildon-dialog-example.c
8636 * examples/hildon-pannable-area-example.c
8639 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8641 * src/hildon-dialog.c
8642 (hildon_dialog_new_with_buttons): New constructor.
8644 * examples/hildon-dialog-example.c
8645 (main): Update the example to use the new
8646 hildon_dialog_new_with_buttons().
8648 * examples/hildon-pannable-area-example.c
8649 (main): Update example.
8651 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8653 * doc/hildon-docs.sgml
8655 Added HildonPannableArea to the documentation.
8657 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8659 * doc/visual_index.xml
8660 Fix reference to HildonLoginDialog in documentation
8662 * doc/hildon-docs.sgml
8664 * examples/Makefile.am
8665 * examples/hildon-dialog-example.c
8667 * src/hildon-dialog.c
8668 * src/hildon-dialog.h
8670 New HildonDialog widget.
8672 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8674 * src/hildon-pannable-area.c
8675 Merge latest changes (r4318, r4342) from libmokoui trunk
8677 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8679 * examples/Makefile.am
8680 * examples/hildon-pannable-area-example.c
8682 * src/hildon-pannable-area.c
8683 * src/hildon-pannable-area.h
8685 New HildonPannableArea widget.
8687 2008-04-15 18:05:19 <timj@imendio.com>
8689 * src/hildon-banner.c: revert the recent change, that introduced
8690 gtk_window_present() calls. this reopens:
8691 Bug 78481 - [freetest] information banners are hidden under browser menu
8692 But resolves another variant of:
8693 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8695 2008-04-15 13:21:13 <timj@imendio.com>
8697 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8698 recreated its layout, spotted by Kris. this fixes all remaining
8699 artefacts and stability issues with the banner code. in particular:
8700 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8702 2008-04-14 16:52:59 <timj@imendio.com>
8704 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8705 operating on unrealized widgets, fixes:
8706 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8708 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8710 2008-04-09 Kristian Rietveld <kris@imendio.com>
8712 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8713 makes banner disappear.
8714 Fixes: NB#79182: info banner flickering with certain message lengts.
8716 * src/hildon-banner.c (hildon_banner_constructor),
8717 (hildon_banner_init), (hildon_banner_set_text),
8718 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8719 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8720 FALSE, reset size requests of label and banner,
8721 (force_to_wrap_truncated): when the text is too wide, always enforce
8722 the maximum possible width instead of recalculating it from the
8723 layout; enforce the maximum banner height of 3 lines,
8724 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8725 nicer wrapping and no truncated chars if space gets tight.
8727 * src/hildon-banner-private.h: add has_been_wrapped and
8728 has_been_truncated fields.
8730 2008-04-07 Sven Herzberg <sven@imendio.com>
8732 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8733 local values in hildon_date_editor_size_allocate
8735 * src/hildon-date-editor.c: moved the real allocation code into the
8738 2008-04-07 Sven Herzberg <sven@imendio.com>
8740 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8741 local values in hildon_date_editor_size_allocate
8743 * src/hildon-date-editor.c: merged the two if() branches together
8745 2008-04-07 Sven Herzberg <sven@imendio.com>
8747 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8748 local values in hildon_date_editor_size_allocate
8750 * src/hildon-date-editor.c: changed the arguments of the if()
8753 2008-04-07 Sven Herzberg <sven@imendio.com>
8755 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8756 local values in hildon_date_editor_size_allocate
8758 * src/hildon-date-editor.c: split the calculation of the allocation
8759 from the real allocation
8761 2008-03-27 Michael Natterer <mitch@imendio.com>
8763 Fixes: NB#81696: The passcode is not overwritten even after
8766 * src/hildon-code-dialog.c
8767 (hildon_code_dialog_button_clicked)
8768 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8769 because that doesn't overwrite selected text. Instead, emit the
8770 "commit" signal on the entry's im_context so the entry's normal
8771 insert logic is triggered. Set the cursor to the end of the entry
8772 after each insert operation so that we *only* insert in the middle
8773 of the text if something was selected.
8775 2008-03-27 Michael Natterer <mitch@imendio.com>
8777 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8778 selector cannot be opened
8780 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8781 when the popup color selector is created. Please connect to this
8782 signal in order to set the dialog's help ID.
8784 2008-03-25 Sven Herzberg <sven@imendio.com>
8786 Fixes: MB#1212: Hide info banners (infoprints) on click
8788 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8789 extracted the close event simulation into an extra function
8790 (hildon_banner_button_press_event): simulate a close event and destroy
8791 the widget if the event wasn't handled
8792 (hildon_banner_class_init): added the button_press_event handler
8793 (hildon_banner_init): added button-press events to the widget
8795 2008-03-25 Sven Herzberg <sven@imendio.com>
8797 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8798 Patch from: Mohammad Anwari <mdamt@maemo.org>
8800 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8801 instead of the right in RTL mode
8802 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8803 breadcrumb button list in RTL mode
8804 * src/hildon-caption.c: mirror the appearance of the caption widget in
8806 * src/hildon-date-editor.c: mirror appearance of the date editor in
8808 * src/hildon-time-editor.c: mirror appearance of the time editor in
8810 * src/hildon-window.c: fix the position of the popup in RTL mode
8812 2008-03-25 Sven Herzberg <sven@imendio.com>
8814 Amendment to the fix of NB#22072. Fix compilation.
8816 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8818 2008-03-19 Sven Herzberg <sven@imendio.com>
8820 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8823 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8824 timeout id properly when the timeout will disappear this leaves no
8825 artifacts around in the destroy(); there will only be the timeout
8826 created by hildon_banner_ensure_timeout() and adding a new timeout
8827 will also work if the timeout gets removed because the timeout_handler
8830 2008-03-19 Michael Natterer <mitch@imendio.com>
8832 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8834 * src/hildon-volumebar.c
8835 * src/hildon-vvolumebar.c
8836 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8837 the widget becomes focussable at all.
8839 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8840 set the focus to wither the mute button or the volumebar.
8842 Remove own "can-focus" property and instead listen to
8843 notify::can-focus in order to update the widget's state.
8845 Implement GtkWidget::focus() and make sure we can also *leave* the
8846 widget, not only enter it, depending on volumebar orientation and
8847 requested focus direction.
8849 Clean up set_mute() to cooperate nicely with all the above.
8851 2008-03-04 Michael Natterer <mitch@imendio.com>
8853 Fixes: NB#78481: information banners are hidden under browser menu
8855 * src/hildon-banner.c: call gtk_window_present() on the banners so
8856 they are risen if they are already visible.
8858 2008-03-03 Sven Herzberg <sven@imendio.com>
8860 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8862 * examples/hildon-window-menu-example.c: (main): extended the window
8863 menu example to serve as a testcase for automatically added
8864 accelerator groups, too
8865 * src/hildon-window.c: (hildon_window_add_accel_group),
8866 (hildon_window_set_menu): added patch by Tommi Komulainen
8868 2008-03-03 Sven Herzberg <sven@imendio.com>
8870 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8872 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8873 knowledge about the border allocators used within GTK+
8875 2008-02-26 Sven Herzberg <sven@imendio.com>
8877 Fixes: MB#2981: Build with asserts broken
8879 * src/hildon-date-editor.c,
8880 * src/hildon-number-editor.c,
8881 * src/hildon-time-editor.c,
8882 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8883 the proper GType instance check
8885 2008-02-25 Sven Herzberg <sven@imendio.com>
8887 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8889 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8890 * examples/hildon-window-menu-example.c: (main): explicitly show
8892 * src/hildon-window.c:
8893 (hildon_window_set_main_menu): moved most of the code from set_menu()
8894 to this place; skipped the call to gtk_widget_show_all(); also didn't
8895 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8896 (hildon_window_set_menu): removed most of the code, just keep the
8897 questionable gtk_widget_show_all()
8898 * src/hildon-window.h: added the new function and deprecate the old
8901 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8907 * debian/changelog: Updating.
8909 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8912 * pkgconfig/Makefile.am:
8913 * pkgconfig/hildon.pc.in:
8916 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8917 use newly created API_MAJOR_VERSION.
8919 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8925 * debian/changelog: Updating.
8927 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8929 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8931 Add outer_border style property, we use it but don't define it (!).
8935 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8937 * examples/hildon-bread-crumb-trail-example.c (main):
8941 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8943 Fix logic for the bread crumb trail node removal.
8947 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8953 * debian/changelog: Updating.
8955 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8957 Patch by Alejandro to get/set passwords dialogs accesibility.
8959 * hildon-1/src/hildon-get-password-dialog.c:
8960 * hildon-1/src/hildon-set-password-dialog.c:
8961 Set atk_set_name to the passwd entries in order to allow
8962 accessibility by name on this entries.
8964 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8969 * debian/control: Updating gtk dep.
8971 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8973 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8974 USE_MAEMO_GTK is enabled.
8976 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8978 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8979 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8981 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8987 * debian/changelog: Updating.
8989 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8991 * examples/Makefile.am:
8992 * examples/hildon-logical-color-example.c:
8993 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8994 applied + adding a test case. Fixes: NB#71660.
8996 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8998 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8999 to be visible, fixes warning on map for windows without toolbars.
9001 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9003 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9004 2.11.0, add a check for that besides the MAEMO_GTK check.
9006 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * debian/changelog: Updating.
9014 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9016 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9017 visibility. Fixes: NB#70842 and MB#615.
9019 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9021 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9022 set the separator as no-show-all so it doesn't unintentionally appear when
9023 someone does a show_all.
9025 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9027 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9028 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9029 toplevel item. Fixes: NB#62031
9031 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9033 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9034 fix the name of the function in the docs.
9036 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9042 * debian/changelog: Updating.
9044 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9046 * examples/hildon-banner-long-example.c: Adding a test-case for long
9049 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9051 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9053 * src/hildon-color-chooser-dialog.c:
9054 * src/hildon-color-chooser.c:
9055 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9056 memory leaks in font selector and color selector. Fixes: NB#70499 and
9059 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9061 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9063 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9066 little bit bigger. Fixes: #NB63694.
9068 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * debian/changelog: Updating.
9076 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9079 * doc/hildon-docs.sgml:
9080 * doc/images/bread-crumb-trail.png:
9081 * doc/images/calendar-popup.png:
9082 * doc/images/caption.png:
9083 * doc/images/code-dialog.png:
9084 * doc/images/color-button.png:
9085 * doc/images/color-chooser-dialog.png:
9086 * doc/images/color-chooser.png:
9087 * doc/images/controlbar.png:
9088 * doc/images/date-editor.png:
9089 * doc/images/font-selection-dialog.png:
9090 * doc/images/get-password-dialog.png:
9091 * doc/images/hvolumebar.png:
9092 * doc/images/login-dialog.png:
9093 * doc/images/note.png:
9094 * doc/images/number-editor.png:
9095 * doc/images/range-editor.png:
9096 * doc/images/seekbar.png:
9097 * doc/images/set-password-dialog.png:
9098 * doc/images/sort-dialog.png:
9099 * doc/images/time-editor.png:
9100 * doc/images/time-picker.png:
9101 * doc/images/vvolumebar.png:
9102 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9103 Adding the bread-crumb-trial and helpers to the documentation.
9105 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9107 * examples/hildon-find-toolbar-example.c:
9108 * src/hildon-find-toolbar.c:
9109 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9110 actually continue firing the other handlers if connected. Adding a new
9112 hildon_find_toolbar_get_last_index that gets the index of the most
9113 recently added (last) item. Fixes: NB#52301.
9115 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9117 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9118 behaviour. Fixes: NB#68610.
9120 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9122 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9125 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9127 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9128 when realizing the banner. Should make the infonbanner effect a bit more
9131 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * src/hildon-volumebar.c:
9134 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9135 hildon_volumebar_set_range_insensitive_message and
9136 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9138 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * src/hildon-window.c: Fixing the border freeing on destroy.
9142 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * src/hildon-code-dialog-private.h:
9145 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9146 kw keyboard support in HildonCodeDialog.
9148 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9154 * debian/changelog: Updating.
9156 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9158 * src/hildon-date-editor.c:
9159 * src/hildon-number-editor.c:
9160 * src/hildon-private.c:
9161 * src/hildon-private.h:
9162 * src/hildon-time-editor.c:
9163 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9164 handling in subclassed composite widgets. Fixes: NB#66628.
9166 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9168 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9169 from destroy_ callback as it introduces problems in async dbus signal
9170 handlers. Fixes NB#66673.
9172 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * examples/hildon-hvolumebar-example.c:
9175 * src/hildon-volumebar.c: Improving the focus handling in the
9176 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9177 set_property accessor so that "mute" property can be actually set. I'm
9178 scared that nobody noticed it's totally broken.
9180 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9185 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9187 * src/hildon-calendar.c:
9188 * src/hildon-number-editor.c:
9189 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9190 matches the spec of 6 chars per second. Fixes: NB#60489.
9192 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9194 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9195 gtk_style_lookup_color sometime returns FALSE even though color was
9196 found and values were filled properly. Weird. Removing the warning for the
9199 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9201 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9202 expand vertically. Adding some extra space to the find toolbar buttons to
9203 make them thumbable. Fixes NB#66060.
9205 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9207 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9208 popup with "Ok" and "Cancel". Fixes NB#59299.
9210 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9212 * src/hildon-calendar.c: Process all window updates before executing next
9213 timeout. Fixes: NB#54146.
9215 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9221 * debian/changelog: Updating.
9223 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9225 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9226 the client event and ignore it, since we use the delete event to close
9229 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 * src/hildon-helper.c: Remove the bogus warning about color not being
9232 found. Fixes NB#58352.
9234 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * examples/Makefile.am:
9237 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9238 HildonSeekbar widget inside a toolbar.
9240 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9242 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9243 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9244 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9245 don't want to be closed by non-temporary windows on map.
9247 Also use G_DEFINE_TYPE instead of manually typed code.
9249 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9256 * debian/rules: Updating.
9258 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9260 * examples/Makefile.am:
9261 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9262 bug NB#61128. Strangely it works.
9264 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9266 * src/hildon-date-editor.c: When the date editor entry has been changed
9267 but the numbers of characters < max, turn off the skip validation flag.
9268 Prevents a situation when we enter first a valid year and later re-write
9269 it with an invalid one. Fixes NB#60154.
9271 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9273 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9274 code dialog. Fixes NB#64355.
9276 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9279 switching the page. Fixes NB#49374.
9281 * examples/Makefile.am:
9282 * examples/hildon-wizard-dialog-example.c: Adding an example for
9283 HildonWizardDialog that shows how to handle manual sensitivity setting on
9286 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9290 * src/hildon-version.h.in:
9291 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9293 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9295 * src/hildon-volumebar.c: Updating the docs.
9297 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * debian/changelog: Updating.
9305 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9307 * src/hildon-find-toolbar.c:
9308 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9309 selected item: hildon_find_toolbar_set_active,
9310 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9311 hildon_find_toolbar_get_active_iter . They correspond to respective
9312 GtkComboBox functions.
9314 * examples/Makefile.am:
9315 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9318 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9320 * examples/Makefile.am:
9321 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9324 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9325 when font size > 32 and we pack a focusable widget inside. Actually using
9326 the default response would work too, but since we don't show default
9327 response state in any way (no theming) it would not be visible to the
9328 user. Fixes NB#63430.
9330 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9332 * src/hildon-date-editor.c: Adding the missing variable setter in the
9333 set_property handler. Fixes NB#54182.
9335 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9337 * src/hildon-window.h: Changing the long key press time from 1500ms to
9338 800ms as requested in NB#63700. I have a bad feeling about this, let's
9339 see... Fixes NB#63700.
9341 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9343 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9344 hildon_time_picker_map, hildon_time_picker_realize,
9345 hildon_time_picker_style_set): Split the contents of map to more
9346 appropriate functions; set window decorations on realize and update
9347 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9349 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9354 * debian/changelog: Updating.
9356 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9358 * src/Makefile.am: fixed installation of the header files
9360 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9366 * debian/changelog: Updating.
9368 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9370 * configure.ac: Removing some remaining of --enable-xan.
9372 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9374 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9375 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9377 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9378 2.10.12-osso6 because the move-focus signal needs to be available in
9381 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9383 * examples/Makefile.am:
9384 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9385 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9386 fine. Prolly NB#61128 is fixed now.
9388 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9390 * src/hildon-volumebar.c:
9391 * src/hildon-volumebar.h: Adding the
9392 hildon_volumebar_set_range_insensitive_message and
9393 hildon_volumebar_set_range_insensitive_messagef functions to set
9394 insensitive message on the slider of the volumebar. Fixes NB#61129.
9396 * examples/Makefile.am:
9397 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9398 test the new insensitive messsage functionality on HildonVolumebar.
9400 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9402 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9405 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9407 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9408 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9409 button on after clearing the trail.
9411 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9413 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9415 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9417 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9418 by splitting the installed headers in generated and non-generated groups. Use
9419 only the non-generated headers to create the hildon-enum-types.h file.
9421 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9423 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9425 * src/hildon-window.c: Hide the window before performing the destroy.
9426 Should make the app closing a little tiny bit more snappy.
9428 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9430 * src/hildon-seekbar.c: add gtkrange.h header
9431 * src/hildon-caption.c: remove unused variable
9433 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9435 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9438 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9444 * debian/changelog: Updating.
9446 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9448 * src/hildon-window.c (hildon_window_window_state_event,
9449 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9450 escape timeout on focus-out-event rather than notify::is-topmost; the
9451 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9453 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9455 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9456 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9458 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9460 * src/hildon-window: actually, you need to use the macro always, there's
9461 no private pointer in the instance structure. We should have cleaned this up
9462 when we had the chance...
9464 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9466 * src/hildon-window.c: do not get the private date from HildonWindow before
9467 it passes the g_return_if_fail check. Once it's passed the test, there's no
9468 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9469 if you are only going to access the data once. Whitespace cleanups.
9471 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9473 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9474 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9476 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9482 * debian/changelog: Updating.
9484 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9486 * src/hildon-window.c: When destroying the window, remove (if exists) the
9487 escape timeout handler. Fixes #NB59276.
9489 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9491 * src/hildon-banner.c: When realizing the widget, set the window
9492 transiency. Setting the transiency in the gobject constructor is not
9493 good, as the widget is not realized at that point. Fixes: #NB56624.
9495 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9497 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9498 Add padding for future expansions.
9500 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9502 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9503 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9504 will fake an activation on the previous to the last item of the trail, so
9505 the effect can be overrided by the developer as usual.
9506 Also change the callback for the back button to do the same thing, so its
9507 effect can be overrided too. Fixes: NB#58982
9509 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9511 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9512 HildonCaption. Fixes NB#52379.
9514 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9516 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9517 the internal state of the trail after the user has had the chance of executing
9518 his handler for the signal. Specifically, it may happen that the activated button
9519 is removed and the user still lets the default handler run. This would segfault
9522 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9524 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9525 scrollbar to the preview dialog. Fixes NB#54147.
9527 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9529 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9530 max/min year properties can be altered, so the client can modify it
9531 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9533 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9535 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9536 hildonlike by default. Fixing a problem with disappearing arrows when
9537 scrolling through months and years. Fixes NB#54127.
9539 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9541 * examples/hildon-date-editor-example.c: Adding error callback to the date
9544 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9550 * configure.ac: Updating.
9552 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9554 * configure.ac: Adding a special '--enable-xan' configure option that
9555 turns off the -Werror compilation setting. Usefull for development.
9557 * src/hildon-calendar.c:
9558 * src/hildon-number-editor.c:
9559 * src/hildon-time-picker.c: Adding the 5* multiplier to
9562 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9564 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9565 instead of g_object_ref + gtk_object_sink.
9567 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9573 * debian/changelog: Updating.
9575 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9577 * src/hildon-color-chooser-dialog.c:
9578 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9579 straight from Tommi labs.
9581 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9583 * examples/hildon-finger-example.c: Correcting the header file path.
9585 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9586 the changed signal. Fixes a small memory leak.
9588 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9592 * src/hildon-banner.c: Importing several usefull fixes from the
9593 ubuntu-mobile branch.
9595 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9597 * examples/Makefile.am:
9598 * examples/hildon-finger-example.c: Adding a finger-checking code
9601 * src/hildon-font-selection-dialog.c: Do not allocate the color
9602 structure using the g_new. Fixes NB#54061.
9604 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9606 * src/hildon-helper.c: Correcting tabs in file.
9608 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9610 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9611 control the visibility of the children.
9613 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9615 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9621 * debian/changelog: Updating.
9623 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9625 * src/hildon-bread-crumb-trail.c:
9626 (hildon_bread_crumb_trail_size_allocate):
9628 Make the back button always a square.
9630 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9632 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9633 from the .c file as it's a private file.
9635 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9637 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9638 uses slightly bigger height.
9640 * src/hildon-font-selection-dialog.c: Adding some checks before
9641 freeing memory in the font selection dialog.
9643 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9645 * src/hildon-font-selection-dialog.c: Adding a small check when
9648 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9649 buttons sensitivity on page switching.
9651 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9653 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9654 internal details of adding a bread crumb to the trail.
9656 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9662 * debian/changelog: Updating.
9664 * src/hildon-bread-crumb-trail.h:
9665 * src/hildon-bread-crumb.h: Changing the API guard to
9666 HILDON_ENABLE_UNSTABLE_API.
9668 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9676 * src/hildon-helper.h: Updating.
9678 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9686 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9690 * src/hildon-helper.h: Small fix to make the package actually compile.
9692 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9694 * src/hildon-bread-crumb-trail.h:
9695 * src/hildon-bread-crumb.h:
9697 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9698 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9700 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9702 * examples/hildon-bread-crumb-trail-example.c:
9704 * src/hildon-bread-crumb-trail.c:
9705 * src/hildon-bread-crumb-trail.h:
9706 * src/hildon-bread-crumb.c:
9707 * src/hildon-bread-crumb.h:
9708 * src/hildon-marshalers.list:
9709 * src/hildon-bread-crumb-widget.c:
9710 * src/hildon-bread-crumb-widget.h:
9712 Slight change in the widget design. The bread crumb trail API is
9713 unchanged, but HildonBreadCrumb is now an interface. A *private*
9714 implementation, hildon-bread-crumb-widget, is provided and used
9715 internally by the trail for the push_text/push_icon functions.
9717 The generic push API is still available, so anyone can implement
9718 and use its own bread crumb widget.
9720 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9722 * debian/rules: Fixing the shlibs.
9724 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9726 * src/hildon-banner.c: Fixing a problem with timed banners having
9727 their parrent destroyed before they are.
9729 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9731 * src/hildon-bread-crumb.c:
9732 * src/hildon-bread-crumb.h:
9734 Make the get_natural_size function a vfunc.
9736 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9738 * src/hildon-bread-crumb.c:
9739 * src/hildon-bread-crumb-trail.c:
9743 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9750 * debian/changelog: Updating for release.
9752 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9754 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9755 don't leak the pango layout.
9757 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9760 * examples/hildon-bread-crumb-trail-example.c:
9764 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9766 * debian/changelog: Removing the bug-fixed entries that were actually
9767 resolved as WONTFIX.
9769 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9772 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9774 * src/hildon-bread-crumb-trail.c:
9775 * src/hildon-bread-crumb-trail.h:
9776 * src/hildon-bread-crumb.c:
9777 * src/hildon-bread-crumb.h:
9781 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9783 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9784 until it's passed the type check.
9786 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9788 * examples/hildon-bread-crumb-trail-example.c
9792 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9794 * examples/Makefile.am
9795 * examples/hildon-bread-crumb-trail-example.c
9797 * src/hildon-bread-crumb-trail.c
9798 * src/hildon-bread-crumb-trail.h
9799 * src/hildon-bread-crumb.c
9800 * src/hildon-bread-crumb.h
9802 New HildonBreadCrumbTrail widget.
9804 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9806 * src/hildon-range-editor.c (hildon_range_editor_init),
9807 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9808 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9809 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9810 hildon_time_editor_class_init, hildon_time_editor_init),
9811 src/hildon-get-password-dialog.c (invalid_input,
9812 hildon_get_password_set_property, hildon_get_password_get_property,
9813 create_contents, hildon_get_password_dialog_set_max_characters),
9814 src/hildon-set-password-dialog.c (create_contents),
9815 src/hildon-date-editor.c (hildon_date_editor_init),
9816 src/hildon-login-dialog.c (hildon_login_dialog_init),
9817 src/hildon-number-editor.c (hildon_number_editor_init),
9818 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9819 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9820 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9821 configure option and adding the respective checks in the code.
9822 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9823 hildon_calendar_drag_data_received): fixed some build warnings.
9825 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9827 * debian/changelog: A 1.0.0 release notes.