1 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
4 free a GList and avoid potential memory corruption.
6 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
8 [2.2.0 Release Candidate 5]
11 * debian/changelog: bump and updates
13 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
15 Do not set any flag for empty legacy menus
17 * hildon/hildon-program.c: (hildon_program_set_common_menu):
18 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
19 This will probably not work fine with empty legacy menus added to
20 programs or windows and populated later, but so it's life.
22 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
24 Update the application menu flag for application-wise windows
26 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
27 (hildon_program_set_common_app_menu): Also take into account the visibility
30 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
32 Emit HildonAppMenu::changed when menu items change visibility
34 * hildon/hildon-app-menu.c: (item_visibility_changed),
35 (filter_visibility_changed): Also emit ::changed on
36 visibility of items changed.
38 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
40 Do not set the menu flag in a window when a menu is empty
42 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
43 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
44 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
45 changes by using the HildonAppMenu::changed signal.
47 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
49 Add HildonAppMenu::changed signal
51 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
52 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
53 Emit a new HildonAppMenu:changed signal when there are changes in
56 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
58 Add hildon_app_menu_has_visible_children() private method
60 * hildon/hildon-app-menu-private.h: Add below private method.
61 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
62 New method to check the visibility of a HildonAppMenu children.
64 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
66 Set the window menu flag for application-common menus
68 * hildon/hildon-program.c:
69 (+hildon_program_window_set_common_menu_flag): Set or remove the
70 menu flag from a window only this doesn't have its own menu.
71 (+hildon_program_set_common_menu_flag): adjust menu flag for
72 all windows in the program.
73 (hildon_program_add_window),
74 (hildon_program_remove_window): add/remove the menu flag when
75 a window is added to the program.
77 Fixes: NB#137814 (Indicator for view menu in app title area)
79 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
81 Set a special window property for windows with menus
83 * hildon/hildon-window-private.h: Add private
84 hildon_window_set_menu_flag()
85 * hildon/hildon-window.c: (+do_set_has_menu),
86 (+hildon_window_set_menu_flag): set
87 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
88 or remove the property.
89 (hildon_window_set_main_menu),
90 (hildon_window_set_app_menu): call above methods to set or remove
91 the property when a menu is added or removed from the window.
93 Partially fixes: NB#137814 (Indicator for view menu in app title area)
95 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
97 Rename and move the methods to set flags to hildon-private.h
99 * hildon/hildon-gtk.c: (do_set_progress_indicator),
100 (do_set_do_not_disturb), (do_set_portrait_flags): call
101 the new private method hildon_gtk_window_set_clear_window_flag()
102 (hildon_gtk_window_set_progress_indicator),
103 (hildon_gtk_window_set_do_not_disturb),
104 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
105 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
106 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
108 * hildon/hildon-private.h: Add the two new private methds.
110 2009-09-11 Alejandro G. Castro <alex@igalia.com>
112 * hildon/hildon-pannable-area.c,
113 (hildon_pannable_area_init),
114 (hildon_pannable_area_size_allocate),
115 (hildon_pannable_area_button_release_cb): More tuning of the
116 speed, adding a way to calculate the acceleration and fast-panning
117 based on the child size.
119 2009-09-10 Alberto Garcia <agarcia@igalia.com>
121 * hildon/hildon-touch-selector.c
122 (hildon_touch_selector_class_init):
123 Documentation updates
127 2009-09-10 Alberto Garcia <agarcia@igalia.com>
129 * hildon/hildon-touch-selector.c:
130 Documentation updates
132 Fixes: MB#5104 (HildonTouchSelector docs should say no
133 HildonPannableArea is necessary)
135 2009-09-08 Alejandro G. Castro <alex@igalia.com>
137 * hildon/hildon-pannable-area.c,
138 (hildon_pannable_area_timeout): Fixed problem with the timeout
139 function, we need to move before decelerating the first time or we
140 are loosing the first jump.
142 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
144 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
146 [2.2.0 Release Candidate 3]
148 * debian/changelog: updates
150 2009-09-07 Alejandro G. Castro <alex@igalia.com>
152 * hildon/hildon-pannable-area.c,
153 (hildon_pannable_area_class_init): Increased max speed.
155 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
157 [2.2.0 Release Candidate 2]
160 * debian/changelog: bump version, updates
162 2009-09-07 Alejandro G. Castro <alex@igalia.com>
164 * hildon/hildon-pannable-area.c,
165 (hildon_pannable_area_class_init),
166 (hildon_pannable_area_button_release_cb): More tuning for the
169 2009-09-07 Alejandro G. Castro <alex@igalia.com>
171 * hildon/hildon-pannable-area.c,
172 (hildon_pannable_area_class_init):
173 Change the default value of the scrollbar_fade_delay.
175 Fixes: NB#127018 (Panning indicator fades out too slowly)
177 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
179 [2.2.0 Release Candidate 1]
182 * configure.ac: Bump version
183 * debian/changelog: updates
185 2009-09-04 Alejandro G. Castro <alex@igalia.com>
187 * hildon/hildon-pannable-area.c,
188 (hildon_pannable_area_init),
189 (hildon_pannable_area_button_press_cb),
190 (hildon_pannable_area_button_release_cb): Added a new acceleration
191 system to help traversing big lists, tuned the stop threshold.
193 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
195 2009-09-04 Alberto Garcia <agarcia@igalia.com>
197 * hildon/hildon-window.h:
198 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
200 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
202 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
206 * configure.ac: bump version
208 * debian/changelog: updates
210 2009-09-04 Alberto Garcia <agarcia@igalia.com>
212 * hildon/hildon-entry.c
213 * hildon/hildon-text-view.c:
214 Documentation updates
216 2009-09-04 Alberto Garcia <agarcia@igalia.com>
218 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
219 Redraw menu when the number of items change.
221 Fixes: NB#131911 (Appmenu does not resize properly, when number of
224 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
226 * hildon/hildon-pannable-area.c:
227 (hildon_pannable_area_launch_fade_timeout),
228 (hildon_pannable_area_motion_event_scroll),
229 (hildon_pannable_area_check_move),
230 (hildon_pannable_area_button_release_cb),
231 (hildon_pannable_area_scroll_to):
233 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
234 area drawing operations, since this is the recommended for drawing
237 Fixes: NB#110894 (In event view containing very large description
238 field, application menu is displayed blank while panning)
239 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
242 2009-09-03 Alberto Garcia <agarcia@igalia.com>
244 * doc/hildon-sections.txt
245 * hildon/hildon-button.c
246 * hildon/hildon-edit-toolbar.c
247 * hildon/hildon-gtk.[ch]
248 * hildon/hildon-main.c
249 * hildon/hildon-program.c
250 * hildon/hildon-stackable-window.c:
251 Documentation updates
253 2009-08-28 Alberto Garcia <agarcia@igalia.com>
255 * hildon/hildon-app-menu.c
256 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
257 Close the menu if it receives a grab-notify signal.
259 Fixes: NB#134533 (UI freezes if we show a dialog with
260 gtk_dialog_run() while a menu is opened)
262 2009-08-27 Alejandro G. Castro <alex@igalia.com>
264 * hildon/hildon-pannable-area.c,
265 (hildon_pannable_area_class_init): Reverted tuning modifications:
266 "Pannign needs to be faster" and "Pannable kinetics in large lists
269 2009-08-26 Alberto Garcia <agarcia@igalia.com>
271 * hildon/hildon-sound.c (hildon_play_system_sound):
272 Set "module-stream-restore.id" to "x-maemo-system-sound" when
273 playing system sounds
275 Fixes: NB#133767 (Information and confirmation note sound should
276 follow system profile setting)
278 2009-08-26 Alejandro G. Castro <alex@igalia.com>
280 * hildon/hildon-pannable-area.c,
281 (hildon_pannable_area_class_init): Added more force and increased
282 the max speed threshold.
284 Fixes: NB#135344 (Pannign needs to be faster)
286 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
288 [Release 2.1.96, this time for real]
291 * debian/changelog: updates
293 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
295 * hildon/hildon-pannable-area.c
296 (hildon_pannable_area_get_topmost): change the computation of the
297 co-ordinates transformed when no one of the children is a topmost
299 Fixes: NB#133252 (Opening any feed item from RSS always opens the
300 first feed item in browser)
302 2009-08-26 Alejandro G. Castro <alex@igalia.com>
304 * hildon/hildon-pannable-area.c,
305 (hildon_pannable_area_remove_timeouts): Adding this new function
306 with the code that removes the timeouts of the widget.
307 (hildon_pannable_area_dispose),
308 (hildon_pannable_area_unrealize): Use the new remove function to
309 stop timeouts when unrealizing and disposing.
310 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
311 calculation to avoid negative values in some cases.
313 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
315 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
317 * examples/hildon-check-button-example.c: (button_toggled_cb):
318 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
319 (hildon_check_button_set_active), (hildon_check_button_new),
320 (hildon_check_button_clicked), (hildon_check_button_class_init):
321 * hildon/hildon-check-button.h:
322 * hildon/hildon-set-password-dialog.c: (create_contents),
323 (hildon_set_password_response_change), (hildon_checkbox_toggled):
325 Revert "Make HildonCheckButton derive from GtkToggleButton"
327 2009-08-21 Alberto Garcia <agarcia@igalia.com>
331 * configure.ac: bump version
333 * debian/changelog: updates
335 2009-08-21 Alberto Garcia <agarcia@igalia.com>
337 * hildon/hildon-check-button.h
338 * hildon/hildon-check-button.c
339 (hildon_check_button_clicked, hildon_check_button_class_init):
340 Make HildonCheckButton derive from GtkToggleButton
341 (hildon_check_button_toggled, hildon_check_button_set_active)
342 (hildon_check_button_get_active):
343 Deprecate unnecessary HildonCheckButton API and use the
344 one from GtkToggleButton instead.
346 * hildon/hildon-set-password-dialog.c (create_contents)
347 (hildon_set_password_response_change, hildon_checkbox_toggled)
348 * examples/hildon-check-button-example.c (button_toggled_cb):
349 Update to use the GtkToggleButton API
351 Fixes: MB#4739 (HildonCheckButton should inherit from
354 Fixes: NB#132661 (HildonCheckButton should inherit from
357 2009-08-20 Alberto Garcia <agarcia@igalia.com>
359 * hildon/hildon-pannable-area.c
360 (hildon_pannable_area_class_init):
361 Increase default value of HildonPannableArea:velocity_max to 2000
363 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
365 2009-08-18 Alberto Garcia <agarcia@igalia.com>
369 * configure.ac: bump version
371 * debian/changelog: updates
373 2009-08-11 Alejandro G. Castro <alex@igalia.com>
375 * hildon/hildon-pannable-area.c
376 (hildon_pannable_area_size_allocate): Checked the scrollbars
377 before the first try when defining the layout, avoids two
378 allocations in some situations.
380 Fixes: NB#131794 (pannable area produces unnecessary allocations
381 causing performance problems)
383 2009-08-11 Alejandro G. Castro <alex@igalia.com>
385 * hildon/hildon-pannable-area.c
386 (hildon_pannable_area_button_press_cb),
387 (hildon_pannable_area_motion_notify_cb),
388 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
389 the spurious ref added in the copy, fixes leak of window.
391 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
392 if it's realized without showing and then deleted)
394 2009-08-10 Alberto Garcia <agarcia@igalia.com>
398 * configure.ac: bump version
400 * debian/changelog: updates
402 2009-08-06 Alberto Garcia <agarcia@igalia.com>
404 * examples/hildon-hvolumebar-timer-example.c
406 * hildon/hildon-banner.c
407 (hildon_banner_timeout, hildon_banner_ensure_timeout)
408 * hildon/hildon-calendar.c
409 (calendar_timer, start_spinning)
410 * hildon/hildon-color-chooser.c
411 (inline_limited_expose)
412 * hildon/hildon-date-editor.c
413 (hildon_date_editor_entry_focus_in)
414 (hildon_date_editor_entry_validate)
415 (hildon_date_editor_entry_select_all)
416 * hildon/hildon-note.c
418 * hildon/hildon-number-editor.c
419 (hildon_number_editor_button_pressed)
420 (hildon_number_editor_start_timer, do_mouse_timeout),
421 (add_select_all_idle, hildon_number_editor_select_all)
422 * hildon/hildon-time-editor.c
423 (hildon_time_editor_entry_focus_in)
424 (highlight_callback, hildon_time_editor_validate)
425 (hildon_time_editor_entry_select_all)
426 * hildon/hildon-time-picker.c
427 (hildon_time_picker_arrow_press)
428 (hildon_time_picker_key_repeat_timeout)
429 * hildon/hildon-window.c
430 (hildon_window_key_press_event)
431 (hildon_window_escape_timeout):
432 Replace all calls to g_idle_add/g_timeout_add with their
433 gdk_threads counterparts.
435 Fixes: NB#126198 (gdk-threads API should be used to install idle
436 and timeout handlers)
438 2009-08-06 Alejandro G. Castro <alex@igalia.com>
440 * hildon/hildon-pannable-area.c,
441 (hildon_pannable_area_class_init): Increased the overshooting max
442 speed to get a faster effect.
443 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
444 deceleration of the overshooting
445 (hildon_pannable_area_button_release_cb): Calculate initial
446 overshooting speed when finger on the screen using the distance to
447 launch the effect faster.
449 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
450 lists with slow row renderers)
452 2009-08-05 Alberto Garcia <agarcia@igalia.com>
454 * doc/hildon-sections.txt: Add new functions
456 2009-08-05 Alberto Garcia <agarcia@igalia.com>
458 * hildon/hildon-text-view.[ch]
459 * hildon/hildon-entry.[ch]:
460 Add deprecation guards around deprecated functions.
462 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
464 * hildon/hildon-app-menu.c: Remove leftover function declaration.
466 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
468 Remove the grab from HildonAppMenu
470 * hildon/hildon-app-menu.c:
471 Now hildon-desktop places a blocker window behind the menu to handle
472 its closing, so the grab is no longer needed. This simplifies its
473 implementation and allows the system blanking to succeed.
475 Fixes: NB#130910 (Screen gets unlocked when menu is open)
477 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
481 * configure.ac: bump version
483 * debian/changelog: updates
484 * debian/control: raise debian dependency on GTK+
486 2009-08-04 Alberto Garcia <agarcia@igalia.com>
488 * hildon/hildon-text-view.c
489 * hildon/hildon-entry.c:
490 Remove all placeholder code from HildonEntry and HildonTextView
491 and use the API in GtkEntry and GtkTextView instead.
493 * examples/hildon-entry-example.c
494 * examples/hildon-text-view-example.c
495 * examples/hildon-wizard-dialog-example.c
496 * hildon/hildon-get-password-dialog.c
497 * hildon/hildon-login-dialog.c
498 * hildon/hildon-picker-dialog.c
499 * hildon/hildon-set-password-dialog.c
500 * hildon/hildon-touch-selector-entry.c:
501 Replace all deprecated calls to HildonEntry and HildonTextView
502 with their Gtk counterparts.
504 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
507 2009-08-03 Alejandro G. Castro <alex@igalia.com>
509 * hildon/hildon-pannable-area.c,
510 (hildon_pannable_area_check_move),
511 (hildon_pannable_area_button_release_cb),
512 (hildon_pannable_area_scroll_to): Reverted the priority change of
513 the timeout, in some situations, slow renderers, the click do not
514 make it to the mainloop on time.
516 Fixes NB#131013 (unable to stop panning file manager by tapping on
519 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
521 * configure.ac: bump version
523 * debian/changelog: updates
525 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
527 * hildon/hildon-touch-selector.[ch]
528 (hildon_touch_selector_center_on_index): New method that allows to center
529 on a item not selected
531 Fixes NB#130291 (New HildonTouchSelector API is required to center on
534 2009-07-29 Alberto Garcia <agarcia@igalia.com>
536 * hildon/hildon-text-view.c
537 (+set_logical_color, +hildon_text_view_style_set)
538 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
539 (hildon_text_view_init)
540 * hildon/hildon-entry.c
541 (+set_logical_color, +hildon_entry_style_set)
542 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
543 (hildon_entry_class_init, hildon_entry_init)
544 * hildon/hildon-button.c
545 (+set_logical_font, +set_logical_color)
546 (hildon_button_style_set, hildon_button_init)
547 (hildon_button_set_arrangement, hildon_button_set_style):
548 Remove all calls to hildon_helper_set_logical_font() and
549 hildon_helper_set_logical_color(), which are recursive, from
552 Fixes: NB#123409 (Showing dialog consumes significant amount of
555 2009-07-29 Alejandro G. Castro <alex@igalia.com>
557 * hildon/hildon-pannable-area.c,
558 (hildon_pannable_area_timeout): Added the process updates of the
559 scrollbars window in the pannable.
561 Fixes: NB#130043 (scrollindicator not smooth while panning)
563 2009-07-23 Alejandro G. Castro <alex@igalia.com>
565 * hildon/hildon-pannable-area.c,
566 (hildon_pannable_area_check_move),
567 (hildon_pannable_area_button_release_cb),
568 (hildon_pannable_area_scroll_to): Increased the priority of the
569 timeout this way it is going to be handled before the events.
571 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
575 * configure.ac: bump version
576 * debian/changelog: updates
578 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
580 * hildon/hildon-entry.c: (set_property): Do not allow to set
581 automatic height and use finger height instead, to prevent an to
582 have a smaller size than than its theme pixbuf.
584 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
586 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
588 * configure.ac: postrelease version bump.
589 * debian/changelog: post release version bump
591 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
596 * configure.ac: Bump version.
597 * debian/changelog: Updates.
599 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
601 * hildon/hildon-note.c: (label_size_request): Take the note
602 padding into account when setting the size request.
604 Fixes: NB#127896 (Information notes text truncated)
606 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
608 * configure.ac: postrelease version bump.
609 * debian/changelog: post release version bump
611 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
616 * configure.ac: Bump version.
617 * debian/changelog: Updates.
619 2009-07-16 Alejandro G. Castro <alex@igalia.com>
622 * hildon/hildon-text-view.c,
623 (hildon_text_view_button_press_event): Grabbed the focus in button
624 press, this way we are sure the widget has the focus in the
625 release event, required for HIM.
627 Fixes: NB#121445 (Virtual keyboard opening is not working in same
628 way for each text entry field)
630 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
632 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
633 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
634 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
635 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
636 (hildon_pannable_area_[gs]et_center_on_child_focus)
637 Redefined GtkContainer set-focus-child signal, in order to center
638 properly on a child when it receives the focus. Defined a new property
639 "center-on-child-focus" in order to activate this feature (deactivated
640 by default). Public get/set methods defined to manage the property.
642 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
644 2009-07-14 László Pere <lpere@blumsoft.eu>
646 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
647 the new size is applied.
649 Fixes: NB#124510 (The Application Menu is distorted when switched
650 between portrait and landscape mode)
651 Fixes: NB#115388 (Power key menu does not resize itself)
653 2009-07-01 Alberto Garcia <agarcia@igalia.com>
655 * hildon/hildon-banner.c (hildon_banner_map):
656 Set banner position after mapping.
658 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
660 * configure.ac: postrelease version bump.
661 * debian/changelog: post release version bump
663 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
668 * configure.ac: Bump version.
669 * debian/changelog: Updates.
671 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
673 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
676 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
678 * tests/check-hildon-banner.c
680 * tests/test_suites.h
681 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
682 were testing deprecated functions.
683 * examples/hildon-banner-example.c: typo on button3 type, that causes
684 a fail compiling with --with-examples but without --disable-deprecated
686 Missed commit in order to fix compilation using '--enable-fatal' and
687 '--disable-deprecated' (see previous commit)
689 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
691 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
692 functions with #ifndef HILDON_DISABLE_DEPRECATED
693 * examples/hildon-find-toolbar.c: Protect deprecated
694 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
695 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
696 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
697 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
699 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
700 to allow proper compilation of deprecated functions defined on the header
702 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
704 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
706 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
707 Cache the panning indicator color.,
708 (hildon_pannable_area_style_set): Query the color on style changes.
709 (hildon_pannable_draw_vscroll),
710 (hildon_pannable_draw_hscroll),
711 (hildon_pannable_area_expose_event): Use the cached panning indicator
712 color instead of looking it up on every expose and more.
714 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
716 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
717 (hildon_pannable_draw_hscroll),
718 (hildon_pannable_area_expose_event): Fix the panning indicator color,
719 so that it's "SecondaryTextColor", as desired.
721 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
723 * hildon/hildon-picker-dialog.c:
724 (selection_completed): take into account HILDON_UI_MODE_NORMAL
725 * hildon/hildon-touch-selector.c
726 (hildon_touch_selector_init): Initialize hildon-ui-mode
727 (hildon_touch_selector_row_activated): new callback for the
728 "row-activated" signal, in order to save the last activated
729 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
730 if the current hildon-ui-mode is coherent with the touch selector
731 (hildon_touch_selector_class_init)
732 (hildon_touch_selector_get_property)
733 (hildon_touch_selector_set_property)
734 Added "hildon-ui-mode" property
735 (disconnect_model_handlers): renamed to clean_column
736 (hildon_touch_selector_remove): use clean_column function
737 (_create_new_column): use the hildon-ui-mode to create the treeview, and
738 only select the first element on HILDON_UI_MODE_EDIT
739 (hildon_touch_selector_column_init): Initialize last_activate
740 (hildon_touch_selector_append_column): check that the touch selector
741 is coherent with the current hildon-ui-mode
742 (hildon_touch_selector_get_hildon_ui_mode)
743 (hildon_touch_selector_set_hildon_ui_mode)
744 Added a getter/setter for the hildon-ui-mode property
745 (hildon_touch_selector_get_last_activated_row): Added this method in
746 order to get the last activated row.
747 * examples/hildon-touch-selector-normal-mode-example.c
748 New example, that shows how to use the HildonTouchSelector in
749 HILDON_UI_MODE_NORMAL
751 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
752 Kristian Rietveld <kris@lanedo.com> advices
754 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
756 * hildon/hildon-time-selector.c: (update_format_policy): Do
757 not call update_format_dependant_columns() if not necessary.
758 (update_format_dependant_columns): Remove unnecessary check for
759 the number of columns.
761 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
763 * hildon/hildon-note.c (+hildon_note_constructor),
764 (hildon_note_class_init), (+hildon_note_set_padding),
765 (hildon_note_rebuild): Install a constructor where to set the
766 padding properties in the note, so that it actually works fine.
767 Use hildon_note_set_padding() for this, and also to set it during
770 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
772 * configure.ac: Bump GTK+ requirement to 2.14.3.
773 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
774 when using maemo-gtk to define proper margins for the notes.
776 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
777 with the dialog edge)
779 2009-06-24 Alberto Garcia <agarcia@igalia.com>
781 * hildon/hildon-banner.c
782 (hildon_banner_class_init):
784 (+hildon_banner_size_request):
785 Request always the full width of the screen.
786 (hildon_banner_realize)
787 (-hildon_banner_check_position, hildon_banner_map):
788 hildon_banner_check_position() is not needed in Hildon 2.2.
789 (-hildon_banner_reset_wrap_state)
790 (hildon_banner_constructor, hildon_banner_init):
791 Remove unnecessary calls to hildon_banner_reset_wrap_state()
792 (+banner_do_set_text)
793 (force_to_wrap_truncated):
794 Remove has_been_wrapped and has_been_truncated attributes.
795 (+reshow_banner, hildon_banner_real_show_information)
796 (hildon_banner_show_information_with_markup)
797 (hildon_banner_show_animation, hildon_banner_show_progress)
798 (hildon_banner_set_text, hildon_banner_set_markup):
799 Refactor code. Shrink banner vertically to use the minimum space
800 necessary everytime the text of the label is updated.
801 (screen_size_changed):
802 Call force_to_wrap_truncated() when the size of the screen
805 Fixes: NB#120500 (only device memory connect mmc in use info
806 banner is left aligned)
808 Fixes: NB#120613 (Size of HildonBanner varies depending on
809 previously opened banners)
811 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
813 * hildon/hildon-color-chooser.c
814 (hildon_color_chooser_pointer_motion): Take the widget allocation
817 Fixes: NB#124385 (Unable to select exact point in color mixing box
818 in color palette dialog)
820 2009-06-23 Alejandro G. Castro <alex@igalia.com>
822 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
823 (hildon_pannable_area_dispose)
824 (hildon_pannable_area_button_press_cb)
825 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
826 (hildon_pannable_area_button_release_cb)
827 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
828 New 'panning-started' and 'panning-finished' signals.
830 Fixes: NB#121732 (New feature request: Signal to pannable area
831 that informs when panning is stopped.)
833 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
835 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
836 instead of hardcoded colon.
838 Fixes: NB#124090 (New calendar wizard title is not using
839 ecdg_ti_caption_separator)
841 2009-06-22 David King <davidk@openismus.com>
843 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
844 constants and functions, as well as correct many typos throughout the
847 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
850 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
852 * configure.ac: postrelease version bump.
853 * debian/changelog: post release version bump
855 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
860 * configure.ac: Bump version.
861 * debian/changelog: Updates.
863 2009-06-18 Alberto Garcia <agarcia@igalia.com>
865 * hildon/hildon-window-stack.c
866 (hildon_window_stack_pop_and_push_list):
867 Prevent windows from having the same stack index
869 2009-06-18 Alberto Garcia <agarcia@igalia.com>
871 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
872 Use the index of the previous window rather than the stack length
873 to calculate the new index.
877 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
879 * hildon/hildon-date-selector.c
880 (hildon_date_selector_select_current_date)
881 (hildon_date_selector_get_date)
882 (hildon_date_selector_select_day):
883 Update the documentation: uses always the range (1-31), as it is obvious
884 that the final one will depend on the month and the year, but globally
885 the range is this, in a similar GtkCalendar approach
886 (hildon_date_selector_get_date):
887 Update the documentation: add NULL as a valid value for the day, month
890 Fix some details, after talk with David King on bug MB#4698
892 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
894 * hildon/hildon-touch-selector-entry.c
895 * hildon/hildon-touch-selector.c
896 Update the documentation of the "text-column" property
898 2009-06-18 David King <davidk@openismus.com>
900 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
901 several typos and errors throughout the documentation.
903 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
906 2009-06-18 Alberto Garcia <agarcia@igalia.com>
908 * hildon/hildon-note.c (hildon_note_realize):
909 Make HildonNote support portrait mode.
911 Fixes: NB#123448 (HildonNote is not portrait-friendly)
913 2009-06-17 Alberto Garcia <agarcia@igalia.com>
915 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
916 Document this function
918 2009-06-17 David King <davidk@openismus.com>
920 * hildon/hildon-date-selector.c
921 (hildon_date_selector_select_current_date)
922 (hildon_date_selector_get_date): Update documentation regarding days,
923 as the day of the month is dependent on both the month and the year.
924 (hildon_date_selector_get_date): Fix documentation of output arguments.
926 Fixes: MB#4698 (DateSelector documentation has bad output argument
927 description, and the day depends on both the month and the year)
929 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
931 * hildon/hildon-caption.c: Other documentation fixes to
934 2009-06-17 David King <davidk@openismus.com>
936 * hildon/hildon-caption.c: Minor documentation updates for
937 HildonCaption. Fixes MB#4697.
939 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
941 * doc/hildon-docs.sgml: Add hildon-version section.
942 * doc/hildon-sections.txt:
943 * hildon/hildon-version.h.in: Document versioning macros and
946 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
948 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
949 from HildonPickerDialog section.
951 2009-06-16 Alberto Garcia <agarcia@igalia.com>
953 * hildon/hildon-banner.c (hildon_banner_bind_style)
954 (screen_size_changed, hildon_banner_init)
955 (hildon_banner_real_show_information)
956 (hildon_banner_show_information_with_markup)
957 (hildon_banner_show_animation, hildon_banner_show_progress):
958 Set a different widget name to banners in portrait mode, for them
959 to be themed correctly.
961 2009-06-16 Alberto Garcia <agarcia@igalia.com>
963 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
964 Set a different widget name to notes in portrait mode, for them to
967 Partially fixes: NB#118401 (HildonNote causes unnecessary
970 2009-06-16 Alberto Garcia <agarcia@igalia.com>
972 * hildon/hildon-note.c (hildon_note_class_init)
973 (+hildon_note_size_request, screen_size_changed):
974 Always request the full width of the screen.
976 Fixes: NB#118375 (unnecessary rescaling of images)
978 2009-06-16 Alejandro G. Castro <alex@igalia.com>
980 * hildon/hildon-pannable-area.c,
981 (hildon_pannable_area_init),
982 (hildon_pannable_area_realize): Replaced old code adding flags in
983 the object init, now we add it with the other flags in the realize
986 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
988 * hildon/hildon-note.c: (hildon_note_class_init): Several
989 documentation improvements to the HildonNote widget.
991 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
993 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
995 Fixes: MB#4556 (HildonNoteType is undocumented)
997 2009-06-15 Alberto Garcia <agarcia@igalia.com>
999 * hildon/hildon-picker-button.c:
1000 Explain how HildonPickerButton sets the title of its dialog
1002 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1003 the title of its dialog)
1005 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1007 * hildon/hildon-check-button.c:
1008 Documentation updates
1010 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1013 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1015 * hildon/Makefile.am
1016 * hildon/hildon-edit-toolbar-private.h
1017 * hildon/hildon-edit-toolbar.c
1018 (+hildon_edit_toolbar_set_progress_indicator)
1019 (hildon_edit_toolbar_init): Add progress indicator to the
1022 * hildon/hildon-gtk.c
1023 (hildon_gtk_window_set_progress_indicator):
1024 If the window contains a HildonEditToolbar, enable the progress
1025 indicator there too.
1027 * hildon/hildon-private.h
1028 * hildon/hildon-private.c
1029 (+hildon_private_create_animation)
1030 * hildon/hildon-banner.c
1031 (-hildon_banner_create_animation):
1032 Moved to hildon-private.c
1034 Fixes: NB#102373 (Progress indicator also for the Edit mode
1037 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1039 * hildon/hildon-app-menu-private.h
1040 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1041 (hildon_app_menu_add_filter, +menu_item_button_event)
1042 (hildon_app_menu_button_release, hildon_app_menu_init):
1043 Make sure that buttons receive 'button-release-event' in spite of
1044 the grab held by HildonAppMenu
1046 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1048 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1050 * hildon/hildon-app-menu.c
1051 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1052 New style property to set the size of the group of filter buttons.
1054 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1056 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1061 * configure.ac: Bump version.
1062 * debian/changelog: Updates.
1064 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1066 * hildon/hildon-main.c: Minor documentation fixes.
1068 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1070 * doc/hildon-sections.txt:
1071 * hildon/hildon-defines.h: Document the defines, organize them,
1072 and mark deprecations as such.
1074 Fixes: MB#4463 (Hildon size #defines are undocumented)
1076 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1078 * hildon/hildon-animation-actor.c:
1079 * hildon/hildon-app-menu.c:
1080 * hildon/hildon-button.c:
1081 * hildon/hildon-date-editor.c:
1082 * hildon/hildon-dialog.c:
1083 * hildon/hildon-edit-toolbar.c:
1084 * hildon/hildon-entry.c:
1085 * hildon/hildon-program.c:
1086 * hildon/hildon-remote-texture.c:
1087 * hildon/hildon-stackable-window.c:
1088 * hildon/hildon-text-view.c:
1089 * hildon/hildon-touch-selector.c:
1090 * hildon/hildon-window-stack.c:
1091 * hildon/hildon-window.c:
1093 Remove redundant "represents" wording from most of the documentation.
1095 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1097 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1101 * hildon/Makefile.am
1102 * hildon/hildon-banner-private.h
1103 * hildon/hildon-banner.c:
1104 Move HildonBannerPrivate to hildon-banner.c and remove
1105 hildon-banner-private.h
1106 Use a bit field to store private booleans.
1108 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1110 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1111 Don't install a new idle function if there's already one
1116 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1118 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1119 (+legacy_menu_realized, +legacy_menu_unmapped)
1120 (+set_legacy_menu_type):
1121 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1122 they can be identified by the window manager.
1124 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1125 displayed in wrong location)
1127 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1130 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1132 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1134 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1135 use gtk-doc support)
1137 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1139 * hildon/hildon-code-dialog.c
1140 * hildon/hildon-date-editor.c
1141 * hildon/hildon-number-editor.c
1142 * hildon/hildon-seekbar.c
1143 * hildon/hildon-stackable-window.c
1144 * hildon/hildon-window.c:
1145 Misc documentation updates
1147 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1149 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1150 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1152 Fixes: NB#117931 (Theming issues in accounts dialogs)
1154 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1156 * hildon/hildon-pannable-area.c,
1157 (hildon_pannable_area_button_release_cb): Changed the coordinates
1158 of the original release in case we want to discard the release,
1159 some widgets in Fremantle do not handle the leave-notify.
1161 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1163 * hildon/hildon-pannable-area.c,
1164 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1165 the release using the last refactored functions and avoiding the
1166 movement if an element was selected.
1168 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1170 * hildon/hildon-pannable-area.c,
1171 (hildon_pannable_area_check_move),
1172 (hildon_pannable_area_handle_move),
1173 (hildon_pannable_area_motion_notify_cb): Refactored the
1174 motion_notify method using a couple of new functions.
1176 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1178 * hildon/hildon-date-selector.c:
1179 (hildon_date_selector_construct_ui):
1180 * hildon/hildon-time-selector.c:
1181 (hildon_time_selector_constructor):
1182 * hildon/hildon-touch-selector-entry.c:
1183 (hildon_touch_selector_entry_set_text_column),
1184 (hildon_touch_selector_entry_get_text_column):
1185 * hildon/hildon-touch-selector.c: (_default_print_func),
1186 (hildon_touch_selector_new_text): Use
1187 hildon_touch_selector_set/get_text_column() instead of
1188 setting/getting the "text-column" property.
1190 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1192 * doc/hildon-sections.txt: Add the new public methods below.
1194 * examples/hildon-picker-button-multicolumn-example.c:
1195 (create_touch_selector):
1196 * examples/hildon-touch-selector-example.c: (create_selector):
1197 * examples/hildon-touch-selector-multi-cells-example.c:
1199 Use hildon_touch_selector_column_set_text_column()
1201 * hildon/hildon-touch-selector-column.h:
1202 * hildon/hildon-touch-selector.c:
1203 (hildon_touch_selector_column_set_text_column),
1204 (hildon_touch_selector_column_get_text_column):
1205 Make hildon_touch_selector_column_set/get_column() public, use
1206 them in the inline example, document them, and reference to them
1209 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1211 * hildon/hildon-time-selector.c: Fix the docs for
1212 hildon_time_selector_new_step().
1214 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1216 * hildon/hildon-touch-selector.c: Improve the documentation for
1217 hildon_touch_selector_append_column().
1219 Fixes MB#4641 (Documentation:
1220 hildon_touch_selector_append_column() ref-counting)
1222 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1224 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1225 Comment out test 5, since the hildon_controlbar_set_range() range
1226 check is broken and fixing it would have side effects. Also,
1227 this finally fixes make distcheck.
1229 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1231 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1233 * tests/TEST-CASES.txt: Remove other bogus test.
1234 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1235 Remove bogus test that was setting/retrieving a valid value.
1237 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1239 * tests/TEST-CASES.txt: Remove bogus tests.
1240 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1241 Remove three bogus tests that were actually setting valid colors.
1243 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1245 * configure.ac: post release version bump
1246 * debian/changelog: post release version bump
1248 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1253 * configure.ac: Bump version.
1254 * debian/changelog: Updates.
1256 2009-06-08 Christian Dywan <christian@lanedo.com>
1260 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1261 Correct errors in hildon_format_file-size_for_display and use
1262 translations from the hildon-fm package instead of osso-filemanager.
1264 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1266 * hildon/hildon-pannable-area.c,
1267 (hildon_pannable_area_init): Initialized new values to handle the
1268 adjustment position.
1269 (hildon_pannable_area_adjust_value_changed): Check if the values
1270 changed before even call the redraw function.
1271 (hildon_pannable_area_size_allocate),
1272 (hildon_pannable_axis_scroll),
1273 (hildon_pannable_area_scroll),
1274 (hildon_pannable_area_jump_to): Improved the diagonal movement
1277 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1280 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1282 * examples/hildon-banner-example.c:
1283 Several style updates
1284 (on_animation_clicked, on_animation_idle)
1285 (on_progress_clicked, on_progress_idle):
1286 Add additional reference for the cases when the parent window is
1289 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1291 * doc/hildon-sections.txt
1292 * hildon/hildon-pannable-area.c
1293 * hildon/hildon-banner.h
1294 * hildon/hildon-banner.c: Documentation updates.
1296 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1299 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1301 * hildon/hildon-calendar-popup.h:
1302 * hildon/hildon-caption.h:
1303 * hildon/hildon-code-dialog.h:
1304 * hildon/hildon-controlbar.h:
1305 * hildon/hildon-date-editor.h:
1306 * hildon/hildon-dialog.h:
1307 * hildon/hildon-get-password-dialog.h:
1308 * hildon/hildon-hvolumebar.h:
1309 * hildon/hildon-login-dialog.h:
1310 * hildon/hildon-note.h:
1311 * hildon/hildon-number-editor.h:
1312 * hildon/hildon-range-editor.h:
1313 * hildon/hildon-seekbar.h:
1314 * hildon/hildon-set-password-dialog.h:
1315 * hildon/hildon-sort-dialog.h:
1316 * hildon/hildon-time-editor.h:
1317 * hildon/hildon-time-picker.h:
1318 * hildon/hildon-volumebar-range.h:
1319 * hildon/hildon-volumebar.h:
1320 * hildon/hildon-vvolumebar.h:
1321 * hildon/hildon-weekday-picker.h:
1322 * hildon/hildon-window.h:
1323 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1324 macros with the current replacements
1326 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1328 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1330 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1331 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1332 itself, to make it fit better with Fremantle style.
1334 Fixes: NB#109878 (height and width of focus on color icon is not
1335 consistent with other item in the application tool bar)
1337 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1339 * hildon/hildon-touch-selector.c:
1340 (hildon_touch_selector_optimal_size_request): use the current requisition
1341 as the base, in order to include any possible extra widget, like the
1342 hildon entry on HildonTouchSelectorEntry
1344 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1346 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1348 * configure.ac: post release version bump
1349 * debian/changelog: post release version bump
1351 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1356 * configure.ac: Bump version.
1357 * debian/changelog: Updates.
1359 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1361 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1363 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1364 to ensure the banner contents are centered, instead of relying on
1365 the expand and fill properties in GtkHBox.
1366 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1368 Fixes: NB#108265 (Animation banner not properly centered)
1370 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1372 * hildon/hildon-pannable-area.c
1373 (hildon_pannable_area_initial_effect): Remove the initial_effect
1374 management, check initial_hint
1375 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1376 set initial_effect to FALSE
1377 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1378 by launching the fade_timeout if the scrollbars state has changed and are
1380 * examples/hildon-pannable-area-initial-hint-example.c
1381 Modified to allow to remove rows too. Add and remove rows one by one.
1383 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1385 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1386 Don't close the menu if there's an animation actor below it.
1388 Fixes: NB#117927 (Application menu not usable with animation
1391 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1393 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1394 "focus-on-click" from the dialog button, to avoid stealing the
1395 focus from the entry.
1397 Fixes: NB#118903 (Account setup wizard: Text in Search field
1398 should be focused when "Region" touch list picker is reopened
1401 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1403 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1404 (prepare_action_area): Completely hide the dialog separator.
1406 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1408 * hildon/hildon-touch-selector-entry.c
1409 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1410 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1411 now that the entry is exposed.
1413 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1415 * hildon/hildon-touch-selector-entry.c
1416 (hildon_touch_selector_entry_init): Change the entry's size
1417 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1419 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1421 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1422 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1423 avoid unnecessary scaling.
1425 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1427 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1428 Create grab transfer window before calling parent's map function.
1430 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1431 "crushed" button(s) in the top left corner)
1433 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1435 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1436 Check if the window is already realized when pushing it.
1438 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1440 * configure.ac: post release version bump
1441 * debian/changelog: post release version bump
1443 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1448 * configure.ac: Bump version.
1449 * debian/changelog: Updates.
1451 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1453 * hildon/hildon-app-menu.c: Doc updates.
1455 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1457 * hildon/hildon-banner.c: Remove leftover macro.
1459 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1461 * hildon/hildon-pannable-area.c,
1462 (hildon_pannable_area_scroll_indicator_fade),
1463 (hildon_pannable_area_button_release_cb): Reviewed vmin
1464 conditions, it could cause problems in the fadeout procedure.
1466 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1468 * hildon/hildon-pannable-area.c
1469 (hildon_pannable_area_button_release_cb): Added a threshold to
1470 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1472 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1474 * hildon/hildon-pannable-area.c,
1475 (hildon_pannable_area_set_property): Added code to sync the gtk
1476 dnd threshold with the panning threshold.
1478 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1480 * hildon/hildon-pannable-area.c,
1481 (hildon_pannable_area_class_init): Changed some of the default
1482 values, now it should be less responsive and more accurate.
1484 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1486 * hildon/hildon-pannable-area.c,
1487 (hildon_pannable_area_init),
1488 (hildon_pannable_area_scroll_indicator_fade),
1489 (hildon_pannable_area_button_press_cb),
1490 (hildon_pannable_axis_scroll),
1491 (hildon_pannable_area_timeout),
1492 (hildon_pannable_area_motion_notify_cb),
1493 (hildon_pannable_area_button_release_cb): Changed the name of the
1494 clicked attribute to button_pressed, it is more clear about its use.
1496 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1498 * src/hildon-pannable-area.c
1499 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1501 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1502 vertical scrollbar visibility, and use the data on private section instead,
1503 remove the initial_hint check
1504 (hildon_pannable_area_expose_event): add the initial_hint check here
1506 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1508 * src/hildon-pannable-area.c
1509 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1510 if the fadeout effect was used
1511 (hildon_pannable_area_expose_event): check if it is required to
1512 manage the initial effect on the begining of the function. Previously
1513 it was made at the end, but this doesn't ensure that the scrollbars
1514 will be painted on the first show. Do not set to FALSE initial_effect,
1515 to ensure that the initial hint is showed the first time the pannable
1517 * examples/Makefile.am
1518 * examples/hildon-pannable-area-initial-hint-example.c:
1519 New example, to show that the initial-hint is showed when the widget
1522 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1523 initially if the application can be scrolled)
1525 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1527 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1528 Resize table before adding new items to make sure that
1529 gtk_table_resize() is called just once.
1531 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1533 * hildon/hildon-app-menu-private.h
1534 * hildon/hildon-app-menu.c (item_visibility_changed)
1535 (filter_visibility_changed, hildon_app_menu_show_all)
1536 (hildon_app_menu_hide_all, hildon_app_menu_init):
1537 Rearrange items just once when gtk_widget_show_all()/hide_all()
1540 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1542 * hildon/hildon-app-menu.c
1543 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1544 Don't call gtk_widget_show() on added items.
1546 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1547 automatically when they're added)
1549 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1551 * hildon/hildon-banner.c
1552 (hildon_banner_realize, +hildon_banner_unrealize)
1553 (+screen_size_changed, hildon_banner_class_init):
1554 Redisplay the banner if the screen is rotated.
1556 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1557 on transition from landscape to portrait)
1559 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1561 * hildon/hildon-banner.[ch]:
1562 (hildon_banner_show_information_override_dnd): remove icon_name from the
1563 method definition as it is ignored.
1564 * examples/hildon-banner-dnd-example.c: updated with the change on
1567 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1569 * hildon/hildon-banner-private.h: new require_override_dnd and
1570 overrides_dnd variables
1571 * hildon/hildon-banner.h:
1572 (hildon_banner_show_information_override_dnd): new method, that shows
1573 the information but sets the override flag, in order to show important
1575 * hildon/hildon-banner.c
1576 (hildon_banner_show_information_override_dnd): new method
1577 (hildon_banner_set_override_flag): new utility function
1578 (hildon_banner_real_show_information): new utility function, in order to
1579 generalize the current hildon_banner_show_information_override_dnd and
1580 hildon_banner_show_information_override_dnd
1581 * examples/Makefile.am
1582 * examples/hildon-banner-dnd-example.c: New example that show how to
1583 use the new hildon_banner_show_information_override_dnd
1585 Fixes: NB#114874 (There is no possibility to show hildon banners with
1588 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1590 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1591 behind hildon_pannable_calculate_vel_factor().
1593 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1595 * hildon/hildon-pannable-area.c
1596 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1597 deceleration factors.
1599 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1601 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1602 Reduce the default value for 'scroll_time' to 1 second, since the
1603 current initial scrolling takes too much time.
1605 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1607 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1608 calculate velocity factor during initialization, since the properties
1611 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1613 * hildon/hildon-pannable-area.c
1614 (hildon_pannable_area_set_property): Calculate the velocity factor
1615 after setting the deceleration property and not after.
1617 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1619 * hildon/hildon-entry.c
1620 (hildon_entry_class_init, +set_property, hildon_entry_new)
1621 * hildon/hildon-check-button.c
1622 (hildon_check_button_class_init)
1623 (+set_property, hildon_check_button_new):
1624 Make the theme size a property.
1626 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1627 others) do too much in the _new function)
1629 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1631 * configure.ac: post release version bump
1632 * debian/changelog: post release version bump
1634 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1639 * configure.ac: Bump version.
1640 * debian/changelog: Updates.
1642 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1644 * hildon/hildon-gtk.h
1645 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1646 New API function to take a screenshot of a window
1648 Fixes: NB#106374 (Need API to take a loading screenshot)
1650 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1652 * hildon/hildon-time-selector.c
1653 (update_format_policy): prevent to use hours and minutes unitialized
1655 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1657 * hildon/hildon-window.c (hildon_window_size_request):
1658 Always request the full size of the screen (minus the title bar if
1659 not in fullscreen mode).
1661 Fixes: NB#107486 (HildonWindow should size itself properly)
1663 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1665 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1666 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1667 (on_show_cb), (sound_handling): Disconnect the idle handler for
1668 the sound when the note is finalized to avoid possible crashes.
1670 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1673 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1675 * src/hildon-animation-actor.c,
1676 * src/hildon-remote-texture.c:
1677 Added proper object cleanup to remove signal handler and object
1678 references as HildonAnimationActor and HildonRemoteTexture
1679 objects get destroyed.
1681 Fixes: NB#116682 (Destroying parented animation actors when
1682 parent in unmapped leads to crash)
1684 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1686 Based on a patch by Christian Dywan (christian@imendio.com)
1688 * doc/hildon-sections.txt:
1689 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1690 * hildon/hildon-helper.h: New file size formatting method.
1692 * debian/control: Depend on osso-filemanager l10n package for
1693 proper localization strings.
1695 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1697 * tests/Makefile.am: Include top_srcdir to make possible to build
1698 tests in a different builddir.
1699 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1700 on a different builddir.
1702 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1704 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1705 (hildon_touch_selector_remove): Disconnect model's signal handler
1708 Fixes: NB#116289 (Hildon home crashes while adding task
1711 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1713 * hildon/hildon-button.c
1714 (hildon_button_set_title, hildon_button_set_value):
1715 Hide labels containing an empty string.
1717 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1719 * configure.ac: post release version bump
1720 * debian/changelog: post release version bump
1722 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1727 * configure.ac: Bump version.
1728 * debian/changelog: Updates.
1730 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1732 * hildon/hildon-note-private.h: Removed sound_signal_handler
1733 * hildon/hildon-note.c
1734 (on_show_cb): new callback on note "show" event, this simply adds
1735 a idle, with the function sound_handling
1736 (sound_handling): removed the sound_signal_handler management
1737 (hildon_note_init): connect note "show" event to on_show_cb
1738 (hildon_note_realize): remove the connection to "expose-event"
1740 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1741 device?' confirmation note)
1743 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1745 * hildon/hildon-note.c
1746 (hildon_note_new_information_with_icon_name)
1747 (hildon_note_new_confirmation_with_icon_name):
1748 Terminate the list of parameters in g_object_set() calls
1750 Fixes: NB#115166 (Formatting memory card is not taking place)
1752 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1754 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1755 "dialog-information" role for the sound being played.
1757 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1759 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1760 Don't make the menu a modal window, it causes strange interactions
1761 with the pointer grab and it's not really needed.
1763 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1765 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1767 * hildon/hildon-touch-selector.[ch]
1768 (hildon_touch_selector_optimal_size_request): function added to get a
1769 optimal size request from the touch selector, when you want a dialog to
1770 show as much of the selector
1771 * hildon/hildon-picker-dialog.c:
1772 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1773 (hildon_app_menu_class_init):
1774 New "max-height-landscape" and "max-height-portrait" style properties
1775 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1776 (hildon_picker_dialog_get_max_height): returns the maximum height using
1777 the style properties defined and checking the current portrait/landscape
1779 (_hildon_picker_dialog_set_selector): removed the set_size_request
1781 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1783 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1785 * hildon/hildon-bread-crumb-trail.c:
1786 * hildon/hildon-bread-crumb.c:
1787 * hildon/hildon-seekbar.c:
1788 Add reference to replacements for these deprecated widgets.
1790 Fixes: MB#4461 (Documentation: All deprecations should mention
1793 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1795 * examples/hildon-remote-texture-example.c
1797 Change the include to the hildon-remote-texture in order to compile
1798 properly the examples on the installed libhildon1-examples package
1800 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1802 * tests/Makefile.am: Add check for HildonPickerButton.
1803 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1804 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1805 checks for the HildonPickerButton.
1806 * tests/check_test.c (configure_tests): Add the test suite.
1807 * tests/test_suites.h: likewise.
1809 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1811 * hildon/hildon-touch-selector.c
1812 (+on_row_changed): Emit HildonTouchSelector:changed when the
1813 contents of a selected row change.
1814 (_create_new_column), (_hildon_touch_selector_set_model): connect
1815 to GtkTreeModel:row-changed on a newly set model.
1817 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1819 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1821 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1823 * hildon/hildon-banner.c (hildon_banner_destroy)
1824 (hildon_banner_show_progress, hildon_banner_set_fraction):
1825 Remove the progress bar from HildonBanner and use a progress
1828 Fixes: NB#113761 (Update progress banner to use progress
1831 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1833 * hildon/hildon-banner.c:
1834 Calculate size of the banner label using the actual screen width
1835 rather than using a fixed value.
1837 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1840 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1842 * hildon/hildon-pannable-area.c,
1843 (hildon_pannable_area_class_init): Fixed signals documentation
1846 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1848 * configure.ac: post release version bump
1849 * debian/changelog: post release version bump
1851 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1856 * configure.ac: Bump version.
1857 * debian/changelog: Updates.
1859 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1861 * hildon/hildon-edit-toolbar.c
1862 (hildon_edit_toolbar_init):
1863 Don't let buttons in HildonEditToolbar receive focus.
1865 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1866 typing on an HW arrows key)
1868 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1870 * doc/Makefile.am: Fix build.
1872 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1874 * doc/Makefile.am: Do not redefine content_files.
1876 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1884 Renamed src/ to hildon/
1889 Include <hildon/hildon.h> directly in all examples.
1891 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1893 * src/hildon-sort-dialog.c
1894 (hildon_sort_dialog_add_sort_key_with_sorting)
1898 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1900 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1901 make distcheck passes.
1903 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1905 * Makefile.am: Enable gtk-doc during distcheck.
1907 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1909 * Makefile.am: Do not distribute the debian/ directory.
1911 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1913 * doc/Makefile.am: Add the extra SGML files to content_files,
1914 so that they are distributed properly.
1916 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1918 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1921 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1924 (hildon_note_new_information_with_icon_name): Set the "icon" property
1925 to preserve soundness.
1927 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-font-selection-dialog.c
1930 (hildon_font_selection_dialog_set_property): Fail when the "family"
1931 property is set to NULL.
1933 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1938 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1940 * src/hildon-time-selector.h:
1941 Added HildonTimeSelectorFormatPolicy
1942 * src/hildon-time-selector.c:
1943 Added PROP_TIME_FORMAT_POLICY
1944 (_check_ampm_format): renamed to check_automatic_ampm_format
1945 (update_format_policy), (update_format_dependant_columns): new functions
1946 (hildon_time_selector_class_init)
1947 (hildon_time_selector_contructor)
1948 (hildon_time_selector_init)
1949 (hildon_time_selector_get_property)
1950 (hildon_time_selector_set_property)
1951 (hildon_time_selector_get_time)
1952 (hildon_time_selector_set_time)
1953 * src/hildon-touch-selector.h: new file
1954 * src/hildon-touch-selector.c
1955 (hildon_touch_selector_emit_changed)
1956 (hildon_touch_selector_block_changed)
1957 (hildon_touch_selector_unblock_changed)
1958 Added functions to allow to block the emission of the "changed" signal
1959 * src/hildon-picker-dialog.c
1960 (hildon_picker_dialog_show): call the parent show before the custom code
1961 * examples/hildon-time-button-example.c
1962 Modified, so now you can configure the time format using the new property
1964 Added a new property "time-format-policy" that allow to choose the time
1965 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1966 case it uses gconf in order to check if the time selector must use
1969 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1972 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-note.c (hildon_note_init):
1975 Label in HildonNote must be left aligned, not centered. This
1976 reverts the last commit in HildonNote.
1978 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1979 is connectivity dialog)
1981 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1986 * doc/hildon-sections.txt:
1987 Added hildon_gtk_window_set_do_not_disturb()
1989 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1991 * src/hildon-note.c (hildon_note_init): Center label.
1993 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1996 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2001 * configure.ac: Bump version.
2002 * debian/changelog: Updates.
2004 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2006 * src/hildon-note-private.h: Add button-width to the private data.
2007 * src/hildon-note.c (+resize_button),
2008 (+hildon_note_orientation_update): methods to repack widgets on orientation
2010 (screen_size_changed): Call above method for confirmation notes.
2011 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2012 (hildon_note_rebuild): Store the original width request from buttons.
2014 Fixes: NB#109635 (Confirmation notes do not support portrait)
2016 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2018 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2019 when it is a progress note.
2021 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2023 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2024 in the note, since there are no horizontally arranged contents.
2026 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2028 * src/hildon-gtk.c (+set_flag): new generic method to
2029 set/delay a flag setting in a window.
2030 (hildon_gtk_window_set_progress_indicator):
2031 (hildon_gtk_window_set_do_not_disturb),
2032 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2033 avoid code redundance.
2035 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2037 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2039 * src/hildon-gtk.c (set_clear_window_flag),
2040 (do_set_progress_indicator), (do_set_do_not_disturb),
2041 (do_set_portrait_flags),
2042 (hildon_gtk_window_set_progress_indicator),
2043 (hildon_gtk_window_set_do_not_disturb),
2044 (hildon_gtk_window_set_portrait_flags):
2045 Allow setting dnd-flag, progress indicator, and portrait flags
2046 when the window is not realized.
2048 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2050 * src/hildon-pannable-area.c,
2051 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2052 the size request policy function and defines.
2054 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2056 * doc/hildon-sections.txt: Add the new API.
2057 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2058 method to set the portrait flags.
2059 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2061 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2063 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2065 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2066 to allow using this method with other flags.
2067 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2068 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2070 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-touch-selector.c
2073 (hildon_touch_selector_append_text_column):
2074 Make the cell renderer use the smallest width possible.
2076 Fixes: NB#108470 (Selected items in multiple selection are either
2077 having a tick that is cut or not visible at all.)
2079 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-touch-selector.c
2082 (hildon_touch_selector_append_text_column):
2085 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2088 Use g_strdup_printf() instead of a fixed size buffer.
2090 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2092 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2093 Close banners when a HildonAppMenu is popped up.
2095 Fixes: NB#111027 (Title menu closed immediately if activated when
2096 "Invalid e-mail address" banner is shown)
2098 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2103 * configure.ac: Bump version.
2104 * debian/changelog: Updates.
2106 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2108 * src/hildon-banner.c (hildon_banner_realize):
2109 Mark HildonBanner as supporting portrait mode.
2110 Use GDK to set window properties insetad of direct Xlib calls.
2112 Fixes: NB#111830 (HildonBanner should be marked as supporting
2115 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-note.c (hildon_note_rebuild):
2118 Hide action area in information notes. Prevents text from being
2119 slightly aligned to the left.
2121 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2124 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2126 Patch by Mox Soini (ext-mox.soini@nokia.com)
2128 * src/hildon-banner.c (hildon_banner_create_animation):
2129 Use stylus-sized icons in animation banner.
2131 Fixes: NB#111206 (stylus sized icon for animation banner)
2133 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2137 (+hildon_gtk_window_set_do_not_disturb):
2138 New API to set the do-not-disturb flag.
2140 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2142 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2144 * examples/hildon-progress-indicator-example.c: Fix example
2146 * src/hildon-gtk.c (set_clear_window_flag)
2147 (hildon_gtk_window_set_progress_indicator):
2148 Create a generic function for setting flags to a window.
2149 Use GDK instead of direct Xlib calls.
2151 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2153 * src/hildon-button.c (hildon_button_set_arrangement):
2154 Due to NB#88126, if one of the labels is too long it will be
2155 painted outside the button. The 'value' label is more likely to be
2156 the longest one, so we change its packing options in order to
2157 truncate it if necessary. As a side effect, the 'title' label will
2158 no longer be truncated.
2160 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2162 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2167 * configure.ac: Bump version.
2168 * debian/changelog: Updates.
2170 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2172 Deprecation of the hildon_pannable_area_set_size_request_policy
2173 API, the only policy properly supported in gtk+ nowadays is the
2176 * src/hildon-pannable-area.c,
2177 (hildon_pannable_area_size_request): Added a workaround for the
2178 size_request to avoid the problems of huge pixmaps in case someone
2179 is still using the function.
2180 * src/hildon-pannable-area.h: Deprecated the enum with the
2183 Fixes: NB#110244 (Problems with the
2184 hildon_pannable_area_set_size_request_policy API)
2186 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2188 * src/hildon-pannable-area.c,
2189 (hildon_pannable_area_init),
2190 (hildon_pannable_area_size_request),
2191 (hildon_pannable_area_style_set),
2192 (hildon_pannable_draw_vscroll),
2193 (hildon_pannable_draw_hscroll),
2194 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2195 indicator_width to clarify the use of the attribute.
2197 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2202 * configure.ac: Bump version.
2203 * debian/changelog: Updates.
2205 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2207 * src/hildon-picker-dialog.c
2208 * src/hildon-touch-selector.c
2209 Reverting the change that tried to avoid the hardcoded height on
2210 the picker dialog, as causes problems on the hildon-touch-selector
2213 Fixes: NB#110029 (selectors not scrolling to selected value)
2215 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2217 * src/hildon-touch-selector.c: Fix typos
2219 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2222 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2223 request more motions after using it.
2225 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2227 * src/hildon-calendar.c (hildon_calendar_expose),
2228 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2229 Remove unused variables.
2231 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2233 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2234 variable assignment.
2236 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2238 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2239 Check the return value of gtk_tree_selection_get_selected()
2242 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2244 * src/hildon-animation-actor.c
2245 * src/hildon-button.c
2247 * src/hildon-pannable-area.c
2248 * src/hildon-picker-button.c
2249 * src/hildon-program.c
2250 * src/hildon-remote-texture.c
2251 * src/hildon-text-view.c
2252 * src/hildon-touch-selector.c
2253 * src/hildon-window-stack.c
2254 * src/hildon-window.c:
2255 Add missing 'Since: 2.2' tags.
2257 * doc/hildon-sections.txt:
2258 Add some missing symbols.
2260 * doc/hildon-docs.sgml:
2261 New 'Other' section for HildonAnimationActor and
2264 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2266 Patch by Iván Gómez (igomez@igalia.com)
2269 * doc/compiling.sgml
2270 * doc/hildon-docs.sgml
2271 * doc/hildon-sections.txt
2272 * doc/migration.sgml
2273 * doc/resources.sgml
2275 New chapters on using the Hildon library.
2276 Updated the general structure of the reference manual.
2277 Other minor documentation fixes.
2279 * src/hildon-calendar-popup.c
2280 * src/hildon-calendar.c
2281 * src/hildon-controlbar.c
2282 * src/hildon-date-editor.c
2283 * src/hildon-dialog.c
2284 * src/hildon-hvolumebar.c
2285 * src/hildon-number-editor.c
2286 * src/hildon-range-editor.c
2287 * src/hildon-sort-dialog.c
2288 * src/hildon-time-editor.c
2289 * src/hildon-time-picker.c
2290 * src/hildon-volumebar-range.c
2291 * src/hildon-volumebar.c
2292 * src/hildon-vvolumebar.c
2293 * src/hildon-weekday-picker.c:
2294 Add deprecation notes
2296 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2297 Document 'horizontal-movement' and 'vertical-movement' signals.
2299 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2304 * configure.ac: Bump version.
2305 * debian/changelog: Updates.
2307 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2309 * src/hildon-pannable-area.c,
2310 (hildon_pannable_area_class_init): increased the minimum velocity.
2311 (hildon_pannable_area_button_release_cb): Updated the
2312 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2313 setup. Review the code to control that last event.
2315 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2318 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2320 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2322 * src/hildon-get-password-dialog.c
2323 (hildon_get_password_set_property),
2324 (hildon_get_password_get_property), (create_contents):
2325 * src/hildon-login-dialog-private.h:
2326 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2327 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2328 (hildon_login_dialog_get_password):
2329 * src/hildon-set-password-dialog-private.h:
2330 * src/hildon-set-password-dialog.c
2331 (hildon_set_password_set_property),
2332 (hildon_set_password_get_property), (create_contents),
2333 (hildon_set_password_response_change),
2334 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2336 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2337 instead and look more Fremantle style.
2339 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2341 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2343 * doc/hildon-sections.txt
2344 * src/hildon-window-stack.h
2345 * src/hildon-window-stack.c
2346 (+hildon_window_stack_get_windows):
2347 New API to obtain the list of windows on a stack.
2349 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2351 * src/hildon-app-menu.c (hildon_app_menu_popup)
2352 (hildon_app_menu_class_init, -hildon_app_menu_show):
2353 Remove hildon_app_menu_show() and move all its checks to
2354 hildon_app_menu_popup()
2356 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2358 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2359 (_hildon_picker_dialog_set_selector): removed call to
2360 gtk_widget_set_size_request
2361 * src/hildon-touch-selector.c
2362 (_create_new_column): change the pannable size request policy
2364 Avoid to use a hardcoded height for the hildon picker dialog. In order
2365 to get that, we needed to change the hildon pannable size request
2367 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2369 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2372 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2375 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2377 * debian/control: Depend on osso-system-lock localization package.
2378 * src/hildon-code-dialog.c: Obtain the secu_application_title
2379 translation from osso-system-lock.
2380 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2381 for translation the atk related strings, that's not necessary.
2382 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2383 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2384 cancel button, it is not required.
2386 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2388 * src/hildon-pannable-area.c,
2389 (hildon_pannable_area_class_init): Modified the default value of
2390 the overshooting max speed, we have reduced it.
2392 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2394 * doc/hildon-sections.txt
2395 * src/hildon-window-private.h
2396 * src/hildon-window.h
2397 * src/hildon-window.c (hildon_window_class_init)
2398 (hildon_window_init, hildon_window_finalize)
2399 (hildon_window_realize, hildon_window_get_property)
2400 (hildon_window_set_property, hildon_window_update_markup)
2401 (hildon_window_get_markup, hildon_window_set_markup):
2402 New "markup" property and hildon_window_{get,set}_markup() methods.
2404 * examples/hildon-stackable-window-example.c (new_window):
2405 Update example to use hildon_window_set_markup()
2407 Fixes: NB#106375 (Need API to retitle a window with a title
2410 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2412 * src/hildon-pannable-area.c,
2413 (hildon_pannable_area_class_init): Changed the default value of
2414 the initial_hint to TRUE.
2415 (hildon_pannable_area_initial_effect): Changed the initial effect,
2416 not the effect is just the fade-out of the scrollbars.
2418 Fixes: NB#107775 (No scrollbars can be seen when several items are
2419 available in a dialog)
2421 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2423 * src/hildon-program.c (hildon_program_update_top_most):
2426 Fixes: NB#109179 (Memory leak in Hildon program)
2428 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-banner.c (-get_current_app_window):
2431 Remove unused function.
2433 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2435 * src/hildon-pannable-area.c: Modified the documentation of the
2436 get adjustments functions to explain the problem of using the
2437 adjustment directly.
2438 (hildon_pannable_area_class_init): Improved the explanation about
2441 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2443 * src/hildon-app-menu-private.h
2444 * src/hildon-app-menu.c
2445 (hildon_app_menu_class_init):
2446 Bring back the 'external-border' style property
2447 (hildon_app_menu_class_init, hildon_app_menu_init)
2448 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2449 Set a fixed width-request for the menu, independent of the number
2452 Fixes: NB#94957 (Smoothly opened application menu)
2454 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2456 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2458 * src/hildon-banner.c
2459 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2461 Make sure that the banner is correctly placed the first time it's
2463 (hildon_banner_check_position, -check_fullscreen_state):
2464 Show the banner in the same place no matter if the window is in
2465 fullscreen mode or not.
2467 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2469 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2471 * src/hildon-touch-selector.c (_default_print_func): reorder
2472 concatenation for clarity.
2474 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2476 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2477 for multicolumn selectors.
2479 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2481 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2486 * configure.ac: Bump version.
2487 * debian/changelog: Updates.
2489 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2491 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2494 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2496 * configure.ac: removed libcangerra-gtk dependency
2497 * debian/control: removed libcanberra-gtk dependency
2498 * src/Makefile.am: removed libcanberra gtk related flags
2499 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2500 context, and manage a global canberra context instead
2502 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2504 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2506 Patch by Daniel Borgmann (danielb@openismus.com)
2508 * src/hildon-edit-toolbar.c:
2509 Adjust the left padding.
2510 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2511 Paint background of the edit toolbar.
2513 Fixes: NB#107897 (Patch to make editmodetoolbar background
2514 themeable and adjust margin)
2516 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2518 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2520 * src/hildon-program.c (hildon_program_update_top_most):
2521 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2523 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2524 change when the user tasks in/out of an application)
2526 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2528 * configure.ac: added libcangerra-gtk dependency
2529 * debian/control: added libcanberra-gtk dependency
2530 * src/Makefile.am: added libcanberra gtk related flags
2531 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2534 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2536 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-program.c (hildon_program_remove_window)
2539 (hildon_program_add_window): Add checks for the window
2540 parameter. Don't decrease the window counter if the window is not
2543 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2545 * src/hildon-pannable-area.c,
2546 (hildon_pannable_area_realize): Fixed position of the event_window
2547 in the realize method.
2549 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2551 * src/hildon-app-menu-private.h
2552 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2553 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2554 (hildon_app_menu_key_press, hildon_app_menu_init)
2555 (hildon_app_menu_finalize):
2556 Make sure that all idle functions are removed when the widget is
2559 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2561 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2566 * configure.ac: Bump version.
2567 * debian/changelog: Updates.
2569 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-entry.c
2572 (+hildon_entry_show_placeholder),
2573 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2574 that replace hildon_entry_update_contents().
2575 (hildon_entry_set_text),
2576 (hildon_entry_set_placeholder),
2577 (hildon_entry_focus_in_event),
2578 (hildon_entry_focus_out_event): Determine when it is needed
2579 either to show or hide the placeholder and call the above methods.
2581 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2582 when the placeholder text is already set)
2584 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2586 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2587 simple GdkPixbufAnim using the new icons for the banner.
2588 (hildon_banner_show_animation): Use the above mentioned method to
2589 create the animation widget.
2591 Fixes: NB#103564 (Make hildon animation banner use individual
2592 image files as the animation)
2594 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2596 * src/hildon-pannable-area.c,
2597 (hildon_pannable_leave_notify_event): Check if the child is NULL
2598 to avoid sending the leave.
2600 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2602 * src/hildon-pannable-area.c,
2603 (hildon_pannable_area_class_init),
2604 (hildon_pannable_leave_notify_event): Added a handler of the
2605 leave-notify-signal to consider when no motion notify before
2608 Fixes: NB#107494 (Items stay selected when clicking and moving
2609 away when inside pannable area)
2611 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2616 * configure.ac: Bump version.
2617 * debian/changelog: Updates.
2619 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2621 Patch by Alberto Garcia (agarcia@igalia.com)
2623 * src/hildon-date-button.c,
2624 (hildon_date_button_class_init),
2625 (hildon_date_button_init): Removed the construct property handling
2626 and created a default selector in the init method.
2627 * src/hildon-picker-button.c,
2628 (hildon_picker_button_class_init): Removed the construct flag of the
2631 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2633 * src/hildon-main.c (hildon_init):
2634 Don't allow hildon_init() to be called more than once.
2636 Fixes: NB#106607 (hildon_init should issue error message upon
2639 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2641 * examples/hildon-pannable-area-touch-list-example.c
2642 * examples/hildon-pannagle-area-touch-grid-example.c
2643 * examples/hildon-edit-toolbar-example.c
2644 * examples/hildon-touch-selector-multi-cells-example.c
2645 Removed the call to gtk_rc_parse_string, as it is not required since
2648 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2650 * src/hildon-pannable-area.c,
2651 (hildon_pannable_area_class_init): Modified the default panning
2652 threshold of the widget to 6px.
2654 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2655 than the threshold value ) within the button is not sending the
2658 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2660 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2661 for the treeview in the new column. This way, the touch list will never
2664 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2665 be selected manually for the HW keys to work)
2667 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2669 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2670 comparison instead of using strcmp(). Fixes a compiler warning as well.
2672 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2674 * doc/hildon-docs.sgml: Do not set the library version in the
2675 document title, use the releaseinfo tag for that purpose instead.
2677 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2680 Do not jump to the first item if the text in the entry is removed.
2682 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2687 * configure.ac: Bump version.
2688 * debian/changelog: Updates.
2690 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2692 * src/hildon-entry.c (hildon_entry_refresh_contents):
2693 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2694 Use "ReversedSecondaryTextColor" for the placeholder text.
2696 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2698 * src/hildon-text-view.c: Fix compilation warning.
2700 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2702 * src/hildon-button.c (hildon_button_class_init): Don't make
2703 "title" and "value" construction properties, to prevent them from
2704 overwriting labels set from derived classes.
2706 * src/hildon-picker-button.c
2707 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2708 (hildon_picker_button_class_init): Make touch-selector a
2709 construction property.
2711 * src/hildon-date-button.c (hildon_date_button_class_init)
2712 (+hildon_date_button_constructed): Add a default date selector if
2715 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-touch-selector.c: Small documentation fixes.
2719 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2721 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2723 * src/hildon-entry.c (hildon_entry_refresh_contents),
2724 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2725 widget name, set the logical color directly instead and a boolean
2726 showing_placeholder instead.
2727 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2728 use the widget name here either.
2730 Fixes: NB#105678 (HildonTextView should use logical colours
2731 instead of setting widget name)
2733 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2735 Patch by Daniel Elster (danielk@openismus.com)
2737 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2738 Add user_data parameter.
2739 (hildon_touch_selector_set_print_func_full): New function akin
2740 hildon_touch_selector_set_print_func() but with support for user
2741 data and a destroy callback.
2742 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2743 to clean up the print function user data.
2744 (hildon_touch_selector_class_init): Install dispose function.
2745 (HildonTouchSelectorPrivate::print_user_data),
2746 (HildonTouchSelectorPrivate::print_destroy_func): New private
2748 (hildon_touch_selector_init): Initialize new private members.
2749 (hildon_touch_selector_get_current_text): Pass along user data
2750 to the print function.
2751 (_default_print_func): Add dummy user_data to parameter list.
2752 * hildon-date-selector.c (_custom_print_func): ditto,
2753 * hildon-time-selector.c (_custom_print_func): ditto,
2754 * hildon-touch-selector-entry.c
2755 (hildon_touch_selector_entry_print_func): ditto.
2757 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2759 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2761 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2763 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2765 * src/hildon-pannable-area.c,
2766 (hildon_pannable_area_init),
2767 (hildon_pannable_area_button_press_cb),
2768 (hildon_pannable_area_motion_notify_cb): We have added code to
2769 handle the leave and enter events when using the motion events.
2771 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2773 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2775 * src/hildon-date-button.c (hildon_date_button_get_date)
2776 (hildon_date_button_set_date): Make sure that the button has a
2779 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2781 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2783 * src/hildon-pannable-area.c,
2784 (hildon_pannable_area_class_init),
2785 (hildon_pannable_area_calculate_velocity): Modify the use of the
2786 force and adapt the value.
2788 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2790 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2791 (hildon_app_menu_class_init): Hide the menu if it receives a
2792 delete-event, but don't destroy it
2794 Fixes: NB#104485 (Not able to address the call when application
2795 menu is opened at background)
2797 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2799 * src/hildon-app-menu.c
2800 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2801 Remove the "external-border" style property, let the menu take its
2802 natural size (or the one set by the window manager)
2803 (hildon_app_menu_repack_items):
2804 Don't reshow the menu, avoid flickers.
2806 Partially fixes NB#94957 (Smoothly opened application menu)
2808 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2813 * configure.ac: Bump version.
2814 * debian/changelog: Updates.
2816 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2818 * src/hildon-pannable-area.c,
2819 (hildon_pannable_area_motion_notify_cb): We control that the
2820 direction error margin is used just in case the movement is
2821 allowed in the other direction.
2823 Fixes: NB#105012 (buttons inside a pannable area not getting
2824 release event when dragging/releasing)
2826 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2828 * src/hildon-pannable-area.c,
2829 (hildon_pannable_area_class_init),
2830 (hildon_pannable_area_get_property),
2831 (hildon_pannable_area_set_property),
2832 (hildon_pannable_area_initial_effect),
2833 (hildon_pannable_axis_scroll),
2834 (hildon_pannable_area_button_release_cb): Reviewed the
2835 overshooting effect, now it has its own max
2836 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2837 speed when bouncing.
2839 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2844 * configure.ac: Bump version.
2845 * debian/changelog: Updates.
2847 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2849 * src/hildon-pannable-area.c,
2850 (hildon_pannable_area_class_init): Changed the max speed, now
2851 users can launch the widget very fast. Reduced the default force,
2852 that way it is easier to control the launch speed.
2854 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2856 * src/hildon-pannable-area.c,
2857 (hildon_pannable_area_button_release_cb): Removed this check
2858 because it causes problems when the device is overloaded.
2860 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2862 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2863 add a current_text field to store the text entered in the
2864 touch selector entry.
2865 (_clean_current_selection): clean up the current text as well.
2866 (_save_current_selection), (_restore_current_selection):
2867 Save/restore the text in the entry if the selector is a
2868 HildonTouchSelectorEntry.
2870 Fixes: NB#102541 (value entered in the touch selector entry is not
2871 shown when opened for second time)
2873 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2875 * doc/hildon-sections.txt:
2876 * src/hildon-touch-selector-entry.c
2877 (+hildon_touch_selector_entry_get_entry):
2878 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2880 Fixes: NB#104815 (I need accessor to the entry inside
2881 HildonTouchSelectorEntry)
2883 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2885 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2886 (hildon_app_menu_class_init):
2887 New "filter-vertical-spacing" style property.
2889 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2891 * src/hildon-find-toolbar.c
2892 (hildon_find_toolbar_emit_close)
2893 (hildon_find_toolbar_emit_invalid_input)
2894 (hildon_find_toolbar_entry_activate):
2895 Use g_signal_emit() instead of g_signal_emit_by_name()
2897 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2899 Patch by Mox Soini (ext-mox.soini@nokia.com)
2901 * tests/TEST-CASES.txt
2902 * tests/check-hildon-banner.c
2903 * tests/check-hildon-note.c
2904 * src/hildon-banner.c
2905 * src/hildon-code-dialog.c
2906 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2907 * src/hildon-time-editor.c
2908 * examples/hildon-lookup-example.c (main):
2909 Replace obsolete icon names with new ones.
2911 * src/hildon-find-toolbar-private.h:
2912 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2913 (-hildon_find_toolbar_emit_search):
2914 Remove find button and change icon of close button.
2916 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2918 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-time-button.c (hildon_time_button_new_step):
2921 Use the "touch-selector" property to set the selector directly
2922 when creating the object.
2924 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2926 Added a new example application that allows tuning the pannable
2927 area and replaced defines with properties in order to simplify the
2928 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2929 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2930 PROP_DIRECTION_ERROR_MARGIN.
2932 * examples/hildon-pannable-area-tuning-example.c: New example
2934 * src/hildon-pannable-area.c,
2935 (hildon_pannable_area_class_init),
2936 (hildon_pannable_area_init),
2937 (hildon_pannable_area_get_property),
2938 (hildon_pannable_area_set_property),
2939 (hildon_pannable_area_launch_fade_timeout),
2940 (hildon_pannable_area_adjust_value_changed),
2941 (hildon_pannable_axis_scroll),
2942 (hildon_pannable_area_motion_notify_cb),
2943 (hildon_pannable_area_scroll_cb),
2944 (hildon_pannable_area_button_release_cb): We have converted some
2945 of the defines that control the widget to properties to simplify
2948 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-app-menu.c (hildon_app_menu_map)
2951 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2952 so it's closed if a new window appears.
2954 Fixes: NB#104485 (Not able to address the call when application
2955 menu is opened at background)
2957 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2959 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2960 missing 'break' statement in in 'case' construct to avoid
2963 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2965 * src/hildon-touch-selector-entry.c
2966 (hildon_touch_selector_entry_get_property),
2967 (hildon_touch_selector_entry_set_property): Add missing 'break'
2968 statements in in 'case' constructs to avoid incorrect warnings.
2970 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-time-editor.c
2973 (hildon_time_editor_get_time_separators): Do not crash if
2974 the first label is NULL.
2976 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2978 * src/hildon-date-selector.c (_month_days): Check for month to be
2979 strictly less than 12, since otherwise we may overrun the array.
2981 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-date-button.c (+hildon_date_button_new_full)
2984 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2985 (hildon_date_button_init): Set the date selector using a
2986 construction property, to make it happen after HildonButton's
2987 "value" property is set.
2989 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2990 current date by default)
2992 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2994 * doc/hildon-sections.txt
2995 * src/hildon-program.c
2996 * src/hildon-stackable-window.c
2997 * src/hildon-window.c:
2998 Documentation updates
3000 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3003 (hildon_window_stack_new, +hildon_window_stack_set_property)
3004 (+hildon_window_stack_get_property)
3005 (hildon_window_stack_class_init)
3006 (+hildon_window_stack_set_window_group)
3007 (+hildon_window_stack_get_window_group):
3008 Make the window group a construction property.
3010 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3012 * doc/hildon-sections.txt
3013 * src/hildon-stackable-window-private.h
3014 * src/hildon-stackable-window.h
3015 * src/hildon-stackable-window.c
3016 (-hildon_stackable_window_set_app_menu)
3017 (-hildon_stackable_window_get_app_menu)
3018 (-hildon_stackable_window_toggle_menu)
3019 (-hildon_stackable_window_finalize)
3020 (hildon_stackable_window_class_init)
3021 (hildon_stackable_window_init)
3022 * src/hildon-window-private.h
3023 * src/hildon-window.h
3024 * src/hildon-window.c (hildon_window_init)
3025 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3026 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3027 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3028 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3029 Moved all HildonAppMenu code to HildonWindow. The menu does not
3030 require a HildonStackableWindow anymore.
3032 * src/hildon-app-menu.c
3033 * src/hildon-program.c
3034 * examples/hildon-app-menu-example.c (main):
3035 Update examples and documentation to reflect HildonAppMenu
3038 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-remote-texture.c
3041 * src/hildon-animation-actor.c:
3042 Don't include unused private headers.
3044 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3046 * src/hildon-program-private.h
3047 * src/hildon-program.c
3048 (hildon_program_set_common_menu)
3049 (hildon_program_get_common_menu)
3050 (hildon_program_set_common_app_menu)
3051 (hildon_program_get_common_app_menu):
3052 Change common menu pointers from GtkWidget* to GtkMenu* and
3053 HildonAppMenu* to avoid unnecessary casts.
3055 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-window.c (hildon_window_set_main_menu):
3058 Removed incorrect 'Since:' tag
3060 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3062 * src/hildon-pannable-area.c,
3063 (hildon_pannable_area_calculate_velocity): We use now the
3064 RATIO_TOLERANCE here to check the distance, fixed typo in the
3066 (hildon_pannable_area_motion_notify_cb): We have to set the type
3067 and time even if we are not sending the motion.
3069 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3071 * doc/hildon-sections.txt
3072 * src/hildon-app-menu.h
3073 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3074 (+hildon_app_menu_get_filters): New methods to get the contents of
3077 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3080 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-app-menu.c (hildon_app_menu_popup):
3085 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3087 * src/hildon-window.h
3088 * src/hildon-window.c (+hildon_window_get_main_menu)
3089 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3090 and deprecated hildon_window_get_menu().
3092 * src/hildon-stackable-window.h
3093 * src/hildon-stackable-window.c
3094 (+hildon_stackable_window_set_app_menu)
3095 (+hildon_stackable_window_get_app_menu)
3096 (hildon_stackable_window_set_main_menu): Created
3097 hildon_stackable_window_{get,set}_app_menu() and deprecated
3098 hildon_stackable_window_set_main_menu().
3100 * doc/hildon-sections.txt
3101 * examples/hildon-app-menu-example.c (main)
3102 * src/hildon-app-menu.c
3103 * src/hildon-program.c:
3104 Updated examples and documentation.
3106 Fixes: NB#103758 (No way to obtain a menu from a
3107 HildonStackableWindow)
3109 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3114 * configure.ac: Bump version.
3115 * debian/changelog: Updates.
3117 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3119 * examples/hildon-remote-texture-example.c: Include
3120 hildon-remote-texture.h explicitely.
3121 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3122 applications not defining _XOPEN_SOURCE which don't require this header.
3124 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3126 * doc/hildon-sections.txt
3127 * src/hildon-app-menu.h
3128 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3129 New function to pop up a HildonAppMenu
3131 * src/hildon-stackable-window.c
3132 (hildon_stackable_window_toggle_menu):
3133 Use hildon_app_menu_popup() to show the menu.
3135 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-app-menu.c (hildon_app_menu_show)
3138 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3139 menu if there's another window between it and its parent window.
3141 Fixes: NB#100468 (Application menu window is launched even when a
3142 new secondary-window/dialog is pending to be shown/realized)
3144 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3146 * src/hildon-window-stack.c (hildon_window_stack_push)
3147 (hildon_window_stack_pop_and_push):
3148 Don't forget to push/pop the first window.
3149 Reverse the window list before calling _push_list()
3151 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3153 * src/hildon-picker-button.h
3154 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3155 Remove "value_changed" slot to avoid ABI breakage
3157 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3159 * src/hildon-pannable-area.c,
3160 (hildon_pannable_area_realize),
3161 (hildon_pannable_area_unrealize),
3162 (hildon_pannable_draw_vscroll),
3163 (hildon_pannable_draw_hscroll): Changed the method to handle the
3164 GC used to draw the transparent scrollbar, this way we avoid
3165 creating the GC all the time when drawing the scrollbars.
3167 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3169 * src/hildon-pannable-area.c,
3170 (hildon_pannable_area_init),
3171 (hildon_pannable_area_remove): Removed some unnecessary casts.
3172 (hildon_pannable_area_dispose): Disconnected some signals before
3173 releasing the adjustments.
3175 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3178 Make sure that all widgets contained in the toolbar are shown.
3180 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3182 * doc/hildon-sections.txt
3183 * src/hildon-picker-button.h
3184 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3185 (_selection_changed, hildon_picker_button_on_dialog_response)
3186 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3187 New hildon_picker_button_value_changed() method.
3190 * src/hildon-picker-button-private.h
3191 * src/hildon-picker-button.c (hildon_picker_button_init)
3192 (+hildon_picker_button_disable_value_changed): Add protected
3193 function for disabling the "value-changed" signal.
3195 * src/hildon-date-button.c (hildon_date_button_set_date):
3196 Don't emit "value-changed" for each one of the three columns.
3198 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3199 before actual change of values)
3201 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3203 * src/hildon-pannable-area.c,
3204 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3205 for the treeview overshooting.
3207 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3209 * src/hildon-banner.c (+hildon_banner_bind_style):
3210 Renamed from hildon_banner_bind_label_style(), now naming the
3211 banner itself as well.
3212 (hildon_banner_show_information),
3213 (hildon_banner_show_information_with_markup),
3214 (hildon_banner_show_animation), (hildon_banner_show_progress):
3215 Name the widgets and labels, based on their type.
3217 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3220 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-note.c (hildon_note_set_property): call
3223 hildon_note_rename() on HildonNote:note-type set.
3224 (hildon_note_rename): Name the note and its label, based on the
3225 HildonNote:note-type property.
3227 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3230 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3232 * src/hildon-pannable-area.c,
3233 (hildon_pannable_area_class_init),
3234 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3235 panning parameters, increased SPS and deceleration factor. Added
3236 also a margin to control fake directions.
3238 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3240 Patch by Sven Herzberg (sven@imendio.com)
3242 * configure.ac: Add missing AM_PROG_CC_C_0
3243 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3245 See NB#101420 (Update unit tests and fix make check)
3247 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3249 This patch was applied before but reverted because it caused
3250 problems, we have changed the main condition and tested the
3251 regressions we detected before and they work ok. We have done a
3252 complete review of the topmost algorithm in order to get a more
3255 * src/hildon-pannable-area.c,
3256 (hildon_pannable_area_get_topmost): Added a new parameter to
3257 filter the the windows that do not include those events.
3258 (hildon_pannable_area_button_press_cb),
3259 (hildon_pannable_area_button_release_cb),
3260 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3261 topmost function, we have added the new parameter.
3263 Fixes: NB#97458 (Pannable area prevents propagation of button
3266 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3268 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3269 if all columns in the selector have an item selected.
3270 (_on_dialog_response): Stop "response" signal emission if there is
3271 any selector column without selected items.
3273 Fixes: NB#101889 (Picker dialog should not close when nothing is
3274 selected in multiple selection list)
3276 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3278 * src/hildon-font-selection-dialog.c
3279 (hildon_font_selection_dialog_class_init),
3280 (hildon_font_selection_dialog_init): Remove the preview
3281 button and dialog, since previewing with default theming is likely
3282 to be overcomplicated. The :preview property has now no effect.
3283 Update documentation blurbs to inform about this.
3285 Fixes: NB#92297 (Preview content is not clearly visible for
3286 default colour text)
3288 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3290 Reviewed the geometry that handles the children size and
3291 scrollbar, now it tries a size and reviews the results depending
3292 on the scrollbars visibility.
3294 * src/hildon-pannable-area.c,
3295 (hildon_pannable_area_realize): Fixed a typo.
3296 (hildon_pannable_area_child_allocate_calculate): Added this
3297 function to calculate the child allocation.
3298 (hildon_pannable_area_size_allocate): Reviewed the allocation
3300 (hildon_pannable_area_check_scrollbars),
3301 (hildon_pannable_area_refresh): Refactored refresh function, this
3302 way we can call the code handling the scrollbars without causing a
3303 size_request, it is interesting in the allocate.
3304 (hildon_pannable_area_init): Replace the callbacks of the
3305 value_changed and changed signals to propertly deal with the
3307 (hildon_pannable_area_grab_notify),
3308 (hildon_pannable_area_initial_effect),
3309 (hildon_pannable_area_launch_fade_timeout),
3310 (hildon_pannable_area_adjust_changed),
3311 (hildon_pannable_area_adjust_value_changed),
3312 (hildon_pannable_area_redraw),
3313 (hildon_pannable_area_button_press_cb),
3314 (hildon_pannable_area_button_release_cb),
3315 (hildon_pannable_area_scroll_cb),
3316 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3317 code and use the new functions adjust_changed and
3318 adjust_value_changed.
3320 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3321 Contact editor dialog)
3323 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3328 * configure.ac: Bump version.
3329 * debian/changelog: Updates.
3331 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3333 * src/hildon-pannable-area.c,
3334 (hildon_pannable_area_get_topmost),
3335 (hildon_pannable_area_button_press_cb),
3336 (hildon_pannable_area_button_release_cb),
3337 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3338 topmost function adding the event mask. We have to try a
3339 differente approach because it is still causing problems (NB#9745,
3342 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3344 * src/hildon-banner.c:
3345 Update the maximum width of timed banners.
3346 (force_to_wrap_truncated): Enforce the maximum text width if the
3349 Fixes: NB#102413 (The text margins (wrapping) in information
3350 banner should be HILDON_MARGIN_TRIPLE)
3352 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3354 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3356 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3357 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3358 bound when calculating the scroll indicator position.
3360 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3361 treat ->lower correctly)
3363 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3366 expose event handling, since it is not necessary to draw the focus
3369 Fixes: NB#102467 (Do not show highlight on the text in
3372 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3375 full height of the toolbar for the button and the label.
3377 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3380 padding before the label and after the button.
3382 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3386 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3387 Add a GtkVSeparator between the button and the back arrow.
3388 Let the button have automatic size.
3389 Set a name to the widget for theming handling.
3391 Fixes: NB#101793 (Make edit toolbar the same height as window
3392 title bar (use title area theming))
3394 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-helper.c (attach_new_color_element): Fix memory
3399 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3401 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3403 * examples/hildon-button-example.c (common_buttons_window): Don't
3406 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3408 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3409 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3411 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3413 * src/hildon-gtk.c: Check that the window is realized.
3415 Fixes: NB#102225 (Crash setting the progress indicator to a non
3418 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3420 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3421 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3422 instead of modifying the one in the widget style.
3424 Fixes: NB#101043 (Second row of all the command button are
3425 displayed in transparent mode.)
3427 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-date-button.c
3430 * src/hildon-time-button.c: Add gettext macros
3432 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3434 * src/hildon-date-button.c (hildon_date_button_new):
3435 * src/hildon-time-button.c (hildon_time_button_new_step):
3436 Use new logical strings to set the button default title.
3438 Fixes: NB#99915 (Date and Time options are not localised in Date
3441 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3443 * src/hildon-pannable-area.c
3444 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3445 the PANNING_THRESHOLD.
3447 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3449 * src/hildon-pannable-area.c,
3450 (hildon_pannable_area_class_init): Increased the maximum speed.
3451 (hildon_pannable_area_get_property),
3452 (hildon_pannable_area_set_property),
3453 (hildon_pannable_area_timeout): Added a new low friction mode, it
3454 allows the user avoid friction when launching the widget fast
3455 enough. It is interesting to traverse long lists.
3457 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3460 (+hildon_stackable_window_delete_event): Ignore delete events if
3461 the window is not the topmost one.
3463 Fixes: NB#101698 (Back button long press and delete-event handling)
3465 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3467 * src/hildon-pannable-area.c,
3468 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3469 gtk-dnd-drag-threshold, it was too big. We have defined our own
3470 dnd define and set a smaller value: PANNIG_THRESHOLD.
3472 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3475 user-defined icons, use always the default one.
3477 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3479 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3481 This patch was applied before but reverted because it caused
3482 problems, we have changed the main condition and tested the
3483 regressions we detected before and they work ok.
3485 * src/hildon-pannable-area.c,
3486 (hildon_pannable_area_get_topmost): Added a new parameter to
3487 filter the the windows that do not include those events. Added
3488 also a condition when finding the window to filter windows that do
3489 not ask for those events.
3490 (hildon_pannable_area_button_press_cb),
3491 (hildon_pannable_area_button_release_cb),
3492 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3493 topmost function, we have added the new parameter.
3495 Fixes: NB#97458 (Pannable area prevents propagation of button
3498 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3500 * tests/check-hildon-color-button.c (START_TEST): do not leak
3503 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-font-selection-dialog.c
3506 (hildon_font_selection_dialog_get_preview_text): Return NULL
3507 instead of FALSE on the g_return_val_if_fail().
3509 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3511 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3512 * src/hildon-date-selector.c
3513 (hildon_date_selector_select_current_date):
3514 Do not compare unsigned integers to be greater than or equal 0,
3515 because it's always TRUE.
3517 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3519 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3520 (hildon_date_selector_constructor): Do not select the current
3521 date until we are handle the "changed" signal, to avoid having bogus
3522 elements in the days model.
3524 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3526 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3527 for num_days, since _month_days() can return a negative value.
3529 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3531 * src/hildon-caption.c (hildon_caption_size_allocate):
3532 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3533 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3535 Initialize allocation variables to 0, to avoid eventually using
3536 unitialized variables.
3538 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-bread-crumb-trail.c
3541 (hildon_bread_crumb_trail_size_allocate):
3542 * src/hildon-calendar.c (hildon_calendar_set_background):
3543 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3544 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3545 * src/hildon-seekbar.c (hildon_seekbar_init):
3546 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3547 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3548 * src/hildon-touch-selector-entry.c
3549 (hildon_touch_selector_get_text_from_model):
3550 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3551 * src/hildon-window.c (hildon_window_finalize):
3553 Remove many unused variables.
3555 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-seekbar.c: (hildon_seekbar_init),
3558 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3560 Remove unnecessary g_assert() calls.
3562 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-caption.c: (hildon_caption_expose),
3565 (hildon_caption_set_property), (hildon_caption_init),
3566 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3567 (hildon_caption_size_request), (hildon_caption_size_allocate),
3568 (hildon_caption_forall), (hildon_caption_set_separator),
3569 (hildon_caption_activate), (hildon_caption_set_child_expand),
3570 (hildon_caption_set_label_text),
3571 (hildon_caption_get_label_alignment):
3573 Remove unnecessary g_assert() calls.
3575 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3577 * src/hildon-banner.c
3578 (hildon_banner_map, hildon_banner_init): Make banner temporary
3579 before mapping it to avoid closing other temporary windows, but
3580 make it non-temporary afterwards to avoid being closed by other
3581 non-temporary windows.
3582 (-hildon_banner_client_event, hildon_banner_init):
3583 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3585 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3588 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3590 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3593 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3595 * src/hildon-remote-texture.c
3596 * src/hildon-remote-texture.h
3597 * src/hildon-remote-texture-private.h
3598 * examples/hildon-remote-texture-example.c:
3599 Updates/fixes to remote-texture and its example.
3601 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3603 Patch by Mox Soini (ext-mox.soini@nokia.com)
3605 * src/hildon-code-dialog.c: Update logical id.
3606 * src/hildon-set-password-dialog.c: Update logical id.
3608 Fixes: NB#100646 (Logical strings is shown for ok in set
3609 password,Password needed dialogs)
3611 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3614 * src/hildon-remote-texture.c
3615 * src/hildon-remote-texture.h
3616 * src/hildon-remote-texture-private.h
3618 Added remote texture widget (for Clutter shared memory textures)
3620 * examples/hildon-remote-texture-example.c
3621 * examples/Makefile.am
3622 Added example file for remote texture usage
3624 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3626 * configure.ac: post release version bump.
3627 * debian/changelog: version bump.
3629 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3634 * configure.ac: Bump version.
3635 * debian/changelog: Updates.
3637 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-date-selector.c (hildon_date_selector_init)
3640 (hildon_date_selector_constructor): Don't connect to the "changed"
3641 signal until the selector is completely constructed.
3643 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3645 * src/hildon-touch-selector.c: (_create_new_column),
3646 (hildon_touch_selector_append_column),
3647 (hildon_touch_selector_set_column_selection_mode),
3648 (hildon_touch_selector_set_active),
3649 (hildon_touch_selector_select_iter):
3650 Emit the HildonTouchSelector::changed signal every time selection
3651 is changed in any of the methods above. This behavior was already
3652 documented but not fully functional.
3654 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3655 selection is programmatically changed)
3657 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3659 * doc/hildon-sections.txt: Remove obsolete icon
3660 sizes from here as well.
3662 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3664 * examples/hildon-stackable-window-example.c (add_window): Remove
3667 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3669 * src/hildon-app-menu.c
3670 (hildon_app_menu_show): Check whether the parent window of a menu
3671 is topmost before popping it up.
3673 Fixes: NB#100468 (Application menu window is launched even when a
3674 new secondary-window/dialog is pending to be shown/realized.)
3676 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3678 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3681 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3683 Patch by Mox Soini (ext-mox.soini@nokia.com)
3685 * src/hildon-banner.c: (hildon_banner_show_animation):
3686 use stylus size instead of obsolete note size.
3687 * src/hildon-defines.h: Update icon sizes.
3689 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-touch-selector-entry.c:
3692 (hildon_touch_selector_entry_init): Disable unsupported
3694 (hildon_touch_selector_entry_get_text_column): Emit a warning
3695 if an unsupported input modes is used and explicitile state
3696 these modes in the documentation.
3698 Fixes: NB#99802 (Hildon touch selector entry not working properly
3699 for some of the input modes)
3701 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3703 * src/hildon-pannable-area.c,
3704 (hildon_pannable_area_init): Added the changed signal handlers of
3707 Fixes: NB#100320 (HildonPannableArea does not listen to
3708 GtkAdjustment "change" signals)
3710 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3712 * doc/hildon-sections.txt
3713 * src/hildon-window-private.h
3714 * src/hildon-window.h
3715 * src/hildon-window.c (hildon_window_init)
3716 (hildon_window_realize, hildon_window_unrealize)
3717 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3718 (hildon_window_size_request, hildon_window_size_allocate)
3719 (hildon_window_forall, hildon_window_show_all)
3720 (hildon_window_destroy, +paint_edit_toolbar)
3721 (+hildon_window_set_edit_toolbar):
3722 New hildon_window_set_edit_toolbar() method, to add a
3723 HildonEditToolbar to a window without having to pack it manually.
3725 Reorganize hildon_window_size_allocate()
3727 * src/hildon-edit-toolbar.c: Update documentation.
3729 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3730 example to use the new API.
3732 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3734 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3736 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3737 Remove from stack before calling parent's hide.
3739 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3741 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3742 window is removed from the middle of the stack, update the
3743 transiency of the previous one.
3745 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3748 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3750 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3751 block/unblock the signal handler if it's not actually being used.
3752 Fixes some critical warnings.
3754 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3756 Based on a patch by Iván Gómez (igomez@igalia.com)
3758 * src/hildon-banner.c
3762 * src/hildon-pannable-area.c
3763 * src/hildon-picker-dialog.c
3764 * src/hildon-wizard-dialog.h
3765 * src/hildon-wizard-dialog.c: Documentation updates.
3767 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3768 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3770 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3772 * configure.ac: post release version bump.
3773 * debian/changelog: version bump.
3775 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3780 * configure.ac: Bump version.
3781 * debian/changelog: Updates.
3783 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3785 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3786 a stock icon nor change the relief of the back arrow.
3788 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3789 graphics from theme)
3791 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3793 * src/hildon-button.c (hildon_button_set_alignment): Use
3794 priv->alignment if the button has no child yet.
3796 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3798 * src/hildon-button.c: (hildon_button_init): Set the
3799 button style during initialization to give it the proper
3802 Fixes: NB#99713 (HildonButton value label color is wrong)
3804 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3806 * src/hildon-touch-selector.c: Document
3807 hildon_touch_selector_center_on_selected()
3809 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3811 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3812 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3813 all menu items, but not the menu itself.
3814 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3815 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3816 items after adding them to the menu so keyboard accelerators work.
3817 (hildon_app_menu_show): Don't show the menu if it contains items
3818 but none of them are visible.
3820 * examples/hildon-app-menu-example.c (create_menu): Use
3821 gtk_widget_show_all() to show all menu items.
3823 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-picker-dialog.c:
3826 (-_update_title_on_selector_changed_cb),
3827 (-_dialog_update_title): Removed.
3828 (_select_on_selector_changed_cb), (_on_dialog_response),
3829 (on_selector_columns_changed): Do not update the dialog title.
3830 (setup_interaction_mode): Do not connect to
3831 HildonTouchSelector::changed signal if there's a "done" button, as
3832 the dialog title doesn't need to be updated.
3834 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3837 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3839 Patch by Kristian Rietveld (kris@imendio.com)
3841 * src/hildon-touch-selector.c: (_create_new_column): Use new
3842 GtkTreeView::hildon-row-tapped signal to react to user interactions
3843 instead of ::changed.
3845 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3846 with some dynamic tree model)
3848 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3851 (+screen_size_changed, +label_size_request)
3852 (hildon_note_class_init): Make the Hildon information note have a
3853 minimum height, and make its text hvae a maximum width.
3855 Fixes: NB#98614 (Hildon information note (background) should have
3856 minimum height and maximum text width)
3858 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3860 * src/hildon-banner.h
3861 * src/hildon-banner.c (hildon_banner_show_information)
3862 (hildon_banner_show_informationf)
3863 (hildon_banner_show_information_with_markup): Update documentation
3864 to reflect that the icon_name parameter is not used anymore.
3865 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3866 Remove all code from these functions and mark them as deprecated.
3867 (hildon_banner_show_progress): Mark as deprecated.
3869 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3871 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3873 * src/hildon-pannable-area.c,
3874 (hildon_pannable_area_class_init),
3875 (tranparency_color),
3876 (hildon_pannable_draw_vscroll),
3877 (hildon_pannable_draw_hscroll),
3878 (hildon_pannable_area_expose_event): Added a new way to render the
3879 scrollbars of the pannable area avoiding using cairo at all. This
3880 way we improve the performance of the pannable area rendering. The
3881 cairo rendering procedure is still in the code, we can control
3882 which one to use changing the value of the define
3883 USE_CAIRO_SCROLLBARS.
3885 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3887 * configure.ac: post release version bump.
3888 * debian/changelog: version bump.
3890 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3895 * configure.ac: Bump version.
3896 * debian/changelog: Updates.
3898 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3900 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3901 banners instead of destroying them when they receive a button
3904 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3906 Reverted commit 34028, it was causing regressions, probably the
3907 topmost condition is not correct, we have to check it in more
3908 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3909 propagation of button press events)
3911 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3913 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3914 that the selection is not empty before attempting to retrieve the
3915 current ampm selection.
3917 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3919 * src/hildon-picker-button.c:
3920 (hildon_picker_button_on_dialog_response): Directly update the
3921 button contents when required instead of calling _selection_changed.
3923 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3925 * src/hildon-program.c (hildon_program_update_top_most): Update
3926 'is-topmost' property also when wm_hints is not set.
3928 Fixes: NB#98383 (is-topmost signal is not emitted when task
3929 switcher is clicked.)
3931 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3933 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3937 * src/hildon-animation-actor.c,
3938 * src/hildon-animation-actor.h: Added the animation actor class,
3939 this widget represents an animation actor for WM-assisted
3940 animation effects in the Hildon framework.
3942 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3944 * src/hildon-window-stack-private.h
3945 * src/hildon-window-stack.c
3946 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3947 Avoid calling gtk_widget_show() again indirectly from
3948 hildon_stackable_window_show()
3950 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3952 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3955 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3958 (hildon_time_selector_init): Move the construction of the hours and
3959 ampm columns to the constructor to preserve the order the columns
3962 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/hildon-picker-dialog.c:
3965 (hildon_picker_dialog_class_init): Connect a realize method.
3966 (+hildon_picker_dialog_realize): Setup the interaction mode here
3968 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3969 yet, do it during the realize instead.
3970 (_on_dialog_response):
3971 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3972 if the widget is not realized, to avoid the dialog response before it
3975 Avoid premature responses in the HildonPickerDialog that can cause it
3976 to be hidden before it's even shown.
3978 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3981 (on_selector_columns_changed), (requires_done_button),
3982 (+prepare_action_area), (setup_interaction_mode),
3983 (_hildon_picker_dialog_set_selector):
3985 Split the interaction mode setup into preparation of the
3986 action area (prepare_action_area()) and the connection of
3987 the signals in setup_interaction_mode() and update the code to
3990 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3992 * src/hildon-pannable-area.c,
3993 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3994 per second to 15, we will check if this is ok regarding
3997 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3999 * src/hildon-pannable-area.c,
4000 (hildon_pannable_axis_scroll): Avoid resize if we already have
4001 reached overshoot_max.
4003 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4005 * src/hildon-pannable-area.c,
4006 (hildon_pannable_area_init),
4007 (hildon_pannable_area_realize),
4008 (hildon_pannable_area_size_allocate),
4009 (hildon_pannable_area_map),
4010 (hildon_pannable_area_unmap),
4011 (hildon_pannable_draw_vscroll),
4012 (hildon_pannable_draw_hscroll),
4013 (hildon_pannable_area_expose_event),
4014 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4015 pannable are to avoid the expose events go to the window and
4016 redraw the window. We save this way that part of the stack and the
4017 paint_boxes. We had to change the positions of the elements when
4020 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4022 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4023 * src/hildon-color-chooser-dialog.c:
4024 (hildon_color_chooser_dialog_init):
4025 * src/hildon-font-selection-dialog.c:
4026 (hildon_font_selection_dialog_init),
4027 (hildon_font_selection_dialog_show_preview):
4028 * src/hildon-get-password-dialog.c:
4029 * src/hildon-login-dialog.c:
4030 * src/hildon-set-password-dialog.c:
4031 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4032 * src/hildon-time-picker.c: (hildon_time_picker_init):
4034 Remove obsolete logical string IDs and update to the appropriate ones.
4036 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4038 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4040 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4041 that happens if the window hasn't been realized yet.
4043 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4044 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4046 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4048 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4049 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4052 Fixes: NB#98537 (Device hangs in account settings dialog)
4054 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4056 * configure.ac: post release version bump.
4057 * debian/changelog: version bump
4059 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4064 * configure.ac: Bump version.
4065 * debian/changelog: Updates.
4067 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4069 Added a new function to the HildonTimeButton widget that allows to
4070 change the step of the minutes in the selector associated with the
4071 button: hildon_time_button_new_step
4073 * src/hildon-time-button.c,
4074 (hildon_time_button_init),
4075 (hildon_time_button_new),
4076 (hildon_time_button_new_step):
4077 * src/hildon-time-button.h: Added the new function and refactored
4079 * examples/hildon-time-button-example.c,
4080 (main): We have replaced the function without parameters with the
4081 function with the steps set to 5
4083 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4085 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4087 * src/hildon-time-selector.c,
4088 (hildon_time_selector_class_init),
4089 (hildon_time_selector_constructor),
4090 (hildon_time_selector_get_property),
4091 (hildon_time_selector_set_property),
4092 (_create_minutes_model),
4093 (hildon_time_selector_new_step),
4094 (hildon_time_selector_set_time),
4095 * src/hildon-time-selector.h: Added a new property to the
4096 HildonTimeSelector (minutes-step), we use that property to control
4097 the steps between the minutes in the list of the selector. We have
4098 added a new function to the API to create a widget changing the
4099 step: hildon_time_selector_new_step.
4101 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4103 * src/hildon-time-selector.c,
4104 (hildon_time_selector_class_init),
4105 (hildon_time_selector_constructor),
4106 (hildon_time_selector_init): Overrided the construct function when
4107 creating the time selector object. We have moved the minutes model
4108 handling code from the init to the new construction function:
4109 hildon_time_selector_constructor.
4111 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4113 * examples/hildon-date-button-example.c: (main): Use the new
4114 hildon_date_button_new_with_year_range() method in the example.
4115 * src/hildon-date-button.c:
4116 (+hildon_date_button_new_with_year_range): New public method
4117 to conveniently create a HildonDateButton with a custom year range
4118 in its HildonDateSelector.
4119 * src/hildon-date-button.h: Add the new public method definition.
4121 Fixes: NB#97908 (Not possible to change the year range in
4122 HildonDateSelector/HildonDateButton)
4124 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4126 * src/hildon-date-selector.c:
4127 (+hildon_date_selector_set_property),
4128 (+hildon_date_selector_get_property),
4129 (hildon_date_selector_class_init): Install new properties "min-year"
4130 and "max-year" to define boundaries for the year column.
4131 (_create_year_model): Use the boundary properties to populate the model.
4132 (+hildon_date_selector_new_with_year_range): New public method to
4133 create a HildonDateSelector with a user defined year range.
4134 (hildon_date_selector_select_current_date): Use the new boundaries to
4135 calculate the iterator of current year.
4136 * src/hildon-date-selector.h: Add the new public method definition.
4138 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4140 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4141 Install a constructor method.
4142 (+hildon_date_selector_construct_ui): construct the widget.
4143 (+hildon_date_selector_constructor): new constructor.
4144 (+hildon_date_selector_init): move out widget construction code to
4145 the new constructor.
4147 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4149 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4150 that there's actually a month or year selected before obtaining them.
4151 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4152 of the HildonTouchSelector::changed signal, as it was emitted on every
4153 single item selection.
4155 Fix some warnings and possible crashers due to the selection restoring.
4157 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4160 the signal handlers only after creating the dialog instead of on every
4163 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4165 * src/hildon-button.c (hildon_button_init)
4166 * src/hildon-check-button.c (hildon_check_button_init)
4167 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4168 focus when clicked by default.
4170 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4172 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4175 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4177 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4178 Alejandro G. Castro (alex@igalia.com)
4180 * src/hildon-picker-dialog.c:
4181 (hildon_picker_dialog_class_init): install new "center-on-show"
4183 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4184 (hildon_picker_dialog_set_property): add setter code for the new
4186 (hildon_picker_dialog_get_property): add getter code for the new
4188 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4189 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4192 Fixes: NB#92849 (Selected item is not always visible when
4193 HildonTouchSelector is shown)
4195 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4197 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4198 Alejandro G. Castro (alex@igalia.com)
4200 * src/hildon-touch-selector.c:
4201 (_create_new_column): Do not connect to the "realize" signal of the
4203 (hildon_touch_selector_append_column): center on the selected items
4204 when a new column is appended.
4205 (hildon_touch_selector_select_iter): Factor out the code to select a
4206 column to hildon_touch_selector_scroll_to().
4207 (+search_nearest_element): Method to retrieve the nearest selected
4208 element to the visible area of the pannable area in a column.
4209 (+on_realize_cb): scroll to the initially selected item.
4210 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4211 the pannable area is realized, otherwise delay this until it is.
4212 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4213 selected items of a given column.
4214 (+hildon_touch_selector_center_on_selected): Public method to center
4215 all columns on the nearest selected item.
4216 * src/hildon-touch-selector.h: Add definition for
4217 hildon_touch_selector_center_on_selected().
4219 Implement public API to ensure visibility of all selected items in
4220 a HildonTouchSelector.
4222 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4224 Fixed a problem in the fading when calling the scroll_to API, and
4225 improve scrollbar fading handling.
4227 * src/hildon-pannable-area.c,
4228 (hildon_pannable_area_grab_notify): avoid the timeout when the
4230 (hildon_pannable_area_button_press_cb),
4231 (hildon_pannable_area_motion_notify_cb): Code style changes.
4232 (hildon_pannable_area_button_release_cb): Review the conditions
4233 when releasing the mouse button to avoid unrequired fading
4235 (hildon_pannable_area_scroll_to): Do not calculate and set the
4236 velocity if the scroll is not required.
4238 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4240 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4241 Don't check whether the new selector is NULL: it cannot be.
4242 Hold a reference to the selector while doing the replacement.
4244 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4247 unnecessary size_request in a removed widget.
4249 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4251 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4252 an unnecessary reference tracking that was leaking.
4254 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4256 Added delayed motion notify event handling, this way we can
4257 discard redrawing if more than 25 events arrive per second.
4259 * src/hildon-pannable-area.c,
4260 (hildon_pannable_area_init): Initialized the new private atributes
4261 controlling this timeout
4262 (hildon_pannable_area_dispose): Remove the timeout that controls
4263 the motion notify events.
4264 (hildon_pannable_area_scroll): Added a condition to control the
4265 use of the acceleration.
4266 (hildon_pannable_area_motion_event_scroll_timeout),
4267 (hildon_pannable_area_motion_event_scroll): Added this two
4268 functions, they handle the motion notify events inside the
4270 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4271 to the scroll method with the new function.
4272 (hildon_pannable_area_button_release_cb): We have to remove the
4273 timeout handler and move to the last position if the last motion
4274 events were not handled.
4276 Fixes: NB#97028 (Pannable area updates on every motion event)
4278 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4280 * src/hildon-pannable-area.c,
4281 (hildon_pannable_area_get_topmost): Added a new parameter to
4282 filter the the windows that do not include those events. Added
4283 also a condition when finding the window to filter windows that do
4284 not ask for those events.
4285 (hildon_pannable_area_button_press_cb),
4286 (hildon_pannable_area_button_release_cb),
4287 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4288 topmost function, we have added the new parameter.
4290 Fixes: NB#97458 (Pannable area prevents propagation of button
4293 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4295 * src/hildon-pannable-area.c,
4296 (hildon_pannable_area_initial_effect): Added controls before
4297 launching the timeout and the idle functions.
4298 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4299 of the method, in some situations it can return with TRUE and 0 in
4301 (hildon_pannable_area_button_press_cb): We do not need to set
4302 DELAY for fading out here.
4304 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4306 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4309 post-cleaning if the selection is not NULL.
4311 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4313 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4314 all items before restoring the selection.
4316 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-touch-selector.c:
4319 (+hildon_touch_selector_unselect_all):
4320 * src/hildon-touch-selector.h: New API to unselect all items in a
4321 column of the touch selector.
4323 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4325 * src/hildon-pannable-area.c,
4326 (hildon_pannable_area_redraw): Added a call to the refresh
4327 function inside the redraw because apparently in some cases the
4328 change in the adjustment does not imply a size allocate.
4330 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4331 despite the view not being scrollable)
4333 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4335 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4336 leak. Check for NULL before attempting to set the window title.
4338 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4341 whether to show or not the 'Done' button each time the dialog is
4342 shown, as it depends on the HildonTouchSelector selection mode.
4344 Fixes: NB#96226 (In multiple selection mode Done button is shown
4345 sometimes in listpicker)
4347 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4350 for the number of columns in the HildonTouchSelector more than once.
4352 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4354 * src/hildon-touch-selector.c: Minor documentation fixes.
4356 * src/hildon-picker-dialog.c (+_dialog_update_title)
4357 (_select_on_selector_changed_cb)
4358 (_update_title_on_selector_changed_cb)
4359 (on_selector_columns_changed): Update dialog title when there's no
4360 'Done' button and also when the number of columns in the selector
4364 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4365 (+_selection_changed, hildon_picker_button_on_dialog_response)
4366 (hildon_picker_button_selector_selection_changed)
4367 (+hildon_picker_button_selector_columns_changed)
4368 (hildon_picker_button_set_selector): Update button value and emit
4369 'value-changed' when the number of columns in the selector
4373 Fixes: NB#96225 (Dialog titles are not shown according to the
4374 values selected in the list picker)
4376 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4379 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4380 New "arrow-width" and "arrow-height" style properties to set the
4381 size of the arrow button.
4382 Set name of arrow button ("hildon-edit-toolbar-arrow").
4384 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4385 graphics from theme)
4387 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4389 * src/hildon-picker-button.c:
4390 (hildon_picker_button_selector_selection_changed): Use
4391 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4392 the dialog is present.
4394 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4395 the selection is accepted in the dialog)
4397 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4399 * src/hildon-color-chooser.h
4400 * src/hildon-color-chooser-dialog.h:
4401 Added G_BEGIN_DECLS and G_END_DECLS
4403 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4405 (_clean_current_selection): plug a leak in the list.
4407 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4409 * src/hildon-picker-dialog.c:
4410 (+free_path_list): Method to free a GList of GtkTreePaths.
4411 (_clean_current_selection), (_save_current_selection),
4412 (_restore_current_selection): Save the current selection in
4413 as a list of lists, to support multiple selection properly.
4415 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4417 patch by Claudio Saavedra (csaavedra@igalia.com)
4419 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4420 Store the press position.
4421 (+hildon_text_view_button_release_event): If the release position is
4422 close enough to the press position, move the cursor here. Otherwise,
4424 (hildon_text_view_class_init): Override GtkTextView press, release, and
4425 motion event handlers, disabling this way text selection through
4426 pointer interaction, and allowing the container widget to handle the
4429 Fixes: NB#95828 (HildonTextView functionality)
4431 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4433 Based on a patch by Iván Gómez (igomez@igalia.com)
4435 * src/hildon-button.[ch]
4436 * src/hildon-calendar.c
4437 * src/hildon-check-button.c
4438 * src/hildon-date-editor.c
4439 * src/hildon-date-selector.c
4440 * src/hildon-picker-button.c
4441 * src/hildon-time-editor.c
4442 * src/hildon-time-selector.c
4443 * src/hildon-touch-selector.[ch]:
4444 Documentation updates
4446 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4448 * src/hildon-pannable-area.c,
4449 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4450 threshold, it was required due to X events handling.
4452 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4454 * src/hildon-pannable-area.c,
4455 (hildon_pannable_area_grab_notify),
4456 (hildon_pannable_area_initial_effect),
4457 (hildon_pannable_area_button_press_cb),
4458 (hildon_pannable_area_button_release_cb),
4459 (hildon_pannable_area_scroll_cb),
4460 (hildon_pannable_area_scroll_to): Review the timeout management of
4461 the scrollbar, the frecuency was incorrectly set.
4463 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4465 * src/hildon-picker-button.c:
4466 (+hildon_picker_button_on_dialog_response),
4467 (hildon_picker_button_clicked): Present the dialog instead of
4468 running it with gtk_dialog_run().
4470 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4473 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4475 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4476 (hildon_app_menu_finalize): When a window is hidden it doesn't
4477 emit notify::is-topmost, so make sure than the menu also
4478 disappears in that case.
4479 (parent_window_topmost_notify): Renamed from parent_window_hidden
4481 Fixes: NB#94460 (stackable window's menu is not closed when its
4484 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-touch-selector-entry.c:
4487 (+hildon_touch_selector_entry_set_input_mode),
4488 (+hildon_touch_selector_entry_get_input_mode):
4489 * src/hildon-touch-selector-entry.h: New methods to access the input
4490 mode in the selector's entry.
4492 Fixes: NB#93410 (API required for setting IM mode in
4493 HildonTouchSelectorEntry)
4495 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4497 * configure.ac: post release version bump.
4498 * debian/changelog: version bump
4500 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4505 * configure.ac: Bump version.
4506 * debian/changelog: Updates.
4508 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4510 * src/hildon-touch-selector.c:
4511 (_hildon_touch_selector_has_multiple_selection): No need
4512 to initialize the variables here.
4514 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4516 * src/hildon-note-private.h
4517 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4518 (hildon_note_finalize, hildon_note_rebuild): Close information
4519 notes when they receive a button press.
4521 Fixes: NB#89890 (Information notes does not get disappeared after
4524 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4526 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4527 mark from the wizard title, as it's not really necessary. Also,
4528 do not display the page title if not set.
4530 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4532 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4533 (parent_window_hidden): Use the window's "is-topmost" property to
4534 detect when to hide the menu.
4536 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4538 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4539 (hildon_app_menu_finalize): If the parent window of the menu is
4540 hidden, hide the menu too.
4542 Fixes: NB#94460 (stackable window's menu is not closed when its
4545 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4548 * debian/libhildon1-examples.install
4550 * examples/Makefile.am:
4551 Use dh_install to install all examples.
4552 Use DEB_SRCDIR instead of defining SOURCE_DIR
4554 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4556 * configure.ac: post release version bump.
4557 * debian/changelog: version bump
4559 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4564 * configure.ac: bump version
4565 * debian/changelog: updates
4566 * debian/control: bump gtk+ dependency
4568 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4570 patch by Christian Dywan (christian@imendio.com)
4572 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4573 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4575 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4577 * src/hildon-check-button.c (hildon_check_button_init)
4578 (hildon_check_button_class_init, hildon_check_button_style_set)
4579 (hildon_check_button_apply_style):
4580 New "checkbox-size" style property.
4582 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4583 larger / configurable size)
4585 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4587 * configure.ac: post release version bump.
4588 * debian/changelog: version bump
4590 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4595 * configure.ac: bump version
4596 * debian/changelog: updates
4598 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4600 * doc/hildon-sections.txt
4601 * src/hildon-pannable-area.c
4602 * src/hildon-program.c
4603 * src/hildon-time-editor.c
4604 * src/hildon-touch-selector-entry.c:
4606 More documentation updates.
4608 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4610 * doc/hildon-sections.txt
4611 * src/hildon-caption.c
4612 * src/hildon-code-dialog.c
4613 * src/hildon-color-button.c
4614 * src/hildon-controlbar.c
4615 * src/hildon-date-editor.c
4616 * src/hildon-date-selector.c
4617 * src/hildon-edit-toolbar.c
4618 * src/hildon-find-toolbar.c
4619 * src/hildon-font-selection-dialog.c
4621 * src/hildon-program.c
4622 * src/hildon-range-editor.c
4623 * src/hildon-seekbar.c
4624 * src/hildon-time-editor.c
4625 * src/hildon-time-selector.c
4626 * src/hildon-volumebar-range.c
4627 * src/hildon-volumebar.c
4628 * src/hildon-vvolumebar.c
4629 * src/hildon-weekday-picker.c
4630 * src/hildon-window.c
4631 * src/hildon-wizard-dialog.c:
4633 Lots of documentation fixes.
4635 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4637 Patch contributed by Iván Gómez (igomez@igalia.com)
4639 * src/hildon-check-button.c:
4640 * src/hildon-date-button.c:
4641 * src/hildon-date-selector.c:
4642 * src/hildon-dialog.c:
4643 * src/hildon-edit-toolbar.c:
4644 * src/hildon-entry.c:
4645 * src/hildon-picker-button.c:
4646 * src/hildon-program.c:
4647 * src/hildon-text-view.c:
4648 * src/hildon-time-button.c:
4649 * src/hildon-touch-selector-entry.c:
4650 * src/hildon-window-stack.c:
4652 Add more "since" tags to the new API.
4654 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4656 * doc/hildon-sections.txt: Add below method.
4657 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4658 version for the hildonized scale.
4659 * src/hildon-gtk.h: Add the definition.
4661 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4663 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4665 * doc/hildon-sections.txt: Add missing entries for new methods.
4667 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4669 Added API to pannable are in order to get its adjustments. We
4670 added two properties to manage the values we had in the private
4673 * src/hildon-pannable-area.c:
4674 (hildon_pannable_area_class_init): Added hadjustment and
4675 vadjustment properties in order to expose horizontal and vertical
4677 (hildon_pannable_area_get_property),
4678 (hildon_pannable_area_set_property): Added code to handle the new
4680 (hildon_pannable_area_get_hadjustment),
4681 (hildon_pannable_area_get_vadjustment): API functions to get the
4683 * src/hildon-pannable-area.h:
4684 (hildon_pannable_area_get_hadjustment),
4685 (hildon_pannable_area_get_vadjustment): API functions to get the
4688 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4690 Fixed some leaks, after valgrinding.
4692 * src/hildon-touch-selector.c:
4693 (_default_print_func): Fixed a leak.
4694 (hildon_touch_selector_append_column): Fixed a leak.
4695 * src/hildon-date-button.c:
4696 (hildon_date_button_init): Fixed a leak.
4697 * src/hildon-date-selector.c
4698 (hildon_date_selector_finalize): Fixed a leak.
4700 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4702 Based on a patch by Christian Dywan (christian@imendio.com)
4704 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4706 * src/hildon-gtk.h: Add definition.
4708 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4710 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4712 * src/hildon-picker-button.c: (hildon_picker_button_init),
4713 (hildon_picker_button_new): Set the HildonButton::style property
4714 in the init method, to propagate the value to the derived classes.
4716 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4718 * src/hildon-button.c: (hildon_button_class_init): Do not make
4719 the "style" property a construct property.
4721 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4723 * src/hildon-wizard-dialog.h
4724 * src/hildon-wizard-dialog.c
4725 (hildon_wizard_dialog_set_forward_page_func)
4726 * src/hildon-pannable-area.h
4727 * src/hildon-pannable-area.c
4728 (hildon_pannable_area_set_size_request_policy):
4729 Documentation fixes.
4731 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4733 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4735 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4737 * doc/hildon-sections.txt: Added sections file.
4739 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/*.[ch]: Updates.
4744 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4746 * examples/hildon-progress-indicator-example.c: new file
4747 * examples/Makefile.am: include the new example program
4749 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4751 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4753 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4755 * configure.ac: post release version bump
4756 * debian/changelog: version bump
4758 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4763 * configure.ac: bump version
4764 * debian/changelog: updates
4765 * debian/control: bump gtk+ dependency
4767 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4769 * src/hildon-dialog.c: Mark as deprecated.
4770 * src/hildon-dialog.h: Mark as deprecated.
4771 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4772 from HildonDialog and still work, even if
4773 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4774 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4776 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4777 maemo changes) instead)
4779 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4781 * src/hildon-pannable_area.h:
4782 * src/hildon-pannable_area.c:
4783 (hildon_pannable_area_class_init),
4784 (hildon_pannable_area_set_property),
4785 (hildon_pannable_area_get_property),
4786 (hildon_pannable_area_size_request),
4787 (hildon_pannable_area_get_size_request_policy),
4788 (hildon_pannable_area_set_size_request_policy): Added new API
4789 allowing applications to control the request policy. Now they can
4790 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4791 children allocation (HILDON_MOVEMENT_CHILDREN).
4793 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4797 (hildon_gtk_tree_view_set_ui_mode)
4798 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4799 mode of treeviews and iconviews.
4801 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4803 * src/hildon-touch-selector-entry.c:
4804 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4805 of a GtkEntry to get proper theming.
4807 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4808 widget, not GtkEntry)
4810 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4812 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4813 no HildonWizardDialogPageFunc.
4815 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4817 Patch contributed by Iván Gómez (igomez@igalia.com)
4819 * src/hildon-app-menu.c:
4820 * src/hildon-button.c:
4821 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4822 * src/hildon-stackable-window.c:
4823 * src/hildon-time-selector.c:
4824 * src/hildon-touch-selector.c:
4825 * src/hildon-window.c:
4827 Add more "since" tags to the new API in hildon 2.2.
4829 2008-12-05 Tim Janik <timj@imendio.com>
4831 Patch contributed by Christian Dywan (christian@imendio.com)
4833 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4834 HildonSizeType, which are supplied by Gtk+ now.
4836 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4838 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4839 (with maemo changes) instead)
4841 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4843 Patch contributed by Iván Gómez (igomez@igalia.com)
4845 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4848 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4850 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4851 (some_page_func), (main): Update the example to use a
4852 HildonWizardDialogPageFunc function.
4854 * src/hildon-wizard-dialog-private.h: Add private data for
4855 the HildonWizardDialogPageFunc function usage.
4857 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4858 (destroy), (hildon_wizard_dialog_init), (response),
4859 (hildon_wizard_dialog_set_forward_page_func):
4860 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4861 that applications can use to stop a HildonWizardDialog to jump to
4864 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4867 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4869 * src/hildon-program.h
4870 * src/hildon-program-private.h
4871 * src/hildon-program.c (hildon_program_init)
4872 (hildon_program_set_common_app_menu)
4873 (hildon_program_get_common_app_menu):
4874 New API for setting a common HildonAppMenu for all
4875 HildonStackableWindows registered with the HildonProgram.
4877 * src/hildon-stackable-window.c
4878 (hildon_stackable_window_toggle_menu):
4879 Use the common HildonAppMenu if a window doesn't have a specific
4882 * src/hildon-app-menu-private.h
4883 * src/hildon-app-menu.c
4884 (hildon_app_menu_get_parent_window):
4885 Function to obtain the window a HildonAppMenu is attached to.
4886 (hildon_app_menu_set_parent_window):
4887 Hide the menu if the parent window is set to NULL.
4889 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4891 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4892 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4893 search widget to popup.
4895 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4897 * configure.ac: post release version bump
4898 * debian/changelog: version bump
4900 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4905 * configure.ac: bump version
4906 * debian/changelog: updates
4908 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4910 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4912 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4913 (hildon_window_stack_window_realized)
4914 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4915 Set the leader GdkWindow when a window is stacked and realized,
4916 unset it when it's unstacked.
4917 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4919 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4921 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-stackable-window.h
4924 * src/hildon-window-stack.h:
4925 Protect definition of HildonWindowStack using the preprocessor.
4927 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4929 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4930 Fix warning if all menu items are hidden.
4932 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4934 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4936 * src/hildon-controlbar.c:
4937 * src/hildon-hvolumebar.c:
4938 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4939 Multiple scale size defines updates.
4941 Fixes: NB#94322 (Scale Updates)
4943 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4945 * examples/hildon-app-menu-example.c (create_menu)
4946 Show items after adding them to the menu, as in the future the
4947 menu will no longer call gtk_widget_show() on the added items.
4949 * src/hildon-app-menu.c:
4950 Update example as explained above.
4952 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-app-menu.c
4955 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4956 Make sure that all menu items have finger height.
4958 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4960 * src/hildon-picker-dialog.c:
4961 (_on_dialog_response), (_save_current_selection),
4962 (_restore_current_selection), (_clean_current_selection),
4963 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4964 Defined new functions in order to save the current internal selector
4965 selection previous open the dialog, in case that the use cancel the
4966 interaction, so the widget restores the previous selection.
4968 Fixes: NB#92032 (In calendar application, date values in 'new event'
4971 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4973 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4975 * src/hildon-button.c: Add a reference to the button examples in
4976 hildon-button-example.c
4978 * examples/hildon-button-example.c: Added examples of the most
4979 common button layouts.
4981 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4983 * src/hildon-app-menu.c (hildon_app_menu_show)
4984 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4986 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4988 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4990 * src/hildon-picker-dialog.c:
4991 (hildon_picker_dialog_init): Initialize the signal id for
4992 HildonTouchSelector::columns-changed.
4993 (+on_selector_columns_changed): Set up the interaction mode everytime a
4994 column is added or removed from the HildonTouchSelector.
4995 (_hildon_picker_dialog_set_selector): Connect to
4996 HildonTouchSelector::columns-changed and keep track of it.
4998 Make sure to update the interaction mode of the dialog everytime a
4999 column is added or removed in the HildonTouchSelector.
5001 Fixes: NB#93228 (Done button is not shown always in listpicker)
5003 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5005 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5006 a new ::columns-changed signal.
5007 (hildon_touch_selector_append_column): Emit ::columns-changed.
5008 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5010 Add a ::columns-changed signal, emitted when the number of columns in a
5011 HildonTouchSelector changes.
5013 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5015 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5016 (_hildon_picker_dialog_set_selector): Factor out the code
5017 to set up the dialog interaction mode.
5019 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5021 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5022 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5023 to signal_changed_id.
5025 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5027 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5030 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5032 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5033 Updated the logical ids related to ampm format, as now it is required to
5034 show it correctly localized even on languages with no default
5035 abbreviations for am or pm
5036 (_check_am_pm_format): check correctly the 24h format gconf property
5038 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5040 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-button.c: Documentation updates.
5044 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5047 * src/hildon-caption.c: (hildon_caption_class_init):
5048 * src/hildon-color-button.c: (hildon_color_button_class_init):
5049 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5050 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5051 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5052 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5054 Remove deprecated GTK+ marshalers and replace them with the ones
5055 provided by GLib, for those available, add a marshaler for
5056 BOOLEAN:VOID, which is not available in GLib, and use it.
5058 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5060 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5061 the text from the previous column if there is no
5062 HildonTouchSelectorColumn::text-property set.
5064 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5066 * src/hildon-button.h
5067 * src/hildon-button.c (hildon_button_set_property)
5068 (hildon_button_get_property, hildon_button_class_init)
5069 (hildon_button_set_style, hildon_button_get_style):
5070 New "style" property to change the visual appearance of the
5073 * src/hildon-picker-button.c (hildon_picker_button_new):
5074 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5076 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5077 HildonButton look like PickerButton)
5079 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5081 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5082 column while building the default string.
5084 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5086 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5087 scroll indicator by default.
5089 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5091 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5093 * src/hildon-main.c: Fix the documentation for hildon_init()
5095 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5097 * doc/hildon-docs.sgml
5101 * src/hildon-window-stack-private.h
5102 * src/hildon-window-stack.h
5103 * src/hildon-window-stack.c:
5104 New HildonWindowStack object, that adds support for multiple
5105 stacks of windows per process.
5107 * src/hildon-stackable-window-private.h
5108 * src/hildon-stackable-window.h
5109 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5110 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5111 (hildon_stackable_window_show, hildon_stackable_window_hide)
5112 (hildon_stackable_window_class_init)
5113 (hildon_stackable_window_init):
5114 Use HildonWindowStack for stack management.
5116 * src/hildon-program.c (hildon_program_pop_window_stack)
5117 (hildon_program_peek_window_stack)
5118 (hildon_program_go_to_root_window):
5119 Add a fallback implementation to the deprecated functions using
5122 * examples/hildon-stackable-window-example.c:
5123 Use the new HildonWindowStack API.
5125 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5127 * src/hildon-stackable-window-private.h
5128 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5129 (hildon_stackable_window_hide, hildon_stackable_window_init):
5130 Remove all window stack management.
5132 * src/hildon-program-private.h
5133 * src/hildon-program.h
5134 * src/hildon-program.c (hildon_program_init)
5135 (hildon_program_pop_window_stack)
5136 (hildon_program_peek_window_stack)
5137 (hildon_program_go_to_root_window):
5138 Remove all window stack management and mark functions as
5141 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5143 * src/hildon-app-menu.c (hildon_app_menu_realize):
5144 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5146 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5148 * configure.ac: post release version bump
5149 * debian/changelog: version bump
5151 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5156 * configure.ac: bump version
5157 * debian/changelog: updates
5159 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5161 Based on initial code by Christian Dywan (christian@imendio.com)
5163 * doc/hildon-docs.sgml: Add section for hildon-main.
5164 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5165 * src/Makefile.am: Add new hildon-main.[ch]
5166 * src/hildon-defines.h: Update the icon sizes.
5167 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5168 new library initialization files and register icon sizes.
5169 * src/hildon-main.h: New declarations.
5170 * src/hildon.h: Include hildon-main.h
5172 Add new initialization functions to the library. These methods
5173 will register the hildon specific icon sizes and can be used in the
5174 future for other hildon specific bits.
5176 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5178 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5180 * src/hildon-window.c: (hildon_window_realize),
5181 (hildon_window_notify), (-hildon_window_update_title): Do not set
5182 the application name in the window title.
5184 Fixes: NB#89754 (Applications shouldn't display their names in the
5187 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5189 * src/hildon-note-private.h:
5190 * src/hildon-note.c: (hildon_note_set_property),
5191 (hildon_note_get_property), (hildon_note_class_init),
5192 (hildon_note_init), (hildon_note_finalize),
5193 (hildon_note_new_confirmation_with_icon_name),
5194 (hildon_note_new_information_with_icon_name):
5196 No need to mark as deprecated the actual code. Revert
5197 to avoid missing symbols in widgets using deprecated API.
5199 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5201 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5203 * src/hildon-volumebar.h
5204 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5205 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5207 * src/hildon-helper.h
5208 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5209 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5211 * examples/Makefile.am:
5212 Deprecate hildon-insensitive-example
5214 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5216 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5218 * examples/hildon-pannable-area-buttons-scroll-example.c:
5219 Make all buttons finger height
5221 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5223 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5225 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5226 update the day model only if it is really required, and to avoid the
5227 full-reconstruction aproach. Now it only add or remove the required days.
5229 The purpose of this is avoid superfluous HildonTouchSelector::changed
5232 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5233 with strange parameters)
5235 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5237 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5239 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5240 the WINDOW_TYPE property.
5242 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5244 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5247 Fix dependency to allow parallel compilation with make -jX
5249 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5251 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5252 color frame and some minor tweaks to make it more consistent with
5255 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5256 highlighted but not visible)
5258 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5260 * examples/Makefile.am: Fixed typo in the Makefile.am.
5262 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5264 Reviewed the use of MAEMO_GTK define, now we add the define in the
5265 compilation line, and we also add it to the pc file.
5267 * configure.ac: Added MAEMO_GTK define to the compilation command
5268 and removed it from the config.h.
5270 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5271 do not have to take care about this define if the library was
5275 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5277 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5279 * examples/Makefile.am,
5280 * examples/hildon-pannable-area-buttons-scroll-example.c,
5281 * examples/hildon-pannable-area-gesture-signals-example.c,
5282 * examples/hildon-pannable-area-scroll-jump-example.c,
5283 * examples/hildon-pannable-area-tree-view-example.c:
5284 Renamed the pannable area examples, now they have more meaningful
5287 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5289 * src/hildon-touch-selector.c:
5290 (hildon_touch_selector_set_column_selection_mode): Used of
5291 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5292 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5293 to avoid re-seting the same selection mode.
5295 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5296 breaks HildonPickerDialog)
5298 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5300 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5301 conditional in the Makefile.am
5303 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5305 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5306 Remove unused methods.
5308 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5310 * src/hildon-button.c (hildon_button_init):
5311 Make button images center-aligned by default
5313 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5316 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5317 activated, we have to think about how to deal with both defines
5318 MAEMO_GTK and MAEMO_CHANGES.
5320 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5322 * examples/hildon-app-menu-example.c (create_menu): Make all
5323 buttons finger size.
5325 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5327 Fixed the compilation without maemo gtk adding ifdefs with
5328 MAEMO_GTK define to the code, we have to check this version more
5331 * examples/Makefile.am: Added control to avoid some examples that
5332 just make sense with maemo gtk.
5335 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5336 hildon modes with the define.
5338 * examples/hildon-edit-toolbar-example.c,
5339 (create_icon_view): Create the icon view without hildon-gtk
5340 helpers if we are not using maemo gtk.
5342 * src/hildon-touch-selector.c,
5343 (_create_new_column): Create the treeview without hildon-gtk
5344 helpers if we are not using maemo gtk.
5346 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5348 * src/hildon-pnnable-area.c,
5349 (hildon_pannable_area_dispose),
5350 (hildon_pannable_area_button_press_cb),
5351 (hildon_pannable_area_child_mapped),
5352 (hildon_pannable_area_add),
5353 (hildon_pannable_area_remove): Added code to control the position
5354 of the event_window when adding and removing children from the
5355 pannable. We have to raise the event window when the child is
5358 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5359 selection mode using custom widget inside pannable)
5361 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5363 * configure.ac: post release version bump
5364 * debian/changelog: version bump
5366 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5371 * configure.ac: bump version
5372 * debian/changelog: updates
5374 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5376 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5377 search mode, in order to avoid lose the focus on the treeview when
5378 a hw key (like enter) is pressed.
5380 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5381 in HildonDateSelector dialog)
5383 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5385 * debian/rules: Added --enable-maintainer-mode
5386 * Makefile.am: Added ACLOCAL_AMFLAGS
5388 This allows to properly regenerate the Makefiles if you modify the
5389 configure.ac or any Makefile.am.
5391 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5393 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5394 properties, not needed at all.
5396 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5398 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5400 * src/hildon-note.c: (hildon_note_set_property),
5401 (hildon_note_get_property), (hildon_note_class_init),
5402 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5403 (hildon_note_new_confirmation_add_buttons): Remove icons.
5404 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5405 (hildon_note_new_information_with_icon_name): Deprecate.
5406 (hildon_note_new_confirmation): Act directly, without calling
5407 the deprecated constructor.
5408 (hildon_note_new_information): Act directly, without calling
5409 the deprecated constructor.
5410 * src/hildon-note.h: Mark deprecate methods as such.
5411 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5412 not run tests on the deprecated methods if built with deprecation
5415 Fixes: NB#91688 (Never show icons in information notes/confirmation
5418 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5420 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5421 (hildon_app_menu_key_press): Remove leftover usage of the
5422 private structure in HildonAppMenu struct.
5423 * src/hildon-app-menu.h: Remove leftover private structure
5424 from the HildonAppMenu struct.
5426 Fixes a crasher when using the HildonAppMenu.
5428 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5430 * src/hildon-picker-dialog.c: Use appropriate logical id
5431 for the default "Done" text.
5433 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5435 * configure.ac: post release version bump
5436 * debian/changelog: version bump
5438 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5440 Modified the way to scroll to the current selection just when the touch
5441 selector is shown on the screen, avoiding a g_idle. Added too a property
5442 to configure this behaviour. See hildon_pannable_area_jump_to_child
5443 documentation for more information.
5445 * src/hildon-touch-selector.c
5446 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5447 Added 'initial-scroll' property
5448 (hildon_touch_selector_set_property): Added
5449 (hildon_touch_selector_map): Removed as not required anymore
5450 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5451 only a concrete column, instead of iterate along all the columns
5453 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5458 * configure.ac: bump version
5459 * debian/changelog: updates
5461 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5463 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5464 compilation time warnings.
5466 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5468 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5469 the default value for HildonPannableArea::mov-mode to
5470 HILDON_PANNABLE_AREA_MODE_VERT.
5472 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5474 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5476 Reverting following commit:
5478 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5480 * src/hildon-app-menu-private.h
5481 * src/hildon-app-menu.[ch]
5482 * src/hildon-button.[ch]
5483 * src/hildon-check-button.[ch]
5484 * src/hildon-entry.[ch]
5485 * src/hildon-pannable-area.[ch]
5486 * src/hildon-text-view.[ch]:
5487 Added private field to the object's structure.
5489 because it causes an ABI breakage. We will need to introduce these
5490 changes later at some point. See NB#91636 for an extensive
5491 explanation and status.
5493 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5495 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5497 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5498 remove special cases that are no longer necessary.
5500 Fixes: NB#91016 (Change toolbar sizes, simplification)
5502 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5505 is shown in the cancel note.
5507 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5509 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5510 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5511 (hildon_seekbar_init): Remove steppers, remove expose event.
5512 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5514 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5516 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5518 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5519 label font to "SmallSystemFont" for vertically arranged buttons.
5521 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5524 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5526 * src/hildon-check-button.c
5527 (hildon_check_button_set_active, hildon_check_button_clicked):
5528 Don't access private parts directly, use getters instead.
5530 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-check-button.c (hildon_check_button_new):
5533 Align the contents of the check button to the left.
5535 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5537 * src/hildon-pannable-area.c,
5538 (hildon_pannable_area_scroll_to),
5539 (hildon_pannable_area_jump_to),
5540 (hildon_pannable_area_scroll_to_child),
5541 (hildon_pannable_area_jump_to_child): Replace the mapped
5542 precondition of these functions with the realized, it is the
5543 correct state of the widget in this case. Changed the
5544 documentation according to this modification.
5546 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5548 Added a new EXTRA_CFLAGS option to add the deprecated define to
5549 the compilation command. This way we can avoid using the define in
5550 the documentation compilation.
5552 * configure.ac: Defined EXTRA_CFLAGS.
5554 * examples/Makefile.am:
5556 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5558 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5560 * src/hildon-picker-dialog.c:
5561 Defined a utility macro with the desired touch selector height
5562 Removed currently unused separator, and title_label variables from
5564 (hildon_picker_dialog_init): Removed code related to the creation
5565 of unused private variables title_label and separator.
5566 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5567 to ensure correct visualization of the touch selector inside the dialog.
5568 * src/hildon-touch-selector.c
5569 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5570 ensure a concrete height of the widget.
5572 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5575 * tests/Makefile.am:
5577 Remove spurious whitespaces.
5579 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5581 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5582 compilation warning after the cancel button removal.
5584 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5586 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5588 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5589 Makefile.am, that way we can choose not to compile some examples
5590 and tests of the deprecated widgets.
5592 * examples/Makefile.am: Divided the sources in deprecated and
5595 * src/Makefile.am: Added undef statement of the deprecated
5596 symbol to the enums file generation process.
5598 * src/hildon-color-chooser-dialog.c
5599 * src/hildon-color-chooser-dialog.h
5600 * src/hildon-color-button.c
5601 * src/hildon-color-button.h
5602 * src/hildon-color-chooser.c
5603 * src/hildon-color-chooser.h
5604 * src/hildon-controlbar.c
5605 * src/hildon-controlbar.h
5606 * src/hildon-date-editor.c
5607 * src/hildon-date-editor.h
5608 * src/hildon-hvolumebar.c
5609 * src/hildon-hvolumebar.h
5610 * src/hildon-private.c
5611 * src/hildon-private.h
5612 * src/hildon-range-editor.c
5613 * src/hildon-range-editor.h
5614 * src/hildon-seekbar.c
5615 * src/hildon-seekbar.h
5616 * src/hildon-time-editor.c
5617 * src/hildon-time-editor.h
5618 * src/hildon-time-picker.c
5619 * src/hildon-time-picker.h
5620 * src/hildon-volumebar.c
5621 * src/hildon-volumebar.h
5622 * src/hildon-vvolumebar.c
5623 * src/hildon-vvolumebar.h
5624 * src/hildon-bread-crumb-trail.h
5625 * src/hildon-bread-crumb-trail.c
5626 * src/hildon-calendar-popup.c
5627 * src/hildon-calendar-popup.h
5628 * src/hildon-weekday-picker.c:
5629 * src/hildon-weekday-picker.h:
5630 * src/hildon-bread-crumb-widget.c:
5631 * src/hildon-bread-crumb-widget.h:
5632 * src/hildon-bread-crumb.c:
5633 * src/hildon-bread-crumb.h:
5634 * src/hildon-calendar.c:
5635 * src/hildon-calendar.h:
5636 * src/hildon-caption.c:
5637 * src/hildon-code-dialog.c:
5638 * src/hildon-code-dialog.h:
5639 * src/hildon-font-selection-dialog.c:
5640 * src/hildon-font-selection-dialog.h:
5641 * src/hildon-get-password-dialog.c:
5642 * src/hildon-get-password-dialog.h:
5643 * src/hildon-login-dialog.c:
5644 * src/hildon-login-dialog.h:
5645 * src/hildon-number-editor.c:
5646 * src/hildon-number-editor.h:
5647 * src/hildon-set-password-dialog.c:
5648 * src/hildon-set-password-dialog.h:
5649 * src/hildon-sort-dialog.c:
5650 * src/hildon-sort-dialog.h: This is the list of deprecated
5653 * src/hildon-touch-selector.c:
5654 * src/hildon-window.c: Added undef statement to avoid compilation
5657 * tests/Makefile.am: Divided the sources in deprecated and
5660 * tests/check_test.c,
5661 (configure_tests): Marked the deprecated code that was adding
5662 suites with deprecated tests.
5664 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5666 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5668 * src/hildon-touch-selector.c: (_default_print_func): Do not
5669 duplicate a string returned by gtk_tree_model_get(), it is already
5672 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5675 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5677 * src/hildon-pannable-area.c
5678 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5679 method, it had problems when adding a widget with viewport the
5680 second time. Now checks if it already has a viewport and uses it.
5682 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5685 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5687 * src/hildon-pannable-area.c,
5688 (hildon_pannable_area_scroll_to),
5689 (hildon_pannable_area_jump_to),
5690 (hildon_pannable_area_scroll_to_child),
5691 (hildon_pannable_area_jump_to_child): Added a precondition to the
5692 scroll and jump to functions: the widget must be mapped before we
5693 can safely call these functions. We have also added documentation
5694 to the functions to explain how to use them in this situation.
5697 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5699 Reviewed the threading handling of the pannable widget, we have
5700 used the gdk_threads_add_timeout function instead of the usual
5701 glib handlers. This avoids some problems with the threads.
5703 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5704 (hildon_pannable_area_initial_effect),
5705 (hildon_pannable_area_scroll_indicator_fade),
5706 (hildon_pannable_area_button_press_cb),
5707 (hildon_pannable_area_timeout),
5708 (hildon_pannable_area_motion_notify_cb),
5709 (hildon_pannable_area_button_release_cb),
5710 (hildon_pannable_area_scroll_cb),
5711 (hildon_pannable_area_scroll_to): Removed the
5712 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5713 gdk_threads_add_timeout.
5715 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5717 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5722 * configure.ac: bump version
5723 * debian/changelog: updates
5725 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5727 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5728 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5729 * src/hildon-color-chooser-dialog.c:
5730 (hildon_color_chooser_dialog_init):
5731 * src/hildon-font-selection-dialog.c:
5732 (hildon_font_selection_dialog_init):
5733 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5735 Remove all cancel/close-like dialogs, as these are not going to be
5738 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5740 * src/hildon-note.c: (hildon_note_rebuild),
5741 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5744 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5746 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5748 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5749 sure all buttons are shown, even the Cancel/Close-like ones.
5751 Fixes: NB#90861 (Custom Confirmation dialogs should be
5752 protected from cancel button removal)
5754 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5756 * debian/control: Change libhildon1-examples dependency from libhildon1
5758 * debian/libhildon1-examples.install
5760 * Makefile.am: Modified the final install directory for the examples on
5761 package libhildon1-examples
5762 * Makefile.static: Update clean target in order to remove all the binary
5765 Changes suggested by Claudio after review new libhildon1-examples package
5767 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5769 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5770 * src/hildon-touch-selector.c: Ditto.
5772 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5774 * debian/control: Added new package libhildon1-examples, in order to pack
5775 the current hildon examples as documentation
5776 * debian/rules: Not to compress .c files, modify some includes on the
5777 examples (as normally are compiled locally, but when installed it will
5778 require to include the installed libhildon1 library), and rename
5780 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5781 install all the example files on the new example package
5782 * examples/Makefile.static: Added static makefile that can be used to
5783 compile the examples, once installed the new example package
5784 * examples: Most of the examples were modified in order to grant that
5785 all use only '#include "hildon.h"', in order to be easy to prepare
5786 it on the example package
5788 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5791 * debian/libhildon1-dev.install
5792 * debian/libhildon1-doc.install:
5793 Move all gtk-doc files to a separate libhildon1-doc package.
5795 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5797 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5799 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5801 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5803 * debian/rules: Fixed a error in order to avoid unnecessary calls
5804 to autogen.sh on package building
5806 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5808 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5810 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5812 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5815 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5817 * src/hildon-picker-button.c
5818 (hildon_picker_button_finalize):
5819 Free priv->done_button_text
5821 * src/hildon-time-button.c
5822 (hildon_time_button_set_time)
5823 * src/hildon-picker-button.c
5824 (hildon_picker_button_clicked)
5825 (hildon_picker_button_selector_selection_changed)
5826 (hildon_picker_button_set_selector)
5827 * src/hildon-date-button.c
5828 (hildon_date_button_set_date):
5829 Free strings returned by hildon_touch_selector_get_current_text()
5831 * src/hildon-button.c (hildon_button_construct_child):
5832 Fix leaks in priv->image and priv->label_box
5834 Fixes: NB#90535 (Memory leak in picker button)
5836 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5838 * src/hildon-button.c: (hildon_button_get_property): Do not access
5839 private elements directly, use getters instead.
5841 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5843 * src/hildon-app-menu-private.h
5844 * src/hildon-app-menu.c
5845 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5846 Store the menu's parent window.
5848 * src/hildon-stackable-window.c
5849 (hildon_stackable_window_toggle_menu)
5850 (hildon_stackable_window_finalize):
5851 Set the menu's parent window when the menu is shown, unset it when
5854 * src/hildon-app-menu.c
5855 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5856 (hildon_app_menu_class_init):
5857 Send unhandled keyboard accelerators to the parent window.
5859 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5861 * src/hildon-stackable-window.c
5862 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5864 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5866 * configure.ac: post release version bump
5868 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5871 * configure.ac: Bump version
5872 * debian/changelog: Updates
5873 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5876 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5878 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5881 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5882 GtkMenu with Hildon style.
5884 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5886 * src/hildon-picker-button.c:
5887 (hildon_picker_button_set_done_button_text): Set the dialog's
5888 done button text here as well.
5890 Fixes: NB#90232 (Picker button does not set the label on done button
5891 for the second time)
5893 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5895 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5898 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5900 * src/hildon-app-menu.c (hildon_app_menu_insert)
5901 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5902 the HildonAppMenu to be activatable using keyboard accelerators
5903 when the menu is not being shown.
5905 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5907 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5909 * src/hildon-stackable-window.c
5910 (hildon_stackable_window_show):
5911 Don't hide old windows automatically when new windows are shown:
5912 this is now a task for the window manager.
5913 (hildon_stackable_window_class_init)
5914 (hildon_stackable_window_hide):
5915 Remove windows from the stack everytime they're hidden.
5916 (hildon_stackable_window_realize):
5917 Don't change the _NET_WM_WINDOW_TYPE property. Use
5918 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5919 it as a stackable window.
5921 * src/hildon-program.c
5922 (hildon_program_pop_window_stack):
5923 Just hide the window to remove it from the stack.
5924 (hildon_program_go_to_root_window):
5925 Don't call gtk_widget_show(), this is now a task for the window
5928 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5930 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5932 * src/hildon-button.c
5933 (hildon_button_construct_child):
5934 Don't pack anything in the button until text or image are
5935 set. This allows adding a custom child after creating the button
5936 with hildon_button_new().
5937 (hildon_button_finalize, hildon_button_class_init)
5938 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5939 alignment and the label box even when they're not packed in the
5942 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5944 * src/hildon-touch-selector.h:
5945 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5946 currently the type definition was using GTK_TYPE_VBOX
5947 * src/hildon-touch-selector.c:
5948 Added some implementation notes in order to clarify that any other widget
5949 added without the column related API will not be included on the
5950 selection logic, and how the widget is freed, as some people ask about
5952 (hildon_touch_selector_remove): Reimplemented in order to free properly
5953 the column related data when you remove the private hbox.
5954 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5955 to get a proper HildonTouchSelectorColumn documentation
5957 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5959 * src/hildon-touch-selector-entry.c:
5960 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5961 text in the GtkEntry and there is no item selected. Fixes a
5964 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-app-menu-private.h
5967 * src/hildon-app-menu.[ch]
5968 * src/hildon-button.[ch]
5969 * src/hildon-check-button.[ch]
5970 * src/hildon-entry.[ch]
5971 * src/hildon-pannable-area.[ch]
5972 * src/hildon-text-view.[ch]:
5973 Added private field to the object's structure.
5975 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5977 * configure.ac: post-release version bump
5979 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5983 * configure.ac: pre-release version bump
5985 * debian/changelog: updates.
5987 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5989 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5990 Disconnect the handler for HildonTouchSelector::changed.
5992 (hildon_picker_button_selector_selection_changed): Update the button
5993 value if the selection change was not triggered by the
5996 (hildon_picker_button_set_selector): connect to
5997 HildonTouchSelector::changed.
5999 Fixes: NB#89650 (Picker button is not updated, when selection in
6000 selector has changed)
6002 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6004 * src/hildon-picker-dialog.c
6005 (hildon_picker_dialog_realize): Removed as not required
6006 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6007 * src/hildon-picker-button.c
6008 (_current_selector_empty): New function, checks if the selector is empty
6009 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6010 if the current selector is empty, in order to avoid to show the dialog
6011 close the dialog in this case (and shows a g_warning).
6013 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6015 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6017 * src/hildon-pannable-area.c,
6018 (hildon_pannable_area_scroll): Added clause to stop movement when
6019 the child of pannable is smaller than one page.
6020 (hildon_pannable_area_scroll_to): Added conditions to avoid
6021 starting the scrolling movement if the child is smaller than one
6022 page, the complete child is in the screen, we do not have to move.
6024 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6026 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6028 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6029 this is managed automatically by the widget when the size of the
6032 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6034 * src/hildon-picker-button.c
6035 (hildon_picker_button_set_done_button_text): Make a copy of the
6036 text, and free the previous value.
6038 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6040 * src/hildon-touch-selector-entry.c:
6041 (hildon_touch_selector_entry_print_func): Return the selected row's
6042 text if the entry is empty.
6044 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6047 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6049 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6051 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-check-button.h
6055 * src/hildon-check-button.c
6056 * examples/hildon-check-button-example.c:
6057 HildonCheckButton is now a new widget. 'toggled' signal added.
6059 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6061 * src/hildon-program-private.h
6062 * src/hildon-program.c (hildon_program_init)
6063 (hildon_program_finalize): Removed unused variables group_leader
6064 and name from HildonProgramPrivate.
6066 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-check-button.c (hildon_check_button_set_active)
6069 (hildon_check_button_get_active, hildon_check_button_new): Use
6070 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6072 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6074 * src/hildon-touch-selector.h
6075 (hildon_touch_selector_set_column_attributes): added deprecation
6076 guard HILDON_DISABLE_DEPRECATED
6077 * src/hildon-time-selector.c
6078 (hildon_time_selector_set_time)
6079 (hildon_time_selector_get_time): Fixed a typo on documentation
6080 * src/hildon-touch-selector.c: update HildonTouchSelector and
6081 HildonTouchSelectorColumn documentation
6082 * src/hildon-touch-selector-entry.c: update "text-column" property
6084 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6085 to be added to the general documentation.
6087 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6089 * examples/hildon-pannable-area-example-4.c,
6091 * examples/hildon-pannable-area-example.c,
6092 (main): Modified the code in order to use the container add, with
6093 viewport treeviews could have problems if they are really big.
6095 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6097 * src/hildon-weekday-picker.c,
6098 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6099 the agreement regarding deprecation in the library.
6101 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6103 * examples/hildon-picker-button-multicolumn-example.c:
6104 (main): Use custom "done" button text.
6106 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6107 (hildon_picker_button_set_property),
6108 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6109 (hildon_picker_button_init),
6110 (+hildon_picker_button_get_done_button_text),
6111 (+hildon_picker_button_set_done_button_text): New methods to customize
6112 the "done" button label in the launched HildonPickerDialog. Also,
6115 * src/hildon-picker-button.h: add the public API.
6117 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6119 * src/hildon-date-selector.h:
6120 * src/hildon-picker-dialog.h:
6121 * src/hildon-time-selector.h:
6122 * src/hildon-touch-selector-column.h:
6123 * src/hildon-touch-selector.h:
6125 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6126 declarations. Fixes gtk-doc warnings.
6128 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6130 * src/hildon-picker-dialog.h
6131 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6132 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6134 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6135 long text is set as label for done button)
6137 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6139 * src/hildon-dialog.c (hildon_dialog_add_button):
6140 Set fixed width to all buttons in the HildonDialog.
6142 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6144 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6146 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6147 Set widget name using class name plus "-finger" or "-thumb".
6149 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6151 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6152 'clicked' when the state of the button is manually changed.
6154 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6156 * src/hildon-app-menu.c (hildon_app_menu_realize)
6157 (hildon_app_menu_unrealize, hildon_app_menu_init)
6158 (hildon_app_menu_class_init, item_visibility_changed):
6159 Change the menu layout when the size of the screen changes.
6160 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6161 Show warning only when changing the number of colums using the
6164 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6166 * debian/compat: Set to 5
6167 * debian/control: Update dependencies.
6168 * debian/libhildon1-dbg.install: Remove.
6169 * debian/libhildon1-dev.install: Update according to cdbs paths.
6170 * debian/libhildon1.install: Update according to cdbs paths.
6171 * debian/rules: Switch to cdbs.
6173 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6176 'item' variable renamed to 'filter'
6178 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-app-menu.c (hildon_app_menu_insert)
6181 (hildon_app_menu_add_filter, remove_item_from_list)
6182 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6183 Don't leak hidden items when the menu is destroyed.
6185 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6187 * src/hildon-app-menu.c (hildon_app_menu_insert)
6188 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6189 (hildon_app_menu_set_columns, item_visibility_changed)
6190 (filter_visibility_changed, hildon_app_menu_repack_filters)
6191 (hildon_app_menu_repack_items):
6192 Repack items and filters separately.
6194 Don't repack all items, change only the ones that are needed to
6197 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6199 * src/Makefile.am: added hildon-touch-selector-column.h
6201 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6203 * src/hildon-touch-selector.c: added the property "text-column" to the
6204 class HildonTouchSelectorColumn, and related get/set functions
6205 (_default_printf_func): updated to use "text-column" property
6206 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6207 "text-column" in his documentation, as this is now included on
6208 HildonTouchSelectorColumn. The get/set_property can still be used,
6209 working as a wrapper to the concrete column "text-column" property
6210 (_text_column_modified): callback added in order to handle the signal
6211 "notify::text-column" of the concrete HildonTouchSelectorColumn
6212 (hildon_touch_selector_entry_get_text_column)
6213 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6214 modified in order to use the HildonTouchSelectorColumn "text-column"
6216 * src/hildon-time-selector.c:
6217 * src/hildon-date-selector.c:
6218 * examples/hildon-touch-selector-example.c
6219 * examples/hildon-touch-selector-multi-cells-example.c
6220 * examples/hildon-picker-button-multicolumn-example.c
6221 Set the right value to "text-column" property on the creation of a new
6222 column using hildon_touch_selector_append_column()
6224 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6226 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6228 * src/hildon-app-menu.c
6229 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6230 updating the layout of the menu, don't create all widgets again,
6231 just repack the items in their new places.
6233 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6235 * src/hildon-time-selector.c
6236 (hildon_time_selector_get_time)
6237 (hildon_time_selector_set_time)
6238 Added documentation of these public methods
6240 * src/hildon-date-button.h
6241 * src/hildon-touch-selector-column.h
6242 * src/hildon-time-button.h
6243 * src/hildon-picker-dialog.h
6244 * src/hildon-time-selector.h
6245 * src/hildon-picker-button.h
6246 * src/hildon-touch-selector.h
6247 * src/hildon-time-picker.h
6248 * src/hildon-date-selector.h
6249 * src/hildon-touch-selector-entry.h
6250 Modified in order to use hildon-widgets code style
6252 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6254 Added deprecated support to the compilation process using
6255 HILDON_DISABLE_DEPRECATED
6257 * configure.ac: Added the --disable-deprecated to the configure
6260 * src/hildon-weekday-picker.c:
6261 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6262 to use the deprecated support. We will update the other deprecated
6263 widgets status in a new patch.
6265 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6267 * configure.ac: Fixed typo with fatal warnings support, the
6268 variable name was not correct
6270 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6272 * src/hildon-app-menu.c
6273 * src/hildon-program.c: Update documentation.
6275 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6277 * configure.ac: Post-release version bump.
6279 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6284 * configure.ac: Pre-release version bump.
6285 * debian/changelog: Updates.
6287 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6289 * NEWS: Update news for previous releases.
6291 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6293 * examples/hildon-touch-selector-multi-cells-example.c:
6294 (create_selector): Update the example to use
6295 hildon_touch_selector_append_column() with a NULL renderer and set
6296 the renderers later.
6297 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6298 passed a NULL renderer. This is documented behavior now.
6300 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6301 This must be used if the developer wants full control on the layout of
6302 the renderers to be added to the column.
6304 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6306 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6308 * src/hildon-touch-selector.c: Documentation fixes.
6310 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6312 * src/hildon-wizard-dialog-private.h: Remove image and box.
6313 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6314 (hildon_wizard_dialog_set_property), (response): Completely remove
6315 image/icon support, and the containers required for the layout.
6317 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6319 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6321 * src/hildon-app-menu.c: Updated documentation.
6323 * src/hildon-stackable-window.c
6324 (hildon_stackable_window_set_main_menu): Unref the old menu after
6325 ref'ing the new one.
6327 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6329 * src/hildon-stackable-window.c
6330 (hildon_stackable_window_set_main_menu): Unref the previous menu
6331 instead of destroying it.
6333 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6334 floating reference and set has_user_ref_count to FALSE to make
6335 HildonAppMenu act like a normal ref-counted widget and not a
6338 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6341 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6343 * src/hildon-touch-selector-column.h: new file
6344 * src/hildon-touch-selector.h
6345 * src/hildon-touch-selector.c
6346 Implemented GtkCellLayout interface, in order to allow to configure
6347 the cell layout on each individual selector column
6348 (hildon_touch_selector_set_column_attributes): marked as deprecated
6349 * examples/hildon-touch-selector-multi-cells-example.c
6350 Example of how to use the GtkCellLayout interface on the selector
6352 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6354 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6356 * src/hildon-app-menu.h
6357 * src/hildon-app-menu.c
6358 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6359 (hildon_app_menu_append, hildon_app_menu_prepend):
6360 New methods to prepend, insert and move items in the menu.
6362 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6364 * src/hildon-wizard-dialog.c:
6366 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6368 (create_title): Update logical IDs and related code.
6369 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6371 * src/hildon-wizard-dialog.h: Note that
6372 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6373 point, as it is not used anymore.
6375 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6377 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6379 * src/hildon-note.c:
6380 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6381 shown. Do not display an icon in confirmation notes nor information
6383 (hildon_note_set_button_text): Update logical ID for cancel button.
6385 Fixes: NB#88850 (Update HildonNote button strings + signals)
6387 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6389 * src/hildon-stackable-window.c
6390 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6392 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6394 * src/hildon-app-menu-private.h
6395 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6396 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6397 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6398 temporary property 'columns' to change the number of columns.
6400 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6402 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6404 * examples/hildon-note-example.c: (on_information_clicked),
6405 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6406 debugging information.
6407 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6409 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6410 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6411 in order to close: this will be handled by the WM from now on.
6413 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6415 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6417 * src/hildon-app-menu-private.h
6418 * src/hildon-app-menu.c
6419 (hildon_app_menu_append, hildon_app_menu_add_filter)
6420 (button_visibility_changed, hildon_app_menu_apply_style)
6421 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6422 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6423 layout everytime a button (item or filter) is shown or hidden.
6425 * src/hildon-stackable-window.c
6426 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6429 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6431 * src/hildon-touch-selector.c:
6432 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6433 that the treeview inside the touch selector is in fremantle hildon mode
6434 * examples/hildon-date-button-example.c
6435 * examples/hildon-picker-button-multicolumn-example.c
6436 * examples/hildon-touch-selector-entry-example.c
6437 * examples/hildon-touch-selector-example.c
6438 * examples/hildon-time-button-example.c
6439 * examples/hildon-picker-button-example.c:
6440 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6442 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6444 * examples/hildon-text-view-example.c: (main): Remove the
6445 gtkrc bits, now handled by the theme.
6447 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6449 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6452 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6454 * po/Makefile.am: Install properly the mo files.
6455 * po/en_GB.po: Update translation, to ease testing purposes.
6457 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6459 * examples/hildon-picker-button-example.c: (main): Select an item
6460 in the selector before setting it to the button.
6462 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6464 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6465 Update button's value if the selector has an item active.
6467 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6468 'value' with the selector)
6470 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6472 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6473 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6474 (hildon_picker_button_class_init): Plug the finalize method.
6475 (hildon_picker_button_set_selector): If there's a previously set
6476 selector, unref'it before setting a new one.
6478 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6479 HildonTouchSelector)
6481 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6483 * src/hildon-touch-selector-entry.c:
6484 (hildon_touch_selector_entry_changed): Check if there is no text
6485 selected before setting the entry text.
6488 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6490 * src/hildon-touch-selector.h
6491 * src/hildon-touch-selector.c
6492 (hildon_touch_selector_get_active)
6493 (hildon_touch_selector_set_active): New methods to set/get the
6494 index of the selected item.
6496 * src/hildon-picker-button.h
6497 * src/hildon-picker-button.c
6498 (hildon_picker_button_get_active)
6499 (hildon_picker_button_set_active): New methods to set/get the
6500 index of the selected item.
6502 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6504 * configure.ac: post-release version bump.
6506 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6510 * configure.ac: Pre-release version bump.
6511 * debian/changelog: Updates.
6512 * debian/control: Add myself as maintainer and depend on l10n
6515 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6517 * src/hildon-window.c
6518 (hildon_window_set_main_menu)
6519 * src/hildon-stackable-window.c
6520 (hildon_stackable_window_set_main_menu):
6521 Updated documentation.
6523 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6525 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6526 Don't free selector->priv manually.
6529 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6532 (hildon_gtk_window_set_progress_indicator):
6533 * src/hildon-gtk.h: Added the new API
6534 hildon_gtk_window_set_progress_indicator, it changes the state of
6535 the window progress hint.
6537 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6539 * src/hildon-button.c
6540 * src/hildon-stackable-window.c: Minor documentation updates.
6542 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6544 * src/hildon-stackable-window.c: Updated documentation.
6546 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6548 * src/hildon-defines.h: Update margins definitions
6549 to the Fremantle sizes.
6552 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6554 * src/hildon-touch-selector.c,
6555 (_hildon_touch_selector_set_model): Cleaning the code after
6556 review, removed g_print and #if 0 from the code.
6558 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6560 * src/hildon-edit-toolbar.c: Update documentation.
6562 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6564 * src/hildon-check-button.h
6565 * src/hildon-check-button.c
6566 (hildon_check_button_set_label, hildon_check_button_get_label)
6567 * examples/hildon-check-button-example.c
6568 (button_clicked_cb):
6569 Removed deprecated methods.
6571 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6573 * src/hildon-text-view.c:
6574 Add sample code to the documentation.
6576 * src/hildon-entry.h
6577 * src/hildon-text-view.h:
6578 Minor cosmetic changes.
6580 * src/hildon-entry.c:
6581 Add sample code to the documentation.
6582 (hildon_entry_init, hildon_entry_refresh_contents):
6583 Don't allow NULL values in the placeholder.
6585 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6587 * doc/hildon-docs.sgml
6589 * examples/Makefile.am
6590 * examples/hildon-text-view-example.c
6592 * src/hildon-text-view.c
6593 * src/hildon-text-view.h
6595 New HildonTextView widget, with example.
6597 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6599 * po/POTFILES.in: Add missing files with translatable strings.
6600 Partially fixes NB#88287.
6602 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6604 * examples/hildon-pannable-area-example-2.c: (main): No need to
6605 set the cellrenderer height inside hildon touch lists, the theme does
6608 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6610 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6611 they are integrated in the theme.
6613 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6615 * examples/hildon-entry-example.c: Update the example adding
6616 widgets to modify the text and the placeholder of the HildonEntry.
6618 * src/hildon-entry.c: Show the placeholder everytime the widget
6619 is empty and loses the focus.
6621 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6623 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6625 * src/hildon-pannable-area.c,
6626 (hildon_pannable_area_size_request): Fixed bug in height
6627 requisition, avoid increasing size and add border twice.
6629 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6631 * configure.ac: postrelease version bump.
6633 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6637 * configure.ac: Prerelease version bump.
6638 * debian/changelog: update.
6639 * debian/rules: make -dbg package contain useful debugging symbols.
6641 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6643 * src/hildon-dialog.h
6644 * src/hildon-dialog.c
6645 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6646 New methods to add buttons with finger size.
6647 (hildon_dialog_new_with_buttons):
6648 Create buttons with finger size.
6650 * examples/hildon-dialog-example.c (main): Use HildonDialog
6651 methods to add buttons.
6653 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6655 * src/hildon-entry.c: Updated HildonButton documentation.
6657 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6659 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6660 button value label with (FALSE, FALSE) to prevent NB#88126 from
6663 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6665 * examples/hildon-pannable-area-example.c,
6666 (main): Removed examples panning a vbox inside a pannable
6667 area. Check bug NB#87965
6669 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6671 Patch contributed by Kris Rietveld (kris@imendio.com)
6673 * src/hildon-pannable-area.c,
6674 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6675 get_size and get_position, this saves an X server roundtrip.
6677 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6679 * doc/hildon-docs.sgml
6681 * examples/Makefile.am
6682 * examples/hildon-entry-example.c
6684 * src/hildon-entry.c
6685 * src/hildon-entry.h
6687 New HildonEntry widget, with example.
6689 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6691 * src/hildon-button.c (hildon_button_construct_child): Pack the
6692 image with expand == fill == FALSE. This is a workaround for a bug
6695 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6697 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6698 labels for the text column, to make it more look more dynamic.
6700 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6702 * src/hildon-time-selector.c
6703 Define gettext auxiliar macro N_
6704 (_create_minutes_model)
6705 (_create_hours_model)
6706 (_create_ampm_model): use of strftime in order to fill the model
6707 * src/hildon-date-selector.c
6708 (hildon_date_selector_finalize):
6709 (_locales_init): remove the logic related to get the name of the months
6710 using nl_langinfo, as it is not required anymore
6712 (_create_year_model)
6713 (_create_month_model)
6714 (_update_day_model): use of strftime in order to fill the model properly
6717 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6719 * src/hildon-button.h
6720 * src/hildon-button.c (hildon_button_get_image): New method to
6723 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6725 * src/hildon-touch-selector.c:
6726 (hildon_touch_selector_remove_column): Remove from the correct parent
6727 and also remove the list element and free it.
6730 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6732 * src/hildon-time-selector.c
6733 (_create_hours_model): change the range on 12h ampm format in order to use
6734 a 12-11 range instead of previous 01-12 range
6735 (hildon_time_selector_set_time): change the way to select the current time
6736 on 12h ampm format, due the change on the range
6737 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6740 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6742 * src/hildon-touch-selector.c
6743 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6744 in order to allow use this function on multiple row selection mode if
6745 the column is different that the first one
6748 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6750 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6751 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6753 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6755 * src/hildon-date-selector.h: clean some comments, now on the .c
6756 * src/hildon-date-selector.c
6757 (hildon_date_selector_select_month): first implementation
6758 (hildon_date_selector_select_day): added documentation, reimplemented
6759 using hildon_date_selector_select_current_date to avoid repeat code
6762 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6764 Reviewed interaction logic based on device experiences, refactored
6767 * src/hildon-pannable-area.c,
6768 (hildon_pannable_area_class_init): Updated default vmax speed.
6769 (hildon_pannable_area_calculate_velocity): Added this function, it
6770 avoids duplicate valocity calculation. Adjusted calculation to
6771 avoid problems with zero dist events.
6773 (hildon_pannable_area_motion_notify_cb): Now we use the
6774 calculate_velocity function.
6776 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6778 * src/hildon-date-selector.c
6779 (hildon_date_selector_select_current_date): fix the day range check
6780 as it failed using the last day of the current month
6783 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6785 * src/hildon-touch-selector.c
6786 (hildon_touch_selector_get_num_columns): added a parameter validation
6789 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6791 * examples/Makefile.am
6792 * examples/hildon-edit-toolbar-example.c: Example of the
6793 HildonEditToolbar widget.
6795 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6797 * configure.ac: postrelease version bump.
6799 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6803 * configure.ac: prerelease version bump.
6804 * debian/changelog: update.
6806 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6808 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6809 renderer to display stock icons in the touch list. Also, set the sizes
6810 to the recommended in the style guide.
6812 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6813 * src/hildon-touch-selector.h
6814 (hildon_touch_selector_set_active_iter): renamed, now is
6815 hildon_touch_selector_select_iter
6816 (hildon_touch_selector_get_active_iter): renamed, now is
6817 hildon_touch_selector_get_selected
6818 (hildon_touch_selector_unselect_iter): added
6819 * src/hildon-touch-selector.c
6820 Update after API modification (methods renamed)
6821 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6822 order to avoid problems selecting multiple elements on the column
6823 (hildon_touch_selector_unselect_iter): added the implementation
6824 * src/hildon-time-selector.c
6825 * src/hildon-date-selector.c
6826 * src/hildon-touch-selector-entry.c
6827 Update methods calls after hildon-touch-selector.h API modification (methods
6830 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6832 * src/hildon-stackable-window.c
6833 (hildon_stackable_window_finalize): Call the parent class's finalize.
6835 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6837 * examples/hildon-touch-selector-example.c: (create_selector): Use
6838 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6841 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6843 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6844 set a cell background color, to respect theming.
6846 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6848 * doc/hildon-docs.sgml
6851 * src/hildon-edit-toolbar.c
6852 * src/hildon-edit-toolbar.h
6853 * src/hildon.h: New HildonEditToolbar widget.
6855 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6857 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6860 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6861 * src/hildon-touch-selector.c
6862 (_create_new_column): use g_object_set instead of two g_object_set_property
6864 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6865 * src/hildon-touch-selector.c
6866 (_create_new_column): use of hildon_gtk_tree_view_new to create
6867 the treeview, instead of use directly g_object_new
6868 (_create_new_column): update the property name "vindicator-mode" for the
6869 new one "vscrollbar-policy"
6870 * examples/hildon-date-button-example.c
6871 * examples/hildon-picker-button-multicolumn-example.c
6872 * examples/hildon-touch-selector-entry-example.c
6873 * examples/hildon-touch-selector-example.c
6874 * examples/hildon-time-button-example.c
6875 * examples/hildon-picker-button-example.c
6876 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6877 to all the treeviews inside a pannable area.
6879 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6881 * src/hildon-button.h
6882 * src/hildon-button.c (hildon_button_init)
6883 (hildon_button_set_arrangement, hildon_button_set_alignment)
6884 (hildon_button_set_title_alignment)
6885 (hildon_button_set_value_alignment)
6886 (hildon_button_set_image_alignment)
6887 (hildon_button_construct_child): New methods to set the alignment
6888 of the individual components of the button (title, value,
6889 image). Also, new method to alter the xscale and yscale properties
6890 of the GtkAlignment inside the button, so more complex layouts can
6893 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6895 * src/hildon-button.c (hildon_button_style_set)
6896 (hildon_button_class_init, hildon_button_set_arrangement)
6897 (hildon_button_construct_child): Apply style properties
6898 correctly. Use the 'image-spacing' style property too.
6900 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6902 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6903 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6906 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6908 * src/hildon-pannable-area.c,
6909 (hildon_pannable_area_size_request): Fixed problem with
6910 pannable-area size_request.
6912 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6914 Added management for the grab-focus to a child widget, like a
6915 range, we need to fade out the scrollbar when releasing.
6917 * src/hildon-pannable-area.c,
6918 (hildon_pannable_area_init): Connected the grab-focus signal to
6920 (hildon_pannable_area_grab_notify): Added this function in order
6921 to manage the situation when the grab-focus ends. We have to
6922 fade-out the scrollbar.
6924 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6926 * src/hildon-app-menu.c: Minor documentation update.
6928 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6930 * src/hildon-app-menu.c
6931 * examples/hildon-app-menu-example.c (create_menu): Update
6932 examples and documentation to explain how to connect callbacks.
6934 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6936 * examples/hildon-button-example.c
6937 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6938 hildon_stackable_window_new instead of gtk_window_new
6940 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6942 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6943 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6944 (hildon_pannable_area_set_property),
6945 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6946 (hildon_pannable_area_unrealize),
6947 (hildon_pannable_area_size_request),
6948 (hildon_pannable_area_size_allocate),
6949 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6950 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6951 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6952 (hildon_pannable_area_initial_effect),
6953 (hildon_pannable_area_redraw),
6954 (hildon_pannable_area_scroll_indicator_fade),
6955 (hildon_pannable_area_expose_event),
6956 (hildon_pannable_area_get_topmost), (synth_crossing),
6957 (hildon_pannable_area_button_press_cb),
6958 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6959 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6960 (hildon_pannable_area_motion_notify_cb),
6961 (hildon_pannable_area_button_release_cb),
6962 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6963 (hildon_pannable_area_remove),
6964 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6965 chage the code layout to a more GtkWidget like. Review the use of
6968 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6970 * examples/hildon-pannable-area-example-4.c,
6971 (main): Modified the name of the hindicator_mode to
6974 * src/hildon-pannable-area.c,
6975 (hildon_pannable_area_class_init),
6976 (hildon_pannable_area_motion_notify_cb),
6977 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6978 we have reduced the amount of signals and managed reviewed its
6979 rationale. Changed the default decelerate value.
6981 (hildon_pannable_area_add),
6982 (hildon_pannable_area_redraw): Refactored functions.
6984 (hildon_pannable_area_init),
6985 (hildon_pannable_area_get_property),
6986 (hildon_pannable_area_set_property):
6987 (hildon_pannable_draw_vscroll),
6988 (hildon_pannable_draw_hscroll),
6989 (hildon_pannable_area_initial_effect),
6990 (hildon_pannable_area_expose_event),
6991 (hildon_pannable_area_scroll),
6992 (hildon_pannable_area_button_press_cb),
6993 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6994 and vindicator_mode with hscrollbar_policy and
6995 vscrollbar_policy. Replaced hscroll and vscroll with
6996 hscroll_visible and vscroll_visible.
6998 (hildon_pannable_area_refresh): Refactor the function, remove
6999 variables and check the calls to this function, added resize
7000 conditions in case the children change their layout.
7002 (hildon_pannable_area_size_request): Added more detailed
7003 size_request calculation.
7006 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7008 * src/hildon-color-chooser.c
7009 (init_borders): use the correct gtk_border_free instead of g_free, to
7010 avoid a crash when this widget is used (ie: the three color selection
7013 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7015 * src/hildon-check-button.c,
7016 (hildon_check_button_set_active): Fixed problem when setting the
7017 active value, the widget was not redrawn.
7019 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7021 * src/hildon-pannable-area.c,
7022 (hildon_pannable_area_refresh),
7023 (hildon_pannable_area_scroll),
7024 (hildon_pannable_area_motion_notify_cb): Small code style change.
7026 (hildon_pannable_area_class_init): Default initial_hint set to
7027 FALSE, it is not in the specs.
7029 (hildon_pannable_area_initial_effect),
7030 (hildon_pannable_area_expose_event),
7031 (hildon_pannable_area_map),
7032 (hildon_pannable_area_init): Moved the launching point of the
7033 initial effect, it was in map but the sizes where not correct in
7034 that method so we do not know if we have the reproduce it. Now it
7035 is placed in the expose_event method and uses a variable to
7036 reproduce it just once.
7038 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7040 * src/hildon-pannable-area.c,
7041 (hildon_pannable_draw_vscroll),
7042 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7043 position allowed for the scrollbars.
7045 (hildon_pannable_area_size_allocate): Small style change.
7047 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7049 * src/hildon-pannable-area.c,
7050 (hildon_pannable_area_scroll_indicator_fade),
7051 (hildon_pannable_area_button_press_cb),
7052 (hildon_pannable_area_button_release_cb),
7053 (hildon_pannable_area_scroll_cb),
7054 (hildon_pannable_area_expose_event),
7055 (hildon_pannable_area_init): Added the define parameter
7056 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7057 and refactor the fade variable.
7059 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7061 * src/hildon-pannable-area.c,
7062 (hildon_pannable_area_redraw),
7063 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7064 lines, we were reimplemeting the redraw code.
7066 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7068 * src/hildon-pannable-area.c,
7069 (hildon_pannable_area_scroll_cb),
7070 (hildon_pannable_area_realize),
7071 (hildon_pannable_area_class_init): Added scroll_event management
7072 for pannable area, now we can scroll the usual desktop method.
7074 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7075 initialization of the parameters should depend on idle_id.
7077 (hildon_pannable_area_init),
7078 (hildon_pannable_area_map): Small code style modifications
7080 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7082 * src/hildon-pannable-area.c
7083 (hildon_pannable_area_button_press_cb),
7084 (hildon_pannable_area_motion_notify_cb),
7085 (hildon_pannable_area_button_release_cb),
7086 (hildon_pannable_area_size_allocate),
7087 (hildon_pannable_area_scroll_to): Improved the timeouts
7088 management, we avoid creating them each time.
7090 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7092 * src/hildon-pannable-area.c:
7093 (hildon_pannable_area_refresh),
7094 (hildon_pannable_area_motion_notify_cb),
7095 (hildon_pannable_area_class_init):
7096 * src/hildon-pannable-area.h:
7097 * src/hildon-touch-selector.c
7098 (_create_new_column):
7099 * examples/hildon-pannable-area-example-4.c:
7100 (horizontal_movement),
7101 (vertical_movement),
7103 Replaced the names of enums in the HildonPannableArea:
7104 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7105 HILDON_MOVEMENT_MODE_*
7106 - HILDON_PANNABLE_AREA_MOV_* ->
7108 - Removed HildonPannableAreaIndicatorMode, now we
7111 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7113 * examples/hildon-pannable-area-touch-grid-example.c
7114 * examples/hildon-pannable-area-touch-list-example.c: Fix
7115 compilation warnings.
7117 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7119 * src/hildon-gtk.c (hildon_gtk_button_new)
7120 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7121 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7122 images overriding the value of the "gtk-button-images" setting.
7124 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7126 * src/hildon-check-button.c (hildon_check_button_new):
7127 Instead of using a custom container, display the label and the
7128 checkbox using the standard GtkButton API.
7130 * examples/hildon-check-button-example.c (main): Don't use
7131 hildon_check_button_set_label() anymore
7133 * src/hildon-check-button.h
7134 * src/hildon-check-button.c
7135 (hildon_check_button_set_label, hildon_check_button_get_label):
7136 Set as deprecated, now we're using gtk_button_{get,set}_label()
7138 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7140 * src/hildon-pannable-area.c,
7141 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7142 GtkTreeview first line we detected it after the inclusion of the
7143 GtkWindowImpl in gtk+. We now check if the window is visible, not
7144 just if the pointer is over the window.
7145 (hildon_pannable_axis_scroll),
7146 (hildon_pannable_area_expose_event): Small style changes.
7148 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7150 * src/hildon-button.c: Update documentation.
7152 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7154 * examples/hildon-button-example.c: Add a switch to show images in
7157 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7159 * doc/hildon-docs.sgml: Some docs reorganization.
7161 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7163 * examples/hildon-pannable-area-touch-list-example.c
7165 * examples/hildon-pannable-area-touch-grid-example.c
7166 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7167 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7168 Fix memory leak when setting the tree model.
7170 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7174 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7176 * doc/hildon.types: Remove duplicated hildon_window_get_type
7177 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7178 documentation comment.
7180 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7182 * doc/Makefile.am: Complete list of private headers.
7184 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7186 * doc/hildon-docs.sgml
7187 * src/hildon-app-menu.c
7188 * src/hildon-bread-crumb.c
7189 * src/hildon-button.c
7191 * src/hildon-program.c
7192 * src/hildon-stackable-window.c
7193 * src/hildon-window.c: Lots of documentation updates.
7195 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7197 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7199 * configure.ac: Require Gtk+ 2.12.9 at least
7201 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7203 * src/hildon-pannable-area.c
7204 (hildon_pannable_area_scroll_indicator_fade),
7205 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7206 to protect the return of this timeout callbacks, avoiding deadlocks.
7208 2008-08-12 Christian Dywan <christian@imendio.com>
7211 * src/hildon-*.h: Ensure a consistent include order,
7212 include <gtk/gtk.h> instead of particular files and
7213 only include the topmost header in the gtk stack. See NB #39857
7215 2008-08-12 Christian Dywan <christian@imendio.com>
7217 * src/hildon-picker-dialog.c
7218 * src/hildon-touch-selector.c: Fix warnings about unused and
7219 uninitialized variables.
7221 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7223 * examples/Makefile.am
7224 * examples/hildon-check-button-example.c: Example of the hildon
7227 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7229 * src/hildon-window.h
7230 * src/hildon-window.c (hildon_window_class_init)
7231 (hildon_window_unset_program): Don't make
7232 hildon_window_unset_program a virtual function anymore.
7234 * src/hildon-stackable-window.c: Update documentation
7236 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7239 * doc/hildon-docs.sgml
7240 * doc/visual_index.xml
7241 * src/hildon-defines.c
7243 * src/hildon-helper.c
7244 * src/hildon-range-editor.c: Lots of documentation fixes.
7246 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7248 * examples/hildon-picker-button-multicolumn-example.c
7249 (create_touch_selector): Fix compilation warning.
7251 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7253 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7254 (hildon_pannable_area_button_release_cb)
7255 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7257 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7259 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7262 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7264 * src/hildon-bread-crumb-trail.h
7265 * src/hildon-date-editor.c
7266 * src/hildon-date-selector.c
7267 * src/hildon-pannable-area.c
7268 * src/hildon-picker-dialog.c
7269 * src/hildon-time-selector.c
7270 * src/hildon-touch-selector-entry.c
7271 * src/hildon-touch-selector.c
7272 * src/hildon-touch-selector.h: Misc documentation fixes
7274 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7276 * examples/hildon-date-editor-example.c (main): Updated date
7279 * examples/hildon-note-example.c (on_confirmation_clicked):
7280 Updated confirmation note example.
7282 * src/hildon-date-editor.c
7283 * src/hildon-note.c: Updated sample programs in documentation.
7286 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7288 * src/hildon-date-button.h:
7289 * src/hildon-picker-button.h:
7290 * src/hildon-time-button.c:
7291 * src/hildon-time-button.h:
7293 Some declarations changes to allow gtk-doc to document the widgets
7296 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7298 * src/hildon-date-button.c: Document the widget.
7299 * src/hildon-time-button.c: Document the widget.
7301 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7303 * src/hildon-picker-button.c: Document the widget.
7304 * src/hildon-touch-selector-entry.c: Document the widget.
7306 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7308 * doc/hildon-docs.sgml
7311 * src/hildon-check-button.h
7312 * src/hildon-check-button.c: New functions to create the Hildon
7316 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7318 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7320 * src/hildon-button.h
7321 * src/hildon-button.c
7322 (hildon_button_add_title_size_group)
7323 (hildon_button_add_value_size_group)
7324 (hildon_button_add_image_size_group)
7325 (hildon_button_add_size_groups): New functions to set size groups
7326 for the button labels and image.
7327 (hildon_button_new_full): Removed
7329 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7331 * src/hildon-time-selector.c
7332 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7333 in order to avoid a crash if gconf is not available
7335 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7337 * src/hildon-button.c (hildon_button_set_arrangement)
7338 (hildon_button_construct_child): Don't construct the button child
7339 before setting the arrangement.
7341 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7343 * src/hildon-program-private.h
7344 * src/hildon-program.c
7345 * src/hildon-program.h
7346 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7347 (hildon_program_peek_window_stack)
7348 (hildon_program_pop_window_stack)
7349 (hildon_program_go_to_root_window): HildonProgram now has a
7350 separate list for stackable windows. Functions are provided to
7351 manage that list with a stack-like API.
7353 * src/hildon-stackable-window.c: Stackable window management is
7354 now much simpler with the new HildonProgram API. Windows no
7355 longer need to be manually added to the program, they're
7356 automatically pushed to the top of the stack when shown.
7358 * examples/hildon-stackable-window-example.c: Updated example to
7359 reflect the API changes.
7361 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7363 * src/hildon-touch-selector.c: Comment out unimplemented
7364 hildon_touch_selector_insert_column() to avoid a compile warning.
7366 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7368 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7369 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7370 (hildon_touch_selector_set_column_selection_mode),
7371 (_hildon_touch_selector_set_model),
7372 (hildon_touch_selector_set_model):
7374 Complete review of HildonTouchSelector documentation.
7376 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7378 * doc/hildon-docs.sgml
7382 * src/hildon-gtk.c: Convenience functions for standard Gtk
7383 widgets, used to easily perform frequent operations.
7385 * src/hildon-button-helpers.h
7386 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7388 * src/hildon-helper.h
7389 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7390 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7392 * src/hildon-button.h
7393 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7395 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7397 * src/hildon-button.c (hildon_button_init)
7398 (hildon_button_set_arrangement, hildon_button_construct_child):
7399 Pack the image and the labels inside the same GtkAlignment so
7400 gtk_button_set_alignment() can be used
7402 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7404 * src/hildon-button.h
7405 * src/hildon-button.c
7406 (hildon_button_init, hildon_button_set_image)
7407 (hildon_button_set_image_position)
7408 (hildon_button_construct_child): New functions to add an image to
7411 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7413 * src/hildon-date-button.c
7414 * src/hildon-picker-button.c
7415 * src/hildon-time-button.c
7416 * src/hildon-button.c:
7417 (hildon_button_class_init): "size-flags" renamed to "size"
7418 (hildon_button_set_title): Hide the title label if set to NULL.
7420 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7422 HildonButtonFlags split into HildonButtonArrangement (to set the
7423 button layout) and HildonSizeType (which can be used for any
7426 * src/hildon-button.h
7427 * src/hildon-button.c
7428 (hildon_button_class_init)
7429 (hildon_button_set_arrangement)
7430 (hildon_button_set_property): New "size-flags"
7431 property. "arrangement-flags" renamed to "arrangement".
7432 (hildon_button_new, hildon_button_new_with_text)
7433 (hildon_button_new_full): Constructors updated to reflect type changes.
7435 * src/hildon-helper.h
7436 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7437 to set the size of a widget.
7441 * src/hildon-button-helpers.c
7442 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7444 * src/hildon-date-button.c
7445 * src/hildon-date-button.h
7446 * src/hildon-picker-button.c
7447 * src/hildon-picker-button.h
7448 * src/hildon-time-button.c
7449 * src/hildon-time-button.h: Updated widgets to reflect
7450 HildonButton API changes.
7452 * examples/hildon-button-example.c
7453 * examples/hildon-date-button-example.c
7454 * examples/hildon-picker-button-example.c
7455 * examples/hildon-picker-button-multicolumn-example.c
7456 * examples/hildon-time-button-example.c
7457 * examples/hildon-touch-selector-entry-example.c
7458 * examples/hildon-touch-selector-example.c: Updated examples to
7459 reflect HildonButton API changes.
7461 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7463 * doc/hildon-docs.sgml:
7465 * examples/Makefile.am:
7466 * examples/hildon-touch-selector-entry-example.c:
7468 * src/hildon-touch-selector-entry.c:
7469 * src/hildon-touch-selector-entry.h:
7472 Moved HildonTouchSelectorEntry from sandbox. Added its
7473 documentation and examples.
7475 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7477 * src/hildon-touch-selector.h:
7478 * examples/hildon-picker-button-multicolumn-example.c:
7479 (hildon_touch_selector_append_text_column): Add a gboolean
7480 parameter to determine if text must be centered in the column.
7482 * src/hildon-date-selector.c: (hildon_date_selector_init):
7483 * src/hildon-time-selector.c: (hildon_time_selector_init):
7484 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7485 (create_touch_selector): Update widgets and example to reflect
7488 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7490 * src/hildon-touch-selector.c:
7491 (hildon_touch_selector_set_active_iter): Set also the cursor in
7494 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7496 * doc/hildon-docs.sgml
7499 * src/hildon-toggle-button.c
7500 * src/hildon-toggle-button.h
7501 * src/hildon.h: Removed HildonToggleButton widget, a derived
7502 class is not necessary for this.
7504 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7506 * src/hildon-pannable-area.c,
7507 (hildon_pannable_area_realize),
7508 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7511 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7513 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7514 "done" button the default widget for the dialog.
7516 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7518 * src/hildon-touch-selector.c:
7519 (hildon_touch_selector_class_init),
7520 (hildon_touch_selector_get_property),
7521 (_hildon_touch_selector_set_model),
7522 (_hildon_touch_selector_has_multiple_selection),
7523 (hildon_touch_selector_has_multiple_selection):
7524 Add a "has-multiple-selection" property with a virtual
7525 has_multiple_selection() method to allow derived classes to
7526 override the default value for it. See the method and property
7527 documentation for details.
7529 * src/hildon-touch-selector.h: Add the new API.
7531 * src/hildon-picker-dialog.c: (requires_done_button): Call
7532 hildon_touch_selector_has_multiple_selection() instead of
7533 determining the need for a button itself.
7535 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7537 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7538 (_hildon_touch_selector_set_model),
7539 (hildon_touch_selector_set_model): Move working code to
7540 _hildon_touch_selector_set_mode(). Call the class method instead.
7542 * src/hildon-touch-selector.h: Add (*set_model) to
7543 HildonTouchSelectorClass.
7545 Make hildon_touch_selector_set_model() a virtual method, so that
7546 derived classes can extend it and do fancy stuff with the model.
7548 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7550 * configure.ac: Set back the tarname in AC_INIT to hildon.
7552 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7556 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7557 instead of libesd (NB#86876). Volume handling is still an open issue.
7559 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7562 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7564 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7565 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7566 derived class to ease placement of an entry widget in
7567 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7568 end, where the selector columns are packed now.
7570 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7572 * src/hildon-picker-button.c: Removed the simple _text() API.
7573 * src/hildon-picker-button.h: Likewise.
7575 * src/hildon-touch-selector.h:
7576 * src/hildon-touch-selector.c:
7577 (hildon_touch_selector_new_text),
7578 (hildon_touch_selector_append_text),
7579 (hildon_touch_selector_prepend_text),
7580 (hildon_touch_selector_insert_text):
7582 Moved the simple _text() API from HildonPickerButton to
7583 HildonTouchPicker, to provide better escalability and not to tie
7584 that API to HildonPickerButton.
7586 * examples/hildon-picker-button-example.c: (main): Example updated.
7588 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7590 * src/hildon-button.c: Updated documentation.
7592 * examples/hildon-button-example.c: Add the posibility to create
7593 the buttons using horizontal layout for title and value.
7595 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7597 * src/hildon-app-menu-private.h
7598 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7599 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7600 GtkSizeGroup for the filters, use the 'homogeneous' property of
7603 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7605 * examples/hildon-button-example.c: Updated example.
7607 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7609 * doc/hildon-docs.sgml:
7612 Update documentation.
7614 * examples/Makefile.am: Update renamed examples.
7616 * examples/hildon-picker-button-multicolumn-example.c:
7617 (create_touch_selector), (main): Update after the rename.
7619 * examples/hildon-touch-picker-example.c: Removed.
7620 * examples/hildon-touch-selector-example.c: (value_changed),
7621 (create_selector), (get_visible_content), (main): Renamed from
7622 hildon-touch-picker-example.c
7624 * src/Makefile.am: Updated renamed files.
7626 * src/hildon-date-button.c: (hildon_date_button_init),
7627 (hildon_date_button_get_date), (hildon_date_button_set_date):
7628 * src/hildon-date-selector.c: (hildon_date_selector_init),
7629 (_custom_print_func), (_update_day_model),
7630 (_manage_selector_change_cb),
7631 (hildon_date_selector_select_current_date),
7632 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7633 * src/hildon-date-selector.h:
7634 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7635 (hildon_picker_button_set_property),
7636 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7637 (hildon_picker_button_init), (hildon_picker_button_new_text),
7638 (hildon_picker_button_append_text),
7639 (hildon_picker_button_prepend_text),
7640 (hildon_picker_button_insert_text),
7641 (hildon_picker_button_set_selector),
7642 (hildon_picker_button_get_selector):
7643 * src/hildon-picker-button.h:
7644 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7645 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7646 (_update_title_on_selector_changed_cb), (requires_done_button),
7647 (_hildon_picker_dialog_set_selector),
7648 (hildon_picker_dialog_set_selector),
7649 (hildon_picker_dialog_get_selector):
7650 * src/hildon-picker-dialog.h:
7651 * src/hildon-time-button.c: (hildon_time_button_init),
7652 (hildon_time_button_get_time), (hildon_time_button_set_time):
7653 * src/hildon-time-selector.c: (hildon_time_selector_init),
7654 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7655 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7656 * src/hildon-time-selector.h:
7659 Massive code updates after the rename.
7661 * src/hildon-touch-picker.c: Removed.
7662 * src/hildon-touch-picker.h: Removed.
7664 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7665 (hildon_touch_selector_init), (hildon_touch_selector_map),
7666 (hildon_touch_selector_remove), (_default_print_func),
7667 (_selection_changed_cb), (_create_new_column),
7668 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7669 (hildon_touch_selector_append_text_column),
7670 (hildon_touch_selector_remove_column),
7671 (hildon_touch_selector_set_column_attributes),
7672 (hildon_touch_selector_insert_column),
7673 (hildon_touch_selector_get_num_columns),
7674 (hildon_touch_selector_get_column_selection_mode),
7675 (hildon_touch_selector_set_column_selection_mode),
7676 (hildon_touch_selector_set_print_func),
7677 (hildon_touch_selector_get_print_func),
7678 (hildon_touch_selector_get_active_iter),
7679 (hildon_touch_selector_set_active_iter),
7680 (hildon_touch_selector_get_selected_rows),
7681 (hildon_touch_selector_get_model),
7682 (hildon_touch_selector_set_model),
7683 (hildon_touch_selector_get_current_text),
7684 (_hildon_touch_selector_center_on_selected_items):
7685 * src/hildon-touch-selector.h: Renamed from
7686 hildon-touch-picker.[ch]
7688 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7689 references, code examples, and related documentation.
7691 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7693 * doc/hildon-docs.sgml
7696 * src/hildon-toggle-button.c
7697 * src/hildon-toggle-button.h
7698 * src/hildon.h: New HildonToggleButton widget.
7700 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7702 * src/hildon-button.c: Add API documentation.
7703 (hildon_button_set_size_groups): Check input parameters
7705 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7707 * src/hildon-pannable-area.c
7708 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7709 effect after reaching the movement thredshold. This way we start
7710 using the distance after passing the thredshold.
7712 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7714 * src/hildon-button.c: (hildon_button_set_property): Use the
7715 appropriate g_value_get_flags() method.
7717 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7719 * doc/hildon-docs.sgml:
7722 Add the touch pickers, picker dialogs, and picker button widgets
7723 to the documentation.
7725 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7727 * src/hildon-button.c: (hildon_button_set_property),
7728 (hildon_button_class_init): Make "arrangement-flags" a proper
7729 G_TYPE_FLAGS derived property.
7731 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7733 * examples/Makefile.am: Add below examples.
7734 * examples/hildon-date-button-example.c:
7735 * examples/hildon-picker-button-example.c:
7736 * examples/hildon-picker-button-multicolumn-example.c:
7737 * examples/hildon-time-button-example.c:
7738 * examples/hildon-touch-picker-example.c:
7740 Add examples for the recently added touch pickers,
7741 picker dialogs, and picker button widgets.
7743 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7745 * src/hildon-button.c: Add some API documentation
7747 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7749 * src/hildon-button.h
7750 * src/hildon-button.c
7752 (hildon_button_new_with_text): New constructor to create a button
7753 with no text at all.
7754 (hildon_button_init, hildon_button_set_arrangement)
7755 (hildon_button_set_title, hildon_button_set_value)
7756 (hildon_button_set_text)
7757 (hildon_button_construct_child): Hide the value when it's not used
7758 so the rest of the text is properly aligned.
7759 Allow creating buttons with arbitrary widgets inside (not just
7760 title/value labels).
7762 * examples/hildon-button-example.c (vertical_buttons_window)
7763 (horizontal_buttons_window): Update example to use new API.
7765 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7767 * src/Makefile.am: Added HildonTimeButton.
7768 * src/hildon-time-button.c: Added missing LGPL header.
7769 * src/hildon-time-button.h: Added missing LGPL header.
7770 * src/hildon.h: Add hildon-time-button.h
7772 Copied HildonTimeButton from sandbox to trunk. Future work on this
7773 widget must take place in trunk.
7775 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7777 * src/Makefile.am: Added HildonDateButton.
7778 * src/hildon-date-button.c: Update includes.
7779 * src/hildon.h: Add hildon-date-button.h
7781 Copied HildonDateButton from sandbox to trunk. Future work on this
7782 widget must take place in trunk.
7784 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7786 * src/Makefile.am: Added HildonPickerButton.
7787 * src/hildon-picker-button.h: Update includes.
7788 * src/hildon.h: Add hildon-picker-button.h
7790 Copied HildonPickerButton from sandbox to trunk. Future work on
7791 this widget must take place in trunk.
7793 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7795 * src/Makefile.am: Added HildonPickerDialog.
7796 * src/hildon-picker-dialog.c: Update includes.
7797 * src/hildon.h: Add hildon-picker-dialog.h
7799 Copied HildonPickerDialog from sandbox to trunk. Future work
7800 on this widget must take place in trunk.
7802 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7804 * src/Makefile.am: Added HildonTimeSelector.
7805 * src/hildon.h: Add hildon-time-selector.h
7807 Copied HildonTimeSelector widget from sandbox to trunk. Future
7808 work on this widget must happen in trunk.
7810 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7812 * src/Makefile.am: Added HildonDateSelector.
7813 * src/hildon.h: Add hildon-date-selector.h
7815 Copied HildonDateSelector widget from sandbox to trunk. Future
7816 work on this widget must happen in trunk.
7818 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7820 * src/Makefile.am: Added HildonTouchPicker.
7821 * src/hildon-touch-picker.c: Update includes.
7822 * src/hildon.h: Add hildon-touch-picker.h
7824 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7825 on this widget must happen in trunk.
7827 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7829 * src/hildon-pannable-area.c:
7830 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7832 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7834 * examples/hildon-app-menu-example.c (main): Let the window
7837 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7839 * src/hildon-pannable-area.c
7840 (hildon_pannable_area_class_init): Set the min value of the
7841 overshoot properties to zero, which points out that not
7842 overshooting allowed.
7844 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7846 Modified the procedure to get the widget at a point inside the
7847 pannable area when using the movement type signals. Now the user
7848 has to call a function to get the child, that way we just
7849 calculate the child in case the user really want to use it and not
7852 * src/hildon-marshalers.list: Modified the marshallers, now we do
7853 not have the widget as a parameter.
7855 * src/hildon-pannable-area.c
7856 (hildon_pannable_area_motion_notify_cb),
7857 (hildon_pannable_area_class_init),
7858 (hildon_pannable_get_child_widget_at): Removed the widget
7859 parameter from the signal callback. We have also refactored the
7860 emission of the signals.
7862 * src/hildon-pannable-area.h: Added a new method to the API to
7863 calculate a widget at a point inside the pannable area,
7864 hildon_pannable_get_child_widget_at.
7866 * examples/hildon-pannable-area-example-4.c
7867 (horizontal_movement): Modified the example to use the new API,
7868 added condition to control which widget is under the event. This
7869 way we can avoid scrolling laterally over other widgets.
7871 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7873 * src/hildon-pannable-area.c
7874 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7875 modes, we stop getting the pointer events due to returning the
7876 callback without properly calling the get pointer again. Fixed
7877 also an error using the hscroll and vscroll.
7879 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7881 * src/hildon-app-menu-private.h
7882 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7883 (hildon_app_menu_button_release, hildon_app_menu_init)
7884 (hildon_app_menu_class_init): Don't hide the menu on button
7885 release if the user didn't press outside first.
7887 * src/hildon-window.h
7888 * src/hildon-window.c (hildon_window_toggle_menu)
7889 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7890 hildon_window_toggle_menu a virtual function for the stackable
7891 window to override it.
7893 * src/hildon-stackable-window.h
7894 * src/hildon-stackable-window-private.h
7895 * src/hildon-stackable-window.c
7896 (hildon_stackable_window_realize)
7897 (hildon_stackable_window_finalize)
7898 (hildon_stackable_window_class_init)
7899 (hildon_stackable_window_init)
7900 (hildon_stackable_window_set_main_menu): New function to set the
7901 app menu of a HildonStackableWindow.
7903 * examples/hildon-app-menu-example.c: Remove the button to show
7904 the app menu, now it'll be shown when clicking on the title bar
7907 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7909 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7910 set the widget name if the arrangement flags do not specify
7913 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7915 * src/hildon-button.c: (hildon_button_set_property),
7916 (hildon_button_class_init), (hildon_button_new_full),
7917 (hildon_button_set_arrangement): Added "arrangement-flags"
7920 Make the HildonButtonFlags a construction-only property, to allow
7921 subclasses to set them properly.
7923 2008-07-21 Tim Janik <timj@imendio.com>
7925 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7926 insertion position after backspace, so additional digits are appended,
7929 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7931 * src/hildon-pannable-area.c,
7932 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7933 TODO list, it was complete and removed the g_debug and g_print
7936 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7938 Added the movement modes to the hildon-pannable-area, with this
7939 modes the developers can control in which directions the widget
7940 can scroll. They can also connect to signals in order to do
7941 something when that happens, allowing applications scroll. There
7942 is an example uploaded showing how to use it.
7944 * examples/Makefile.am:
7945 * examples/hildon-pannable-area-example-4.c: Added this example of
7946 an application using the modes.
7948 * src/hildon-marshalers.list: Added a new marshaller for the new
7951 * src/hildon-pannable-area.h: Added new enumerations and flags in
7952 order to control the movement modes and the new signals to warn
7953 about the movements in the area.
7955 * src/hildon-pannable-area.c:
7956 (hildon_pannable_axis_scroll),
7957 (hildon_pannable_area_scroll),
7958 (hildon_pannable_area_motion_notify_cb),
7959 (hildon_pannable_area_get_property),
7960 (hildon_pannable_area_set_property),
7961 (hildon_pannable_area_map),
7962 (hildon_pannable_area_class_init),
7963 (hildon_pannable_area_init),
7964 (hildon_pannable_area_jump_to): Added the modes to control the
7965 movement in the widget. We have added properties to control it,
7966 signals to warn about the movements and refactored some code.
7968 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7970 Changes required in order to allow vfast_factor set to zero to
7973 * src/hildon-pannable-area.c:
7974 (hildon_pannable_area_button_press_cb): Changed the condition, it
7975 is required for not allowing click when vfast_factor is zero.
7976 (hildon_pannable_area_timeout): Initialized velocity variables
7977 when we stop moving, it was less than 1 but not zero and we need
7978 to check zero in some situations.
7979 (hildon_pannable_area_class_init): Changed the default value of
7980 the speed factor, now the button_press is just sent in case the
7981 speed is 2 per cent of the max speed.
7982 (hildon_pannable_area_init): Initialization with 0.
7984 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7986 * src/hildon-pannable-area.c,
7987 (hildon_pannable_area_get_topmost): replaced
7988 gdk_window_get_children with gdk_window_peek_children, this way we
7989 do not have to free the list because it is not a copy.
7991 (hildon_pannable_axis_scroll),
7992 (hildon_pannable_area_scroll),
7993 (hildon_pannable_area_timeout),
7994 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7995 two parameters that were only used inside the
7996 hildon_pannable_area_scroll function.
7998 * examples/hildon-pannable-area-example.c,
7999 (get_sawtooth_label): Fixed small memory leak.
8001 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8003 More checks for the case where the overshoot is bigger than the
8006 * src/hildon-pannable-area.c:
8007 (hildon_pannable_draw_vscroll),
8008 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8009 to draw the slider of the scrollbar under the other scrollbar.
8010 (hildon_pannable_area_expose_event): added new checks to control
8011 the drawing of the overshooting area rectangle, in case it is too
8012 big for the area of the widget.
8013 (hildon_pannable_area_size_allocate): add more checks to avoid
8014 setting a position to the child widget outside the area.
8016 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8018 * src/hildon-pannable-area.c
8019 (hildon_pannable_area_size_allocate): Added conditions to control
8020 when overshooting is bigger than the allocated space for the
8021 children, this avoids negative allocations.
8023 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8025 * doc/hildon-docs.sgml
8027 * examples/Makefile.am
8028 * examples/hildon-button-example.c
8030 * src/hildon-button.c
8031 * src/hildon-button.h
8032 * src/hildon.h: Initial version of the new HildonButton widget,
8035 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8037 * src/hildon-pannable-area.c:
8038 (hildon_pannable_area_button_press_cb),
8039 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8040 (hildon_pannable_area_motion_notify_cb),
8041 (hildon_pannable_area_button_release_cb),
8042 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8043 (hildon_pannable_area_jump_to_child):
8045 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8047 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8049 * examples/Makefile.am
8050 * examples/hildon-pannable-area-touch-grid-example.c
8051 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8052 the Hildon Touch List and Hildon Touch Grid using the
8053 HildonPannableArea widget.
8055 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8057 * src/hildon-pannable-area.c,
8058 (hildon_pannable_area_button_press_cb),
8059 (hildon_pannable_area_refresh),
8060 (hildon_pannable_area_scroll),
8061 (hildon_pannable_area_motion_notify_cb),
8062 (hildon_pannable_area_button_release_cb),
8063 (hildon_pannable_area_expose_event),
8064 (hildon_pannable_area_add),
8065 (hildon_pannable_area_remove),
8066 (hildon_pannable_area_realize),
8067 (hildon_pannable_area_size_allocate),
8068 (hildon_pannable_area_class_init),
8069 (hildon_pannable_area_init),
8070 (hildon_pannable_area_scroll_to_child),
8071 (hildon_pannable_area_jump_to_child): Fixed the problem of
8072 removing the child from the GtkBin, we have rearranged the widget
8073 hierarchy, now there is no GtkAlignment which was not doing
8074 anything interesting but breaking some of the assumptions of
8075 GtkContainer. Now developers if they want to add a GtkAlignment
8076 they could, but it is not inside the area.
8078 We had to review the whole allocation/expose process, now it is
8079 improved and we save at least three signals which would be saving
8080 some time when rendering the widget. The allocation of the
8081 scrollbars is now made in the allocate method as usual.
8083 We have also added some conditions in order to control when there
8084 is no child of the pannable area. Maybe we will need more work
8087 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8089 * src/hildon-pannable-area.c,
8090 (hildon_pannable_area_dispose): Released the fade-out timeout when
8091 disposing the widget.
8093 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8095 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8096 zero, we are going to use that property in order to deactivate the
8098 (hildon_pannable_axis_scroll),
8099 (hildon_pannable_area_size_allocate): Added conditions to control
8100 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8101 call, now it is called in all situations and we can remove calls
8102 in the allocate method.
8103 (hildon_pannable_area_map): Control the situation when
8104 overshoot_max is zero, we do not need the timeout.
8105 (hildon_pannable_area_class_init): Added documentation in order to
8106 point out that setting zero to overshoot_max means deactivate
8109 NOTE: removed trailing whitespaces from my previous comments of
8112 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8114 * src/hildon-pannable-area.c
8115 (hildon_pannable_area_get_property),
8116 (hildon_pannable_area_set_property),
8117 (hildon_pannable_area_map),
8118 (hildon_pannable_area_class_init),
8119 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8120 to cause the widget give a hint about its panning abilities upon
8123 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8125 * src/hildon-pannable-area.c: Several documentation improvements.
8127 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8129 * src/hildon-program.c
8130 * src/hildon-stackable-window.c: Update documentation.
8132 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8134 * src/hildon-stackable-window.c (get_previous_window_if_last):
8135 Renamed get_last_window()
8136 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8137 (hildon_stackable_window_unset_program):
8139 (get_previous_window_if_last):
8140 Detect if the window hasn't been added to a HildonProgram.
8142 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8144 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8146 * src/hildon-pannable-area.c
8147 (hildon_pannable_area_button_press_cb),
8148 (hildon_pannable_axis_scroll),
8149 (hildon_pannable_area_scroll),
8150 (hildon_pannable_area_timeout),
8151 (hildon_pannable_calculate_vel_factor),
8152 (hildon_pannable_area_get_property),
8153 (hildon_pannable_area_set_property),
8154 (hildon_pannable_area_class_init),
8155 (hildon_pannable_area_init),
8156 (hildon_pannable_area_scroll_to),
8157 (hildon_pannable_area_jump_to),
8158 (hildon_pannable_area_scroll_to_child),
8159 (hildon_pannable_area_jump_to_child):
8160 * src/hildon-pannable-area.h: Added the new API functions:
8161 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8162 hildon_pannable_area_scroll_to_child,
8163 hildon_pannable_area_jump_to_child
8166 * examples/Makefile.am
8167 * examples/hildon-pannable-area-example-2.c
8168 * examples/hildon-pannable-area-example-3.c: Added these two new
8169 examples in order to test and show how the new APIs work.
8171 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8173 * examples/hildon-stackable-window-example.c (new_window):
8174 * src/Makefile.am (noinst_HEADERS):
8175 * src/hildon-program.c (hildon_program_go_to_root_window):
8176 * src/hildon-program.h:
8177 * src/hildon-stackable-window-private.h:
8178 * src/hildon-stackable-window.c:
8179 * src/hildon-stackable-window.h:
8180 Create hildon-stackable-window-private.h
8181 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8183 * examples/hildon-app-menu-example.c (create_menu):
8184 * examples/hildon-hvolumebar-insensitive-example.c (main):
8185 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8186 * examples/hildon-toolbar-seekbar-example.c (main):
8187 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8188 * src/hildon-banner.c (hildon_banner_set_property):
8189 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8190 Fix compilation warnings
8192 * src/hildon-window.c:
8195 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8197 * src/hildon-stackable-window.c
8198 (hildon_stackable_window_unset_program):
8199 Calculate correctly whether to show the previous window if the
8200 last one is removed from the stack.
8201 (hildon_stackable_window_go_to_root_window):
8202 Send delete events starting from the topmost window.
8203 Stop if one of the windows is not destroyed.
8205 (hildon_stackable_window_delete_event)
8206 (hildon_stackable_window_class_init):
8207 Ignore the delete event if the window is not the topmost one.
8209 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8211 * src/hildon-pannable-area.c
8212 (hildon_pannable_area_expose_event): Fixed a problem when
8213 selecting the background color of the scrollbars.
8215 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8217 * examples/hildon-stackable-window-example.c
8218 * src/hildon-stackable-window.c
8219 * src/hildon-stackable-window.h
8220 hildon_stackable_window_go_home() renamed to
8221 hildon_stackable_window_go_to_root_window()
8222 Send delete events to windows rather than closing them with
8223 gtk_widget_destroy()
8225 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8227 * src/hildon-pannable-area.c
8228 (hildon_pannable_area_button_release_cb): Fix overshooting in
8231 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8233 * src/hildon-pannable-area.c
8234 (hildon_pannable_area_init): Initially show the scroll indicators.
8235 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8237 Add initial effect showing the widget is pannable.
8239 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8241 * src/hildon-pannable-area.c
8242 (hildon_pannable_area_class_init)
8243 (hildon_pannable_area_set_property)
8244 (hildon_pannable_area_get_property)
8245 (hildon_pannable_area_button_press_cb):
8246 New 'velocity_fast_factor' property to decide which velocity is
8249 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8251 * src/hildon-pannable-area.c
8252 (hildon_pannable_draw_hscroll)
8253 (hildon_pannable_draw_vscroll):
8254 Use float variables to calculate the size of the scrollbars to
8255 avoid error propagation and resizing during scrolling.
8257 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8259 * src/hildon-pannable-area.c
8260 (hildon_pannable_draw_vscroll)
8261 (hildon_pannable_draw_hscroll):
8262 Define a minimum size for the scroll bars
8264 * src/hildon-stackable-window.c
8265 (hildon_stackable_window_go_home): Fix compilation warning
8266 (get_last_window): Minor optimizations
8267 (hildon_stackable_window_class_init): Fix initialization of
8270 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8272 * src/hildon-stackable-window.c: Fixed typos in doc
8274 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8276 * src/hildon-pannable-area.c
8277 (hildon_pannable_area_scroll):
8278 Calculate here whether we need to scroll instead of using the booleans
8279 that tell us whether to /draw/ the scrolling bars.
8281 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8283 * src/hildon-app-menu.h
8285 * src/hildon-app-menu.c
8286 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8287 multiple filter groups related code and API. Now we support only
8289 * examples/hildon-app-menu-example.c:
8291 Update to reflect API changes.
8293 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8295 * src/hildon-stackable-window.c
8296 (hildon_stackable_window_class_init):
8297 Add hildon_stackable_window_realize.
8298 (hildon_stackable_window_realize):
8299 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8300 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8301 to apply theming and behavior specific to HildonStackableWindow
8304 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8306 * src/hildon-note.c (hildon_note_button_release):
8307 Close information notes also when tapping on them
8309 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8311 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8312 ELASTICITY, refactor and review, fix some issues with drawing
8315 * src/hildon-pannable-area.c:
8316 (hildon_pannable_area_button_press_cb): removed the conditions to
8317 avoid clicks when overshooting. It is not required
8319 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8320 define. Refatored and reviewed the code, now we do not need to
8321 manage velocity in motion_notify.
8323 (hildon_pannable_area_motion_notify_cb): We have moved the code
8324 that controls the area_scroll to the axis_scroll function and get
8325 rid of duplicated code.
8327 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8329 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8331 (hildon_pannable_draw_vscroll),
8332 (hildon_pannable_draw_hscroll): Fixed the problems with the
8333 scrollbar drawing, now we do not use two surfaces, it is easier
8334 and saves resources.
8336 (hildon_pannable_area_get_property): Style modification.
8338 (hildon_pannable_area_class_init): Changed some default values.
8340 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8342 * src/hildon-stackable-window.c: Fix some typos in the
8345 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8347 * src/hildon-dialog.c:
8348 Change indentation style
8351 (hildon_note_button_release):
8352 Use root coordinates to check if the release event happened
8355 * src/hildon-app-menu.c
8356 (hildon_app_menu_button_release):
8357 Remove unnecessary check
8359 * examples/hildon-app-menu-example.c
8361 Add cast to fix warning
8363 * src/hildon-app-menu.c
8364 (hildon_app_menu_class_init):
8365 New inner-border style property.
8366 Set all default spacings to 16
8367 (hildon_app_menu_init):
8368 Use vertical-spacing to set the space between filter buttons and
8369 regular menu buttons.
8370 Set the default container border using the inner-border value.
8372 * examples/hildon-app-menu-example.c
8374 Don't set the menu border explicitly, now we have the inner-border
8375 style property for that.
8377 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8379 * src/hildon-app-menu.c (hildon_app_menu_init):
8380 Make the window modal
8382 * src/hildon-note.c (hildon_note_map)
8383 * src/hildon-app-menu.c (hildon_app_menu_map):
8384 Destroy the grab window if we're unable to grab the pointer
8386 * src/hildon-app-menu-private.h
8387 * src/hildon-app-menu.c
8388 (hildon_app_menu_init, hildon_app_menu_finalize)
8389 (hildon_app_menu_map, hildon_app_menu_unmap)
8390 (hildon_app_menu_button_release)
8391 (grab_transfer_window_get):
8392 Bring back the grab window
8393 (hildon_app_menu_realize):
8394 Decorate the window, set WM hint for Matchbox
8396 * src/hildon-note.c (hildon_note_realize):
8397 * src/hildon-banner.c (hildon_banner_realize):
8398 Add WM hints for Matchbox
8400 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8402 * src/hildon-app-menu-private.h
8403 * src/hildon-app-menu.c
8404 (hildon_app_menu_init, hildon_app_menu_finalize)
8405 (hildon_app_menu_map, hildon_app_menu_unmap)
8406 (hildon_app_menu_button_release):
8407 Remove the grab window, it's not needed anymore
8409 * src/hildon-program.c
8410 Fixed typo in documentation
8412 * src/hildon-app-menu.h
8413 * src/hildon-app-menu.c
8414 * examples/hildon-app-menu-example.c
8415 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8417 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8420 Added new transfer_window and close_if_pressed_outside private
8422 (hildon_note_rebuild):
8423 Don't add a cancel button to the information note. It will be
8424 closed when tapping outside
8425 Remove the comment about the OK button in the documentation
8426 (hildon_note_realize):
8427 Set the notification type hint
8428 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8429 Grab/ungrab pointer and keyboard if the note has to be closed when
8431 (hildon_note_button_release):
8432 Close the note when tapping outside (if applicable)
8434 * src/hildon-app-menu.c
8435 Grab/ungrab pointer and keyboard on map/unmap
8436 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8437 Close the menu on button release, not button press
8439 * src/hildon-banner.c
8440 (hildon_banner_set_property)
8441 (hildon_banner_check_position):
8442 Make the banner use the full width of the screen
8443 (hildon_banner_show_information)
8444 (hildon_banner_show_information_with_markup):
8445 Don't display an icon by default
8447 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8449 Added fading scrollbars and adapted all the overshooting code to
8450 horizontal scrolling. We have also fixed bugs with overshooting
8451 and current fading implementation.
8453 * src/hildon-pannable-area.c
8454 (hildon_pannable_area_scroll_indicator_fade): Time out function
8455 used to change the transparency of the scrollbars.
8457 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8458 control and fixed a problem with fading, we now remove the fade
8459 timeout before adding a new one.
8461 (hildon_pannable_axis_scroll):
8462 (hildon_pannable_area_scroll):
8463 (hildon_pannable_area_timeout): Added this functions so we can use
8464 the scroll code both for vertical and horizontal.
8466 (hildon_pannable_area_motion_notify_cb):
8467 (hildon_pannable_area_button_release_cb): Added the horizontal
8468 scrolling control, fixed a problem with the overshooting timeout.
8470 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8471 painting of the scrolls.
8473 (hildon_pannable_draw_vscroll):
8474 (hildon_pannable_draw_hscroll):
8475 (hildon_pannable_area_expose_event):
8476 Draw both scrollbars and rectangles in the overshooting area.
8478 (hildon_pannable_area_get_property):
8479 (hildon_pannable_area_set_property):
8480 Modified the overshoot property to overshoot_max
8482 (hildon_pannable_area_map):
8483 Replaced the comments symbols.
8485 (hildon_pannable_area_size_allocate):
8486 (hildon_pannable_area_class_init):
8487 (hildon_pannable_area_init): Added horizontal scroll, fading
8488 effect properties, fixed a problem when overshooting in the bottom
8491 * examples/hildon-pannable-area-example.c:
8492 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8493 looks better in the example.
8495 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8497 * src/hildon-window.c
8498 * src/hildon-window.h
8499 (hildon_window_class_init)
8500 (hildon_window_unset_program)
8501 (hildon_window_unset_program_real):
8502 Make unset_program a virtual function
8504 * src/hildon-stackable-window.c
8505 * src/hildon-stackable-window.h
8506 Added hildon_stackable_window_go_home()
8508 * examples/Makefile.am
8509 * examples/hildon-stackable-window-example.c
8510 HildonStackableWindow example
8512 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8514 * hildon-pannable-area.c: Added the overshoot property and removed
8515 the OVERSHOOT define. Fixed an indent style error.
8516 (hildon_pannable_area_motion_notify_cb):
8517 (hildon_pannable_area_get_property):
8518 (hildon_pannable_area_set_property): Add overshoot property.
8520 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8523 (hildon_pannable_area_class_init): Installed the new property.
8525 * hildon-pannable-area-example.c: Added a sawtooth function, this
8526 way it is easier to check the movement in the pannable.
8527 (get_sawtooth_label): Added this function.
8528 (main): Now we get the labels from the new get_sawtooth_label
8531 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8533 * src/hildon-app-menu.h
8534 * src/hildon-app-menu.c
8535 Renamed API variables for consistency
8537 (hildon_app_menu_popup): Use also the default window size to
8538 decide where to place the menu
8540 (hildon_app_menu_init, hildon_app_menu_class_init): New
8541 external-border style property
8543 2008-05-26 Michael Natterer <mitch@imendio.com>
8545 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8546 widget_class->tap_and_hold_setup signal slot doesn't exist any
8547 longer, stop overriding it.
8549 (hildon_time_editor_init): g_signal_connect() to the
8550 tap-and-hold-setup signal instead.
8552 (hildon_time_editor_entry_keypress): add cast to fix warning.
8554 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8556 * doc/hildon-docs.sgml
8558 * examples/Makefile.am
8559 * examples/hildon-app-menu-example.c
8561 * src/hildon-app-menu-private.h
8562 * src/hildon-app-menu.c
8563 * src/hildon-app-menu.h
8565 New HildonAppMenu widget
8567 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8569 Rearranged the inheritance of the pannable area, now it inherits
8570 from GtkBin. This will allow us to control the event_window and
8571 the allocation process of the widget, required for some effects.
8573 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8574 GtkBin structures. * src/hildon-pannable-area.c: Added the
8575 event_window variable.
8576 (hildon_pannable_area_button_press_cb):
8577 (hildon_pannable_area_button_release_cb):
8578 (hildon_pannable_area_motion_notify_cb):
8579 Changed the signature of the method, now we override the event
8580 callback instead of connecting to the signal.
8582 (hildon_pannable_area_realize):
8583 (hildon_pannable_area_unrealize):
8584 (hildon_pannable_area_map):
8585 (hildon_pannable_area_unmap):
8586 (hildon_pannable_area_size_allocate):
8587 Added functions to control the widget construction. We add a
8588 INPUT_ONLY window and we put it over the widgets inside the
8589 container, this event_window handles the events.
8591 (hildon_pannable_area_class_init):
8592 Replaced the signal connections with overrides of the event
8595 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8597 Bouncing effect added when touching the borders, you can change
8598 the elasticity of the border changing the ELASTICITY define.
8600 * src/hildon-pannable-area.c: Added ELASTICITY define.
8601 (hildon_pannable_area_timeout): Added inverse velocity when
8602 touching the border of the child widget, that causes a bounce.
8604 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8606 Improved performance, we now do not go to the X server in order to
8607 get the list of window children. Apparently the effect is the
8608 same, we have to be careful and check if this breaks something in
8611 * src/hildon-pannable-area.c:
8612 (get_ordered_children): Removed this function.
8613 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8614 the children windows function with gdk_window_get_children.
8616 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8618 * src/hildon-pannable-area.c:
8619 (hildon_pannable_area_dispose): Fixed a crash when closing the
8620 window and kinetics is activated.
8622 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8624 * src/hildon-pannable-area.h
8625 * src/hildon-pannable-area.c
8626 Changed indentation style to meet the one used in Hildon
8628 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8630 Reviewed the interaction of the AUTO mode, now we use the time
8631 attribute of the events and calculate the velocity in the motion,
8632 doing a gimp like calculation. The velocity is calculated in each
8633 motion event using the last velocity and the current one, the
8634 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8636 * src/hildon-pannable-area.c: Replaced the time based algorithm
8638 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8639 timeout for the AUTO mode when we are still moving the cursor. We
8640 added also the velocity calculation in this function.
8641 (hildon_pannable_area_button_release_cb): launch the timeout in
8642 case we are in AUTO mode. There are still some constants here that
8643 come from the old implementation that should be reviewed and
8646 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8648 * doc/hildon-docs.sgml
8651 * src/hildon-stackable-window.c
8652 * src/hildon-stackable-window.h
8654 New HildonStackableWindow widget
8656 * examples/hildon-dialog-example.c
8657 * examples/hildon-pannable-area-example.c
8660 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8662 * src/hildon-dialog.c
8663 (hildon_dialog_new_with_buttons): New constructor.
8665 * examples/hildon-dialog-example.c
8666 (main): Update the example to use the new
8667 hildon_dialog_new_with_buttons().
8669 * examples/hildon-pannable-area-example.c
8670 (main): Update example.
8672 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8674 * doc/hildon-docs.sgml
8676 Added HildonPannableArea to the documentation.
8678 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8680 * doc/visual_index.xml
8681 Fix reference to HildonLoginDialog in documentation
8683 * doc/hildon-docs.sgml
8685 * examples/Makefile.am
8686 * examples/hildon-dialog-example.c
8688 * src/hildon-dialog.c
8689 * src/hildon-dialog.h
8691 New HildonDialog widget.
8693 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8695 * src/hildon-pannable-area.c
8696 Merge latest changes (r4318, r4342) from libmokoui trunk
8698 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8700 * examples/Makefile.am
8701 * examples/hildon-pannable-area-example.c
8703 * src/hildon-pannable-area.c
8704 * src/hildon-pannable-area.h
8706 New HildonPannableArea widget.
8708 2008-04-15 18:05:19 <timj@imendio.com>
8710 * src/hildon-banner.c: revert the recent change, that introduced
8711 gtk_window_present() calls. this reopens:
8712 Bug 78481 - [freetest] information banners are hidden under browser menu
8713 But resolves another variant of:
8714 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8716 2008-04-15 13:21:13 <timj@imendio.com>
8718 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8719 recreated its layout, spotted by Kris. this fixes all remaining
8720 artefacts and stability issues with the banner code. in particular:
8721 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8723 2008-04-14 16:52:59 <timj@imendio.com>
8725 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8726 operating on unrealized widgets, fixes:
8727 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8729 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8731 2008-04-09 Kristian Rietveld <kris@imendio.com>
8733 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8734 makes banner disappear.
8735 Fixes: NB#79182: info banner flickering with certain message lengts.
8737 * src/hildon-banner.c (hildon_banner_constructor),
8738 (hildon_banner_init), (hildon_banner_set_text),
8739 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8740 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8741 FALSE, reset size requests of label and banner,
8742 (force_to_wrap_truncated): when the text is too wide, always enforce
8743 the maximum possible width instead of recalculating it from the
8744 layout; enforce the maximum banner height of 3 lines,
8745 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8746 nicer wrapping and no truncated chars if space gets tight.
8748 * src/hildon-banner-private.h: add has_been_wrapped and
8749 has_been_truncated fields.
8751 2008-04-07 Sven Herzberg <sven@imendio.com>
8753 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8754 local values in hildon_date_editor_size_allocate
8756 * src/hildon-date-editor.c: moved the real allocation code into the
8759 2008-04-07 Sven Herzberg <sven@imendio.com>
8761 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8762 local values in hildon_date_editor_size_allocate
8764 * src/hildon-date-editor.c: merged the two if() branches together
8766 2008-04-07 Sven Herzberg <sven@imendio.com>
8768 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8769 local values in hildon_date_editor_size_allocate
8771 * src/hildon-date-editor.c: changed the arguments of the if()
8774 2008-04-07 Sven Herzberg <sven@imendio.com>
8776 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8777 local values in hildon_date_editor_size_allocate
8779 * src/hildon-date-editor.c: split the calculation of the allocation
8780 from the real allocation
8782 2008-03-27 Michael Natterer <mitch@imendio.com>
8784 Fixes: NB#81696: The passcode is not overwritten even after
8787 * src/hildon-code-dialog.c
8788 (hildon_code_dialog_button_clicked)
8789 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8790 because that doesn't overwrite selected text. Instead, emit the
8791 "commit" signal on the entry's im_context so the entry's normal
8792 insert logic is triggered. Set the cursor to the end of the entry
8793 after each insert operation so that we *only* insert in the middle
8794 of the text if something was selected.
8796 2008-03-27 Michael Natterer <mitch@imendio.com>
8798 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8799 selector cannot be opened
8801 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8802 when the popup color selector is created. Please connect to this
8803 signal in order to set the dialog's help ID.
8805 2008-03-25 Sven Herzberg <sven@imendio.com>
8807 Fixes: MB#1212: Hide info banners (infoprints) on click
8809 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8810 extracted the close event simulation into an extra function
8811 (hildon_banner_button_press_event): simulate a close event and destroy
8812 the widget if the event wasn't handled
8813 (hildon_banner_class_init): added the button_press_event handler
8814 (hildon_banner_init): added button-press events to the widget
8816 2008-03-25 Sven Herzberg <sven@imendio.com>
8818 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8819 Patch from: Mohammad Anwari <mdamt@maemo.org>
8821 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8822 instead of the right in RTL mode
8823 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8824 breadcrumb button list in RTL mode
8825 * src/hildon-caption.c: mirror the appearance of the caption widget in
8827 * src/hildon-date-editor.c: mirror appearance of the date editor in
8829 * src/hildon-time-editor.c: mirror appearance of the time editor in
8831 * src/hildon-window.c: fix the position of the popup in RTL mode
8833 2008-03-25 Sven Herzberg <sven@imendio.com>
8835 Amendment to the fix of NB#22072. Fix compilation.
8837 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8839 2008-03-19 Sven Herzberg <sven@imendio.com>
8841 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8844 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8845 timeout id properly when the timeout will disappear this leaves no
8846 artifacts around in the destroy(); there will only be the timeout
8847 created by hildon_banner_ensure_timeout() and adding a new timeout
8848 will also work if the timeout gets removed because the timeout_handler
8851 2008-03-19 Michael Natterer <mitch@imendio.com>
8853 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8855 * src/hildon-volumebar.c
8856 * src/hildon-vvolumebar.c
8857 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8858 the widget becomes focussable at all.
8860 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8861 set the focus to wither the mute button or the volumebar.
8863 Remove own "can-focus" property and instead listen to
8864 notify::can-focus in order to update the widget's state.
8866 Implement GtkWidget::focus() and make sure we can also *leave* the
8867 widget, not only enter it, depending on volumebar orientation and
8868 requested focus direction.
8870 Clean up set_mute() to cooperate nicely with all the above.
8872 2008-03-04 Michael Natterer <mitch@imendio.com>
8874 Fixes: NB#78481: information banners are hidden under browser menu
8876 * src/hildon-banner.c: call gtk_window_present() on the banners so
8877 they are risen if they are already visible.
8879 2008-03-03 Sven Herzberg <sven@imendio.com>
8881 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8883 * examples/hildon-window-menu-example.c: (main): extended the window
8884 menu example to serve as a testcase for automatically added
8885 accelerator groups, too
8886 * src/hildon-window.c: (hildon_window_add_accel_group),
8887 (hildon_window_set_menu): added patch by Tommi Komulainen
8889 2008-03-03 Sven Herzberg <sven@imendio.com>
8891 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8893 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8894 knowledge about the border allocators used within GTK+
8896 2008-02-26 Sven Herzberg <sven@imendio.com>
8898 Fixes: MB#2981: Build with asserts broken
8900 * src/hildon-date-editor.c,
8901 * src/hildon-number-editor.c,
8902 * src/hildon-time-editor.c,
8903 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8904 the proper GType instance check
8906 2008-02-25 Sven Herzberg <sven@imendio.com>
8908 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8910 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8911 * examples/hildon-window-menu-example.c: (main): explicitly show
8913 * src/hildon-window.c:
8914 (hildon_window_set_main_menu): moved most of the code from set_menu()
8915 to this place; skipped the call to gtk_widget_show_all(); also didn't
8916 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8917 (hildon_window_set_menu): removed most of the code, just keep the
8918 questionable gtk_widget_show_all()
8919 * src/hildon-window.h: added the new function and deprecate the old
8922 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8928 * debian/changelog: Updating.
8930 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8933 * pkgconfig/Makefile.am:
8934 * pkgconfig/hildon.pc.in:
8937 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8938 use newly created API_MAJOR_VERSION.
8940 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8946 * debian/changelog: Updating.
8948 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8950 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8952 Add outer_border style property, we use it but don't define it (!).
8956 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8958 * examples/hildon-bread-crumb-trail-example.c (main):
8962 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8964 Fix logic for the bread crumb trail node removal.
8968 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * debian/changelog: Updating.
8976 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8978 Patch by Alejandro to get/set passwords dialogs accesibility.
8980 * hildon-1/src/hildon-get-password-dialog.c:
8981 * hildon-1/src/hildon-set-password-dialog.c:
8982 Set atk_set_name to the passwd entries in order to allow
8983 accessibility by name on this entries.
8985 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8990 * debian/control: Updating gtk dep.
8992 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8994 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8995 USE_MAEMO_GTK is enabled.
8997 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8999 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9000 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9002 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * debian/changelog: Updating.
9010 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * examples/Makefile.am:
9013 * examples/hildon-logical-color-example.c:
9014 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9015 applied + adding a test case. Fixes: NB#71660.
9017 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9019 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9020 to be visible, fixes warning on map for windows without toolbars.
9022 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9024 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9025 2.11.0, add a check for that besides the MAEMO_GTK check.
9027 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9033 * debian/changelog: Updating.
9035 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9037 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9038 visibility. Fixes: NB#70842 and MB#615.
9040 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9042 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9043 set the separator as no-show-all so it doesn't unintentionally appear when
9044 someone does a show_all.
9046 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9048 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9049 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9050 toplevel item. Fixes: NB#62031
9052 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9054 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9055 fix the name of the function in the docs.
9057 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9063 * debian/changelog: Updating.
9065 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9067 * examples/hildon-banner-long-example.c: Adding a test-case for long
9070 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9072 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * src/hildon-color-chooser-dialog.c:
9075 * src/hildon-color-chooser.c:
9076 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9077 memory leaks in font selector and color selector. Fixes: NB#70499 and
9080 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9082 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9084 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9087 little bit bigger. Fixes: #NB63694.
9089 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * debian/changelog: Updating.
9097 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9100 * doc/hildon-docs.sgml:
9101 * doc/images/bread-crumb-trail.png:
9102 * doc/images/calendar-popup.png:
9103 * doc/images/caption.png:
9104 * doc/images/code-dialog.png:
9105 * doc/images/color-button.png:
9106 * doc/images/color-chooser-dialog.png:
9107 * doc/images/color-chooser.png:
9108 * doc/images/controlbar.png:
9109 * doc/images/date-editor.png:
9110 * doc/images/font-selection-dialog.png:
9111 * doc/images/get-password-dialog.png:
9112 * doc/images/hvolumebar.png:
9113 * doc/images/login-dialog.png:
9114 * doc/images/note.png:
9115 * doc/images/number-editor.png:
9116 * doc/images/range-editor.png:
9117 * doc/images/seekbar.png:
9118 * doc/images/set-password-dialog.png:
9119 * doc/images/sort-dialog.png:
9120 * doc/images/time-editor.png:
9121 * doc/images/time-picker.png:
9122 * doc/images/vvolumebar.png:
9123 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9124 Adding the bread-crumb-trial and helpers to the documentation.
9126 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * examples/hildon-find-toolbar-example.c:
9129 * src/hildon-find-toolbar.c:
9130 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9131 actually continue firing the other handlers if connected. Adding a new
9133 hildon_find_toolbar_get_last_index that gets the index of the most
9134 recently added (last) item. Fixes: NB#52301.
9136 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9139 behaviour. Fixes: NB#68610.
9141 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9146 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9149 when realizing the banner. Should make the infonbanner effect a bit more
9152 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9154 * src/hildon-volumebar.c:
9155 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9156 hildon_volumebar_set_range_insensitive_message and
9157 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9159 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9161 * src/hildon-window.c: Fixing the border freeing on destroy.
9163 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9165 * src/hildon-code-dialog-private.h:
9166 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9167 kw keyboard support in HildonCodeDialog.
9169 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9175 * debian/changelog: Updating.
9177 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9179 * src/hildon-date-editor.c:
9180 * src/hildon-number-editor.c:
9181 * src/hildon-private.c:
9182 * src/hildon-private.h:
9183 * src/hildon-time-editor.c:
9184 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9185 handling in subclassed composite widgets. Fixes: NB#66628.
9187 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9190 from destroy_ callback as it introduces problems in async dbus signal
9191 handlers. Fixes NB#66673.
9193 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9195 * examples/hildon-hvolumebar-example.c:
9196 * src/hildon-volumebar.c: Improving the focus handling in the
9197 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9198 set_property accessor so that "mute" property can be actually set. I'm
9199 scared that nobody noticed it's totally broken.
9201 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9206 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9208 * src/hildon-calendar.c:
9209 * src/hildon-number-editor.c:
9210 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9211 matches the spec of 6 chars per second. Fixes: NB#60489.
9213 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9216 gtk_style_lookup_color sometime returns FALSE even though color was
9217 found and values were filled properly. Weird. Removing the warning for the
9220 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9223 expand vertically. Adding some extra space to the find toolbar buttons to
9224 make them thumbable. Fixes NB#66060.
9226 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9228 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9229 popup with "Ok" and "Cancel". Fixes NB#59299.
9231 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9233 * src/hildon-calendar.c: Process all window updates before executing next
9234 timeout. Fixes: NB#54146.
9236 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * debian/changelog: Updating.
9244 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9246 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9247 the client event and ignore it, since we use the delete event to close
9250 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9252 * src/hildon-helper.c: Remove the bogus warning about color not being
9253 found. Fixes NB#58352.
9255 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * examples/Makefile.am:
9258 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9259 HildonSeekbar widget inside a toolbar.
9261 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9263 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9264 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9265 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9266 don't want to be closed by non-temporary windows on map.
9268 Also use G_DEFINE_TYPE instead of manually typed code.
9270 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9277 * debian/rules: Updating.
9279 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9281 * examples/Makefile.am:
9282 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9283 bug NB#61128. Strangely it works.
9285 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9287 * src/hildon-date-editor.c: When the date editor entry has been changed
9288 but the numbers of characters < max, turn off the skip validation flag.
9289 Prevents a situation when we enter first a valid year and later re-write
9290 it with an invalid one. Fixes NB#60154.
9292 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9294 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9295 code dialog. Fixes NB#64355.
9297 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9299 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9300 switching the page. Fixes NB#49374.
9302 * examples/Makefile.am:
9303 * examples/hildon-wizard-dialog-example.c: Adding an example for
9304 HildonWizardDialog that shows how to handle manual sensitivity setting on
9307 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9311 * src/hildon-version.h.in:
9312 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9314 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9316 * src/hildon-volumebar.c: Updating the docs.
9318 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9324 * debian/changelog: Updating.
9326 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9328 * src/hildon-find-toolbar.c:
9329 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9330 selected item: hildon_find_toolbar_set_active,
9331 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9332 hildon_find_toolbar_get_active_iter . They correspond to respective
9333 GtkComboBox functions.
9335 * examples/Makefile.am:
9336 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9339 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * examples/Makefile.am:
9342 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9345 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9346 when font size > 32 and we pack a focusable widget inside. Actually using
9347 the default response would work too, but since we don't show default
9348 response state in any way (no theming) it would not be visible to the
9349 user. Fixes NB#63430.
9351 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9353 * src/hildon-date-editor.c: Adding the missing variable setter in the
9354 set_property handler. Fixes NB#54182.
9356 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9358 * src/hildon-window.h: Changing the long key press time from 1500ms to
9359 800ms as requested in NB#63700. I have a bad feeling about this, let's
9360 see... Fixes NB#63700.
9362 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9364 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9365 hildon_time_picker_map, hildon_time_picker_realize,
9366 hildon_time_picker_style_set): Split the contents of map to more
9367 appropriate functions; set window decorations on realize and update
9368 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9370 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9375 * debian/changelog: Updating.
9377 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9379 * src/Makefile.am: fixed installation of the header files
9381 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9387 * debian/changelog: Updating.
9389 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9391 * configure.ac: Removing some remaining of --enable-xan.
9393 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9395 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9396 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9398 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9399 2.10.12-osso6 because the move-focus signal needs to be available in
9402 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9404 * examples/Makefile.am:
9405 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9406 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9407 fine. Prolly NB#61128 is fixed now.
9409 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9411 * src/hildon-volumebar.c:
9412 * src/hildon-volumebar.h: Adding the
9413 hildon_volumebar_set_range_insensitive_message and
9414 hildon_volumebar_set_range_insensitive_messagef functions to set
9415 insensitive message on the slider of the volumebar. Fixes NB#61129.
9417 * examples/Makefile.am:
9418 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9419 test the new insensitive messsage functionality on HildonVolumebar.
9421 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9423 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9426 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9428 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9429 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9430 button on after clearing the trail.
9432 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9434 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9436 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9438 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9439 by splitting the installed headers in generated and non-generated groups. Use
9440 only the non-generated headers to create the hildon-enum-types.h file.
9442 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9444 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9446 * src/hildon-window.c: Hide the window before performing the destroy.
9447 Should make the app closing a little tiny bit more snappy.
9449 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9451 * src/hildon-seekbar.c: add gtkrange.h header
9452 * src/hildon-caption.c: remove unused variable
9454 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9456 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9459 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9465 * debian/changelog: Updating.
9467 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9469 * src/hildon-window.c (hildon_window_window_state_event,
9470 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9471 escape timeout on focus-out-event rather than notify::is-topmost; the
9472 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9474 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9476 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9477 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9479 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9481 * src/hildon-window: actually, you need to use the macro always, there's
9482 no private pointer in the instance structure. We should have cleaned this up
9483 when we had the chance...
9485 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9487 * src/hildon-window.c: do not get the private date from HildonWindow before
9488 it passes the g_return_if_fail check. Once it's passed the test, there's no
9489 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9490 if you are only going to access the data once. Whitespace cleanups.
9492 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9494 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9495 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9497 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9503 * debian/changelog: Updating.
9505 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9507 * src/hildon-window.c: When destroying the window, remove (if exists) the
9508 escape timeout handler. Fixes #NB59276.
9510 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9512 * src/hildon-banner.c: When realizing the widget, set the window
9513 transiency. Setting the transiency in the gobject constructor is not
9514 good, as the widget is not realized at that point. Fixes: #NB56624.
9516 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9518 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9519 Add padding for future expansions.
9521 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9523 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9524 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9525 will fake an activation on the previous to the last item of the trail, so
9526 the effect can be overrided by the developer as usual.
9527 Also change the callback for the back button to do the same thing, so its
9528 effect can be overrided too. Fixes: NB#58982
9530 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9532 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9533 HildonCaption. Fixes NB#52379.
9535 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9537 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9538 the internal state of the trail after the user has had the chance of executing
9539 his handler for the signal. Specifically, it may happen that the activated button
9540 is removed and the user still lets the default handler run. This would segfault
9543 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9545 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9546 scrollbar to the preview dialog. Fixes NB#54147.
9548 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9550 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9551 max/min year properties can be altered, so the client can modify it
9552 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9554 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9556 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9557 hildonlike by default. Fixing a problem with disappearing arrows when
9558 scrolling through months and years. Fixes NB#54127.
9560 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9562 * examples/hildon-date-editor-example.c: Adding error callback to the date
9565 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9571 * configure.ac: Updating.
9573 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9575 * configure.ac: Adding a special '--enable-xan' configure option that
9576 turns off the -Werror compilation setting. Usefull for development.
9578 * src/hildon-calendar.c:
9579 * src/hildon-number-editor.c:
9580 * src/hildon-time-picker.c: Adding the 5* multiplier to
9583 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9585 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9586 instead of g_object_ref + gtk_object_sink.
9588 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9594 * debian/changelog: Updating.
9596 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9598 * src/hildon-color-chooser-dialog.c:
9599 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9600 straight from Tommi labs.
9602 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9604 * examples/hildon-finger-example.c: Correcting the header file path.
9606 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9607 the changed signal. Fixes a small memory leak.
9609 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9613 * src/hildon-banner.c: Importing several usefull fixes from the
9614 ubuntu-mobile branch.
9616 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9618 * examples/Makefile.am:
9619 * examples/hildon-finger-example.c: Adding a finger-checking code
9622 * src/hildon-font-selection-dialog.c: Do not allocate the color
9623 structure using the g_new. Fixes NB#54061.
9625 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9627 * src/hildon-helper.c: Correcting tabs in file.
9629 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9631 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9632 control the visibility of the children.
9634 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9636 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9642 * debian/changelog: Updating.
9644 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9646 * src/hildon-bread-crumb-trail.c:
9647 (hildon_bread_crumb_trail_size_allocate):
9649 Make the back button always a square.
9651 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9653 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9654 from the .c file as it's a private file.
9656 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9658 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9659 uses slightly bigger height.
9661 * src/hildon-font-selection-dialog.c: Adding some checks before
9662 freeing memory in the font selection dialog.
9664 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9666 * src/hildon-font-selection-dialog.c: Adding a small check when
9669 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9670 buttons sensitivity on page switching.
9672 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9674 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9675 internal details of adding a bread crumb to the trail.
9677 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9683 * debian/changelog: Updating.
9685 * src/hildon-bread-crumb-trail.h:
9686 * src/hildon-bread-crumb.h: Changing the API guard to
9687 HILDON_ENABLE_UNSTABLE_API.
9689 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9697 * src/hildon-helper.h: Updating.
9699 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9707 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9711 * src/hildon-helper.h: Small fix to make the package actually compile.
9713 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9715 * src/hildon-bread-crumb-trail.h:
9716 * src/hildon-bread-crumb.h:
9718 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9719 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9721 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9723 * examples/hildon-bread-crumb-trail-example.c:
9725 * src/hildon-bread-crumb-trail.c:
9726 * src/hildon-bread-crumb-trail.h:
9727 * src/hildon-bread-crumb.c:
9728 * src/hildon-bread-crumb.h:
9729 * src/hildon-marshalers.list:
9730 * src/hildon-bread-crumb-widget.c:
9731 * src/hildon-bread-crumb-widget.h:
9733 Slight change in the widget design. The bread crumb trail API is
9734 unchanged, but HildonBreadCrumb is now an interface. A *private*
9735 implementation, hildon-bread-crumb-widget, is provided and used
9736 internally by the trail for the push_text/push_icon functions.
9738 The generic push API is still available, so anyone can implement
9739 and use its own bread crumb widget.
9741 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9743 * debian/rules: Fixing the shlibs.
9745 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9747 * src/hildon-banner.c: Fixing a problem with timed banners having
9748 their parrent destroyed before they are.
9750 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9752 * src/hildon-bread-crumb.c:
9753 * src/hildon-bread-crumb.h:
9755 Make the get_natural_size function a vfunc.
9757 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9759 * src/hildon-bread-crumb.c:
9760 * src/hildon-bread-crumb-trail.c:
9764 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9771 * debian/changelog: Updating for release.
9773 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9775 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9776 don't leak the pango layout.
9778 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9781 * examples/hildon-bread-crumb-trail-example.c:
9785 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9787 * debian/changelog: Removing the bug-fixed entries that were actually
9788 resolved as WONTFIX.
9790 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9793 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9795 * src/hildon-bread-crumb-trail.c:
9796 * src/hildon-bread-crumb-trail.h:
9797 * src/hildon-bread-crumb.c:
9798 * src/hildon-bread-crumb.h:
9802 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9804 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9805 until it's passed the type check.
9807 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9809 * examples/hildon-bread-crumb-trail-example.c
9813 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9815 * examples/Makefile.am
9816 * examples/hildon-bread-crumb-trail-example.c
9818 * src/hildon-bread-crumb-trail.c
9819 * src/hildon-bread-crumb-trail.h
9820 * src/hildon-bread-crumb.c
9821 * src/hildon-bread-crumb.h
9823 New HildonBreadCrumbTrail widget.
9825 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9827 * src/hildon-range-editor.c (hildon_range_editor_init),
9828 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9829 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9830 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9831 hildon_time_editor_class_init, hildon_time_editor_init),
9832 src/hildon-get-password-dialog.c (invalid_input,
9833 hildon_get_password_set_property, hildon_get_password_get_property,
9834 create_contents, hildon_get_password_dialog_set_max_characters),
9835 src/hildon-set-password-dialog.c (create_contents),
9836 src/hildon-date-editor.c (hildon_date_editor_init),
9837 src/hildon-login-dialog.c (hildon_login_dialog_init),
9838 src/hildon-number-editor.c (hildon_number_editor_init),
9839 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9840 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9841 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9842 configure option and adding the respective checks in the code.
9843 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9844 hildon_calendar_drag_data_received): fixed some build warnings.
9846 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9848 * debian/changelog: A 1.0.0 release notes.