1 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
3 [2.2.0 Release Candidate 5]
6 * debian/changelog: bump and updates
8 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
10 Do not set any flag for empty legacy menus
12 * hildon/hildon-program.c: (hildon_program_set_common_menu):
13 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
14 This will probably not work fine with empty legacy menus added to
15 programs or windows and populated later, but so it's life.
17 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
19 Update the application menu flag for application-wise windows
21 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
22 (hildon_program_set_common_app_menu): Also take into account the visibility
25 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
27 Emit HildonAppMenu::changed when menu items change visibility
29 * hildon/hildon-app-menu.c: (item_visibility_changed),
30 (filter_visibility_changed): Also emit ::changed on
31 visibility of items changed.
33 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
35 Do not set the menu flag in a window when a menu is empty
37 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
38 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
39 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
40 changes by using the HildonAppMenu::changed signal.
42 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
44 Add HildonAppMenu::changed signal
46 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
47 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
48 Emit a new HildonAppMenu:changed signal when there are changes in
51 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
53 Add hildon_app_menu_has_visible_children() private method
55 * hildon/hildon-app-menu-private.h: Add below private method.
56 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
57 New method to check the visibility of a HildonAppMenu children.
59 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
61 Set the window menu flag for application-common menus
63 * hildon/hildon-program.c:
64 (+hildon_program_window_set_common_menu_flag): Set or remove the
65 menu flag from a window only this doesn't have its own menu.
66 (+hildon_program_set_common_menu_flag): adjust menu flag for
67 all windows in the program.
68 (hildon_program_add_window),
69 (hildon_program_remove_window): add/remove the menu flag when
70 a window is added to the program.
72 Fixes: NB#137814 (Indicator for view menu in app title area)
74 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
76 Set a special window property for windows with menus
78 * hildon/hildon-window-private.h: Add private
79 hildon_window_set_menu_flag()
80 * hildon/hildon-window.c: (+do_set_has_menu),
81 (+hildon_window_set_menu_flag): set
82 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
83 or remove the property.
84 (hildon_window_set_main_menu),
85 (hildon_window_set_app_menu): call above methods to set or remove
86 the property when a menu is added or removed from the window.
88 Partially fixes: NB#137814 (Indicator for view menu in app title area)
90 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
92 Rename and move the methods to set flags to hildon-private.h
94 * hildon/hildon-gtk.c: (do_set_progress_indicator),
95 (do_set_do_not_disturb), (do_set_portrait_flags): call
96 the new private method hildon_gtk_window_set_clear_window_flag()
97 (hildon_gtk_window_set_progress_indicator),
98 (hildon_gtk_window_set_do_not_disturb),
99 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
100 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
101 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
103 * hildon/hildon-private.h: Add the two new private methds.
105 2009-09-11 Alejandro G. Castro <alex@igalia.com>
107 * hildon/hildon-pannable-area.c,
108 (hildon_pannable_area_init),
109 (hildon_pannable_area_size_allocate),
110 (hildon_pannable_area_button_release_cb): More tuning of the
111 speed, adding a way to calculate the acceleration and fast-panning
112 based on the child size.
114 2009-09-10 Alberto Garcia <agarcia@igalia.com>
116 * hildon/hildon-touch-selector.c
117 (hildon_touch_selector_class_init):
118 Documentation updates
122 2009-09-10 Alberto Garcia <agarcia@igalia.com>
124 * hildon/hildon-touch-selector.c:
125 Documentation updates
127 Fixes: MB#5104 (HildonTouchSelector docs should say no
128 HildonPannableArea is necessary)
130 2009-09-08 Alejandro G. Castro <alex@igalia.com>
132 * hildon/hildon-pannable-area.c,
133 (hildon_pannable_area_timeout): Fixed problem with the timeout
134 function, we need to move before decelerating the first time or we
135 are loosing the first jump.
137 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
139 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
141 [2.2.0 Release Candidate 3]
143 * debian/changelog: updates
145 2009-09-07 Alejandro G. Castro <alex@igalia.com>
147 * hildon/hildon-pannable-area.c,
148 (hildon_pannable_area_class_init): Increased max speed.
150 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
152 [2.2.0 Release Candidate 2]
155 * debian/changelog: bump version, updates
157 2009-09-07 Alejandro G. Castro <alex@igalia.com>
159 * hildon/hildon-pannable-area.c,
160 (hildon_pannable_area_class_init),
161 (hildon_pannable_area_button_release_cb): More tuning for the
164 2009-09-07 Alejandro G. Castro <alex@igalia.com>
166 * hildon/hildon-pannable-area.c,
167 (hildon_pannable_area_class_init):
168 Change the default value of the scrollbar_fade_delay.
170 Fixes: NB#127018 (Panning indicator fades out too slowly)
172 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
174 [2.2.0 Release Candidate 1]
177 * configure.ac: Bump version
178 * debian/changelog: updates
180 2009-09-04 Alejandro G. Castro <alex@igalia.com>
182 * hildon/hildon-pannable-area.c,
183 (hildon_pannable_area_init),
184 (hildon_pannable_area_button_press_cb),
185 (hildon_pannable_area_button_release_cb): Added a new acceleration
186 system to help traversing big lists, tuned the stop threshold.
188 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
190 2009-09-04 Alberto Garcia <agarcia@igalia.com>
192 * hildon/hildon-window.h:
193 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
195 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
197 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
201 * configure.ac: bump version
203 * debian/changelog: updates
205 2009-09-04 Alberto Garcia <agarcia@igalia.com>
207 * hildon/hildon-entry.c
208 * hildon/hildon-text-view.c:
209 Documentation updates
211 2009-09-04 Alberto Garcia <agarcia@igalia.com>
213 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
214 Redraw menu when the number of items change.
216 Fixes: NB#131911 (Appmenu does not resize properly, when number of
219 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
221 * hildon/hildon-pannable-area.c:
222 (hildon_pannable_area_launch_fade_timeout),
223 (hildon_pannable_area_motion_event_scroll),
224 (hildon_pannable_area_check_move),
225 (hildon_pannable_area_button_release_cb),
226 (hildon_pannable_area_scroll_to):
228 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
229 area drawing operations, since this is the recommended for drawing
232 Fixes: NB#110894 (In event view containing very large description
233 field, application menu is displayed blank while panning)
234 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
237 2009-09-03 Alberto Garcia <agarcia@igalia.com>
239 * doc/hildon-sections.txt
240 * hildon/hildon-button.c
241 * hildon/hildon-edit-toolbar.c
242 * hildon/hildon-gtk.[ch]
243 * hildon/hildon-main.c
244 * hildon/hildon-program.c
245 * hildon/hildon-stackable-window.c:
246 Documentation updates
248 2009-08-28 Alberto Garcia <agarcia@igalia.com>
250 * hildon/hildon-app-menu.c
251 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
252 Close the menu if it receives a grab-notify signal.
254 Fixes: NB#134533 (UI freezes if we show a dialog with
255 gtk_dialog_run() while a menu is opened)
257 2009-08-27 Alejandro G. Castro <alex@igalia.com>
259 * hildon/hildon-pannable-area.c,
260 (hildon_pannable_area_class_init): Reverted tuning modifications:
261 "Pannign needs to be faster" and "Pannable kinetics in large lists
264 2009-08-26 Alberto Garcia <agarcia@igalia.com>
266 * hildon/hildon-sound.c (hildon_play_system_sound):
267 Set "module-stream-restore.id" to "x-maemo-system-sound" when
268 playing system sounds
270 Fixes: NB#133767 (Information and confirmation note sound should
271 follow system profile setting)
273 2009-08-26 Alejandro G. Castro <alex@igalia.com>
275 * hildon/hildon-pannable-area.c,
276 (hildon_pannable_area_class_init): Added more force and increased
277 the max speed threshold.
279 Fixes: NB#135344 (Pannign needs to be faster)
281 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
283 [Release 2.1.96, this time for real]
286 * debian/changelog: updates
288 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
290 * hildon/hildon-pannable-area.c
291 (hildon_pannable_area_get_topmost): change the computation of the
292 co-ordinates transformed when no one of the children is a topmost
294 Fixes: NB#133252 (Opening any feed item from RSS always opens the
295 first feed item in browser)
297 2009-08-26 Alejandro G. Castro <alex@igalia.com>
299 * hildon/hildon-pannable-area.c,
300 (hildon_pannable_area_remove_timeouts): Adding this new function
301 with the code that removes the timeouts of the widget.
302 (hildon_pannable_area_dispose),
303 (hildon_pannable_area_unrealize): Use the new remove function to
304 stop timeouts when unrealizing and disposing.
305 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
306 calculation to avoid negative values in some cases.
308 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
310 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
312 * examples/hildon-check-button-example.c: (button_toggled_cb):
313 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
314 (hildon_check_button_set_active), (hildon_check_button_new),
315 (hildon_check_button_clicked), (hildon_check_button_class_init):
316 * hildon/hildon-check-button.h:
317 * hildon/hildon-set-password-dialog.c: (create_contents),
318 (hildon_set_password_response_change), (hildon_checkbox_toggled):
320 Revert "Make HildonCheckButton derive from GtkToggleButton"
322 2009-08-21 Alberto Garcia <agarcia@igalia.com>
326 * configure.ac: bump version
328 * debian/changelog: updates
330 2009-08-21 Alberto Garcia <agarcia@igalia.com>
332 * hildon/hildon-check-button.h
333 * hildon/hildon-check-button.c
334 (hildon_check_button_clicked, hildon_check_button_class_init):
335 Make HildonCheckButton derive from GtkToggleButton
336 (hildon_check_button_toggled, hildon_check_button_set_active)
337 (hildon_check_button_get_active):
338 Deprecate unnecessary HildonCheckButton API and use the
339 one from GtkToggleButton instead.
341 * hildon/hildon-set-password-dialog.c (create_contents)
342 (hildon_set_password_response_change, hildon_checkbox_toggled)
343 * examples/hildon-check-button-example.c (button_toggled_cb):
344 Update to use the GtkToggleButton API
346 Fixes: MB#4739 (HildonCheckButton should inherit from
349 Fixes: NB#132661 (HildonCheckButton should inherit from
352 2009-08-20 Alberto Garcia <agarcia@igalia.com>
354 * hildon/hildon-pannable-area.c
355 (hildon_pannable_area_class_init):
356 Increase default value of HildonPannableArea:velocity_max to 2000
358 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
360 2009-08-18 Alberto Garcia <agarcia@igalia.com>
364 * configure.ac: bump version
366 * debian/changelog: updates
368 2009-08-11 Alejandro G. Castro <alex@igalia.com>
370 * hildon/hildon-pannable-area.c
371 (hildon_pannable_area_size_allocate): Checked the scrollbars
372 before the first try when defining the layout, avoids two
373 allocations in some situations.
375 Fixes: NB#131794 (pannable area produces unnecessary allocations
376 causing performance problems)
378 2009-08-11 Alejandro G. Castro <alex@igalia.com>
380 * hildon/hildon-pannable-area.c
381 (hildon_pannable_area_button_press_cb),
382 (hildon_pannable_area_motion_notify_cb),
383 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
384 the spurious ref added in the copy, fixes leak of window.
386 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
387 if it's realized without showing and then deleted)
389 2009-08-10 Alberto Garcia <agarcia@igalia.com>
393 * configure.ac: bump version
395 * debian/changelog: updates
397 2009-08-06 Alberto Garcia <agarcia@igalia.com>
399 * examples/hildon-hvolumebar-timer-example.c
401 * hildon/hildon-banner.c
402 (hildon_banner_timeout, hildon_banner_ensure_timeout)
403 * hildon/hildon-calendar.c
404 (calendar_timer, start_spinning)
405 * hildon/hildon-color-chooser.c
406 (inline_limited_expose)
407 * hildon/hildon-date-editor.c
408 (hildon_date_editor_entry_focus_in)
409 (hildon_date_editor_entry_validate)
410 (hildon_date_editor_entry_select_all)
411 * hildon/hildon-note.c
413 * hildon/hildon-number-editor.c
414 (hildon_number_editor_button_pressed)
415 (hildon_number_editor_start_timer, do_mouse_timeout),
416 (add_select_all_idle, hildon_number_editor_select_all)
417 * hildon/hildon-time-editor.c
418 (hildon_time_editor_entry_focus_in)
419 (highlight_callback, hildon_time_editor_validate)
420 (hildon_time_editor_entry_select_all)
421 * hildon/hildon-time-picker.c
422 (hildon_time_picker_arrow_press)
423 (hildon_time_picker_key_repeat_timeout)
424 * hildon/hildon-window.c
425 (hildon_window_key_press_event)
426 (hildon_window_escape_timeout):
427 Replace all calls to g_idle_add/g_timeout_add with their
428 gdk_threads counterparts.
430 Fixes: NB#126198 (gdk-threads API should be used to install idle
431 and timeout handlers)
433 2009-08-06 Alejandro G. Castro <alex@igalia.com>
435 * hildon/hildon-pannable-area.c,
436 (hildon_pannable_area_class_init): Increased the overshooting max
437 speed to get a faster effect.
438 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
439 deceleration of the overshooting
440 (hildon_pannable_area_button_release_cb): Calculate initial
441 overshooting speed when finger on the screen using the distance to
442 launch the effect faster.
444 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
445 lists with slow row renderers)
447 2009-08-05 Alberto Garcia <agarcia@igalia.com>
449 * doc/hildon-sections.txt: Add new functions
451 2009-08-05 Alberto Garcia <agarcia@igalia.com>
453 * hildon/hildon-text-view.[ch]
454 * hildon/hildon-entry.[ch]:
455 Add deprecation guards around deprecated functions.
457 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
459 * hildon/hildon-app-menu.c: Remove leftover function declaration.
461 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
463 Remove the grab from HildonAppMenu
465 * hildon/hildon-app-menu.c:
466 Now hildon-desktop places a blocker window behind the menu to handle
467 its closing, so the grab is no longer needed. This simplifies its
468 implementation and allows the system blanking to succeed.
470 Fixes: NB#130910 (Screen gets unlocked when menu is open)
472 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
476 * configure.ac: bump version
478 * debian/changelog: updates
479 * debian/control: raise debian dependency on GTK+
481 2009-08-04 Alberto Garcia <agarcia@igalia.com>
483 * hildon/hildon-text-view.c
484 * hildon/hildon-entry.c:
485 Remove all placeholder code from HildonEntry and HildonTextView
486 and use the API in GtkEntry and GtkTextView instead.
488 * examples/hildon-entry-example.c
489 * examples/hildon-text-view-example.c
490 * examples/hildon-wizard-dialog-example.c
491 * hildon/hildon-get-password-dialog.c
492 * hildon/hildon-login-dialog.c
493 * hildon/hildon-picker-dialog.c
494 * hildon/hildon-set-password-dialog.c
495 * hildon/hildon-touch-selector-entry.c:
496 Replace all deprecated calls to HildonEntry and HildonTextView
497 with their Gtk counterparts.
499 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
502 2009-08-03 Alejandro G. Castro <alex@igalia.com>
504 * hildon/hildon-pannable-area.c,
505 (hildon_pannable_area_check_move),
506 (hildon_pannable_area_button_release_cb),
507 (hildon_pannable_area_scroll_to): Reverted the priority change of
508 the timeout, in some situations, slow renderers, the click do not
509 make it to the mainloop on time.
511 Fixes NB#131013 (unable to stop panning file manager by tapping on
514 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
516 * configure.ac: bump version
518 * debian/changelog: updates
520 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
522 * hildon/hildon-touch-selector.[ch]
523 (hildon_touch_selector_center_on_index): New method that allows to center
524 on a item not selected
526 Fixes NB#130291 (New HildonTouchSelector API is required to center on
529 2009-07-29 Alberto Garcia <agarcia@igalia.com>
531 * hildon/hildon-text-view.c
532 (+set_logical_color, +hildon_text_view_style_set)
533 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
534 (hildon_text_view_init)
535 * hildon/hildon-entry.c
536 (+set_logical_color, +hildon_entry_style_set)
537 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
538 (hildon_entry_class_init, hildon_entry_init)
539 * hildon/hildon-button.c
540 (+set_logical_font, +set_logical_color)
541 (hildon_button_style_set, hildon_button_init)
542 (hildon_button_set_arrangement, hildon_button_set_style):
543 Remove all calls to hildon_helper_set_logical_font() and
544 hildon_helper_set_logical_color(), which are recursive, from
547 Fixes: NB#123409 (Showing dialog consumes significant amount of
550 2009-07-29 Alejandro G. Castro <alex@igalia.com>
552 * hildon/hildon-pannable-area.c,
553 (hildon_pannable_area_timeout): Added the process updates of the
554 scrollbars window in the pannable.
556 Fixes: NB#130043 (scrollindicator not smooth while panning)
558 2009-07-23 Alejandro G. Castro <alex@igalia.com>
560 * hildon/hildon-pannable-area.c,
561 (hildon_pannable_area_check_move),
562 (hildon_pannable_area_button_release_cb),
563 (hildon_pannable_area_scroll_to): Increased the priority of the
564 timeout this way it is going to be handled before the events.
566 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
570 * configure.ac: bump version
571 * debian/changelog: updates
573 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
575 * hildon/hildon-entry.c: (set_property): Do not allow to set
576 automatic height and use finger height instead, to prevent an to
577 have a smaller size than than its theme pixbuf.
579 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
581 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
583 * configure.ac: postrelease version bump.
584 * debian/changelog: post release version bump
586 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
591 * configure.ac: Bump version.
592 * debian/changelog: Updates.
594 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
596 * hildon/hildon-note.c: (label_size_request): Take the note
597 padding into account when setting the size request.
599 Fixes: NB#127896 (Information notes text truncated)
601 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
603 * configure.ac: postrelease version bump.
604 * debian/changelog: post release version bump
606 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
611 * configure.ac: Bump version.
612 * debian/changelog: Updates.
614 2009-07-16 Alejandro G. Castro <alex@igalia.com>
617 * hildon/hildon-text-view.c,
618 (hildon_text_view_button_press_event): Grabbed the focus in button
619 press, this way we are sure the widget has the focus in the
620 release event, required for HIM.
622 Fixes: NB#121445 (Virtual keyboard opening is not working in same
623 way for each text entry field)
625 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
627 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
628 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
629 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
630 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
631 (hildon_pannable_area_[gs]et_center_on_child_focus)
632 Redefined GtkContainer set-focus-child signal, in order to center
633 properly on a child when it receives the focus. Defined a new property
634 "center-on-child-focus" in order to activate this feature (deactivated
635 by default). Public get/set methods defined to manage the property.
637 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
639 2009-07-14 László Pere <lpere@blumsoft.eu>
641 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
642 the new size is applied.
644 Fixes: NB#124510 (The Application Menu is distorted when switched
645 between portrait and landscape mode)
646 Fixes: NB#115388 (Power key menu does not resize itself)
648 2009-07-01 Alberto Garcia <agarcia@igalia.com>
650 * hildon/hildon-banner.c (hildon_banner_map):
651 Set banner position after mapping.
653 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
655 * configure.ac: postrelease version bump.
656 * debian/changelog: post release version bump
658 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
663 * configure.ac: Bump version.
664 * debian/changelog: Updates.
666 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
668 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
671 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
673 * tests/check-hildon-banner.c
675 * tests/test_suites.h
676 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
677 were testing deprecated functions.
678 * examples/hildon-banner-example.c: typo on button3 type, that causes
679 a fail compiling with --with-examples but without --disable-deprecated
681 Missed commit in order to fix compilation using '--enable-fatal' and
682 '--disable-deprecated' (see previous commit)
684 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
686 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
687 functions with #ifndef HILDON_DISABLE_DEPRECATED
688 * examples/hildon-find-toolbar.c: Protect deprecated
689 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
690 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
691 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
692 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
694 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
695 to allow proper compilation of deprecated functions defined on the header
697 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
699 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
701 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
702 Cache the panning indicator color.,
703 (hildon_pannable_area_style_set): Query the color on style changes.
704 (hildon_pannable_draw_vscroll),
705 (hildon_pannable_draw_hscroll),
706 (hildon_pannable_area_expose_event): Use the cached panning indicator
707 color instead of looking it up on every expose and more.
709 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
711 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
712 (hildon_pannable_draw_hscroll),
713 (hildon_pannable_area_expose_event): Fix the panning indicator color,
714 so that it's "SecondaryTextColor", as desired.
716 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
718 * hildon/hildon-picker-dialog.c:
719 (selection_completed): take into account HILDON_UI_MODE_NORMAL
720 * hildon/hildon-touch-selector.c
721 (hildon_touch_selector_init): Initialize hildon-ui-mode
722 (hildon_touch_selector_row_activated): new callback for the
723 "row-activated" signal, in order to save the last activated
724 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
725 if the current hildon-ui-mode is coherent with the touch selector
726 (hildon_touch_selector_class_init)
727 (hildon_touch_selector_get_property)
728 (hildon_touch_selector_set_property)
729 Added "hildon-ui-mode" property
730 (disconnect_model_handlers): renamed to clean_column
731 (hildon_touch_selector_remove): use clean_column function
732 (_create_new_column): use the hildon-ui-mode to create the treeview, and
733 only select the first element on HILDON_UI_MODE_EDIT
734 (hildon_touch_selector_column_init): Initialize last_activate
735 (hildon_touch_selector_append_column): check that the touch selector
736 is coherent with the current hildon-ui-mode
737 (hildon_touch_selector_get_hildon_ui_mode)
738 (hildon_touch_selector_set_hildon_ui_mode)
739 Added a getter/setter for the hildon-ui-mode property
740 (hildon_touch_selector_get_last_activated_row): Added this method in
741 order to get the last activated row.
742 * examples/hildon-touch-selector-normal-mode-example.c
743 New example, that shows how to use the HildonTouchSelector in
744 HILDON_UI_MODE_NORMAL
746 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
747 Kristian Rietveld <kris@lanedo.com> advices
749 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
751 * hildon/hildon-time-selector.c: (update_format_policy): Do
752 not call update_format_dependant_columns() if not necessary.
753 (update_format_dependant_columns): Remove unnecessary check for
754 the number of columns.
756 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
758 * hildon/hildon-note.c (+hildon_note_constructor),
759 (hildon_note_class_init), (+hildon_note_set_padding),
760 (hildon_note_rebuild): Install a constructor where to set the
761 padding properties in the note, so that it actually works fine.
762 Use hildon_note_set_padding() for this, and also to set it during
765 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
767 * configure.ac: Bump GTK+ requirement to 2.14.3.
768 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
769 when using maemo-gtk to define proper margins for the notes.
771 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
772 with the dialog edge)
774 2009-06-24 Alberto Garcia <agarcia@igalia.com>
776 * hildon/hildon-banner.c
777 (hildon_banner_class_init):
779 (+hildon_banner_size_request):
780 Request always the full width of the screen.
781 (hildon_banner_realize)
782 (-hildon_banner_check_position, hildon_banner_map):
783 hildon_banner_check_position() is not needed in Hildon 2.2.
784 (-hildon_banner_reset_wrap_state)
785 (hildon_banner_constructor, hildon_banner_init):
786 Remove unnecessary calls to hildon_banner_reset_wrap_state()
787 (+banner_do_set_text)
788 (force_to_wrap_truncated):
789 Remove has_been_wrapped and has_been_truncated attributes.
790 (+reshow_banner, hildon_banner_real_show_information)
791 (hildon_banner_show_information_with_markup)
792 (hildon_banner_show_animation, hildon_banner_show_progress)
793 (hildon_banner_set_text, hildon_banner_set_markup):
794 Refactor code. Shrink banner vertically to use the minimum space
795 necessary everytime the text of the label is updated.
796 (screen_size_changed):
797 Call force_to_wrap_truncated() when the size of the screen
800 Fixes: NB#120500 (only device memory connect mmc in use info
801 banner is left aligned)
803 Fixes: NB#120613 (Size of HildonBanner varies depending on
804 previously opened banners)
806 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
808 * hildon/hildon-color-chooser.c
809 (hildon_color_chooser_pointer_motion): Take the widget allocation
812 Fixes: NB#124385 (Unable to select exact point in color mixing box
813 in color palette dialog)
815 2009-06-23 Alejandro G. Castro <alex@igalia.com>
817 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
818 (hildon_pannable_area_dispose)
819 (hildon_pannable_area_button_press_cb)
820 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
821 (hildon_pannable_area_button_release_cb)
822 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
823 New 'panning-started' and 'panning-finished' signals.
825 Fixes: NB#121732 (New feature request: Signal to pannable area
826 that informs when panning is stopped.)
828 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
830 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
831 instead of hardcoded colon.
833 Fixes: NB#124090 (New calendar wizard title is not using
834 ecdg_ti_caption_separator)
836 2009-06-22 David King <davidk@openismus.com>
838 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
839 constants and functions, as well as correct many typos throughout the
842 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
845 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
847 * configure.ac: postrelease version bump.
848 * debian/changelog: post release version bump
850 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
855 * configure.ac: Bump version.
856 * debian/changelog: Updates.
858 2009-06-18 Alberto Garcia <agarcia@igalia.com>
860 * hildon/hildon-window-stack.c
861 (hildon_window_stack_pop_and_push_list):
862 Prevent windows from having the same stack index
864 2009-06-18 Alberto Garcia <agarcia@igalia.com>
866 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
867 Use the index of the previous window rather than the stack length
868 to calculate the new index.
872 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
874 * hildon/hildon-date-selector.c
875 (hildon_date_selector_select_current_date)
876 (hildon_date_selector_get_date)
877 (hildon_date_selector_select_day):
878 Update the documentation: uses always the range (1-31), as it is obvious
879 that the final one will depend on the month and the year, but globally
880 the range is this, in a similar GtkCalendar approach
881 (hildon_date_selector_get_date):
882 Update the documentation: add NULL as a valid value for the day, month
885 Fix some details, after talk with David King on bug MB#4698
887 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
889 * hildon/hildon-touch-selector-entry.c
890 * hildon/hildon-touch-selector.c
891 Update the documentation of the "text-column" property
893 2009-06-18 David King <davidk@openismus.com>
895 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
896 several typos and errors throughout the documentation.
898 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
901 2009-06-18 Alberto Garcia <agarcia@igalia.com>
903 * hildon/hildon-note.c (hildon_note_realize):
904 Make HildonNote support portrait mode.
906 Fixes: NB#123448 (HildonNote is not portrait-friendly)
908 2009-06-17 Alberto Garcia <agarcia@igalia.com>
910 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
911 Document this function
913 2009-06-17 David King <davidk@openismus.com>
915 * hildon/hildon-date-selector.c
916 (hildon_date_selector_select_current_date)
917 (hildon_date_selector_get_date): Update documentation regarding days,
918 as the day of the month is dependent on both the month and the year.
919 (hildon_date_selector_get_date): Fix documentation of output arguments.
921 Fixes: MB#4698 (DateSelector documentation has bad output argument
922 description, and the day depends on both the month and the year)
924 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
926 * hildon/hildon-caption.c: Other documentation fixes to
929 2009-06-17 David King <davidk@openismus.com>
931 * hildon/hildon-caption.c: Minor documentation updates for
932 HildonCaption. Fixes MB#4697.
934 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
936 * doc/hildon-docs.sgml: Add hildon-version section.
937 * doc/hildon-sections.txt:
938 * hildon/hildon-version.h.in: Document versioning macros and
941 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
943 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
944 from HildonPickerDialog section.
946 2009-06-16 Alberto Garcia <agarcia@igalia.com>
948 * hildon/hildon-banner.c (hildon_banner_bind_style)
949 (screen_size_changed, hildon_banner_init)
950 (hildon_banner_real_show_information)
951 (hildon_banner_show_information_with_markup)
952 (hildon_banner_show_animation, hildon_banner_show_progress):
953 Set a different widget name to banners in portrait mode, for them
954 to be themed correctly.
956 2009-06-16 Alberto Garcia <agarcia@igalia.com>
958 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
959 Set a different widget name to notes in portrait mode, for them to
962 Partially fixes: NB#118401 (HildonNote causes unnecessary
965 2009-06-16 Alberto Garcia <agarcia@igalia.com>
967 * hildon/hildon-note.c (hildon_note_class_init)
968 (+hildon_note_size_request, screen_size_changed):
969 Always request the full width of the screen.
971 Fixes: NB#118375 (unnecessary rescaling of images)
973 2009-06-16 Alejandro G. Castro <alex@igalia.com>
975 * hildon/hildon-pannable-area.c,
976 (hildon_pannable_area_init),
977 (hildon_pannable_area_realize): Replaced old code adding flags in
978 the object init, now we add it with the other flags in the realize
981 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
983 * hildon/hildon-note.c: (hildon_note_class_init): Several
984 documentation improvements to the HildonNote widget.
986 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
988 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
990 Fixes: MB#4556 (HildonNoteType is undocumented)
992 2009-06-15 Alberto Garcia <agarcia@igalia.com>
994 * hildon/hildon-picker-button.c:
995 Explain how HildonPickerButton sets the title of its dialog
997 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
998 the title of its dialog)
1000 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1002 * hildon/hildon-check-button.c:
1003 Documentation updates
1005 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1008 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1010 * hildon/Makefile.am
1011 * hildon/hildon-edit-toolbar-private.h
1012 * hildon/hildon-edit-toolbar.c
1013 (+hildon_edit_toolbar_set_progress_indicator)
1014 (hildon_edit_toolbar_init): Add progress indicator to the
1017 * hildon/hildon-gtk.c
1018 (hildon_gtk_window_set_progress_indicator):
1019 If the window contains a HildonEditToolbar, enable the progress
1020 indicator there too.
1022 * hildon/hildon-private.h
1023 * hildon/hildon-private.c
1024 (+hildon_private_create_animation)
1025 * hildon/hildon-banner.c
1026 (-hildon_banner_create_animation):
1027 Moved to hildon-private.c
1029 Fixes: NB#102373 (Progress indicator also for the Edit mode
1032 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1034 * hildon/hildon-app-menu-private.h
1035 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1036 (hildon_app_menu_add_filter, +menu_item_button_event)
1037 (hildon_app_menu_button_release, hildon_app_menu_init):
1038 Make sure that buttons receive 'button-release-event' in spite of
1039 the grab held by HildonAppMenu
1041 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1043 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1045 * hildon/hildon-app-menu.c
1046 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1047 New style property to set the size of the group of filter buttons.
1049 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1051 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1056 * configure.ac: Bump version.
1057 * debian/changelog: Updates.
1059 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1061 * hildon/hildon-main.c: Minor documentation fixes.
1063 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1065 * doc/hildon-sections.txt:
1066 * hildon/hildon-defines.h: Document the defines, organize them,
1067 and mark deprecations as such.
1069 Fixes: MB#4463 (Hildon size #defines are undocumented)
1071 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1073 * hildon/hildon-animation-actor.c:
1074 * hildon/hildon-app-menu.c:
1075 * hildon/hildon-button.c:
1076 * hildon/hildon-date-editor.c:
1077 * hildon/hildon-dialog.c:
1078 * hildon/hildon-edit-toolbar.c:
1079 * hildon/hildon-entry.c:
1080 * hildon/hildon-program.c:
1081 * hildon/hildon-remote-texture.c:
1082 * hildon/hildon-stackable-window.c:
1083 * hildon/hildon-text-view.c:
1084 * hildon/hildon-touch-selector.c:
1085 * hildon/hildon-window-stack.c:
1086 * hildon/hildon-window.c:
1088 Remove redundant "represents" wording from most of the documentation.
1090 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1092 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1096 * hildon/Makefile.am
1097 * hildon/hildon-banner-private.h
1098 * hildon/hildon-banner.c:
1099 Move HildonBannerPrivate to hildon-banner.c and remove
1100 hildon-banner-private.h
1101 Use a bit field to store private booleans.
1103 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1105 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1106 Don't install a new idle function if there's already one
1111 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1113 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1114 (+legacy_menu_realized, +legacy_menu_unmapped)
1115 (+set_legacy_menu_type):
1116 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1117 they can be identified by the window manager.
1119 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1120 displayed in wrong location)
1122 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1125 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1127 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1129 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1130 use gtk-doc support)
1132 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1134 * hildon/hildon-code-dialog.c
1135 * hildon/hildon-date-editor.c
1136 * hildon/hildon-number-editor.c
1137 * hildon/hildon-seekbar.c
1138 * hildon/hildon-stackable-window.c
1139 * hildon/hildon-window.c:
1140 Misc documentation updates
1142 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1144 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1145 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1147 Fixes: NB#117931 (Theming issues in accounts dialogs)
1149 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1151 * hildon/hildon-pannable-area.c,
1152 (hildon_pannable_area_button_release_cb): Changed the coordinates
1153 of the original release in case we want to discard the release,
1154 some widgets in Fremantle do not handle the leave-notify.
1156 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1158 * hildon/hildon-pannable-area.c,
1159 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1160 the release using the last refactored functions and avoiding the
1161 movement if an element was selected.
1163 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1165 * hildon/hildon-pannable-area.c,
1166 (hildon_pannable_area_check_move),
1167 (hildon_pannable_area_handle_move),
1168 (hildon_pannable_area_motion_notify_cb): Refactored the
1169 motion_notify method using a couple of new functions.
1171 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1173 * hildon/hildon-date-selector.c:
1174 (hildon_date_selector_construct_ui):
1175 * hildon/hildon-time-selector.c:
1176 (hildon_time_selector_constructor):
1177 * hildon/hildon-touch-selector-entry.c:
1178 (hildon_touch_selector_entry_set_text_column),
1179 (hildon_touch_selector_entry_get_text_column):
1180 * hildon/hildon-touch-selector.c: (_default_print_func),
1181 (hildon_touch_selector_new_text): Use
1182 hildon_touch_selector_set/get_text_column() instead of
1183 setting/getting the "text-column" property.
1185 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1187 * doc/hildon-sections.txt: Add the new public methods below.
1189 * examples/hildon-picker-button-multicolumn-example.c:
1190 (create_touch_selector):
1191 * examples/hildon-touch-selector-example.c: (create_selector):
1192 * examples/hildon-touch-selector-multi-cells-example.c:
1194 Use hildon_touch_selector_column_set_text_column()
1196 * hildon/hildon-touch-selector-column.h:
1197 * hildon/hildon-touch-selector.c:
1198 (hildon_touch_selector_column_set_text_column),
1199 (hildon_touch_selector_column_get_text_column):
1200 Make hildon_touch_selector_column_set/get_column() public, use
1201 them in the inline example, document them, and reference to them
1204 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1206 * hildon/hildon-time-selector.c: Fix the docs for
1207 hildon_time_selector_new_step().
1209 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1211 * hildon/hildon-touch-selector.c: Improve the documentation for
1212 hildon_touch_selector_append_column().
1214 Fixes MB#4641 (Documentation:
1215 hildon_touch_selector_append_column() ref-counting)
1217 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1219 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1220 Comment out test 5, since the hildon_controlbar_set_range() range
1221 check is broken and fixing it would have side effects. Also,
1222 this finally fixes make distcheck.
1224 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1226 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1228 * tests/TEST-CASES.txt: Remove other bogus test.
1229 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1230 Remove bogus test that was setting/retrieving a valid value.
1232 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1234 * tests/TEST-CASES.txt: Remove bogus tests.
1235 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1236 Remove three bogus tests that were actually setting valid colors.
1238 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1240 * configure.ac: post release version bump
1241 * debian/changelog: post release version bump
1243 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1248 * configure.ac: Bump version.
1249 * debian/changelog: Updates.
1251 2009-06-08 Christian Dywan <christian@lanedo.com>
1255 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1256 Correct errors in hildon_format_file-size_for_display and use
1257 translations from the hildon-fm package instead of osso-filemanager.
1259 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1261 * hildon/hildon-pannable-area.c,
1262 (hildon_pannable_area_init): Initialized new values to handle the
1263 adjustment position.
1264 (hildon_pannable_area_adjust_value_changed): Check if the values
1265 changed before even call the redraw function.
1266 (hildon_pannable_area_size_allocate),
1267 (hildon_pannable_axis_scroll),
1268 (hildon_pannable_area_scroll),
1269 (hildon_pannable_area_jump_to): Improved the diagonal movement
1272 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1275 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1277 * examples/hildon-banner-example.c:
1278 Several style updates
1279 (on_animation_clicked, on_animation_idle)
1280 (on_progress_clicked, on_progress_idle):
1281 Add additional reference for the cases when the parent window is
1284 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1286 * doc/hildon-sections.txt
1287 * hildon/hildon-pannable-area.c
1288 * hildon/hildon-banner.h
1289 * hildon/hildon-banner.c: Documentation updates.
1291 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1294 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1296 * hildon/hildon-calendar-popup.h:
1297 * hildon/hildon-caption.h:
1298 * hildon/hildon-code-dialog.h:
1299 * hildon/hildon-controlbar.h:
1300 * hildon/hildon-date-editor.h:
1301 * hildon/hildon-dialog.h:
1302 * hildon/hildon-get-password-dialog.h:
1303 * hildon/hildon-hvolumebar.h:
1304 * hildon/hildon-login-dialog.h:
1305 * hildon/hildon-note.h:
1306 * hildon/hildon-number-editor.h:
1307 * hildon/hildon-range-editor.h:
1308 * hildon/hildon-seekbar.h:
1309 * hildon/hildon-set-password-dialog.h:
1310 * hildon/hildon-sort-dialog.h:
1311 * hildon/hildon-time-editor.h:
1312 * hildon/hildon-time-picker.h:
1313 * hildon/hildon-volumebar-range.h:
1314 * hildon/hildon-volumebar.h:
1315 * hildon/hildon-vvolumebar.h:
1316 * hildon/hildon-weekday-picker.h:
1317 * hildon/hildon-window.h:
1318 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1319 macros with the current replacements
1321 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1323 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1325 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1326 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1327 itself, to make it fit better with Fremantle style.
1329 Fixes: NB#109878 (height and width of focus on color icon is not
1330 consistent with other item in the application tool bar)
1332 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1334 * hildon/hildon-touch-selector.c:
1335 (hildon_touch_selector_optimal_size_request): use the current requisition
1336 as the base, in order to include any possible extra widget, like the
1337 hildon entry on HildonTouchSelectorEntry
1339 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1341 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1343 * configure.ac: post release version bump
1344 * debian/changelog: post release version bump
1346 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1351 * configure.ac: Bump version.
1352 * debian/changelog: Updates.
1354 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1356 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1358 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1359 to ensure the banner contents are centered, instead of relying on
1360 the expand and fill properties in GtkHBox.
1361 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1363 Fixes: NB#108265 (Animation banner not properly centered)
1365 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1367 * hildon/hildon-pannable-area.c
1368 (hildon_pannable_area_initial_effect): Remove the initial_effect
1369 management, check initial_hint
1370 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1371 set initial_effect to FALSE
1372 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1373 by launching the fade_timeout if the scrollbars state has changed and are
1375 * examples/hildon-pannable-area-initial-hint-example.c
1376 Modified to allow to remove rows too. Add and remove rows one by one.
1378 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1380 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1381 Don't close the menu if there's an animation actor below it.
1383 Fixes: NB#117927 (Application menu not usable with animation
1386 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1388 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1389 "focus-on-click" from the dialog button, to avoid stealing the
1390 focus from the entry.
1392 Fixes: NB#118903 (Account setup wizard: Text in Search field
1393 should be focused when "Region" touch list picker is reopened
1396 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1398 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1399 (prepare_action_area): Completely hide the dialog separator.
1401 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1403 * hildon/hildon-touch-selector-entry.c
1404 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1405 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1406 now that the entry is exposed.
1408 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1410 * hildon/hildon-touch-selector-entry.c
1411 (hildon_touch_selector_entry_init): Change the entry's size
1412 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1414 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1416 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1417 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1418 avoid unnecessary scaling.
1420 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1422 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1423 Create grab transfer window before calling parent's map function.
1425 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1426 "crushed" button(s) in the top left corner)
1428 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1430 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1431 Check if the window is already realized when pushing it.
1433 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1435 * configure.ac: post release version bump
1436 * debian/changelog: post release version bump
1438 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1443 * configure.ac: Bump version.
1444 * debian/changelog: Updates.
1446 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1448 * hildon/hildon-app-menu.c: Doc updates.
1450 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1452 * hildon/hildon-banner.c: Remove leftover macro.
1454 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1456 * hildon/hildon-pannable-area.c,
1457 (hildon_pannable_area_scroll_indicator_fade),
1458 (hildon_pannable_area_button_release_cb): Reviewed vmin
1459 conditions, it could cause problems in the fadeout procedure.
1461 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1463 * hildon/hildon-pannable-area.c
1464 (hildon_pannable_area_button_release_cb): Added a threshold to
1465 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1467 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1469 * hildon/hildon-pannable-area.c,
1470 (hildon_pannable_area_set_property): Added code to sync the gtk
1471 dnd threshold with the panning threshold.
1473 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1475 * hildon/hildon-pannable-area.c,
1476 (hildon_pannable_area_class_init): Changed some of the default
1477 values, now it should be less responsive and more accurate.
1479 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1481 * hildon/hildon-pannable-area.c,
1482 (hildon_pannable_area_init),
1483 (hildon_pannable_area_scroll_indicator_fade),
1484 (hildon_pannable_area_button_press_cb),
1485 (hildon_pannable_axis_scroll),
1486 (hildon_pannable_area_timeout),
1487 (hildon_pannable_area_motion_notify_cb),
1488 (hildon_pannable_area_button_release_cb): Changed the name of the
1489 clicked attribute to button_pressed, it is more clear about its use.
1491 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1493 * src/hildon-pannable-area.c
1494 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1496 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1497 vertical scrollbar visibility, and use the data on private section instead,
1498 remove the initial_hint check
1499 (hildon_pannable_area_expose_event): add the initial_hint check here
1501 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1503 * src/hildon-pannable-area.c
1504 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1505 if the fadeout effect was used
1506 (hildon_pannable_area_expose_event): check if it is required to
1507 manage the initial effect on the begining of the function. Previously
1508 it was made at the end, but this doesn't ensure that the scrollbars
1509 will be painted on the first show. Do not set to FALSE initial_effect,
1510 to ensure that the initial hint is showed the first time the pannable
1512 * examples/Makefile.am
1513 * examples/hildon-pannable-area-initial-hint-example.c:
1514 New example, to show that the initial-hint is showed when the widget
1517 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1518 initially if the application can be scrolled)
1520 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1522 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1523 Resize table before adding new items to make sure that
1524 gtk_table_resize() is called just once.
1526 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1528 * hildon/hildon-app-menu-private.h
1529 * hildon/hildon-app-menu.c (item_visibility_changed)
1530 (filter_visibility_changed, hildon_app_menu_show_all)
1531 (hildon_app_menu_hide_all, hildon_app_menu_init):
1532 Rearrange items just once when gtk_widget_show_all()/hide_all()
1535 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1537 * hildon/hildon-app-menu.c
1538 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1539 Don't call gtk_widget_show() on added items.
1541 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1542 automatically when they're added)
1544 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1546 * hildon/hildon-banner.c
1547 (hildon_banner_realize, +hildon_banner_unrealize)
1548 (+screen_size_changed, hildon_banner_class_init):
1549 Redisplay the banner if the screen is rotated.
1551 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1552 on transition from landscape to portrait)
1554 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1556 * hildon/hildon-banner.[ch]:
1557 (hildon_banner_show_information_override_dnd): remove icon_name from the
1558 method definition as it is ignored.
1559 * examples/hildon-banner-dnd-example.c: updated with the change on
1562 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1564 * hildon/hildon-banner-private.h: new require_override_dnd and
1565 overrides_dnd variables
1566 * hildon/hildon-banner.h:
1567 (hildon_banner_show_information_override_dnd): new method, that shows
1568 the information but sets the override flag, in order to show important
1570 * hildon/hildon-banner.c
1571 (hildon_banner_show_information_override_dnd): new method
1572 (hildon_banner_set_override_flag): new utility function
1573 (hildon_banner_real_show_information): new utility function, in order to
1574 generalize the current hildon_banner_show_information_override_dnd and
1575 hildon_banner_show_information_override_dnd
1576 * examples/Makefile.am
1577 * examples/hildon-banner-dnd-example.c: New example that show how to
1578 use the new hildon_banner_show_information_override_dnd
1580 Fixes: NB#114874 (There is no possibility to show hildon banners with
1583 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1585 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1586 behind hildon_pannable_calculate_vel_factor().
1588 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1590 * hildon/hildon-pannable-area.c
1591 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1592 deceleration factors.
1594 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1596 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1597 Reduce the default value for 'scroll_time' to 1 second, since the
1598 current initial scrolling takes too much time.
1600 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1602 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1603 calculate velocity factor during initialization, since the properties
1606 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1608 * hildon/hildon-pannable-area.c
1609 (hildon_pannable_area_set_property): Calculate the velocity factor
1610 after setting the deceleration property and not after.
1612 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1614 * hildon/hildon-entry.c
1615 (hildon_entry_class_init, +set_property, hildon_entry_new)
1616 * hildon/hildon-check-button.c
1617 (hildon_check_button_class_init)
1618 (+set_property, hildon_check_button_new):
1619 Make the theme size a property.
1621 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1622 others) do too much in the _new function)
1624 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1626 * configure.ac: post release version bump
1627 * debian/changelog: post release version bump
1629 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1634 * configure.ac: Bump version.
1635 * debian/changelog: Updates.
1637 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1639 * hildon/hildon-gtk.h
1640 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1641 New API function to take a screenshot of a window
1643 Fixes: NB#106374 (Need API to take a loading screenshot)
1645 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1647 * hildon/hildon-time-selector.c
1648 (update_format_policy): prevent to use hours and minutes unitialized
1650 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1652 * hildon/hildon-window.c (hildon_window_size_request):
1653 Always request the full size of the screen (minus the title bar if
1654 not in fullscreen mode).
1656 Fixes: NB#107486 (HildonWindow should size itself properly)
1658 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1660 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1661 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1662 (on_show_cb), (sound_handling): Disconnect the idle handler for
1663 the sound when the note is finalized to avoid possible crashes.
1665 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1668 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1670 * src/hildon-animation-actor.c,
1671 * src/hildon-remote-texture.c:
1672 Added proper object cleanup to remove signal handler and object
1673 references as HildonAnimationActor and HildonRemoteTexture
1674 objects get destroyed.
1676 Fixes: NB#116682 (Destroying parented animation actors when
1677 parent in unmapped leads to crash)
1679 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1681 Based on a patch by Christian Dywan (christian@imendio.com)
1683 * doc/hildon-sections.txt:
1684 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1685 * hildon/hildon-helper.h: New file size formatting method.
1687 * debian/control: Depend on osso-filemanager l10n package for
1688 proper localization strings.
1690 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1692 * tests/Makefile.am: Include top_srcdir to make possible to build
1693 tests in a different builddir.
1694 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1695 on a different builddir.
1697 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1699 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1700 (hildon_touch_selector_remove): Disconnect model's signal handler
1703 Fixes: NB#116289 (Hildon home crashes while adding task
1706 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1708 * hildon/hildon-button.c
1709 (hildon_button_set_title, hildon_button_set_value):
1710 Hide labels containing an empty string.
1712 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1714 * configure.ac: post release version bump
1715 * debian/changelog: post release version bump
1717 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1722 * configure.ac: Bump version.
1723 * debian/changelog: Updates.
1725 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1727 * hildon/hildon-note-private.h: Removed sound_signal_handler
1728 * hildon/hildon-note.c
1729 (on_show_cb): new callback on note "show" event, this simply adds
1730 a idle, with the function sound_handling
1731 (sound_handling): removed the sound_signal_handler management
1732 (hildon_note_init): connect note "show" event to on_show_cb
1733 (hildon_note_realize): remove the connection to "expose-event"
1735 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1736 device?' confirmation note)
1738 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1740 * hildon/hildon-note.c
1741 (hildon_note_new_information_with_icon_name)
1742 (hildon_note_new_confirmation_with_icon_name):
1743 Terminate the list of parameters in g_object_set() calls
1745 Fixes: NB#115166 (Formatting memory card is not taking place)
1747 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1749 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1750 "dialog-information" role for the sound being played.
1752 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1754 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1755 Don't make the menu a modal window, it causes strange interactions
1756 with the pointer grab and it's not really needed.
1758 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1760 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1762 * hildon/hildon-touch-selector.[ch]
1763 (hildon_touch_selector_optimal_size_request): function added to get a
1764 optimal size request from the touch selector, when you want a dialog to
1765 show as much of the selector
1766 * hildon/hildon-picker-dialog.c:
1767 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1768 (hildon_app_menu_class_init):
1769 New "max-height-landscape" and "max-height-portrait" style properties
1770 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1771 (hildon_picker_dialog_get_max_height): returns the maximum height using
1772 the style properties defined and checking the current portrait/landscape
1774 (_hildon_picker_dialog_set_selector): removed the set_size_request
1776 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1778 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1780 * hildon/hildon-bread-crumb-trail.c:
1781 * hildon/hildon-bread-crumb.c:
1782 * hildon/hildon-seekbar.c:
1783 Add reference to replacements for these deprecated widgets.
1785 Fixes: MB#4461 (Documentation: All deprecations should mention
1788 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1790 * examples/hildon-remote-texture-example.c
1792 Change the include to the hildon-remote-texture in order to compile
1793 properly the examples on the installed libhildon1-examples package
1795 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1797 * tests/Makefile.am: Add check for HildonPickerButton.
1798 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1799 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1800 checks for the HildonPickerButton.
1801 * tests/check_test.c (configure_tests): Add the test suite.
1802 * tests/test_suites.h: likewise.
1804 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1806 * hildon/hildon-touch-selector.c
1807 (+on_row_changed): Emit HildonTouchSelector:changed when the
1808 contents of a selected row change.
1809 (_create_new_column), (_hildon_touch_selector_set_model): connect
1810 to GtkTreeModel:row-changed on a newly set model.
1812 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1814 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1816 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1818 * hildon/hildon-banner.c (hildon_banner_destroy)
1819 (hildon_banner_show_progress, hildon_banner_set_fraction):
1820 Remove the progress bar from HildonBanner and use a progress
1823 Fixes: NB#113761 (Update progress banner to use progress
1826 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1828 * hildon/hildon-banner.c:
1829 Calculate size of the banner label using the actual screen width
1830 rather than using a fixed value.
1832 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1835 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1837 * hildon/hildon-pannable-area.c,
1838 (hildon_pannable_area_class_init): Fixed signals documentation
1841 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1843 * configure.ac: post release version bump
1844 * debian/changelog: post release version bump
1846 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1851 * configure.ac: Bump version.
1852 * debian/changelog: Updates.
1854 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1856 * hildon/hildon-edit-toolbar.c
1857 (hildon_edit_toolbar_init):
1858 Don't let buttons in HildonEditToolbar receive focus.
1860 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1861 typing on an HW arrows key)
1863 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1865 * doc/Makefile.am: Fix build.
1867 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1869 * doc/Makefile.am: Do not redefine content_files.
1871 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1879 Renamed src/ to hildon/
1884 Include <hildon/hildon.h> directly in all examples.
1886 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1888 * src/hildon-sort-dialog.c
1889 (hildon_sort_dialog_add_sort_key_with_sorting)
1893 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1896 make distcheck passes.
1898 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1900 * Makefile.am: Enable gtk-doc during distcheck.
1902 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1904 * Makefile.am: Do not distribute the debian/ directory.
1906 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1908 * doc/Makefile.am: Add the extra SGML files to content_files,
1909 so that they are distributed properly.
1911 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1913 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1916 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1918 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1919 (hildon_note_new_information_with_icon_name): Set the "icon" property
1920 to preserve soundness.
1922 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1924 * src/hildon-font-selection-dialog.c
1925 (hildon_font_selection_dialog_set_property): Fail when the "family"
1926 property is set to NULL.
1928 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1930 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1933 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1935 * src/hildon-time-selector.h:
1936 Added HildonTimeSelectorFormatPolicy
1937 * src/hildon-time-selector.c:
1938 Added PROP_TIME_FORMAT_POLICY
1939 (_check_ampm_format): renamed to check_automatic_ampm_format
1940 (update_format_policy), (update_format_dependant_columns): new functions
1941 (hildon_time_selector_class_init)
1942 (hildon_time_selector_contructor)
1943 (hildon_time_selector_init)
1944 (hildon_time_selector_get_property)
1945 (hildon_time_selector_set_property)
1946 (hildon_time_selector_get_time)
1947 (hildon_time_selector_set_time)
1948 * src/hildon-touch-selector.h: new file
1949 * src/hildon-touch-selector.c
1950 (hildon_touch_selector_emit_changed)
1951 (hildon_touch_selector_block_changed)
1952 (hildon_touch_selector_unblock_changed)
1953 Added functions to allow to block the emission of the "changed" signal
1954 * src/hildon-picker-dialog.c
1955 (hildon_picker_dialog_show): call the parent show before the custom code
1956 * examples/hildon-time-button-example.c
1957 Modified, so now you can configure the time format using the new property
1959 Added a new property "time-format-policy" that allow to choose the time
1960 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1961 case it uses gconf in order to check if the time selector must use
1964 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1967 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1969 * src/hildon-note.c (hildon_note_init):
1970 Label in HildonNote must be left aligned, not centered. This
1971 reverts the last commit in HildonNote.
1973 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1974 is connectivity dialog)
1976 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1981 * doc/hildon-sections.txt:
1982 Added hildon_gtk_window_set_do_not_disturb()
1984 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1986 * src/hildon-note.c (hildon_note_init): Center label.
1988 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1991 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1996 * configure.ac: Bump version.
1997 * debian/changelog: Updates.
1999 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-note-private.h: Add button-width to the private data.
2002 * src/hildon-note.c (+resize_button),
2003 (+hildon_note_orientation_update): methods to repack widgets on orientation
2005 (screen_size_changed): Call above method for confirmation notes.
2006 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2007 (hildon_note_rebuild): Store the original width request from buttons.
2009 Fixes: NB#109635 (Confirmation notes do not support portrait)
2011 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2013 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2014 when it is a progress note.
2016 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2018 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2019 in the note, since there are no horizontally arranged contents.
2021 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2023 * src/hildon-gtk.c (+set_flag): new generic method to
2024 set/delay a flag setting in a window.
2025 (hildon_gtk_window_set_progress_indicator):
2026 (hildon_gtk_window_set_do_not_disturb),
2027 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2028 avoid code redundance.
2030 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2032 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2034 * src/hildon-gtk.c (set_clear_window_flag),
2035 (do_set_progress_indicator), (do_set_do_not_disturb),
2036 (do_set_portrait_flags),
2037 (hildon_gtk_window_set_progress_indicator),
2038 (hildon_gtk_window_set_do_not_disturb),
2039 (hildon_gtk_window_set_portrait_flags):
2040 Allow setting dnd-flag, progress indicator, and portrait flags
2041 when the window is not realized.
2043 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2045 * src/hildon-pannable-area.c,
2046 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2047 the size request policy function and defines.
2049 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2051 * doc/hildon-sections.txt: Add the new API.
2052 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2053 method to set the portrait flags.
2054 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2056 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2058 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2061 to allow using this method with other flags.
2062 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2063 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2065 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2067 * src/hildon-touch-selector.c
2068 (hildon_touch_selector_append_text_column):
2069 Make the cell renderer use the smallest width possible.
2071 Fixes: NB#108470 (Selected items in multiple selection are either
2072 having a tick that is cut or not visible at all.)
2074 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2076 * src/hildon-touch-selector.c
2077 (hildon_touch_selector_append_text_column):
2080 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2082 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2083 Use g_strdup_printf() instead of a fixed size buffer.
2085 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2088 Close banners when a HildonAppMenu is popped up.
2090 Fixes: NB#111027 (Title menu closed immediately if activated when
2091 "Invalid e-mail address" banner is shown)
2093 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2098 * configure.ac: Bump version.
2099 * debian/changelog: Updates.
2101 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2103 * src/hildon-banner.c (hildon_banner_realize):
2104 Mark HildonBanner as supporting portrait mode.
2105 Use GDK to set window properties insetad of direct Xlib calls.
2107 Fixes: NB#111830 (HildonBanner should be marked as supporting
2110 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2112 * src/hildon-note.c (hildon_note_rebuild):
2113 Hide action area in information notes. Prevents text from being
2114 slightly aligned to the left.
2116 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2119 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2121 Patch by Mox Soini (ext-mox.soini@nokia.com)
2123 * src/hildon-banner.c (hildon_banner_create_animation):
2124 Use stylus-sized icons in animation banner.
2126 Fixes: NB#111206 (stylus sized icon for animation banner)
2128 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2132 (+hildon_gtk_window_set_do_not_disturb):
2133 New API to set the do-not-disturb flag.
2135 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2137 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2139 * examples/hildon-progress-indicator-example.c: Fix example
2141 * src/hildon-gtk.c (set_clear_window_flag)
2142 (hildon_gtk_window_set_progress_indicator):
2143 Create a generic function for setting flags to a window.
2144 Use GDK instead of direct Xlib calls.
2146 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2148 * src/hildon-button.c (hildon_button_set_arrangement):
2149 Due to NB#88126, if one of the labels is too long it will be
2150 painted outside the button. The 'value' label is more likely to be
2151 the longest one, so we change its packing options in order to
2152 truncate it if necessary. As a side effect, the 'title' label will
2153 no longer be truncated.
2155 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2157 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2162 * configure.ac: Bump version.
2163 * debian/changelog: Updates.
2165 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2167 Deprecation of the hildon_pannable_area_set_size_request_policy
2168 API, the only policy properly supported in gtk+ nowadays is the
2171 * src/hildon-pannable-area.c,
2172 (hildon_pannable_area_size_request): Added a workaround for the
2173 size_request to avoid the problems of huge pixmaps in case someone
2174 is still using the function.
2175 * src/hildon-pannable-area.h: Deprecated the enum with the
2178 Fixes: NB#110244 (Problems with the
2179 hildon_pannable_area_set_size_request_policy API)
2181 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2183 * src/hildon-pannable-area.c,
2184 (hildon_pannable_area_init),
2185 (hildon_pannable_area_size_request),
2186 (hildon_pannable_area_style_set),
2187 (hildon_pannable_draw_vscroll),
2188 (hildon_pannable_draw_hscroll),
2189 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2190 indicator_width to clarify the use of the attribute.
2192 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2197 * configure.ac: Bump version.
2198 * debian/changelog: Updates.
2200 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2202 * src/hildon-picker-dialog.c
2203 * src/hildon-touch-selector.c
2204 Reverting the change that tried to avoid the hardcoded height on
2205 the picker dialog, as causes problems on the hildon-touch-selector
2208 Fixes: NB#110029 (selectors not scrolling to selected value)
2210 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2212 * src/hildon-touch-selector.c: Fix typos
2214 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2216 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2217 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2218 request more motions after using it.
2220 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2222 * src/hildon-calendar.c (hildon_calendar_expose),
2223 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2224 Remove unused variables.
2226 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2228 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2229 variable assignment.
2231 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2233 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2234 Check the return value of gtk_tree_selection_get_selected()
2237 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-animation-actor.c
2240 * src/hildon-button.c
2242 * src/hildon-pannable-area.c
2243 * src/hildon-picker-button.c
2244 * src/hildon-program.c
2245 * src/hildon-remote-texture.c
2246 * src/hildon-text-view.c
2247 * src/hildon-touch-selector.c
2248 * src/hildon-window-stack.c
2249 * src/hildon-window.c:
2250 Add missing 'Since: 2.2' tags.
2252 * doc/hildon-sections.txt:
2253 Add some missing symbols.
2255 * doc/hildon-docs.sgml:
2256 New 'Other' section for HildonAnimationActor and
2259 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2261 Patch by Iván Gómez (igomez@igalia.com)
2264 * doc/compiling.sgml
2265 * doc/hildon-docs.sgml
2266 * doc/hildon-sections.txt
2267 * doc/migration.sgml
2268 * doc/resources.sgml
2270 New chapters on using the Hildon library.
2271 Updated the general structure of the reference manual.
2272 Other minor documentation fixes.
2274 * src/hildon-calendar-popup.c
2275 * src/hildon-calendar.c
2276 * src/hildon-controlbar.c
2277 * src/hildon-date-editor.c
2278 * src/hildon-dialog.c
2279 * src/hildon-hvolumebar.c
2280 * src/hildon-number-editor.c
2281 * src/hildon-range-editor.c
2282 * src/hildon-sort-dialog.c
2283 * src/hildon-time-editor.c
2284 * src/hildon-time-picker.c
2285 * src/hildon-volumebar-range.c
2286 * src/hildon-volumebar.c
2287 * src/hildon-vvolumebar.c
2288 * src/hildon-weekday-picker.c:
2289 Add deprecation notes
2291 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2292 Document 'horizontal-movement' and 'vertical-movement' signals.
2294 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2299 * configure.ac: Bump version.
2300 * debian/changelog: Updates.
2302 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2304 * src/hildon-pannable-area.c,
2305 (hildon_pannable_area_class_init): increased the minimum velocity.
2306 (hildon_pannable_area_button_release_cb): Updated the
2307 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2308 setup. Review the code to control that last event.
2310 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2313 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2315 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2317 * src/hildon-get-password-dialog.c
2318 (hildon_get_password_set_property),
2319 (hildon_get_password_get_property), (create_contents):
2320 * src/hildon-login-dialog-private.h:
2321 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2322 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2323 (hildon_login_dialog_get_password):
2324 * src/hildon-set-password-dialog-private.h:
2325 * src/hildon-set-password-dialog.c
2326 (hildon_set_password_set_property),
2327 (hildon_set_password_get_property), (create_contents),
2328 (hildon_set_password_response_change),
2329 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2331 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2332 instead and look more Fremantle style.
2334 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2336 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2338 * doc/hildon-sections.txt
2339 * src/hildon-window-stack.h
2340 * src/hildon-window-stack.c
2341 (+hildon_window_stack_get_windows):
2342 New API to obtain the list of windows on a stack.
2344 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-app-menu.c (hildon_app_menu_popup)
2347 (hildon_app_menu_class_init, -hildon_app_menu_show):
2348 Remove hildon_app_menu_show() and move all its checks to
2349 hildon_app_menu_popup()
2351 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2353 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2354 (_hildon_picker_dialog_set_selector): removed call to
2355 gtk_widget_set_size_request
2356 * src/hildon-touch-selector.c
2357 (_create_new_column): change the pannable size request policy
2359 Avoid to use a hardcoded height for the hildon picker dialog. In order
2360 to get that, we needed to change the hildon pannable size request
2362 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2364 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2367 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2370 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2372 * debian/control: Depend on osso-system-lock localization package.
2373 * src/hildon-code-dialog.c: Obtain the secu_application_title
2374 translation from osso-system-lock.
2375 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2376 for translation the atk related strings, that's not necessary.
2377 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2378 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2379 cancel button, it is not required.
2381 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2383 * src/hildon-pannable-area.c,
2384 (hildon_pannable_area_class_init): Modified the default value of
2385 the overshooting max speed, we have reduced it.
2387 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2389 * doc/hildon-sections.txt
2390 * src/hildon-window-private.h
2391 * src/hildon-window.h
2392 * src/hildon-window.c (hildon_window_class_init)
2393 (hildon_window_init, hildon_window_finalize)
2394 (hildon_window_realize, hildon_window_get_property)
2395 (hildon_window_set_property, hildon_window_update_markup)
2396 (hildon_window_get_markup, hildon_window_set_markup):
2397 New "markup" property and hildon_window_{get,set}_markup() methods.
2399 * examples/hildon-stackable-window-example.c (new_window):
2400 Update example to use hildon_window_set_markup()
2402 Fixes: NB#106375 (Need API to retitle a window with a title
2405 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2407 * src/hildon-pannable-area.c,
2408 (hildon_pannable_area_class_init): Changed the default value of
2409 the initial_hint to TRUE.
2410 (hildon_pannable_area_initial_effect): Changed the initial effect,
2411 not the effect is just the fade-out of the scrollbars.
2413 Fixes: NB#107775 (No scrollbars can be seen when several items are
2414 available in a dialog)
2416 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-program.c (hildon_program_update_top_most):
2421 Fixes: NB#109179 (Memory leak in Hildon program)
2423 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-banner.c (-get_current_app_window):
2426 Remove unused function.
2428 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2430 * src/hildon-pannable-area.c: Modified the documentation of the
2431 get adjustments functions to explain the problem of using the
2432 adjustment directly.
2433 (hildon_pannable_area_class_init): Improved the explanation about
2436 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2438 * src/hildon-app-menu-private.h
2439 * src/hildon-app-menu.c
2440 (hildon_app_menu_class_init):
2441 Bring back the 'external-border' style property
2442 (hildon_app_menu_class_init, hildon_app_menu_init)
2443 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2444 Set a fixed width-request for the menu, independent of the number
2447 Fixes: NB#94957 (Smoothly opened application menu)
2449 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2453 * src/hildon-banner.c
2454 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2456 Make sure that the banner is correctly placed the first time it's
2458 (hildon_banner_check_position, -check_fullscreen_state):
2459 Show the banner in the same place no matter if the window is in
2460 fullscreen mode or not.
2462 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2464 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2466 * src/hildon-touch-selector.c (_default_print_func): reorder
2467 concatenation for clarity.
2469 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2471 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2472 for multicolumn selectors.
2474 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2476 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2481 * configure.ac: Bump version.
2482 * debian/changelog: Updates.
2484 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2486 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2489 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2491 * configure.ac: removed libcangerra-gtk dependency
2492 * debian/control: removed libcanberra-gtk dependency
2493 * src/Makefile.am: removed libcanberra gtk related flags
2494 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2495 context, and manage a global canberra context instead
2497 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2499 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2501 Patch by Daniel Borgmann (danielb@openismus.com)
2503 * src/hildon-edit-toolbar.c:
2504 Adjust the left padding.
2505 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2506 Paint background of the edit toolbar.
2508 Fixes: NB#107897 (Patch to make editmodetoolbar background
2509 themeable and adjust margin)
2511 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2513 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2515 * src/hildon-program.c (hildon_program_update_top_most):
2516 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2518 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2519 change when the user tasks in/out of an application)
2521 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2523 * configure.ac: added libcangerra-gtk dependency
2524 * debian/control: added libcanberra-gtk dependency
2525 * src/Makefile.am: added libcanberra gtk related flags
2526 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2529 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2531 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2533 * src/hildon-program.c (hildon_program_remove_window)
2534 (hildon_program_add_window): Add checks for the window
2535 parameter. Don't decrease the window counter if the window is not
2538 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2540 * src/hildon-pannable-area.c,
2541 (hildon_pannable_area_realize): Fixed position of the event_window
2542 in the realize method.
2544 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2546 * src/hildon-app-menu-private.h
2547 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2548 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2549 (hildon_app_menu_key_press, hildon_app_menu_init)
2550 (hildon_app_menu_finalize):
2551 Make sure that all idle functions are removed when the widget is
2554 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2556 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2561 * configure.ac: Bump version.
2562 * debian/changelog: Updates.
2564 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-entry.c
2567 (+hildon_entry_show_placeholder),
2568 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2569 that replace hildon_entry_update_contents().
2570 (hildon_entry_set_text),
2571 (hildon_entry_set_placeholder),
2572 (hildon_entry_focus_in_event),
2573 (hildon_entry_focus_out_event): Determine when it is needed
2574 either to show or hide the placeholder and call the above methods.
2576 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2577 when the placeholder text is already set)
2579 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2581 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2582 simple GdkPixbufAnim using the new icons for the banner.
2583 (hildon_banner_show_animation): Use the above mentioned method to
2584 create the animation widget.
2586 Fixes: NB#103564 (Make hildon animation banner use individual
2587 image files as the animation)
2589 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2591 * src/hildon-pannable-area.c,
2592 (hildon_pannable_leave_notify_event): Check if the child is NULL
2593 to avoid sending the leave.
2595 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2597 * src/hildon-pannable-area.c,
2598 (hildon_pannable_area_class_init),
2599 (hildon_pannable_leave_notify_event): Added a handler of the
2600 leave-notify-signal to consider when no motion notify before
2603 Fixes: NB#107494 (Items stay selected when clicking and moving
2604 away when inside pannable area)
2606 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2611 * configure.ac: Bump version.
2612 * debian/changelog: Updates.
2614 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2616 Patch by Alberto Garcia (agarcia@igalia.com)
2618 * src/hildon-date-button.c,
2619 (hildon_date_button_class_init),
2620 (hildon_date_button_init): Removed the construct property handling
2621 and created a default selector in the init method.
2622 * src/hildon-picker-button.c,
2623 (hildon_picker_button_class_init): Removed the construct flag of the
2626 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-main.c (hildon_init):
2629 Don't allow hildon_init() to be called more than once.
2631 Fixes: NB#106607 (hildon_init should issue error message upon
2634 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2636 * examples/hildon-pannable-area-touch-list-example.c
2637 * examples/hildon-pannagle-area-touch-grid-example.c
2638 * examples/hildon-edit-toolbar-example.c
2639 * examples/hildon-touch-selector-multi-cells-example.c
2640 Removed the call to gtk_rc_parse_string, as it is not required since
2643 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2645 * src/hildon-pannable-area.c,
2646 (hildon_pannable_area_class_init): Modified the default panning
2647 threshold of the widget to 6px.
2649 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2650 than the threshold value ) within the button is not sending the
2653 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2656 for the treeview in the new column. This way, the touch list will never
2659 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2660 be selected manually for the HW keys to work)
2662 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2665 comparison instead of using strcmp(). Fixes a compiler warning as well.
2667 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2669 * doc/hildon-docs.sgml: Do not set the library version in the
2670 document title, use the releaseinfo tag for that purpose instead.
2672 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2674 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2675 Do not jump to the first item if the text in the entry is removed.
2677 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2682 * configure.ac: Bump version.
2683 * debian/changelog: Updates.
2685 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/hildon-entry.c (hildon_entry_refresh_contents):
2688 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2689 Use "ReversedSecondaryTextColor" for the placeholder text.
2691 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-text-view.c: Fix compilation warning.
2695 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-button.c (hildon_button_class_init): Don't make
2698 "title" and "value" construction properties, to prevent them from
2699 overwriting labels set from derived classes.
2701 * src/hildon-picker-button.c
2702 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2703 (hildon_picker_button_class_init): Make touch-selector a
2704 construction property.
2706 * src/hildon-date-button.c (hildon_date_button_class_init)
2707 (+hildon_date_button_constructed): Add a default date selector if
2710 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/hildon-touch-selector.c: Small documentation fixes.
2714 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2716 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2718 * src/hildon-entry.c (hildon_entry_refresh_contents),
2719 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2720 widget name, set the logical color directly instead and a boolean
2721 showing_placeholder instead.
2722 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2723 use the widget name here either.
2725 Fixes: NB#105678 (HildonTextView should use logical colours
2726 instead of setting widget name)
2728 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2730 Patch by Daniel Elster (danielk@openismus.com)
2732 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2733 Add user_data parameter.
2734 (hildon_touch_selector_set_print_func_full): New function akin
2735 hildon_touch_selector_set_print_func() but with support for user
2736 data and a destroy callback.
2737 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2738 to clean up the print function user data.
2739 (hildon_touch_selector_class_init): Install dispose function.
2740 (HildonTouchSelectorPrivate::print_user_data),
2741 (HildonTouchSelectorPrivate::print_destroy_func): New private
2743 (hildon_touch_selector_init): Initialize new private members.
2744 (hildon_touch_selector_get_current_text): Pass along user data
2745 to the print function.
2746 (_default_print_func): Add dummy user_data to parameter list.
2747 * hildon-date-selector.c (_custom_print_func): ditto,
2748 * hildon-time-selector.c (_custom_print_func): ditto,
2749 * hildon-touch-selector-entry.c
2750 (hildon_touch_selector_entry_print_func): ditto.
2752 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2754 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2756 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2758 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2760 * src/hildon-pannable-area.c,
2761 (hildon_pannable_area_init),
2762 (hildon_pannable_area_button_press_cb),
2763 (hildon_pannable_area_motion_notify_cb): We have added code to
2764 handle the leave and enter events when using the motion events.
2766 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2768 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2770 * src/hildon-date-button.c (hildon_date_button_get_date)
2771 (hildon_date_button_set_date): Make sure that the button has a
2774 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2776 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2778 * src/hildon-pannable-area.c,
2779 (hildon_pannable_area_class_init),
2780 (hildon_pannable_area_calculate_velocity): Modify the use of the
2781 force and adapt the value.
2783 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2786 (hildon_app_menu_class_init): Hide the menu if it receives a
2787 delete-event, but don't destroy it
2789 Fixes: NB#104485 (Not able to address the call when application
2790 menu is opened at background)
2792 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2794 * src/hildon-app-menu.c
2795 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2796 Remove the "external-border" style property, let the menu take its
2797 natural size (or the one set by the window manager)
2798 (hildon_app_menu_repack_items):
2799 Don't reshow the menu, avoid flickers.
2801 Partially fixes NB#94957 (Smoothly opened application menu)
2803 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2808 * configure.ac: Bump version.
2809 * debian/changelog: Updates.
2811 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2813 * src/hildon-pannable-area.c,
2814 (hildon_pannable_area_motion_notify_cb): We control that the
2815 direction error margin is used just in case the movement is
2816 allowed in the other direction.
2818 Fixes: NB#105012 (buttons inside a pannable area not getting
2819 release event when dragging/releasing)
2821 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2823 * src/hildon-pannable-area.c,
2824 (hildon_pannable_area_class_init),
2825 (hildon_pannable_area_get_property),
2826 (hildon_pannable_area_set_property),
2827 (hildon_pannable_area_initial_effect),
2828 (hildon_pannable_axis_scroll),
2829 (hildon_pannable_area_button_release_cb): Reviewed the
2830 overshooting effect, now it has its own max
2831 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2832 speed when bouncing.
2834 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2839 * configure.ac: Bump version.
2840 * debian/changelog: Updates.
2842 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2844 * src/hildon-pannable-area.c,
2845 (hildon_pannable_area_class_init): Changed the max speed, now
2846 users can launch the widget very fast. Reduced the default force,
2847 that way it is easier to control the launch speed.
2849 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2851 * src/hildon-pannable-area.c,
2852 (hildon_pannable_area_button_release_cb): Removed this check
2853 because it causes problems when the device is overloaded.
2855 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2857 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2858 add a current_text field to store the text entered in the
2859 touch selector entry.
2860 (_clean_current_selection): clean up the current text as well.
2861 (_save_current_selection), (_restore_current_selection):
2862 Save/restore the text in the entry if the selector is a
2863 HildonTouchSelectorEntry.
2865 Fixes: NB#102541 (value entered in the touch selector entry is not
2866 shown when opened for second time)
2868 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2870 * doc/hildon-sections.txt:
2871 * src/hildon-touch-selector-entry.c
2872 (+hildon_touch_selector_entry_get_entry):
2873 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2875 Fixes: NB#104815 (I need accessor to the entry inside
2876 HildonTouchSelectorEntry)
2878 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2880 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2881 (hildon_app_menu_class_init):
2882 New "filter-vertical-spacing" style property.
2884 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2886 * src/hildon-find-toolbar.c
2887 (hildon_find_toolbar_emit_close)
2888 (hildon_find_toolbar_emit_invalid_input)
2889 (hildon_find_toolbar_entry_activate):
2890 Use g_signal_emit() instead of g_signal_emit_by_name()
2892 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2894 Patch by Mox Soini (ext-mox.soini@nokia.com)
2896 * tests/TEST-CASES.txt
2897 * tests/check-hildon-banner.c
2898 * tests/check-hildon-note.c
2899 * src/hildon-banner.c
2900 * src/hildon-code-dialog.c
2901 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2902 * src/hildon-time-editor.c
2903 * examples/hildon-lookup-example.c (main):
2904 Replace obsolete icon names with new ones.
2906 * src/hildon-find-toolbar-private.h:
2907 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2908 (-hildon_find_toolbar_emit_search):
2909 Remove find button and change icon of close button.
2911 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2913 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2915 * src/hildon-time-button.c (hildon_time_button_new_step):
2916 Use the "touch-selector" property to set the selector directly
2917 when creating the object.
2919 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2921 Added a new example application that allows tuning the pannable
2922 area and replaced defines with properties in order to simplify the
2923 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2924 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2925 PROP_DIRECTION_ERROR_MARGIN.
2927 * examples/hildon-pannable-area-tuning-example.c: New example
2929 * src/hildon-pannable-area.c,
2930 (hildon_pannable_area_class_init),
2931 (hildon_pannable_area_init),
2932 (hildon_pannable_area_get_property),
2933 (hildon_pannable_area_set_property),
2934 (hildon_pannable_area_launch_fade_timeout),
2935 (hildon_pannable_area_adjust_value_changed),
2936 (hildon_pannable_axis_scroll),
2937 (hildon_pannable_area_motion_notify_cb),
2938 (hildon_pannable_area_scroll_cb),
2939 (hildon_pannable_area_button_release_cb): We have converted some
2940 of the defines that control the widget to properties to simplify
2943 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-app-menu.c (hildon_app_menu_map)
2946 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2947 so it's closed if a new window appears.
2949 Fixes: NB#104485 (Not able to address the call when application
2950 menu is opened at background)
2952 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2954 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2955 missing 'break' statement in in 'case' construct to avoid
2958 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2960 * src/hildon-touch-selector-entry.c
2961 (hildon_touch_selector_entry_get_property),
2962 (hildon_touch_selector_entry_set_property): Add missing 'break'
2963 statements in in 'case' constructs to avoid incorrect warnings.
2965 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-time-editor.c
2968 (hildon_time_editor_get_time_separators): Do not crash if
2969 the first label is NULL.
2971 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2973 * src/hildon-date-selector.c (_month_days): Check for month to be
2974 strictly less than 12, since otherwise we may overrun the array.
2976 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2978 * src/hildon-date-button.c (+hildon_date_button_new_full)
2979 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2980 (hildon_date_button_init): Set the date selector using a
2981 construction property, to make it happen after HildonButton's
2982 "value" property is set.
2984 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2985 current date by default)
2987 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2989 * doc/hildon-sections.txt
2990 * src/hildon-program.c
2991 * src/hildon-stackable-window.c
2992 * src/hildon-window.c:
2993 Documentation updates
2995 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2997 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2998 (hildon_window_stack_new, +hildon_window_stack_set_property)
2999 (+hildon_window_stack_get_property)
3000 (hildon_window_stack_class_init)
3001 (+hildon_window_stack_set_window_group)
3002 (+hildon_window_stack_get_window_group):
3003 Make the window group a construction property.
3005 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3007 * doc/hildon-sections.txt
3008 * src/hildon-stackable-window-private.h
3009 * src/hildon-stackable-window.h
3010 * src/hildon-stackable-window.c
3011 (-hildon_stackable_window_set_app_menu)
3012 (-hildon_stackable_window_get_app_menu)
3013 (-hildon_stackable_window_toggle_menu)
3014 (-hildon_stackable_window_finalize)
3015 (hildon_stackable_window_class_init)
3016 (hildon_stackable_window_init)
3017 * src/hildon-window-private.h
3018 * src/hildon-window.h
3019 * src/hildon-window.c (hildon_window_init)
3020 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3021 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3022 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3023 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3024 Moved all HildonAppMenu code to HildonWindow. The menu does not
3025 require a HildonStackableWindow anymore.
3027 * src/hildon-app-menu.c
3028 * src/hildon-program.c
3029 * examples/hildon-app-menu-example.c (main):
3030 Update examples and documentation to reflect HildonAppMenu
3033 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3035 * src/hildon-remote-texture.c
3036 * src/hildon-animation-actor.c:
3037 Don't include unused private headers.
3039 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3041 * src/hildon-program-private.h
3042 * src/hildon-program.c
3043 (hildon_program_set_common_menu)
3044 (hildon_program_get_common_menu)
3045 (hildon_program_set_common_app_menu)
3046 (hildon_program_get_common_app_menu):
3047 Change common menu pointers from GtkWidget* to GtkMenu* and
3048 HildonAppMenu* to avoid unnecessary casts.
3050 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-window.c (hildon_window_set_main_menu):
3053 Removed incorrect 'Since:' tag
3055 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3057 * src/hildon-pannable-area.c,
3058 (hildon_pannable_area_calculate_velocity): We use now the
3059 RATIO_TOLERANCE here to check the distance, fixed typo in the
3061 (hildon_pannable_area_motion_notify_cb): We have to set the type
3062 and time even if we are not sending the motion.
3064 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3066 * doc/hildon-sections.txt
3067 * src/hildon-app-menu.h
3068 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3069 (+hildon_app_menu_get_filters): New methods to get the contents of
3072 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3075 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-app-menu.c (hildon_app_menu_popup):
3080 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-window.h
3083 * src/hildon-window.c (+hildon_window_get_main_menu)
3084 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3085 and deprecated hildon_window_get_menu().
3087 * src/hildon-stackable-window.h
3088 * src/hildon-stackable-window.c
3089 (+hildon_stackable_window_set_app_menu)
3090 (+hildon_stackable_window_get_app_menu)
3091 (hildon_stackable_window_set_main_menu): Created
3092 hildon_stackable_window_{get,set}_app_menu() and deprecated
3093 hildon_stackable_window_set_main_menu().
3095 * doc/hildon-sections.txt
3096 * examples/hildon-app-menu-example.c (main)
3097 * src/hildon-app-menu.c
3098 * src/hildon-program.c:
3099 Updated examples and documentation.
3101 Fixes: NB#103758 (No way to obtain a menu from a
3102 HildonStackableWindow)
3104 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3109 * configure.ac: Bump version.
3110 * debian/changelog: Updates.
3112 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3114 * examples/hildon-remote-texture-example.c: Include
3115 hildon-remote-texture.h explicitely.
3116 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3117 applications not defining _XOPEN_SOURCE which don't require this header.
3119 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3121 * doc/hildon-sections.txt
3122 * src/hildon-app-menu.h
3123 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3124 New function to pop up a HildonAppMenu
3126 * src/hildon-stackable-window.c
3127 (hildon_stackable_window_toggle_menu):
3128 Use hildon_app_menu_popup() to show the menu.
3130 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-app-menu.c (hildon_app_menu_show)
3133 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3134 menu if there's another window between it and its parent window.
3136 Fixes: NB#100468 (Application menu window is launched even when a
3137 new secondary-window/dialog is pending to be shown/realized)
3139 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3141 * src/hildon-window-stack.c (hildon_window_stack_push)
3142 (hildon_window_stack_pop_and_push):
3143 Don't forget to push/pop the first window.
3144 Reverse the window list before calling _push_list()
3146 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-picker-button.h
3149 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3150 Remove "value_changed" slot to avoid ABI breakage
3152 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3154 * src/hildon-pannable-area.c,
3155 (hildon_pannable_area_realize),
3156 (hildon_pannable_area_unrealize),
3157 (hildon_pannable_draw_vscroll),
3158 (hildon_pannable_draw_hscroll): Changed the method to handle the
3159 GC used to draw the transparent scrollbar, this way we avoid
3160 creating the GC all the time when drawing the scrollbars.
3162 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3164 * src/hildon-pannable-area.c,
3165 (hildon_pannable_area_init),
3166 (hildon_pannable_area_remove): Removed some unnecessary casts.
3167 (hildon_pannable_area_dispose): Disconnected some signals before
3168 releasing the adjustments.
3170 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3172 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3173 Make sure that all widgets contained in the toolbar are shown.
3175 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3177 * doc/hildon-sections.txt
3178 * src/hildon-picker-button.h
3179 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3180 (_selection_changed, hildon_picker_button_on_dialog_response)
3181 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3182 New hildon_picker_button_value_changed() method.
3185 * src/hildon-picker-button-private.h
3186 * src/hildon-picker-button.c (hildon_picker_button_init)
3187 (+hildon_picker_button_disable_value_changed): Add protected
3188 function for disabling the "value-changed" signal.
3190 * src/hildon-date-button.c (hildon_date_button_set_date):
3191 Don't emit "value-changed" for each one of the three columns.
3193 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3194 before actual change of values)
3196 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3198 * src/hildon-pannable-area.c,
3199 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3200 for the treeview overshooting.
3202 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3204 * src/hildon-banner.c (+hildon_banner_bind_style):
3205 Renamed from hildon_banner_bind_label_style(), now naming the
3206 banner itself as well.
3207 (hildon_banner_show_information),
3208 (hildon_banner_show_information_with_markup),
3209 (hildon_banner_show_animation), (hildon_banner_show_progress):
3210 Name the widgets and labels, based on their type.
3212 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3215 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3217 * src/hildon-note.c (hildon_note_set_property): call
3218 hildon_note_rename() on HildonNote:note-type set.
3219 (hildon_note_rename): Name the note and its label, based on the
3220 HildonNote:note-type property.
3222 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3225 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3227 * src/hildon-pannable-area.c,
3228 (hildon_pannable_area_class_init),
3229 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3230 panning parameters, increased SPS and deceleration factor. Added
3231 also a margin to control fake directions.
3233 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3235 Patch by Sven Herzberg (sven@imendio.com)
3237 * configure.ac: Add missing AM_PROG_CC_C_0
3238 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3240 See NB#101420 (Update unit tests and fix make check)
3242 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3244 This patch was applied before but reverted because it caused
3245 problems, we have changed the main condition and tested the
3246 regressions we detected before and they work ok. We have done a
3247 complete review of the topmost algorithm in order to get a more
3250 * src/hildon-pannable-area.c,
3251 (hildon_pannable_area_get_topmost): Added a new parameter to
3252 filter the the windows that do not include those events.
3253 (hildon_pannable_area_button_press_cb),
3254 (hildon_pannable_area_button_release_cb),
3255 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3256 topmost function, we have added the new parameter.
3258 Fixes: NB#97458 (Pannable area prevents propagation of button
3261 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3264 if all columns in the selector have an item selected.
3265 (_on_dialog_response): Stop "response" signal emission if there is
3266 any selector column without selected items.
3268 Fixes: NB#101889 (Picker dialog should not close when nothing is
3269 selected in multiple selection list)
3271 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3273 * src/hildon-font-selection-dialog.c
3274 (hildon_font_selection_dialog_class_init),
3275 (hildon_font_selection_dialog_init): Remove the preview
3276 button and dialog, since previewing with default theming is likely
3277 to be overcomplicated. The :preview property has now no effect.
3278 Update documentation blurbs to inform about this.
3280 Fixes: NB#92297 (Preview content is not clearly visible for
3281 default colour text)
3283 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3285 Reviewed the geometry that handles the children size and
3286 scrollbar, now it tries a size and reviews the results depending
3287 on the scrollbars visibility.
3289 * src/hildon-pannable-area.c,
3290 (hildon_pannable_area_realize): Fixed a typo.
3291 (hildon_pannable_area_child_allocate_calculate): Added this
3292 function to calculate the child allocation.
3293 (hildon_pannable_area_size_allocate): Reviewed the allocation
3295 (hildon_pannable_area_check_scrollbars),
3296 (hildon_pannable_area_refresh): Refactored refresh function, this
3297 way we can call the code handling the scrollbars without causing a
3298 size_request, it is interesting in the allocate.
3299 (hildon_pannable_area_init): Replace the callbacks of the
3300 value_changed and changed signals to propertly deal with the
3302 (hildon_pannable_area_grab_notify),
3303 (hildon_pannable_area_initial_effect),
3304 (hildon_pannable_area_launch_fade_timeout),
3305 (hildon_pannable_area_adjust_changed),
3306 (hildon_pannable_area_adjust_value_changed),
3307 (hildon_pannable_area_redraw),
3308 (hildon_pannable_area_button_press_cb),
3309 (hildon_pannable_area_button_release_cb),
3310 (hildon_pannable_area_scroll_cb),
3311 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3312 code and use the new functions adjust_changed and
3313 adjust_value_changed.
3315 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3316 Contact editor dialog)
3318 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3323 * configure.ac: Bump version.
3324 * debian/changelog: Updates.
3326 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3328 * src/hildon-pannable-area.c,
3329 (hildon_pannable_area_get_topmost),
3330 (hildon_pannable_area_button_press_cb),
3331 (hildon_pannable_area_button_release_cb),
3332 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3333 topmost function adding the event mask. We have to try a
3334 differente approach because it is still causing problems (NB#9745,
3337 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3339 * src/hildon-banner.c:
3340 Update the maximum width of timed banners.
3341 (force_to_wrap_truncated): Enforce the maximum text width if the
3344 Fixes: NB#102413 (The text margins (wrapping) in information
3345 banner should be HILDON_MARGIN_TRIPLE)
3347 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3349 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3351 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3352 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3353 bound when calculating the scroll indicator position.
3355 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3356 treat ->lower correctly)
3358 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3360 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3361 expose event handling, since it is not necessary to draw the focus
3364 Fixes: NB#102467 (Do not show highlight on the text in
3367 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3369 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3370 full height of the toolbar for the button and the label.
3372 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3375 padding before the label and after the button.
3377 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3381 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3382 Add a GtkVSeparator between the button and the back arrow.
3383 Let the button have automatic size.
3384 Set a name to the widget for theming handling.
3386 Fixes: NB#101793 (Make edit toolbar the same height as window
3387 title bar (use title area theming))
3389 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3391 * src/hildon-helper.c (attach_new_color_element): Fix memory
3394 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3396 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3398 * examples/hildon-button-example.c (common_buttons_window): Don't
3401 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3404 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3406 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3408 * src/hildon-gtk.c: Check that the window is realized.
3410 Fixes: NB#102225 (Crash setting the progress indicator to a non
3413 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3415 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3416 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3417 instead of modifying the one in the widget style.
3419 Fixes: NB#101043 (Second row of all the command button are
3420 displayed in transparent mode.)
3422 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-date-button.c
3425 * src/hildon-time-button.c: Add gettext macros
3427 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3429 * src/hildon-date-button.c (hildon_date_button_new):
3430 * src/hildon-time-button.c (hildon_time_button_new_step):
3431 Use new logical strings to set the button default title.
3433 Fixes: NB#99915 (Date and Time options are not localised in Date
3436 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3438 * src/hildon-pannable-area.c
3439 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3440 the PANNING_THRESHOLD.
3442 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3444 * src/hildon-pannable-area.c,
3445 (hildon_pannable_area_class_init): Increased the maximum speed.
3446 (hildon_pannable_area_get_property),
3447 (hildon_pannable_area_set_property),
3448 (hildon_pannable_area_timeout): Added a new low friction mode, it
3449 allows the user avoid friction when launching the widget fast
3450 enough. It is interesting to traverse long lists.
3452 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3454 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3455 (+hildon_stackable_window_delete_event): Ignore delete events if
3456 the window is not the topmost one.
3458 Fixes: NB#101698 (Back button long press and delete-event handling)
3460 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3462 * src/hildon-pannable-area.c,
3463 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3464 gtk-dnd-drag-threshold, it was too big. We have defined our own
3465 dnd define and set a smaller value: PANNIG_THRESHOLD.
3467 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3469 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3470 user-defined icons, use always the default one.
3472 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3474 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3476 This patch was applied before but reverted because it caused
3477 problems, we have changed the main condition and tested the
3478 regressions we detected before and they work ok.
3480 * src/hildon-pannable-area.c,
3481 (hildon_pannable_area_get_topmost): Added a new parameter to
3482 filter the the windows that do not include those events. Added
3483 also a condition when finding the window to filter windows that do
3484 not ask for those events.
3485 (hildon_pannable_area_button_press_cb),
3486 (hildon_pannable_area_button_release_cb),
3487 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3488 topmost function, we have added the new parameter.
3490 Fixes: NB#97458 (Pannable area prevents propagation of button
3493 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3495 * tests/check-hildon-color-button.c (START_TEST): do not leak
3498 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3500 * src/hildon-font-selection-dialog.c
3501 (hildon_font_selection_dialog_get_preview_text): Return NULL
3502 instead of FALSE on the g_return_val_if_fail().
3504 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3506 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3507 * src/hildon-date-selector.c
3508 (hildon_date_selector_select_current_date):
3509 Do not compare unsigned integers to be greater than or equal 0,
3510 because it's always TRUE.
3512 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3514 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3515 (hildon_date_selector_constructor): Do not select the current
3516 date until we are handle the "changed" signal, to avoid having bogus
3517 elements in the days model.
3519 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3521 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3522 for num_days, since _month_days() can return a negative value.
3524 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3526 * src/hildon-caption.c (hildon_caption_size_allocate):
3527 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3528 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3530 Initialize allocation variables to 0, to avoid eventually using
3531 unitialized variables.
3533 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-bread-crumb-trail.c
3536 (hildon_bread_crumb_trail_size_allocate):
3537 * src/hildon-calendar.c (hildon_calendar_set_background):
3538 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3539 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3540 * src/hildon-seekbar.c (hildon_seekbar_init):
3541 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3542 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3543 * src/hildon-touch-selector-entry.c
3544 (hildon_touch_selector_get_text_from_model):
3545 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3546 * src/hildon-window.c (hildon_window_finalize):
3548 Remove many unused variables.
3550 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3552 * src/hildon-seekbar.c: (hildon_seekbar_init),
3553 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3555 Remove unnecessary g_assert() calls.
3557 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3559 * src/hildon-caption.c: (hildon_caption_expose),
3560 (hildon_caption_set_property), (hildon_caption_init),
3561 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3562 (hildon_caption_size_request), (hildon_caption_size_allocate),
3563 (hildon_caption_forall), (hildon_caption_set_separator),
3564 (hildon_caption_activate), (hildon_caption_set_child_expand),
3565 (hildon_caption_set_label_text),
3566 (hildon_caption_get_label_alignment):
3568 Remove unnecessary g_assert() calls.
3570 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3572 * src/hildon-banner.c
3573 (hildon_banner_map, hildon_banner_init): Make banner temporary
3574 before mapping it to avoid closing other temporary windows, but
3575 make it non-temporary afterwards to avoid being closed by other
3576 non-temporary windows.
3577 (-hildon_banner_client_event, hildon_banner_init):
3578 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3580 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3583 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3585 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3588 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3590 * src/hildon-remote-texture.c
3591 * src/hildon-remote-texture.h
3592 * src/hildon-remote-texture-private.h
3593 * examples/hildon-remote-texture-example.c:
3594 Updates/fixes to remote-texture and its example.
3596 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3598 Patch by Mox Soini (ext-mox.soini@nokia.com)
3600 * src/hildon-code-dialog.c: Update logical id.
3601 * src/hildon-set-password-dialog.c: Update logical id.
3603 Fixes: NB#100646 (Logical strings is shown for ok in set
3604 password,Password needed dialogs)
3606 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3609 * src/hildon-remote-texture.c
3610 * src/hildon-remote-texture.h
3611 * src/hildon-remote-texture-private.h
3613 Added remote texture widget (for Clutter shared memory textures)
3615 * examples/hildon-remote-texture-example.c
3616 * examples/Makefile.am
3617 Added example file for remote texture usage
3619 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3621 * configure.ac: post release version bump.
3622 * debian/changelog: version bump.
3624 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3629 * configure.ac: Bump version.
3630 * debian/changelog: Updates.
3632 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3634 * src/hildon-date-selector.c (hildon_date_selector_init)
3635 (hildon_date_selector_constructor): Don't connect to the "changed"
3636 signal until the selector is completely constructed.
3638 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3640 * src/hildon-touch-selector.c: (_create_new_column),
3641 (hildon_touch_selector_append_column),
3642 (hildon_touch_selector_set_column_selection_mode),
3643 (hildon_touch_selector_set_active),
3644 (hildon_touch_selector_select_iter):
3645 Emit the HildonTouchSelector::changed signal every time selection
3646 is changed in any of the methods above. This behavior was already
3647 documented but not fully functional.
3649 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3650 selection is programmatically changed)
3652 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3654 * doc/hildon-sections.txt: Remove obsolete icon
3655 sizes from here as well.
3657 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3659 * examples/hildon-stackable-window-example.c (add_window): Remove
3662 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3664 * src/hildon-app-menu.c
3665 (hildon_app_menu_show): Check whether the parent window of a menu
3666 is topmost before popping it up.
3668 Fixes: NB#100468 (Application menu window is launched even when a
3669 new secondary-window/dialog is pending to be shown/realized.)
3671 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3673 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3676 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3678 Patch by Mox Soini (ext-mox.soini@nokia.com)
3680 * src/hildon-banner.c: (hildon_banner_show_animation):
3681 use stylus size instead of obsolete note size.
3682 * src/hildon-defines.h: Update icon sizes.
3684 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3686 * src/hildon-touch-selector-entry.c:
3687 (hildon_touch_selector_entry_init): Disable unsupported
3689 (hildon_touch_selector_entry_get_text_column): Emit a warning
3690 if an unsupported input modes is used and explicitile state
3691 these modes in the documentation.
3693 Fixes: NB#99802 (Hildon touch selector entry not working properly
3694 for some of the input modes)
3696 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3698 * src/hildon-pannable-area.c,
3699 (hildon_pannable_area_init): Added the changed signal handlers of
3702 Fixes: NB#100320 (HildonPannableArea does not listen to
3703 GtkAdjustment "change" signals)
3705 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3707 * doc/hildon-sections.txt
3708 * src/hildon-window-private.h
3709 * src/hildon-window.h
3710 * src/hildon-window.c (hildon_window_init)
3711 (hildon_window_realize, hildon_window_unrealize)
3712 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3713 (hildon_window_size_request, hildon_window_size_allocate)
3714 (hildon_window_forall, hildon_window_show_all)
3715 (hildon_window_destroy, +paint_edit_toolbar)
3716 (+hildon_window_set_edit_toolbar):
3717 New hildon_window_set_edit_toolbar() method, to add a
3718 HildonEditToolbar to a window without having to pack it manually.
3720 Reorganize hildon_window_size_allocate()
3722 * src/hildon-edit-toolbar.c: Update documentation.
3724 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3725 example to use the new API.
3727 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3729 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3731 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3732 Remove from stack before calling parent's hide.
3734 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3736 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3737 window is removed from the middle of the stack, update the
3738 transiency of the previous one.
3740 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3743 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3746 block/unblock the signal handler if it's not actually being used.
3747 Fixes some critical warnings.
3749 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3751 Based on a patch by Iván Gómez (igomez@igalia.com)
3753 * src/hildon-banner.c
3757 * src/hildon-pannable-area.c
3758 * src/hildon-picker-dialog.c
3759 * src/hildon-wizard-dialog.h
3760 * src/hildon-wizard-dialog.c: Documentation updates.
3762 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3763 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3765 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3767 * configure.ac: post release version bump.
3768 * debian/changelog: version bump.
3770 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3775 * configure.ac: Bump version.
3776 * debian/changelog: Updates.
3778 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3780 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3781 a stock icon nor change the relief of the back arrow.
3783 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3784 graphics from theme)
3786 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3788 * src/hildon-button.c (hildon_button_set_alignment): Use
3789 priv->alignment if the button has no child yet.
3791 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3793 * src/hildon-button.c: (hildon_button_init): Set the
3794 button style during initialization to give it the proper
3797 Fixes: NB#99713 (HildonButton value label color is wrong)
3799 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3801 * src/hildon-touch-selector.c: Document
3802 hildon_touch_selector_center_on_selected()
3804 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3806 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3807 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3808 all menu items, but not the menu itself.
3809 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3810 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3811 items after adding them to the menu so keyboard accelerators work.
3812 (hildon_app_menu_show): Don't show the menu if it contains items
3813 but none of them are visible.
3815 * examples/hildon-app-menu-example.c (create_menu): Use
3816 gtk_widget_show_all() to show all menu items.
3818 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3820 * src/hildon-picker-dialog.c:
3821 (-_update_title_on_selector_changed_cb),
3822 (-_dialog_update_title): Removed.
3823 (_select_on_selector_changed_cb), (_on_dialog_response),
3824 (on_selector_columns_changed): Do not update the dialog title.
3825 (setup_interaction_mode): Do not connect to
3826 HildonTouchSelector::changed signal if there's a "done" button, as
3827 the dialog title doesn't need to be updated.
3829 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3832 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3834 Patch by Kristian Rietveld (kris@imendio.com)
3836 * src/hildon-touch-selector.c: (_create_new_column): Use new
3837 GtkTreeView::hildon-row-tapped signal to react to user interactions
3838 instead of ::changed.
3840 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3841 with some dynamic tree model)
3843 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3846 (+screen_size_changed, +label_size_request)
3847 (hildon_note_class_init): Make the Hildon information note have a
3848 minimum height, and make its text hvae a maximum width.
3850 Fixes: NB#98614 (Hildon information note (background) should have
3851 minimum height and maximum text width)
3853 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3855 * src/hildon-banner.h
3856 * src/hildon-banner.c (hildon_banner_show_information)
3857 (hildon_banner_show_informationf)
3858 (hildon_banner_show_information_with_markup): Update documentation
3859 to reflect that the icon_name parameter is not used anymore.
3860 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3861 Remove all code from these functions and mark them as deprecated.
3862 (hildon_banner_show_progress): Mark as deprecated.
3864 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3866 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3868 * src/hildon-pannable-area.c,
3869 (hildon_pannable_area_class_init),
3870 (tranparency_color),
3871 (hildon_pannable_draw_vscroll),
3872 (hildon_pannable_draw_hscroll),
3873 (hildon_pannable_area_expose_event): Added a new way to render the
3874 scrollbars of the pannable area avoiding using cairo at all. This
3875 way we improve the performance of the pannable area rendering. The
3876 cairo rendering procedure is still in the code, we can control
3877 which one to use changing the value of the define
3878 USE_CAIRO_SCROLLBARS.
3880 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3882 * configure.ac: post release version bump.
3883 * debian/changelog: version bump.
3885 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3890 * configure.ac: Bump version.
3891 * debian/changelog: Updates.
3893 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3895 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3896 banners instead of destroying them when they receive a button
3899 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3901 Reverted commit 34028, it was causing regressions, probably the
3902 topmost condition is not correct, we have to check it in more
3903 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3904 propagation of button press events)
3906 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3908 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3909 that the selection is not empty before attempting to retrieve the
3910 current ampm selection.
3912 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3914 * src/hildon-picker-button.c:
3915 (hildon_picker_button_on_dialog_response): Directly update the
3916 button contents when required instead of calling _selection_changed.
3918 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3920 * src/hildon-program.c (hildon_program_update_top_most): Update
3921 'is-topmost' property also when wm_hints is not set.
3923 Fixes: NB#98383 (is-topmost signal is not emitted when task
3924 switcher is clicked.)
3926 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3928 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3932 * src/hildon-animation-actor.c,
3933 * src/hildon-animation-actor.h: Added the animation actor class,
3934 this widget represents an animation actor for WM-assisted
3935 animation effects in the Hildon framework.
3937 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3939 * src/hildon-window-stack-private.h
3940 * src/hildon-window-stack.c
3941 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3942 Avoid calling gtk_widget_show() again indirectly from
3943 hildon_stackable_window_show()
3945 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3950 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3953 (hildon_time_selector_init): Move the construction of the hours and
3954 ampm columns to the constructor to preserve the order the columns
3957 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3959 * src/hildon-picker-dialog.c:
3960 (hildon_picker_dialog_class_init): Connect a realize method.
3961 (+hildon_picker_dialog_realize): Setup the interaction mode here
3963 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3964 yet, do it during the realize instead.
3965 (_on_dialog_response):
3966 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3967 if the widget is not realized, to avoid the dialog response before it
3970 Avoid premature responses in the HildonPickerDialog that can cause it
3971 to be hidden before it's even shown.
3973 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3975 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3976 (on_selector_columns_changed), (requires_done_button),
3977 (+prepare_action_area), (setup_interaction_mode),
3978 (_hildon_picker_dialog_set_selector):
3980 Split the interaction mode setup into preparation of the
3981 action area (prepare_action_area()) and the connection of
3982 the signals in setup_interaction_mode() and update the code to
3985 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3987 * src/hildon-pannable-area.c,
3988 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3989 per second to 15, we will check if this is ok regarding
3992 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3994 * src/hildon-pannable-area.c,
3995 (hildon_pannable_axis_scroll): Avoid resize if we already have
3996 reached overshoot_max.
3998 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4000 * src/hildon-pannable-area.c,
4001 (hildon_pannable_area_init),
4002 (hildon_pannable_area_realize),
4003 (hildon_pannable_area_size_allocate),
4004 (hildon_pannable_area_map),
4005 (hildon_pannable_area_unmap),
4006 (hildon_pannable_draw_vscroll),
4007 (hildon_pannable_draw_hscroll),
4008 (hildon_pannable_area_expose_event),
4009 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4010 pannable are to avoid the expose events go to the window and
4011 redraw the window. We save this way that part of the stack and the
4012 paint_boxes. We had to change the positions of the elements when
4015 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4017 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4018 * src/hildon-color-chooser-dialog.c:
4019 (hildon_color_chooser_dialog_init):
4020 * src/hildon-font-selection-dialog.c:
4021 (hildon_font_selection_dialog_init),
4022 (hildon_font_selection_dialog_show_preview):
4023 * src/hildon-get-password-dialog.c:
4024 * src/hildon-login-dialog.c:
4025 * src/hildon-set-password-dialog.c:
4026 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4027 * src/hildon-time-picker.c: (hildon_time_picker_init):
4029 Remove obsolete logical string IDs and update to the appropriate ones.
4031 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4033 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4035 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4036 that happens if the window hasn't been realized yet.
4038 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4039 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4041 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4043 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4044 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4047 Fixes: NB#98537 (Device hangs in account settings dialog)
4049 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4051 * configure.ac: post release version bump.
4052 * debian/changelog: version bump
4054 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4059 * configure.ac: Bump version.
4060 * debian/changelog: Updates.
4062 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4064 Added a new function to the HildonTimeButton widget that allows to
4065 change the step of the minutes in the selector associated with the
4066 button: hildon_time_button_new_step
4068 * src/hildon-time-button.c,
4069 (hildon_time_button_init),
4070 (hildon_time_button_new),
4071 (hildon_time_button_new_step):
4072 * src/hildon-time-button.h: Added the new function and refactored
4074 * examples/hildon-time-button-example.c,
4075 (main): We have replaced the function without parameters with the
4076 function with the steps set to 5
4078 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
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_get_property),
4086 (hildon_time_selector_set_property),
4087 (_create_minutes_model),
4088 (hildon_time_selector_new_step),
4089 (hildon_time_selector_set_time),
4090 * src/hildon-time-selector.h: Added a new property to the
4091 HildonTimeSelector (minutes-step), we use that property to control
4092 the steps between the minutes in the list of the selector. We have
4093 added a new function to the API to create a widget changing the
4094 step: hildon_time_selector_new_step.
4096 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4098 * src/hildon-time-selector.c,
4099 (hildon_time_selector_class_init),
4100 (hildon_time_selector_constructor),
4101 (hildon_time_selector_init): Overrided the construct function when
4102 creating the time selector object. We have moved the minutes model
4103 handling code from the init to the new construction function:
4104 hildon_time_selector_constructor.
4106 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4108 * examples/hildon-date-button-example.c: (main): Use the new
4109 hildon_date_button_new_with_year_range() method in the example.
4110 * src/hildon-date-button.c:
4111 (+hildon_date_button_new_with_year_range): New public method
4112 to conveniently create a HildonDateButton with a custom year range
4113 in its HildonDateSelector.
4114 * src/hildon-date-button.h: Add the new public method definition.
4116 Fixes: NB#97908 (Not possible to change the year range in
4117 HildonDateSelector/HildonDateButton)
4119 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4121 * src/hildon-date-selector.c:
4122 (+hildon_date_selector_set_property),
4123 (+hildon_date_selector_get_property),
4124 (hildon_date_selector_class_init): Install new properties "min-year"
4125 and "max-year" to define boundaries for the year column.
4126 (_create_year_model): Use the boundary properties to populate the model.
4127 (+hildon_date_selector_new_with_year_range): New public method to
4128 create a HildonDateSelector with a user defined year range.
4129 (hildon_date_selector_select_current_date): Use the new boundaries to
4130 calculate the iterator of current year.
4131 * src/hildon-date-selector.h: Add the new public method definition.
4133 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4135 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4136 Install a constructor method.
4137 (+hildon_date_selector_construct_ui): construct the widget.
4138 (+hildon_date_selector_constructor): new constructor.
4139 (+hildon_date_selector_init): move out widget construction code to
4140 the new constructor.
4142 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4145 that there's actually a month or year selected before obtaining them.
4146 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4147 of the HildonTouchSelector::changed signal, as it was emitted on every
4148 single item selection.
4150 Fix some warnings and possible crashers due to the selection restoring.
4152 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4154 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4155 the signal handlers only after creating the dialog instead of on every
4158 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4160 * src/hildon-button.c (hildon_button_init)
4161 * src/hildon-check-button.c (hildon_check_button_init)
4162 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4163 focus when clicked by default.
4165 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4167 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4170 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4172 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4173 Alejandro G. Castro (alex@igalia.com)
4175 * src/hildon-picker-dialog.c:
4176 (hildon_picker_dialog_class_init): install new "center-on-show"
4178 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4179 (hildon_picker_dialog_set_property): add setter code for the new
4181 (hildon_picker_dialog_get_property): add getter code for the new
4183 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4184 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4187 Fixes: NB#92849 (Selected item is not always visible when
4188 HildonTouchSelector is shown)
4190 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4192 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4193 Alejandro G. Castro (alex@igalia.com)
4195 * src/hildon-touch-selector.c:
4196 (_create_new_column): Do not connect to the "realize" signal of the
4198 (hildon_touch_selector_append_column): center on the selected items
4199 when a new column is appended.
4200 (hildon_touch_selector_select_iter): Factor out the code to select a
4201 column to hildon_touch_selector_scroll_to().
4202 (+search_nearest_element): Method to retrieve the nearest selected
4203 element to the visible area of the pannable area in a column.
4204 (+on_realize_cb): scroll to the initially selected item.
4205 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4206 the pannable area is realized, otherwise delay this until it is.
4207 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4208 selected items of a given column.
4209 (+hildon_touch_selector_center_on_selected): Public method to center
4210 all columns on the nearest selected item.
4211 * src/hildon-touch-selector.h: Add definition for
4212 hildon_touch_selector_center_on_selected().
4214 Implement public API to ensure visibility of all selected items in
4215 a HildonTouchSelector.
4217 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4219 Fixed a problem in the fading when calling the scroll_to API, and
4220 improve scrollbar fading handling.
4222 * src/hildon-pannable-area.c,
4223 (hildon_pannable_area_grab_notify): avoid the timeout when the
4225 (hildon_pannable_area_button_press_cb),
4226 (hildon_pannable_area_motion_notify_cb): Code style changes.
4227 (hildon_pannable_area_button_release_cb): Review the conditions
4228 when releasing the mouse button to avoid unrequired fading
4230 (hildon_pannable_area_scroll_to): Do not calculate and set the
4231 velocity if the scroll is not required.
4233 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4235 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4236 Don't check whether the new selector is NULL: it cannot be.
4237 Hold a reference to the selector while doing the replacement.
4239 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4242 unnecessary size_request in a removed widget.
4244 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4247 an unnecessary reference tracking that was leaking.
4249 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4251 Added delayed motion notify event handling, this way we can
4252 discard redrawing if more than 25 events arrive per second.
4254 * src/hildon-pannable-area.c,
4255 (hildon_pannable_area_init): Initialized the new private atributes
4256 controlling this timeout
4257 (hildon_pannable_area_dispose): Remove the timeout that controls
4258 the motion notify events.
4259 (hildon_pannable_area_scroll): Added a condition to control the
4260 use of the acceleration.
4261 (hildon_pannable_area_motion_event_scroll_timeout),
4262 (hildon_pannable_area_motion_event_scroll): Added this two
4263 functions, they handle the motion notify events inside the
4265 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4266 to the scroll method with the new function.
4267 (hildon_pannable_area_button_release_cb): We have to remove the
4268 timeout handler and move to the last position if the last motion
4269 events were not handled.
4271 Fixes: NB#97028 (Pannable area updates on every motion event)
4273 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4275 * src/hildon-pannable-area.c,
4276 (hildon_pannable_area_get_topmost): Added a new parameter to
4277 filter the the windows that do not include those events. Added
4278 also a condition when finding the window to filter windows that do
4279 not ask for those events.
4280 (hildon_pannable_area_button_press_cb),
4281 (hildon_pannable_area_button_release_cb),
4282 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4283 topmost function, we have added the new parameter.
4285 Fixes: NB#97458 (Pannable area prevents propagation of button
4288 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4290 * src/hildon-pannable-area.c,
4291 (hildon_pannable_area_initial_effect): Added controls before
4292 launching the timeout and the idle functions.
4293 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4294 of the method, in some situations it can return with TRUE and 0 in
4296 (hildon_pannable_area_button_press_cb): We do not need to set
4297 DELAY for fading out here.
4299 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4301 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4304 post-cleaning if the selection is not NULL.
4306 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4309 all items before restoring the selection.
4311 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4313 * src/hildon-touch-selector.c:
4314 (+hildon_touch_selector_unselect_all):
4315 * src/hildon-touch-selector.h: New API to unselect all items in a
4316 column of the touch selector.
4318 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4320 * src/hildon-pannable-area.c,
4321 (hildon_pannable_area_redraw): Added a call to the refresh
4322 function inside the redraw because apparently in some cases the
4323 change in the adjustment does not imply a size allocate.
4325 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4326 despite the view not being scrollable)
4328 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4330 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4331 leak. Check for NULL before attempting to set the window title.
4333 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4335 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4336 whether to show or not the 'Done' button each time the dialog is
4337 shown, as it depends on the HildonTouchSelector selection mode.
4339 Fixes: NB#96226 (In multiple selection mode Done button is shown
4340 sometimes in listpicker)
4342 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4344 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4345 for the number of columns in the HildonTouchSelector more than once.
4347 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4349 * src/hildon-touch-selector.c: Minor documentation fixes.
4351 * src/hildon-picker-dialog.c (+_dialog_update_title)
4352 (_select_on_selector_changed_cb)
4353 (_update_title_on_selector_changed_cb)
4354 (on_selector_columns_changed): Update dialog title when there's no
4355 'Done' button and also when the number of columns in the selector
4359 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4360 (+_selection_changed, hildon_picker_button_on_dialog_response)
4361 (hildon_picker_button_selector_selection_changed)
4362 (+hildon_picker_button_selector_columns_changed)
4363 (hildon_picker_button_set_selector): Update button value and emit
4364 'value-changed' when the number of columns in the selector
4368 Fixes: NB#96225 (Dialog titles are not shown according to the
4369 values selected in the list picker)
4371 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4373 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4374 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4375 New "arrow-width" and "arrow-height" style properties to set the
4376 size of the arrow button.
4377 Set name of arrow button ("hildon-edit-toolbar-arrow").
4379 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4380 graphics from theme)
4382 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4384 * src/hildon-picker-button.c:
4385 (hildon_picker_button_selector_selection_changed): Use
4386 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4387 the dialog is present.
4389 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4390 the selection is accepted in the dialog)
4392 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4394 * src/hildon-color-chooser.h
4395 * src/hildon-color-chooser-dialog.h:
4396 Added G_BEGIN_DECLS and G_END_DECLS
4398 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4400 (_clean_current_selection): plug a leak in the list.
4402 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4404 * src/hildon-picker-dialog.c:
4405 (+free_path_list): Method to free a GList of GtkTreePaths.
4406 (_clean_current_selection), (_save_current_selection),
4407 (_restore_current_selection): Save the current selection in
4408 as a list of lists, to support multiple selection properly.
4410 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4412 patch by Claudio Saavedra (csaavedra@igalia.com)
4414 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4415 Store the press position.
4416 (+hildon_text_view_button_release_event): If the release position is
4417 close enough to the press position, move the cursor here. Otherwise,
4419 (hildon_text_view_class_init): Override GtkTextView press, release, and
4420 motion event handlers, disabling this way text selection through
4421 pointer interaction, and allowing the container widget to handle the
4424 Fixes: NB#95828 (HildonTextView functionality)
4426 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4428 Based on a patch by Iván Gómez (igomez@igalia.com)
4430 * src/hildon-button.[ch]
4431 * src/hildon-calendar.c
4432 * src/hildon-check-button.c
4433 * src/hildon-date-editor.c
4434 * src/hildon-date-selector.c
4435 * src/hildon-picker-button.c
4436 * src/hildon-time-editor.c
4437 * src/hildon-time-selector.c
4438 * src/hildon-touch-selector.[ch]:
4439 Documentation updates
4441 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4443 * src/hildon-pannable-area.c,
4444 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4445 threshold, it was required due to X events handling.
4447 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4449 * src/hildon-pannable-area.c,
4450 (hildon_pannable_area_grab_notify),
4451 (hildon_pannable_area_initial_effect),
4452 (hildon_pannable_area_button_press_cb),
4453 (hildon_pannable_area_button_release_cb),
4454 (hildon_pannable_area_scroll_cb),
4455 (hildon_pannable_area_scroll_to): Review the timeout management of
4456 the scrollbar, the frecuency was incorrectly set.
4458 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4460 * src/hildon-picker-button.c:
4461 (+hildon_picker_button_on_dialog_response),
4462 (hildon_picker_button_clicked): Present the dialog instead of
4463 running it with gtk_dialog_run().
4465 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4468 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4470 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4471 (hildon_app_menu_finalize): When a window is hidden it doesn't
4472 emit notify::is-topmost, so make sure than the menu also
4473 disappears in that case.
4474 (parent_window_topmost_notify): Renamed from parent_window_hidden
4476 Fixes: NB#94460 (stackable window's menu is not closed when its
4479 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/hildon-touch-selector-entry.c:
4482 (+hildon_touch_selector_entry_set_input_mode),
4483 (+hildon_touch_selector_entry_get_input_mode):
4484 * src/hildon-touch-selector-entry.h: New methods to access the input
4485 mode in the selector's entry.
4487 Fixes: NB#93410 (API required for setting IM mode in
4488 HildonTouchSelectorEntry)
4490 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4492 * configure.ac: post release version bump.
4493 * debian/changelog: version bump
4495 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4500 * configure.ac: Bump version.
4501 * debian/changelog: Updates.
4503 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4505 * src/hildon-touch-selector.c:
4506 (_hildon_touch_selector_has_multiple_selection): No need
4507 to initialize the variables here.
4509 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4511 * src/hildon-note-private.h
4512 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4513 (hildon_note_finalize, hildon_note_rebuild): Close information
4514 notes when they receive a button press.
4516 Fixes: NB#89890 (Information notes does not get disappeared after
4519 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4521 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4522 mark from the wizard title, as it's not really necessary. Also,
4523 do not display the page title if not set.
4525 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4527 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4528 (parent_window_hidden): Use the window's "is-topmost" property to
4529 detect when to hide the menu.
4531 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4533 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4534 (hildon_app_menu_finalize): If the parent window of the menu is
4535 hidden, hide the menu too.
4537 Fixes: NB#94460 (stackable window's menu is not closed when its
4540 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4543 * debian/libhildon1-examples.install
4545 * examples/Makefile.am:
4546 Use dh_install to install all examples.
4547 Use DEB_SRCDIR instead of defining SOURCE_DIR
4549 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4551 * configure.ac: post release version bump.
4552 * debian/changelog: version bump
4554 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4559 * configure.ac: bump version
4560 * debian/changelog: updates
4561 * debian/control: bump gtk+ dependency
4563 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4565 patch by Christian Dywan (christian@imendio.com)
4567 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4568 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4570 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4572 * src/hildon-check-button.c (hildon_check_button_init)
4573 (hildon_check_button_class_init, hildon_check_button_style_set)
4574 (hildon_check_button_apply_style):
4575 New "checkbox-size" style property.
4577 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4578 larger / configurable size)
4580 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4582 * configure.ac: post release version bump.
4583 * debian/changelog: version bump
4585 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4590 * configure.ac: bump version
4591 * debian/changelog: updates
4593 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4595 * doc/hildon-sections.txt
4596 * src/hildon-pannable-area.c
4597 * src/hildon-program.c
4598 * src/hildon-time-editor.c
4599 * src/hildon-touch-selector-entry.c:
4601 More documentation updates.
4603 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4605 * doc/hildon-sections.txt
4606 * src/hildon-caption.c
4607 * src/hildon-code-dialog.c
4608 * src/hildon-color-button.c
4609 * src/hildon-controlbar.c
4610 * src/hildon-date-editor.c
4611 * src/hildon-date-selector.c
4612 * src/hildon-edit-toolbar.c
4613 * src/hildon-find-toolbar.c
4614 * src/hildon-font-selection-dialog.c
4616 * src/hildon-program.c
4617 * src/hildon-range-editor.c
4618 * src/hildon-seekbar.c
4619 * src/hildon-time-editor.c
4620 * src/hildon-time-selector.c
4621 * src/hildon-volumebar-range.c
4622 * src/hildon-volumebar.c
4623 * src/hildon-vvolumebar.c
4624 * src/hildon-weekday-picker.c
4625 * src/hildon-window.c
4626 * src/hildon-wizard-dialog.c:
4628 Lots of documentation fixes.
4630 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4632 Patch contributed by Iván Gómez (igomez@igalia.com)
4634 * src/hildon-check-button.c:
4635 * src/hildon-date-button.c:
4636 * src/hildon-date-selector.c:
4637 * src/hildon-dialog.c:
4638 * src/hildon-edit-toolbar.c:
4639 * src/hildon-entry.c:
4640 * src/hildon-picker-button.c:
4641 * src/hildon-program.c:
4642 * src/hildon-text-view.c:
4643 * src/hildon-time-button.c:
4644 * src/hildon-touch-selector-entry.c:
4645 * src/hildon-window-stack.c:
4647 Add more "since" tags to the new API.
4649 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4651 * doc/hildon-sections.txt: Add below method.
4652 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4653 version for the hildonized scale.
4654 * src/hildon-gtk.h: Add the definition.
4656 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4658 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4660 * doc/hildon-sections.txt: Add missing entries for new methods.
4662 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4664 Added API to pannable are in order to get its adjustments. We
4665 added two properties to manage the values we had in the private
4668 * src/hildon-pannable-area.c:
4669 (hildon_pannable_area_class_init): Added hadjustment and
4670 vadjustment properties in order to expose horizontal and vertical
4672 (hildon_pannable_area_get_property),
4673 (hildon_pannable_area_set_property): Added code to handle the new
4675 (hildon_pannable_area_get_hadjustment),
4676 (hildon_pannable_area_get_vadjustment): API functions to get the
4678 * src/hildon-pannable-area.h:
4679 (hildon_pannable_area_get_hadjustment),
4680 (hildon_pannable_area_get_vadjustment): API functions to get the
4683 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4685 Fixed some leaks, after valgrinding.
4687 * src/hildon-touch-selector.c:
4688 (_default_print_func): Fixed a leak.
4689 (hildon_touch_selector_append_column): Fixed a leak.
4690 * src/hildon-date-button.c:
4691 (hildon_date_button_init): Fixed a leak.
4692 * src/hildon-date-selector.c
4693 (hildon_date_selector_finalize): Fixed a leak.
4695 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4697 Based on a patch by Christian Dywan (christian@imendio.com)
4699 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4701 * src/hildon-gtk.h: Add definition.
4703 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4705 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4707 * src/hildon-picker-button.c: (hildon_picker_button_init),
4708 (hildon_picker_button_new): Set the HildonButton::style property
4709 in the init method, to propagate the value to the derived classes.
4711 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-button.c: (hildon_button_class_init): Do not make
4714 the "style" property a construct property.
4716 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4718 * src/hildon-wizard-dialog.h
4719 * src/hildon-wizard-dialog.c
4720 (hildon_wizard_dialog_set_forward_page_func)
4721 * src/hildon-pannable-area.h
4722 * src/hildon-pannable-area.c
4723 (hildon_pannable_area_set_size_request_policy):
4724 Documentation fixes.
4726 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4728 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4730 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4732 * doc/hildon-sections.txt: Added sections file.
4734 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4737 * src/*.[ch]: Updates.
4739 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4741 * examples/hildon-progress-indicator-example.c: new file
4742 * examples/Makefile.am: include the new example program
4744 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4746 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4748 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4750 * configure.ac: post release version bump
4751 * debian/changelog: version bump
4753 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4758 * configure.ac: bump version
4759 * debian/changelog: updates
4760 * debian/control: bump gtk+ dependency
4762 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4764 * src/hildon-dialog.c: Mark as deprecated.
4765 * src/hildon-dialog.h: Mark as deprecated.
4766 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4767 from HildonDialog and still work, even if
4768 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4769 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4771 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4772 maemo changes) instead)
4774 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4776 * src/hildon-pannable_area.h:
4777 * src/hildon-pannable_area.c:
4778 (hildon_pannable_area_class_init),
4779 (hildon_pannable_area_set_property),
4780 (hildon_pannable_area_get_property),
4781 (hildon_pannable_area_size_request),
4782 (hildon_pannable_area_get_size_request_policy),
4783 (hildon_pannable_area_set_size_request_policy): Added new API
4784 allowing applications to control the request policy. Now they can
4785 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4786 children allocation (HILDON_MOVEMENT_CHILDREN).
4788 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4792 (hildon_gtk_tree_view_set_ui_mode)
4793 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4794 mode of treeviews and iconviews.
4796 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4798 * src/hildon-touch-selector-entry.c:
4799 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4800 of a GtkEntry to get proper theming.
4802 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4803 widget, not GtkEntry)
4805 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4807 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4808 no HildonWizardDialogPageFunc.
4810 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4812 Patch contributed by Iván Gómez (igomez@igalia.com)
4814 * src/hildon-app-menu.c:
4815 * src/hildon-button.c:
4816 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4817 * src/hildon-stackable-window.c:
4818 * src/hildon-time-selector.c:
4819 * src/hildon-touch-selector.c:
4820 * src/hildon-window.c:
4822 Add more "since" tags to the new API in hildon 2.2.
4824 2008-12-05 Tim Janik <timj@imendio.com>
4826 Patch contributed by Christian Dywan (christian@imendio.com)
4828 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4829 HildonSizeType, which are supplied by Gtk+ now.
4831 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4833 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4834 (with maemo changes) instead)
4836 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4838 Patch contributed by Iván Gómez (igomez@igalia.com)
4840 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4843 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4845 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4846 (some_page_func), (main): Update the example to use a
4847 HildonWizardDialogPageFunc function.
4849 * src/hildon-wizard-dialog-private.h: Add private data for
4850 the HildonWizardDialogPageFunc function usage.
4852 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4853 (destroy), (hildon_wizard_dialog_init), (response),
4854 (hildon_wizard_dialog_set_forward_page_func):
4855 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4856 that applications can use to stop a HildonWizardDialog to jump to
4859 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4862 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4864 * src/hildon-program.h
4865 * src/hildon-program-private.h
4866 * src/hildon-program.c (hildon_program_init)
4867 (hildon_program_set_common_app_menu)
4868 (hildon_program_get_common_app_menu):
4869 New API for setting a common HildonAppMenu for all
4870 HildonStackableWindows registered with the HildonProgram.
4872 * src/hildon-stackable-window.c
4873 (hildon_stackable_window_toggle_menu):
4874 Use the common HildonAppMenu if a window doesn't have a specific
4877 * src/hildon-app-menu-private.h
4878 * src/hildon-app-menu.c
4879 (hildon_app_menu_get_parent_window):
4880 Function to obtain the window a HildonAppMenu is attached to.
4881 (hildon_app_menu_set_parent_window):
4882 Hide the menu if the parent window is set to NULL.
4884 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4886 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4887 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4888 search widget to popup.
4890 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4892 * configure.ac: post release version bump
4893 * debian/changelog: version bump
4895 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4900 * configure.ac: bump version
4901 * debian/changelog: updates
4903 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4905 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4907 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4908 (hildon_window_stack_window_realized)
4909 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4910 Set the leader GdkWindow when a window is stacked and realized,
4911 unset it when it's unstacked.
4912 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4914 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4916 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4918 * src/hildon-stackable-window.h
4919 * src/hildon-window-stack.h:
4920 Protect definition of HildonWindowStack using the preprocessor.
4922 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4925 Fix warning if all menu items are hidden.
4927 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4929 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4931 * src/hildon-controlbar.c:
4932 * src/hildon-hvolumebar.c:
4933 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4934 Multiple scale size defines updates.
4936 Fixes: NB#94322 (Scale Updates)
4938 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4940 * examples/hildon-app-menu-example.c (create_menu)
4941 Show items after adding them to the menu, as in the future the
4942 menu will no longer call gtk_widget_show() on the added items.
4944 * src/hildon-app-menu.c:
4945 Update example as explained above.
4947 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-app-menu.c
4950 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4951 Make sure that all menu items have finger height.
4953 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4955 * src/hildon-picker-dialog.c:
4956 (_on_dialog_response), (_save_current_selection),
4957 (_restore_current_selection), (_clean_current_selection),
4958 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4959 Defined new functions in order to save the current internal selector
4960 selection previous open the dialog, in case that the use cancel the
4961 interaction, so the widget restores the previous selection.
4963 Fixes: NB#92032 (In calendar application, date values in 'new event'
4966 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4968 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-button.c: Add a reference to the button examples in
4971 hildon-button-example.c
4973 * examples/hildon-button-example.c: Added examples of the most
4974 common button layouts.
4976 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4978 * src/hildon-app-menu.c (hildon_app_menu_show)
4979 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4981 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4983 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4985 * src/hildon-picker-dialog.c:
4986 (hildon_picker_dialog_init): Initialize the signal id for
4987 HildonTouchSelector::columns-changed.
4988 (+on_selector_columns_changed): Set up the interaction mode everytime a
4989 column is added or removed from the HildonTouchSelector.
4990 (_hildon_picker_dialog_set_selector): Connect to
4991 HildonTouchSelector::columns-changed and keep track of it.
4993 Make sure to update the interaction mode of the dialog everytime a
4994 column is added or removed in the HildonTouchSelector.
4996 Fixes: NB#93228 (Done button is not shown always in listpicker)
4998 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5000 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5001 a new ::columns-changed signal.
5002 (hildon_touch_selector_append_column): Emit ::columns-changed.
5003 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5005 Add a ::columns-changed signal, emitted when the number of columns in a
5006 HildonTouchSelector changes.
5008 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5010 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5011 (_hildon_picker_dialog_set_selector): Factor out the code
5012 to set up the dialog interaction mode.
5014 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5016 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5017 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5018 to signal_changed_id.
5020 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5022 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5025 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5027 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5028 Updated the logical ids related to ampm format, as now it is required to
5029 show it correctly localized even on languages with no default
5030 abbreviations for am or pm
5031 (_check_am_pm_format): check correctly the 24h format gconf property
5033 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5035 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5037 * src/hildon-button.c: Documentation updates.
5039 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5041 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5042 * src/hildon-caption.c: (hildon_caption_class_init):
5043 * src/hildon-color-button.c: (hildon_color_button_class_init):
5044 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5045 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5046 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5047 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5049 Remove deprecated GTK+ marshalers and replace them with the ones
5050 provided by GLib, for those available, add a marshaler for
5051 BOOLEAN:VOID, which is not available in GLib, and use it.
5053 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5055 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5056 the text from the previous column if there is no
5057 HildonTouchSelectorColumn::text-property set.
5059 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5061 * src/hildon-button.h
5062 * src/hildon-button.c (hildon_button_set_property)
5063 (hildon_button_get_property, hildon_button_class_init)
5064 (hildon_button_set_style, hildon_button_get_style):
5065 New "style" property to change the visual appearance of the
5068 * src/hildon-picker-button.c (hildon_picker_button_new):
5069 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5071 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5072 HildonButton look like PickerButton)
5074 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5076 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5077 column while building the default string.
5079 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5081 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5082 scroll indicator by default.
5084 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5086 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5088 * src/hildon-main.c: Fix the documentation for hildon_init()
5090 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5092 * doc/hildon-docs.sgml
5096 * src/hildon-window-stack-private.h
5097 * src/hildon-window-stack.h
5098 * src/hildon-window-stack.c:
5099 New HildonWindowStack object, that adds support for multiple
5100 stacks of windows per process.
5102 * src/hildon-stackable-window-private.h
5103 * src/hildon-stackable-window.h
5104 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5105 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5106 (hildon_stackable_window_show, hildon_stackable_window_hide)
5107 (hildon_stackable_window_class_init)
5108 (hildon_stackable_window_init):
5109 Use HildonWindowStack for stack management.
5111 * src/hildon-program.c (hildon_program_pop_window_stack)
5112 (hildon_program_peek_window_stack)
5113 (hildon_program_go_to_root_window):
5114 Add a fallback implementation to the deprecated functions using
5117 * examples/hildon-stackable-window-example.c:
5118 Use the new HildonWindowStack API.
5120 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5122 * src/hildon-stackable-window-private.h
5123 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5124 (hildon_stackable_window_hide, hildon_stackable_window_init):
5125 Remove all window stack management.
5127 * src/hildon-program-private.h
5128 * src/hildon-program.h
5129 * src/hildon-program.c (hildon_program_init)
5130 (hildon_program_pop_window_stack)
5131 (hildon_program_peek_window_stack)
5132 (hildon_program_go_to_root_window):
5133 Remove all window stack management and mark functions as
5136 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5138 * src/hildon-app-menu.c (hildon_app_menu_realize):
5139 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5141 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5143 * configure.ac: post release version bump
5144 * debian/changelog: version bump
5146 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5151 * configure.ac: bump version
5152 * debian/changelog: updates
5154 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5156 Based on initial code by Christian Dywan (christian@imendio.com)
5158 * doc/hildon-docs.sgml: Add section for hildon-main.
5159 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5160 * src/Makefile.am: Add new hildon-main.[ch]
5161 * src/hildon-defines.h: Update the icon sizes.
5162 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5163 new library initialization files and register icon sizes.
5164 * src/hildon-main.h: New declarations.
5165 * src/hildon.h: Include hildon-main.h
5167 Add new initialization functions to the library. These methods
5168 will register the hildon specific icon sizes and can be used in the
5169 future for other hildon specific bits.
5171 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5173 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5175 * src/hildon-window.c: (hildon_window_realize),
5176 (hildon_window_notify), (-hildon_window_update_title): Do not set
5177 the application name in the window title.
5179 Fixes: NB#89754 (Applications shouldn't display their names in the
5182 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5184 * src/hildon-note-private.h:
5185 * src/hildon-note.c: (hildon_note_set_property),
5186 (hildon_note_get_property), (hildon_note_class_init),
5187 (hildon_note_init), (hildon_note_finalize),
5188 (hildon_note_new_confirmation_with_icon_name),
5189 (hildon_note_new_information_with_icon_name):
5191 No need to mark as deprecated the actual code. Revert
5192 to avoid missing symbols in widgets using deprecated API.
5194 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5196 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5198 * src/hildon-volumebar.h
5199 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5200 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5202 * src/hildon-helper.h
5203 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5204 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5206 * examples/Makefile.am:
5207 Deprecate hildon-insensitive-example
5209 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5211 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5213 * examples/hildon-pannable-area-buttons-scroll-example.c:
5214 Make all buttons finger height
5216 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5218 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5220 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5221 update the day model only if it is really required, and to avoid the
5222 full-reconstruction aproach. Now it only add or remove the required days.
5224 The purpose of this is avoid superfluous HildonTouchSelector::changed
5227 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5228 with strange parameters)
5230 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5232 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5234 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5235 the WINDOW_TYPE property.
5237 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5239 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5242 Fix dependency to allow parallel compilation with make -jX
5244 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5246 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5247 color frame and some minor tweaks to make it more consistent with
5250 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5251 highlighted but not visible)
5253 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5255 * examples/Makefile.am: Fixed typo in the Makefile.am.
5257 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5259 Reviewed the use of MAEMO_GTK define, now we add the define in the
5260 compilation line, and we also add it to the pc file.
5262 * configure.ac: Added MAEMO_GTK define to the compilation command
5263 and removed it from the config.h.
5265 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5266 do not have to take care about this define if the library was
5270 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5272 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5274 * examples/Makefile.am,
5275 * examples/hildon-pannable-area-buttons-scroll-example.c,
5276 * examples/hildon-pannable-area-gesture-signals-example.c,
5277 * examples/hildon-pannable-area-scroll-jump-example.c,
5278 * examples/hildon-pannable-area-tree-view-example.c:
5279 Renamed the pannable area examples, now they have more meaningful
5282 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5284 * src/hildon-touch-selector.c:
5285 (hildon_touch_selector_set_column_selection_mode): Used of
5286 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5287 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5288 to avoid re-seting the same selection mode.
5290 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5291 breaks HildonPickerDialog)
5293 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5295 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5296 conditional in the Makefile.am
5298 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5300 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5301 Remove unused methods.
5303 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5305 * src/hildon-button.c (hildon_button_init):
5306 Make button images center-aligned by default
5308 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5311 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5312 activated, we have to think about how to deal with both defines
5313 MAEMO_GTK and MAEMO_CHANGES.
5315 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5317 * examples/hildon-app-menu-example.c (create_menu): Make all
5318 buttons finger size.
5320 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5322 Fixed the compilation without maemo gtk adding ifdefs with
5323 MAEMO_GTK define to the code, we have to check this version more
5326 * examples/Makefile.am: Added control to avoid some examples that
5327 just make sense with maemo gtk.
5330 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5331 hildon modes with the define.
5333 * examples/hildon-edit-toolbar-example.c,
5334 (create_icon_view): Create the icon view without hildon-gtk
5335 helpers if we are not using maemo gtk.
5337 * src/hildon-touch-selector.c,
5338 (_create_new_column): Create the treeview without hildon-gtk
5339 helpers if we are not using maemo gtk.
5341 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5343 * src/hildon-pnnable-area.c,
5344 (hildon_pannable_area_dispose),
5345 (hildon_pannable_area_button_press_cb),
5346 (hildon_pannable_area_child_mapped),
5347 (hildon_pannable_area_add),
5348 (hildon_pannable_area_remove): Added code to control the position
5349 of the event_window when adding and removing children from the
5350 pannable. We have to raise the event window when the child is
5353 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5354 selection mode using custom widget inside pannable)
5356 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5358 * configure.ac: post release version bump
5359 * debian/changelog: version bump
5361 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5366 * configure.ac: bump version
5367 * debian/changelog: updates
5369 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5371 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5372 search mode, in order to avoid lose the focus on the treeview when
5373 a hw key (like enter) is pressed.
5375 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5376 in HildonDateSelector dialog)
5378 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5380 * debian/rules: Added --enable-maintainer-mode
5381 * Makefile.am: Added ACLOCAL_AMFLAGS
5383 This allows to properly regenerate the Makefiles if you modify the
5384 configure.ac or any Makefile.am.
5386 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5388 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5389 properties, not needed at all.
5391 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5393 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5395 * src/hildon-note.c: (hildon_note_set_property),
5396 (hildon_note_get_property), (hildon_note_class_init),
5397 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5398 (hildon_note_new_confirmation_add_buttons): Remove icons.
5399 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5400 (hildon_note_new_information_with_icon_name): Deprecate.
5401 (hildon_note_new_confirmation): Act directly, without calling
5402 the deprecated constructor.
5403 (hildon_note_new_information): Act directly, without calling
5404 the deprecated constructor.
5405 * src/hildon-note.h: Mark deprecate methods as such.
5406 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5407 not run tests on the deprecated methods if built with deprecation
5410 Fixes: NB#91688 (Never show icons in information notes/confirmation
5413 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5415 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5416 (hildon_app_menu_key_press): Remove leftover usage of the
5417 private structure in HildonAppMenu struct.
5418 * src/hildon-app-menu.h: Remove leftover private structure
5419 from the HildonAppMenu struct.
5421 Fixes a crasher when using the HildonAppMenu.
5423 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5425 * src/hildon-picker-dialog.c: Use appropriate logical id
5426 for the default "Done" text.
5428 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5430 * configure.ac: post release version bump
5431 * debian/changelog: version bump
5433 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5435 Modified the way to scroll to the current selection just when the touch
5436 selector is shown on the screen, avoiding a g_idle. Added too a property
5437 to configure this behaviour. See hildon_pannable_area_jump_to_child
5438 documentation for more information.
5440 * src/hildon-touch-selector.c
5441 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5442 Added 'initial-scroll' property
5443 (hildon_touch_selector_set_property): Added
5444 (hildon_touch_selector_map): Removed as not required anymore
5445 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5446 only a concrete column, instead of iterate along all the columns
5448 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5453 * configure.ac: bump version
5454 * debian/changelog: updates
5456 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5458 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5459 compilation time warnings.
5461 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5463 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5464 the default value for HildonPannableArea::mov-mode to
5465 HILDON_PANNABLE_AREA_MODE_VERT.
5467 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5469 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5471 Reverting following commit:
5473 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5475 * src/hildon-app-menu-private.h
5476 * src/hildon-app-menu.[ch]
5477 * src/hildon-button.[ch]
5478 * src/hildon-check-button.[ch]
5479 * src/hildon-entry.[ch]
5480 * src/hildon-pannable-area.[ch]
5481 * src/hildon-text-view.[ch]:
5482 Added private field to the object's structure.
5484 because it causes an ABI breakage. We will need to introduce these
5485 changes later at some point. See NB#91636 for an extensive
5486 explanation and status.
5488 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5490 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5492 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5493 remove special cases that are no longer necessary.
5495 Fixes: NB#91016 (Change toolbar sizes, simplification)
5497 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5499 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5500 is shown in the cancel note.
5502 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5505 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5506 (hildon_seekbar_init): Remove steppers, remove expose event.
5507 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5509 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5511 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5513 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5514 label font to "SmallSystemFont" for vertically arranged buttons.
5516 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5519 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5521 * src/hildon-check-button.c
5522 (hildon_check_button_set_active, hildon_check_button_clicked):
5523 Don't access private parts directly, use getters instead.
5525 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-check-button.c (hildon_check_button_new):
5528 Align the contents of the check button to the left.
5530 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5532 * src/hildon-pannable-area.c,
5533 (hildon_pannable_area_scroll_to),
5534 (hildon_pannable_area_jump_to),
5535 (hildon_pannable_area_scroll_to_child),
5536 (hildon_pannable_area_jump_to_child): Replace the mapped
5537 precondition of these functions with the realized, it is the
5538 correct state of the widget in this case. Changed the
5539 documentation according to this modification.
5541 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5543 Added a new EXTRA_CFLAGS option to add the deprecated define to
5544 the compilation command. This way we can avoid using the define in
5545 the documentation compilation.
5547 * configure.ac: Defined EXTRA_CFLAGS.
5549 * examples/Makefile.am:
5551 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5553 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5555 * src/hildon-picker-dialog.c:
5556 Defined a utility macro with the desired touch selector height
5557 Removed currently unused separator, and title_label variables from
5559 (hildon_picker_dialog_init): Removed code related to the creation
5560 of unused private variables title_label and separator.
5561 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5562 to ensure correct visualization of the touch selector inside the dialog.
5563 * src/hildon-touch-selector.c
5564 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5565 ensure a concrete height of the widget.
5567 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5570 * tests/Makefile.am:
5572 Remove spurious whitespaces.
5574 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5576 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5577 compilation warning after the cancel button removal.
5579 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5581 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5583 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5584 Makefile.am, that way we can choose not to compile some examples
5585 and tests of the deprecated widgets.
5587 * examples/Makefile.am: Divided the sources in deprecated and
5590 * src/Makefile.am: Added undef statement of the deprecated
5591 symbol to the enums file generation process.
5593 * src/hildon-color-chooser-dialog.c
5594 * src/hildon-color-chooser-dialog.h
5595 * src/hildon-color-button.c
5596 * src/hildon-color-button.h
5597 * src/hildon-color-chooser.c
5598 * src/hildon-color-chooser.h
5599 * src/hildon-controlbar.c
5600 * src/hildon-controlbar.h
5601 * src/hildon-date-editor.c
5602 * src/hildon-date-editor.h
5603 * src/hildon-hvolumebar.c
5604 * src/hildon-hvolumebar.h
5605 * src/hildon-private.c
5606 * src/hildon-private.h
5607 * src/hildon-range-editor.c
5608 * src/hildon-range-editor.h
5609 * src/hildon-seekbar.c
5610 * src/hildon-seekbar.h
5611 * src/hildon-time-editor.c
5612 * src/hildon-time-editor.h
5613 * src/hildon-time-picker.c
5614 * src/hildon-time-picker.h
5615 * src/hildon-volumebar.c
5616 * src/hildon-volumebar.h
5617 * src/hildon-vvolumebar.c
5618 * src/hildon-vvolumebar.h
5619 * src/hildon-bread-crumb-trail.h
5620 * src/hildon-bread-crumb-trail.c
5621 * src/hildon-calendar-popup.c
5622 * src/hildon-calendar-popup.h
5623 * src/hildon-weekday-picker.c:
5624 * src/hildon-weekday-picker.h:
5625 * src/hildon-bread-crumb-widget.c:
5626 * src/hildon-bread-crumb-widget.h:
5627 * src/hildon-bread-crumb.c:
5628 * src/hildon-bread-crumb.h:
5629 * src/hildon-calendar.c:
5630 * src/hildon-calendar.h:
5631 * src/hildon-caption.c:
5632 * src/hildon-code-dialog.c:
5633 * src/hildon-code-dialog.h:
5634 * src/hildon-font-selection-dialog.c:
5635 * src/hildon-font-selection-dialog.h:
5636 * src/hildon-get-password-dialog.c:
5637 * src/hildon-get-password-dialog.h:
5638 * src/hildon-login-dialog.c:
5639 * src/hildon-login-dialog.h:
5640 * src/hildon-number-editor.c:
5641 * src/hildon-number-editor.h:
5642 * src/hildon-set-password-dialog.c:
5643 * src/hildon-set-password-dialog.h:
5644 * src/hildon-sort-dialog.c:
5645 * src/hildon-sort-dialog.h: This is the list of deprecated
5648 * src/hildon-touch-selector.c:
5649 * src/hildon-window.c: Added undef statement to avoid compilation
5652 * tests/Makefile.am: Divided the sources in deprecated and
5655 * tests/check_test.c,
5656 (configure_tests): Marked the deprecated code that was adding
5657 suites with deprecated tests.
5659 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5661 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5663 * src/hildon-touch-selector.c: (_default_print_func): Do not
5664 duplicate a string returned by gtk_tree_model_get(), it is already
5667 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5670 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5672 * src/hildon-pannable-area.c
5673 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5674 method, it had problems when adding a widget with viewport the
5675 second time. Now checks if it already has a viewport and uses it.
5677 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5680 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5682 * src/hildon-pannable-area.c,
5683 (hildon_pannable_area_scroll_to),
5684 (hildon_pannable_area_jump_to),
5685 (hildon_pannable_area_scroll_to_child),
5686 (hildon_pannable_area_jump_to_child): Added a precondition to the
5687 scroll and jump to functions: the widget must be mapped before we
5688 can safely call these functions. We have also added documentation
5689 to the functions to explain how to use them in this situation.
5692 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5694 Reviewed the threading handling of the pannable widget, we have
5695 used the gdk_threads_add_timeout function instead of the usual
5696 glib handlers. This avoids some problems with the threads.
5698 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5699 (hildon_pannable_area_initial_effect),
5700 (hildon_pannable_area_scroll_indicator_fade),
5701 (hildon_pannable_area_button_press_cb),
5702 (hildon_pannable_area_timeout),
5703 (hildon_pannable_area_motion_notify_cb),
5704 (hildon_pannable_area_button_release_cb),
5705 (hildon_pannable_area_scroll_cb),
5706 (hildon_pannable_area_scroll_to): Removed the
5707 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5708 gdk_threads_add_timeout.
5710 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5712 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5717 * configure.ac: bump version
5718 * debian/changelog: updates
5720 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5722 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5723 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5724 * src/hildon-color-chooser-dialog.c:
5725 (hildon_color_chooser_dialog_init):
5726 * src/hildon-font-selection-dialog.c:
5727 (hildon_font_selection_dialog_init):
5728 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5730 Remove all cancel/close-like dialogs, as these are not going to be
5733 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5735 * src/hildon-note.c: (hildon_note_rebuild),
5736 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5739 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5741 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5743 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5744 sure all buttons are shown, even the Cancel/Close-like ones.
5746 Fixes: NB#90861 (Custom Confirmation dialogs should be
5747 protected from cancel button removal)
5749 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5751 * debian/control: Change libhildon1-examples dependency from libhildon1
5753 * debian/libhildon1-examples.install
5755 * Makefile.am: Modified the final install directory for the examples on
5756 package libhildon1-examples
5757 * Makefile.static: Update clean target in order to remove all the binary
5760 Changes suggested by Claudio after review new libhildon1-examples package
5762 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5764 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5765 * src/hildon-touch-selector.c: Ditto.
5767 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5769 * debian/control: Added new package libhildon1-examples, in order to pack
5770 the current hildon examples as documentation
5771 * debian/rules: Not to compress .c files, modify some includes on the
5772 examples (as normally are compiled locally, but when installed it will
5773 require to include the installed libhildon1 library), and rename
5775 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5776 install all the example files on the new example package
5777 * examples/Makefile.static: Added static makefile that can be used to
5778 compile the examples, once installed the new example package
5779 * examples: Most of the examples were modified in order to grant that
5780 all use only '#include "hildon.h"', in order to be easy to prepare
5781 it on the example package
5783 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5786 * debian/libhildon1-dev.install
5787 * debian/libhildon1-doc.install:
5788 Move all gtk-doc files to a separate libhildon1-doc package.
5790 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5792 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5794 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5796 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5798 * debian/rules: Fixed a error in order to avoid unnecessary calls
5799 to autogen.sh on package building
5801 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5803 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5805 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5807 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5810 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-picker-button.c
5813 (hildon_picker_button_finalize):
5814 Free priv->done_button_text
5816 * src/hildon-time-button.c
5817 (hildon_time_button_set_time)
5818 * src/hildon-picker-button.c
5819 (hildon_picker_button_clicked)
5820 (hildon_picker_button_selector_selection_changed)
5821 (hildon_picker_button_set_selector)
5822 * src/hildon-date-button.c
5823 (hildon_date_button_set_date):
5824 Free strings returned by hildon_touch_selector_get_current_text()
5826 * src/hildon-button.c (hildon_button_construct_child):
5827 Fix leaks in priv->image and priv->label_box
5829 Fixes: NB#90535 (Memory leak in picker button)
5831 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5833 * src/hildon-button.c: (hildon_button_get_property): Do not access
5834 private elements directly, use getters instead.
5836 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-app-menu-private.h
5839 * src/hildon-app-menu.c
5840 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5841 Store the menu's parent window.
5843 * src/hildon-stackable-window.c
5844 (hildon_stackable_window_toggle_menu)
5845 (hildon_stackable_window_finalize):
5846 Set the menu's parent window when the menu is shown, unset it when
5849 * src/hildon-app-menu.c
5850 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5851 (hildon_app_menu_class_init):
5852 Send unhandled keyboard accelerators to the parent window.
5854 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5856 * src/hildon-stackable-window.c
5857 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5859 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5861 * configure.ac: post release version bump
5863 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5866 * configure.ac: Bump version
5867 * debian/changelog: Updates
5868 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5871 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5873 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5876 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5877 GtkMenu with Hildon style.
5879 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5881 * src/hildon-picker-button.c:
5882 (hildon_picker_button_set_done_button_text): Set the dialog's
5883 done button text here as well.
5885 Fixes: NB#90232 (Picker button does not set the label on done button
5886 for the second time)
5888 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5890 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5893 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-app-menu.c (hildon_app_menu_insert)
5896 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5897 the HildonAppMenu to be activatable using keyboard accelerators
5898 when the menu is not being shown.
5900 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5902 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5904 * src/hildon-stackable-window.c
5905 (hildon_stackable_window_show):
5906 Don't hide old windows automatically when new windows are shown:
5907 this is now a task for the window manager.
5908 (hildon_stackable_window_class_init)
5909 (hildon_stackable_window_hide):
5910 Remove windows from the stack everytime they're hidden.
5911 (hildon_stackable_window_realize):
5912 Don't change the _NET_WM_WINDOW_TYPE property. Use
5913 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5914 it as a stackable window.
5916 * src/hildon-program.c
5917 (hildon_program_pop_window_stack):
5918 Just hide the window to remove it from the stack.
5919 (hildon_program_go_to_root_window):
5920 Don't call gtk_widget_show(), this is now a task for the window
5923 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5925 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5927 * src/hildon-button.c
5928 (hildon_button_construct_child):
5929 Don't pack anything in the button until text or image are
5930 set. This allows adding a custom child after creating the button
5931 with hildon_button_new().
5932 (hildon_button_finalize, hildon_button_class_init)
5933 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5934 alignment and the label box even when they're not packed in the
5937 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5939 * src/hildon-touch-selector.h:
5940 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5941 currently the type definition was using GTK_TYPE_VBOX
5942 * src/hildon-touch-selector.c:
5943 Added some implementation notes in order to clarify that any other widget
5944 added without the column related API will not be included on the
5945 selection logic, and how the widget is freed, as some people ask about
5947 (hildon_touch_selector_remove): Reimplemented in order to free properly
5948 the column related data when you remove the private hbox.
5949 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5950 to get a proper HildonTouchSelectorColumn documentation
5952 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5954 * src/hildon-touch-selector-entry.c:
5955 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5956 text in the GtkEntry and there is no item selected. Fixes a
5959 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5961 * src/hildon-app-menu-private.h
5962 * src/hildon-app-menu.[ch]
5963 * src/hildon-button.[ch]
5964 * src/hildon-check-button.[ch]
5965 * src/hildon-entry.[ch]
5966 * src/hildon-pannable-area.[ch]
5967 * src/hildon-text-view.[ch]:
5968 Added private field to the object's structure.
5970 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5972 * configure.ac: post-release version bump
5974 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5978 * configure.ac: pre-release version bump
5980 * debian/changelog: updates.
5982 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5984 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5985 Disconnect the handler for HildonTouchSelector::changed.
5987 (hildon_picker_button_selector_selection_changed): Update the button
5988 value if the selection change was not triggered by the
5991 (hildon_picker_button_set_selector): connect to
5992 HildonTouchSelector::changed.
5994 Fixes: NB#89650 (Picker button is not updated, when selection in
5995 selector has changed)
5997 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5999 * src/hildon-picker-dialog.c
6000 (hildon_picker_dialog_realize): Removed as not required
6001 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6002 * src/hildon-picker-button.c
6003 (_current_selector_empty): New function, checks if the selector is empty
6004 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6005 if the current selector is empty, in order to avoid to show the dialog
6006 close the dialog in this case (and shows a g_warning).
6008 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6010 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6012 * src/hildon-pannable-area.c,
6013 (hildon_pannable_area_scroll): Added clause to stop movement when
6014 the child of pannable is smaller than one page.
6015 (hildon_pannable_area_scroll_to): Added conditions to avoid
6016 starting the scrolling movement if the child is smaller than one
6017 page, the complete child is in the screen, we do not have to move.
6019 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6021 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6023 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6024 this is managed automatically by the widget when the size of the
6027 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6029 * src/hildon-picker-button.c
6030 (hildon_picker_button_set_done_button_text): Make a copy of the
6031 text, and free the previous value.
6033 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6035 * src/hildon-touch-selector-entry.c:
6036 (hildon_touch_selector_entry_print_func): Return the selected row's
6037 text if the entry is empty.
6039 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6042 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6044 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6046 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-check-button.h
6050 * src/hildon-check-button.c
6051 * examples/hildon-check-button-example.c:
6052 HildonCheckButton is now a new widget. 'toggled' signal added.
6054 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6056 * src/hildon-program-private.h
6057 * src/hildon-program.c (hildon_program_init)
6058 (hildon_program_finalize): Removed unused variables group_leader
6059 and name from HildonProgramPrivate.
6061 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-check-button.c (hildon_check_button_set_active)
6064 (hildon_check_button_get_active, hildon_check_button_new): Use
6065 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6067 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6069 * src/hildon-touch-selector.h
6070 (hildon_touch_selector_set_column_attributes): added deprecation
6071 guard HILDON_DISABLE_DEPRECATED
6072 * src/hildon-time-selector.c
6073 (hildon_time_selector_set_time)
6074 (hildon_time_selector_get_time): Fixed a typo on documentation
6075 * src/hildon-touch-selector.c: update HildonTouchSelector and
6076 HildonTouchSelectorColumn documentation
6077 * src/hildon-touch-selector-entry.c: update "text-column" property
6079 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6080 to be added to the general documentation.
6082 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6084 * examples/hildon-pannable-area-example-4.c,
6086 * examples/hildon-pannable-area-example.c,
6087 (main): Modified the code in order to use the container add, with
6088 viewport treeviews could have problems if they are really big.
6090 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6092 * src/hildon-weekday-picker.c,
6093 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6094 the agreement regarding deprecation in the library.
6096 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6098 * examples/hildon-picker-button-multicolumn-example.c:
6099 (main): Use custom "done" button text.
6101 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6102 (hildon_picker_button_set_property),
6103 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6104 (hildon_picker_button_init),
6105 (+hildon_picker_button_get_done_button_text),
6106 (+hildon_picker_button_set_done_button_text): New methods to customize
6107 the "done" button label in the launched HildonPickerDialog. Also,
6110 * src/hildon-picker-button.h: add the public API.
6112 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6114 * src/hildon-date-selector.h:
6115 * src/hildon-picker-dialog.h:
6116 * src/hildon-time-selector.h:
6117 * src/hildon-touch-selector-column.h:
6118 * src/hildon-touch-selector.h:
6120 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6121 declarations. Fixes gtk-doc warnings.
6123 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6125 * src/hildon-picker-dialog.h
6126 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6127 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6129 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6130 long text is set as label for done button)
6132 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6134 * src/hildon-dialog.c (hildon_dialog_add_button):
6135 Set fixed width to all buttons in the HildonDialog.
6137 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6139 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6141 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6142 Set widget name using class name plus "-finger" or "-thumb".
6144 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6146 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6147 'clicked' when the state of the button is manually changed.
6149 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6151 * src/hildon-app-menu.c (hildon_app_menu_realize)
6152 (hildon_app_menu_unrealize, hildon_app_menu_init)
6153 (hildon_app_menu_class_init, item_visibility_changed):
6154 Change the menu layout when the size of the screen changes.
6155 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6156 Show warning only when changing the number of colums using the
6159 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6161 * debian/compat: Set to 5
6162 * debian/control: Update dependencies.
6163 * debian/libhildon1-dbg.install: Remove.
6164 * debian/libhildon1-dev.install: Update according to cdbs paths.
6165 * debian/libhildon1.install: Update according to cdbs paths.
6166 * debian/rules: Switch to cdbs.
6168 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6170 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6171 'item' variable renamed to 'filter'
6173 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-app-menu.c (hildon_app_menu_insert)
6176 (hildon_app_menu_add_filter, remove_item_from_list)
6177 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6178 Don't leak hidden items when the menu is destroyed.
6180 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-app-menu.c (hildon_app_menu_insert)
6183 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6184 (hildon_app_menu_set_columns, item_visibility_changed)
6185 (filter_visibility_changed, hildon_app_menu_repack_filters)
6186 (hildon_app_menu_repack_items):
6187 Repack items and filters separately.
6189 Don't repack all items, change only the ones that are needed to
6192 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6194 * src/Makefile.am: added hildon-touch-selector-column.h
6196 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6198 * src/hildon-touch-selector.c: added the property "text-column" to the
6199 class HildonTouchSelectorColumn, and related get/set functions
6200 (_default_printf_func): updated to use "text-column" property
6201 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6202 "text-column" in his documentation, as this is now included on
6203 HildonTouchSelectorColumn. The get/set_property can still be used,
6204 working as a wrapper to the concrete column "text-column" property
6205 (_text_column_modified): callback added in order to handle the signal
6206 "notify::text-column" of the concrete HildonTouchSelectorColumn
6207 (hildon_touch_selector_entry_get_text_column)
6208 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6209 modified in order to use the HildonTouchSelectorColumn "text-column"
6211 * src/hildon-time-selector.c:
6212 * src/hildon-date-selector.c:
6213 * examples/hildon-touch-selector-example.c
6214 * examples/hildon-touch-selector-multi-cells-example.c
6215 * examples/hildon-picker-button-multicolumn-example.c
6216 Set the right value to "text-column" property on the creation of a new
6217 column using hildon_touch_selector_append_column()
6219 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6221 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6223 * src/hildon-app-menu.c
6224 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6225 updating the layout of the menu, don't create all widgets again,
6226 just repack the items in their new places.
6228 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6230 * src/hildon-time-selector.c
6231 (hildon_time_selector_get_time)
6232 (hildon_time_selector_set_time)
6233 Added documentation of these public methods
6235 * src/hildon-date-button.h
6236 * src/hildon-touch-selector-column.h
6237 * src/hildon-time-button.h
6238 * src/hildon-picker-dialog.h
6239 * src/hildon-time-selector.h
6240 * src/hildon-picker-button.h
6241 * src/hildon-touch-selector.h
6242 * src/hildon-time-picker.h
6243 * src/hildon-date-selector.h
6244 * src/hildon-touch-selector-entry.h
6245 Modified in order to use hildon-widgets code style
6247 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6249 Added deprecated support to the compilation process using
6250 HILDON_DISABLE_DEPRECATED
6252 * configure.ac: Added the --disable-deprecated to the configure
6255 * src/hildon-weekday-picker.c:
6256 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6257 to use the deprecated support. We will update the other deprecated
6258 widgets status in a new patch.
6260 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6262 * configure.ac: Fixed typo with fatal warnings support, the
6263 variable name was not correct
6265 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6267 * src/hildon-app-menu.c
6268 * src/hildon-program.c: Update documentation.
6270 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6272 * configure.ac: Post-release version bump.
6274 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6279 * configure.ac: Pre-release version bump.
6280 * debian/changelog: Updates.
6282 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6284 * NEWS: Update news for previous releases.
6286 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6288 * examples/hildon-touch-selector-multi-cells-example.c:
6289 (create_selector): Update the example to use
6290 hildon_touch_selector_append_column() with a NULL renderer and set
6291 the renderers later.
6292 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6293 passed a NULL renderer. This is documented behavior now.
6295 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6296 This must be used if the developer wants full control on the layout of
6297 the renderers to be added to the column.
6299 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6301 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6303 * src/hildon-touch-selector.c: Documentation fixes.
6305 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6307 * src/hildon-wizard-dialog-private.h: Remove image and box.
6308 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6309 (hildon_wizard_dialog_set_property), (response): Completely remove
6310 image/icon support, and the containers required for the layout.
6312 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6314 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-app-menu.c: Updated documentation.
6318 * src/hildon-stackable-window.c
6319 (hildon_stackable_window_set_main_menu): Unref the old menu after
6320 ref'ing the new one.
6322 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6324 * src/hildon-stackable-window.c
6325 (hildon_stackable_window_set_main_menu): Unref the previous menu
6326 instead of destroying it.
6328 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6329 floating reference and set has_user_ref_count to FALSE to make
6330 HildonAppMenu act like a normal ref-counted widget and not a
6333 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6336 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6338 * src/hildon-touch-selector-column.h: new file
6339 * src/hildon-touch-selector.h
6340 * src/hildon-touch-selector.c
6341 Implemented GtkCellLayout interface, in order to allow to configure
6342 the cell layout on each individual selector column
6343 (hildon_touch_selector_set_column_attributes): marked as deprecated
6344 * examples/hildon-touch-selector-multi-cells-example.c
6345 Example of how to use the GtkCellLayout interface on the selector
6347 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6349 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6351 * src/hildon-app-menu.h
6352 * src/hildon-app-menu.c
6353 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6354 (hildon_app_menu_append, hildon_app_menu_prepend):
6355 New methods to prepend, insert and move items in the menu.
6357 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6359 * src/hildon-wizard-dialog.c:
6361 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6363 (create_title): Update logical IDs and related code.
6364 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6366 * src/hildon-wizard-dialog.h: Note that
6367 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6368 point, as it is not used anymore.
6370 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6372 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6374 * src/hildon-note.c:
6375 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6376 shown. Do not display an icon in confirmation notes nor information
6378 (hildon_note_set_button_text): Update logical ID for cancel button.
6380 Fixes: NB#88850 (Update HildonNote button strings + signals)
6382 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6384 * src/hildon-stackable-window.c
6385 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6387 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6389 * src/hildon-app-menu-private.h
6390 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6391 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6392 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6393 temporary property 'columns' to change the number of columns.
6395 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6397 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6399 * examples/hildon-note-example.c: (on_information_clicked),
6400 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6401 debugging information.
6402 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6404 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6405 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6406 in order to close: this will be handled by the WM from now on.
6408 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6410 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6412 * src/hildon-app-menu-private.h
6413 * src/hildon-app-menu.c
6414 (hildon_app_menu_append, hildon_app_menu_add_filter)
6415 (button_visibility_changed, hildon_app_menu_apply_style)
6416 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6417 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6418 layout everytime a button (item or filter) is shown or hidden.
6420 * src/hildon-stackable-window.c
6421 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6424 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6426 * src/hildon-touch-selector.c:
6427 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6428 that the treeview inside the touch selector is in fremantle hildon mode
6429 * examples/hildon-date-button-example.c
6430 * examples/hildon-picker-button-multicolumn-example.c
6431 * examples/hildon-touch-selector-entry-example.c
6432 * examples/hildon-touch-selector-example.c
6433 * examples/hildon-time-button-example.c
6434 * examples/hildon-picker-button-example.c:
6435 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6437 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6439 * examples/hildon-text-view-example.c: (main): Remove the
6440 gtkrc bits, now handled by the theme.
6442 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6447 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6449 * po/Makefile.am: Install properly the mo files.
6450 * po/en_GB.po: Update translation, to ease testing purposes.
6452 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6454 * examples/hildon-picker-button-example.c: (main): Select an item
6455 in the selector before setting it to the button.
6457 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6459 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6460 Update button's value if the selector has an item active.
6462 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6463 'value' with the selector)
6465 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6467 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6468 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6469 (hildon_picker_button_class_init): Plug the finalize method.
6470 (hildon_picker_button_set_selector): If there's a previously set
6471 selector, unref'it before setting a new one.
6473 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6474 HildonTouchSelector)
6476 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6478 * src/hildon-touch-selector-entry.c:
6479 (hildon_touch_selector_entry_changed): Check if there is no text
6480 selected before setting the entry text.
6483 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6485 * src/hildon-touch-selector.h
6486 * src/hildon-touch-selector.c
6487 (hildon_touch_selector_get_active)
6488 (hildon_touch_selector_set_active): New methods to set/get the
6489 index of the selected item.
6491 * src/hildon-picker-button.h
6492 * src/hildon-picker-button.c
6493 (hildon_picker_button_get_active)
6494 (hildon_picker_button_set_active): New methods to set/get the
6495 index of the selected item.
6497 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6499 * configure.ac: post-release version bump.
6501 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6505 * configure.ac: Pre-release version bump.
6506 * debian/changelog: Updates.
6507 * debian/control: Add myself as maintainer and depend on l10n
6510 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6512 * src/hildon-window.c
6513 (hildon_window_set_main_menu)
6514 * src/hildon-stackable-window.c
6515 (hildon_stackable_window_set_main_menu):
6516 Updated documentation.
6518 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6520 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6521 Don't free selector->priv manually.
6524 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6527 (hildon_gtk_window_set_progress_indicator):
6528 * src/hildon-gtk.h: Added the new API
6529 hildon_gtk_window_set_progress_indicator, it changes the state of
6530 the window progress hint.
6532 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6534 * src/hildon-button.c
6535 * src/hildon-stackable-window.c: Minor documentation updates.
6537 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6539 * src/hildon-stackable-window.c: Updated documentation.
6541 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6543 * src/hildon-defines.h: Update margins definitions
6544 to the Fremantle sizes.
6547 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6549 * src/hildon-touch-selector.c,
6550 (_hildon_touch_selector_set_model): Cleaning the code after
6551 review, removed g_print and #if 0 from the code.
6553 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-edit-toolbar.c: Update documentation.
6557 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6559 * src/hildon-check-button.h
6560 * src/hildon-check-button.c
6561 (hildon_check_button_set_label, hildon_check_button_get_label)
6562 * examples/hildon-check-button-example.c
6563 (button_clicked_cb):
6564 Removed deprecated methods.
6566 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6568 * src/hildon-text-view.c:
6569 Add sample code to the documentation.
6571 * src/hildon-entry.h
6572 * src/hildon-text-view.h:
6573 Minor cosmetic changes.
6575 * src/hildon-entry.c:
6576 Add sample code to the documentation.
6577 (hildon_entry_init, hildon_entry_refresh_contents):
6578 Don't allow NULL values in the placeholder.
6580 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6582 * doc/hildon-docs.sgml
6584 * examples/Makefile.am
6585 * examples/hildon-text-view-example.c
6587 * src/hildon-text-view.c
6588 * src/hildon-text-view.h
6590 New HildonTextView widget, with example.
6592 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6594 * po/POTFILES.in: Add missing files with translatable strings.
6595 Partially fixes NB#88287.
6597 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6599 * examples/hildon-pannable-area-example-2.c: (main): No need to
6600 set the cellrenderer height inside hildon touch lists, the theme does
6603 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6605 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6606 they are integrated in the theme.
6608 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6610 * examples/hildon-entry-example.c: Update the example adding
6611 widgets to modify the text and the placeholder of the HildonEntry.
6613 * src/hildon-entry.c: Show the placeholder everytime the widget
6614 is empty and loses the focus.
6616 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6618 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6620 * src/hildon-pannable-area.c,
6621 (hildon_pannable_area_size_request): Fixed bug in height
6622 requisition, avoid increasing size and add border twice.
6624 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6626 * configure.ac: postrelease version bump.
6628 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6632 * configure.ac: Prerelease version bump.
6633 * debian/changelog: update.
6634 * debian/rules: make -dbg package contain useful debugging symbols.
6636 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6638 * src/hildon-dialog.h
6639 * src/hildon-dialog.c
6640 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6641 New methods to add buttons with finger size.
6642 (hildon_dialog_new_with_buttons):
6643 Create buttons with finger size.
6645 * examples/hildon-dialog-example.c (main): Use HildonDialog
6646 methods to add buttons.
6648 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6650 * src/hildon-entry.c: Updated HildonButton documentation.
6652 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6654 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6655 button value label with (FALSE, FALSE) to prevent NB#88126 from
6658 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6660 * examples/hildon-pannable-area-example.c,
6661 (main): Removed examples panning a vbox inside a pannable
6662 area. Check bug NB#87965
6664 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6666 Patch contributed by Kris Rietveld (kris@imendio.com)
6668 * src/hildon-pannable-area.c,
6669 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6670 get_size and get_position, this saves an X server roundtrip.
6672 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6674 * doc/hildon-docs.sgml
6676 * examples/Makefile.am
6677 * examples/hildon-entry-example.c
6679 * src/hildon-entry.c
6680 * src/hildon-entry.h
6682 New HildonEntry widget, with example.
6684 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6686 * src/hildon-button.c (hildon_button_construct_child): Pack the
6687 image with expand == fill == FALSE. This is a workaround for a bug
6690 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6692 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6693 labels for the text column, to make it more look more dynamic.
6695 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6697 * src/hildon-time-selector.c
6698 Define gettext auxiliar macro N_
6699 (_create_minutes_model)
6700 (_create_hours_model)
6701 (_create_ampm_model): use of strftime in order to fill the model
6702 * src/hildon-date-selector.c
6703 (hildon_date_selector_finalize):
6704 (_locales_init): remove the logic related to get the name of the months
6705 using nl_langinfo, as it is not required anymore
6707 (_create_year_model)
6708 (_create_month_model)
6709 (_update_day_model): use of strftime in order to fill the model properly
6712 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6714 * src/hildon-button.h
6715 * src/hildon-button.c (hildon_button_get_image): New method to
6718 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6720 * src/hildon-touch-selector.c:
6721 (hildon_touch_selector_remove_column): Remove from the correct parent
6722 and also remove the list element and free it.
6725 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6727 * src/hildon-time-selector.c
6728 (_create_hours_model): change the range on 12h ampm format in order to use
6729 a 12-11 range instead of previous 01-12 range
6730 (hildon_time_selector_set_time): change the way to select the current time
6731 on 12h ampm format, due the change on the range
6732 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6735 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6737 * src/hildon-touch-selector.c
6738 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6739 in order to allow use this function on multiple row selection mode if
6740 the column is different that the first one
6743 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6745 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6746 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6748 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6750 * src/hildon-date-selector.h: clean some comments, now on the .c
6751 * src/hildon-date-selector.c
6752 (hildon_date_selector_select_month): first implementation
6753 (hildon_date_selector_select_day): added documentation, reimplemented
6754 using hildon_date_selector_select_current_date to avoid repeat code
6757 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6759 Reviewed interaction logic based on device experiences, refactored
6762 * src/hildon-pannable-area.c,
6763 (hildon_pannable_area_class_init): Updated default vmax speed.
6764 (hildon_pannable_area_calculate_velocity): Added this function, it
6765 avoids duplicate valocity calculation. Adjusted calculation to
6766 avoid problems with zero dist events.
6768 (hildon_pannable_area_motion_notify_cb): Now we use the
6769 calculate_velocity function.
6771 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6773 * src/hildon-date-selector.c
6774 (hildon_date_selector_select_current_date): fix the day range check
6775 as it failed using the last day of the current month
6778 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6780 * src/hildon-touch-selector.c
6781 (hildon_touch_selector_get_num_columns): added a parameter validation
6784 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6786 * examples/Makefile.am
6787 * examples/hildon-edit-toolbar-example.c: Example of the
6788 HildonEditToolbar widget.
6790 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6792 * configure.ac: postrelease version bump.
6794 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6798 * configure.ac: prerelease version bump.
6799 * debian/changelog: update.
6801 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6803 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6804 renderer to display stock icons in the touch list. Also, set the sizes
6805 to the recommended in the style guide.
6807 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6808 * src/hildon-touch-selector.h
6809 (hildon_touch_selector_set_active_iter): renamed, now is
6810 hildon_touch_selector_select_iter
6811 (hildon_touch_selector_get_active_iter): renamed, now is
6812 hildon_touch_selector_get_selected
6813 (hildon_touch_selector_unselect_iter): added
6814 * src/hildon-touch-selector.c
6815 Update after API modification (methods renamed)
6816 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6817 order to avoid problems selecting multiple elements on the column
6818 (hildon_touch_selector_unselect_iter): added the implementation
6819 * src/hildon-time-selector.c
6820 * src/hildon-date-selector.c
6821 * src/hildon-touch-selector-entry.c
6822 Update methods calls after hildon-touch-selector.h API modification (methods
6825 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6827 * src/hildon-stackable-window.c
6828 (hildon_stackable_window_finalize): Call the parent class's finalize.
6830 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6832 * examples/hildon-touch-selector-example.c: (create_selector): Use
6833 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6836 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6838 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6839 set a cell background color, to respect theming.
6841 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6843 * doc/hildon-docs.sgml
6846 * src/hildon-edit-toolbar.c
6847 * src/hildon-edit-toolbar.h
6848 * src/hildon.h: New HildonEditToolbar widget.
6850 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6852 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6855 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6856 * src/hildon-touch-selector.c
6857 (_create_new_column): use g_object_set instead of two g_object_set_property
6859 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6860 * src/hildon-touch-selector.c
6861 (_create_new_column): use of hildon_gtk_tree_view_new to create
6862 the treeview, instead of use directly g_object_new
6863 (_create_new_column): update the property name "vindicator-mode" for the
6864 new one "vscrollbar-policy"
6865 * examples/hildon-date-button-example.c
6866 * examples/hildon-picker-button-multicolumn-example.c
6867 * examples/hildon-touch-selector-entry-example.c
6868 * examples/hildon-touch-selector-example.c
6869 * examples/hildon-time-button-example.c
6870 * examples/hildon-picker-button-example.c
6871 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6872 to all the treeviews inside a pannable area.
6874 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6876 * src/hildon-button.h
6877 * src/hildon-button.c (hildon_button_init)
6878 (hildon_button_set_arrangement, hildon_button_set_alignment)
6879 (hildon_button_set_title_alignment)
6880 (hildon_button_set_value_alignment)
6881 (hildon_button_set_image_alignment)
6882 (hildon_button_construct_child): New methods to set the alignment
6883 of the individual components of the button (title, value,
6884 image). Also, new method to alter the xscale and yscale properties
6885 of the GtkAlignment inside the button, so more complex layouts can
6888 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6890 * src/hildon-button.c (hildon_button_style_set)
6891 (hildon_button_class_init, hildon_button_set_arrangement)
6892 (hildon_button_construct_child): Apply style properties
6893 correctly. Use the 'image-spacing' style property too.
6895 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6897 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6898 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6901 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6903 * src/hildon-pannable-area.c,
6904 (hildon_pannable_area_size_request): Fixed problem with
6905 pannable-area size_request.
6907 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6909 Added management for the grab-focus to a child widget, like a
6910 range, we need to fade out the scrollbar when releasing.
6912 * src/hildon-pannable-area.c,
6913 (hildon_pannable_area_init): Connected the grab-focus signal to
6915 (hildon_pannable_area_grab_notify): Added this function in order
6916 to manage the situation when the grab-focus ends. We have to
6917 fade-out the scrollbar.
6919 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6921 * src/hildon-app-menu.c: Minor documentation update.
6923 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6925 * src/hildon-app-menu.c
6926 * examples/hildon-app-menu-example.c (create_menu): Update
6927 examples and documentation to explain how to connect callbacks.
6929 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6931 * examples/hildon-button-example.c
6932 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6933 hildon_stackable_window_new instead of gtk_window_new
6935 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6937 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6938 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6939 (hildon_pannable_area_set_property),
6940 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6941 (hildon_pannable_area_unrealize),
6942 (hildon_pannable_area_size_request),
6943 (hildon_pannable_area_size_allocate),
6944 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6945 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6946 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6947 (hildon_pannable_area_initial_effect),
6948 (hildon_pannable_area_redraw),
6949 (hildon_pannable_area_scroll_indicator_fade),
6950 (hildon_pannable_area_expose_event),
6951 (hildon_pannable_area_get_topmost), (synth_crossing),
6952 (hildon_pannable_area_button_press_cb),
6953 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6954 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6955 (hildon_pannable_area_motion_notify_cb),
6956 (hildon_pannable_area_button_release_cb),
6957 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6958 (hildon_pannable_area_remove),
6959 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6960 chage the code layout to a more GtkWidget like. Review the use of
6963 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6965 * examples/hildon-pannable-area-example-4.c,
6966 (main): Modified the name of the hindicator_mode to
6969 * src/hildon-pannable-area.c,
6970 (hildon_pannable_area_class_init),
6971 (hildon_pannable_area_motion_notify_cb),
6972 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6973 we have reduced the amount of signals and managed reviewed its
6974 rationale. Changed the default decelerate value.
6976 (hildon_pannable_area_add),
6977 (hildon_pannable_area_redraw): Refactored functions.
6979 (hildon_pannable_area_init),
6980 (hildon_pannable_area_get_property),
6981 (hildon_pannable_area_set_property):
6982 (hildon_pannable_draw_vscroll),
6983 (hildon_pannable_draw_hscroll),
6984 (hildon_pannable_area_initial_effect),
6985 (hildon_pannable_area_expose_event),
6986 (hildon_pannable_area_scroll),
6987 (hildon_pannable_area_button_press_cb),
6988 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6989 and vindicator_mode with hscrollbar_policy and
6990 vscrollbar_policy. Replaced hscroll and vscroll with
6991 hscroll_visible and vscroll_visible.
6993 (hildon_pannable_area_refresh): Refactor the function, remove
6994 variables and check the calls to this function, added resize
6995 conditions in case the children change their layout.
6997 (hildon_pannable_area_size_request): Added more detailed
6998 size_request calculation.
7001 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7003 * src/hildon-color-chooser.c
7004 (init_borders): use the correct gtk_border_free instead of g_free, to
7005 avoid a crash when this widget is used (ie: the three color selection
7008 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7010 * src/hildon-check-button.c,
7011 (hildon_check_button_set_active): Fixed problem when setting the
7012 active value, the widget was not redrawn.
7014 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7016 * src/hildon-pannable-area.c,
7017 (hildon_pannable_area_refresh),
7018 (hildon_pannable_area_scroll),
7019 (hildon_pannable_area_motion_notify_cb): Small code style change.
7021 (hildon_pannable_area_class_init): Default initial_hint set to
7022 FALSE, it is not in the specs.
7024 (hildon_pannable_area_initial_effect),
7025 (hildon_pannable_area_expose_event),
7026 (hildon_pannable_area_map),
7027 (hildon_pannable_area_init): Moved the launching point of the
7028 initial effect, it was in map but the sizes where not correct in
7029 that method so we do not know if we have the reproduce it. Now it
7030 is placed in the expose_event method and uses a variable to
7031 reproduce it just once.
7033 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7035 * src/hildon-pannable-area.c,
7036 (hildon_pannable_draw_vscroll),
7037 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7038 position allowed for the scrollbars.
7040 (hildon_pannable_area_size_allocate): Small style change.
7042 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7044 * src/hildon-pannable-area.c,
7045 (hildon_pannable_area_scroll_indicator_fade),
7046 (hildon_pannable_area_button_press_cb),
7047 (hildon_pannable_area_button_release_cb),
7048 (hildon_pannable_area_scroll_cb),
7049 (hildon_pannable_area_expose_event),
7050 (hildon_pannable_area_init): Added the define parameter
7051 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7052 and refactor the fade variable.
7054 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7056 * src/hildon-pannable-area.c,
7057 (hildon_pannable_area_redraw),
7058 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7059 lines, we were reimplemeting the redraw code.
7061 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7063 * src/hildon-pannable-area.c,
7064 (hildon_pannable_area_scroll_cb),
7065 (hildon_pannable_area_realize),
7066 (hildon_pannable_area_class_init): Added scroll_event management
7067 for pannable area, now we can scroll the usual desktop method.
7069 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7070 initialization of the parameters should depend on idle_id.
7072 (hildon_pannable_area_init),
7073 (hildon_pannable_area_map): Small code style modifications
7075 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7077 * src/hildon-pannable-area.c
7078 (hildon_pannable_area_button_press_cb),
7079 (hildon_pannable_area_motion_notify_cb),
7080 (hildon_pannable_area_button_release_cb),
7081 (hildon_pannable_area_size_allocate),
7082 (hildon_pannable_area_scroll_to): Improved the timeouts
7083 management, we avoid creating them each time.
7085 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7087 * src/hildon-pannable-area.c:
7088 (hildon_pannable_area_refresh),
7089 (hildon_pannable_area_motion_notify_cb),
7090 (hildon_pannable_area_class_init):
7091 * src/hildon-pannable-area.h:
7092 * src/hildon-touch-selector.c
7093 (_create_new_column):
7094 * examples/hildon-pannable-area-example-4.c:
7095 (horizontal_movement),
7096 (vertical_movement),
7098 Replaced the names of enums in the HildonPannableArea:
7099 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7100 HILDON_MOVEMENT_MODE_*
7101 - HILDON_PANNABLE_AREA_MOV_* ->
7103 - Removed HildonPannableAreaIndicatorMode, now we
7106 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7108 * examples/hildon-pannable-area-touch-grid-example.c
7109 * examples/hildon-pannable-area-touch-list-example.c: Fix
7110 compilation warnings.
7112 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7114 * src/hildon-gtk.c (hildon_gtk_button_new)
7115 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7116 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7117 images overriding the value of the "gtk-button-images" setting.
7119 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7121 * src/hildon-check-button.c (hildon_check_button_new):
7122 Instead of using a custom container, display the label and the
7123 checkbox using the standard GtkButton API.
7125 * examples/hildon-check-button-example.c (main): Don't use
7126 hildon_check_button_set_label() anymore
7128 * src/hildon-check-button.h
7129 * src/hildon-check-button.c
7130 (hildon_check_button_set_label, hildon_check_button_get_label):
7131 Set as deprecated, now we're using gtk_button_{get,set}_label()
7133 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7135 * src/hildon-pannable-area.c,
7136 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7137 GtkTreeview first line we detected it after the inclusion of the
7138 GtkWindowImpl in gtk+. We now check if the window is visible, not
7139 just if the pointer is over the window.
7140 (hildon_pannable_axis_scroll),
7141 (hildon_pannable_area_expose_event): Small style changes.
7143 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7145 * src/hildon-button.c: Update documentation.
7147 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7149 * examples/hildon-button-example.c: Add a switch to show images in
7152 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7154 * doc/hildon-docs.sgml: Some docs reorganization.
7156 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7158 * examples/hildon-pannable-area-touch-list-example.c
7160 * examples/hildon-pannable-area-touch-grid-example.c
7161 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7162 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7163 Fix memory leak when setting the tree model.
7165 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7169 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7171 * doc/hildon.types: Remove duplicated hildon_window_get_type
7172 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7173 documentation comment.
7175 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7177 * doc/Makefile.am: Complete list of private headers.
7179 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7181 * doc/hildon-docs.sgml
7182 * src/hildon-app-menu.c
7183 * src/hildon-bread-crumb.c
7184 * src/hildon-button.c
7186 * src/hildon-program.c
7187 * src/hildon-stackable-window.c
7188 * src/hildon-window.c: Lots of documentation updates.
7190 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7192 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7194 * configure.ac: Require Gtk+ 2.12.9 at least
7196 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7198 * src/hildon-pannable-area.c
7199 (hildon_pannable_area_scroll_indicator_fade),
7200 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7201 to protect the return of this timeout callbacks, avoiding deadlocks.
7203 2008-08-12 Christian Dywan <christian@imendio.com>
7206 * src/hildon-*.h: Ensure a consistent include order,
7207 include <gtk/gtk.h> instead of particular files and
7208 only include the topmost header in the gtk stack. See NB #39857
7210 2008-08-12 Christian Dywan <christian@imendio.com>
7212 * src/hildon-picker-dialog.c
7213 * src/hildon-touch-selector.c: Fix warnings about unused and
7214 uninitialized variables.
7216 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7218 * examples/Makefile.am
7219 * examples/hildon-check-button-example.c: Example of the hildon
7222 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7224 * src/hildon-window.h
7225 * src/hildon-window.c (hildon_window_class_init)
7226 (hildon_window_unset_program): Don't make
7227 hildon_window_unset_program a virtual function anymore.
7229 * src/hildon-stackable-window.c: Update documentation
7231 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7234 * doc/hildon-docs.sgml
7235 * doc/visual_index.xml
7236 * src/hildon-defines.c
7238 * src/hildon-helper.c
7239 * src/hildon-range-editor.c: Lots of documentation fixes.
7241 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7243 * examples/hildon-picker-button-multicolumn-example.c
7244 (create_touch_selector): Fix compilation warning.
7246 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7248 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7249 (hildon_pannable_area_button_release_cb)
7250 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7252 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7254 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7257 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7259 * src/hildon-bread-crumb-trail.h
7260 * src/hildon-date-editor.c
7261 * src/hildon-date-selector.c
7262 * src/hildon-pannable-area.c
7263 * src/hildon-picker-dialog.c
7264 * src/hildon-time-selector.c
7265 * src/hildon-touch-selector-entry.c
7266 * src/hildon-touch-selector.c
7267 * src/hildon-touch-selector.h: Misc documentation fixes
7269 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7271 * examples/hildon-date-editor-example.c (main): Updated date
7274 * examples/hildon-note-example.c (on_confirmation_clicked):
7275 Updated confirmation note example.
7277 * src/hildon-date-editor.c
7278 * src/hildon-note.c: Updated sample programs in documentation.
7281 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7283 * src/hildon-date-button.h:
7284 * src/hildon-picker-button.h:
7285 * src/hildon-time-button.c:
7286 * src/hildon-time-button.h:
7288 Some declarations changes to allow gtk-doc to document the widgets
7291 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7293 * src/hildon-date-button.c: Document the widget.
7294 * src/hildon-time-button.c: Document the widget.
7296 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7298 * src/hildon-picker-button.c: Document the widget.
7299 * src/hildon-touch-selector-entry.c: Document the widget.
7301 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7303 * doc/hildon-docs.sgml
7306 * src/hildon-check-button.h
7307 * src/hildon-check-button.c: New functions to create the Hildon
7311 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7313 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7315 * src/hildon-button.h
7316 * src/hildon-button.c
7317 (hildon_button_add_title_size_group)
7318 (hildon_button_add_value_size_group)
7319 (hildon_button_add_image_size_group)
7320 (hildon_button_add_size_groups): New functions to set size groups
7321 for the button labels and image.
7322 (hildon_button_new_full): Removed
7324 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7326 * src/hildon-time-selector.c
7327 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7328 in order to avoid a crash if gconf is not available
7330 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7332 * src/hildon-button.c (hildon_button_set_arrangement)
7333 (hildon_button_construct_child): Don't construct the button child
7334 before setting the arrangement.
7336 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7338 * src/hildon-program-private.h
7339 * src/hildon-program.c
7340 * src/hildon-program.h
7341 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7342 (hildon_program_peek_window_stack)
7343 (hildon_program_pop_window_stack)
7344 (hildon_program_go_to_root_window): HildonProgram now has a
7345 separate list for stackable windows. Functions are provided to
7346 manage that list with a stack-like API.
7348 * src/hildon-stackable-window.c: Stackable window management is
7349 now much simpler with the new HildonProgram API. Windows no
7350 longer need to be manually added to the program, they're
7351 automatically pushed to the top of the stack when shown.
7353 * examples/hildon-stackable-window-example.c: Updated example to
7354 reflect the API changes.
7356 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7358 * src/hildon-touch-selector.c: Comment out unimplemented
7359 hildon_touch_selector_insert_column() to avoid a compile warning.
7361 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7363 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7364 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7365 (hildon_touch_selector_set_column_selection_mode),
7366 (_hildon_touch_selector_set_model),
7367 (hildon_touch_selector_set_model):
7369 Complete review of HildonTouchSelector documentation.
7371 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7373 * doc/hildon-docs.sgml
7377 * src/hildon-gtk.c: Convenience functions for standard Gtk
7378 widgets, used to easily perform frequent operations.
7380 * src/hildon-button-helpers.h
7381 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7383 * src/hildon-helper.h
7384 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7385 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7387 * src/hildon-button.h
7388 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7390 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7392 * src/hildon-button.c (hildon_button_init)
7393 (hildon_button_set_arrangement, hildon_button_construct_child):
7394 Pack the image and the labels inside the same GtkAlignment so
7395 gtk_button_set_alignment() can be used
7397 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7399 * src/hildon-button.h
7400 * src/hildon-button.c
7401 (hildon_button_init, hildon_button_set_image)
7402 (hildon_button_set_image_position)
7403 (hildon_button_construct_child): New functions to add an image to
7406 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7408 * src/hildon-date-button.c
7409 * src/hildon-picker-button.c
7410 * src/hildon-time-button.c
7411 * src/hildon-button.c:
7412 (hildon_button_class_init): "size-flags" renamed to "size"
7413 (hildon_button_set_title): Hide the title label if set to NULL.
7415 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7417 HildonButtonFlags split into HildonButtonArrangement (to set the
7418 button layout) and HildonSizeType (which can be used for any
7421 * src/hildon-button.h
7422 * src/hildon-button.c
7423 (hildon_button_class_init)
7424 (hildon_button_set_arrangement)
7425 (hildon_button_set_property): New "size-flags"
7426 property. "arrangement-flags" renamed to "arrangement".
7427 (hildon_button_new, hildon_button_new_with_text)
7428 (hildon_button_new_full): Constructors updated to reflect type changes.
7430 * src/hildon-helper.h
7431 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7432 to set the size of a widget.
7436 * src/hildon-button-helpers.c
7437 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7439 * src/hildon-date-button.c
7440 * src/hildon-date-button.h
7441 * src/hildon-picker-button.c
7442 * src/hildon-picker-button.h
7443 * src/hildon-time-button.c
7444 * src/hildon-time-button.h: Updated widgets to reflect
7445 HildonButton API changes.
7447 * examples/hildon-button-example.c
7448 * examples/hildon-date-button-example.c
7449 * examples/hildon-picker-button-example.c
7450 * examples/hildon-picker-button-multicolumn-example.c
7451 * examples/hildon-time-button-example.c
7452 * examples/hildon-touch-selector-entry-example.c
7453 * examples/hildon-touch-selector-example.c: Updated examples to
7454 reflect HildonButton API changes.
7456 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7458 * doc/hildon-docs.sgml:
7460 * examples/Makefile.am:
7461 * examples/hildon-touch-selector-entry-example.c:
7463 * src/hildon-touch-selector-entry.c:
7464 * src/hildon-touch-selector-entry.h:
7467 Moved HildonTouchSelectorEntry from sandbox. Added its
7468 documentation and examples.
7470 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7472 * src/hildon-touch-selector.h:
7473 * examples/hildon-picker-button-multicolumn-example.c:
7474 (hildon_touch_selector_append_text_column): Add a gboolean
7475 parameter to determine if text must be centered in the column.
7477 * src/hildon-date-selector.c: (hildon_date_selector_init):
7478 * src/hildon-time-selector.c: (hildon_time_selector_init):
7479 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7480 (create_touch_selector): Update widgets and example to reflect
7483 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7485 * src/hildon-touch-selector.c:
7486 (hildon_touch_selector_set_active_iter): Set also the cursor in
7489 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7491 * doc/hildon-docs.sgml
7494 * src/hildon-toggle-button.c
7495 * src/hildon-toggle-button.h
7496 * src/hildon.h: Removed HildonToggleButton widget, a derived
7497 class is not necessary for this.
7499 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7501 * src/hildon-pannable-area.c,
7502 (hildon_pannable_area_realize),
7503 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7506 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7508 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7509 "done" button the default widget for the dialog.
7511 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7513 * src/hildon-touch-selector.c:
7514 (hildon_touch_selector_class_init),
7515 (hildon_touch_selector_get_property),
7516 (_hildon_touch_selector_set_model),
7517 (_hildon_touch_selector_has_multiple_selection),
7518 (hildon_touch_selector_has_multiple_selection):
7519 Add a "has-multiple-selection" property with a virtual
7520 has_multiple_selection() method to allow derived classes to
7521 override the default value for it. See the method and property
7522 documentation for details.
7524 * src/hildon-touch-selector.h: Add the new API.
7526 * src/hildon-picker-dialog.c: (requires_done_button): Call
7527 hildon_touch_selector_has_multiple_selection() instead of
7528 determining the need for a button itself.
7530 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7532 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7533 (_hildon_touch_selector_set_model),
7534 (hildon_touch_selector_set_model): Move working code to
7535 _hildon_touch_selector_set_mode(). Call the class method instead.
7537 * src/hildon-touch-selector.h: Add (*set_model) to
7538 HildonTouchSelectorClass.
7540 Make hildon_touch_selector_set_model() a virtual method, so that
7541 derived classes can extend it and do fancy stuff with the model.
7543 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7545 * configure.ac: Set back the tarname in AC_INIT to hildon.
7547 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7551 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7552 instead of libesd (NB#86876). Volume handling is still an open issue.
7554 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7557 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7559 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7560 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7561 derived class to ease placement of an entry widget in
7562 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7563 end, where the selector columns are packed now.
7565 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7567 * src/hildon-picker-button.c: Removed the simple _text() API.
7568 * src/hildon-picker-button.h: Likewise.
7570 * src/hildon-touch-selector.h:
7571 * src/hildon-touch-selector.c:
7572 (hildon_touch_selector_new_text),
7573 (hildon_touch_selector_append_text),
7574 (hildon_touch_selector_prepend_text),
7575 (hildon_touch_selector_insert_text):
7577 Moved the simple _text() API from HildonPickerButton to
7578 HildonTouchPicker, to provide better escalability and not to tie
7579 that API to HildonPickerButton.
7581 * examples/hildon-picker-button-example.c: (main): Example updated.
7583 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7585 * src/hildon-button.c: Updated documentation.
7587 * examples/hildon-button-example.c: Add the posibility to create
7588 the buttons using horizontal layout for title and value.
7590 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7592 * src/hildon-app-menu-private.h
7593 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7594 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7595 GtkSizeGroup for the filters, use the 'homogeneous' property of
7598 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7600 * examples/hildon-button-example.c: Updated example.
7602 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7604 * doc/hildon-docs.sgml:
7607 Update documentation.
7609 * examples/Makefile.am: Update renamed examples.
7611 * examples/hildon-picker-button-multicolumn-example.c:
7612 (create_touch_selector), (main): Update after the rename.
7614 * examples/hildon-touch-picker-example.c: Removed.
7615 * examples/hildon-touch-selector-example.c: (value_changed),
7616 (create_selector), (get_visible_content), (main): Renamed from
7617 hildon-touch-picker-example.c
7619 * src/Makefile.am: Updated renamed files.
7621 * src/hildon-date-button.c: (hildon_date_button_init),
7622 (hildon_date_button_get_date), (hildon_date_button_set_date):
7623 * src/hildon-date-selector.c: (hildon_date_selector_init),
7624 (_custom_print_func), (_update_day_model),
7625 (_manage_selector_change_cb),
7626 (hildon_date_selector_select_current_date),
7627 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7628 * src/hildon-date-selector.h:
7629 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7630 (hildon_picker_button_set_property),
7631 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7632 (hildon_picker_button_init), (hildon_picker_button_new_text),
7633 (hildon_picker_button_append_text),
7634 (hildon_picker_button_prepend_text),
7635 (hildon_picker_button_insert_text),
7636 (hildon_picker_button_set_selector),
7637 (hildon_picker_button_get_selector):
7638 * src/hildon-picker-button.h:
7639 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7640 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7641 (_update_title_on_selector_changed_cb), (requires_done_button),
7642 (_hildon_picker_dialog_set_selector),
7643 (hildon_picker_dialog_set_selector),
7644 (hildon_picker_dialog_get_selector):
7645 * src/hildon-picker-dialog.h:
7646 * src/hildon-time-button.c: (hildon_time_button_init),
7647 (hildon_time_button_get_time), (hildon_time_button_set_time):
7648 * src/hildon-time-selector.c: (hildon_time_selector_init),
7649 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7650 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7651 * src/hildon-time-selector.h:
7654 Massive code updates after the rename.
7656 * src/hildon-touch-picker.c: Removed.
7657 * src/hildon-touch-picker.h: Removed.
7659 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7660 (hildon_touch_selector_init), (hildon_touch_selector_map),
7661 (hildon_touch_selector_remove), (_default_print_func),
7662 (_selection_changed_cb), (_create_new_column),
7663 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7664 (hildon_touch_selector_append_text_column),
7665 (hildon_touch_selector_remove_column),
7666 (hildon_touch_selector_set_column_attributes),
7667 (hildon_touch_selector_insert_column),
7668 (hildon_touch_selector_get_num_columns),
7669 (hildon_touch_selector_get_column_selection_mode),
7670 (hildon_touch_selector_set_column_selection_mode),
7671 (hildon_touch_selector_set_print_func),
7672 (hildon_touch_selector_get_print_func),
7673 (hildon_touch_selector_get_active_iter),
7674 (hildon_touch_selector_set_active_iter),
7675 (hildon_touch_selector_get_selected_rows),
7676 (hildon_touch_selector_get_model),
7677 (hildon_touch_selector_set_model),
7678 (hildon_touch_selector_get_current_text),
7679 (_hildon_touch_selector_center_on_selected_items):
7680 * src/hildon-touch-selector.h: Renamed from
7681 hildon-touch-picker.[ch]
7683 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7684 references, code examples, and related documentation.
7686 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7688 * doc/hildon-docs.sgml
7691 * src/hildon-toggle-button.c
7692 * src/hildon-toggle-button.h
7693 * src/hildon.h: New HildonToggleButton widget.
7695 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7697 * src/hildon-button.c: Add API documentation.
7698 (hildon_button_set_size_groups): Check input parameters
7700 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7702 * src/hildon-pannable-area.c
7703 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7704 effect after reaching the movement thredshold. This way we start
7705 using the distance after passing the thredshold.
7707 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7709 * src/hildon-button.c: (hildon_button_set_property): Use the
7710 appropriate g_value_get_flags() method.
7712 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7714 * doc/hildon-docs.sgml:
7717 Add the touch pickers, picker dialogs, and picker button widgets
7718 to the documentation.
7720 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7722 * src/hildon-button.c: (hildon_button_set_property),
7723 (hildon_button_class_init): Make "arrangement-flags" a proper
7724 G_TYPE_FLAGS derived property.
7726 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7728 * examples/Makefile.am: Add below examples.
7729 * examples/hildon-date-button-example.c:
7730 * examples/hildon-picker-button-example.c:
7731 * examples/hildon-picker-button-multicolumn-example.c:
7732 * examples/hildon-time-button-example.c:
7733 * examples/hildon-touch-picker-example.c:
7735 Add examples for the recently added touch pickers,
7736 picker dialogs, and picker button widgets.
7738 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7740 * src/hildon-button.c: Add some API documentation
7742 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7744 * src/hildon-button.h
7745 * src/hildon-button.c
7747 (hildon_button_new_with_text): New constructor to create a button
7748 with no text at all.
7749 (hildon_button_init, hildon_button_set_arrangement)
7750 (hildon_button_set_title, hildon_button_set_value)
7751 (hildon_button_set_text)
7752 (hildon_button_construct_child): Hide the value when it's not used
7753 so the rest of the text is properly aligned.
7754 Allow creating buttons with arbitrary widgets inside (not just
7755 title/value labels).
7757 * examples/hildon-button-example.c (vertical_buttons_window)
7758 (horizontal_buttons_window): Update example to use new API.
7760 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7762 * src/Makefile.am: Added HildonTimeButton.
7763 * src/hildon-time-button.c: Added missing LGPL header.
7764 * src/hildon-time-button.h: Added missing LGPL header.
7765 * src/hildon.h: Add hildon-time-button.h
7767 Copied HildonTimeButton from sandbox to trunk. Future work on this
7768 widget must take place in trunk.
7770 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7772 * src/Makefile.am: Added HildonDateButton.
7773 * src/hildon-date-button.c: Update includes.
7774 * src/hildon.h: Add hildon-date-button.h
7776 Copied HildonDateButton from sandbox to trunk. Future work on this
7777 widget must take place in trunk.
7779 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7781 * src/Makefile.am: Added HildonPickerButton.
7782 * src/hildon-picker-button.h: Update includes.
7783 * src/hildon.h: Add hildon-picker-button.h
7785 Copied HildonPickerButton from sandbox to trunk. Future work on
7786 this widget must take place in trunk.
7788 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7790 * src/Makefile.am: Added HildonPickerDialog.
7791 * src/hildon-picker-dialog.c: Update includes.
7792 * src/hildon.h: Add hildon-picker-dialog.h
7794 Copied HildonPickerDialog from sandbox to trunk. Future work
7795 on this widget must take place in trunk.
7797 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7799 * src/Makefile.am: Added HildonTimeSelector.
7800 * src/hildon.h: Add hildon-time-selector.h
7802 Copied HildonTimeSelector widget from sandbox to trunk. Future
7803 work on this widget must happen in trunk.
7805 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7807 * src/Makefile.am: Added HildonDateSelector.
7808 * src/hildon.h: Add hildon-date-selector.h
7810 Copied HildonDateSelector widget from sandbox to trunk. Future
7811 work on this widget must happen in trunk.
7813 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7815 * src/Makefile.am: Added HildonTouchPicker.
7816 * src/hildon-touch-picker.c: Update includes.
7817 * src/hildon.h: Add hildon-touch-picker.h
7819 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7820 on this widget must happen in trunk.
7822 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7824 * src/hildon-pannable-area.c:
7825 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7827 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7829 * examples/hildon-app-menu-example.c (main): Let the window
7832 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7834 * src/hildon-pannable-area.c
7835 (hildon_pannable_area_class_init): Set the min value of the
7836 overshoot properties to zero, which points out that not
7837 overshooting allowed.
7839 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7841 Modified the procedure to get the widget at a point inside the
7842 pannable area when using the movement type signals. Now the user
7843 has to call a function to get the child, that way we just
7844 calculate the child in case the user really want to use it and not
7847 * src/hildon-marshalers.list: Modified the marshallers, now we do
7848 not have the widget as a parameter.
7850 * src/hildon-pannable-area.c
7851 (hildon_pannable_area_motion_notify_cb),
7852 (hildon_pannable_area_class_init),
7853 (hildon_pannable_get_child_widget_at): Removed the widget
7854 parameter from the signal callback. We have also refactored the
7855 emission of the signals.
7857 * src/hildon-pannable-area.h: Added a new method to the API to
7858 calculate a widget at a point inside the pannable area,
7859 hildon_pannable_get_child_widget_at.
7861 * examples/hildon-pannable-area-example-4.c
7862 (horizontal_movement): Modified the example to use the new API,
7863 added condition to control which widget is under the event. This
7864 way we can avoid scrolling laterally over other widgets.
7866 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7868 * src/hildon-pannable-area.c
7869 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7870 modes, we stop getting the pointer events due to returning the
7871 callback without properly calling the get pointer again. Fixed
7872 also an error using the hscroll and vscroll.
7874 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7876 * src/hildon-app-menu-private.h
7877 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7878 (hildon_app_menu_button_release, hildon_app_menu_init)
7879 (hildon_app_menu_class_init): Don't hide the menu on button
7880 release if the user didn't press outside first.
7882 * src/hildon-window.h
7883 * src/hildon-window.c (hildon_window_toggle_menu)
7884 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7885 hildon_window_toggle_menu a virtual function for the stackable
7886 window to override it.
7888 * src/hildon-stackable-window.h
7889 * src/hildon-stackable-window-private.h
7890 * src/hildon-stackable-window.c
7891 (hildon_stackable_window_realize)
7892 (hildon_stackable_window_finalize)
7893 (hildon_stackable_window_class_init)
7894 (hildon_stackable_window_init)
7895 (hildon_stackable_window_set_main_menu): New function to set the
7896 app menu of a HildonStackableWindow.
7898 * examples/hildon-app-menu-example.c: Remove the button to show
7899 the app menu, now it'll be shown when clicking on the title bar
7902 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7904 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7905 set the widget name if the arrangement flags do not specify
7908 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7910 * src/hildon-button.c: (hildon_button_set_property),
7911 (hildon_button_class_init), (hildon_button_new_full),
7912 (hildon_button_set_arrangement): Added "arrangement-flags"
7915 Make the HildonButtonFlags a construction-only property, to allow
7916 subclasses to set them properly.
7918 2008-07-21 Tim Janik <timj@imendio.com>
7920 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7921 insertion position after backspace, so additional digits are appended,
7924 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7926 * src/hildon-pannable-area.c,
7927 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7928 TODO list, it was complete and removed the g_debug and g_print
7931 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7933 Added the movement modes to the hildon-pannable-area, with this
7934 modes the developers can control in which directions the widget
7935 can scroll. They can also connect to signals in order to do
7936 something when that happens, allowing applications scroll. There
7937 is an example uploaded showing how to use it.
7939 * examples/Makefile.am:
7940 * examples/hildon-pannable-area-example-4.c: Added this example of
7941 an application using the modes.
7943 * src/hildon-marshalers.list: Added a new marshaller for the new
7946 * src/hildon-pannable-area.h: Added new enumerations and flags in
7947 order to control the movement modes and the new signals to warn
7948 about the movements in the area.
7950 * src/hildon-pannable-area.c:
7951 (hildon_pannable_axis_scroll),
7952 (hildon_pannable_area_scroll),
7953 (hildon_pannable_area_motion_notify_cb),
7954 (hildon_pannable_area_get_property),
7955 (hildon_pannable_area_set_property),
7956 (hildon_pannable_area_map),
7957 (hildon_pannable_area_class_init),
7958 (hildon_pannable_area_init),
7959 (hildon_pannable_area_jump_to): Added the modes to control the
7960 movement in the widget. We have added properties to control it,
7961 signals to warn about the movements and refactored some code.
7963 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7965 Changes required in order to allow vfast_factor set to zero to
7968 * src/hildon-pannable-area.c:
7969 (hildon_pannable_area_button_press_cb): Changed the condition, it
7970 is required for not allowing click when vfast_factor is zero.
7971 (hildon_pannable_area_timeout): Initialized velocity variables
7972 when we stop moving, it was less than 1 but not zero and we need
7973 to check zero in some situations.
7974 (hildon_pannable_area_class_init): Changed the default value of
7975 the speed factor, now the button_press is just sent in case the
7976 speed is 2 per cent of the max speed.
7977 (hildon_pannable_area_init): Initialization with 0.
7979 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7981 * src/hildon-pannable-area.c,
7982 (hildon_pannable_area_get_topmost): replaced
7983 gdk_window_get_children with gdk_window_peek_children, this way we
7984 do not have to free the list because it is not a copy.
7986 (hildon_pannable_axis_scroll),
7987 (hildon_pannable_area_scroll),
7988 (hildon_pannable_area_timeout),
7989 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7990 two parameters that were only used inside the
7991 hildon_pannable_area_scroll function.
7993 * examples/hildon-pannable-area-example.c,
7994 (get_sawtooth_label): Fixed small memory leak.
7996 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7998 More checks for the case where the overshoot is bigger than the
8001 * src/hildon-pannable-area.c:
8002 (hildon_pannable_draw_vscroll),
8003 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8004 to draw the slider of the scrollbar under the other scrollbar.
8005 (hildon_pannable_area_expose_event): added new checks to control
8006 the drawing of the overshooting area rectangle, in case it is too
8007 big for the area of the widget.
8008 (hildon_pannable_area_size_allocate): add more checks to avoid
8009 setting a position to the child widget outside the area.
8011 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8013 * src/hildon-pannable-area.c
8014 (hildon_pannable_area_size_allocate): Added conditions to control
8015 when overshooting is bigger than the allocated space for the
8016 children, this avoids negative allocations.
8018 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8020 * doc/hildon-docs.sgml
8022 * examples/Makefile.am
8023 * examples/hildon-button-example.c
8025 * src/hildon-button.c
8026 * src/hildon-button.h
8027 * src/hildon.h: Initial version of the new HildonButton widget,
8030 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8032 * src/hildon-pannable-area.c:
8033 (hildon_pannable_area_button_press_cb),
8034 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8035 (hildon_pannable_area_motion_notify_cb),
8036 (hildon_pannable_area_button_release_cb),
8037 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8038 (hildon_pannable_area_jump_to_child):
8040 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8042 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8044 * examples/Makefile.am
8045 * examples/hildon-pannable-area-touch-grid-example.c
8046 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8047 the Hildon Touch List and Hildon Touch Grid using the
8048 HildonPannableArea widget.
8050 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8052 * src/hildon-pannable-area.c,
8053 (hildon_pannable_area_button_press_cb),
8054 (hildon_pannable_area_refresh),
8055 (hildon_pannable_area_scroll),
8056 (hildon_pannable_area_motion_notify_cb),
8057 (hildon_pannable_area_button_release_cb),
8058 (hildon_pannable_area_expose_event),
8059 (hildon_pannable_area_add),
8060 (hildon_pannable_area_remove),
8061 (hildon_pannable_area_realize),
8062 (hildon_pannable_area_size_allocate),
8063 (hildon_pannable_area_class_init),
8064 (hildon_pannable_area_init),
8065 (hildon_pannable_area_scroll_to_child),
8066 (hildon_pannable_area_jump_to_child): Fixed the problem of
8067 removing the child from the GtkBin, we have rearranged the widget
8068 hierarchy, now there is no GtkAlignment which was not doing
8069 anything interesting but breaking some of the assumptions of
8070 GtkContainer. Now developers if they want to add a GtkAlignment
8071 they could, but it is not inside the area.
8073 We had to review the whole allocation/expose process, now it is
8074 improved and we save at least three signals which would be saving
8075 some time when rendering the widget. The allocation of the
8076 scrollbars is now made in the allocate method as usual.
8078 We have also added some conditions in order to control when there
8079 is no child of the pannable area. Maybe we will need more work
8082 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8084 * src/hildon-pannable-area.c,
8085 (hildon_pannable_area_dispose): Released the fade-out timeout when
8086 disposing the widget.
8088 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8090 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8091 zero, we are going to use that property in order to deactivate the
8093 (hildon_pannable_axis_scroll),
8094 (hildon_pannable_area_size_allocate): Added conditions to control
8095 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8096 call, now it is called in all situations and we can remove calls
8097 in the allocate method.
8098 (hildon_pannable_area_map): Control the situation when
8099 overshoot_max is zero, we do not need the timeout.
8100 (hildon_pannable_area_class_init): Added documentation in order to
8101 point out that setting zero to overshoot_max means deactivate
8104 NOTE: removed trailing whitespaces from my previous comments of
8107 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8109 * src/hildon-pannable-area.c
8110 (hildon_pannable_area_get_property),
8111 (hildon_pannable_area_set_property),
8112 (hildon_pannable_area_map),
8113 (hildon_pannable_area_class_init),
8114 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8115 to cause the widget give a hint about its panning abilities upon
8118 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8120 * src/hildon-pannable-area.c: Several documentation improvements.
8122 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8124 * src/hildon-program.c
8125 * src/hildon-stackable-window.c: Update documentation.
8127 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8129 * src/hildon-stackable-window.c (get_previous_window_if_last):
8130 Renamed get_last_window()
8131 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8132 (hildon_stackable_window_unset_program):
8134 (get_previous_window_if_last):
8135 Detect if the window hasn't been added to a HildonProgram.
8137 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8139 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8141 * src/hildon-pannable-area.c
8142 (hildon_pannable_area_button_press_cb),
8143 (hildon_pannable_axis_scroll),
8144 (hildon_pannable_area_scroll),
8145 (hildon_pannable_area_timeout),
8146 (hildon_pannable_calculate_vel_factor),
8147 (hildon_pannable_area_get_property),
8148 (hildon_pannable_area_set_property),
8149 (hildon_pannable_area_class_init),
8150 (hildon_pannable_area_init),
8151 (hildon_pannable_area_scroll_to),
8152 (hildon_pannable_area_jump_to),
8153 (hildon_pannable_area_scroll_to_child),
8154 (hildon_pannable_area_jump_to_child):
8155 * src/hildon-pannable-area.h: Added the new API functions:
8156 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8157 hildon_pannable_area_scroll_to_child,
8158 hildon_pannable_area_jump_to_child
8161 * examples/Makefile.am
8162 * examples/hildon-pannable-area-example-2.c
8163 * examples/hildon-pannable-area-example-3.c: Added these two new
8164 examples in order to test and show how the new APIs work.
8166 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8168 * examples/hildon-stackable-window-example.c (new_window):
8169 * src/Makefile.am (noinst_HEADERS):
8170 * src/hildon-program.c (hildon_program_go_to_root_window):
8171 * src/hildon-program.h:
8172 * src/hildon-stackable-window-private.h:
8173 * src/hildon-stackable-window.c:
8174 * src/hildon-stackable-window.h:
8175 Create hildon-stackable-window-private.h
8176 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8178 * examples/hildon-app-menu-example.c (create_menu):
8179 * examples/hildon-hvolumebar-insensitive-example.c (main):
8180 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8181 * examples/hildon-toolbar-seekbar-example.c (main):
8182 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8183 * src/hildon-banner.c (hildon_banner_set_property):
8184 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8185 Fix compilation warnings
8187 * src/hildon-window.c:
8190 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8192 * src/hildon-stackable-window.c
8193 (hildon_stackable_window_unset_program):
8194 Calculate correctly whether to show the previous window if the
8195 last one is removed from the stack.
8196 (hildon_stackable_window_go_to_root_window):
8197 Send delete events starting from the topmost window.
8198 Stop if one of the windows is not destroyed.
8200 (hildon_stackable_window_delete_event)
8201 (hildon_stackable_window_class_init):
8202 Ignore the delete event if the window is not the topmost one.
8204 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8206 * src/hildon-pannable-area.c
8207 (hildon_pannable_area_expose_event): Fixed a problem when
8208 selecting the background color of the scrollbars.
8210 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8212 * examples/hildon-stackable-window-example.c
8213 * src/hildon-stackable-window.c
8214 * src/hildon-stackable-window.h
8215 hildon_stackable_window_go_home() renamed to
8216 hildon_stackable_window_go_to_root_window()
8217 Send delete events to windows rather than closing them with
8218 gtk_widget_destroy()
8220 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8222 * src/hildon-pannable-area.c
8223 (hildon_pannable_area_button_release_cb): Fix overshooting in
8226 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8228 * src/hildon-pannable-area.c
8229 (hildon_pannable_area_init): Initially show the scroll indicators.
8230 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8232 Add initial effect showing the widget is pannable.
8234 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8236 * src/hildon-pannable-area.c
8237 (hildon_pannable_area_class_init)
8238 (hildon_pannable_area_set_property)
8239 (hildon_pannable_area_get_property)
8240 (hildon_pannable_area_button_press_cb):
8241 New 'velocity_fast_factor' property to decide which velocity is
8244 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8246 * src/hildon-pannable-area.c
8247 (hildon_pannable_draw_hscroll)
8248 (hildon_pannable_draw_vscroll):
8249 Use float variables to calculate the size of the scrollbars to
8250 avoid error propagation and resizing during scrolling.
8252 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8254 * src/hildon-pannable-area.c
8255 (hildon_pannable_draw_vscroll)
8256 (hildon_pannable_draw_hscroll):
8257 Define a minimum size for the scroll bars
8259 * src/hildon-stackable-window.c
8260 (hildon_stackable_window_go_home): Fix compilation warning
8261 (get_last_window): Minor optimizations
8262 (hildon_stackable_window_class_init): Fix initialization of
8265 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8267 * src/hildon-stackable-window.c: Fixed typos in doc
8269 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8271 * src/hildon-pannable-area.c
8272 (hildon_pannable_area_scroll):
8273 Calculate here whether we need to scroll instead of using the booleans
8274 that tell us whether to /draw/ the scrolling bars.
8276 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8278 * src/hildon-app-menu.h
8280 * src/hildon-app-menu.c
8281 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8282 multiple filter groups related code and API. Now we support only
8284 * examples/hildon-app-menu-example.c:
8286 Update to reflect API changes.
8288 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8290 * src/hildon-stackable-window.c
8291 (hildon_stackable_window_class_init):
8292 Add hildon_stackable_window_realize.
8293 (hildon_stackable_window_realize):
8294 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8295 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8296 to apply theming and behavior specific to HildonStackableWindow
8299 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8301 * src/hildon-note.c (hildon_note_button_release):
8302 Close information notes also when tapping on them
8304 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8306 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8307 ELASTICITY, refactor and review, fix some issues with drawing
8310 * src/hildon-pannable-area.c:
8311 (hildon_pannable_area_button_press_cb): removed the conditions to
8312 avoid clicks when overshooting. It is not required
8314 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8315 define. Refatored and reviewed the code, now we do not need to
8316 manage velocity in motion_notify.
8318 (hildon_pannable_area_motion_notify_cb): We have moved the code
8319 that controls the area_scroll to the axis_scroll function and get
8320 rid of duplicated code.
8322 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8324 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8326 (hildon_pannable_draw_vscroll),
8327 (hildon_pannable_draw_hscroll): Fixed the problems with the
8328 scrollbar drawing, now we do not use two surfaces, it is easier
8329 and saves resources.
8331 (hildon_pannable_area_get_property): Style modification.
8333 (hildon_pannable_area_class_init): Changed some default values.
8335 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8337 * src/hildon-stackable-window.c: Fix some typos in the
8340 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8342 * src/hildon-dialog.c:
8343 Change indentation style
8346 (hildon_note_button_release):
8347 Use root coordinates to check if the release event happened
8350 * src/hildon-app-menu.c
8351 (hildon_app_menu_button_release):
8352 Remove unnecessary check
8354 * examples/hildon-app-menu-example.c
8356 Add cast to fix warning
8358 * src/hildon-app-menu.c
8359 (hildon_app_menu_class_init):
8360 New inner-border style property.
8361 Set all default spacings to 16
8362 (hildon_app_menu_init):
8363 Use vertical-spacing to set the space between filter buttons and
8364 regular menu buttons.
8365 Set the default container border using the inner-border value.
8367 * examples/hildon-app-menu-example.c
8369 Don't set the menu border explicitly, now we have the inner-border
8370 style property for that.
8372 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8374 * src/hildon-app-menu.c (hildon_app_menu_init):
8375 Make the window modal
8377 * src/hildon-note.c (hildon_note_map)
8378 * src/hildon-app-menu.c (hildon_app_menu_map):
8379 Destroy the grab window if we're unable to grab the pointer
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 (grab_transfer_window_get):
8387 Bring back the grab window
8388 (hildon_app_menu_realize):
8389 Decorate the window, set WM hint for Matchbox
8391 * src/hildon-note.c (hildon_note_realize):
8392 * src/hildon-banner.c (hildon_banner_realize):
8393 Add WM hints for Matchbox
8395 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8397 * src/hildon-app-menu-private.h
8398 * src/hildon-app-menu.c
8399 (hildon_app_menu_init, hildon_app_menu_finalize)
8400 (hildon_app_menu_map, hildon_app_menu_unmap)
8401 (hildon_app_menu_button_release):
8402 Remove the grab window, it's not needed anymore
8404 * src/hildon-program.c
8405 Fixed typo in documentation
8407 * src/hildon-app-menu.h
8408 * src/hildon-app-menu.c
8409 * examples/hildon-app-menu-example.c
8410 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8412 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8415 Added new transfer_window and close_if_pressed_outside private
8417 (hildon_note_rebuild):
8418 Don't add a cancel button to the information note. It will be
8419 closed when tapping outside
8420 Remove the comment about the OK button in the documentation
8421 (hildon_note_realize):
8422 Set the notification type hint
8423 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8424 Grab/ungrab pointer and keyboard if the note has to be closed when
8426 (hildon_note_button_release):
8427 Close the note when tapping outside (if applicable)
8429 * src/hildon-app-menu.c
8430 Grab/ungrab pointer and keyboard on map/unmap
8431 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8432 Close the menu on button release, not button press
8434 * src/hildon-banner.c
8435 (hildon_banner_set_property)
8436 (hildon_banner_check_position):
8437 Make the banner use the full width of the screen
8438 (hildon_banner_show_information)
8439 (hildon_banner_show_information_with_markup):
8440 Don't display an icon by default
8442 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8444 Added fading scrollbars and adapted all the overshooting code to
8445 horizontal scrolling. We have also fixed bugs with overshooting
8446 and current fading implementation.
8448 * src/hildon-pannable-area.c
8449 (hildon_pannable_area_scroll_indicator_fade): Time out function
8450 used to change the transparency of the scrollbars.
8452 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8453 control and fixed a problem with fading, we now remove the fade
8454 timeout before adding a new one.
8456 (hildon_pannable_axis_scroll):
8457 (hildon_pannable_area_scroll):
8458 (hildon_pannable_area_timeout): Added this functions so we can use
8459 the scroll code both for vertical and horizontal.
8461 (hildon_pannable_area_motion_notify_cb):
8462 (hildon_pannable_area_button_release_cb): Added the horizontal
8463 scrolling control, fixed a problem with the overshooting timeout.
8465 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8466 painting of the scrolls.
8468 (hildon_pannable_draw_vscroll):
8469 (hildon_pannable_draw_hscroll):
8470 (hildon_pannable_area_expose_event):
8471 Draw both scrollbars and rectangles in the overshooting area.
8473 (hildon_pannable_area_get_property):
8474 (hildon_pannable_area_set_property):
8475 Modified the overshoot property to overshoot_max
8477 (hildon_pannable_area_map):
8478 Replaced the comments symbols.
8480 (hildon_pannable_area_size_allocate):
8481 (hildon_pannable_area_class_init):
8482 (hildon_pannable_area_init): Added horizontal scroll, fading
8483 effect properties, fixed a problem when overshooting in the bottom
8486 * examples/hildon-pannable-area-example.c:
8487 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8488 looks better in the example.
8490 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8492 * src/hildon-window.c
8493 * src/hildon-window.h
8494 (hildon_window_class_init)
8495 (hildon_window_unset_program)
8496 (hildon_window_unset_program_real):
8497 Make unset_program a virtual function
8499 * src/hildon-stackable-window.c
8500 * src/hildon-stackable-window.h
8501 Added hildon_stackable_window_go_home()
8503 * examples/Makefile.am
8504 * examples/hildon-stackable-window-example.c
8505 HildonStackableWindow example
8507 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8509 * hildon-pannable-area.c: Added the overshoot property and removed
8510 the OVERSHOOT define. Fixed an indent style error.
8511 (hildon_pannable_area_motion_notify_cb):
8512 (hildon_pannable_area_get_property):
8513 (hildon_pannable_area_set_property): Add overshoot property.
8515 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8518 (hildon_pannable_area_class_init): Installed the new property.
8520 * hildon-pannable-area-example.c: Added a sawtooth function, this
8521 way it is easier to check the movement in the pannable.
8522 (get_sawtooth_label): Added this function.
8523 (main): Now we get the labels from the new get_sawtooth_label
8526 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8528 * src/hildon-app-menu.h
8529 * src/hildon-app-menu.c
8530 Renamed API variables for consistency
8532 (hildon_app_menu_popup): Use also the default window size to
8533 decide where to place the menu
8535 (hildon_app_menu_init, hildon_app_menu_class_init): New
8536 external-border style property
8538 2008-05-26 Michael Natterer <mitch@imendio.com>
8540 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8541 widget_class->tap_and_hold_setup signal slot doesn't exist any
8542 longer, stop overriding it.
8544 (hildon_time_editor_init): g_signal_connect() to the
8545 tap-and-hold-setup signal instead.
8547 (hildon_time_editor_entry_keypress): add cast to fix warning.
8549 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8551 * doc/hildon-docs.sgml
8553 * examples/Makefile.am
8554 * examples/hildon-app-menu-example.c
8556 * src/hildon-app-menu-private.h
8557 * src/hildon-app-menu.c
8558 * src/hildon-app-menu.h
8560 New HildonAppMenu widget
8562 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8564 Rearranged the inheritance of the pannable area, now it inherits
8565 from GtkBin. This will allow us to control the event_window and
8566 the allocation process of the widget, required for some effects.
8568 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8569 GtkBin structures. * src/hildon-pannable-area.c: Added the
8570 event_window variable.
8571 (hildon_pannable_area_button_press_cb):
8572 (hildon_pannable_area_button_release_cb):
8573 (hildon_pannable_area_motion_notify_cb):
8574 Changed the signature of the method, now we override the event
8575 callback instead of connecting to the signal.
8577 (hildon_pannable_area_realize):
8578 (hildon_pannable_area_unrealize):
8579 (hildon_pannable_area_map):
8580 (hildon_pannable_area_unmap):
8581 (hildon_pannable_area_size_allocate):
8582 Added functions to control the widget construction. We add a
8583 INPUT_ONLY window and we put it over the widgets inside the
8584 container, this event_window handles the events.
8586 (hildon_pannable_area_class_init):
8587 Replaced the signal connections with overrides of the event
8590 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8592 Bouncing effect added when touching the borders, you can change
8593 the elasticity of the border changing the ELASTICITY define.
8595 * src/hildon-pannable-area.c: Added ELASTICITY define.
8596 (hildon_pannable_area_timeout): Added inverse velocity when
8597 touching the border of the child widget, that causes a bounce.
8599 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8601 Improved performance, we now do not go to the X server in order to
8602 get the list of window children. Apparently the effect is the
8603 same, we have to be careful and check if this breaks something in
8606 * src/hildon-pannable-area.c:
8607 (get_ordered_children): Removed this function.
8608 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8609 the children windows function with gdk_window_get_children.
8611 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8613 * src/hildon-pannable-area.c:
8614 (hildon_pannable_area_dispose): Fixed a crash when closing the
8615 window and kinetics is activated.
8617 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8619 * src/hildon-pannable-area.h
8620 * src/hildon-pannable-area.c
8621 Changed indentation style to meet the one used in Hildon
8623 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8625 Reviewed the interaction of the AUTO mode, now we use the time
8626 attribute of the events and calculate the velocity in the motion,
8627 doing a gimp like calculation. The velocity is calculated in each
8628 motion event using the last velocity and the current one, the
8629 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8631 * src/hildon-pannable-area.c: Replaced the time based algorithm
8633 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8634 timeout for the AUTO mode when we are still moving the cursor. We
8635 added also the velocity calculation in this function.
8636 (hildon_pannable_area_button_release_cb): launch the timeout in
8637 case we are in AUTO mode. There are still some constants here that
8638 come from the old implementation that should be reviewed and
8641 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8643 * doc/hildon-docs.sgml
8646 * src/hildon-stackable-window.c
8647 * src/hildon-stackable-window.h
8649 New HildonStackableWindow widget
8651 * examples/hildon-dialog-example.c
8652 * examples/hildon-pannable-area-example.c
8655 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8657 * src/hildon-dialog.c
8658 (hildon_dialog_new_with_buttons): New constructor.
8660 * examples/hildon-dialog-example.c
8661 (main): Update the example to use the new
8662 hildon_dialog_new_with_buttons().
8664 * examples/hildon-pannable-area-example.c
8665 (main): Update example.
8667 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8669 * doc/hildon-docs.sgml
8671 Added HildonPannableArea to the documentation.
8673 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8675 * doc/visual_index.xml
8676 Fix reference to HildonLoginDialog in documentation
8678 * doc/hildon-docs.sgml
8680 * examples/Makefile.am
8681 * examples/hildon-dialog-example.c
8683 * src/hildon-dialog.c
8684 * src/hildon-dialog.h
8686 New HildonDialog widget.
8688 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8690 * src/hildon-pannable-area.c
8691 Merge latest changes (r4318, r4342) from libmokoui trunk
8693 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8695 * examples/Makefile.am
8696 * examples/hildon-pannable-area-example.c
8698 * src/hildon-pannable-area.c
8699 * src/hildon-pannable-area.h
8701 New HildonPannableArea widget.
8703 2008-04-15 18:05:19 <timj@imendio.com>
8705 * src/hildon-banner.c: revert the recent change, that introduced
8706 gtk_window_present() calls. this reopens:
8707 Bug 78481 - [freetest] information banners are hidden under browser menu
8708 But resolves another variant of:
8709 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8711 2008-04-15 13:21:13 <timj@imendio.com>
8713 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8714 recreated its layout, spotted by Kris. this fixes all remaining
8715 artefacts and stability issues with the banner code. in particular:
8716 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8718 2008-04-14 16:52:59 <timj@imendio.com>
8720 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8721 operating on unrealized widgets, fixes:
8722 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8724 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8726 2008-04-09 Kristian Rietveld <kris@imendio.com>
8728 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8729 makes banner disappear.
8730 Fixes: NB#79182: info banner flickering with certain message lengts.
8732 * src/hildon-banner.c (hildon_banner_constructor),
8733 (hildon_banner_init), (hildon_banner_set_text),
8734 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8735 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8736 FALSE, reset size requests of label and banner,
8737 (force_to_wrap_truncated): when the text is too wide, always enforce
8738 the maximum possible width instead of recalculating it from the
8739 layout; enforce the maximum banner height of 3 lines,
8740 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8741 nicer wrapping and no truncated chars if space gets tight.
8743 * src/hildon-banner-private.h: add has_been_wrapped and
8744 has_been_truncated fields.
8746 2008-04-07 Sven Herzberg <sven@imendio.com>
8748 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8749 local values in hildon_date_editor_size_allocate
8751 * src/hildon-date-editor.c: moved the real allocation code into the
8754 2008-04-07 Sven Herzberg <sven@imendio.com>
8756 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8757 local values in hildon_date_editor_size_allocate
8759 * src/hildon-date-editor.c: merged the two if() branches together
8761 2008-04-07 Sven Herzberg <sven@imendio.com>
8763 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8764 local values in hildon_date_editor_size_allocate
8766 * src/hildon-date-editor.c: changed the arguments of the if()
8769 2008-04-07 Sven Herzberg <sven@imendio.com>
8771 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8772 local values in hildon_date_editor_size_allocate
8774 * src/hildon-date-editor.c: split the calculation of the allocation
8775 from the real allocation
8777 2008-03-27 Michael Natterer <mitch@imendio.com>
8779 Fixes: NB#81696: The passcode is not overwritten even after
8782 * src/hildon-code-dialog.c
8783 (hildon_code_dialog_button_clicked)
8784 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8785 because that doesn't overwrite selected text. Instead, emit the
8786 "commit" signal on the entry's im_context so the entry's normal
8787 insert logic is triggered. Set the cursor to the end of the entry
8788 after each insert operation so that we *only* insert in the middle
8789 of the text if something was selected.
8791 2008-03-27 Michael Natterer <mitch@imendio.com>
8793 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8794 selector cannot be opened
8796 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8797 when the popup color selector is created. Please connect to this
8798 signal in order to set the dialog's help ID.
8800 2008-03-25 Sven Herzberg <sven@imendio.com>
8802 Fixes: MB#1212: Hide info banners (infoprints) on click
8804 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8805 extracted the close event simulation into an extra function
8806 (hildon_banner_button_press_event): simulate a close event and destroy
8807 the widget if the event wasn't handled
8808 (hildon_banner_class_init): added the button_press_event handler
8809 (hildon_banner_init): added button-press events to the widget
8811 2008-03-25 Sven Herzberg <sven@imendio.com>
8813 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8814 Patch from: Mohammad Anwari <mdamt@maemo.org>
8816 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8817 instead of the right in RTL mode
8818 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8819 breadcrumb button list in RTL mode
8820 * src/hildon-caption.c: mirror the appearance of the caption widget in
8822 * src/hildon-date-editor.c: mirror appearance of the date editor in
8824 * src/hildon-time-editor.c: mirror appearance of the time editor in
8826 * src/hildon-window.c: fix the position of the popup in RTL mode
8828 2008-03-25 Sven Herzberg <sven@imendio.com>
8830 Amendment to the fix of NB#22072. Fix compilation.
8832 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8834 2008-03-19 Sven Herzberg <sven@imendio.com>
8836 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8839 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8840 timeout id properly when the timeout will disappear this leaves no
8841 artifacts around in the destroy(); there will only be the timeout
8842 created by hildon_banner_ensure_timeout() and adding a new timeout
8843 will also work if the timeout gets removed because the timeout_handler
8846 2008-03-19 Michael Natterer <mitch@imendio.com>
8848 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8850 * src/hildon-volumebar.c
8851 * src/hildon-vvolumebar.c
8852 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8853 the widget becomes focussable at all.
8855 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8856 set the focus to wither the mute button or the volumebar.
8858 Remove own "can-focus" property and instead listen to
8859 notify::can-focus in order to update the widget's state.
8861 Implement GtkWidget::focus() and make sure we can also *leave* the
8862 widget, not only enter it, depending on volumebar orientation and
8863 requested focus direction.
8865 Clean up set_mute() to cooperate nicely with all the above.
8867 2008-03-04 Michael Natterer <mitch@imendio.com>
8869 Fixes: NB#78481: information banners are hidden under browser menu
8871 * src/hildon-banner.c: call gtk_window_present() on the banners so
8872 they are risen if they are already visible.
8874 2008-03-03 Sven Herzberg <sven@imendio.com>
8876 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8878 * examples/hildon-window-menu-example.c: (main): extended the window
8879 menu example to serve as a testcase for automatically added
8880 accelerator groups, too
8881 * src/hildon-window.c: (hildon_window_add_accel_group),
8882 (hildon_window_set_menu): added patch by Tommi Komulainen
8884 2008-03-03 Sven Herzberg <sven@imendio.com>
8886 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8888 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8889 knowledge about the border allocators used within GTK+
8891 2008-02-26 Sven Herzberg <sven@imendio.com>
8893 Fixes: MB#2981: Build with asserts broken
8895 * src/hildon-date-editor.c,
8896 * src/hildon-number-editor.c,
8897 * src/hildon-time-editor.c,
8898 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8899 the proper GType instance check
8901 2008-02-25 Sven Herzberg <sven@imendio.com>
8903 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8905 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8906 * examples/hildon-window-menu-example.c: (main): explicitly show
8908 * src/hildon-window.c:
8909 (hildon_window_set_main_menu): moved most of the code from set_menu()
8910 to this place; skipped the call to gtk_widget_show_all(); also didn't
8911 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8912 (hildon_window_set_menu): removed most of the code, just keep the
8913 questionable gtk_widget_show_all()
8914 * src/hildon-window.h: added the new function and deprecate the old
8917 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8923 * debian/changelog: Updating.
8925 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8928 * pkgconfig/Makefile.am:
8929 * pkgconfig/hildon.pc.in:
8932 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8933 use newly created API_MAJOR_VERSION.
8935 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8941 * debian/changelog: Updating.
8943 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8945 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8947 Add outer_border style property, we use it but don't define it (!).
8951 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8953 * examples/hildon-bread-crumb-trail-example.c (main):
8957 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8959 Fix logic for the bread crumb trail node removal.
8963 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8969 * debian/changelog: Updating.
8971 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8973 Patch by Alejandro to get/set passwords dialogs accesibility.
8975 * hildon-1/src/hildon-get-password-dialog.c:
8976 * hildon-1/src/hildon-set-password-dialog.c:
8977 Set atk_set_name to the passwd entries in order to allow
8978 accessibility by name on this entries.
8980 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * debian/control: Updating gtk dep.
8987 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8989 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8990 USE_MAEMO_GTK is enabled.
8992 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8994 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8995 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8997 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9003 * debian/changelog: Updating.
9005 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * examples/Makefile.am:
9008 * examples/hildon-logical-color-example.c:
9009 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9010 applied + adding a test case. Fixes: NB#71660.
9012 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9014 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9015 to be visible, fixes warning on map for windows without toolbars.
9017 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9019 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9020 2.11.0, add a check for that besides the MAEMO_GTK check.
9022 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * debian/changelog: Updating.
9030 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9033 visibility. Fixes: NB#70842 and MB#615.
9035 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9037 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9038 set the separator as no-show-all so it doesn't unintentionally appear when
9039 someone does a show_all.
9041 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9043 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9044 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9045 toplevel item. Fixes: NB#62031
9047 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9049 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9050 fix the name of the function in the docs.
9052 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9058 * debian/changelog: Updating.
9060 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9062 * examples/hildon-banner-long-example.c: Adding a test-case for long
9065 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9067 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9069 * src/hildon-color-chooser-dialog.c:
9070 * src/hildon-color-chooser.c:
9071 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9072 memory leaks in font selector and color selector. Fixes: NB#70499 and
9075 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9077 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9079 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9082 little bit bigger. Fixes: #NB63694.
9084 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * debian/changelog: Updating.
9092 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * doc/hildon-docs.sgml:
9096 * doc/images/bread-crumb-trail.png:
9097 * doc/images/calendar-popup.png:
9098 * doc/images/caption.png:
9099 * doc/images/code-dialog.png:
9100 * doc/images/color-button.png:
9101 * doc/images/color-chooser-dialog.png:
9102 * doc/images/color-chooser.png:
9103 * doc/images/controlbar.png:
9104 * doc/images/date-editor.png:
9105 * doc/images/font-selection-dialog.png:
9106 * doc/images/get-password-dialog.png:
9107 * doc/images/hvolumebar.png:
9108 * doc/images/login-dialog.png:
9109 * doc/images/note.png:
9110 * doc/images/number-editor.png:
9111 * doc/images/range-editor.png:
9112 * doc/images/seekbar.png:
9113 * doc/images/set-password-dialog.png:
9114 * doc/images/sort-dialog.png:
9115 * doc/images/time-editor.png:
9116 * doc/images/time-picker.png:
9117 * doc/images/vvolumebar.png:
9118 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9119 Adding the bread-crumb-trial and helpers to the documentation.
9121 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9123 * examples/hildon-find-toolbar-example.c:
9124 * src/hildon-find-toolbar.c:
9125 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9126 actually continue firing the other handlers if connected. Adding a new
9128 hildon_find_toolbar_get_last_index that gets the index of the most
9129 recently added (last) item. Fixes: NB#52301.
9131 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9134 behaviour. Fixes: NB#68610.
9136 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9141 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9144 when realizing the banner. Should make the infonbanner effect a bit more
9147 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * src/hildon-volumebar.c:
9150 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9151 hildon_volumebar_set_range_insensitive_message and
9152 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9154 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9156 * src/hildon-window.c: Fixing the border freeing on destroy.
9158 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * src/hildon-code-dialog-private.h:
9161 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9162 kw keyboard support in HildonCodeDialog.
9164 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9170 * debian/changelog: Updating.
9172 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * src/hildon-date-editor.c:
9175 * src/hildon-number-editor.c:
9176 * src/hildon-private.c:
9177 * src/hildon-private.h:
9178 * src/hildon-time-editor.c:
9179 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9180 handling in subclassed composite widgets. Fixes: NB#66628.
9182 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9184 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9185 from destroy_ callback as it introduces problems in async dbus signal
9186 handlers. Fixes NB#66673.
9188 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * examples/hildon-hvolumebar-example.c:
9191 * src/hildon-volumebar.c: Improving the focus handling in the
9192 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9193 set_property accessor so that "mute" property can be actually set. I'm
9194 scared that nobody noticed it's totally broken.
9196 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9198 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9201 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * src/hildon-calendar.c:
9204 * src/hildon-number-editor.c:
9205 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9206 matches the spec of 6 chars per second. Fixes: NB#60489.
9208 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9211 gtk_style_lookup_color sometime returns FALSE even though color was
9212 found and values were filled properly. Weird. Removing the warning for the
9215 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9217 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9218 expand vertically. Adding some extra space to the find toolbar buttons to
9219 make them thumbable. Fixes NB#66060.
9221 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9224 popup with "Ok" and "Cancel". Fixes NB#59299.
9226 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9228 * src/hildon-calendar.c: Process all window updates before executing next
9229 timeout. Fixes: NB#54146.
9231 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9237 * debian/changelog: Updating.
9239 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9241 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9242 the client event and ignore it, since we use the delete event to close
9245 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9247 * src/hildon-helper.c: Remove the bogus warning about color not being
9248 found. Fixes NB#58352.
9250 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9252 * examples/Makefile.am:
9253 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9254 HildonSeekbar widget inside a toolbar.
9256 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9258 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9259 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9260 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9261 don't want to be closed by non-temporary windows on map.
9263 Also use G_DEFINE_TYPE instead of manually typed code.
9265 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9272 * debian/rules: Updating.
9274 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9276 * examples/Makefile.am:
9277 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9278 bug NB#61128. Strangely it works.
9280 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * src/hildon-date-editor.c: When the date editor entry has been changed
9283 but the numbers of characters < max, turn off the skip validation flag.
9284 Prevents a situation when we enter first a valid year and later re-write
9285 it with an invalid one. Fixes NB#60154.
9287 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9289 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9290 code dialog. Fixes NB#64355.
9292 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9294 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9295 switching the page. Fixes NB#49374.
9297 * examples/Makefile.am:
9298 * examples/hildon-wizard-dialog-example.c: Adding an example for
9299 HildonWizardDialog that shows how to handle manual sensitivity setting on
9302 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9306 * src/hildon-version.h.in:
9307 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9309 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9311 * src/hildon-volumebar.c: Updating the docs.
9313 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9319 * debian/changelog: Updating.
9321 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9323 * src/hildon-find-toolbar.c:
9324 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9325 selected item: hildon_find_toolbar_set_active,
9326 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9327 hildon_find_toolbar_get_active_iter . They correspond to respective
9328 GtkComboBox functions.
9330 * examples/Makefile.am:
9331 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9334 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9336 * examples/Makefile.am:
9337 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9340 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9341 when font size > 32 and we pack a focusable widget inside. Actually using
9342 the default response would work too, but since we don't show default
9343 response state in any way (no theming) it would not be visible to the
9344 user. Fixes NB#63430.
9346 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9348 * src/hildon-date-editor.c: Adding the missing variable setter in the
9349 set_property handler. Fixes NB#54182.
9351 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9353 * src/hildon-window.h: Changing the long key press time from 1500ms to
9354 800ms as requested in NB#63700. I have a bad feeling about this, let's
9355 see... Fixes NB#63700.
9357 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9359 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9360 hildon_time_picker_map, hildon_time_picker_realize,
9361 hildon_time_picker_style_set): Split the contents of map to more
9362 appropriate functions; set window decorations on realize and update
9363 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9365 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9370 * debian/changelog: Updating.
9372 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9374 * src/Makefile.am: fixed installation of the header files
9376 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9382 * debian/changelog: Updating.
9384 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9386 * configure.ac: Removing some remaining of --enable-xan.
9388 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9390 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9391 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9393 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9394 2.10.12-osso6 because the move-focus signal needs to be available in
9397 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9399 * examples/Makefile.am:
9400 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9401 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9402 fine. Prolly NB#61128 is fixed now.
9404 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9406 * src/hildon-volumebar.c:
9407 * src/hildon-volumebar.h: Adding the
9408 hildon_volumebar_set_range_insensitive_message and
9409 hildon_volumebar_set_range_insensitive_messagef functions to set
9410 insensitive message on the slider of the volumebar. Fixes NB#61129.
9412 * examples/Makefile.am:
9413 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9414 test the new insensitive messsage functionality on HildonVolumebar.
9416 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9418 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9421 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9423 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9424 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9425 button on after clearing the trail.
9427 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9429 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9431 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9433 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9434 by splitting the installed headers in generated and non-generated groups. Use
9435 only the non-generated headers to create the hildon-enum-types.h file.
9437 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9439 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9441 * src/hildon-window.c: Hide the window before performing the destroy.
9442 Should make the app closing a little tiny bit more snappy.
9444 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9446 * src/hildon-seekbar.c: add gtkrange.h header
9447 * src/hildon-caption.c: remove unused variable
9449 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9451 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9454 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9460 * debian/changelog: Updating.
9462 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9464 * src/hildon-window.c (hildon_window_window_state_event,
9465 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9466 escape timeout on focus-out-event rather than notify::is-topmost; the
9467 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9469 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9471 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9472 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9474 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9476 * src/hildon-window: actually, you need to use the macro always, there's
9477 no private pointer in the instance structure. We should have cleaned this up
9478 when we had the chance...
9480 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9482 * src/hildon-window.c: do not get the private date from HildonWindow before
9483 it passes the g_return_if_fail check. Once it's passed the test, there's no
9484 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9485 if you are only going to access the data once. Whitespace cleanups.
9487 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9489 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9490 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9492 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9498 * debian/changelog: Updating.
9500 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9502 * src/hildon-window.c: When destroying the window, remove (if exists) the
9503 escape timeout handler. Fixes #NB59276.
9505 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9507 * src/hildon-banner.c: When realizing the widget, set the window
9508 transiency. Setting the transiency in the gobject constructor is not
9509 good, as the widget is not realized at that point. Fixes: #NB56624.
9511 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9513 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9514 Add padding for future expansions.
9516 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9518 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9519 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9520 will fake an activation on the previous to the last item of the trail, so
9521 the effect can be overrided by the developer as usual.
9522 Also change the callback for the back button to do the same thing, so its
9523 effect can be overrided too. Fixes: NB#58982
9525 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9527 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9528 HildonCaption. Fixes NB#52379.
9530 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9532 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9533 the internal state of the trail after the user has had the chance of executing
9534 his handler for the signal. Specifically, it may happen that the activated button
9535 is removed and the user still lets the default handler run. This would segfault
9538 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9540 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9541 scrollbar to the preview dialog. Fixes NB#54147.
9543 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9545 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9546 max/min year properties can be altered, so the client can modify it
9547 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9549 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9551 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9552 hildonlike by default. Fixing a problem with disappearing arrows when
9553 scrolling through months and years. Fixes NB#54127.
9555 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9557 * examples/hildon-date-editor-example.c: Adding error callback to the date
9560 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9566 * configure.ac: Updating.
9568 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9570 * configure.ac: Adding a special '--enable-xan' configure option that
9571 turns off the -Werror compilation setting. Usefull for development.
9573 * src/hildon-calendar.c:
9574 * src/hildon-number-editor.c:
9575 * src/hildon-time-picker.c: Adding the 5* multiplier to
9578 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9580 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9581 instead of g_object_ref + gtk_object_sink.
9583 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9589 * debian/changelog: Updating.
9591 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9593 * src/hildon-color-chooser-dialog.c:
9594 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9595 straight from Tommi labs.
9597 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9599 * examples/hildon-finger-example.c: Correcting the header file path.
9601 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9602 the changed signal. Fixes a small memory leak.
9604 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9608 * src/hildon-banner.c: Importing several usefull fixes from the
9609 ubuntu-mobile branch.
9611 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9613 * examples/Makefile.am:
9614 * examples/hildon-finger-example.c: Adding a finger-checking code
9617 * src/hildon-font-selection-dialog.c: Do not allocate the color
9618 structure using the g_new. Fixes NB#54061.
9620 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9622 * src/hildon-helper.c: Correcting tabs in file.
9624 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9626 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9627 control the visibility of the children.
9629 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9631 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9637 * debian/changelog: Updating.
9639 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9641 * src/hildon-bread-crumb-trail.c:
9642 (hildon_bread_crumb_trail_size_allocate):
9644 Make the back button always a square.
9646 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9648 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9649 from the .c file as it's a private file.
9651 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9653 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9654 uses slightly bigger height.
9656 * src/hildon-font-selection-dialog.c: Adding some checks before
9657 freeing memory in the font selection dialog.
9659 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9661 * src/hildon-font-selection-dialog.c: Adding a small check when
9664 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9665 buttons sensitivity on page switching.
9667 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9669 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9670 internal details of adding a bread crumb to the trail.
9672 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9678 * debian/changelog: Updating.
9680 * src/hildon-bread-crumb-trail.h:
9681 * src/hildon-bread-crumb.h: Changing the API guard to
9682 HILDON_ENABLE_UNSTABLE_API.
9684 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9692 * src/hildon-helper.h: Updating.
9694 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9702 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9706 * src/hildon-helper.h: Small fix to make the package actually compile.
9708 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9710 * src/hildon-bread-crumb-trail.h:
9711 * src/hildon-bread-crumb.h:
9713 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9714 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9716 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9718 * examples/hildon-bread-crumb-trail-example.c:
9720 * src/hildon-bread-crumb-trail.c:
9721 * src/hildon-bread-crumb-trail.h:
9722 * src/hildon-bread-crumb.c:
9723 * src/hildon-bread-crumb.h:
9724 * src/hildon-marshalers.list:
9725 * src/hildon-bread-crumb-widget.c:
9726 * src/hildon-bread-crumb-widget.h:
9728 Slight change in the widget design. The bread crumb trail API is
9729 unchanged, but HildonBreadCrumb is now an interface. A *private*
9730 implementation, hildon-bread-crumb-widget, is provided and used
9731 internally by the trail for the push_text/push_icon functions.
9733 The generic push API is still available, so anyone can implement
9734 and use its own bread crumb widget.
9736 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9738 * debian/rules: Fixing the shlibs.
9740 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9742 * src/hildon-banner.c: Fixing a problem with timed banners having
9743 their parrent destroyed before they are.
9745 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9747 * src/hildon-bread-crumb.c:
9748 * src/hildon-bread-crumb.h:
9750 Make the get_natural_size function a vfunc.
9752 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9754 * src/hildon-bread-crumb.c:
9755 * src/hildon-bread-crumb-trail.c:
9759 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9766 * debian/changelog: Updating for release.
9768 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9770 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9771 don't leak the pango layout.
9773 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9776 * examples/hildon-bread-crumb-trail-example.c:
9780 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9782 * debian/changelog: Removing the bug-fixed entries that were actually
9783 resolved as WONTFIX.
9785 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9788 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9790 * src/hildon-bread-crumb-trail.c:
9791 * src/hildon-bread-crumb-trail.h:
9792 * src/hildon-bread-crumb.c:
9793 * src/hildon-bread-crumb.h:
9797 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9799 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9800 until it's passed the type check.
9802 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9804 * examples/hildon-bread-crumb-trail-example.c
9808 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9810 * examples/Makefile.am
9811 * examples/hildon-bread-crumb-trail-example.c
9813 * src/hildon-bread-crumb-trail.c
9814 * src/hildon-bread-crumb-trail.h
9815 * src/hildon-bread-crumb.c
9816 * src/hildon-bread-crumb.h
9818 New HildonBreadCrumbTrail widget.
9820 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9822 * src/hildon-range-editor.c (hildon_range_editor_init),
9823 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9824 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9825 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9826 hildon_time_editor_class_init, hildon_time_editor_init),
9827 src/hildon-get-password-dialog.c (invalid_input,
9828 hildon_get_password_set_property, hildon_get_password_get_property,
9829 create_contents, hildon_get_password_dialog_set_max_characters),
9830 src/hildon-set-password-dialog.c (create_contents),
9831 src/hildon-date-editor.c (hildon_date_editor_init),
9832 src/hildon-login-dialog.c (hildon_login_dialog_init),
9833 src/hildon-number-editor.c (hildon_number_editor_init),
9834 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9835 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9836 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9837 configure option and adding the respective checks in the code.
9838 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9839 hildon_calendar_drag_data_received): fixed some build warnings.
9841 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9843 * debian/changelog: A 1.0.0 release notes.