1 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
3 Add hildon_app_menu_has_visible_children() private method
5 * hildon/hildon-app-menu-private.h: Add below private method.
6 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
7 New method to check the visibility of a HildonAppMenu children.
9 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
11 Set the window menu flag for application-common menus
13 * hildon/hildon-program.c:
14 (+hildon_program_window_set_common_menu_flag): Set or remove the
15 menu flag from a window only this doesn't have its own menu.
16 (+hildon_program_set_common_menu_flag): adjust menu flag for
17 all windows in the program.
18 (hildon_program_add_window),
19 (hildon_program_remove_window): add/remove the menu flag when
20 a window is added to the program.
22 Fixes: NB#137814 (Indicator for view menu in app title area)
24 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
26 Set a special window property for windows with menus
28 * hildon/hildon-window-private.h: Add private
29 hildon_window_set_menu_flag()
30 * hildon/hildon-window.c: (+do_set_has_menu),
31 (+hildon_window_set_menu_flag): set
32 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
33 or remove the property.
34 (hildon_window_set_main_menu),
35 (hildon_window_set_app_menu): call above methods to set or remove
36 the property when a menu is added or removed from the window.
38 Partially fixes: NB#137814 (Indicator for view menu in app title area)
40 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
42 Rename and move the methods to set flags to hildon-private.h
44 * hildon/hildon-gtk.c: (do_set_progress_indicator),
45 (do_set_do_not_disturb), (do_set_portrait_flags): call
46 the new private method hildon_gtk_window_set_clear_window_flag()
47 (hildon_gtk_window_set_progress_indicator),
48 (hildon_gtk_window_set_do_not_disturb),
49 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
50 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
51 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
53 * hildon/hildon-private.h: Add the two new private methds.
55 2009-09-11 Alejandro G. Castro <alex@igalia.com>
57 * hildon/hildon-pannable-area.c,
58 (hildon_pannable_area_init),
59 (hildon_pannable_area_size_allocate),
60 (hildon_pannable_area_button_release_cb): More tuning of the
61 speed, adding a way to calculate the acceleration and fast-panning
62 based on the child size.
64 2009-09-10 Alberto Garcia <agarcia@igalia.com>
66 * hildon/hildon-touch-selector.c
67 (hildon_touch_selector_class_init):
72 2009-09-10 Alberto Garcia <agarcia@igalia.com>
74 * hildon/hildon-touch-selector.c:
77 Fixes: MB#5104 (HildonTouchSelector docs should say no
78 HildonPannableArea is necessary)
80 2009-09-08 Alejandro G. Castro <alex@igalia.com>
82 * hildon/hildon-pannable-area.c,
83 (hildon_pannable_area_timeout): Fixed problem with the timeout
84 function, we need to move before decelerating the first time or we
85 are loosing the first jump.
87 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
89 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
91 [2.2.0 Release Candidate 3]
93 * debian/changelog: updates
95 2009-09-07 Alejandro G. Castro <alex@igalia.com>
97 * hildon/hildon-pannable-area.c,
98 (hildon_pannable_area_class_init): Increased max speed.
100 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
102 [2.2.0 Release Candidate 2]
105 * debian/changelog: bump version, updates
107 2009-09-07 Alejandro G. Castro <alex@igalia.com>
109 * hildon/hildon-pannable-area.c,
110 (hildon_pannable_area_class_init),
111 (hildon_pannable_area_button_release_cb): More tuning for the
114 2009-09-07 Alejandro G. Castro <alex@igalia.com>
116 * hildon/hildon-pannable-area.c,
117 (hildon_pannable_area_class_init):
118 Change the default value of the scrollbar_fade_delay.
120 Fixes: NB#127018 (Panning indicator fades out too slowly)
122 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
124 [2.2.0 Release Candidate 1]
127 * configure.ac: Bump version
128 * debian/changelog: updates
130 2009-09-04 Alejandro G. Castro <alex@igalia.com>
132 * hildon/hildon-pannable-area.c,
133 (hildon_pannable_area_init),
134 (hildon_pannable_area_button_press_cb),
135 (hildon_pannable_area_button_release_cb): Added a new acceleration
136 system to help traversing big lists, tuned the stop threshold.
138 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
140 2009-09-04 Alberto Garcia <agarcia@igalia.com>
142 * hildon/hildon-window.h:
143 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
145 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
147 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
151 * configure.ac: bump version
153 * debian/changelog: updates
155 2009-09-04 Alberto Garcia <agarcia@igalia.com>
157 * hildon/hildon-entry.c
158 * hildon/hildon-text-view.c:
159 Documentation updates
161 2009-09-04 Alberto Garcia <agarcia@igalia.com>
163 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
164 Redraw menu when the number of items change.
166 Fixes: NB#131911 (Appmenu does not resize properly, when number of
169 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
171 * hildon/hildon-pannable-area.c:
172 (hildon_pannable_area_launch_fade_timeout),
173 (hildon_pannable_area_motion_event_scroll),
174 (hildon_pannable_area_check_move),
175 (hildon_pannable_area_button_release_cb),
176 (hildon_pannable_area_scroll_to):
178 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
179 area drawing operations, since this is the recommended for drawing
182 Fixes: NB#110894 (In event view containing very large description
183 field, application menu is displayed blank while panning)
184 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
187 2009-09-03 Alberto Garcia <agarcia@igalia.com>
189 * doc/hildon-sections.txt
190 * hildon/hildon-button.c
191 * hildon/hildon-edit-toolbar.c
192 * hildon/hildon-gtk.[ch]
193 * hildon/hildon-main.c
194 * hildon/hildon-program.c
195 * hildon/hildon-stackable-window.c:
196 Documentation updates
198 2009-08-28 Alberto Garcia <agarcia@igalia.com>
200 * hildon/hildon-app-menu.c
201 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
202 Close the menu if it receives a grab-notify signal.
204 Fixes: NB#134533 (UI freezes if we show a dialog with
205 gtk_dialog_run() while a menu is opened)
207 2009-08-27 Alejandro G. Castro <alex@igalia.com>
209 * hildon/hildon-pannable-area.c,
210 (hildon_pannable_area_class_init): Reverted tuning modifications:
211 "Pannign needs to be faster" and "Pannable kinetics in large lists
214 2009-08-26 Alberto Garcia <agarcia@igalia.com>
216 * hildon/hildon-sound.c (hildon_play_system_sound):
217 Set "module-stream-restore.id" to "x-maemo-system-sound" when
218 playing system sounds
220 Fixes: NB#133767 (Information and confirmation note sound should
221 follow system profile setting)
223 2009-08-26 Alejandro G. Castro <alex@igalia.com>
225 * hildon/hildon-pannable-area.c,
226 (hildon_pannable_area_class_init): Added more force and increased
227 the max speed threshold.
229 Fixes: NB#135344 (Pannign needs to be faster)
231 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
233 [Release 2.1.96, this time for real]
236 * debian/changelog: updates
238 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
240 * hildon/hildon-pannable-area.c
241 (hildon_pannable_area_get_topmost): change the computation of the
242 co-ordinates transformed when no one of the children is a topmost
244 Fixes: NB#133252 (Opening any feed item from RSS always opens the
245 first feed item in browser)
247 2009-08-26 Alejandro G. Castro <alex@igalia.com>
249 * hildon/hildon-pannable-area.c,
250 (hildon_pannable_area_remove_timeouts): Adding this new function
251 with the code that removes the timeouts of the widget.
252 (hildon_pannable_area_dispose),
253 (hildon_pannable_area_unrealize): Use the new remove function to
254 stop timeouts when unrealizing and disposing.
255 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
256 calculation to avoid negative values in some cases.
258 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
260 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
262 * examples/hildon-check-button-example.c: (button_toggled_cb):
263 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
264 (hildon_check_button_set_active), (hildon_check_button_new),
265 (hildon_check_button_clicked), (hildon_check_button_class_init):
266 * hildon/hildon-check-button.h:
267 * hildon/hildon-set-password-dialog.c: (create_contents),
268 (hildon_set_password_response_change), (hildon_checkbox_toggled):
270 Revert "Make HildonCheckButton derive from GtkToggleButton"
272 2009-08-21 Alberto Garcia <agarcia@igalia.com>
276 * configure.ac: bump version
278 * debian/changelog: updates
280 2009-08-21 Alberto Garcia <agarcia@igalia.com>
282 * hildon/hildon-check-button.h
283 * hildon/hildon-check-button.c
284 (hildon_check_button_clicked, hildon_check_button_class_init):
285 Make HildonCheckButton derive from GtkToggleButton
286 (hildon_check_button_toggled, hildon_check_button_set_active)
287 (hildon_check_button_get_active):
288 Deprecate unnecessary HildonCheckButton API and use the
289 one from GtkToggleButton instead.
291 * hildon/hildon-set-password-dialog.c (create_contents)
292 (hildon_set_password_response_change, hildon_checkbox_toggled)
293 * examples/hildon-check-button-example.c (button_toggled_cb):
294 Update to use the GtkToggleButton API
296 Fixes: MB#4739 (HildonCheckButton should inherit from
299 Fixes: NB#132661 (HildonCheckButton should inherit from
302 2009-08-20 Alberto Garcia <agarcia@igalia.com>
304 * hildon/hildon-pannable-area.c
305 (hildon_pannable_area_class_init):
306 Increase default value of HildonPannableArea:velocity_max to 2000
308 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
310 2009-08-18 Alberto Garcia <agarcia@igalia.com>
314 * configure.ac: bump version
316 * debian/changelog: updates
318 2009-08-11 Alejandro G. Castro <alex@igalia.com>
320 * hildon/hildon-pannable-area.c
321 (hildon_pannable_area_size_allocate): Checked the scrollbars
322 before the first try when defining the layout, avoids two
323 allocations in some situations.
325 Fixes: NB#131794 (pannable area produces unnecessary allocations
326 causing performance problems)
328 2009-08-11 Alejandro G. Castro <alex@igalia.com>
330 * hildon/hildon-pannable-area.c
331 (hildon_pannable_area_button_press_cb),
332 (hildon_pannable_area_motion_notify_cb),
333 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
334 the spurious ref added in the copy, fixes leak of window.
336 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
337 if it's realized without showing and then deleted)
339 2009-08-10 Alberto Garcia <agarcia@igalia.com>
343 * configure.ac: bump version
345 * debian/changelog: updates
347 2009-08-06 Alberto Garcia <agarcia@igalia.com>
349 * examples/hildon-hvolumebar-timer-example.c
351 * hildon/hildon-banner.c
352 (hildon_banner_timeout, hildon_banner_ensure_timeout)
353 * hildon/hildon-calendar.c
354 (calendar_timer, start_spinning)
355 * hildon/hildon-color-chooser.c
356 (inline_limited_expose)
357 * hildon/hildon-date-editor.c
358 (hildon_date_editor_entry_focus_in)
359 (hildon_date_editor_entry_validate)
360 (hildon_date_editor_entry_select_all)
361 * hildon/hildon-note.c
363 * hildon/hildon-number-editor.c
364 (hildon_number_editor_button_pressed)
365 (hildon_number_editor_start_timer, do_mouse_timeout),
366 (add_select_all_idle, hildon_number_editor_select_all)
367 * hildon/hildon-time-editor.c
368 (hildon_time_editor_entry_focus_in)
369 (highlight_callback, hildon_time_editor_validate)
370 (hildon_time_editor_entry_select_all)
371 * hildon/hildon-time-picker.c
372 (hildon_time_picker_arrow_press)
373 (hildon_time_picker_key_repeat_timeout)
374 * hildon/hildon-window.c
375 (hildon_window_key_press_event)
376 (hildon_window_escape_timeout):
377 Replace all calls to g_idle_add/g_timeout_add with their
378 gdk_threads counterparts.
380 Fixes: NB#126198 (gdk-threads API should be used to install idle
381 and timeout handlers)
383 2009-08-06 Alejandro G. Castro <alex@igalia.com>
385 * hildon/hildon-pannable-area.c,
386 (hildon_pannable_area_class_init): Increased the overshooting max
387 speed to get a faster effect.
388 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
389 deceleration of the overshooting
390 (hildon_pannable_area_button_release_cb): Calculate initial
391 overshooting speed when finger on the screen using the distance to
392 launch the effect faster.
394 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
395 lists with slow row renderers)
397 2009-08-05 Alberto Garcia <agarcia@igalia.com>
399 * doc/hildon-sections.txt: Add new functions
401 2009-08-05 Alberto Garcia <agarcia@igalia.com>
403 * hildon/hildon-text-view.[ch]
404 * hildon/hildon-entry.[ch]:
405 Add deprecation guards around deprecated functions.
407 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
409 * hildon/hildon-app-menu.c: Remove leftover function declaration.
411 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
413 Remove the grab from HildonAppMenu
415 * hildon/hildon-app-menu.c:
416 Now hildon-desktop places a blocker window behind the menu to handle
417 its closing, so the grab is no longer needed. This simplifies its
418 implementation and allows the system blanking to succeed.
420 Fixes: NB#130910 (Screen gets unlocked when menu is open)
422 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
426 * configure.ac: bump version
428 * debian/changelog: updates
429 * debian/control: raise debian dependency on GTK+
431 2009-08-04 Alberto Garcia <agarcia@igalia.com>
433 * hildon/hildon-text-view.c
434 * hildon/hildon-entry.c:
435 Remove all placeholder code from HildonEntry and HildonTextView
436 and use the API in GtkEntry and GtkTextView instead.
438 * examples/hildon-entry-example.c
439 * examples/hildon-text-view-example.c
440 * examples/hildon-wizard-dialog-example.c
441 * hildon/hildon-get-password-dialog.c
442 * hildon/hildon-login-dialog.c
443 * hildon/hildon-picker-dialog.c
444 * hildon/hildon-set-password-dialog.c
445 * hildon/hildon-touch-selector-entry.c:
446 Replace all deprecated calls to HildonEntry and HildonTextView
447 with their Gtk counterparts.
449 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
452 2009-08-03 Alejandro G. Castro <alex@igalia.com>
454 * hildon/hildon-pannable-area.c,
455 (hildon_pannable_area_check_move),
456 (hildon_pannable_area_button_release_cb),
457 (hildon_pannable_area_scroll_to): Reverted the priority change of
458 the timeout, in some situations, slow renderers, the click do not
459 make it to the mainloop on time.
461 Fixes NB#131013 (unable to stop panning file manager by tapping on
464 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
466 * configure.ac: bump version
468 * debian/changelog: updates
470 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
472 * hildon/hildon-touch-selector.[ch]
473 (hildon_touch_selector_center_on_index): New method that allows to center
474 on a item not selected
476 Fixes NB#130291 (New HildonTouchSelector API is required to center on
479 2009-07-29 Alberto Garcia <agarcia@igalia.com>
481 * hildon/hildon-text-view.c
482 (+set_logical_color, +hildon_text_view_style_set)
483 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
484 (hildon_text_view_init)
485 * hildon/hildon-entry.c
486 (+set_logical_color, +hildon_entry_style_set)
487 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
488 (hildon_entry_class_init, hildon_entry_init)
489 * hildon/hildon-button.c
490 (+set_logical_font, +set_logical_color)
491 (hildon_button_style_set, hildon_button_init)
492 (hildon_button_set_arrangement, hildon_button_set_style):
493 Remove all calls to hildon_helper_set_logical_font() and
494 hildon_helper_set_logical_color(), which are recursive, from
497 Fixes: NB#123409 (Showing dialog consumes significant amount of
500 2009-07-29 Alejandro G. Castro <alex@igalia.com>
502 * hildon/hildon-pannable-area.c,
503 (hildon_pannable_area_timeout): Added the process updates of the
504 scrollbars window in the pannable.
506 Fixes: NB#130043 (scrollindicator not smooth while panning)
508 2009-07-23 Alejandro G. Castro <alex@igalia.com>
510 * hildon/hildon-pannable-area.c,
511 (hildon_pannable_area_check_move),
512 (hildon_pannable_area_button_release_cb),
513 (hildon_pannable_area_scroll_to): Increased the priority of the
514 timeout this way it is going to be handled before the events.
516 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
520 * configure.ac: bump version
521 * debian/changelog: updates
523 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
525 * hildon/hildon-entry.c: (set_property): Do not allow to set
526 automatic height and use finger height instead, to prevent an to
527 have a smaller size than than its theme pixbuf.
529 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
531 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
533 * configure.ac: postrelease version bump.
534 * debian/changelog: post release version bump
536 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
541 * configure.ac: Bump version.
542 * debian/changelog: Updates.
544 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
546 * hildon/hildon-note.c: (label_size_request): Take the note
547 padding into account when setting the size request.
549 Fixes: NB#127896 (Information notes text truncated)
551 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
553 * configure.ac: postrelease version bump.
554 * debian/changelog: post release version bump
556 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
561 * configure.ac: Bump version.
562 * debian/changelog: Updates.
564 2009-07-16 Alejandro G. Castro <alex@igalia.com>
567 * hildon/hildon-text-view.c,
568 (hildon_text_view_button_press_event): Grabbed the focus in button
569 press, this way we are sure the widget has the focus in the
570 release event, required for HIM.
572 Fixes: NB#121445 (Virtual keyboard opening is not working in same
573 way for each text entry field)
575 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
577 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
578 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
579 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
580 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
581 (hildon_pannable_area_[gs]et_center_on_child_focus)
582 Redefined GtkContainer set-focus-child signal, in order to center
583 properly on a child when it receives the focus. Defined a new property
584 "center-on-child-focus" in order to activate this feature (deactivated
585 by default). Public get/set methods defined to manage the property.
587 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
589 2009-07-14 László Pere <lpere@blumsoft.eu>
591 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
592 the new size is applied.
594 Fixes: NB#124510 (The Application Menu is distorted when switched
595 between portrait and landscape mode)
596 Fixes: NB#115388 (Power key menu does not resize itself)
598 2009-07-01 Alberto Garcia <agarcia@igalia.com>
600 * hildon/hildon-banner.c (hildon_banner_map):
601 Set banner position after mapping.
603 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
605 * configure.ac: postrelease version bump.
606 * debian/changelog: post release version bump
608 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
613 * configure.ac: Bump version.
614 * debian/changelog: Updates.
616 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
618 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
621 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
623 * tests/check-hildon-banner.c
625 * tests/test_suites.h
626 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
627 were testing deprecated functions.
628 * examples/hildon-banner-example.c: typo on button3 type, that causes
629 a fail compiling with --with-examples but without --disable-deprecated
631 Missed commit in order to fix compilation using '--enable-fatal' and
632 '--disable-deprecated' (see previous commit)
634 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
636 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
637 functions with #ifndef HILDON_DISABLE_DEPRECATED
638 * examples/hildon-find-toolbar.c: Protect deprecated
639 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
640 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
641 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
642 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
644 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
645 to allow proper compilation of deprecated functions defined on the header
647 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
649 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
651 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
652 Cache the panning indicator color.,
653 (hildon_pannable_area_style_set): Query the color on style changes.
654 (hildon_pannable_draw_vscroll),
655 (hildon_pannable_draw_hscroll),
656 (hildon_pannable_area_expose_event): Use the cached panning indicator
657 color instead of looking it up on every expose and more.
659 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
661 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
662 (hildon_pannable_draw_hscroll),
663 (hildon_pannable_area_expose_event): Fix the panning indicator color,
664 so that it's "SecondaryTextColor", as desired.
666 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
668 * hildon/hildon-picker-dialog.c:
669 (selection_completed): take into account HILDON_UI_MODE_NORMAL
670 * hildon/hildon-touch-selector.c
671 (hildon_touch_selector_init): Initialize hildon-ui-mode
672 (hildon_touch_selector_row_activated): new callback for the
673 "row-activated" signal, in order to save the last activated
674 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
675 if the current hildon-ui-mode is coherent with the touch selector
676 (hildon_touch_selector_class_init)
677 (hildon_touch_selector_get_property)
678 (hildon_touch_selector_set_property)
679 Added "hildon-ui-mode" property
680 (disconnect_model_handlers): renamed to clean_column
681 (hildon_touch_selector_remove): use clean_column function
682 (_create_new_column): use the hildon-ui-mode to create the treeview, and
683 only select the first element on HILDON_UI_MODE_EDIT
684 (hildon_touch_selector_column_init): Initialize last_activate
685 (hildon_touch_selector_append_column): check that the touch selector
686 is coherent with the current hildon-ui-mode
687 (hildon_touch_selector_get_hildon_ui_mode)
688 (hildon_touch_selector_set_hildon_ui_mode)
689 Added a getter/setter for the hildon-ui-mode property
690 (hildon_touch_selector_get_last_activated_row): Added this method in
691 order to get the last activated row.
692 * examples/hildon-touch-selector-normal-mode-example.c
693 New example, that shows how to use the HildonTouchSelector in
694 HILDON_UI_MODE_NORMAL
696 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
697 Kristian Rietveld <kris@lanedo.com> advices
699 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
701 * hildon/hildon-time-selector.c: (update_format_policy): Do
702 not call update_format_dependant_columns() if not necessary.
703 (update_format_dependant_columns): Remove unnecessary check for
704 the number of columns.
706 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
708 * hildon/hildon-note.c (+hildon_note_constructor),
709 (hildon_note_class_init), (+hildon_note_set_padding),
710 (hildon_note_rebuild): Install a constructor where to set the
711 padding properties in the note, so that it actually works fine.
712 Use hildon_note_set_padding() for this, and also to set it during
715 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
717 * configure.ac: Bump GTK+ requirement to 2.14.3.
718 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
719 when using maemo-gtk to define proper margins for the notes.
721 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
722 with the dialog edge)
724 2009-06-24 Alberto Garcia <agarcia@igalia.com>
726 * hildon/hildon-banner.c
727 (hildon_banner_class_init):
729 (+hildon_banner_size_request):
730 Request always the full width of the screen.
731 (hildon_banner_realize)
732 (-hildon_banner_check_position, hildon_banner_map):
733 hildon_banner_check_position() is not needed in Hildon 2.2.
734 (-hildon_banner_reset_wrap_state)
735 (hildon_banner_constructor, hildon_banner_init):
736 Remove unnecessary calls to hildon_banner_reset_wrap_state()
737 (+banner_do_set_text)
738 (force_to_wrap_truncated):
739 Remove has_been_wrapped and has_been_truncated attributes.
740 (+reshow_banner, hildon_banner_real_show_information)
741 (hildon_banner_show_information_with_markup)
742 (hildon_banner_show_animation, hildon_banner_show_progress)
743 (hildon_banner_set_text, hildon_banner_set_markup):
744 Refactor code. Shrink banner vertically to use the minimum space
745 necessary everytime the text of the label is updated.
746 (screen_size_changed):
747 Call force_to_wrap_truncated() when the size of the screen
750 Fixes: NB#120500 (only device memory connect mmc in use info
751 banner is left aligned)
753 Fixes: NB#120613 (Size of HildonBanner varies depending on
754 previously opened banners)
756 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
758 * hildon/hildon-color-chooser.c
759 (hildon_color_chooser_pointer_motion): Take the widget allocation
762 Fixes: NB#124385 (Unable to select exact point in color mixing box
763 in color palette dialog)
765 2009-06-23 Alejandro G. Castro <alex@igalia.com>
767 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
768 (hildon_pannable_area_dispose)
769 (hildon_pannable_area_button_press_cb)
770 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
771 (hildon_pannable_area_button_release_cb)
772 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
773 New 'panning-started' and 'panning-finished' signals.
775 Fixes: NB#121732 (New feature request: Signal to pannable area
776 that informs when panning is stopped.)
778 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
780 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
781 instead of hardcoded colon.
783 Fixes: NB#124090 (New calendar wizard title is not using
784 ecdg_ti_caption_separator)
786 2009-06-22 David King <davidk@openismus.com>
788 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
789 constants and functions, as well as correct many typos throughout the
792 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
795 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
797 * configure.ac: postrelease version bump.
798 * debian/changelog: post release version bump
800 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
805 * configure.ac: Bump version.
806 * debian/changelog: Updates.
808 2009-06-18 Alberto Garcia <agarcia@igalia.com>
810 * hildon/hildon-window-stack.c
811 (hildon_window_stack_pop_and_push_list):
812 Prevent windows from having the same stack index
814 2009-06-18 Alberto Garcia <agarcia@igalia.com>
816 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
817 Use the index of the previous window rather than the stack length
818 to calculate the new index.
822 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
824 * hildon/hildon-date-selector.c
825 (hildon_date_selector_select_current_date)
826 (hildon_date_selector_get_date)
827 (hildon_date_selector_select_day):
828 Update the documentation: uses always the range (1-31), as it is obvious
829 that the final one will depend on the month and the year, but globally
830 the range is this, in a similar GtkCalendar approach
831 (hildon_date_selector_get_date):
832 Update the documentation: add NULL as a valid value for the day, month
835 Fix some details, after talk with David King on bug MB#4698
837 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
839 * hildon/hildon-touch-selector-entry.c
840 * hildon/hildon-touch-selector.c
841 Update the documentation of the "text-column" property
843 2009-06-18 David King <davidk@openismus.com>
845 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
846 several typos and errors throughout the documentation.
848 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
851 2009-06-18 Alberto Garcia <agarcia@igalia.com>
853 * hildon/hildon-note.c (hildon_note_realize):
854 Make HildonNote support portrait mode.
856 Fixes: NB#123448 (HildonNote is not portrait-friendly)
858 2009-06-17 Alberto Garcia <agarcia@igalia.com>
860 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
861 Document this function
863 2009-06-17 David King <davidk@openismus.com>
865 * hildon/hildon-date-selector.c
866 (hildon_date_selector_select_current_date)
867 (hildon_date_selector_get_date): Update documentation regarding days,
868 as the day of the month is dependent on both the month and the year.
869 (hildon_date_selector_get_date): Fix documentation of output arguments.
871 Fixes: MB#4698 (DateSelector documentation has bad output argument
872 description, and the day depends on both the month and the year)
874 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
876 * hildon/hildon-caption.c: Other documentation fixes to
879 2009-06-17 David King <davidk@openismus.com>
881 * hildon/hildon-caption.c: Minor documentation updates for
882 HildonCaption. Fixes MB#4697.
884 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
886 * doc/hildon-docs.sgml: Add hildon-version section.
887 * doc/hildon-sections.txt:
888 * hildon/hildon-version.h.in: Document versioning macros and
891 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
893 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
894 from HildonPickerDialog section.
896 2009-06-16 Alberto Garcia <agarcia@igalia.com>
898 * hildon/hildon-banner.c (hildon_banner_bind_style)
899 (screen_size_changed, hildon_banner_init)
900 (hildon_banner_real_show_information)
901 (hildon_banner_show_information_with_markup)
902 (hildon_banner_show_animation, hildon_banner_show_progress):
903 Set a different widget name to banners in portrait mode, for them
904 to be themed correctly.
906 2009-06-16 Alberto Garcia <agarcia@igalia.com>
908 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
909 Set a different widget name to notes in portrait mode, for them to
912 Partially fixes: NB#118401 (HildonNote causes unnecessary
915 2009-06-16 Alberto Garcia <agarcia@igalia.com>
917 * hildon/hildon-note.c (hildon_note_class_init)
918 (+hildon_note_size_request, screen_size_changed):
919 Always request the full width of the screen.
921 Fixes: NB#118375 (unnecessary rescaling of images)
923 2009-06-16 Alejandro G. Castro <alex@igalia.com>
925 * hildon/hildon-pannable-area.c,
926 (hildon_pannable_area_init),
927 (hildon_pannable_area_realize): Replaced old code adding flags in
928 the object init, now we add it with the other flags in the realize
931 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
933 * hildon/hildon-note.c: (hildon_note_class_init): Several
934 documentation improvements to the HildonNote widget.
936 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
938 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
940 Fixes: MB#4556 (HildonNoteType is undocumented)
942 2009-06-15 Alberto Garcia <agarcia@igalia.com>
944 * hildon/hildon-picker-button.c:
945 Explain how HildonPickerButton sets the title of its dialog
947 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
948 the title of its dialog)
950 2009-06-15 Alberto Garcia <agarcia@igalia.com>
952 * hildon/hildon-check-button.c:
953 Documentation updates
955 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
958 2009-06-15 Alberto Garcia <agarcia@igalia.com>
961 * hildon/hildon-edit-toolbar-private.h
962 * hildon/hildon-edit-toolbar.c
963 (+hildon_edit_toolbar_set_progress_indicator)
964 (hildon_edit_toolbar_init): Add progress indicator to the
967 * hildon/hildon-gtk.c
968 (hildon_gtk_window_set_progress_indicator):
969 If the window contains a HildonEditToolbar, enable the progress
972 * hildon/hildon-private.h
973 * hildon/hildon-private.c
974 (+hildon_private_create_animation)
975 * hildon/hildon-banner.c
976 (-hildon_banner_create_animation):
977 Moved to hildon-private.c
979 Fixes: NB#102373 (Progress indicator also for the Edit mode
982 2009-06-15 Alberto Garcia <agarcia@igalia.com>
984 * hildon/hildon-app-menu-private.h
985 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
986 (hildon_app_menu_add_filter, +menu_item_button_event)
987 (hildon_app_menu_button_release, hildon_app_menu_init):
988 Make sure that buttons receive 'button-release-event' in spite of
989 the grab held by HildonAppMenu
991 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
993 2009-06-15 Alberto Garcia <agarcia@igalia.com>
995 * hildon/hildon-app-menu.c
996 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
997 New style property to set the size of the group of filter buttons.
999 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1001 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1006 * configure.ac: Bump version.
1007 * debian/changelog: Updates.
1009 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1011 * hildon/hildon-main.c: Minor documentation fixes.
1013 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1015 * doc/hildon-sections.txt:
1016 * hildon/hildon-defines.h: Document the defines, organize them,
1017 and mark deprecations as such.
1019 Fixes: MB#4463 (Hildon size #defines are undocumented)
1021 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1023 * hildon/hildon-animation-actor.c:
1024 * hildon/hildon-app-menu.c:
1025 * hildon/hildon-button.c:
1026 * hildon/hildon-date-editor.c:
1027 * hildon/hildon-dialog.c:
1028 * hildon/hildon-edit-toolbar.c:
1029 * hildon/hildon-entry.c:
1030 * hildon/hildon-program.c:
1031 * hildon/hildon-remote-texture.c:
1032 * hildon/hildon-stackable-window.c:
1033 * hildon/hildon-text-view.c:
1034 * hildon/hildon-touch-selector.c:
1035 * hildon/hildon-window-stack.c:
1036 * hildon/hildon-window.c:
1038 Remove redundant "represents" wording from most of the documentation.
1040 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1042 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1046 * hildon/Makefile.am
1047 * hildon/hildon-banner-private.h
1048 * hildon/hildon-banner.c:
1049 Move HildonBannerPrivate to hildon-banner.c and remove
1050 hildon-banner-private.h
1051 Use a bit field to store private booleans.
1053 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1055 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1056 Don't install a new idle function if there's already one
1061 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1063 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1064 (+legacy_menu_realized, +legacy_menu_unmapped)
1065 (+set_legacy_menu_type):
1066 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1067 they can be identified by the window manager.
1069 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1070 displayed in wrong location)
1072 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1075 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1077 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1079 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1080 use gtk-doc support)
1082 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1084 * hildon/hildon-code-dialog.c
1085 * hildon/hildon-date-editor.c
1086 * hildon/hildon-number-editor.c
1087 * hildon/hildon-seekbar.c
1088 * hildon/hildon-stackable-window.c
1089 * hildon/hildon-window.c:
1090 Misc documentation updates
1092 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1094 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1095 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1097 Fixes: NB#117931 (Theming issues in accounts dialogs)
1099 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1101 * hildon/hildon-pannable-area.c,
1102 (hildon_pannable_area_button_release_cb): Changed the coordinates
1103 of the original release in case we want to discard the release,
1104 some widgets in Fremantle do not handle the leave-notify.
1106 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1108 * hildon/hildon-pannable-area.c,
1109 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1110 the release using the last refactored functions and avoiding the
1111 movement if an element was selected.
1113 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1115 * hildon/hildon-pannable-area.c,
1116 (hildon_pannable_area_check_move),
1117 (hildon_pannable_area_handle_move),
1118 (hildon_pannable_area_motion_notify_cb): Refactored the
1119 motion_notify method using a couple of new functions.
1121 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1123 * hildon/hildon-date-selector.c:
1124 (hildon_date_selector_construct_ui):
1125 * hildon/hildon-time-selector.c:
1126 (hildon_time_selector_constructor):
1127 * hildon/hildon-touch-selector-entry.c:
1128 (hildon_touch_selector_entry_set_text_column),
1129 (hildon_touch_selector_entry_get_text_column):
1130 * hildon/hildon-touch-selector.c: (_default_print_func),
1131 (hildon_touch_selector_new_text): Use
1132 hildon_touch_selector_set/get_text_column() instead of
1133 setting/getting the "text-column" property.
1135 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1137 * doc/hildon-sections.txt: Add the new public methods below.
1139 * examples/hildon-picker-button-multicolumn-example.c:
1140 (create_touch_selector):
1141 * examples/hildon-touch-selector-example.c: (create_selector):
1142 * examples/hildon-touch-selector-multi-cells-example.c:
1144 Use hildon_touch_selector_column_set_text_column()
1146 * hildon/hildon-touch-selector-column.h:
1147 * hildon/hildon-touch-selector.c:
1148 (hildon_touch_selector_column_set_text_column),
1149 (hildon_touch_selector_column_get_text_column):
1150 Make hildon_touch_selector_column_set/get_column() public, use
1151 them in the inline example, document them, and reference to them
1154 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1156 * hildon/hildon-time-selector.c: Fix the docs for
1157 hildon_time_selector_new_step().
1159 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1161 * hildon/hildon-touch-selector.c: Improve the documentation for
1162 hildon_touch_selector_append_column().
1164 Fixes MB#4641 (Documentation:
1165 hildon_touch_selector_append_column() ref-counting)
1167 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1169 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1170 Comment out test 5, since the hildon_controlbar_set_range() range
1171 check is broken and fixing it would have side effects. Also,
1172 this finally fixes make distcheck.
1174 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1176 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1178 * tests/TEST-CASES.txt: Remove other bogus test.
1179 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1180 Remove bogus test that was setting/retrieving a valid value.
1182 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1184 * tests/TEST-CASES.txt: Remove bogus tests.
1185 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1186 Remove three bogus tests that were actually setting valid colors.
1188 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1190 * configure.ac: post release version bump
1191 * debian/changelog: post release version bump
1193 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1198 * configure.ac: Bump version.
1199 * debian/changelog: Updates.
1201 2009-06-08 Christian Dywan <christian@lanedo.com>
1205 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1206 Correct errors in hildon_format_file-size_for_display and use
1207 translations from the hildon-fm package instead of osso-filemanager.
1209 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1211 * hildon/hildon-pannable-area.c,
1212 (hildon_pannable_area_init): Initialized new values to handle the
1213 adjustment position.
1214 (hildon_pannable_area_adjust_value_changed): Check if the values
1215 changed before even call the redraw function.
1216 (hildon_pannable_area_size_allocate),
1217 (hildon_pannable_axis_scroll),
1218 (hildon_pannable_area_scroll),
1219 (hildon_pannable_area_jump_to): Improved the diagonal movement
1222 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1225 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1227 * examples/hildon-banner-example.c:
1228 Several style updates
1229 (on_animation_clicked, on_animation_idle)
1230 (on_progress_clicked, on_progress_idle):
1231 Add additional reference for the cases when the parent window is
1234 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1236 * doc/hildon-sections.txt
1237 * hildon/hildon-pannable-area.c
1238 * hildon/hildon-banner.h
1239 * hildon/hildon-banner.c: Documentation updates.
1241 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1244 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1246 * hildon/hildon-calendar-popup.h:
1247 * hildon/hildon-caption.h:
1248 * hildon/hildon-code-dialog.h:
1249 * hildon/hildon-controlbar.h:
1250 * hildon/hildon-date-editor.h:
1251 * hildon/hildon-dialog.h:
1252 * hildon/hildon-get-password-dialog.h:
1253 * hildon/hildon-hvolumebar.h:
1254 * hildon/hildon-login-dialog.h:
1255 * hildon/hildon-note.h:
1256 * hildon/hildon-number-editor.h:
1257 * hildon/hildon-range-editor.h:
1258 * hildon/hildon-seekbar.h:
1259 * hildon/hildon-set-password-dialog.h:
1260 * hildon/hildon-sort-dialog.h:
1261 * hildon/hildon-time-editor.h:
1262 * hildon/hildon-time-picker.h:
1263 * hildon/hildon-volumebar-range.h:
1264 * hildon/hildon-volumebar.h:
1265 * hildon/hildon-vvolumebar.h:
1266 * hildon/hildon-weekday-picker.h:
1267 * hildon/hildon-window.h:
1268 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1269 macros with the current replacements
1271 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1273 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1275 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1276 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1277 itself, to make it fit better with Fremantle style.
1279 Fixes: NB#109878 (height and width of focus on color icon is not
1280 consistent with other item in the application tool bar)
1282 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1284 * hildon/hildon-touch-selector.c:
1285 (hildon_touch_selector_optimal_size_request): use the current requisition
1286 as the base, in order to include any possible extra widget, like the
1287 hildon entry on HildonTouchSelectorEntry
1289 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1291 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1293 * configure.ac: post release version bump
1294 * debian/changelog: post release version bump
1296 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1301 * configure.ac: Bump version.
1302 * debian/changelog: Updates.
1304 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1306 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1308 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1309 to ensure the banner contents are centered, instead of relying on
1310 the expand and fill properties in GtkHBox.
1311 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1313 Fixes: NB#108265 (Animation banner not properly centered)
1315 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1317 * hildon/hildon-pannable-area.c
1318 (hildon_pannable_area_initial_effect): Remove the initial_effect
1319 management, check initial_hint
1320 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1321 set initial_effect to FALSE
1322 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1323 by launching the fade_timeout if the scrollbars state has changed and are
1325 * examples/hildon-pannable-area-initial-hint-example.c
1326 Modified to allow to remove rows too. Add and remove rows one by one.
1328 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1330 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1331 Don't close the menu if there's an animation actor below it.
1333 Fixes: NB#117927 (Application menu not usable with animation
1336 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1338 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1339 "focus-on-click" from the dialog button, to avoid stealing the
1340 focus from the entry.
1342 Fixes: NB#118903 (Account setup wizard: Text in Search field
1343 should be focused when "Region" touch list picker is reopened
1346 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1348 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1349 (prepare_action_area): Completely hide the dialog separator.
1351 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1353 * hildon/hildon-touch-selector-entry.c
1354 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1355 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1356 now that the entry is exposed.
1358 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1360 * hildon/hildon-touch-selector-entry.c
1361 (hildon_touch_selector_entry_init): Change the entry's size
1362 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1364 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1366 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1367 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1368 avoid unnecessary scaling.
1370 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1372 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1373 Create grab transfer window before calling parent's map function.
1375 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1376 "crushed" button(s) in the top left corner)
1378 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1380 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1381 Check if the window is already realized when pushing it.
1383 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1385 * configure.ac: post release version bump
1386 * debian/changelog: post release version bump
1388 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1393 * configure.ac: Bump version.
1394 * debian/changelog: Updates.
1396 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1398 * hildon/hildon-app-menu.c: Doc updates.
1400 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1402 * hildon/hildon-banner.c: Remove leftover macro.
1404 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1406 * hildon/hildon-pannable-area.c,
1407 (hildon_pannable_area_scroll_indicator_fade),
1408 (hildon_pannable_area_button_release_cb): Reviewed vmin
1409 conditions, it could cause problems in the fadeout procedure.
1411 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1413 * hildon/hildon-pannable-area.c
1414 (hildon_pannable_area_button_release_cb): Added a threshold to
1415 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1417 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1419 * hildon/hildon-pannable-area.c,
1420 (hildon_pannable_area_set_property): Added code to sync the gtk
1421 dnd threshold with the panning threshold.
1423 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1425 * hildon/hildon-pannable-area.c,
1426 (hildon_pannable_area_class_init): Changed some of the default
1427 values, now it should be less responsive and more accurate.
1429 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1431 * hildon/hildon-pannable-area.c,
1432 (hildon_pannable_area_init),
1433 (hildon_pannable_area_scroll_indicator_fade),
1434 (hildon_pannable_area_button_press_cb),
1435 (hildon_pannable_axis_scroll),
1436 (hildon_pannable_area_timeout),
1437 (hildon_pannable_area_motion_notify_cb),
1438 (hildon_pannable_area_button_release_cb): Changed the name of the
1439 clicked attribute to button_pressed, it is more clear about its use.
1441 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1443 * src/hildon-pannable-area.c
1444 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1446 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1447 vertical scrollbar visibility, and use the data on private section instead,
1448 remove the initial_hint check
1449 (hildon_pannable_area_expose_event): add the initial_hint check here
1451 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1453 * src/hildon-pannable-area.c
1454 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1455 if the fadeout effect was used
1456 (hildon_pannable_area_expose_event): check if it is required to
1457 manage the initial effect on the begining of the function. Previously
1458 it was made at the end, but this doesn't ensure that the scrollbars
1459 will be painted on the first show. Do not set to FALSE initial_effect,
1460 to ensure that the initial hint is showed the first time the pannable
1462 * examples/Makefile.am
1463 * examples/hildon-pannable-area-initial-hint-example.c:
1464 New example, to show that the initial-hint is showed when the widget
1467 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1468 initially if the application can be scrolled)
1470 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1472 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1473 Resize table before adding new items to make sure that
1474 gtk_table_resize() is called just once.
1476 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1478 * hildon/hildon-app-menu-private.h
1479 * hildon/hildon-app-menu.c (item_visibility_changed)
1480 (filter_visibility_changed, hildon_app_menu_show_all)
1481 (hildon_app_menu_hide_all, hildon_app_menu_init):
1482 Rearrange items just once when gtk_widget_show_all()/hide_all()
1485 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1487 * hildon/hildon-app-menu.c
1488 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1489 Don't call gtk_widget_show() on added items.
1491 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1492 automatically when they're added)
1494 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1496 * hildon/hildon-banner.c
1497 (hildon_banner_realize, +hildon_banner_unrealize)
1498 (+screen_size_changed, hildon_banner_class_init):
1499 Redisplay the banner if the screen is rotated.
1501 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1502 on transition from landscape to portrait)
1504 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1506 * hildon/hildon-banner.[ch]:
1507 (hildon_banner_show_information_override_dnd): remove icon_name from the
1508 method definition as it is ignored.
1509 * examples/hildon-banner-dnd-example.c: updated with the change on
1512 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1514 * hildon/hildon-banner-private.h: new require_override_dnd and
1515 overrides_dnd variables
1516 * hildon/hildon-banner.h:
1517 (hildon_banner_show_information_override_dnd): new method, that shows
1518 the information but sets the override flag, in order to show important
1520 * hildon/hildon-banner.c
1521 (hildon_banner_show_information_override_dnd): new method
1522 (hildon_banner_set_override_flag): new utility function
1523 (hildon_banner_real_show_information): new utility function, in order to
1524 generalize the current hildon_banner_show_information_override_dnd and
1525 hildon_banner_show_information_override_dnd
1526 * examples/Makefile.am
1527 * examples/hildon-banner-dnd-example.c: New example that show how to
1528 use the new hildon_banner_show_information_override_dnd
1530 Fixes: NB#114874 (There is no possibility to show hildon banners with
1533 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1535 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1536 behind hildon_pannable_calculate_vel_factor().
1538 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1540 * hildon/hildon-pannable-area.c
1541 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1542 deceleration factors.
1544 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1546 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1547 Reduce the default value for 'scroll_time' to 1 second, since the
1548 current initial scrolling takes too much time.
1550 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1552 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1553 calculate velocity factor during initialization, since the properties
1556 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1558 * hildon/hildon-pannable-area.c
1559 (hildon_pannable_area_set_property): Calculate the velocity factor
1560 after setting the deceleration property and not after.
1562 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1564 * hildon/hildon-entry.c
1565 (hildon_entry_class_init, +set_property, hildon_entry_new)
1566 * hildon/hildon-check-button.c
1567 (hildon_check_button_class_init)
1568 (+set_property, hildon_check_button_new):
1569 Make the theme size a property.
1571 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1572 others) do too much in the _new function)
1574 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1576 * configure.ac: post release version bump
1577 * debian/changelog: post release version bump
1579 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1584 * configure.ac: Bump version.
1585 * debian/changelog: Updates.
1587 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1589 * hildon/hildon-gtk.h
1590 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1591 New API function to take a screenshot of a window
1593 Fixes: NB#106374 (Need API to take a loading screenshot)
1595 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1597 * hildon/hildon-time-selector.c
1598 (update_format_policy): prevent to use hours and minutes unitialized
1600 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1602 * hildon/hildon-window.c (hildon_window_size_request):
1603 Always request the full size of the screen (minus the title bar if
1604 not in fullscreen mode).
1606 Fixes: NB#107486 (HildonWindow should size itself properly)
1608 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1610 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1611 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1612 (on_show_cb), (sound_handling): Disconnect the idle handler for
1613 the sound when the note is finalized to avoid possible crashes.
1615 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1618 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1620 * src/hildon-animation-actor.c,
1621 * src/hildon-remote-texture.c:
1622 Added proper object cleanup to remove signal handler and object
1623 references as HildonAnimationActor and HildonRemoteTexture
1624 objects get destroyed.
1626 Fixes: NB#116682 (Destroying parented animation actors when
1627 parent in unmapped leads to crash)
1629 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1631 Based on a patch by Christian Dywan (christian@imendio.com)
1633 * doc/hildon-sections.txt:
1634 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1635 * hildon/hildon-helper.h: New file size formatting method.
1637 * debian/control: Depend on osso-filemanager l10n package for
1638 proper localization strings.
1640 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1642 * tests/Makefile.am: Include top_srcdir to make possible to build
1643 tests in a different builddir.
1644 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1645 on a different builddir.
1647 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1649 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1650 (hildon_touch_selector_remove): Disconnect model's signal handler
1653 Fixes: NB#116289 (Hildon home crashes while adding task
1656 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1658 * hildon/hildon-button.c
1659 (hildon_button_set_title, hildon_button_set_value):
1660 Hide labels containing an empty string.
1662 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1664 * configure.ac: post release version bump
1665 * debian/changelog: post release version bump
1667 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1672 * configure.ac: Bump version.
1673 * debian/changelog: Updates.
1675 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1677 * hildon/hildon-note-private.h: Removed sound_signal_handler
1678 * hildon/hildon-note.c
1679 (on_show_cb): new callback on note "show" event, this simply adds
1680 a idle, with the function sound_handling
1681 (sound_handling): removed the sound_signal_handler management
1682 (hildon_note_init): connect note "show" event to on_show_cb
1683 (hildon_note_realize): remove the connection to "expose-event"
1685 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1686 device?' confirmation note)
1688 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1690 * hildon/hildon-note.c
1691 (hildon_note_new_information_with_icon_name)
1692 (hildon_note_new_confirmation_with_icon_name):
1693 Terminate the list of parameters in g_object_set() calls
1695 Fixes: NB#115166 (Formatting memory card is not taking place)
1697 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1699 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1700 "dialog-information" role for the sound being played.
1702 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1704 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1705 Don't make the menu a modal window, it causes strange interactions
1706 with the pointer grab and it's not really needed.
1708 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1710 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1712 * hildon/hildon-touch-selector.[ch]
1713 (hildon_touch_selector_optimal_size_request): function added to get a
1714 optimal size request from the touch selector, when you want a dialog to
1715 show as much of the selector
1716 * hildon/hildon-picker-dialog.c:
1717 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1718 (hildon_app_menu_class_init):
1719 New "max-height-landscape" and "max-height-portrait" style properties
1720 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1721 (hildon_picker_dialog_get_max_height): returns the maximum height using
1722 the style properties defined and checking the current portrait/landscape
1724 (_hildon_picker_dialog_set_selector): removed the set_size_request
1726 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1728 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1730 * hildon/hildon-bread-crumb-trail.c:
1731 * hildon/hildon-bread-crumb.c:
1732 * hildon/hildon-seekbar.c:
1733 Add reference to replacements for these deprecated widgets.
1735 Fixes: MB#4461 (Documentation: All deprecations should mention
1738 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1740 * examples/hildon-remote-texture-example.c
1742 Change the include to the hildon-remote-texture in order to compile
1743 properly the examples on the installed libhildon1-examples package
1745 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1747 * tests/Makefile.am: Add check for HildonPickerButton.
1748 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1749 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1750 checks for the HildonPickerButton.
1751 * tests/check_test.c (configure_tests): Add the test suite.
1752 * tests/test_suites.h: likewise.
1754 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1756 * hildon/hildon-touch-selector.c
1757 (+on_row_changed): Emit HildonTouchSelector:changed when the
1758 contents of a selected row change.
1759 (_create_new_column), (_hildon_touch_selector_set_model): connect
1760 to GtkTreeModel:row-changed on a newly set model.
1762 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1764 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1766 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1768 * hildon/hildon-banner.c (hildon_banner_destroy)
1769 (hildon_banner_show_progress, hildon_banner_set_fraction):
1770 Remove the progress bar from HildonBanner and use a progress
1773 Fixes: NB#113761 (Update progress banner to use progress
1776 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1778 * hildon/hildon-banner.c:
1779 Calculate size of the banner label using the actual screen width
1780 rather than using a fixed value.
1782 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1785 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1787 * hildon/hildon-pannable-area.c,
1788 (hildon_pannable_area_class_init): Fixed signals documentation
1791 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1793 * configure.ac: post release version bump
1794 * debian/changelog: post release version bump
1796 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1801 * configure.ac: Bump version.
1802 * debian/changelog: Updates.
1804 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1806 * hildon/hildon-edit-toolbar.c
1807 (hildon_edit_toolbar_init):
1808 Don't let buttons in HildonEditToolbar receive focus.
1810 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1811 typing on an HW arrows key)
1813 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1815 * doc/Makefile.am: Fix build.
1817 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1819 * doc/Makefile.am: Do not redefine content_files.
1821 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1829 Renamed src/ to hildon/
1834 Include <hildon/hildon.h> directly in all examples.
1836 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1838 * src/hildon-sort-dialog.c
1839 (hildon_sort_dialog_add_sort_key_with_sorting)
1843 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1845 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1846 make distcheck passes.
1848 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1850 * Makefile.am: Enable gtk-doc during distcheck.
1852 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1854 * Makefile.am: Do not distribute the debian/ directory.
1856 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1858 * doc/Makefile.am: Add the extra SGML files to content_files,
1859 so that they are distributed properly.
1861 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1863 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1866 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1868 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1869 (hildon_note_new_information_with_icon_name): Set the "icon" property
1870 to preserve soundness.
1872 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1874 * src/hildon-font-selection-dialog.c
1875 (hildon_font_selection_dialog_set_property): Fail when the "family"
1876 property is set to NULL.
1878 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1883 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1885 * src/hildon-time-selector.h:
1886 Added HildonTimeSelectorFormatPolicy
1887 * src/hildon-time-selector.c:
1888 Added PROP_TIME_FORMAT_POLICY
1889 (_check_ampm_format): renamed to check_automatic_ampm_format
1890 (update_format_policy), (update_format_dependant_columns): new functions
1891 (hildon_time_selector_class_init)
1892 (hildon_time_selector_contructor)
1893 (hildon_time_selector_init)
1894 (hildon_time_selector_get_property)
1895 (hildon_time_selector_set_property)
1896 (hildon_time_selector_get_time)
1897 (hildon_time_selector_set_time)
1898 * src/hildon-touch-selector.h: new file
1899 * src/hildon-touch-selector.c
1900 (hildon_touch_selector_emit_changed)
1901 (hildon_touch_selector_block_changed)
1902 (hildon_touch_selector_unblock_changed)
1903 Added functions to allow to block the emission of the "changed" signal
1904 * src/hildon-picker-dialog.c
1905 (hildon_picker_dialog_show): call the parent show before the custom code
1906 * examples/hildon-time-button-example.c
1907 Modified, so now you can configure the time format using the new property
1909 Added a new property "time-format-policy" that allow to choose the time
1910 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1911 case it uses gconf in order to check if the time selector must use
1914 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1917 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1919 * src/hildon-note.c (hildon_note_init):
1920 Label in HildonNote must be left aligned, not centered. This
1921 reverts the last commit in HildonNote.
1923 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1924 is connectivity dialog)
1926 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1931 * doc/hildon-sections.txt:
1932 Added hildon_gtk_window_set_do_not_disturb()
1934 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1936 * src/hildon-note.c (hildon_note_init): Center label.
1938 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1941 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1946 * configure.ac: Bump version.
1947 * debian/changelog: Updates.
1949 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1951 * src/hildon-note-private.h: Add button-width to the private data.
1952 * src/hildon-note.c (+resize_button),
1953 (+hildon_note_orientation_update): methods to repack widgets on orientation
1955 (screen_size_changed): Call above method for confirmation notes.
1956 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1957 (hildon_note_rebuild): Store the original width request from buttons.
1959 Fixes: NB#109635 (Confirmation notes do not support portrait)
1961 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1963 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1964 when it is a progress note.
1966 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1968 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1969 in the note, since there are no horizontally arranged contents.
1971 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-gtk.c (+set_flag): new generic method to
1974 set/delay a flag setting in a window.
1975 (hildon_gtk_window_set_progress_indicator):
1976 (hildon_gtk_window_set_do_not_disturb),
1977 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1978 avoid code redundance.
1980 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1982 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1984 * src/hildon-gtk.c (set_clear_window_flag),
1985 (do_set_progress_indicator), (do_set_do_not_disturb),
1986 (do_set_portrait_flags),
1987 (hildon_gtk_window_set_progress_indicator),
1988 (hildon_gtk_window_set_do_not_disturb),
1989 (hildon_gtk_window_set_portrait_flags):
1990 Allow setting dnd-flag, progress indicator, and portrait flags
1991 when the window is not realized.
1993 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1995 * src/hildon-pannable-area.c,
1996 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1997 the size request policy function and defines.
1999 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2001 * doc/hildon-sections.txt: Add the new API.
2002 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2003 method to set the portrait flags.
2004 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2006 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2008 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2010 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2011 to allow using this method with other flags.
2012 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2013 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2015 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2017 * src/hildon-touch-selector.c
2018 (hildon_touch_selector_append_text_column):
2019 Make the cell renderer use the smallest width possible.
2021 Fixes: NB#108470 (Selected items in multiple selection are either
2022 having a tick that is cut or not visible at all.)
2024 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2026 * src/hildon-touch-selector.c
2027 (hildon_touch_selector_append_text_column):
2030 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2032 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2033 Use g_strdup_printf() instead of a fixed size buffer.
2035 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2037 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2038 Close banners when a HildonAppMenu is popped up.
2040 Fixes: NB#111027 (Title menu closed immediately if activated when
2041 "Invalid e-mail address" banner is shown)
2043 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2048 * configure.ac: Bump version.
2049 * debian/changelog: Updates.
2051 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2053 * src/hildon-banner.c (hildon_banner_realize):
2054 Mark HildonBanner as supporting portrait mode.
2055 Use GDK to set window properties insetad of direct Xlib calls.
2057 Fixes: NB#111830 (HildonBanner should be marked as supporting
2060 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2062 * src/hildon-note.c (hildon_note_rebuild):
2063 Hide action area in information notes. Prevents text from being
2064 slightly aligned to the left.
2066 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2069 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2071 Patch by Mox Soini (ext-mox.soini@nokia.com)
2073 * src/hildon-banner.c (hildon_banner_create_animation):
2074 Use stylus-sized icons in animation banner.
2076 Fixes: NB#111206 (stylus sized icon for animation banner)
2078 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2082 (+hildon_gtk_window_set_do_not_disturb):
2083 New API to set the do-not-disturb flag.
2085 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2087 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2089 * examples/hildon-progress-indicator-example.c: Fix example
2091 * src/hildon-gtk.c (set_clear_window_flag)
2092 (hildon_gtk_window_set_progress_indicator):
2093 Create a generic function for setting flags to a window.
2094 Use GDK instead of direct Xlib calls.
2096 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2098 * src/hildon-button.c (hildon_button_set_arrangement):
2099 Due to NB#88126, if one of the labels is too long it will be
2100 painted outside the button. The 'value' label is more likely to be
2101 the longest one, so we change its packing options in order to
2102 truncate it if necessary. As a side effect, the 'title' label will
2103 no longer be truncated.
2105 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2107 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2112 * configure.ac: Bump version.
2113 * debian/changelog: Updates.
2115 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2117 Deprecation of the hildon_pannable_area_set_size_request_policy
2118 API, the only policy properly supported in gtk+ nowadays is the
2121 * src/hildon-pannable-area.c,
2122 (hildon_pannable_area_size_request): Added a workaround for the
2123 size_request to avoid the problems of huge pixmaps in case someone
2124 is still using the function.
2125 * src/hildon-pannable-area.h: Deprecated the enum with the
2128 Fixes: NB#110244 (Problems with the
2129 hildon_pannable_area_set_size_request_policy API)
2131 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2133 * src/hildon-pannable-area.c,
2134 (hildon_pannable_area_init),
2135 (hildon_pannable_area_size_request),
2136 (hildon_pannable_area_style_set),
2137 (hildon_pannable_draw_vscroll),
2138 (hildon_pannable_draw_hscroll),
2139 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2140 indicator_width to clarify the use of the attribute.
2142 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2147 * configure.ac: Bump version.
2148 * debian/changelog: Updates.
2150 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2152 * src/hildon-picker-dialog.c
2153 * src/hildon-touch-selector.c
2154 Reverting the change that tried to avoid the hardcoded height on
2155 the picker dialog, as causes problems on the hildon-touch-selector
2158 Fixes: NB#110029 (selectors not scrolling to selected value)
2160 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-touch-selector.c: Fix typos
2164 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2166 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2167 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2168 request more motions after using it.
2170 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2172 * src/hildon-calendar.c (hildon_calendar_expose),
2173 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2174 Remove unused variables.
2176 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2178 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2179 variable assignment.
2181 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2183 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2184 Check the return value of gtk_tree_selection_get_selected()
2187 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2189 * src/hildon-animation-actor.c
2190 * src/hildon-button.c
2192 * src/hildon-pannable-area.c
2193 * src/hildon-picker-button.c
2194 * src/hildon-program.c
2195 * src/hildon-remote-texture.c
2196 * src/hildon-text-view.c
2197 * src/hildon-touch-selector.c
2198 * src/hildon-window-stack.c
2199 * src/hildon-window.c:
2200 Add missing 'Since: 2.2' tags.
2202 * doc/hildon-sections.txt:
2203 Add some missing symbols.
2205 * doc/hildon-docs.sgml:
2206 New 'Other' section for HildonAnimationActor and
2209 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2211 Patch by Iván Gómez (igomez@igalia.com)
2214 * doc/compiling.sgml
2215 * doc/hildon-docs.sgml
2216 * doc/hildon-sections.txt
2217 * doc/migration.sgml
2218 * doc/resources.sgml
2220 New chapters on using the Hildon library.
2221 Updated the general structure of the reference manual.
2222 Other minor documentation fixes.
2224 * src/hildon-calendar-popup.c
2225 * src/hildon-calendar.c
2226 * src/hildon-controlbar.c
2227 * src/hildon-date-editor.c
2228 * src/hildon-dialog.c
2229 * src/hildon-hvolumebar.c
2230 * src/hildon-number-editor.c
2231 * src/hildon-range-editor.c
2232 * src/hildon-sort-dialog.c
2233 * src/hildon-time-editor.c
2234 * src/hildon-time-picker.c
2235 * src/hildon-volumebar-range.c
2236 * src/hildon-volumebar.c
2237 * src/hildon-vvolumebar.c
2238 * src/hildon-weekday-picker.c:
2239 Add deprecation notes
2241 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2242 Document 'horizontal-movement' and 'vertical-movement' signals.
2244 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2249 * configure.ac: Bump version.
2250 * debian/changelog: Updates.
2252 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2254 * src/hildon-pannable-area.c,
2255 (hildon_pannable_area_class_init): increased the minimum velocity.
2256 (hildon_pannable_area_button_release_cb): Updated the
2257 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2258 setup. Review the code to control that last event.
2260 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2263 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2265 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2267 * src/hildon-get-password-dialog.c
2268 (hildon_get_password_set_property),
2269 (hildon_get_password_get_property), (create_contents):
2270 * src/hildon-login-dialog-private.h:
2271 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2272 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2273 (hildon_login_dialog_get_password):
2274 * src/hildon-set-password-dialog-private.h:
2275 * src/hildon-set-password-dialog.c
2276 (hildon_set_password_set_property),
2277 (hildon_set_password_get_property), (create_contents),
2278 (hildon_set_password_response_change),
2279 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2281 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2282 instead and look more Fremantle style.
2284 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2286 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2288 * doc/hildon-sections.txt
2289 * src/hildon-window-stack.h
2290 * src/hildon-window-stack.c
2291 (+hildon_window_stack_get_windows):
2292 New API to obtain the list of windows on a stack.
2294 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2296 * src/hildon-app-menu.c (hildon_app_menu_popup)
2297 (hildon_app_menu_class_init, -hildon_app_menu_show):
2298 Remove hildon_app_menu_show() and move all its checks to
2299 hildon_app_menu_popup()
2301 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2303 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2304 (_hildon_picker_dialog_set_selector): removed call to
2305 gtk_widget_set_size_request
2306 * src/hildon-touch-selector.c
2307 (_create_new_column): change the pannable size request policy
2309 Avoid to use a hardcoded height for the hildon picker dialog. In order
2310 to get that, we needed to change the hildon pannable size request
2312 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2314 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2317 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2320 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2322 * debian/control: Depend on osso-system-lock localization package.
2323 * src/hildon-code-dialog.c: Obtain the secu_application_title
2324 translation from osso-system-lock.
2325 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2326 for translation the atk related strings, that's not necessary.
2327 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2328 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2329 cancel button, it is not required.
2331 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2333 * src/hildon-pannable-area.c,
2334 (hildon_pannable_area_class_init): Modified the default value of
2335 the overshooting max speed, we have reduced it.
2337 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2339 * doc/hildon-sections.txt
2340 * src/hildon-window-private.h
2341 * src/hildon-window.h
2342 * src/hildon-window.c (hildon_window_class_init)
2343 (hildon_window_init, hildon_window_finalize)
2344 (hildon_window_realize, hildon_window_get_property)
2345 (hildon_window_set_property, hildon_window_update_markup)
2346 (hildon_window_get_markup, hildon_window_set_markup):
2347 New "markup" property and hildon_window_{get,set}_markup() methods.
2349 * examples/hildon-stackable-window-example.c (new_window):
2350 Update example to use hildon_window_set_markup()
2352 Fixes: NB#106375 (Need API to retitle a window with a title
2355 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2357 * src/hildon-pannable-area.c,
2358 (hildon_pannable_area_class_init): Changed the default value of
2359 the initial_hint to TRUE.
2360 (hildon_pannable_area_initial_effect): Changed the initial effect,
2361 not the effect is just the fade-out of the scrollbars.
2363 Fixes: NB#107775 (No scrollbars can be seen when several items are
2364 available in a dialog)
2366 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2368 * src/hildon-program.c (hildon_program_update_top_most):
2371 Fixes: NB#109179 (Memory leak in Hildon program)
2373 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-banner.c (-get_current_app_window):
2376 Remove unused function.
2378 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2380 * src/hildon-pannable-area.c: Modified the documentation of the
2381 get adjustments functions to explain the problem of using the
2382 adjustment directly.
2383 (hildon_pannable_area_class_init): Improved the explanation about
2386 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2388 * src/hildon-app-menu-private.h
2389 * src/hildon-app-menu.c
2390 (hildon_app_menu_class_init):
2391 Bring back the 'external-border' style property
2392 (hildon_app_menu_class_init, hildon_app_menu_init)
2393 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2394 Set a fixed width-request for the menu, independent of the number
2397 Fixes: NB#94957 (Smoothly opened application menu)
2399 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2401 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2403 * src/hildon-banner.c
2404 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2406 Make sure that the banner is correctly placed the first time it's
2408 (hildon_banner_check_position, -check_fullscreen_state):
2409 Show the banner in the same place no matter if the window is in
2410 fullscreen mode or not.
2412 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2414 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-touch-selector.c (_default_print_func): reorder
2417 concatenation for clarity.
2419 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2421 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2422 for multicolumn selectors.
2424 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2426 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2431 * configure.ac: Bump version.
2432 * debian/changelog: Updates.
2434 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2439 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2441 * configure.ac: removed libcangerra-gtk dependency
2442 * debian/control: removed libcanberra-gtk dependency
2443 * src/Makefile.am: removed libcanberra gtk related flags
2444 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2445 context, and manage a global canberra context instead
2447 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2449 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2451 Patch by Daniel Borgmann (danielb@openismus.com)
2453 * src/hildon-edit-toolbar.c:
2454 Adjust the left padding.
2455 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2456 Paint background of the edit toolbar.
2458 Fixes: NB#107897 (Patch to make editmodetoolbar background
2459 themeable and adjust margin)
2461 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2463 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2465 * src/hildon-program.c (hildon_program_update_top_most):
2466 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2468 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2469 change when the user tasks in/out of an application)
2471 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2473 * configure.ac: added libcangerra-gtk dependency
2474 * debian/control: added libcanberra-gtk dependency
2475 * src/Makefile.am: added libcanberra gtk related flags
2476 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2479 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2481 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-program.c (hildon_program_remove_window)
2484 (hildon_program_add_window): Add checks for the window
2485 parameter. Don't decrease the window counter if the window is not
2488 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2490 * src/hildon-pannable-area.c,
2491 (hildon_pannable_area_realize): Fixed position of the event_window
2492 in the realize method.
2494 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-app-menu-private.h
2497 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2498 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2499 (hildon_app_menu_key_press, hildon_app_menu_init)
2500 (hildon_app_menu_finalize):
2501 Make sure that all idle functions are removed when the widget is
2504 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2506 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2511 * configure.ac: Bump version.
2512 * debian/changelog: Updates.
2514 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-entry.c
2517 (+hildon_entry_show_placeholder),
2518 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2519 that replace hildon_entry_update_contents().
2520 (hildon_entry_set_text),
2521 (hildon_entry_set_placeholder),
2522 (hildon_entry_focus_in_event),
2523 (hildon_entry_focus_out_event): Determine when it is needed
2524 either to show or hide the placeholder and call the above methods.
2526 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2527 when the placeholder text is already set)
2529 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2532 simple GdkPixbufAnim using the new icons for the banner.
2533 (hildon_banner_show_animation): Use the above mentioned method to
2534 create the animation widget.
2536 Fixes: NB#103564 (Make hildon animation banner use individual
2537 image files as the animation)
2539 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2541 * src/hildon-pannable-area.c,
2542 (hildon_pannable_leave_notify_event): Check if the child is NULL
2543 to avoid sending the leave.
2545 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2547 * src/hildon-pannable-area.c,
2548 (hildon_pannable_area_class_init),
2549 (hildon_pannable_leave_notify_event): Added a handler of the
2550 leave-notify-signal to consider when no motion notify before
2553 Fixes: NB#107494 (Items stay selected when clicking and moving
2554 away when inside pannable area)
2556 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2561 * configure.ac: Bump version.
2562 * debian/changelog: Updates.
2564 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2566 Patch by Alberto Garcia (agarcia@igalia.com)
2568 * src/hildon-date-button.c,
2569 (hildon_date_button_class_init),
2570 (hildon_date_button_init): Removed the construct property handling
2571 and created a default selector in the init method.
2572 * src/hildon-picker-button.c,
2573 (hildon_picker_button_class_init): Removed the construct flag of the
2576 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2578 * src/hildon-main.c (hildon_init):
2579 Don't allow hildon_init() to be called more than once.
2581 Fixes: NB#106607 (hildon_init should issue error message upon
2584 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2586 * examples/hildon-pannable-area-touch-list-example.c
2587 * examples/hildon-pannagle-area-touch-grid-example.c
2588 * examples/hildon-edit-toolbar-example.c
2589 * examples/hildon-touch-selector-multi-cells-example.c
2590 Removed the call to gtk_rc_parse_string, as it is not required since
2593 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2595 * src/hildon-pannable-area.c,
2596 (hildon_pannable_area_class_init): Modified the default panning
2597 threshold of the widget to 6px.
2599 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2600 than the threshold value ) within the button is not sending the
2603 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2605 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2606 for the treeview in the new column. This way, the touch list will never
2609 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2610 be selected manually for the HW keys to work)
2612 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2615 comparison instead of using strcmp(). Fixes a compiler warning as well.
2617 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2619 * doc/hildon-docs.sgml: Do not set the library version in the
2620 document title, use the releaseinfo tag for that purpose instead.
2622 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2624 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2625 Do not jump to the first item if the text in the entry is removed.
2627 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2632 * configure.ac: Bump version.
2633 * debian/changelog: Updates.
2635 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2637 * src/hildon-entry.c (hildon_entry_refresh_contents):
2638 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2639 Use "ReversedSecondaryTextColor" for the placeholder text.
2641 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2643 * src/hildon-text-view.c: Fix compilation warning.
2645 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2647 * src/hildon-button.c (hildon_button_class_init): Don't make
2648 "title" and "value" construction properties, to prevent them from
2649 overwriting labels set from derived classes.
2651 * src/hildon-picker-button.c
2652 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2653 (hildon_picker_button_class_init): Make touch-selector a
2654 construction property.
2656 * src/hildon-date-button.c (hildon_date_button_class_init)
2657 (+hildon_date_button_constructed): Add a default date selector if
2660 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2662 * src/hildon-touch-selector.c: Small documentation fixes.
2664 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2666 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2668 * src/hildon-entry.c (hildon_entry_refresh_contents),
2669 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2670 widget name, set the logical color directly instead and a boolean
2671 showing_placeholder instead.
2672 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2673 use the widget name here either.
2675 Fixes: NB#105678 (HildonTextView should use logical colours
2676 instead of setting widget name)
2678 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2680 Patch by Daniel Elster (danielk@openismus.com)
2682 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2683 Add user_data parameter.
2684 (hildon_touch_selector_set_print_func_full): New function akin
2685 hildon_touch_selector_set_print_func() but with support for user
2686 data and a destroy callback.
2687 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2688 to clean up the print function user data.
2689 (hildon_touch_selector_class_init): Install dispose function.
2690 (HildonTouchSelectorPrivate::print_user_data),
2691 (HildonTouchSelectorPrivate::print_destroy_func): New private
2693 (hildon_touch_selector_init): Initialize new private members.
2694 (hildon_touch_selector_get_current_text): Pass along user data
2695 to the print function.
2696 (_default_print_func): Add dummy user_data to parameter list.
2697 * hildon-date-selector.c (_custom_print_func): ditto,
2698 * hildon-time-selector.c (_custom_print_func): ditto,
2699 * hildon-touch-selector-entry.c
2700 (hildon_touch_selector_entry_print_func): ditto.
2702 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2704 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2706 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2708 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2710 * src/hildon-pannable-area.c,
2711 (hildon_pannable_area_init),
2712 (hildon_pannable_area_button_press_cb),
2713 (hildon_pannable_area_motion_notify_cb): We have added code to
2714 handle the leave and enter events when using the motion events.
2716 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2718 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-date-button.c (hildon_date_button_get_date)
2721 (hildon_date_button_set_date): Make sure that the button has a
2724 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2726 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2728 * src/hildon-pannable-area.c,
2729 (hildon_pannable_area_class_init),
2730 (hildon_pannable_area_calculate_velocity): Modify the use of the
2731 force and adapt the value.
2733 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2735 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2736 (hildon_app_menu_class_init): Hide the menu if it receives a
2737 delete-event, but don't destroy it
2739 Fixes: NB#104485 (Not able to address the call when application
2740 menu is opened at background)
2742 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-app-menu.c
2745 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2746 Remove the "external-border" style property, let the menu take its
2747 natural size (or the one set by the window manager)
2748 (hildon_app_menu_repack_items):
2749 Don't reshow the menu, avoid flickers.
2751 Partially fixes NB#94957 (Smoothly opened application menu)
2753 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2758 * configure.ac: Bump version.
2759 * debian/changelog: Updates.
2761 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2763 * src/hildon-pannable-area.c,
2764 (hildon_pannable_area_motion_notify_cb): We control that the
2765 direction error margin is used just in case the movement is
2766 allowed in the other direction.
2768 Fixes: NB#105012 (buttons inside a pannable area not getting
2769 release event when dragging/releasing)
2771 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2773 * src/hildon-pannable-area.c,
2774 (hildon_pannable_area_class_init),
2775 (hildon_pannable_area_get_property),
2776 (hildon_pannable_area_set_property),
2777 (hildon_pannable_area_initial_effect),
2778 (hildon_pannable_axis_scroll),
2779 (hildon_pannable_area_button_release_cb): Reviewed the
2780 overshooting effect, now it has its own max
2781 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2782 speed when bouncing.
2784 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2789 * configure.ac: Bump version.
2790 * debian/changelog: Updates.
2792 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2794 * src/hildon-pannable-area.c,
2795 (hildon_pannable_area_class_init): Changed the max speed, now
2796 users can launch the widget very fast. Reduced the default force,
2797 that way it is easier to control the launch speed.
2799 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2801 * src/hildon-pannable-area.c,
2802 (hildon_pannable_area_button_release_cb): Removed this check
2803 because it causes problems when the device is overloaded.
2805 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2807 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2808 add a current_text field to store the text entered in the
2809 touch selector entry.
2810 (_clean_current_selection): clean up the current text as well.
2811 (_save_current_selection), (_restore_current_selection):
2812 Save/restore the text in the entry if the selector is a
2813 HildonTouchSelectorEntry.
2815 Fixes: NB#102541 (value entered in the touch selector entry is not
2816 shown when opened for second time)
2818 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2820 * doc/hildon-sections.txt:
2821 * src/hildon-touch-selector-entry.c
2822 (+hildon_touch_selector_entry_get_entry):
2823 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2825 Fixes: NB#104815 (I need accessor to the entry inside
2826 HildonTouchSelectorEntry)
2828 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2831 (hildon_app_menu_class_init):
2832 New "filter-vertical-spacing" style property.
2834 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2836 * src/hildon-find-toolbar.c
2837 (hildon_find_toolbar_emit_close)
2838 (hildon_find_toolbar_emit_invalid_input)
2839 (hildon_find_toolbar_entry_activate):
2840 Use g_signal_emit() instead of g_signal_emit_by_name()
2842 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2844 Patch by Mox Soini (ext-mox.soini@nokia.com)
2846 * tests/TEST-CASES.txt
2847 * tests/check-hildon-banner.c
2848 * tests/check-hildon-note.c
2849 * src/hildon-banner.c
2850 * src/hildon-code-dialog.c
2851 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2852 * src/hildon-time-editor.c
2853 * examples/hildon-lookup-example.c (main):
2854 Replace obsolete icon names with new ones.
2856 * src/hildon-find-toolbar-private.h:
2857 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2858 (-hildon_find_toolbar_emit_search):
2859 Remove find button and change icon of close button.
2861 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2863 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2865 * src/hildon-time-button.c (hildon_time_button_new_step):
2866 Use the "touch-selector" property to set the selector directly
2867 when creating the object.
2869 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2871 Added a new example application that allows tuning the pannable
2872 area and replaced defines with properties in order to simplify the
2873 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2874 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2875 PROP_DIRECTION_ERROR_MARGIN.
2877 * examples/hildon-pannable-area-tuning-example.c: New example
2879 * src/hildon-pannable-area.c,
2880 (hildon_pannable_area_class_init),
2881 (hildon_pannable_area_init),
2882 (hildon_pannable_area_get_property),
2883 (hildon_pannable_area_set_property),
2884 (hildon_pannable_area_launch_fade_timeout),
2885 (hildon_pannable_area_adjust_value_changed),
2886 (hildon_pannable_axis_scroll),
2887 (hildon_pannable_area_motion_notify_cb),
2888 (hildon_pannable_area_scroll_cb),
2889 (hildon_pannable_area_button_release_cb): We have converted some
2890 of the defines that control the widget to properties to simplify
2893 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2895 * src/hildon-app-menu.c (hildon_app_menu_map)
2896 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2897 so it's closed if a new window appears.
2899 Fixes: NB#104485 (Not able to address the call when application
2900 menu is opened at background)
2902 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2904 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2905 missing 'break' statement in in 'case' construct to avoid
2908 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-touch-selector-entry.c
2911 (hildon_touch_selector_entry_get_property),
2912 (hildon_touch_selector_entry_set_property): Add missing 'break'
2913 statements in in 'case' constructs to avoid incorrect warnings.
2915 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-time-editor.c
2918 (hildon_time_editor_get_time_separators): Do not crash if
2919 the first label is NULL.
2921 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2923 * src/hildon-date-selector.c (_month_days): Check for month to be
2924 strictly less than 12, since otherwise we may overrun the array.
2926 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-date-button.c (+hildon_date_button_new_full)
2929 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2930 (hildon_date_button_init): Set the date selector using a
2931 construction property, to make it happen after HildonButton's
2932 "value" property is set.
2934 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2935 current date by default)
2937 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2939 * doc/hildon-sections.txt
2940 * src/hildon-program.c
2941 * src/hildon-stackable-window.c
2942 * src/hildon-window.c:
2943 Documentation updates
2945 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2947 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2948 (hildon_window_stack_new, +hildon_window_stack_set_property)
2949 (+hildon_window_stack_get_property)
2950 (hildon_window_stack_class_init)
2951 (+hildon_window_stack_set_window_group)
2952 (+hildon_window_stack_get_window_group):
2953 Make the window group a construction property.
2955 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2957 * doc/hildon-sections.txt
2958 * src/hildon-stackable-window-private.h
2959 * src/hildon-stackable-window.h
2960 * src/hildon-stackable-window.c
2961 (-hildon_stackable_window_set_app_menu)
2962 (-hildon_stackable_window_get_app_menu)
2963 (-hildon_stackable_window_toggle_menu)
2964 (-hildon_stackable_window_finalize)
2965 (hildon_stackable_window_class_init)
2966 (hildon_stackable_window_init)
2967 * src/hildon-window-private.h
2968 * src/hildon-window.h
2969 * src/hildon-window.c (hildon_window_init)
2970 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2971 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2972 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2973 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2974 Moved all HildonAppMenu code to HildonWindow. The menu does not
2975 require a HildonStackableWindow anymore.
2977 * src/hildon-app-menu.c
2978 * src/hildon-program.c
2979 * examples/hildon-app-menu-example.c (main):
2980 Update examples and documentation to reflect HildonAppMenu
2983 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-remote-texture.c
2986 * src/hildon-animation-actor.c:
2987 Don't include unused private headers.
2989 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-program-private.h
2992 * src/hildon-program.c
2993 (hildon_program_set_common_menu)
2994 (hildon_program_get_common_menu)
2995 (hildon_program_set_common_app_menu)
2996 (hildon_program_get_common_app_menu):
2997 Change common menu pointers from GtkWidget* to GtkMenu* and
2998 HildonAppMenu* to avoid unnecessary casts.
3000 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-window.c (hildon_window_set_main_menu):
3003 Removed incorrect 'Since:' tag
3005 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3007 * src/hildon-pannable-area.c,
3008 (hildon_pannable_area_calculate_velocity): We use now the
3009 RATIO_TOLERANCE here to check the distance, fixed typo in the
3011 (hildon_pannable_area_motion_notify_cb): We have to set the type
3012 and time even if we are not sending the motion.
3014 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3016 * doc/hildon-sections.txt
3017 * src/hildon-app-menu.h
3018 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3019 (+hildon_app_menu_get_filters): New methods to get the contents of
3022 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3025 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-app-menu.c (hildon_app_menu_popup):
3030 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3032 * src/hildon-window.h
3033 * src/hildon-window.c (+hildon_window_get_main_menu)
3034 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3035 and deprecated hildon_window_get_menu().
3037 * src/hildon-stackable-window.h
3038 * src/hildon-stackable-window.c
3039 (+hildon_stackable_window_set_app_menu)
3040 (+hildon_stackable_window_get_app_menu)
3041 (hildon_stackable_window_set_main_menu): Created
3042 hildon_stackable_window_{get,set}_app_menu() and deprecated
3043 hildon_stackable_window_set_main_menu().
3045 * doc/hildon-sections.txt
3046 * examples/hildon-app-menu-example.c (main)
3047 * src/hildon-app-menu.c
3048 * src/hildon-program.c:
3049 Updated examples and documentation.
3051 Fixes: NB#103758 (No way to obtain a menu from a
3052 HildonStackableWindow)
3054 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3059 * configure.ac: Bump version.
3060 * debian/changelog: Updates.
3062 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3064 * examples/hildon-remote-texture-example.c: Include
3065 hildon-remote-texture.h explicitely.
3066 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3067 applications not defining _XOPEN_SOURCE which don't require this header.
3069 2009-02-27 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_popup):
3074 New function to pop up a HildonAppMenu
3076 * src/hildon-stackable-window.c
3077 (hildon_stackable_window_toggle_menu):
3078 Use hildon_app_menu_popup() to show the menu.
3080 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-app-menu.c (hildon_app_menu_show)
3083 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3084 menu if there's another window between it and its parent window.
3086 Fixes: NB#100468 (Application menu window is launched even when a
3087 new secondary-window/dialog is pending to be shown/realized)
3089 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-window-stack.c (hildon_window_stack_push)
3092 (hildon_window_stack_pop_and_push):
3093 Don't forget to push/pop the first window.
3094 Reverse the window list before calling _push_list()
3096 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3098 * src/hildon-picker-button.h
3099 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3100 Remove "value_changed" slot to avoid ABI breakage
3102 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3104 * src/hildon-pannable-area.c,
3105 (hildon_pannable_area_realize),
3106 (hildon_pannable_area_unrealize),
3107 (hildon_pannable_draw_vscroll),
3108 (hildon_pannable_draw_hscroll): Changed the method to handle the
3109 GC used to draw the transparent scrollbar, this way we avoid
3110 creating the GC all the time when drawing the scrollbars.
3112 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3114 * src/hildon-pannable-area.c,
3115 (hildon_pannable_area_init),
3116 (hildon_pannable_area_remove): Removed some unnecessary casts.
3117 (hildon_pannable_area_dispose): Disconnected some signals before
3118 releasing the adjustments.
3120 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3122 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3123 Make sure that all widgets contained in the toolbar are shown.
3125 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3127 * doc/hildon-sections.txt
3128 * src/hildon-picker-button.h
3129 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3130 (_selection_changed, hildon_picker_button_on_dialog_response)
3131 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3132 New hildon_picker_button_value_changed() method.
3135 * src/hildon-picker-button-private.h
3136 * src/hildon-picker-button.c (hildon_picker_button_init)
3137 (+hildon_picker_button_disable_value_changed): Add protected
3138 function for disabling the "value-changed" signal.
3140 * src/hildon-date-button.c (hildon_date_button_set_date):
3141 Don't emit "value-changed" for each one of the three columns.
3143 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3144 before actual change of values)
3146 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3148 * src/hildon-pannable-area.c,
3149 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3150 for the treeview overshooting.
3152 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-banner.c (+hildon_banner_bind_style):
3155 Renamed from hildon_banner_bind_label_style(), now naming the
3156 banner itself as well.
3157 (hildon_banner_show_information),
3158 (hildon_banner_show_information_with_markup),
3159 (hildon_banner_show_animation), (hildon_banner_show_progress):
3160 Name the widgets and labels, based on their type.
3162 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3165 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-note.c (hildon_note_set_property): call
3168 hildon_note_rename() on HildonNote:note-type set.
3169 (hildon_note_rename): Name the note and its label, based on the
3170 HildonNote:note-type property.
3172 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3175 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3177 * src/hildon-pannable-area.c,
3178 (hildon_pannable_area_class_init),
3179 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3180 panning parameters, increased SPS and deceleration factor. Added
3181 also a margin to control fake directions.
3183 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3185 Patch by Sven Herzberg (sven@imendio.com)
3187 * configure.ac: Add missing AM_PROG_CC_C_0
3188 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3190 See NB#101420 (Update unit tests and fix make check)
3192 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3194 This patch was applied before but reverted because it caused
3195 problems, we have changed the main condition and tested the
3196 regressions we detected before and they work ok. We have done a
3197 complete review of the topmost algorithm in order to get a more
3200 * src/hildon-pannable-area.c,
3201 (hildon_pannable_area_get_topmost): Added a new parameter to
3202 filter the the windows that do not include those events.
3203 (hildon_pannable_area_button_press_cb),
3204 (hildon_pannable_area_button_release_cb),
3205 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3206 topmost function, we have added the new parameter.
3208 Fixes: NB#97458 (Pannable area prevents propagation of button
3211 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3213 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3214 if all columns in the selector have an item selected.
3215 (_on_dialog_response): Stop "response" signal emission if there is
3216 any selector column without selected items.
3218 Fixes: NB#101889 (Picker dialog should not close when nothing is
3219 selected in multiple selection list)
3221 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3223 * src/hildon-font-selection-dialog.c
3224 (hildon_font_selection_dialog_class_init),
3225 (hildon_font_selection_dialog_init): Remove the preview
3226 button and dialog, since previewing with default theming is likely
3227 to be overcomplicated. The :preview property has now no effect.
3228 Update documentation blurbs to inform about this.
3230 Fixes: NB#92297 (Preview content is not clearly visible for
3231 default colour text)
3233 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3235 Reviewed the geometry that handles the children size and
3236 scrollbar, now it tries a size and reviews the results depending
3237 on the scrollbars visibility.
3239 * src/hildon-pannable-area.c,
3240 (hildon_pannable_area_realize): Fixed a typo.
3241 (hildon_pannable_area_child_allocate_calculate): Added this
3242 function to calculate the child allocation.
3243 (hildon_pannable_area_size_allocate): Reviewed the allocation
3245 (hildon_pannable_area_check_scrollbars),
3246 (hildon_pannable_area_refresh): Refactored refresh function, this
3247 way we can call the code handling the scrollbars without causing a
3248 size_request, it is interesting in the allocate.
3249 (hildon_pannable_area_init): Replace the callbacks of the
3250 value_changed and changed signals to propertly deal with the
3252 (hildon_pannable_area_grab_notify),
3253 (hildon_pannable_area_initial_effect),
3254 (hildon_pannable_area_launch_fade_timeout),
3255 (hildon_pannable_area_adjust_changed),
3256 (hildon_pannable_area_adjust_value_changed),
3257 (hildon_pannable_area_redraw),
3258 (hildon_pannable_area_button_press_cb),
3259 (hildon_pannable_area_button_release_cb),
3260 (hildon_pannable_area_scroll_cb),
3261 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3262 code and use the new functions adjust_changed and
3263 adjust_value_changed.
3265 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3266 Contact editor dialog)
3268 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3273 * configure.ac: Bump version.
3274 * debian/changelog: Updates.
3276 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3278 * src/hildon-pannable-area.c,
3279 (hildon_pannable_area_get_topmost),
3280 (hildon_pannable_area_button_press_cb),
3281 (hildon_pannable_area_button_release_cb),
3282 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3283 topmost function adding the event mask. We have to try a
3284 differente approach because it is still causing problems (NB#9745,
3287 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-banner.c:
3290 Update the maximum width of timed banners.
3291 (force_to_wrap_truncated): Enforce the maximum text width if the
3294 Fixes: NB#102413 (The text margins (wrapping) in information
3295 banner should be HILDON_MARGIN_TRIPLE)
3297 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3299 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3301 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3302 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3303 bound when calculating the scroll indicator position.
3305 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3306 treat ->lower correctly)
3308 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3310 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3311 expose event handling, since it is not necessary to draw the focus
3314 Fixes: NB#102467 (Do not show highlight on the text in
3317 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3320 full height of the toolbar for the button and the label.
3322 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3324 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3325 padding before the label and after the button.
3327 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3329 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3331 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3332 Add a GtkVSeparator between the button and the back arrow.
3333 Let the button have automatic size.
3334 Set a name to the widget for theming handling.
3336 Fixes: NB#101793 (Make edit toolbar the same height as window
3337 title bar (use title area theming))
3339 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3341 * src/hildon-helper.c (attach_new_color_element): Fix memory
3344 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3346 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3348 * examples/hildon-button-example.c (common_buttons_window): Don't
3351 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3353 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3354 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3356 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-gtk.c: Check that the window is realized.
3360 Fixes: NB#102225 (Crash setting the progress indicator to a non
3363 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3366 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3367 instead of modifying the one in the widget style.
3369 Fixes: NB#101043 (Second row of all the command button are
3370 displayed in transparent mode.)
3372 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-date-button.c
3375 * src/hildon-time-button.c: Add gettext macros
3377 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-date-button.c (hildon_date_button_new):
3380 * src/hildon-time-button.c (hildon_time_button_new_step):
3381 Use new logical strings to set the button default title.
3383 Fixes: NB#99915 (Date and Time options are not localised in Date
3386 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3388 * src/hildon-pannable-area.c
3389 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3390 the PANNING_THRESHOLD.
3392 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3394 * src/hildon-pannable-area.c,
3395 (hildon_pannable_area_class_init): Increased the maximum speed.
3396 (hildon_pannable_area_get_property),
3397 (hildon_pannable_area_set_property),
3398 (hildon_pannable_area_timeout): Added a new low friction mode, it
3399 allows the user avoid friction when launching the widget fast
3400 enough. It is interesting to traverse long lists.
3402 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3404 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3405 (+hildon_stackable_window_delete_event): Ignore delete events if
3406 the window is not the topmost one.
3408 Fixes: NB#101698 (Back button long press and delete-event handling)
3410 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3412 * src/hildon-pannable-area.c,
3413 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3414 gtk-dnd-drag-threshold, it was too big. We have defined our own
3415 dnd define and set a smaller value: PANNIG_THRESHOLD.
3417 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3419 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3420 user-defined icons, use always the default one.
3422 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3424 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3426 This patch was applied before but reverted because it caused
3427 problems, we have changed the main condition and tested the
3428 regressions we detected before and they work ok.
3430 * src/hildon-pannable-area.c,
3431 (hildon_pannable_area_get_topmost): Added a new parameter to
3432 filter the the windows that do not include those events. Added
3433 also a condition when finding the window to filter windows that do
3434 not ask for those events.
3435 (hildon_pannable_area_button_press_cb),
3436 (hildon_pannable_area_button_release_cb),
3437 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3438 topmost function, we have added the new parameter.
3440 Fixes: NB#97458 (Pannable area prevents propagation of button
3443 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3445 * tests/check-hildon-color-button.c (START_TEST): do not leak
3448 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3450 * src/hildon-font-selection-dialog.c
3451 (hildon_font_selection_dialog_get_preview_text): Return NULL
3452 instead of FALSE on the g_return_val_if_fail().
3454 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3456 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3457 * src/hildon-date-selector.c
3458 (hildon_date_selector_select_current_date):
3459 Do not compare unsigned integers to be greater than or equal 0,
3460 because it's always TRUE.
3462 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3464 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3465 (hildon_date_selector_constructor): Do not select the current
3466 date until we are handle the "changed" signal, to avoid having bogus
3467 elements in the days model.
3469 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3471 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3472 for num_days, since _month_days() can return a negative value.
3474 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-caption.c (hildon_caption_size_allocate):
3477 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3478 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3480 Initialize allocation variables to 0, to avoid eventually using
3481 unitialized variables.
3483 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3485 * src/hildon-bread-crumb-trail.c
3486 (hildon_bread_crumb_trail_size_allocate):
3487 * src/hildon-calendar.c (hildon_calendar_set_background):
3488 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3489 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3490 * src/hildon-seekbar.c (hildon_seekbar_init):
3491 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3492 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3493 * src/hildon-touch-selector-entry.c
3494 (hildon_touch_selector_get_text_from_model):
3495 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3496 * src/hildon-window.c (hildon_window_finalize):
3498 Remove many unused variables.
3500 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3502 * src/hildon-seekbar.c: (hildon_seekbar_init),
3503 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3505 Remove unnecessary g_assert() calls.
3507 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3509 * src/hildon-caption.c: (hildon_caption_expose),
3510 (hildon_caption_set_property), (hildon_caption_init),
3511 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3512 (hildon_caption_size_request), (hildon_caption_size_allocate),
3513 (hildon_caption_forall), (hildon_caption_set_separator),
3514 (hildon_caption_activate), (hildon_caption_set_child_expand),
3515 (hildon_caption_set_label_text),
3516 (hildon_caption_get_label_alignment):
3518 Remove unnecessary g_assert() calls.
3520 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3522 * src/hildon-banner.c
3523 (hildon_banner_map, hildon_banner_init): Make banner temporary
3524 before mapping it to avoid closing other temporary windows, but
3525 make it non-temporary afterwards to avoid being closed by other
3526 non-temporary windows.
3527 (-hildon_banner_client_event, hildon_banner_init):
3528 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3530 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3533 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3538 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3540 * src/hildon-remote-texture.c
3541 * src/hildon-remote-texture.h
3542 * src/hildon-remote-texture-private.h
3543 * examples/hildon-remote-texture-example.c:
3544 Updates/fixes to remote-texture and its example.
3546 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3548 Patch by Mox Soini (ext-mox.soini@nokia.com)
3550 * src/hildon-code-dialog.c: Update logical id.
3551 * src/hildon-set-password-dialog.c: Update logical id.
3553 Fixes: NB#100646 (Logical strings is shown for ok in set
3554 password,Password needed dialogs)
3556 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3559 * src/hildon-remote-texture.c
3560 * src/hildon-remote-texture.h
3561 * src/hildon-remote-texture-private.h
3563 Added remote texture widget (for Clutter shared memory textures)
3565 * examples/hildon-remote-texture-example.c
3566 * examples/Makefile.am
3567 Added example file for remote texture usage
3569 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3571 * configure.ac: post release version bump.
3572 * debian/changelog: version bump.
3574 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3579 * configure.ac: Bump version.
3580 * debian/changelog: Updates.
3582 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-date-selector.c (hildon_date_selector_init)
3585 (hildon_date_selector_constructor): Don't connect to the "changed"
3586 signal until the selector is completely constructed.
3588 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3590 * src/hildon-touch-selector.c: (_create_new_column),
3591 (hildon_touch_selector_append_column),
3592 (hildon_touch_selector_set_column_selection_mode),
3593 (hildon_touch_selector_set_active),
3594 (hildon_touch_selector_select_iter):
3595 Emit the HildonTouchSelector::changed signal every time selection
3596 is changed in any of the methods above. This behavior was already
3597 documented but not fully functional.
3599 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3600 selection is programmatically changed)
3602 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3604 * doc/hildon-sections.txt: Remove obsolete icon
3605 sizes from here as well.
3607 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3609 * examples/hildon-stackable-window-example.c (add_window): Remove
3612 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3614 * src/hildon-app-menu.c
3615 (hildon_app_menu_show): Check whether the parent window of a menu
3616 is topmost before popping it up.
3618 Fixes: NB#100468 (Application menu window is launched even when a
3619 new secondary-window/dialog is pending to be shown/realized.)
3621 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3623 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3626 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3628 Patch by Mox Soini (ext-mox.soini@nokia.com)
3630 * src/hildon-banner.c: (hildon_banner_show_animation):
3631 use stylus size instead of obsolete note size.
3632 * src/hildon-defines.h: Update icon sizes.
3634 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3636 * src/hildon-touch-selector-entry.c:
3637 (hildon_touch_selector_entry_init): Disable unsupported
3639 (hildon_touch_selector_entry_get_text_column): Emit a warning
3640 if an unsupported input modes is used and explicitile state
3641 these modes in the documentation.
3643 Fixes: NB#99802 (Hildon touch selector entry not working properly
3644 for some of the input modes)
3646 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3648 * src/hildon-pannable-area.c,
3649 (hildon_pannable_area_init): Added the changed signal handlers of
3652 Fixes: NB#100320 (HildonPannableArea does not listen to
3653 GtkAdjustment "change" signals)
3655 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3657 * doc/hildon-sections.txt
3658 * src/hildon-window-private.h
3659 * src/hildon-window.h
3660 * src/hildon-window.c (hildon_window_init)
3661 (hildon_window_realize, hildon_window_unrealize)
3662 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3663 (hildon_window_size_request, hildon_window_size_allocate)
3664 (hildon_window_forall, hildon_window_show_all)
3665 (hildon_window_destroy, +paint_edit_toolbar)
3666 (+hildon_window_set_edit_toolbar):
3667 New hildon_window_set_edit_toolbar() method, to add a
3668 HildonEditToolbar to a window without having to pack it manually.
3670 Reorganize hildon_window_size_allocate()
3672 * src/hildon-edit-toolbar.c: Update documentation.
3674 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3675 example to use the new API.
3677 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3679 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3681 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3682 Remove from stack before calling parent's hide.
3684 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3686 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3687 window is removed from the middle of the stack, update the
3688 transiency of the previous one.
3690 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3693 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3695 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3696 block/unblock the signal handler if it's not actually being used.
3697 Fixes some critical warnings.
3699 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3701 Based on a patch by Iván Gómez (igomez@igalia.com)
3703 * src/hildon-banner.c
3707 * src/hildon-pannable-area.c
3708 * src/hildon-picker-dialog.c
3709 * src/hildon-wizard-dialog.h
3710 * src/hildon-wizard-dialog.c: Documentation updates.
3712 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3713 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3715 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3717 * configure.ac: post release version bump.
3718 * debian/changelog: version bump.
3720 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3725 * configure.ac: Bump version.
3726 * debian/changelog: Updates.
3728 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3730 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3731 a stock icon nor change the relief of the back arrow.
3733 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3734 graphics from theme)
3736 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3738 * src/hildon-button.c (hildon_button_set_alignment): Use
3739 priv->alignment if the button has no child yet.
3741 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-button.c: (hildon_button_init): Set the
3744 button style during initialization to give it the proper
3747 Fixes: NB#99713 (HildonButton value label color is wrong)
3749 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3751 * src/hildon-touch-selector.c: Document
3752 hildon_touch_selector_center_on_selected()
3754 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3757 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3758 all menu items, but not the menu itself.
3759 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3760 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3761 items after adding them to the menu so keyboard accelerators work.
3762 (hildon_app_menu_show): Don't show the menu if it contains items
3763 but none of them are visible.
3765 * examples/hildon-app-menu-example.c (create_menu): Use
3766 gtk_widget_show_all() to show all menu items.
3768 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-picker-dialog.c:
3771 (-_update_title_on_selector_changed_cb),
3772 (-_dialog_update_title): Removed.
3773 (_select_on_selector_changed_cb), (_on_dialog_response),
3774 (on_selector_columns_changed): Do not update the dialog title.
3775 (setup_interaction_mode): Do not connect to
3776 HildonTouchSelector::changed signal if there's a "done" button, as
3777 the dialog title doesn't need to be updated.
3779 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3782 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3784 Patch by Kristian Rietveld (kris@imendio.com)
3786 * src/hildon-touch-selector.c: (_create_new_column): Use new
3787 GtkTreeView::hildon-row-tapped signal to react to user interactions
3788 instead of ::changed.
3790 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3791 with some dynamic tree model)
3793 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3795 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3796 (+screen_size_changed, +label_size_request)
3797 (hildon_note_class_init): Make the Hildon information note have a
3798 minimum height, and make its text hvae a maximum width.
3800 Fixes: NB#98614 (Hildon information note (background) should have
3801 minimum height and maximum text width)
3803 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3805 * src/hildon-banner.h
3806 * src/hildon-banner.c (hildon_banner_show_information)
3807 (hildon_banner_show_informationf)
3808 (hildon_banner_show_information_with_markup): Update documentation
3809 to reflect that the icon_name parameter is not used anymore.
3810 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3811 Remove all code from these functions and mark them as deprecated.
3812 (hildon_banner_show_progress): Mark as deprecated.
3814 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3816 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3818 * src/hildon-pannable-area.c,
3819 (hildon_pannable_area_class_init),
3820 (tranparency_color),
3821 (hildon_pannable_draw_vscroll),
3822 (hildon_pannable_draw_hscroll),
3823 (hildon_pannable_area_expose_event): Added a new way to render the
3824 scrollbars of the pannable area avoiding using cairo at all. This
3825 way we improve the performance of the pannable area rendering. The
3826 cairo rendering procedure is still in the code, we can control
3827 which one to use changing the value of the define
3828 USE_CAIRO_SCROLLBARS.
3830 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3832 * configure.ac: post release version bump.
3833 * debian/changelog: version bump.
3835 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3840 * configure.ac: Bump version.
3841 * debian/changelog: Updates.
3843 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3846 banners instead of destroying them when they receive a button
3849 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3851 Reverted commit 34028, it was causing regressions, probably the
3852 topmost condition is not correct, we have to check it in more
3853 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3854 propagation of button press events)
3856 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3859 that the selection is not empty before attempting to retrieve the
3860 current ampm selection.
3862 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-picker-button.c:
3865 (hildon_picker_button_on_dialog_response): Directly update the
3866 button contents when required instead of calling _selection_changed.
3868 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3870 * src/hildon-program.c (hildon_program_update_top_most): Update
3871 'is-topmost' property also when wm_hints is not set.
3873 Fixes: NB#98383 (is-topmost signal is not emitted when task
3874 switcher is clicked.)
3876 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3878 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3882 * src/hildon-animation-actor.c,
3883 * src/hildon-animation-actor.h: Added the animation actor class,
3884 this widget represents an animation actor for WM-assisted
3885 animation effects in the Hildon framework.
3887 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-window-stack-private.h
3890 * src/hildon-window-stack.c
3891 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3892 Avoid calling gtk_widget_show() again indirectly from
3893 hildon_stackable_window_show()
3895 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3897 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3900 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3902 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3903 (hildon_time_selector_init): Move the construction of the hours and
3904 ampm columns to the constructor to preserve the order the columns
3907 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3909 * src/hildon-picker-dialog.c:
3910 (hildon_picker_dialog_class_init): Connect a realize method.
3911 (+hildon_picker_dialog_realize): Setup the interaction mode here
3913 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3914 yet, do it during the realize instead.
3915 (_on_dialog_response):
3916 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3917 if the widget is not realized, to avoid the dialog response before it
3920 Avoid premature responses in the HildonPickerDialog that can cause it
3921 to be hidden before it's even shown.
3923 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3926 (on_selector_columns_changed), (requires_done_button),
3927 (+prepare_action_area), (setup_interaction_mode),
3928 (_hildon_picker_dialog_set_selector):
3930 Split the interaction mode setup into preparation of the
3931 action area (prepare_action_area()) and the connection of
3932 the signals in setup_interaction_mode() and update the code to
3935 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3937 * src/hildon-pannable-area.c,
3938 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3939 per second to 15, we will check if this is ok regarding
3942 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3944 * src/hildon-pannable-area.c,
3945 (hildon_pannable_axis_scroll): Avoid resize if we already have
3946 reached overshoot_max.
3948 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3950 * src/hildon-pannable-area.c,
3951 (hildon_pannable_area_init),
3952 (hildon_pannable_area_realize),
3953 (hildon_pannable_area_size_allocate),
3954 (hildon_pannable_area_map),
3955 (hildon_pannable_area_unmap),
3956 (hildon_pannable_draw_vscroll),
3957 (hildon_pannable_draw_hscroll),
3958 (hildon_pannable_area_expose_event),
3959 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3960 pannable are to avoid the expose events go to the window and
3961 redraw the window. We save this way that part of the stack and the
3962 paint_boxes. We had to change the positions of the elements when
3965 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3967 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3968 * src/hildon-color-chooser-dialog.c:
3969 (hildon_color_chooser_dialog_init):
3970 * src/hildon-font-selection-dialog.c:
3971 (hildon_font_selection_dialog_init),
3972 (hildon_font_selection_dialog_show_preview):
3973 * src/hildon-get-password-dialog.c:
3974 * src/hildon-login-dialog.c:
3975 * src/hildon-set-password-dialog.c:
3976 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3977 * src/hildon-time-picker.c: (hildon_time_picker_init):
3979 Remove obsolete logical string IDs and update to the appropriate ones.
3981 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3983 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3985 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3986 that happens if the window hasn't been realized yet.
3988 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3989 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3991 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3993 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3994 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3997 Fixes: NB#98537 (Device hangs in account settings dialog)
3999 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4001 * configure.ac: post release version bump.
4002 * debian/changelog: version bump
4004 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4009 * configure.ac: Bump version.
4010 * debian/changelog: Updates.
4012 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4014 Added a new function to the HildonTimeButton widget that allows to
4015 change the step of the minutes in the selector associated with the
4016 button: hildon_time_button_new_step
4018 * src/hildon-time-button.c,
4019 (hildon_time_button_init),
4020 (hildon_time_button_new),
4021 (hildon_time_button_new_step):
4022 * src/hildon-time-button.h: Added the new function and refactored
4024 * examples/hildon-time-button-example.c,
4025 (main): We have replaced the function without parameters with the
4026 function with the steps set to 5
4028 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4030 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4032 * src/hildon-time-selector.c,
4033 (hildon_time_selector_class_init),
4034 (hildon_time_selector_constructor),
4035 (hildon_time_selector_get_property),
4036 (hildon_time_selector_set_property),
4037 (_create_minutes_model),
4038 (hildon_time_selector_new_step),
4039 (hildon_time_selector_set_time),
4040 * src/hildon-time-selector.h: Added a new property to the
4041 HildonTimeSelector (minutes-step), we use that property to control
4042 the steps between the minutes in the list of the selector. We have
4043 added a new function to the API to create a widget changing the
4044 step: hildon_time_selector_new_step.
4046 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4048 * src/hildon-time-selector.c,
4049 (hildon_time_selector_class_init),
4050 (hildon_time_selector_constructor),
4051 (hildon_time_selector_init): Overrided the construct function when
4052 creating the time selector object. We have moved the minutes model
4053 handling code from the init to the new construction function:
4054 hildon_time_selector_constructor.
4056 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4058 * examples/hildon-date-button-example.c: (main): Use the new
4059 hildon_date_button_new_with_year_range() method in the example.
4060 * src/hildon-date-button.c:
4061 (+hildon_date_button_new_with_year_range): New public method
4062 to conveniently create a HildonDateButton with a custom year range
4063 in its HildonDateSelector.
4064 * src/hildon-date-button.h: Add the new public method definition.
4066 Fixes: NB#97908 (Not possible to change the year range in
4067 HildonDateSelector/HildonDateButton)
4069 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4071 * src/hildon-date-selector.c:
4072 (+hildon_date_selector_set_property),
4073 (+hildon_date_selector_get_property),
4074 (hildon_date_selector_class_init): Install new properties "min-year"
4075 and "max-year" to define boundaries for the year column.
4076 (_create_year_model): Use the boundary properties to populate the model.
4077 (+hildon_date_selector_new_with_year_range): New public method to
4078 create a HildonDateSelector with a user defined year range.
4079 (hildon_date_selector_select_current_date): Use the new boundaries to
4080 calculate the iterator of current year.
4081 * src/hildon-date-selector.h: Add the new public method definition.
4083 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4086 Install a constructor method.
4087 (+hildon_date_selector_construct_ui): construct the widget.
4088 (+hildon_date_selector_constructor): new constructor.
4089 (+hildon_date_selector_init): move out widget construction code to
4090 the new constructor.
4092 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4095 that there's actually a month or year selected before obtaining them.
4096 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4097 of the HildonTouchSelector::changed signal, as it was emitted on every
4098 single item selection.
4100 Fix some warnings and possible crashers due to the selection restoring.
4102 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4105 the signal handlers only after creating the dialog instead of on every
4108 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4110 * src/hildon-button.c (hildon_button_init)
4111 * src/hildon-check-button.c (hildon_check_button_init)
4112 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4113 focus when clicked by default.
4115 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4120 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4122 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4123 Alejandro G. Castro (alex@igalia.com)
4125 * src/hildon-picker-dialog.c:
4126 (hildon_picker_dialog_class_init): install new "center-on-show"
4128 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4129 (hildon_picker_dialog_set_property): add setter code for the new
4131 (hildon_picker_dialog_get_property): add getter code for the new
4133 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4134 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4137 Fixes: NB#92849 (Selected item is not always visible when
4138 HildonTouchSelector is shown)
4140 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4142 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4143 Alejandro G. Castro (alex@igalia.com)
4145 * src/hildon-touch-selector.c:
4146 (_create_new_column): Do not connect to the "realize" signal of the
4148 (hildon_touch_selector_append_column): center on the selected items
4149 when a new column is appended.
4150 (hildon_touch_selector_select_iter): Factor out the code to select a
4151 column to hildon_touch_selector_scroll_to().
4152 (+search_nearest_element): Method to retrieve the nearest selected
4153 element to the visible area of the pannable area in a column.
4154 (+on_realize_cb): scroll to the initially selected item.
4155 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4156 the pannable area is realized, otherwise delay this until it is.
4157 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4158 selected items of a given column.
4159 (+hildon_touch_selector_center_on_selected): Public method to center
4160 all columns on the nearest selected item.
4161 * src/hildon-touch-selector.h: Add definition for
4162 hildon_touch_selector_center_on_selected().
4164 Implement public API to ensure visibility of all selected items in
4165 a HildonTouchSelector.
4167 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4169 Fixed a problem in the fading when calling the scroll_to API, and
4170 improve scrollbar fading handling.
4172 * src/hildon-pannable-area.c,
4173 (hildon_pannable_area_grab_notify): avoid the timeout when the
4175 (hildon_pannable_area_button_press_cb),
4176 (hildon_pannable_area_motion_notify_cb): Code style changes.
4177 (hildon_pannable_area_button_release_cb): Review the conditions
4178 when releasing the mouse button to avoid unrequired fading
4180 (hildon_pannable_area_scroll_to): Do not calculate and set the
4181 velocity if the scroll is not required.
4183 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4185 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4186 Don't check whether the new selector is NULL: it cannot be.
4187 Hold a reference to the selector while doing the replacement.
4189 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4191 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4192 unnecessary size_request in a removed widget.
4194 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4196 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4197 an unnecessary reference tracking that was leaking.
4199 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4201 Added delayed motion notify event handling, this way we can
4202 discard redrawing if more than 25 events arrive per second.
4204 * src/hildon-pannable-area.c,
4205 (hildon_pannable_area_init): Initialized the new private atributes
4206 controlling this timeout
4207 (hildon_pannable_area_dispose): Remove the timeout that controls
4208 the motion notify events.
4209 (hildon_pannable_area_scroll): Added a condition to control the
4210 use of the acceleration.
4211 (hildon_pannable_area_motion_event_scroll_timeout),
4212 (hildon_pannable_area_motion_event_scroll): Added this two
4213 functions, they handle the motion notify events inside the
4215 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4216 to the scroll method with the new function.
4217 (hildon_pannable_area_button_release_cb): We have to remove the
4218 timeout handler and move to the last position if the last motion
4219 events were not handled.
4221 Fixes: NB#97028 (Pannable area updates on every motion event)
4223 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4225 * src/hildon-pannable-area.c,
4226 (hildon_pannable_area_get_topmost): Added a new parameter to
4227 filter the the windows that do not include those events. Added
4228 also a condition when finding the window to filter windows that do
4229 not ask for those events.
4230 (hildon_pannable_area_button_press_cb),
4231 (hildon_pannable_area_button_release_cb),
4232 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4233 topmost function, we have added the new parameter.
4235 Fixes: NB#97458 (Pannable area prevents propagation of button
4238 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4240 * src/hildon-pannable-area.c,
4241 (hildon_pannable_area_initial_effect): Added controls before
4242 launching the timeout and the idle functions.
4243 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4244 of the method, in some situations it can return with TRUE and 0 in
4246 (hildon_pannable_area_button_press_cb): We do not need to set
4247 DELAY for fading out here.
4249 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4251 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4253 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4254 post-cleaning if the selection is not NULL.
4256 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4259 all items before restoring the selection.
4261 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4263 * src/hildon-touch-selector.c:
4264 (+hildon_touch_selector_unselect_all):
4265 * src/hildon-touch-selector.h: New API to unselect all items in a
4266 column of the touch selector.
4268 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4270 * src/hildon-pannable-area.c,
4271 (hildon_pannable_area_redraw): Added a call to the refresh
4272 function inside the redraw because apparently in some cases the
4273 change in the adjustment does not imply a size allocate.
4275 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4276 despite the view not being scrollable)
4278 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4280 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4281 leak. Check for NULL before attempting to set the window title.
4283 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4285 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4286 whether to show or not the 'Done' button each time the dialog is
4287 shown, as it depends on the HildonTouchSelector selection mode.
4289 Fixes: NB#96226 (In multiple selection mode Done button is shown
4290 sometimes in listpicker)
4292 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4294 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4295 for the number of columns in the HildonTouchSelector more than once.
4297 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4299 * src/hildon-touch-selector.c: Minor documentation fixes.
4301 * src/hildon-picker-dialog.c (+_dialog_update_title)
4302 (_select_on_selector_changed_cb)
4303 (_update_title_on_selector_changed_cb)
4304 (on_selector_columns_changed): Update dialog title when there's no
4305 'Done' button and also when the number of columns in the selector
4309 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4310 (+_selection_changed, hildon_picker_button_on_dialog_response)
4311 (hildon_picker_button_selector_selection_changed)
4312 (+hildon_picker_button_selector_columns_changed)
4313 (hildon_picker_button_set_selector): Update button value and emit
4314 'value-changed' when the number of columns in the selector
4318 Fixes: NB#96225 (Dialog titles are not shown according to the
4319 values selected in the list picker)
4321 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4323 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4324 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4325 New "arrow-width" and "arrow-height" style properties to set the
4326 size of the arrow button.
4327 Set name of arrow button ("hildon-edit-toolbar-arrow").
4329 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4330 graphics from theme)
4332 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-picker-button.c:
4335 (hildon_picker_button_selector_selection_changed): Use
4336 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4337 the dialog is present.
4339 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4340 the selection is accepted in the dialog)
4342 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4344 * src/hildon-color-chooser.h
4345 * src/hildon-color-chooser-dialog.h:
4346 Added G_BEGIN_DECLS and G_END_DECLS
4348 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4350 (_clean_current_selection): plug a leak in the list.
4352 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4354 * src/hildon-picker-dialog.c:
4355 (+free_path_list): Method to free a GList of GtkTreePaths.
4356 (_clean_current_selection), (_save_current_selection),
4357 (_restore_current_selection): Save the current selection in
4358 as a list of lists, to support multiple selection properly.
4360 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4362 patch by Claudio Saavedra (csaavedra@igalia.com)
4364 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4365 Store the press position.
4366 (+hildon_text_view_button_release_event): If the release position is
4367 close enough to the press position, move the cursor here. Otherwise,
4369 (hildon_text_view_class_init): Override GtkTextView press, release, and
4370 motion event handlers, disabling this way text selection through
4371 pointer interaction, and allowing the container widget to handle the
4374 Fixes: NB#95828 (HildonTextView functionality)
4376 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4378 Based on a patch by Iván Gómez (igomez@igalia.com)
4380 * src/hildon-button.[ch]
4381 * src/hildon-calendar.c
4382 * src/hildon-check-button.c
4383 * src/hildon-date-editor.c
4384 * src/hildon-date-selector.c
4385 * src/hildon-picker-button.c
4386 * src/hildon-time-editor.c
4387 * src/hildon-time-selector.c
4388 * src/hildon-touch-selector.[ch]:
4389 Documentation updates
4391 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4393 * src/hildon-pannable-area.c,
4394 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4395 threshold, it was required due to X events handling.
4397 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4399 * src/hildon-pannable-area.c,
4400 (hildon_pannable_area_grab_notify),
4401 (hildon_pannable_area_initial_effect),
4402 (hildon_pannable_area_button_press_cb),
4403 (hildon_pannable_area_button_release_cb),
4404 (hildon_pannable_area_scroll_cb),
4405 (hildon_pannable_area_scroll_to): Review the timeout management of
4406 the scrollbar, the frecuency was incorrectly set.
4408 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4410 * src/hildon-picker-button.c:
4411 (+hildon_picker_button_on_dialog_response),
4412 (hildon_picker_button_clicked): Present the dialog instead of
4413 running it with gtk_dialog_run().
4415 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4418 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4420 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4421 (hildon_app_menu_finalize): When a window is hidden it doesn't
4422 emit notify::is-topmost, so make sure than the menu also
4423 disappears in that case.
4424 (parent_window_topmost_notify): Renamed from parent_window_hidden
4426 Fixes: NB#94460 (stackable window's menu is not closed when its
4429 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4431 * src/hildon-touch-selector-entry.c:
4432 (+hildon_touch_selector_entry_set_input_mode),
4433 (+hildon_touch_selector_entry_get_input_mode):
4434 * src/hildon-touch-selector-entry.h: New methods to access the input
4435 mode in the selector's entry.
4437 Fixes: NB#93410 (API required for setting IM mode in
4438 HildonTouchSelectorEntry)
4440 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4442 * configure.ac: post release version bump.
4443 * debian/changelog: version bump
4445 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4450 * configure.ac: Bump version.
4451 * debian/changelog: Updates.
4453 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4455 * src/hildon-touch-selector.c:
4456 (_hildon_touch_selector_has_multiple_selection): No need
4457 to initialize the variables here.
4459 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4461 * src/hildon-note-private.h
4462 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4463 (hildon_note_finalize, hildon_note_rebuild): Close information
4464 notes when they receive a button press.
4466 Fixes: NB#89890 (Information notes does not get disappeared after
4469 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4471 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4472 mark from the wizard title, as it's not really necessary. Also,
4473 do not display the page title if not set.
4475 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4477 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4478 (parent_window_hidden): Use the window's "is-topmost" property to
4479 detect when to hide the menu.
4481 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4483 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4484 (hildon_app_menu_finalize): If the parent window of the menu is
4485 hidden, hide the menu too.
4487 Fixes: NB#94460 (stackable window's menu is not closed when its
4490 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4493 * debian/libhildon1-examples.install
4495 * examples/Makefile.am:
4496 Use dh_install to install all examples.
4497 Use DEB_SRCDIR instead of defining SOURCE_DIR
4499 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4501 * configure.ac: post release version bump.
4502 * debian/changelog: version bump
4504 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4509 * configure.ac: bump version
4510 * debian/changelog: updates
4511 * debian/control: bump gtk+ dependency
4513 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4515 patch by Christian Dywan (christian@imendio.com)
4517 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4518 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4520 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4522 * src/hildon-check-button.c (hildon_check_button_init)
4523 (hildon_check_button_class_init, hildon_check_button_style_set)
4524 (hildon_check_button_apply_style):
4525 New "checkbox-size" style property.
4527 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4528 larger / configurable size)
4530 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4532 * configure.ac: post release version bump.
4533 * debian/changelog: version bump
4535 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4540 * configure.ac: bump version
4541 * debian/changelog: updates
4543 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4545 * doc/hildon-sections.txt
4546 * src/hildon-pannable-area.c
4547 * src/hildon-program.c
4548 * src/hildon-time-editor.c
4549 * src/hildon-touch-selector-entry.c:
4551 More documentation updates.
4553 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4555 * doc/hildon-sections.txt
4556 * src/hildon-caption.c
4557 * src/hildon-code-dialog.c
4558 * src/hildon-color-button.c
4559 * src/hildon-controlbar.c
4560 * src/hildon-date-editor.c
4561 * src/hildon-date-selector.c
4562 * src/hildon-edit-toolbar.c
4563 * src/hildon-find-toolbar.c
4564 * src/hildon-font-selection-dialog.c
4566 * src/hildon-program.c
4567 * src/hildon-range-editor.c
4568 * src/hildon-seekbar.c
4569 * src/hildon-time-editor.c
4570 * src/hildon-time-selector.c
4571 * src/hildon-volumebar-range.c
4572 * src/hildon-volumebar.c
4573 * src/hildon-vvolumebar.c
4574 * src/hildon-weekday-picker.c
4575 * src/hildon-window.c
4576 * src/hildon-wizard-dialog.c:
4578 Lots of documentation fixes.
4580 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4582 Patch contributed by Iván Gómez (igomez@igalia.com)
4584 * src/hildon-check-button.c:
4585 * src/hildon-date-button.c:
4586 * src/hildon-date-selector.c:
4587 * src/hildon-dialog.c:
4588 * src/hildon-edit-toolbar.c:
4589 * src/hildon-entry.c:
4590 * src/hildon-picker-button.c:
4591 * src/hildon-program.c:
4592 * src/hildon-text-view.c:
4593 * src/hildon-time-button.c:
4594 * src/hildon-touch-selector-entry.c:
4595 * src/hildon-window-stack.c:
4597 Add more "since" tags to the new API.
4599 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4601 * doc/hildon-sections.txt: Add below method.
4602 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4603 version for the hildonized scale.
4604 * src/hildon-gtk.h: Add the definition.
4606 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4608 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4610 * doc/hildon-sections.txt: Add missing entries for new methods.
4612 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4614 Added API to pannable are in order to get its adjustments. We
4615 added two properties to manage the values we had in the private
4618 * src/hildon-pannable-area.c:
4619 (hildon_pannable_area_class_init): Added hadjustment and
4620 vadjustment properties in order to expose horizontal and vertical
4622 (hildon_pannable_area_get_property),
4623 (hildon_pannable_area_set_property): Added code to handle the new
4625 (hildon_pannable_area_get_hadjustment),
4626 (hildon_pannable_area_get_vadjustment): API functions to get the
4628 * src/hildon-pannable-area.h:
4629 (hildon_pannable_area_get_hadjustment),
4630 (hildon_pannable_area_get_vadjustment): API functions to get the
4633 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4635 Fixed some leaks, after valgrinding.
4637 * src/hildon-touch-selector.c:
4638 (_default_print_func): Fixed a leak.
4639 (hildon_touch_selector_append_column): Fixed a leak.
4640 * src/hildon-date-button.c:
4641 (hildon_date_button_init): Fixed a leak.
4642 * src/hildon-date-selector.c
4643 (hildon_date_selector_finalize): Fixed a leak.
4645 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4647 Based on a patch by Christian Dywan (christian@imendio.com)
4649 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4651 * src/hildon-gtk.h: Add definition.
4653 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4655 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4657 * src/hildon-picker-button.c: (hildon_picker_button_init),
4658 (hildon_picker_button_new): Set the HildonButton::style property
4659 in the init method, to propagate the value to the derived classes.
4661 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4663 * src/hildon-button.c: (hildon_button_class_init): Do not make
4664 the "style" property a construct property.
4666 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-wizard-dialog.h
4669 * src/hildon-wizard-dialog.c
4670 (hildon_wizard_dialog_set_forward_page_func)
4671 * src/hildon-pannable-area.h
4672 * src/hildon-pannable-area.c
4673 (hildon_pannable_area_set_size_request_policy):
4674 Documentation fixes.
4676 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4678 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4680 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4682 * doc/hildon-sections.txt: Added sections file.
4684 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4687 * src/*.[ch]: Updates.
4689 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4691 * examples/hildon-progress-indicator-example.c: new file
4692 * examples/Makefile.am: include the new example program
4694 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4696 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4698 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4700 * configure.ac: post release version bump
4701 * debian/changelog: version bump
4703 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4708 * configure.ac: bump version
4709 * debian/changelog: updates
4710 * debian/control: bump gtk+ dependency
4712 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4714 * src/hildon-dialog.c: Mark as deprecated.
4715 * src/hildon-dialog.h: Mark as deprecated.
4716 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4717 from HildonDialog and still work, even if
4718 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4719 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4721 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4722 maemo changes) instead)
4724 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4726 * src/hildon-pannable_area.h:
4727 * src/hildon-pannable_area.c:
4728 (hildon_pannable_area_class_init),
4729 (hildon_pannable_area_set_property),
4730 (hildon_pannable_area_get_property),
4731 (hildon_pannable_area_size_request),
4732 (hildon_pannable_area_get_size_request_policy),
4733 (hildon_pannable_area_set_size_request_policy): Added new API
4734 allowing applications to control the request policy. Now they can
4735 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4736 children allocation (HILDON_MOVEMENT_CHILDREN).
4738 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4742 (hildon_gtk_tree_view_set_ui_mode)
4743 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4744 mode of treeviews and iconviews.
4746 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4748 * src/hildon-touch-selector-entry.c:
4749 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4750 of a GtkEntry to get proper theming.
4752 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4753 widget, not GtkEntry)
4755 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4757 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4758 no HildonWizardDialogPageFunc.
4760 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4762 Patch contributed by Iván Gómez (igomez@igalia.com)
4764 * src/hildon-app-menu.c:
4765 * src/hildon-button.c:
4766 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4767 * src/hildon-stackable-window.c:
4768 * src/hildon-time-selector.c:
4769 * src/hildon-touch-selector.c:
4770 * src/hildon-window.c:
4772 Add more "since" tags to the new API in hildon 2.2.
4774 2008-12-05 Tim Janik <timj@imendio.com>
4776 Patch contributed by Christian Dywan (christian@imendio.com)
4778 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4779 HildonSizeType, which are supplied by Gtk+ now.
4781 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4783 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4784 (with maemo changes) instead)
4786 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4788 Patch contributed by Iván Gómez (igomez@igalia.com)
4790 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4793 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4795 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4796 (some_page_func), (main): Update the example to use a
4797 HildonWizardDialogPageFunc function.
4799 * src/hildon-wizard-dialog-private.h: Add private data for
4800 the HildonWizardDialogPageFunc function usage.
4802 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4803 (destroy), (hildon_wizard_dialog_init), (response),
4804 (hildon_wizard_dialog_set_forward_page_func):
4805 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4806 that applications can use to stop a HildonWizardDialog to jump to
4809 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4812 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4814 * src/hildon-program.h
4815 * src/hildon-program-private.h
4816 * src/hildon-program.c (hildon_program_init)
4817 (hildon_program_set_common_app_menu)
4818 (hildon_program_get_common_app_menu):
4819 New API for setting a common HildonAppMenu for all
4820 HildonStackableWindows registered with the HildonProgram.
4822 * src/hildon-stackable-window.c
4823 (hildon_stackable_window_toggle_menu):
4824 Use the common HildonAppMenu if a window doesn't have a specific
4827 * src/hildon-app-menu-private.h
4828 * src/hildon-app-menu.c
4829 (hildon_app_menu_get_parent_window):
4830 Function to obtain the window a HildonAppMenu is attached to.
4831 (hildon_app_menu_set_parent_window):
4832 Hide the menu if the parent window is set to NULL.
4834 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4837 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4838 search widget to popup.
4840 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4842 * configure.ac: post release version bump
4843 * debian/changelog: version bump
4845 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4850 * configure.ac: bump version
4851 * debian/changelog: updates
4853 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4855 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4857 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4858 (hildon_window_stack_window_realized)
4859 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4860 Set the leader GdkWindow when a window is stacked and realized,
4861 unset it when it's unstacked.
4862 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4864 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4866 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4868 * src/hildon-stackable-window.h
4869 * src/hildon-window-stack.h:
4870 Protect definition of HildonWindowStack using the preprocessor.
4872 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4874 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4875 Fix warning if all menu items are hidden.
4877 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4879 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4881 * src/hildon-controlbar.c:
4882 * src/hildon-hvolumebar.c:
4883 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4884 Multiple scale size defines updates.
4886 Fixes: NB#94322 (Scale Updates)
4888 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4890 * examples/hildon-app-menu-example.c (create_menu)
4891 Show items after adding them to the menu, as in the future the
4892 menu will no longer call gtk_widget_show() on the added items.
4894 * src/hildon-app-menu.c:
4895 Update example as explained above.
4897 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4899 * src/hildon-app-menu.c
4900 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4901 Make sure that all menu items have finger height.
4903 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4905 * src/hildon-picker-dialog.c:
4906 (_on_dialog_response), (_save_current_selection),
4907 (_restore_current_selection), (_clean_current_selection),
4908 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4909 Defined new functions in order to save the current internal selector
4910 selection previous open the dialog, in case that the use cancel the
4911 interaction, so the widget restores the previous selection.
4913 Fixes: NB#92032 (In calendar application, date values in 'new event'
4916 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4918 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4920 * src/hildon-button.c: Add a reference to the button examples in
4921 hildon-button-example.c
4923 * examples/hildon-button-example.c: Added examples of the most
4924 common button layouts.
4926 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4928 * src/hildon-app-menu.c (hildon_app_menu_show)
4929 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4931 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4933 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-picker-dialog.c:
4936 (hildon_picker_dialog_init): Initialize the signal id for
4937 HildonTouchSelector::columns-changed.
4938 (+on_selector_columns_changed): Set up the interaction mode everytime a
4939 column is added or removed from the HildonTouchSelector.
4940 (_hildon_picker_dialog_set_selector): Connect to
4941 HildonTouchSelector::columns-changed and keep track of it.
4943 Make sure to update the interaction mode of the dialog everytime a
4944 column is added or removed in the HildonTouchSelector.
4946 Fixes: NB#93228 (Done button is not shown always in listpicker)
4948 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4951 a new ::columns-changed signal.
4952 (hildon_touch_selector_append_column): Emit ::columns-changed.
4953 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4955 Add a ::columns-changed signal, emitted when the number of columns in a
4956 HildonTouchSelector changes.
4958 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4960 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4961 (_hildon_picker_dialog_set_selector): Factor out the code
4962 to set up the dialog interaction mode.
4964 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4966 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4967 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4968 to signal_changed_id.
4970 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4972 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4975 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4977 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4978 Updated the logical ids related to ampm format, as now it is required to
4979 show it correctly localized even on languages with no default
4980 abbreviations for am or pm
4981 (_check_am_pm_format): check correctly the 24h format gconf property
4983 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4985 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4987 * src/hildon-button.c: Documentation updates.
4989 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4991 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4992 * src/hildon-caption.c: (hildon_caption_class_init):
4993 * src/hildon-color-button.c: (hildon_color_button_class_init):
4994 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4995 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4996 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4997 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4999 Remove deprecated GTK+ marshalers and replace them with the ones
5000 provided by GLib, for those available, add a marshaler for
5001 BOOLEAN:VOID, which is not available in GLib, and use it.
5003 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5005 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5006 the text from the previous column if there is no
5007 HildonTouchSelectorColumn::text-property set.
5009 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5011 * src/hildon-button.h
5012 * src/hildon-button.c (hildon_button_set_property)
5013 (hildon_button_get_property, hildon_button_class_init)
5014 (hildon_button_set_style, hildon_button_get_style):
5015 New "style" property to change the visual appearance of the
5018 * src/hildon-picker-button.c (hildon_picker_button_new):
5019 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5021 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5022 HildonButton look like PickerButton)
5024 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5026 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5027 column while building the default string.
5029 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5031 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5032 scroll indicator by default.
5034 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5036 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5038 * src/hildon-main.c: Fix the documentation for hildon_init()
5040 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5042 * doc/hildon-docs.sgml
5046 * src/hildon-window-stack-private.h
5047 * src/hildon-window-stack.h
5048 * src/hildon-window-stack.c:
5049 New HildonWindowStack object, that adds support for multiple
5050 stacks of windows per process.
5052 * src/hildon-stackable-window-private.h
5053 * src/hildon-stackable-window.h
5054 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5055 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5056 (hildon_stackable_window_show, hildon_stackable_window_hide)
5057 (hildon_stackable_window_class_init)
5058 (hildon_stackable_window_init):
5059 Use HildonWindowStack for stack management.
5061 * src/hildon-program.c (hildon_program_pop_window_stack)
5062 (hildon_program_peek_window_stack)
5063 (hildon_program_go_to_root_window):
5064 Add a fallback implementation to the deprecated functions using
5067 * examples/hildon-stackable-window-example.c:
5068 Use the new HildonWindowStack API.
5070 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5072 * src/hildon-stackable-window-private.h
5073 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5074 (hildon_stackable_window_hide, hildon_stackable_window_init):
5075 Remove all window stack management.
5077 * src/hildon-program-private.h
5078 * src/hildon-program.h
5079 * src/hildon-program.c (hildon_program_init)
5080 (hildon_program_pop_window_stack)
5081 (hildon_program_peek_window_stack)
5082 (hildon_program_go_to_root_window):
5083 Remove all window stack management and mark functions as
5086 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5088 * src/hildon-app-menu.c (hildon_app_menu_realize):
5089 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5091 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5093 * configure.ac: post release version bump
5094 * debian/changelog: version bump
5096 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5101 * configure.ac: bump version
5102 * debian/changelog: updates
5104 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5106 Based on initial code by Christian Dywan (christian@imendio.com)
5108 * doc/hildon-docs.sgml: Add section for hildon-main.
5109 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5110 * src/Makefile.am: Add new hildon-main.[ch]
5111 * src/hildon-defines.h: Update the icon sizes.
5112 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5113 new library initialization files and register icon sizes.
5114 * src/hildon-main.h: New declarations.
5115 * src/hildon.h: Include hildon-main.h
5117 Add new initialization functions to the library. These methods
5118 will register the hildon specific icon sizes and can be used in the
5119 future for other hildon specific bits.
5121 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5123 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5125 * src/hildon-window.c: (hildon_window_realize),
5126 (hildon_window_notify), (-hildon_window_update_title): Do not set
5127 the application name in the window title.
5129 Fixes: NB#89754 (Applications shouldn't display their names in the
5132 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5134 * src/hildon-note-private.h:
5135 * src/hildon-note.c: (hildon_note_set_property),
5136 (hildon_note_get_property), (hildon_note_class_init),
5137 (hildon_note_init), (hildon_note_finalize),
5138 (hildon_note_new_confirmation_with_icon_name),
5139 (hildon_note_new_information_with_icon_name):
5141 No need to mark as deprecated the actual code. Revert
5142 to avoid missing symbols in widgets using deprecated API.
5144 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5146 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5148 * src/hildon-volumebar.h
5149 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5150 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5152 * src/hildon-helper.h
5153 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5154 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5156 * examples/Makefile.am:
5157 Deprecate hildon-insensitive-example
5159 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5161 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5163 * examples/hildon-pannable-area-buttons-scroll-example.c:
5164 Make all buttons finger height
5166 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5168 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5170 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5171 update the day model only if it is really required, and to avoid the
5172 full-reconstruction aproach. Now it only add or remove the required days.
5174 The purpose of this is avoid superfluous HildonTouchSelector::changed
5177 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5178 with strange parameters)
5180 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5182 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5184 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5185 the WINDOW_TYPE property.
5187 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5189 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5192 Fix dependency to allow parallel compilation with make -jX
5194 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5196 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5197 color frame and some minor tweaks to make it more consistent with
5200 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5201 highlighted but not visible)
5203 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5205 * examples/Makefile.am: Fixed typo in the Makefile.am.
5207 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5209 Reviewed the use of MAEMO_GTK define, now we add the define in the
5210 compilation line, and we also add it to the pc file.
5212 * configure.ac: Added MAEMO_GTK define to the compilation command
5213 and removed it from the config.h.
5215 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5216 do not have to take care about this define if the library was
5220 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5222 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5224 * examples/Makefile.am,
5225 * examples/hildon-pannable-area-buttons-scroll-example.c,
5226 * examples/hildon-pannable-area-gesture-signals-example.c,
5227 * examples/hildon-pannable-area-scroll-jump-example.c,
5228 * examples/hildon-pannable-area-tree-view-example.c:
5229 Renamed the pannable area examples, now they have more meaningful
5232 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5234 * src/hildon-touch-selector.c:
5235 (hildon_touch_selector_set_column_selection_mode): Used of
5236 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5237 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5238 to avoid re-seting the same selection mode.
5240 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5241 breaks HildonPickerDialog)
5243 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5245 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5246 conditional in the Makefile.am
5248 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5250 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5251 Remove unused methods.
5253 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5255 * src/hildon-button.c (hildon_button_init):
5256 Make button images center-aligned by default
5258 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5261 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5262 activated, we have to think about how to deal with both defines
5263 MAEMO_GTK and MAEMO_CHANGES.
5265 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5267 * examples/hildon-app-menu-example.c (create_menu): Make all
5268 buttons finger size.
5270 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5272 Fixed the compilation without maemo gtk adding ifdefs with
5273 MAEMO_GTK define to the code, we have to check this version more
5276 * examples/Makefile.am: Added control to avoid some examples that
5277 just make sense with maemo gtk.
5280 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5281 hildon modes with the define.
5283 * examples/hildon-edit-toolbar-example.c,
5284 (create_icon_view): Create the icon view without hildon-gtk
5285 helpers if we are not using maemo gtk.
5287 * src/hildon-touch-selector.c,
5288 (_create_new_column): Create the treeview without hildon-gtk
5289 helpers if we are not using maemo gtk.
5291 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5293 * src/hildon-pnnable-area.c,
5294 (hildon_pannable_area_dispose),
5295 (hildon_pannable_area_button_press_cb),
5296 (hildon_pannable_area_child_mapped),
5297 (hildon_pannable_area_add),
5298 (hildon_pannable_area_remove): Added code to control the position
5299 of the event_window when adding and removing children from the
5300 pannable. We have to raise the event window when the child is
5303 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5304 selection mode using custom widget inside pannable)
5306 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5308 * configure.ac: post release version bump
5309 * debian/changelog: version bump
5311 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5316 * configure.ac: bump version
5317 * debian/changelog: updates
5319 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5321 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5322 search mode, in order to avoid lose the focus on the treeview when
5323 a hw key (like enter) is pressed.
5325 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5326 in HildonDateSelector dialog)
5328 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5330 * debian/rules: Added --enable-maintainer-mode
5331 * Makefile.am: Added ACLOCAL_AMFLAGS
5333 This allows to properly regenerate the Makefiles if you modify the
5334 configure.ac or any Makefile.am.
5336 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5338 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5339 properties, not needed at all.
5341 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5343 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5345 * src/hildon-note.c: (hildon_note_set_property),
5346 (hildon_note_get_property), (hildon_note_class_init),
5347 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5348 (hildon_note_new_confirmation_add_buttons): Remove icons.
5349 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5350 (hildon_note_new_information_with_icon_name): Deprecate.
5351 (hildon_note_new_confirmation): Act directly, without calling
5352 the deprecated constructor.
5353 (hildon_note_new_information): Act directly, without calling
5354 the deprecated constructor.
5355 * src/hildon-note.h: Mark deprecate methods as such.
5356 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5357 not run tests on the deprecated methods if built with deprecation
5360 Fixes: NB#91688 (Never show icons in information notes/confirmation
5363 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5365 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5366 (hildon_app_menu_key_press): Remove leftover usage of the
5367 private structure in HildonAppMenu struct.
5368 * src/hildon-app-menu.h: Remove leftover private structure
5369 from the HildonAppMenu struct.
5371 Fixes a crasher when using the HildonAppMenu.
5373 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5375 * src/hildon-picker-dialog.c: Use appropriate logical id
5376 for the default "Done" text.
5378 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5380 * configure.ac: post release version bump
5381 * debian/changelog: version bump
5383 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5385 Modified the way to scroll to the current selection just when the touch
5386 selector is shown on the screen, avoiding a g_idle. Added too a property
5387 to configure this behaviour. See hildon_pannable_area_jump_to_child
5388 documentation for more information.
5390 * src/hildon-touch-selector.c
5391 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5392 Added 'initial-scroll' property
5393 (hildon_touch_selector_set_property): Added
5394 (hildon_touch_selector_map): Removed as not required anymore
5395 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5396 only a concrete column, instead of iterate along all the columns
5398 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5403 * configure.ac: bump version
5404 * debian/changelog: updates
5406 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5408 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5409 compilation time warnings.
5411 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5414 the default value for HildonPannableArea::mov-mode to
5415 HILDON_PANNABLE_AREA_MODE_VERT.
5417 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5419 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5421 Reverting following commit:
5423 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5425 * src/hildon-app-menu-private.h
5426 * src/hildon-app-menu.[ch]
5427 * src/hildon-button.[ch]
5428 * src/hildon-check-button.[ch]
5429 * src/hildon-entry.[ch]
5430 * src/hildon-pannable-area.[ch]
5431 * src/hildon-text-view.[ch]:
5432 Added private field to the object's structure.
5434 because it causes an ABI breakage. We will need to introduce these
5435 changes later at some point. See NB#91636 for an extensive
5436 explanation and status.
5438 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5440 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5442 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5443 remove special cases that are no longer necessary.
5445 Fixes: NB#91016 (Change toolbar sizes, simplification)
5447 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5449 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5450 is shown in the cancel note.
5452 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5454 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5455 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5456 (hildon_seekbar_init): Remove steppers, remove expose event.
5457 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5459 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5461 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5463 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5464 label font to "SmallSystemFont" for vertically arranged buttons.
5466 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5469 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5471 * src/hildon-check-button.c
5472 (hildon_check_button_set_active, hildon_check_button_clicked):
5473 Don't access private parts directly, use getters instead.
5475 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-check-button.c (hildon_check_button_new):
5478 Align the contents of the check button to the left.
5480 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5482 * src/hildon-pannable-area.c,
5483 (hildon_pannable_area_scroll_to),
5484 (hildon_pannable_area_jump_to),
5485 (hildon_pannable_area_scroll_to_child),
5486 (hildon_pannable_area_jump_to_child): Replace the mapped
5487 precondition of these functions with the realized, it is the
5488 correct state of the widget in this case. Changed the
5489 documentation according to this modification.
5491 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5493 Added a new EXTRA_CFLAGS option to add the deprecated define to
5494 the compilation command. This way we can avoid using the define in
5495 the documentation compilation.
5497 * configure.ac: Defined EXTRA_CFLAGS.
5499 * examples/Makefile.am:
5501 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5503 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5505 * src/hildon-picker-dialog.c:
5506 Defined a utility macro with the desired touch selector height
5507 Removed currently unused separator, and title_label variables from
5509 (hildon_picker_dialog_init): Removed code related to the creation
5510 of unused private variables title_label and separator.
5511 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5512 to ensure correct visualization of the touch selector inside the dialog.
5513 * src/hildon-touch-selector.c
5514 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5515 ensure a concrete height of the widget.
5517 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5520 * tests/Makefile.am:
5522 Remove spurious whitespaces.
5524 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5526 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5527 compilation warning after the cancel button removal.
5529 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5531 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5533 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5534 Makefile.am, that way we can choose not to compile some examples
5535 and tests of the deprecated widgets.
5537 * examples/Makefile.am: Divided the sources in deprecated and
5540 * src/Makefile.am: Added undef statement of the deprecated
5541 symbol to the enums file generation process.
5543 * src/hildon-color-chooser-dialog.c
5544 * src/hildon-color-chooser-dialog.h
5545 * src/hildon-color-button.c
5546 * src/hildon-color-button.h
5547 * src/hildon-color-chooser.c
5548 * src/hildon-color-chooser.h
5549 * src/hildon-controlbar.c
5550 * src/hildon-controlbar.h
5551 * src/hildon-date-editor.c
5552 * src/hildon-date-editor.h
5553 * src/hildon-hvolumebar.c
5554 * src/hildon-hvolumebar.h
5555 * src/hildon-private.c
5556 * src/hildon-private.h
5557 * src/hildon-range-editor.c
5558 * src/hildon-range-editor.h
5559 * src/hildon-seekbar.c
5560 * src/hildon-seekbar.h
5561 * src/hildon-time-editor.c
5562 * src/hildon-time-editor.h
5563 * src/hildon-time-picker.c
5564 * src/hildon-time-picker.h
5565 * src/hildon-volumebar.c
5566 * src/hildon-volumebar.h
5567 * src/hildon-vvolumebar.c
5568 * src/hildon-vvolumebar.h
5569 * src/hildon-bread-crumb-trail.h
5570 * src/hildon-bread-crumb-trail.c
5571 * src/hildon-calendar-popup.c
5572 * src/hildon-calendar-popup.h
5573 * src/hildon-weekday-picker.c:
5574 * src/hildon-weekday-picker.h:
5575 * src/hildon-bread-crumb-widget.c:
5576 * src/hildon-bread-crumb-widget.h:
5577 * src/hildon-bread-crumb.c:
5578 * src/hildon-bread-crumb.h:
5579 * src/hildon-calendar.c:
5580 * src/hildon-calendar.h:
5581 * src/hildon-caption.c:
5582 * src/hildon-code-dialog.c:
5583 * src/hildon-code-dialog.h:
5584 * src/hildon-font-selection-dialog.c:
5585 * src/hildon-font-selection-dialog.h:
5586 * src/hildon-get-password-dialog.c:
5587 * src/hildon-get-password-dialog.h:
5588 * src/hildon-login-dialog.c:
5589 * src/hildon-login-dialog.h:
5590 * src/hildon-number-editor.c:
5591 * src/hildon-number-editor.h:
5592 * src/hildon-set-password-dialog.c:
5593 * src/hildon-set-password-dialog.h:
5594 * src/hildon-sort-dialog.c:
5595 * src/hildon-sort-dialog.h: This is the list of deprecated
5598 * src/hildon-touch-selector.c:
5599 * src/hildon-window.c: Added undef statement to avoid compilation
5602 * tests/Makefile.am: Divided the sources in deprecated and
5605 * tests/check_test.c,
5606 (configure_tests): Marked the deprecated code that was adding
5607 suites with deprecated tests.
5609 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5611 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5613 * src/hildon-touch-selector.c: (_default_print_func): Do not
5614 duplicate a string returned by gtk_tree_model_get(), it is already
5617 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5620 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5622 * src/hildon-pannable-area.c
5623 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5624 method, it had problems when adding a widget with viewport the
5625 second time. Now checks if it already has a viewport and uses it.
5627 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5630 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5632 * src/hildon-pannable-area.c,
5633 (hildon_pannable_area_scroll_to),
5634 (hildon_pannable_area_jump_to),
5635 (hildon_pannable_area_scroll_to_child),
5636 (hildon_pannable_area_jump_to_child): Added a precondition to the
5637 scroll and jump to functions: the widget must be mapped before we
5638 can safely call these functions. We have also added documentation
5639 to the functions to explain how to use them in this situation.
5642 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5644 Reviewed the threading handling of the pannable widget, we have
5645 used the gdk_threads_add_timeout function instead of the usual
5646 glib handlers. This avoids some problems with the threads.
5648 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5649 (hildon_pannable_area_initial_effect),
5650 (hildon_pannable_area_scroll_indicator_fade),
5651 (hildon_pannable_area_button_press_cb),
5652 (hildon_pannable_area_timeout),
5653 (hildon_pannable_area_motion_notify_cb),
5654 (hildon_pannable_area_button_release_cb),
5655 (hildon_pannable_area_scroll_cb),
5656 (hildon_pannable_area_scroll_to): Removed the
5657 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5658 gdk_threads_add_timeout.
5660 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5662 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5667 * configure.ac: bump version
5668 * debian/changelog: updates
5670 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5672 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5673 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5674 * src/hildon-color-chooser-dialog.c:
5675 (hildon_color_chooser_dialog_init):
5676 * src/hildon-font-selection-dialog.c:
5677 (hildon_font_selection_dialog_init):
5678 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5680 Remove all cancel/close-like dialogs, as these are not going to be
5683 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5685 * src/hildon-note.c: (hildon_note_rebuild),
5686 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5689 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5691 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5693 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5694 sure all buttons are shown, even the Cancel/Close-like ones.
5696 Fixes: NB#90861 (Custom Confirmation dialogs should be
5697 protected from cancel button removal)
5699 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5701 * debian/control: Change libhildon1-examples dependency from libhildon1
5703 * debian/libhildon1-examples.install
5705 * Makefile.am: Modified the final install directory for the examples on
5706 package libhildon1-examples
5707 * Makefile.static: Update clean target in order to remove all the binary
5710 Changes suggested by Claudio after review new libhildon1-examples package
5712 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5714 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5715 * src/hildon-touch-selector.c: Ditto.
5717 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5719 * debian/control: Added new package libhildon1-examples, in order to pack
5720 the current hildon examples as documentation
5721 * debian/rules: Not to compress .c files, modify some includes on the
5722 examples (as normally are compiled locally, but when installed it will
5723 require to include the installed libhildon1 library), and rename
5725 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5726 install all the example files on the new example package
5727 * examples/Makefile.static: Added static makefile that can be used to
5728 compile the examples, once installed the new example package
5729 * examples: Most of the examples were modified in order to grant that
5730 all use only '#include "hildon.h"', in order to be easy to prepare
5731 it on the example package
5733 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5736 * debian/libhildon1-dev.install
5737 * debian/libhildon1-doc.install:
5738 Move all gtk-doc files to a separate libhildon1-doc package.
5740 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5742 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5744 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5746 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5748 * debian/rules: Fixed a error in order to avoid unnecessary calls
5749 to autogen.sh on package building
5751 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5753 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5755 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5757 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5760 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5762 * src/hildon-picker-button.c
5763 (hildon_picker_button_finalize):
5764 Free priv->done_button_text
5766 * src/hildon-time-button.c
5767 (hildon_time_button_set_time)
5768 * src/hildon-picker-button.c
5769 (hildon_picker_button_clicked)
5770 (hildon_picker_button_selector_selection_changed)
5771 (hildon_picker_button_set_selector)
5772 * src/hildon-date-button.c
5773 (hildon_date_button_set_date):
5774 Free strings returned by hildon_touch_selector_get_current_text()
5776 * src/hildon-button.c (hildon_button_construct_child):
5777 Fix leaks in priv->image and priv->label_box
5779 Fixes: NB#90535 (Memory leak in picker button)
5781 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5783 * src/hildon-button.c: (hildon_button_get_property): Do not access
5784 private elements directly, use getters instead.
5786 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5788 * src/hildon-app-menu-private.h
5789 * src/hildon-app-menu.c
5790 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5791 Store the menu's parent window.
5793 * src/hildon-stackable-window.c
5794 (hildon_stackable_window_toggle_menu)
5795 (hildon_stackable_window_finalize):
5796 Set the menu's parent window when the menu is shown, unset it when
5799 * src/hildon-app-menu.c
5800 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5801 (hildon_app_menu_class_init):
5802 Send unhandled keyboard accelerators to the parent window.
5804 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-stackable-window.c
5807 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5809 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5811 * configure.ac: post release version bump
5813 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5816 * configure.ac: Bump version
5817 * debian/changelog: Updates
5818 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5821 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5823 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5826 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5827 GtkMenu with Hildon style.
5829 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5831 * src/hildon-picker-button.c:
5832 (hildon_picker_button_set_done_button_text): Set the dialog's
5833 done button text here as well.
5835 Fixes: NB#90232 (Picker button does not set the label on done button
5836 for the second time)
5838 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5843 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5845 * src/hildon-app-menu.c (hildon_app_menu_insert)
5846 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5847 the HildonAppMenu to be activatable using keyboard accelerators
5848 when the menu is not being shown.
5850 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5852 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5854 * src/hildon-stackable-window.c
5855 (hildon_stackable_window_show):
5856 Don't hide old windows automatically when new windows are shown:
5857 this is now a task for the window manager.
5858 (hildon_stackable_window_class_init)
5859 (hildon_stackable_window_hide):
5860 Remove windows from the stack everytime they're hidden.
5861 (hildon_stackable_window_realize):
5862 Don't change the _NET_WM_WINDOW_TYPE property. Use
5863 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5864 it as a stackable window.
5866 * src/hildon-program.c
5867 (hildon_program_pop_window_stack):
5868 Just hide the window to remove it from the stack.
5869 (hildon_program_go_to_root_window):
5870 Don't call gtk_widget_show(), this is now a task for the window
5873 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5875 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5877 * src/hildon-button.c
5878 (hildon_button_construct_child):
5879 Don't pack anything in the button until text or image are
5880 set. This allows adding a custom child after creating the button
5881 with hildon_button_new().
5882 (hildon_button_finalize, hildon_button_class_init)
5883 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5884 alignment and the label box even when they're not packed in the
5887 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5889 * src/hildon-touch-selector.h:
5890 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5891 currently the type definition was using GTK_TYPE_VBOX
5892 * src/hildon-touch-selector.c:
5893 Added some implementation notes in order to clarify that any other widget
5894 added without the column related API will not be included on the
5895 selection logic, and how the widget is freed, as some people ask about
5897 (hildon_touch_selector_remove): Reimplemented in order to free properly
5898 the column related data when you remove the private hbox.
5899 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5900 to get a proper HildonTouchSelectorColumn documentation
5902 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5904 * src/hildon-touch-selector-entry.c:
5905 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5906 text in the GtkEntry and there is no item selected. Fixes a
5909 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5911 * src/hildon-app-menu-private.h
5912 * src/hildon-app-menu.[ch]
5913 * src/hildon-button.[ch]
5914 * src/hildon-check-button.[ch]
5915 * src/hildon-entry.[ch]
5916 * src/hildon-pannable-area.[ch]
5917 * src/hildon-text-view.[ch]:
5918 Added private field to the object's structure.
5920 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5922 * configure.ac: post-release version bump
5924 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5928 * configure.ac: pre-release version bump
5930 * debian/changelog: updates.
5932 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5934 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5935 Disconnect the handler for HildonTouchSelector::changed.
5937 (hildon_picker_button_selector_selection_changed): Update the button
5938 value if the selection change was not triggered by the
5941 (hildon_picker_button_set_selector): connect to
5942 HildonTouchSelector::changed.
5944 Fixes: NB#89650 (Picker button is not updated, when selection in
5945 selector has changed)
5947 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5949 * src/hildon-picker-dialog.c
5950 (hildon_picker_dialog_realize): Removed as not required
5951 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5952 * src/hildon-picker-button.c
5953 (_current_selector_empty): New function, checks if the selector is empty
5954 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5955 if the current selector is empty, in order to avoid to show the dialog
5956 close the dialog in this case (and shows a g_warning).
5958 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5960 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5962 * src/hildon-pannable-area.c,
5963 (hildon_pannable_area_scroll): Added clause to stop movement when
5964 the child of pannable is smaller than one page.
5965 (hildon_pannable_area_scroll_to): Added conditions to avoid
5966 starting the scrolling movement if the child is smaller than one
5967 page, the complete child is in the screen, we do not have to move.
5969 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5971 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5974 this is managed automatically by the widget when the size of the
5977 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5979 * src/hildon-picker-button.c
5980 (hildon_picker_button_set_done_button_text): Make a copy of the
5981 text, and free the previous value.
5983 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5985 * src/hildon-touch-selector-entry.c:
5986 (hildon_touch_selector_entry_print_func): Return the selected row's
5987 text if the entry is empty.
5989 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5992 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5996 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5999 * src/hildon-check-button.h
6000 * src/hildon-check-button.c
6001 * examples/hildon-check-button-example.c:
6002 HildonCheckButton is now a new widget. 'toggled' signal added.
6004 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6006 * src/hildon-program-private.h
6007 * src/hildon-program.c (hildon_program_init)
6008 (hildon_program_finalize): Removed unused variables group_leader
6009 and name from HildonProgramPrivate.
6011 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-check-button.c (hildon_check_button_set_active)
6014 (hildon_check_button_get_active, hildon_check_button_new): Use
6015 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6017 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6019 * src/hildon-touch-selector.h
6020 (hildon_touch_selector_set_column_attributes): added deprecation
6021 guard HILDON_DISABLE_DEPRECATED
6022 * src/hildon-time-selector.c
6023 (hildon_time_selector_set_time)
6024 (hildon_time_selector_get_time): Fixed a typo on documentation
6025 * src/hildon-touch-selector.c: update HildonTouchSelector and
6026 HildonTouchSelectorColumn documentation
6027 * src/hildon-touch-selector-entry.c: update "text-column" property
6029 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6030 to be added to the general documentation.
6032 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6034 * examples/hildon-pannable-area-example-4.c,
6036 * examples/hildon-pannable-area-example.c,
6037 (main): Modified the code in order to use the container add, with
6038 viewport treeviews could have problems if they are really big.
6040 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6042 * src/hildon-weekday-picker.c,
6043 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6044 the agreement regarding deprecation in the library.
6046 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6048 * examples/hildon-picker-button-multicolumn-example.c:
6049 (main): Use custom "done" button text.
6051 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6052 (hildon_picker_button_set_property),
6053 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6054 (hildon_picker_button_init),
6055 (+hildon_picker_button_get_done_button_text),
6056 (+hildon_picker_button_set_done_button_text): New methods to customize
6057 the "done" button label in the launched HildonPickerDialog. Also,
6060 * src/hildon-picker-button.h: add the public API.
6062 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6064 * src/hildon-date-selector.h:
6065 * src/hildon-picker-dialog.h:
6066 * src/hildon-time-selector.h:
6067 * src/hildon-touch-selector-column.h:
6068 * src/hildon-touch-selector.h:
6070 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6071 declarations. Fixes gtk-doc warnings.
6073 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6075 * src/hildon-picker-dialog.h
6076 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6077 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6079 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6080 long text is set as label for done button)
6082 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6084 * src/hildon-dialog.c (hildon_dialog_add_button):
6085 Set fixed width to all buttons in the HildonDialog.
6087 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6089 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6091 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6092 Set widget name using class name plus "-finger" or "-thumb".
6094 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6096 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6097 'clicked' when the state of the button is manually changed.
6099 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6101 * src/hildon-app-menu.c (hildon_app_menu_realize)
6102 (hildon_app_menu_unrealize, hildon_app_menu_init)
6103 (hildon_app_menu_class_init, item_visibility_changed):
6104 Change the menu layout when the size of the screen changes.
6105 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6106 Show warning only when changing the number of colums using the
6109 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6111 * debian/compat: Set to 5
6112 * debian/control: Update dependencies.
6113 * debian/libhildon1-dbg.install: Remove.
6114 * debian/libhildon1-dev.install: Update according to cdbs paths.
6115 * debian/libhildon1.install: Update according to cdbs paths.
6116 * debian/rules: Switch to cdbs.
6118 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6120 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6121 'item' variable renamed to 'filter'
6123 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6125 * src/hildon-app-menu.c (hildon_app_menu_insert)
6126 (hildon_app_menu_add_filter, remove_item_from_list)
6127 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6128 Don't leak hidden items when the menu is destroyed.
6130 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6132 * src/hildon-app-menu.c (hildon_app_menu_insert)
6133 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6134 (hildon_app_menu_set_columns, item_visibility_changed)
6135 (filter_visibility_changed, hildon_app_menu_repack_filters)
6136 (hildon_app_menu_repack_items):
6137 Repack items and filters separately.
6139 Don't repack all items, change only the ones that are needed to
6142 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6144 * src/Makefile.am: added hildon-touch-selector-column.h
6146 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6148 * src/hildon-touch-selector.c: added the property "text-column" to the
6149 class HildonTouchSelectorColumn, and related get/set functions
6150 (_default_printf_func): updated to use "text-column" property
6151 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6152 "text-column" in his documentation, as this is now included on
6153 HildonTouchSelectorColumn. The get/set_property can still be used,
6154 working as a wrapper to the concrete column "text-column" property
6155 (_text_column_modified): callback added in order to handle the signal
6156 "notify::text-column" of the concrete HildonTouchSelectorColumn
6157 (hildon_touch_selector_entry_get_text_column)
6158 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6159 modified in order to use the HildonTouchSelectorColumn "text-column"
6161 * src/hildon-time-selector.c:
6162 * src/hildon-date-selector.c:
6163 * examples/hildon-touch-selector-example.c
6164 * examples/hildon-touch-selector-multi-cells-example.c
6165 * examples/hildon-picker-button-multicolumn-example.c
6166 Set the right value to "text-column" property on the creation of a new
6167 column using hildon_touch_selector_append_column()
6169 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6171 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6173 * src/hildon-app-menu.c
6174 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6175 updating the layout of the menu, don't create all widgets again,
6176 just repack the items in their new places.
6178 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6180 * src/hildon-time-selector.c
6181 (hildon_time_selector_get_time)
6182 (hildon_time_selector_set_time)
6183 Added documentation of these public methods
6185 * src/hildon-date-button.h
6186 * src/hildon-touch-selector-column.h
6187 * src/hildon-time-button.h
6188 * src/hildon-picker-dialog.h
6189 * src/hildon-time-selector.h
6190 * src/hildon-picker-button.h
6191 * src/hildon-touch-selector.h
6192 * src/hildon-time-picker.h
6193 * src/hildon-date-selector.h
6194 * src/hildon-touch-selector-entry.h
6195 Modified in order to use hildon-widgets code style
6197 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6199 Added deprecated support to the compilation process using
6200 HILDON_DISABLE_DEPRECATED
6202 * configure.ac: Added the --disable-deprecated to the configure
6205 * src/hildon-weekday-picker.c:
6206 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6207 to use the deprecated support. We will update the other deprecated
6208 widgets status in a new patch.
6210 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6212 * configure.ac: Fixed typo with fatal warnings support, the
6213 variable name was not correct
6215 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6217 * src/hildon-app-menu.c
6218 * src/hildon-program.c: Update documentation.
6220 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6222 * configure.ac: Post-release version bump.
6224 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6229 * configure.ac: Pre-release version bump.
6230 * debian/changelog: Updates.
6232 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6234 * NEWS: Update news for previous releases.
6236 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6238 * examples/hildon-touch-selector-multi-cells-example.c:
6239 (create_selector): Update the example to use
6240 hildon_touch_selector_append_column() with a NULL renderer and set
6241 the renderers later.
6242 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6243 passed a NULL renderer. This is documented behavior now.
6245 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6246 This must be used if the developer wants full control on the layout of
6247 the renderers to be added to the column.
6249 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6251 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6253 * src/hildon-touch-selector.c: Documentation fixes.
6255 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6257 * src/hildon-wizard-dialog-private.h: Remove image and box.
6258 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6259 (hildon_wizard_dialog_set_property), (response): Completely remove
6260 image/icon support, and the containers required for the layout.
6262 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6264 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6266 * src/hildon-app-menu.c: Updated documentation.
6268 * src/hildon-stackable-window.c
6269 (hildon_stackable_window_set_main_menu): Unref the old menu after
6270 ref'ing the new one.
6272 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6274 * src/hildon-stackable-window.c
6275 (hildon_stackable_window_set_main_menu): Unref the previous menu
6276 instead of destroying it.
6278 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6279 floating reference and set has_user_ref_count to FALSE to make
6280 HildonAppMenu act like a normal ref-counted widget and not a
6283 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6286 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6288 * src/hildon-touch-selector-column.h: new file
6289 * src/hildon-touch-selector.h
6290 * src/hildon-touch-selector.c
6291 Implemented GtkCellLayout interface, in order to allow to configure
6292 the cell layout on each individual selector column
6293 (hildon_touch_selector_set_column_attributes): marked as deprecated
6294 * examples/hildon-touch-selector-multi-cells-example.c
6295 Example of how to use the GtkCellLayout interface on the selector
6297 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6299 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6301 * src/hildon-app-menu.h
6302 * src/hildon-app-menu.c
6303 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6304 (hildon_app_menu_append, hildon_app_menu_prepend):
6305 New methods to prepend, insert and move items in the menu.
6307 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6309 * src/hildon-wizard-dialog.c:
6311 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6313 (create_title): Update logical IDs and related code.
6314 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6316 * src/hildon-wizard-dialog.h: Note that
6317 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6318 point, as it is not used anymore.
6320 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6322 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6324 * src/hildon-note.c:
6325 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6326 shown. Do not display an icon in confirmation notes nor information
6328 (hildon_note_set_button_text): Update logical ID for cancel button.
6330 Fixes: NB#88850 (Update HildonNote button strings + signals)
6332 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6334 * src/hildon-stackable-window.c
6335 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6337 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6339 * src/hildon-app-menu-private.h
6340 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6341 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6342 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6343 temporary property 'columns' to change the number of columns.
6345 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6347 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6349 * examples/hildon-note-example.c: (on_information_clicked),
6350 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6351 debugging information.
6352 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6354 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6355 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6356 in order to close: this will be handled by the WM from now on.
6358 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6360 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6362 * src/hildon-app-menu-private.h
6363 * src/hildon-app-menu.c
6364 (hildon_app_menu_append, hildon_app_menu_add_filter)
6365 (button_visibility_changed, hildon_app_menu_apply_style)
6366 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6367 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6368 layout everytime a button (item or filter) is shown or hidden.
6370 * src/hildon-stackable-window.c
6371 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6374 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6376 * src/hildon-touch-selector.c:
6377 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6378 that the treeview inside the touch selector is in fremantle hildon mode
6379 * examples/hildon-date-button-example.c
6380 * examples/hildon-picker-button-multicolumn-example.c
6381 * examples/hildon-touch-selector-entry-example.c
6382 * examples/hildon-touch-selector-example.c
6383 * examples/hildon-time-button-example.c
6384 * examples/hildon-picker-button-example.c:
6385 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6387 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6389 * examples/hildon-text-view-example.c: (main): Remove the
6390 gtkrc bits, now handled by the theme.
6392 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6394 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6397 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6399 * po/Makefile.am: Install properly the mo files.
6400 * po/en_GB.po: Update translation, to ease testing purposes.
6402 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6404 * examples/hildon-picker-button-example.c: (main): Select an item
6405 in the selector before setting it to the button.
6407 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6409 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6410 Update button's value if the selector has an item active.
6412 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6413 'value' with the selector)
6415 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6417 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6418 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6419 (hildon_picker_button_class_init): Plug the finalize method.
6420 (hildon_picker_button_set_selector): If there's a previously set
6421 selector, unref'it before setting a new one.
6423 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6424 HildonTouchSelector)
6426 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6428 * src/hildon-touch-selector-entry.c:
6429 (hildon_touch_selector_entry_changed): Check if there is no text
6430 selected before setting the entry text.
6433 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6435 * src/hildon-touch-selector.h
6436 * src/hildon-touch-selector.c
6437 (hildon_touch_selector_get_active)
6438 (hildon_touch_selector_set_active): New methods to set/get the
6439 index of the selected item.
6441 * src/hildon-picker-button.h
6442 * src/hildon-picker-button.c
6443 (hildon_picker_button_get_active)
6444 (hildon_picker_button_set_active): New methods to set/get the
6445 index of the selected item.
6447 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6449 * configure.ac: post-release version bump.
6451 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6455 * configure.ac: Pre-release version bump.
6456 * debian/changelog: Updates.
6457 * debian/control: Add myself as maintainer and depend on l10n
6460 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6462 * src/hildon-window.c
6463 (hildon_window_set_main_menu)
6464 * src/hildon-stackable-window.c
6465 (hildon_stackable_window_set_main_menu):
6466 Updated documentation.
6468 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6470 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6471 Don't free selector->priv manually.
6474 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6477 (hildon_gtk_window_set_progress_indicator):
6478 * src/hildon-gtk.h: Added the new API
6479 hildon_gtk_window_set_progress_indicator, it changes the state of
6480 the window progress hint.
6482 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6484 * src/hildon-button.c
6485 * src/hildon-stackable-window.c: Minor documentation updates.
6487 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6489 * src/hildon-stackable-window.c: Updated documentation.
6491 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6493 * src/hildon-defines.h: Update margins definitions
6494 to the Fremantle sizes.
6497 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6499 * src/hildon-touch-selector.c,
6500 (_hildon_touch_selector_set_model): Cleaning the code after
6501 review, removed g_print and #if 0 from the code.
6503 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6505 * src/hildon-edit-toolbar.c: Update documentation.
6507 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6509 * src/hildon-check-button.h
6510 * src/hildon-check-button.c
6511 (hildon_check_button_set_label, hildon_check_button_get_label)
6512 * examples/hildon-check-button-example.c
6513 (button_clicked_cb):
6514 Removed deprecated methods.
6516 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6518 * src/hildon-text-view.c:
6519 Add sample code to the documentation.
6521 * src/hildon-entry.h
6522 * src/hildon-text-view.h:
6523 Minor cosmetic changes.
6525 * src/hildon-entry.c:
6526 Add sample code to the documentation.
6527 (hildon_entry_init, hildon_entry_refresh_contents):
6528 Don't allow NULL values in the placeholder.
6530 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6532 * doc/hildon-docs.sgml
6534 * examples/Makefile.am
6535 * examples/hildon-text-view-example.c
6537 * src/hildon-text-view.c
6538 * src/hildon-text-view.h
6540 New HildonTextView widget, with example.
6542 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6544 * po/POTFILES.in: Add missing files with translatable strings.
6545 Partially fixes NB#88287.
6547 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6549 * examples/hildon-pannable-area-example-2.c: (main): No need to
6550 set the cellrenderer height inside hildon touch lists, the theme does
6553 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6555 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6556 they are integrated in the theme.
6558 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6560 * examples/hildon-entry-example.c: Update the example adding
6561 widgets to modify the text and the placeholder of the HildonEntry.
6563 * src/hildon-entry.c: Show the placeholder everytime the widget
6564 is empty and loses the focus.
6566 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6568 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6570 * src/hildon-pannable-area.c,
6571 (hildon_pannable_area_size_request): Fixed bug in height
6572 requisition, avoid increasing size and add border twice.
6574 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6576 * configure.ac: postrelease version bump.
6578 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6582 * configure.ac: Prerelease version bump.
6583 * debian/changelog: update.
6584 * debian/rules: make -dbg package contain useful debugging symbols.
6586 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6588 * src/hildon-dialog.h
6589 * src/hildon-dialog.c
6590 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6591 New methods to add buttons with finger size.
6592 (hildon_dialog_new_with_buttons):
6593 Create buttons with finger size.
6595 * examples/hildon-dialog-example.c (main): Use HildonDialog
6596 methods to add buttons.
6598 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6600 * src/hildon-entry.c: Updated HildonButton documentation.
6602 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6604 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6605 button value label with (FALSE, FALSE) to prevent NB#88126 from
6608 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6610 * examples/hildon-pannable-area-example.c,
6611 (main): Removed examples panning a vbox inside a pannable
6612 area. Check bug NB#87965
6614 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6616 Patch contributed by Kris Rietveld (kris@imendio.com)
6618 * src/hildon-pannable-area.c,
6619 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6620 get_size and get_position, this saves an X server roundtrip.
6622 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6624 * doc/hildon-docs.sgml
6626 * examples/Makefile.am
6627 * examples/hildon-entry-example.c
6629 * src/hildon-entry.c
6630 * src/hildon-entry.h
6632 New HildonEntry widget, with example.
6634 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6636 * src/hildon-button.c (hildon_button_construct_child): Pack the
6637 image with expand == fill == FALSE. This is a workaround for a bug
6640 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6642 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6643 labels for the text column, to make it more look more dynamic.
6645 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6647 * src/hildon-time-selector.c
6648 Define gettext auxiliar macro N_
6649 (_create_minutes_model)
6650 (_create_hours_model)
6651 (_create_ampm_model): use of strftime in order to fill the model
6652 * src/hildon-date-selector.c
6653 (hildon_date_selector_finalize):
6654 (_locales_init): remove the logic related to get the name of the months
6655 using nl_langinfo, as it is not required anymore
6657 (_create_year_model)
6658 (_create_month_model)
6659 (_update_day_model): use of strftime in order to fill the model properly
6662 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6664 * src/hildon-button.h
6665 * src/hildon-button.c (hildon_button_get_image): New method to
6668 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6670 * src/hildon-touch-selector.c:
6671 (hildon_touch_selector_remove_column): Remove from the correct parent
6672 and also remove the list element and free it.
6675 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6677 * src/hildon-time-selector.c
6678 (_create_hours_model): change the range on 12h ampm format in order to use
6679 a 12-11 range instead of previous 01-12 range
6680 (hildon_time_selector_set_time): change the way to select the current time
6681 on 12h ampm format, due the change on the range
6682 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6685 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6687 * src/hildon-touch-selector.c
6688 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6689 in order to allow use this function on multiple row selection mode if
6690 the column is different that the first one
6693 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6695 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6696 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6698 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6700 * src/hildon-date-selector.h: clean some comments, now on the .c
6701 * src/hildon-date-selector.c
6702 (hildon_date_selector_select_month): first implementation
6703 (hildon_date_selector_select_day): added documentation, reimplemented
6704 using hildon_date_selector_select_current_date to avoid repeat code
6707 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6709 Reviewed interaction logic based on device experiences, refactored
6712 * src/hildon-pannable-area.c,
6713 (hildon_pannable_area_class_init): Updated default vmax speed.
6714 (hildon_pannable_area_calculate_velocity): Added this function, it
6715 avoids duplicate valocity calculation. Adjusted calculation to
6716 avoid problems with zero dist events.
6718 (hildon_pannable_area_motion_notify_cb): Now we use the
6719 calculate_velocity function.
6721 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6723 * src/hildon-date-selector.c
6724 (hildon_date_selector_select_current_date): fix the day range check
6725 as it failed using the last day of the current month
6728 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6730 * src/hildon-touch-selector.c
6731 (hildon_touch_selector_get_num_columns): added a parameter validation
6734 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6736 * examples/Makefile.am
6737 * examples/hildon-edit-toolbar-example.c: Example of the
6738 HildonEditToolbar widget.
6740 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6742 * configure.ac: postrelease version bump.
6744 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6748 * configure.ac: prerelease version bump.
6749 * debian/changelog: update.
6751 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6753 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6754 renderer to display stock icons in the touch list. Also, set the sizes
6755 to the recommended in the style guide.
6757 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6758 * src/hildon-touch-selector.h
6759 (hildon_touch_selector_set_active_iter): renamed, now is
6760 hildon_touch_selector_select_iter
6761 (hildon_touch_selector_get_active_iter): renamed, now is
6762 hildon_touch_selector_get_selected
6763 (hildon_touch_selector_unselect_iter): added
6764 * src/hildon-touch-selector.c
6765 Update after API modification (methods renamed)
6766 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6767 order to avoid problems selecting multiple elements on the column
6768 (hildon_touch_selector_unselect_iter): added the implementation
6769 * src/hildon-time-selector.c
6770 * src/hildon-date-selector.c
6771 * src/hildon-touch-selector-entry.c
6772 Update methods calls after hildon-touch-selector.h API modification (methods
6775 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6777 * src/hildon-stackable-window.c
6778 (hildon_stackable_window_finalize): Call the parent class's finalize.
6780 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6782 * examples/hildon-touch-selector-example.c: (create_selector): Use
6783 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6786 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6788 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6789 set a cell background color, to respect theming.
6791 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6793 * doc/hildon-docs.sgml
6796 * src/hildon-edit-toolbar.c
6797 * src/hildon-edit-toolbar.h
6798 * src/hildon.h: New HildonEditToolbar widget.
6800 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6802 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6805 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6806 * src/hildon-touch-selector.c
6807 (_create_new_column): use g_object_set instead of two g_object_set_property
6809 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6810 * src/hildon-touch-selector.c
6811 (_create_new_column): use of hildon_gtk_tree_view_new to create
6812 the treeview, instead of use directly g_object_new
6813 (_create_new_column): update the property name "vindicator-mode" for the
6814 new one "vscrollbar-policy"
6815 * examples/hildon-date-button-example.c
6816 * examples/hildon-picker-button-multicolumn-example.c
6817 * examples/hildon-touch-selector-entry-example.c
6818 * examples/hildon-touch-selector-example.c
6819 * examples/hildon-time-button-example.c
6820 * examples/hildon-picker-button-example.c
6821 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6822 to all the treeviews inside a pannable area.
6824 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6826 * src/hildon-button.h
6827 * src/hildon-button.c (hildon_button_init)
6828 (hildon_button_set_arrangement, hildon_button_set_alignment)
6829 (hildon_button_set_title_alignment)
6830 (hildon_button_set_value_alignment)
6831 (hildon_button_set_image_alignment)
6832 (hildon_button_construct_child): New methods to set the alignment
6833 of the individual components of the button (title, value,
6834 image). Also, new method to alter the xscale and yscale properties
6835 of the GtkAlignment inside the button, so more complex layouts can
6838 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6840 * src/hildon-button.c (hildon_button_style_set)
6841 (hildon_button_class_init, hildon_button_set_arrangement)
6842 (hildon_button_construct_child): Apply style properties
6843 correctly. Use the 'image-spacing' style property too.
6845 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6847 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6848 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6851 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6853 * src/hildon-pannable-area.c,
6854 (hildon_pannable_area_size_request): Fixed problem with
6855 pannable-area size_request.
6857 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6859 Added management for the grab-focus to a child widget, like a
6860 range, we need to fade out the scrollbar when releasing.
6862 * src/hildon-pannable-area.c,
6863 (hildon_pannable_area_init): Connected the grab-focus signal to
6865 (hildon_pannable_area_grab_notify): Added this function in order
6866 to manage the situation when the grab-focus ends. We have to
6867 fade-out the scrollbar.
6869 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6871 * src/hildon-app-menu.c: Minor documentation update.
6873 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6875 * src/hildon-app-menu.c
6876 * examples/hildon-app-menu-example.c (create_menu): Update
6877 examples and documentation to explain how to connect callbacks.
6879 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6881 * examples/hildon-button-example.c
6882 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6883 hildon_stackable_window_new instead of gtk_window_new
6885 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6887 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6888 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6889 (hildon_pannable_area_set_property),
6890 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6891 (hildon_pannable_area_unrealize),
6892 (hildon_pannable_area_size_request),
6893 (hildon_pannable_area_size_allocate),
6894 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6895 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6896 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6897 (hildon_pannable_area_initial_effect),
6898 (hildon_pannable_area_redraw),
6899 (hildon_pannable_area_scroll_indicator_fade),
6900 (hildon_pannable_area_expose_event),
6901 (hildon_pannable_area_get_topmost), (synth_crossing),
6902 (hildon_pannable_area_button_press_cb),
6903 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6904 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6905 (hildon_pannable_area_motion_notify_cb),
6906 (hildon_pannable_area_button_release_cb),
6907 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6908 (hildon_pannable_area_remove),
6909 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6910 chage the code layout to a more GtkWidget like. Review the use of
6913 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6915 * examples/hildon-pannable-area-example-4.c,
6916 (main): Modified the name of the hindicator_mode to
6919 * src/hildon-pannable-area.c,
6920 (hildon_pannable_area_class_init),
6921 (hildon_pannable_area_motion_notify_cb),
6922 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6923 we have reduced the amount of signals and managed reviewed its
6924 rationale. Changed the default decelerate value.
6926 (hildon_pannable_area_add),
6927 (hildon_pannable_area_redraw): Refactored functions.
6929 (hildon_pannable_area_init),
6930 (hildon_pannable_area_get_property),
6931 (hildon_pannable_area_set_property):
6932 (hildon_pannable_draw_vscroll),
6933 (hildon_pannable_draw_hscroll),
6934 (hildon_pannable_area_initial_effect),
6935 (hildon_pannable_area_expose_event),
6936 (hildon_pannable_area_scroll),
6937 (hildon_pannable_area_button_press_cb),
6938 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6939 and vindicator_mode with hscrollbar_policy and
6940 vscrollbar_policy. Replaced hscroll and vscroll with
6941 hscroll_visible and vscroll_visible.
6943 (hildon_pannable_area_refresh): Refactor the function, remove
6944 variables and check the calls to this function, added resize
6945 conditions in case the children change their layout.
6947 (hildon_pannable_area_size_request): Added more detailed
6948 size_request calculation.
6951 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6953 * src/hildon-color-chooser.c
6954 (init_borders): use the correct gtk_border_free instead of g_free, to
6955 avoid a crash when this widget is used (ie: the three color selection
6958 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6960 * src/hildon-check-button.c,
6961 (hildon_check_button_set_active): Fixed problem when setting the
6962 active value, the widget was not redrawn.
6964 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6966 * src/hildon-pannable-area.c,
6967 (hildon_pannable_area_refresh),
6968 (hildon_pannable_area_scroll),
6969 (hildon_pannable_area_motion_notify_cb): Small code style change.
6971 (hildon_pannable_area_class_init): Default initial_hint set to
6972 FALSE, it is not in the specs.
6974 (hildon_pannable_area_initial_effect),
6975 (hildon_pannable_area_expose_event),
6976 (hildon_pannable_area_map),
6977 (hildon_pannable_area_init): Moved the launching point of the
6978 initial effect, it was in map but the sizes where not correct in
6979 that method so we do not know if we have the reproduce it. Now it
6980 is placed in the expose_event method and uses a variable to
6981 reproduce it just once.
6983 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6985 * src/hildon-pannable-area.c,
6986 (hildon_pannable_draw_vscroll),
6987 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6988 position allowed for the scrollbars.
6990 (hildon_pannable_area_size_allocate): Small style change.
6992 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6994 * src/hildon-pannable-area.c,
6995 (hildon_pannable_area_scroll_indicator_fade),
6996 (hildon_pannable_area_button_press_cb),
6997 (hildon_pannable_area_button_release_cb),
6998 (hildon_pannable_area_scroll_cb),
6999 (hildon_pannable_area_expose_event),
7000 (hildon_pannable_area_init): Added the define parameter
7001 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7002 and refactor the fade variable.
7004 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7006 * src/hildon-pannable-area.c,
7007 (hildon_pannable_area_redraw),
7008 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7009 lines, we were reimplemeting the redraw code.
7011 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7013 * src/hildon-pannable-area.c,
7014 (hildon_pannable_area_scroll_cb),
7015 (hildon_pannable_area_realize),
7016 (hildon_pannable_area_class_init): Added scroll_event management
7017 for pannable area, now we can scroll the usual desktop method.
7019 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7020 initialization of the parameters should depend on idle_id.
7022 (hildon_pannable_area_init),
7023 (hildon_pannable_area_map): Small code style modifications
7025 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7027 * src/hildon-pannable-area.c
7028 (hildon_pannable_area_button_press_cb),
7029 (hildon_pannable_area_motion_notify_cb),
7030 (hildon_pannable_area_button_release_cb),
7031 (hildon_pannable_area_size_allocate),
7032 (hildon_pannable_area_scroll_to): Improved the timeouts
7033 management, we avoid creating them each time.
7035 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7037 * src/hildon-pannable-area.c:
7038 (hildon_pannable_area_refresh),
7039 (hildon_pannable_area_motion_notify_cb),
7040 (hildon_pannable_area_class_init):
7041 * src/hildon-pannable-area.h:
7042 * src/hildon-touch-selector.c
7043 (_create_new_column):
7044 * examples/hildon-pannable-area-example-4.c:
7045 (horizontal_movement),
7046 (vertical_movement),
7048 Replaced the names of enums in the HildonPannableArea:
7049 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7050 HILDON_MOVEMENT_MODE_*
7051 - HILDON_PANNABLE_AREA_MOV_* ->
7053 - Removed HildonPannableAreaIndicatorMode, now we
7056 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7058 * examples/hildon-pannable-area-touch-grid-example.c
7059 * examples/hildon-pannable-area-touch-list-example.c: Fix
7060 compilation warnings.
7062 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7064 * src/hildon-gtk.c (hildon_gtk_button_new)
7065 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7066 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7067 images overriding the value of the "gtk-button-images" setting.
7069 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7071 * src/hildon-check-button.c (hildon_check_button_new):
7072 Instead of using a custom container, display the label and the
7073 checkbox using the standard GtkButton API.
7075 * examples/hildon-check-button-example.c (main): Don't use
7076 hildon_check_button_set_label() anymore
7078 * src/hildon-check-button.h
7079 * src/hildon-check-button.c
7080 (hildon_check_button_set_label, hildon_check_button_get_label):
7081 Set as deprecated, now we're using gtk_button_{get,set}_label()
7083 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7085 * src/hildon-pannable-area.c,
7086 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7087 GtkTreeview first line we detected it after the inclusion of the
7088 GtkWindowImpl in gtk+. We now check if the window is visible, not
7089 just if the pointer is over the window.
7090 (hildon_pannable_axis_scroll),
7091 (hildon_pannable_area_expose_event): Small style changes.
7093 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7095 * src/hildon-button.c: Update documentation.
7097 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7099 * examples/hildon-button-example.c: Add a switch to show images in
7102 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7104 * doc/hildon-docs.sgml: Some docs reorganization.
7106 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7108 * examples/hildon-pannable-area-touch-list-example.c
7110 * examples/hildon-pannable-area-touch-grid-example.c
7111 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7112 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7113 Fix memory leak when setting the tree model.
7115 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7119 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7121 * doc/hildon.types: Remove duplicated hildon_window_get_type
7122 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7123 documentation comment.
7125 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7127 * doc/Makefile.am: Complete list of private headers.
7129 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7131 * doc/hildon-docs.sgml
7132 * src/hildon-app-menu.c
7133 * src/hildon-bread-crumb.c
7134 * src/hildon-button.c
7136 * src/hildon-program.c
7137 * src/hildon-stackable-window.c
7138 * src/hildon-window.c: Lots of documentation updates.
7140 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7142 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7144 * configure.ac: Require Gtk+ 2.12.9 at least
7146 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7148 * src/hildon-pannable-area.c
7149 (hildon_pannable_area_scroll_indicator_fade),
7150 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7151 to protect the return of this timeout callbacks, avoiding deadlocks.
7153 2008-08-12 Christian Dywan <christian@imendio.com>
7156 * src/hildon-*.h: Ensure a consistent include order,
7157 include <gtk/gtk.h> instead of particular files and
7158 only include the topmost header in the gtk stack. See NB #39857
7160 2008-08-12 Christian Dywan <christian@imendio.com>
7162 * src/hildon-picker-dialog.c
7163 * src/hildon-touch-selector.c: Fix warnings about unused and
7164 uninitialized variables.
7166 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7168 * examples/Makefile.am
7169 * examples/hildon-check-button-example.c: Example of the hildon
7172 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7174 * src/hildon-window.h
7175 * src/hildon-window.c (hildon_window_class_init)
7176 (hildon_window_unset_program): Don't make
7177 hildon_window_unset_program a virtual function anymore.
7179 * src/hildon-stackable-window.c: Update documentation
7181 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7184 * doc/hildon-docs.sgml
7185 * doc/visual_index.xml
7186 * src/hildon-defines.c
7188 * src/hildon-helper.c
7189 * src/hildon-range-editor.c: Lots of documentation fixes.
7191 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7193 * examples/hildon-picker-button-multicolumn-example.c
7194 (create_touch_selector): Fix compilation warning.
7196 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7198 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7199 (hildon_pannable_area_button_release_cb)
7200 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7202 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7204 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7207 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7209 * src/hildon-bread-crumb-trail.h
7210 * src/hildon-date-editor.c
7211 * src/hildon-date-selector.c
7212 * src/hildon-pannable-area.c
7213 * src/hildon-picker-dialog.c
7214 * src/hildon-time-selector.c
7215 * src/hildon-touch-selector-entry.c
7216 * src/hildon-touch-selector.c
7217 * src/hildon-touch-selector.h: Misc documentation fixes
7219 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7221 * examples/hildon-date-editor-example.c (main): Updated date
7224 * examples/hildon-note-example.c (on_confirmation_clicked):
7225 Updated confirmation note example.
7227 * src/hildon-date-editor.c
7228 * src/hildon-note.c: Updated sample programs in documentation.
7231 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7233 * src/hildon-date-button.h:
7234 * src/hildon-picker-button.h:
7235 * src/hildon-time-button.c:
7236 * src/hildon-time-button.h:
7238 Some declarations changes to allow gtk-doc to document the widgets
7241 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7243 * src/hildon-date-button.c: Document the widget.
7244 * src/hildon-time-button.c: Document the widget.
7246 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7248 * src/hildon-picker-button.c: Document the widget.
7249 * src/hildon-touch-selector-entry.c: Document the widget.
7251 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7253 * doc/hildon-docs.sgml
7256 * src/hildon-check-button.h
7257 * src/hildon-check-button.c: New functions to create the Hildon
7261 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7263 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7265 * src/hildon-button.h
7266 * src/hildon-button.c
7267 (hildon_button_add_title_size_group)
7268 (hildon_button_add_value_size_group)
7269 (hildon_button_add_image_size_group)
7270 (hildon_button_add_size_groups): New functions to set size groups
7271 for the button labels and image.
7272 (hildon_button_new_full): Removed
7274 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7276 * src/hildon-time-selector.c
7277 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7278 in order to avoid a crash if gconf is not available
7280 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7282 * src/hildon-button.c (hildon_button_set_arrangement)
7283 (hildon_button_construct_child): Don't construct the button child
7284 before setting the arrangement.
7286 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7288 * src/hildon-program-private.h
7289 * src/hildon-program.c
7290 * src/hildon-program.h
7291 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7292 (hildon_program_peek_window_stack)
7293 (hildon_program_pop_window_stack)
7294 (hildon_program_go_to_root_window): HildonProgram now has a
7295 separate list for stackable windows. Functions are provided to
7296 manage that list with a stack-like API.
7298 * src/hildon-stackable-window.c: Stackable window management is
7299 now much simpler with the new HildonProgram API. Windows no
7300 longer need to be manually added to the program, they're
7301 automatically pushed to the top of the stack when shown.
7303 * examples/hildon-stackable-window-example.c: Updated example to
7304 reflect the API changes.
7306 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7308 * src/hildon-touch-selector.c: Comment out unimplemented
7309 hildon_touch_selector_insert_column() to avoid a compile warning.
7311 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7313 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7314 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7315 (hildon_touch_selector_set_column_selection_mode),
7316 (_hildon_touch_selector_set_model),
7317 (hildon_touch_selector_set_model):
7319 Complete review of HildonTouchSelector documentation.
7321 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7323 * doc/hildon-docs.sgml
7327 * src/hildon-gtk.c: Convenience functions for standard Gtk
7328 widgets, used to easily perform frequent operations.
7330 * src/hildon-button-helpers.h
7331 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7333 * src/hildon-helper.h
7334 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7335 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7337 * src/hildon-button.h
7338 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7340 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7342 * src/hildon-button.c (hildon_button_init)
7343 (hildon_button_set_arrangement, hildon_button_construct_child):
7344 Pack the image and the labels inside the same GtkAlignment so
7345 gtk_button_set_alignment() can be used
7347 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7349 * src/hildon-button.h
7350 * src/hildon-button.c
7351 (hildon_button_init, hildon_button_set_image)
7352 (hildon_button_set_image_position)
7353 (hildon_button_construct_child): New functions to add an image to
7356 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7358 * src/hildon-date-button.c
7359 * src/hildon-picker-button.c
7360 * src/hildon-time-button.c
7361 * src/hildon-button.c:
7362 (hildon_button_class_init): "size-flags" renamed to "size"
7363 (hildon_button_set_title): Hide the title label if set to NULL.
7365 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7367 HildonButtonFlags split into HildonButtonArrangement (to set the
7368 button layout) and HildonSizeType (which can be used for any
7371 * src/hildon-button.h
7372 * src/hildon-button.c
7373 (hildon_button_class_init)
7374 (hildon_button_set_arrangement)
7375 (hildon_button_set_property): New "size-flags"
7376 property. "arrangement-flags" renamed to "arrangement".
7377 (hildon_button_new, hildon_button_new_with_text)
7378 (hildon_button_new_full): Constructors updated to reflect type changes.
7380 * src/hildon-helper.h
7381 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7382 to set the size of a widget.
7386 * src/hildon-button-helpers.c
7387 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7389 * src/hildon-date-button.c
7390 * src/hildon-date-button.h
7391 * src/hildon-picker-button.c
7392 * src/hildon-picker-button.h
7393 * src/hildon-time-button.c
7394 * src/hildon-time-button.h: Updated widgets to reflect
7395 HildonButton API changes.
7397 * examples/hildon-button-example.c
7398 * examples/hildon-date-button-example.c
7399 * examples/hildon-picker-button-example.c
7400 * examples/hildon-picker-button-multicolumn-example.c
7401 * examples/hildon-time-button-example.c
7402 * examples/hildon-touch-selector-entry-example.c
7403 * examples/hildon-touch-selector-example.c: Updated examples to
7404 reflect HildonButton API changes.
7406 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7408 * doc/hildon-docs.sgml:
7410 * examples/Makefile.am:
7411 * examples/hildon-touch-selector-entry-example.c:
7413 * src/hildon-touch-selector-entry.c:
7414 * src/hildon-touch-selector-entry.h:
7417 Moved HildonTouchSelectorEntry from sandbox. Added its
7418 documentation and examples.
7420 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7422 * src/hildon-touch-selector.h:
7423 * examples/hildon-picker-button-multicolumn-example.c:
7424 (hildon_touch_selector_append_text_column): Add a gboolean
7425 parameter to determine if text must be centered in the column.
7427 * src/hildon-date-selector.c: (hildon_date_selector_init):
7428 * src/hildon-time-selector.c: (hildon_time_selector_init):
7429 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7430 (create_touch_selector): Update widgets and example to reflect
7433 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7435 * src/hildon-touch-selector.c:
7436 (hildon_touch_selector_set_active_iter): Set also the cursor in
7439 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7441 * doc/hildon-docs.sgml
7444 * src/hildon-toggle-button.c
7445 * src/hildon-toggle-button.h
7446 * src/hildon.h: Removed HildonToggleButton widget, a derived
7447 class is not necessary for this.
7449 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7451 * src/hildon-pannable-area.c,
7452 (hildon_pannable_area_realize),
7453 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7456 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7458 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7459 "done" button the default widget for the dialog.
7461 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7463 * src/hildon-touch-selector.c:
7464 (hildon_touch_selector_class_init),
7465 (hildon_touch_selector_get_property),
7466 (_hildon_touch_selector_set_model),
7467 (_hildon_touch_selector_has_multiple_selection),
7468 (hildon_touch_selector_has_multiple_selection):
7469 Add a "has-multiple-selection" property with a virtual
7470 has_multiple_selection() method to allow derived classes to
7471 override the default value for it. See the method and property
7472 documentation for details.
7474 * src/hildon-touch-selector.h: Add the new API.
7476 * src/hildon-picker-dialog.c: (requires_done_button): Call
7477 hildon_touch_selector_has_multiple_selection() instead of
7478 determining the need for a button itself.
7480 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7482 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7483 (_hildon_touch_selector_set_model),
7484 (hildon_touch_selector_set_model): Move working code to
7485 _hildon_touch_selector_set_mode(). Call the class method instead.
7487 * src/hildon-touch-selector.h: Add (*set_model) to
7488 HildonTouchSelectorClass.
7490 Make hildon_touch_selector_set_model() a virtual method, so that
7491 derived classes can extend it and do fancy stuff with the model.
7493 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7495 * configure.ac: Set back the tarname in AC_INIT to hildon.
7497 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7501 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7502 instead of libesd (NB#86876). Volume handling is still an open issue.
7504 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7507 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7509 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7510 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7511 derived class to ease placement of an entry widget in
7512 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7513 end, where the selector columns are packed now.
7515 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7517 * src/hildon-picker-button.c: Removed the simple _text() API.
7518 * src/hildon-picker-button.h: Likewise.
7520 * src/hildon-touch-selector.h:
7521 * src/hildon-touch-selector.c:
7522 (hildon_touch_selector_new_text),
7523 (hildon_touch_selector_append_text),
7524 (hildon_touch_selector_prepend_text),
7525 (hildon_touch_selector_insert_text):
7527 Moved the simple _text() API from HildonPickerButton to
7528 HildonTouchPicker, to provide better escalability and not to tie
7529 that API to HildonPickerButton.
7531 * examples/hildon-picker-button-example.c: (main): Example updated.
7533 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7535 * src/hildon-button.c: Updated documentation.
7537 * examples/hildon-button-example.c: Add the posibility to create
7538 the buttons using horizontal layout for title and value.
7540 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7542 * src/hildon-app-menu-private.h
7543 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7544 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7545 GtkSizeGroup for the filters, use the 'homogeneous' property of
7548 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7550 * examples/hildon-button-example.c: Updated example.
7552 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7554 * doc/hildon-docs.sgml:
7557 Update documentation.
7559 * examples/Makefile.am: Update renamed examples.
7561 * examples/hildon-picker-button-multicolumn-example.c:
7562 (create_touch_selector), (main): Update after the rename.
7564 * examples/hildon-touch-picker-example.c: Removed.
7565 * examples/hildon-touch-selector-example.c: (value_changed),
7566 (create_selector), (get_visible_content), (main): Renamed from
7567 hildon-touch-picker-example.c
7569 * src/Makefile.am: Updated renamed files.
7571 * src/hildon-date-button.c: (hildon_date_button_init),
7572 (hildon_date_button_get_date), (hildon_date_button_set_date):
7573 * src/hildon-date-selector.c: (hildon_date_selector_init),
7574 (_custom_print_func), (_update_day_model),
7575 (_manage_selector_change_cb),
7576 (hildon_date_selector_select_current_date),
7577 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7578 * src/hildon-date-selector.h:
7579 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7580 (hildon_picker_button_set_property),
7581 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7582 (hildon_picker_button_init), (hildon_picker_button_new_text),
7583 (hildon_picker_button_append_text),
7584 (hildon_picker_button_prepend_text),
7585 (hildon_picker_button_insert_text),
7586 (hildon_picker_button_set_selector),
7587 (hildon_picker_button_get_selector):
7588 * src/hildon-picker-button.h:
7589 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7590 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7591 (_update_title_on_selector_changed_cb), (requires_done_button),
7592 (_hildon_picker_dialog_set_selector),
7593 (hildon_picker_dialog_set_selector),
7594 (hildon_picker_dialog_get_selector):
7595 * src/hildon-picker-dialog.h:
7596 * src/hildon-time-button.c: (hildon_time_button_init),
7597 (hildon_time_button_get_time), (hildon_time_button_set_time):
7598 * src/hildon-time-selector.c: (hildon_time_selector_init),
7599 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7600 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7601 * src/hildon-time-selector.h:
7604 Massive code updates after the rename.
7606 * src/hildon-touch-picker.c: Removed.
7607 * src/hildon-touch-picker.h: Removed.
7609 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7610 (hildon_touch_selector_init), (hildon_touch_selector_map),
7611 (hildon_touch_selector_remove), (_default_print_func),
7612 (_selection_changed_cb), (_create_new_column),
7613 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7614 (hildon_touch_selector_append_text_column),
7615 (hildon_touch_selector_remove_column),
7616 (hildon_touch_selector_set_column_attributes),
7617 (hildon_touch_selector_insert_column),
7618 (hildon_touch_selector_get_num_columns),
7619 (hildon_touch_selector_get_column_selection_mode),
7620 (hildon_touch_selector_set_column_selection_mode),
7621 (hildon_touch_selector_set_print_func),
7622 (hildon_touch_selector_get_print_func),
7623 (hildon_touch_selector_get_active_iter),
7624 (hildon_touch_selector_set_active_iter),
7625 (hildon_touch_selector_get_selected_rows),
7626 (hildon_touch_selector_get_model),
7627 (hildon_touch_selector_set_model),
7628 (hildon_touch_selector_get_current_text),
7629 (_hildon_touch_selector_center_on_selected_items):
7630 * src/hildon-touch-selector.h: Renamed from
7631 hildon-touch-picker.[ch]
7633 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7634 references, code examples, and related documentation.
7636 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7638 * doc/hildon-docs.sgml
7641 * src/hildon-toggle-button.c
7642 * src/hildon-toggle-button.h
7643 * src/hildon.h: New HildonToggleButton widget.
7645 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7647 * src/hildon-button.c: Add API documentation.
7648 (hildon_button_set_size_groups): Check input parameters
7650 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7652 * src/hildon-pannable-area.c
7653 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7654 effect after reaching the movement thredshold. This way we start
7655 using the distance after passing the thredshold.
7657 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7659 * src/hildon-button.c: (hildon_button_set_property): Use the
7660 appropriate g_value_get_flags() method.
7662 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7664 * doc/hildon-docs.sgml:
7667 Add the touch pickers, picker dialogs, and picker button widgets
7668 to the documentation.
7670 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7672 * src/hildon-button.c: (hildon_button_set_property),
7673 (hildon_button_class_init): Make "arrangement-flags" a proper
7674 G_TYPE_FLAGS derived property.
7676 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7678 * examples/Makefile.am: Add below examples.
7679 * examples/hildon-date-button-example.c:
7680 * examples/hildon-picker-button-example.c:
7681 * examples/hildon-picker-button-multicolumn-example.c:
7682 * examples/hildon-time-button-example.c:
7683 * examples/hildon-touch-picker-example.c:
7685 Add examples for the recently added touch pickers,
7686 picker dialogs, and picker button widgets.
7688 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7690 * src/hildon-button.c: Add some API documentation
7692 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7694 * src/hildon-button.h
7695 * src/hildon-button.c
7697 (hildon_button_new_with_text): New constructor to create a button
7698 with no text at all.
7699 (hildon_button_init, hildon_button_set_arrangement)
7700 (hildon_button_set_title, hildon_button_set_value)
7701 (hildon_button_set_text)
7702 (hildon_button_construct_child): Hide the value when it's not used
7703 so the rest of the text is properly aligned.
7704 Allow creating buttons with arbitrary widgets inside (not just
7705 title/value labels).
7707 * examples/hildon-button-example.c (vertical_buttons_window)
7708 (horizontal_buttons_window): Update example to use new API.
7710 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7712 * src/Makefile.am: Added HildonTimeButton.
7713 * src/hildon-time-button.c: Added missing LGPL header.
7714 * src/hildon-time-button.h: Added missing LGPL header.
7715 * src/hildon.h: Add hildon-time-button.h
7717 Copied HildonTimeButton from sandbox to trunk. Future work on this
7718 widget must take place in trunk.
7720 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7722 * src/Makefile.am: Added HildonDateButton.
7723 * src/hildon-date-button.c: Update includes.
7724 * src/hildon.h: Add hildon-date-button.h
7726 Copied HildonDateButton from sandbox to trunk. Future work on this
7727 widget must take place in trunk.
7729 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7731 * src/Makefile.am: Added HildonPickerButton.
7732 * src/hildon-picker-button.h: Update includes.
7733 * src/hildon.h: Add hildon-picker-button.h
7735 Copied HildonPickerButton from sandbox to trunk. Future work on
7736 this widget must take place in trunk.
7738 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7740 * src/Makefile.am: Added HildonPickerDialog.
7741 * src/hildon-picker-dialog.c: Update includes.
7742 * src/hildon.h: Add hildon-picker-dialog.h
7744 Copied HildonPickerDialog from sandbox to trunk. Future work
7745 on this widget must take place in trunk.
7747 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7749 * src/Makefile.am: Added HildonTimeSelector.
7750 * src/hildon.h: Add hildon-time-selector.h
7752 Copied HildonTimeSelector widget from sandbox to trunk. Future
7753 work on this widget must happen in trunk.
7755 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7757 * src/Makefile.am: Added HildonDateSelector.
7758 * src/hildon.h: Add hildon-date-selector.h
7760 Copied HildonDateSelector widget from sandbox to trunk. Future
7761 work on this widget must happen in trunk.
7763 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7765 * src/Makefile.am: Added HildonTouchPicker.
7766 * src/hildon-touch-picker.c: Update includes.
7767 * src/hildon.h: Add hildon-touch-picker.h
7769 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7770 on this widget must happen in trunk.
7772 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7774 * src/hildon-pannable-area.c:
7775 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7777 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7779 * examples/hildon-app-menu-example.c (main): Let the window
7782 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7784 * src/hildon-pannable-area.c
7785 (hildon_pannable_area_class_init): Set the min value of the
7786 overshoot properties to zero, which points out that not
7787 overshooting allowed.
7789 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7791 Modified the procedure to get the widget at a point inside the
7792 pannable area when using the movement type signals. Now the user
7793 has to call a function to get the child, that way we just
7794 calculate the child in case the user really want to use it and not
7797 * src/hildon-marshalers.list: Modified the marshallers, now we do
7798 not have the widget as a parameter.
7800 * src/hildon-pannable-area.c
7801 (hildon_pannable_area_motion_notify_cb),
7802 (hildon_pannable_area_class_init),
7803 (hildon_pannable_get_child_widget_at): Removed the widget
7804 parameter from the signal callback. We have also refactored the
7805 emission of the signals.
7807 * src/hildon-pannable-area.h: Added a new method to the API to
7808 calculate a widget at a point inside the pannable area,
7809 hildon_pannable_get_child_widget_at.
7811 * examples/hildon-pannable-area-example-4.c
7812 (horizontal_movement): Modified the example to use the new API,
7813 added condition to control which widget is under the event. This
7814 way we can avoid scrolling laterally over other widgets.
7816 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7818 * src/hildon-pannable-area.c
7819 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7820 modes, we stop getting the pointer events due to returning the
7821 callback without properly calling the get pointer again. Fixed
7822 also an error using the hscroll and vscroll.
7824 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7826 * src/hildon-app-menu-private.h
7827 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7828 (hildon_app_menu_button_release, hildon_app_menu_init)
7829 (hildon_app_menu_class_init): Don't hide the menu on button
7830 release if the user didn't press outside first.
7832 * src/hildon-window.h
7833 * src/hildon-window.c (hildon_window_toggle_menu)
7834 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7835 hildon_window_toggle_menu a virtual function for the stackable
7836 window to override it.
7838 * src/hildon-stackable-window.h
7839 * src/hildon-stackable-window-private.h
7840 * src/hildon-stackable-window.c
7841 (hildon_stackable_window_realize)
7842 (hildon_stackable_window_finalize)
7843 (hildon_stackable_window_class_init)
7844 (hildon_stackable_window_init)
7845 (hildon_stackable_window_set_main_menu): New function to set the
7846 app menu of a HildonStackableWindow.
7848 * examples/hildon-app-menu-example.c: Remove the button to show
7849 the app menu, now it'll be shown when clicking on the title bar
7852 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7854 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7855 set the widget name if the arrangement flags do not specify
7858 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7860 * src/hildon-button.c: (hildon_button_set_property),
7861 (hildon_button_class_init), (hildon_button_new_full),
7862 (hildon_button_set_arrangement): Added "arrangement-flags"
7865 Make the HildonButtonFlags a construction-only property, to allow
7866 subclasses to set them properly.
7868 2008-07-21 Tim Janik <timj@imendio.com>
7870 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7871 insertion position after backspace, so additional digits are appended,
7874 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7876 * src/hildon-pannable-area.c,
7877 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7878 TODO list, it was complete and removed the g_debug and g_print
7881 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7883 Added the movement modes to the hildon-pannable-area, with this
7884 modes the developers can control in which directions the widget
7885 can scroll. They can also connect to signals in order to do
7886 something when that happens, allowing applications scroll. There
7887 is an example uploaded showing how to use it.
7889 * examples/Makefile.am:
7890 * examples/hildon-pannable-area-example-4.c: Added this example of
7891 an application using the modes.
7893 * src/hildon-marshalers.list: Added a new marshaller for the new
7896 * src/hildon-pannable-area.h: Added new enumerations and flags in
7897 order to control the movement modes and the new signals to warn
7898 about the movements in the area.
7900 * src/hildon-pannable-area.c:
7901 (hildon_pannable_axis_scroll),
7902 (hildon_pannable_area_scroll),
7903 (hildon_pannable_area_motion_notify_cb),
7904 (hildon_pannable_area_get_property),
7905 (hildon_pannable_area_set_property),
7906 (hildon_pannable_area_map),
7907 (hildon_pannable_area_class_init),
7908 (hildon_pannable_area_init),
7909 (hildon_pannable_area_jump_to): Added the modes to control the
7910 movement in the widget. We have added properties to control it,
7911 signals to warn about the movements and refactored some code.
7913 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7915 Changes required in order to allow vfast_factor set to zero to
7918 * src/hildon-pannable-area.c:
7919 (hildon_pannable_area_button_press_cb): Changed the condition, it
7920 is required for not allowing click when vfast_factor is zero.
7921 (hildon_pannable_area_timeout): Initialized velocity variables
7922 when we stop moving, it was less than 1 but not zero and we need
7923 to check zero in some situations.
7924 (hildon_pannable_area_class_init): Changed the default value of
7925 the speed factor, now the button_press is just sent in case the
7926 speed is 2 per cent of the max speed.
7927 (hildon_pannable_area_init): Initialization with 0.
7929 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7931 * src/hildon-pannable-area.c,
7932 (hildon_pannable_area_get_topmost): replaced
7933 gdk_window_get_children with gdk_window_peek_children, this way we
7934 do not have to free the list because it is not a copy.
7936 (hildon_pannable_axis_scroll),
7937 (hildon_pannable_area_scroll),
7938 (hildon_pannable_area_timeout),
7939 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7940 two parameters that were only used inside the
7941 hildon_pannable_area_scroll function.
7943 * examples/hildon-pannable-area-example.c,
7944 (get_sawtooth_label): Fixed small memory leak.
7946 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7948 More checks for the case where the overshoot is bigger than the
7951 * src/hildon-pannable-area.c:
7952 (hildon_pannable_draw_vscroll),
7953 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7954 to draw the slider of the scrollbar under the other scrollbar.
7955 (hildon_pannable_area_expose_event): added new checks to control
7956 the drawing of the overshooting area rectangle, in case it is too
7957 big for the area of the widget.
7958 (hildon_pannable_area_size_allocate): add more checks to avoid
7959 setting a position to the child widget outside the area.
7961 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7963 * src/hildon-pannable-area.c
7964 (hildon_pannable_area_size_allocate): Added conditions to control
7965 when overshooting is bigger than the allocated space for the
7966 children, this avoids negative allocations.
7968 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7970 * doc/hildon-docs.sgml
7972 * examples/Makefile.am
7973 * examples/hildon-button-example.c
7975 * src/hildon-button.c
7976 * src/hildon-button.h
7977 * src/hildon.h: Initial version of the new HildonButton widget,
7980 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7982 * src/hildon-pannable-area.c:
7983 (hildon_pannable_area_button_press_cb),
7984 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7985 (hildon_pannable_area_motion_notify_cb),
7986 (hildon_pannable_area_button_release_cb),
7987 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7988 (hildon_pannable_area_jump_to_child):
7990 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7992 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7994 * examples/Makefile.am
7995 * examples/hildon-pannable-area-touch-grid-example.c
7996 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7997 the Hildon Touch List and Hildon Touch Grid using the
7998 HildonPannableArea widget.
8000 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8002 * src/hildon-pannable-area.c,
8003 (hildon_pannable_area_button_press_cb),
8004 (hildon_pannable_area_refresh),
8005 (hildon_pannable_area_scroll),
8006 (hildon_pannable_area_motion_notify_cb),
8007 (hildon_pannable_area_button_release_cb),
8008 (hildon_pannable_area_expose_event),
8009 (hildon_pannable_area_add),
8010 (hildon_pannable_area_remove),
8011 (hildon_pannable_area_realize),
8012 (hildon_pannable_area_size_allocate),
8013 (hildon_pannable_area_class_init),
8014 (hildon_pannable_area_init),
8015 (hildon_pannable_area_scroll_to_child),
8016 (hildon_pannable_area_jump_to_child): Fixed the problem of
8017 removing the child from the GtkBin, we have rearranged the widget
8018 hierarchy, now there is no GtkAlignment which was not doing
8019 anything interesting but breaking some of the assumptions of
8020 GtkContainer. Now developers if they want to add a GtkAlignment
8021 they could, but it is not inside the area.
8023 We had to review the whole allocation/expose process, now it is
8024 improved and we save at least three signals which would be saving
8025 some time when rendering the widget. The allocation of the
8026 scrollbars is now made in the allocate method as usual.
8028 We have also added some conditions in order to control when there
8029 is no child of the pannable area. Maybe we will need more work
8032 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8034 * src/hildon-pannable-area.c,
8035 (hildon_pannable_area_dispose): Released the fade-out timeout when
8036 disposing the widget.
8038 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8040 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8041 zero, we are going to use that property in order to deactivate the
8043 (hildon_pannable_axis_scroll),
8044 (hildon_pannable_area_size_allocate): Added conditions to control
8045 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8046 call, now it is called in all situations and we can remove calls
8047 in the allocate method.
8048 (hildon_pannable_area_map): Control the situation when
8049 overshoot_max is zero, we do not need the timeout.
8050 (hildon_pannable_area_class_init): Added documentation in order to
8051 point out that setting zero to overshoot_max means deactivate
8054 NOTE: removed trailing whitespaces from my previous comments of
8057 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8059 * src/hildon-pannable-area.c
8060 (hildon_pannable_area_get_property),
8061 (hildon_pannable_area_set_property),
8062 (hildon_pannable_area_map),
8063 (hildon_pannable_area_class_init),
8064 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8065 to cause the widget give a hint about its panning abilities upon
8068 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8070 * src/hildon-pannable-area.c: Several documentation improvements.
8072 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8074 * src/hildon-program.c
8075 * src/hildon-stackable-window.c: Update documentation.
8077 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8079 * src/hildon-stackable-window.c (get_previous_window_if_last):
8080 Renamed get_last_window()
8081 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8082 (hildon_stackable_window_unset_program):
8084 (get_previous_window_if_last):
8085 Detect if the window hasn't been added to a HildonProgram.
8087 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8089 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8091 * src/hildon-pannable-area.c
8092 (hildon_pannable_area_button_press_cb),
8093 (hildon_pannable_axis_scroll),
8094 (hildon_pannable_area_scroll),
8095 (hildon_pannable_area_timeout),
8096 (hildon_pannable_calculate_vel_factor),
8097 (hildon_pannable_area_get_property),
8098 (hildon_pannable_area_set_property),
8099 (hildon_pannable_area_class_init),
8100 (hildon_pannable_area_init),
8101 (hildon_pannable_area_scroll_to),
8102 (hildon_pannable_area_jump_to),
8103 (hildon_pannable_area_scroll_to_child),
8104 (hildon_pannable_area_jump_to_child):
8105 * src/hildon-pannable-area.h: Added the new API functions:
8106 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8107 hildon_pannable_area_scroll_to_child,
8108 hildon_pannable_area_jump_to_child
8111 * examples/Makefile.am
8112 * examples/hildon-pannable-area-example-2.c
8113 * examples/hildon-pannable-area-example-3.c: Added these two new
8114 examples in order to test and show how the new APIs work.
8116 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8118 * examples/hildon-stackable-window-example.c (new_window):
8119 * src/Makefile.am (noinst_HEADERS):
8120 * src/hildon-program.c (hildon_program_go_to_root_window):
8121 * src/hildon-program.h:
8122 * src/hildon-stackable-window-private.h:
8123 * src/hildon-stackable-window.c:
8124 * src/hildon-stackable-window.h:
8125 Create hildon-stackable-window-private.h
8126 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8128 * examples/hildon-app-menu-example.c (create_menu):
8129 * examples/hildon-hvolumebar-insensitive-example.c (main):
8130 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8131 * examples/hildon-toolbar-seekbar-example.c (main):
8132 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8133 * src/hildon-banner.c (hildon_banner_set_property):
8134 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8135 Fix compilation warnings
8137 * src/hildon-window.c:
8140 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8142 * src/hildon-stackable-window.c
8143 (hildon_stackable_window_unset_program):
8144 Calculate correctly whether to show the previous window if the
8145 last one is removed from the stack.
8146 (hildon_stackable_window_go_to_root_window):
8147 Send delete events starting from the topmost window.
8148 Stop if one of the windows is not destroyed.
8150 (hildon_stackable_window_delete_event)
8151 (hildon_stackable_window_class_init):
8152 Ignore the delete event if the window is not the topmost one.
8154 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8156 * src/hildon-pannable-area.c
8157 (hildon_pannable_area_expose_event): Fixed a problem when
8158 selecting the background color of the scrollbars.
8160 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8162 * examples/hildon-stackable-window-example.c
8163 * src/hildon-stackable-window.c
8164 * src/hildon-stackable-window.h
8165 hildon_stackable_window_go_home() renamed to
8166 hildon_stackable_window_go_to_root_window()
8167 Send delete events to windows rather than closing them with
8168 gtk_widget_destroy()
8170 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8172 * src/hildon-pannable-area.c
8173 (hildon_pannable_area_button_release_cb): Fix overshooting in
8176 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8178 * src/hildon-pannable-area.c
8179 (hildon_pannable_area_init): Initially show the scroll indicators.
8180 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8182 Add initial effect showing the widget is pannable.
8184 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8186 * src/hildon-pannable-area.c
8187 (hildon_pannable_area_class_init)
8188 (hildon_pannable_area_set_property)
8189 (hildon_pannable_area_get_property)
8190 (hildon_pannable_area_button_press_cb):
8191 New 'velocity_fast_factor' property to decide which velocity is
8194 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8196 * src/hildon-pannable-area.c
8197 (hildon_pannable_draw_hscroll)
8198 (hildon_pannable_draw_vscroll):
8199 Use float variables to calculate the size of the scrollbars to
8200 avoid error propagation and resizing during scrolling.
8202 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8204 * src/hildon-pannable-area.c
8205 (hildon_pannable_draw_vscroll)
8206 (hildon_pannable_draw_hscroll):
8207 Define a minimum size for the scroll bars
8209 * src/hildon-stackable-window.c
8210 (hildon_stackable_window_go_home): Fix compilation warning
8211 (get_last_window): Minor optimizations
8212 (hildon_stackable_window_class_init): Fix initialization of
8215 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8217 * src/hildon-stackable-window.c: Fixed typos in doc
8219 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8221 * src/hildon-pannable-area.c
8222 (hildon_pannable_area_scroll):
8223 Calculate here whether we need to scroll instead of using the booleans
8224 that tell us whether to /draw/ the scrolling bars.
8226 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8228 * src/hildon-app-menu.h
8230 * src/hildon-app-menu.c
8231 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8232 multiple filter groups related code and API. Now we support only
8234 * examples/hildon-app-menu-example.c:
8236 Update to reflect API changes.
8238 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8240 * src/hildon-stackable-window.c
8241 (hildon_stackable_window_class_init):
8242 Add hildon_stackable_window_realize.
8243 (hildon_stackable_window_realize):
8244 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8245 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8246 to apply theming and behavior specific to HildonStackableWindow
8249 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8251 * src/hildon-note.c (hildon_note_button_release):
8252 Close information notes also when tapping on them
8254 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8256 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8257 ELASTICITY, refactor and review, fix some issues with drawing
8260 * src/hildon-pannable-area.c:
8261 (hildon_pannable_area_button_press_cb): removed the conditions to
8262 avoid clicks when overshooting. It is not required
8264 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8265 define. Refatored and reviewed the code, now we do not need to
8266 manage velocity in motion_notify.
8268 (hildon_pannable_area_motion_notify_cb): We have moved the code
8269 that controls the area_scroll to the axis_scroll function and get
8270 rid of duplicated code.
8272 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8274 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8276 (hildon_pannable_draw_vscroll),
8277 (hildon_pannable_draw_hscroll): Fixed the problems with the
8278 scrollbar drawing, now we do not use two surfaces, it is easier
8279 and saves resources.
8281 (hildon_pannable_area_get_property): Style modification.
8283 (hildon_pannable_area_class_init): Changed some default values.
8285 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8287 * src/hildon-stackable-window.c: Fix some typos in the
8290 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8292 * src/hildon-dialog.c:
8293 Change indentation style
8296 (hildon_note_button_release):
8297 Use root coordinates to check if the release event happened
8300 * src/hildon-app-menu.c
8301 (hildon_app_menu_button_release):
8302 Remove unnecessary check
8304 * examples/hildon-app-menu-example.c
8306 Add cast to fix warning
8308 * src/hildon-app-menu.c
8309 (hildon_app_menu_class_init):
8310 New inner-border style property.
8311 Set all default spacings to 16
8312 (hildon_app_menu_init):
8313 Use vertical-spacing to set the space between filter buttons and
8314 regular menu buttons.
8315 Set the default container border using the inner-border value.
8317 * examples/hildon-app-menu-example.c
8319 Don't set the menu border explicitly, now we have the inner-border
8320 style property for that.
8322 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8324 * src/hildon-app-menu.c (hildon_app_menu_init):
8325 Make the window modal
8327 * src/hildon-note.c (hildon_note_map)
8328 * src/hildon-app-menu.c (hildon_app_menu_map):
8329 Destroy the grab window if we're unable to grab the pointer
8331 * src/hildon-app-menu-private.h
8332 * src/hildon-app-menu.c
8333 (hildon_app_menu_init, hildon_app_menu_finalize)
8334 (hildon_app_menu_map, hildon_app_menu_unmap)
8335 (hildon_app_menu_button_release)
8336 (grab_transfer_window_get):
8337 Bring back the grab window
8338 (hildon_app_menu_realize):
8339 Decorate the window, set WM hint for Matchbox
8341 * src/hildon-note.c (hildon_note_realize):
8342 * src/hildon-banner.c (hildon_banner_realize):
8343 Add WM hints for Matchbox
8345 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8347 * src/hildon-app-menu-private.h
8348 * src/hildon-app-menu.c
8349 (hildon_app_menu_init, hildon_app_menu_finalize)
8350 (hildon_app_menu_map, hildon_app_menu_unmap)
8351 (hildon_app_menu_button_release):
8352 Remove the grab window, it's not needed anymore
8354 * src/hildon-program.c
8355 Fixed typo in documentation
8357 * src/hildon-app-menu.h
8358 * src/hildon-app-menu.c
8359 * examples/hildon-app-menu-example.c
8360 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8362 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8365 Added new transfer_window and close_if_pressed_outside private
8367 (hildon_note_rebuild):
8368 Don't add a cancel button to the information note. It will be
8369 closed when tapping outside
8370 Remove the comment about the OK button in the documentation
8371 (hildon_note_realize):
8372 Set the notification type hint
8373 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8374 Grab/ungrab pointer and keyboard if the note has to be closed when
8376 (hildon_note_button_release):
8377 Close the note when tapping outside (if applicable)
8379 * src/hildon-app-menu.c
8380 Grab/ungrab pointer and keyboard on map/unmap
8381 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8382 Close the menu on button release, not button press
8384 * src/hildon-banner.c
8385 (hildon_banner_set_property)
8386 (hildon_banner_check_position):
8387 Make the banner use the full width of the screen
8388 (hildon_banner_show_information)
8389 (hildon_banner_show_information_with_markup):
8390 Don't display an icon by default
8392 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8394 Added fading scrollbars and adapted all the overshooting code to
8395 horizontal scrolling. We have also fixed bugs with overshooting
8396 and current fading implementation.
8398 * src/hildon-pannable-area.c
8399 (hildon_pannable_area_scroll_indicator_fade): Time out function
8400 used to change the transparency of the scrollbars.
8402 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8403 control and fixed a problem with fading, we now remove the fade
8404 timeout before adding a new one.
8406 (hildon_pannable_axis_scroll):
8407 (hildon_pannable_area_scroll):
8408 (hildon_pannable_area_timeout): Added this functions so we can use
8409 the scroll code both for vertical and horizontal.
8411 (hildon_pannable_area_motion_notify_cb):
8412 (hildon_pannable_area_button_release_cb): Added the horizontal
8413 scrolling control, fixed a problem with the overshooting timeout.
8415 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8416 painting of the scrolls.
8418 (hildon_pannable_draw_vscroll):
8419 (hildon_pannable_draw_hscroll):
8420 (hildon_pannable_area_expose_event):
8421 Draw both scrollbars and rectangles in the overshooting area.
8423 (hildon_pannable_area_get_property):
8424 (hildon_pannable_area_set_property):
8425 Modified the overshoot property to overshoot_max
8427 (hildon_pannable_area_map):
8428 Replaced the comments symbols.
8430 (hildon_pannable_area_size_allocate):
8431 (hildon_pannable_area_class_init):
8432 (hildon_pannable_area_init): Added horizontal scroll, fading
8433 effect properties, fixed a problem when overshooting in the bottom
8436 * examples/hildon-pannable-area-example.c:
8437 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8438 looks better in the example.
8440 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8442 * src/hildon-window.c
8443 * src/hildon-window.h
8444 (hildon_window_class_init)
8445 (hildon_window_unset_program)
8446 (hildon_window_unset_program_real):
8447 Make unset_program a virtual function
8449 * src/hildon-stackable-window.c
8450 * src/hildon-stackable-window.h
8451 Added hildon_stackable_window_go_home()
8453 * examples/Makefile.am
8454 * examples/hildon-stackable-window-example.c
8455 HildonStackableWindow example
8457 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8459 * hildon-pannable-area.c: Added the overshoot property and removed
8460 the OVERSHOOT define. Fixed an indent style error.
8461 (hildon_pannable_area_motion_notify_cb):
8462 (hildon_pannable_area_get_property):
8463 (hildon_pannable_area_set_property): Add overshoot property.
8465 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8468 (hildon_pannable_area_class_init): Installed the new property.
8470 * hildon-pannable-area-example.c: Added a sawtooth function, this
8471 way it is easier to check the movement in the pannable.
8472 (get_sawtooth_label): Added this function.
8473 (main): Now we get the labels from the new get_sawtooth_label
8476 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8478 * src/hildon-app-menu.h
8479 * src/hildon-app-menu.c
8480 Renamed API variables for consistency
8482 (hildon_app_menu_popup): Use also the default window size to
8483 decide where to place the menu
8485 (hildon_app_menu_init, hildon_app_menu_class_init): New
8486 external-border style property
8488 2008-05-26 Michael Natterer <mitch@imendio.com>
8490 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8491 widget_class->tap_and_hold_setup signal slot doesn't exist any
8492 longer, stop overriding it.
8494 (hildon_time_editor_init): g_signal_connect() to the
8495 tap-and-hold-setup signal instead.
8497 (hildon_time_editor_entry_keypress): add cast to fix warning.
8499 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8501 * doc/hildon-docs.sgml
8503 * examples/Makefile.am
8504 * examples/hildon-app-menu-example.c
8506 * src/hildon-app-menu-private.h
8507 * src/hildon-app-menu.c
8508 * src/hildon-app-menu.h
8510 New HildonAppMenu widget
8512 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8514 Rearranged the inheritance of the pannable area, now it inherits
8515 from GtkBin. This will allow us to control the event_window and
8516 the allocation process of the widget, required for some effects.
8518 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8519 GtkBin structures. * src/hildon-pannable-area.c: Added the
8520 event_window variable.
8521 (hildon_pannable_area_button_press_cb):
8522 (hildon_pannable_area_button_release_cb):
8523 (hildon_pannable_area_motion_notify_cb):
8524 Changed the signature of the method, now we override the event
8525 callback instead of connecting to the signal.
8527 (hildon_pannable_area_realize):
8528 (hildon_pannable_area_unrealize):
8529 (hildon_pannable_area_map):
8530 (hildon_pannable_area_unmap):
8531 (hildon_pannable_area_size_allocate):
8532 Added functions to control the widget construction. We add a
8533 INPUT_ONLY window and we put it over the widgets inside the
8534 container, this event_window handles the events.
8536 (hildon_pannable_area_class_init):
8537 Replaced the signal connections with overrides of the event
8540 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8542 Bouncing effect added when touching the borders, you can change
8543 the elasticity of the border changing the ELASTICITY define.
8545 * src/hildon-pannable-area.c: Added ELASTICITY define.
8546 (hildon_pannable_area_timeout): Added inverse velocity when
8547 touching the border of the child widget, that causes a bounce.
8549 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8551 Improved performance, we now do not go to the X server in order to
8552 get the list of window children. Apparently the effect is the
8553 same, we have to be careful and check if this breaks something in
8556 * src/hildon-pannable-area.c:
8557 (get_ordered_children): Removed this function.
8558 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8559 the children windows function with gdk_window_get_children.
8561 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8563 * src/hildon-pannable-area.c:
8564 (hildon_pannable_area_dispose): Fixed a crash when closing the
8565 window and kinetics is activated.
8567 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8569 * src/hildon-pannable-area.h
8570 * src/hildon-pannable-area.c
8571 Changed indentation style to meet the one used in Hildon
8573 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8575 Reviewed the interaction of the AUTO mode, now we use the time
8576 attribute of the events and calculate the velocity in the motion,
8577 doing a gimp like calculation. The velocity is calculated in each
8578 motion event using the last velocity and the current one, the
8579 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8581 * src/hildon-pannable-area.c: Replaced the time based algorithm
8583 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8584 timeout for the AUTO mode when we are still moving the cursor. We
8585 added also the velocity calculation in this function.
8586 (hildon_pannable_area_button_release_cb): launch the timeout in
8587 case we are in AUTO mode. There are still some constants here that
8588 come from the old implementation that should be reviewed and
8591 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8593 * doc/hildon-docs.sgml
8596 * src/hildon-stackable-window.c
8597 * src/hildon-stackable-window.h
8599 New HildonStackableWindow widget
8601 * examples/hildon-dialog-example.c
8602 * examples/hildon-pannable-area-example.c
8605 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8607 * src/hildon-dialog.c
8608 (hildon_dialog_new_with_buttons): New constructor.
8610 * examples/hildon-dialog-example.c
8611 (main): Update the example to use the new
8612 hildon_dialog_new_with_buttons().
8614 * examples/hildon-pannable-area-example.c
8615 (main): Update example.
8617 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8619 * doc/hildon-docs.sgml
8621 Added HildonPannableArea to the documentation.
8623 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8625 * doc/visual_index.xml
8626 Fix reference to HildonLoginDialog in documentation
8628 * doc/hildon-docs.sgml
8630 * examples/Makefile.am
8631 * examples/hildon-dialog-example.c
8633 * src/hildon-dialog.c
8634 * src/hildon-dialog.h
8636 New HildonDialog widget.
8638 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8640 * src/hildon-pannable-area.c
8641 Merge latest changes (r4318, r4342) from libmokoui trunk
8643 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8645 * examples/Makefile.am
8646 * examples/hildon-pannable-area-example.c
8648 * src/hildon-pannable-area.c
8649 * src/hildon-pannable-area.h
8651 New HildonPannableArea widget.
8653 2008-04-15 18:05:19 <timj@imendio.com>
8655 * src/hildon-banner.c: revert the recent change, that introduced
8656 gtk_window_present() calls. this reopens:
8657 Bug 78481 - [freetest] information banners are hidden under browser menu
8658 But resolves another variant of:
8659 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8661 2008-04-15 13:21:13 <timj@imendio.com>
8663 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8664 recreated its layout, spotted by Kris. this fixes all remaining
8665 artefacts and stability issues with the banner code. in particular:
8666 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8668 2008-04-14 16:52:59 <timj@imendio.com>
8670 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8671 operating on unrealized widgets, fixes:
8672 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8674 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8676 2008-04-09 Kristian Rietveld <kris@imendio.com>
8678 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8679 makes banner disappear.
8680 Fixes: NB#79182: info banner flickering with certain message lengts.
8682 * src/hildon-banner.c (hildon_banner_constructor),
8683 (hildon_banner_init), (hildon_banner_set_text),
8684 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8685 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8686 FALSE, reset size requests of label and banner,
8687 (force_to_wrap_truncated): when the text is too wide, always enforce
8688 the maximum possible width instead of recalculating it from the
8689 layout; enforce the maximum banner height of 3 lines,
8690 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8691 nicer wrapping and no truncated chars if space gets tight.
8693 * src/hildon-banner-private.h: add has_been_wrapped and
8694 has_been_truncated fields.
8696 2008-04-07 Sven Herzberg <sven@imendio.com>
8698 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8699 local values in hildon_date_editor_size_allocate
8701 * src/hildon-date-editor.c: moved the real allocation code into the
8704 2008-04-07 Sven Herzberg <sven@imendio.com>
8706 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8707 local values in hildon_date_editor_size_allocate
8709 * src/hildon-date-editor.c: merged the two if() branches together
8711 2008-04-07 Sven Herzberg <sven@imendio.com>
8713 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8714 local values in hildon_date_editor_size_allocate
8716 * src/hildon-date-editor.c: changed the arguments of the if()
8719 2008-04-07 Sven Herzberg <sven@imendio.com>
8721 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8722 local values in hildon_date_editor_size_allocate
8724 * src/hildon-date-editor.c: split the calculation of the allocation
8725 from the real allocation
8727 2008-03-27 Michael Natterer <mitch@imendio.com>
8729 Fixes: NB#81696: The passcode is not overwritten even after
8732 * src/hildon-code-dialog.c
8733 (hildon_code_dialog_button_clicked)
8734 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8735 because that doesn't overwrite selected text. Instead, emit the
8736 "commit" signal on the entry's im_context so the entry's normal
8737 insert logic is triggered. Set the cursor to the end of the entry
8738 after each insert operation so that we *only* insert in the middle
8739 of the text if something was selected.
8741 2008-03-27 Michael Natterer <mitch@imendio.com>
8743 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8744 selector cannot be opened
8746 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8747 when the popup color selector is created. Please connect to this
8748 signal in order to set the dialog's help ID.
8750 2008-03-25 Sven Herzberg <sven@imendio.com>
8752 Fixes: MB#1212: Hide info banners (infoprints) on click
8754 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8755 extracted the close event simulation into an extra function
8756 (hildon_banner_button_press_event): simulate a close event and destroy
8757 the widget if the event wasn't handled
8758 (hildon_banner_class_init): added the button_press_event handler
8759 (hildon_banner_init): added button-press events to the widget
8761 2008-03-25 Sven Herzberg <sven@imendio.com>
8763 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8764 Patch from: Mohammad Anwari <mdamt@maemo.org>
8766 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8767 instead of the right in RTL mode
8768 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8769 breadcrumb button list in RTL mode
8770 * src/hildon-caption.c: mirror the appearance of the caption widget in
8772 * src/hildon-date-editor.c: mirror appearance of the date editor in
8774 * src/hildon-time-editor.c: mirror appearance of the time editor in
8776 * src/hildon-window.c: fix the position of the popup in RTL mode
8778 2008-03-25 Sven Herzberg <sven@imendio.com>
8780 Amendment to the fix of NB#22072. Fix compilation.
8782 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8784 2008-03-19 Sven Herzberg <sven@imendio.com>
8786 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8789 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8790 timeout id properly when the timeout will disappear this leaves no
8791 artifacts around in the destroy(); there will only be the timeout
8792 created by hildon_banner_ensure_timeout() and adding a new timeout
8793 will also work if the timeout gets removed because the timeout_handler
8796 2008-03-19 Michael Natterer <mitch@imendio.com>
8798 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8800 * src/hildon-volumebar.c
8801 * src/hildon-vvolumebar.c
8802 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8803 the widget becomes focussable at all.
8805 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8806 set the focus to wither the mute button or the volumebar.
8808 Remove own "can-focus" property and instead listen to
8809 notify::can-focus in order to update the widget's state.
8811 Implement GtkWidget::focus() and make sure we can also *leave* the
8812 widget, not only enter it, depending on volumebar orientation and
8813 requested focus direction.
8815 Clean up set_mute() to cooperate nicely with all the above.
8817 2008-03-04 Michael Natterer <mitch@imendio.com>
8819 Fixes: NB#78481: information banners are hidden under browser menu
8821 * src/hildon-banner.c: call gtk_window_present() on the banners so
8822 they are risen if they are already visible.
8824 2008-03-03 Sven Herzberg <sven@imendio.com>
8826 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8828 * examples/hildon-window-menu-example.c: (main): extended the window
8829 menu example to serve as a testcase for automatically added
8830 accelerator groups, too
8831 * src/hildon-window.c: (hildon_window_add_accel_group),
8832 (hildon_window_set_menu): added patch by Tommi Komulainen
8834 2008-03-03 Sven Herzberg <sven@imendio.com>
8836 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8838 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8839 knowledge about the border allocators used within GTK+
8841 2008-02-26 Sven Herzberg <sven@imendio.com>
8843 Fixes: MB#2981: Build with asserts broken
8845 * src/hildon-date-editor.c,
8846 * src/hildon-number-editor.c,
8847 * src/hildon-time-editor.c,
8848 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8849 the proper GType instance check
8851 2008-02-25 Sven Herzberg <sven@imendio.com>
8853 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8855 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8856 * examples/hildon-window-menu-example.c: (main): explicitly show
8858 * src/hildon-window.c:
8859 (hildon_window_set_main_menu): moved most of the code from set_menu()
8860 to this place; skipped the call to gtk_widget_show_all(); also didn't
8861 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8862 (hildon_window_set_menu): removed most of the code, just keep the
8863 questionable gtk_widget_show_all()
8864 * src/hildon-window.h: added the new function and deprecate the old
8867 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8873 * debian/changelog: Updating.
8875 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8878 * pkgconfig/Makefile.am:
8879 * pkgconfig/hildon.pc.in:
8882 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8883 use newly created API_MAJOR_VERSION.
8885 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8891 * debian/changelog: Updating.
8893 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8895 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8897 Add outer_border style property, we use it but don't define it (!).
8901 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8903 * examples/hildon-bread-crumb-trail-example.c (main):
8907 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8909 Fix logic for the bread crumb trail node removal.
8913 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * debian/changelog: Updating.
8921 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 Patch by Alejandro to get/set passwords dialogs accesibility.
8925 * hildon-1/src/hildon-get-password-dialog.c:
8926 * hildon-1/src/hildon-set-password-dialog.c:
8927 Set atk_set_name to the passwd entries in order to allow
8928 accessibility by name on this entries.
8930 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8935 * debian/control: Updating gtk dep.
8937 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8939 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8940 USE_MAEMO_GTK is enabled.
8942 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8944 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8945 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8947 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8953 * debian/changelog: Updating.
8955 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8957 * examples/Makefile.am:
8958 * examples/hildon-logical-color-example.c:
8959 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8960 applied + adding a test case. Fixes: NB#71660.
8962 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8964 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8965 to be visible, fixes warning on map for windows without toolbars.
8967 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8969 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8970 2.11.0, add a check for that besides the MAEMO_GTK check.
8972 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8978 * debian/changelog: Updating.
8980 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8982 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8983 visibility. Fixes: NB#70842 and MB#615.
8985 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8987 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8988 set the separator as no-show-all so it doesn't unintentionally appear when
8989 someone does a show_all.
8991 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8993 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8994 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8995 toplevel item. Fixes: NB#62031
8997 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8999 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9000 fix the name of the function in the docs.
9002 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * debian/changelog: Updating.
9010 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * examples/hildon-banner-long-example.c: Adding a test-case for long
9015 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9017 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 * src/hildon-color-chooser-dialog.c:
9020 * src/hildon-color-chooser.c:
9021 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9022 memory leaks in font selector and color selector. Fixes: NB#70499 and
9025 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9027 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9029 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9032 little bit bigger. Fixes: #NB63694.
9034 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * debian/changelog: Updating.
9042 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9045 * doc/hildon-docs.sgml:
9046 * doc/images/bread-crumb-trail.png:
9047 * doc/images/calendar-popup.png:
9048 * doc/images/caption.png:
9049 * doc/images/code-dialog.png:
9050 * doc/images/color-button.png:
9051 * doc/images/color-chooser-dialog.png:
9052 * doc/images/color-chooser.png:
9053 * doc/images/controlbar.png:
9054 * doc/images/date-editor.png:
9055 * doc/images/font-selection-dialog.png:
9056 * doc/images/get-password-dialog.png:
9057 * doc/images/hvolumebar.png:
9058 * doc/images/login-dialog.png:
9059 * doc/images/note.png:
9060 * doc/images/number-editor.png:
9061 * doc/images/range-editor.png:
9062 * doc/images/seekbar.png:
9063 * doc/images/set-password-dialog.png:
9064 * doc/images/sort-dialog.png:
9065 * doc/images/time-editor.png:
9066 * doc/images/time-picker.png:
9067 * doc/images/vvolumebar.png:
9068 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9069 Adding the bread-crumb-trial and helpers to the documentation.
9071 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * examples/hildon-find-toolbar-example.c:
9074 * src/hildon-find-toolbar.c:
9075 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9076 actually continue firing the other handlers if connected. Adding a new
9078 hildon_find_toolbar_get_last_index that gets the index of the most
9079 recently added (last) item. Fixes: NB#52301.
9081 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9083 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9084 behaviour. Fixes: NB#68610.
9086 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9091 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9093 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9094 when realizing the banner. Should make the infonbanner effect a bit more
9097 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * src/hildon-volumebar.c:
9100 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9101 hildon_volumebar_set_range_insensitive_message and
9102 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9104 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9106 * src/hildon-window.c: Fixing the border freeing on destroy.
9108 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * src/hildon-code-dialog-private.h:
9111 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9112 kw keyboard support in HildonCodeDialog.
9114 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * debian/changelog: Updating.
9122 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9124 * src/hildon-date-editor.c:
9125 * src/hildon-number-editor.c:
9126 * src/hildon-private.c:
9127 * src/hildon-private.h:
9128 * src/hildon-time-editor.c:
9129 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9130 handling in subclassed composite widgets. Fixes: NB#66628.
9132 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9135 from destroy_ callback as it introduces problems in async dbus signal
9136 handlers. Fixes NB#66673.
9138 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * examples/hildon-hvolumebar-example.c:
9141 * src/hildon-volumebar.c: Improving the focus handling in the
9142 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9143 set_property accessor so that "mute" property can be actually set. I'm
9144 scared that nobody noticed it's totally broken.
9146 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9151 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9153 * src/hildon-calendar.c:
9154 * src/hildon-number-editor.c:
9155 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9156 matches the spec of 6 chars per second. Fixes: NB#60489.
9158 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9161 gtk_style_lookup_color sometime returns FALSE even though color was
9162 found and values were filled properly. Weird. Removing the warning for the
9165 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9167 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9168 expand vertically. Adding some extra space to the find toolbar buttons to
9169 make them thumbable. Fixes NB#66060.
9171 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9174 popup with "Ok" and "Cancel". Fixes NB#59299.
9176 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9178 * src/hildon-calendar.c: Process all window updates before executing next
9179 timeout. Fixes: NB#54146.
9181 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9187 * debian/changelog: Updating.
9189 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9191 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9192 the client event and ignore it, since we use the delete event to close
9195 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9197 * src/hildon-helper.c: Remove the bogus warning about color not being
9198 found. Fixes NB#58352.
9200 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9202 * examples/Makefile.am:
9203 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9204 HildonSeekbar widget inside a toolbar.
9206 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9208 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9209 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9210 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9211 don't want to be closed by non-temporary windows on map.
9213 Also use G_DEFINE_TYPE instead of manually typed code.
9215 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 * debian/rules: Updating.
9224 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * examples/Makefile.am:
9227 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9228 bug NB#61128. Strangely it works.
9230 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9232 * src/hildon-date-editor.c: When the date editor entry has been changed
9233 but the numbers of characters < max, turn off the skip validation flag.
9234 Prevents a situation when we enter first a valid year and later re-write
9235 it with an invalid one. Fixes NB#60154.
9237 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9239 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9240 code dialog. Fixes NB#64355.
9242 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9244 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9245 switching the page. Fixes NB#49374.
9247 * examples/Makefile.am:
9248 * examples/hildon-wizard-dialog-example.c: Adding an example for
9249 HildonWizardDialog that shows how to handle manual sensitivity setting on
9252 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9256 * src/hildon-version.h.in:
9257 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9259 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9261 * src/hildon-volumebar.c: Updating the docs.
9263 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9269 * debian/changelog: Updating.
9271 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9273 * src/hildon-find-toolbar.c:
9274 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9275 selected item: hildon_find_toolbar_set_active,
9276 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9277 hildon_find_toolbar_get_active_iter . They correspond to respective
9278 GtkComboBox functions.
9280 * examples/Makefile.am:
9281 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9284 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9286 * examples/Makefile.am:
9287 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9290 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9291 when font size > 32 and we pack a focusable widget inside. Actually using
9292 the default response would work too, but since we don't show default
9293 response state in any way (no theming) it would not be visible to the
9294 user. Fixes NB#63430.
9296 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9298 * src/hildon-date-editor.c: Adding the missing variable setter in the
9299 set_property handler. Fixes NB#54182.
9301 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * src/hildon-window.h: Changing the long key press time from 1500ms to
9304 800ms as requested in NB#63700. I have a bad feeling about this, let's
9305 see... Fixes NB#63700.
9307 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9309 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9310 hildon_time_picker_map, hildon_time_picker_realize,
9311 hildon_time_picker_style_set): Split the contents of map to more
9312 appropriate functions; set window decorations on realize and update
9313 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9315 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9320 * debian/changelog: Updating.
9322 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9324 * src/Makefile.am: fixed installation of the header files
9326 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9332 * debian/changelog: Updating.
9334 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9336 * configure.ac: Removing some remaining of --enable-xan.
9338 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9340 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9341 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9343 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9344 2.10.12-osso6 because the move-focus signal needs to be available in
9347 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9349 * examples/Makefile.am:
9350 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9351 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9352 fine. Prolly NB#61128 is fixed now.
9354 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9356 * src/hildon-volumebar.c:
9357 * src/hildon-volumebar.h: Adding the
9358 hildon_volumebar_set_range_insensitive_message and
9359 hildon_volumebar_set_range_insensitive_messagef functions to set
9360 insensitive message on the slider of the volumebar. Fixes NB#61129.
9362 * examples/Makefile.am:
9363 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9364 test the new insensitive messsage functionality on HildonVolumebar.
9366 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9368 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9371 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9373 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9374 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9375 button on after clearing the trail.
9377 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9379 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9381 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9383 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9384 by splitting the installed headers in generated and non-generated groups. Use
9385 only the non-generated headers to create the hildon-enum-types.h file.
9387 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9389 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9391 * src/hildon-window.c: Hide the window before performing the destroy.
9392 Should make the app closing a little tiny bit more snappy.
9394 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9396 * src/hildon-seekbar.c: add gtkrange.h header
9397 * src/hildon-caption.c: remove unused variable
9399 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9401 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9404 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9410 * debian/changelog: Updating.
9412 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9414 * src/hildon-window.c (hildon_window_window_state_event,
9415 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9416 escape timeout on focus-out-event rather than notify::is-topmost; the
9417 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9419 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9421 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9422 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9424 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9426 * src/hildon-window: actually, you need to use the macro always, there's
9427 no private pointer in the instance structure. We should have cleaned this up
9428 when we had the chance...
9430 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9432 * src/hildon-window.c: do not get the private date from HildonWindow before
9433 it passes the g_return_if_fail check. Once it's passed the test, there's no
9434 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9435 if you are only going to access the data once. Whitespace cleanups.
9437 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9439 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9440 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9442 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9448 * debian/changelog: Updating.
9450 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9452 * src/hildon-window.c: When destroying the window, remove (if exists) the
9453 escape timeout handler. Fixes #NB59276.
9455 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9457 * src/hildon-banner.c: When realizing the widget, set the window
9458 transiency. Setting the transiency in the gobject constructor is not
9459 good, as the widget is not realized at that point. Fixes: #NB56624.
9461 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9463 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9464 Add padding for future expansions.
9466 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9468 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9469 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9470 will fake an activation on the previous to the last item of the trail, so
9471 the effect can be overrided by the developer as usual.
9472 Also change the callback for the back button to do the same thing, so its
9473 effect can be overrided too. Fixes: NB#58982
9475 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9477 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9478 HildonCaption. Fixes NB#52379.
9480 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9482 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9483 the internal state of the trail after the user has had the chance of executing
9484 his handler for the signal. Specifically, it may happen that the activated button
9485 is removed and the user still lets the default handler run. This would segfault
9488 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9490 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9491 scrollbar to the preview dialog. Fixes NB#54147.
9493 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9495 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9496 max/min year properties can be altered, so the client can modify it
9497 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9499 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9501 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9502 hildonlike by default. Fixing a problem with disappearing arrows when
9503 scrolling through months and years. Fixes NB#54127.
9505 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9507 * examples/hildon-date-editor-example.c: Adding error callback to the date
9510 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9516 * configure.ac: Updating.
9518 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9520 * configure.ac: Adding a special '--enable-xan' configure option that
9521 turns off the -Werror compilation setting. Usefull for development.
9523 * src/hildon-calendar.c:
9524 * src/hildon-number-editor.c:
9525 * src/hildon-time-picker.c: Adding the 5* multiplier to
9528 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9530 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9531 instead of g_object_ref + gtk_object_sink.
9533 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9539 * debian/changelog: Updating.
9541 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9543 * src/hildon-color-chooser-dialog.c:
9544 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9545 straight from Tommi labs.
9547 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9549 * examples/hildon-finger-example.c: Correcting the header file path.
9551 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9552 the changed signal. Fixes a small memory leak.
9554 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9558 * src/hildon-banner.c: Importing several usefull fixes from the
9559 ubuntu-mobile branch.
9561 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9563 * examples/Makefile.am:
9564 * examples/hildon-finger-example.c: Adding a finger-checking code
9567 * src/hildon-font-selection-dialog.c: Do not allocate the color
9568 structure using the g_new. Fixes NB#54061.
9570 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9572 * src/hildon-helper.c: Correcting tabs in file.
9574 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9576 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9577 control the visibility of the children.
9579 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9581 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9587 * debian/changelog: Updating.
9589 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9591 * src/hildon-bread-crumb-trail.c:
9592 (hildon_bread_crumb_trail_size_allocate):
9594 Make the back button always a square.
9596 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9598 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9599 from the .c file as it's a private file.
9601 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9603 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9604 uses slightly bigger height.
9606 * src/hildon-font-selection-dialog.c: Adding some checks before
9607 freeing memory in the font selection dialog.
9609 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9611 * src/hildon-font-selection-dialog.c: Adding a small check when
9614 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9615 buttons sensitivity on page switching.
9617 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9619 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9620 internal details of adding a bread crumb to the trail.
9622 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9628 * debian/changelog: Updating.
9630 * src/hildon-bread-crumb-trail.h:
9631 * src/hildon-bread-crumb.h: Changing the API guard to
9632 HILDON_ENABLE_UNSTABLE_API.
9634 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9642 * src/hildon-helper.h: Updating.
9644 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9652 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9656 * src/hildon-helper.h: Small fix to make the package actually compile.
9658 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9660 * src/hildon-bread-crumb-trail.h:
9661 * src/hildon-bread-crumb.h:
9663 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9664 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9666 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9668 * examples/hildon-bread-crumb-trail-example.c:
9670 * src/hildon-bread-crumb-trail.c:
9671 * src/hildon-bread-crumb-trail.h:
9672 * src/hildon-bread-crumb.c:
9673 * src/hildon-bread-crumb.h:
9674 * src/hildon-marshalers.list:
9675 * src/hildon-bread-crumb-widget.c:
9676 * src/hildon-bread-crumb-widget.h:
9678 Slight change in the widget design. The bread crumb trail API is
9679 unchanged, but HildonBreadCrumb is now an interface. A *private*
9680 implementation, hildon-bread-crumb-widget, is provided and used
9681 internally by the trail for the push_text/push_icon functions.
9683 The generic push API is still available, so anyone can implement
9684 and use its own bread crumb widget.
9686 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9688 * debian/rules: Fixing the shlibs.
9690 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9692 * src/hildon-banner.c: Fixing a problem with timed banners having
9693 their parrent destroyed before they are.
9695 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9697 * src/hildon-bread-crumb.c:
9698 * src/hildon-bread-crumb.h:
9700 Make the get_natural_size function a vfunc.
9702 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9704 * src/hildon-bread-crumb.c:
9705 * src/hildon-bread-crumb-trail.c:
9709 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9716 * debian/changelog: Updating for release.
9718 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9720 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9721 don't leak the pango layout.
9723 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9726 * examples/hildon-bread-crumb-trail-example.c:
9730 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9732 * debian/changelog: Removing the bug-fixed entries that were actually
9733 resolved as WONTFIX.
9735 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9738 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9740 * src/hildon-bread-crumb-trail.c:
9741 * src/hildon-bread-crumb-trail.h:
9742 * src/hildon-bread-crumb.c:
9743 * src/hildon-bread-crumb.h:
9747 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9749 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9750 until it's passed the type check.
9752 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9754 * examples/hildon-bread-crumb-trail-example.c
9758 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9760 * examples/Makefile.am
9761 * examples/hildon-bread-crumb-trail-example.c
9763 * src/hildon-bread-crumb-trail.c
9764 * src/hildon-bread-crumb-trail.h
9765 * src/hildon-bread-crumb.c
9766 * src/hildon-bread-crumb.h
9768 New HildonBreadCrumbTrail widget.
9770 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9772 * src/hildon-range-editor.c (hildon_range_editor_init),
9773 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9774 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9775 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9776 hildon_time_editor_class_init, hildon_time_editor_init),
9777 src/hildon-get-password-dialog.c (invalid_input,
9778 hildon_get_password_set_property, hildon_get_password_get_property,
9779 create_contents, hildon_get_password_dialog_set_max_characters),
9780 src/hildon-set-password-dialog.c (create_contents),
9781 src/hildon-date-editor.c (hildon_date_editor_init),
9782 src/hildon-login-dialog.c (hildon_login_dialog_init),
9783 src/hildon-number-editor.c (hildon_number_editor_init),
9784 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9785 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9786 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9787 configure option and adding the respective checks in the code.
9788 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9789 hildon_calendar_drag_data_received): fixed some build warnings.
9791 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9793 * debian/changelog: A 1.0.0 release notes.