1 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
3 Set the window menu flag for application-common menus
5 * hildon/hildon-program.c:
6 (+hildon_program_window_set_common_menu_flag): Set or remove the
7 menu flag from a window only this doesn't have its own menu.
8 (+hildon_program_set_common_menu_flag): adjust menu flag for
9 all windows in the program.
10 (hildon_program_add_window),
11 (hildon_program_remove_window): add/remove the menu flag when
12 a window is added to the program.
14 Fixes: NB#137814 (Indicator for view menu in app title area)
16 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
18 Set a special window property for windows with menus
20 * hildon/hildon-window-private.h: Add private
21 hildon_window_set_menu_flag()
22 * hildon/hildon-window.c: (+do_set_has_menu),
23 (+hildon_window_set_menu_flag): set
24 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
25 or remove the property.
26 (hildon_window_set_main_menu),
27 (hildon_window_set_app_menu): call above methods to set or remove
28 the property when a menu is added or removed from the window.
30 Partially fixes: NB#137814 (Indicator for view menu in app title area)
32 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
34 Rename and move the methods to set flags to hildon-private.h
36 * hildon/hildon-gtk.c: (do_set_progress_indicator),
37 (do_set_do_not_disturb), (do_set_portrait_flags): call
38 the new private method hildon_gtk_window_set_clear_window_flag()
39 (hildon_gtk_window_set_progress_indicator),
40 (hildon_gtk_window_set_do_not_disturb),
41 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
42 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
43 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
45 * hildon/hildon-private.h: Add the two new private methds.
47 2009-09-11 Alejandro G. Castro <alex@igalia.com>
49 * hildon/hildon-pannable-area.c,
50 (hildon_pannable_area_init),
51 (hildon_pannable_area_size_allocate),
52 (hildon_pannable_area_button_release_cb): More tuning of the
53 speed, adding a way to calculate the acceleration and fast-panning
54 based on the child size.
56 2009-09-10 Alberto Garcia <agarcia@igalia.com>
58 * hildon/hildon-touch-selector.c
59 (hildon_touch_selector_class_init):
64 2009-09-10 Alberto Garcia <agarcia@igalia.com>
66 * hildon/hildon-touch-selector.c:
69 Fixes: MB#5104 (HildonTouchSelector docs should say no
70 HildonPannableArea is necessary)
72 2009-09-08 Alejandro G. Castro <alex@igalia.com>
74 * hildon/hildon-pannable-area.c,
75 (hildon_pannable_area_timeout): Fixed problem with the timeout
76 function, we need to move before decelerating the first time or we
77 are loosing the first jump.
79 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
81 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
83 [2.2.0 Release Candidate 3]
85 * debian/changelog: updates
87 2009-09-07 Alejandro G. Castro <alex@igalia.com>
89 * hildon/hildon-pannable-area.c,
90 (hildon_pannable_area_class_init): Increased max speed.
92 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
94 [2.2.0 Release Candidate 2]
97 * debian/changelog: bump version, updates
99 2009-09-07 Alejandro G. Castro <alex@igalia.com>
101 * hildon/hildon-pannable-area.c,
102 (hildon_pannable_area_class_init),
103 (hildon_pannable_area_button_release_cb): More tuning for the
106 2009-09-07 Alejandro G. Castro <alex@igalia.com>
108 * hildon/hildon-pannable-area.c,
109 (hildon_pannable_area_class_init):
110 Change the default value of the scrollbar_fade_delay.
112 Fixes: NB#127018 (Panning indicator fades out too slowly)
114 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
116 [2.2.0 Release Candidate 1]
119 * configure.ac: Bump version
120 * debian/changelog: updates
122 2009-09-04 Alejandro G. Castro <alex@igalia.com>
124 * hildon/hildon-pannable-area.c,
125 (hildon_pannable_area_init),
126 (hildon_pannable_area_button_press_cb),
127 (hildon_pannable_area_button_release_cb): Added a new acceleration
128 system to help traversing big lists, tuned the stop threshold.
130 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
132 2009-09-04 Alberto Garcia <agarcia@igalia.com>
134 * hildon/hildon-window.h:
135 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
137 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
139 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
143 * configure.ac: bump version
145 * debian/changelog: updates
147 2009-09-04 Alberto Garcia <agarcia@igalia.com>
149 * hildon/hildon-entry.c
150 * hildon/hildon-text-view.c:
151 Documentation updates
153 2009-09-04 Alberto Garcia <agarcia@igalia.com>
155 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
156 Redraw menu when the number of items change.
158 Fixes: NB#131911 (Appmenu does not resize properly, when number of
161 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
163 * hildon/hildon-pannable-area.c:
164 (hildon_pannable_area_launch_fade_timeout),
165 (hildon_pannable_area_motion_event_scroll),
166 (hildon_pannable_area_check_move),
167 (hildon_pannable_area_button_release_cb),
168 (hildon_pannable_area_scroll_to):
170 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
171 area drawing operations, since this is the recommended for drawing
174 Fixes: NB#110894 (In event view containing very large description
175 field, application menu is displayed blank while panning)
176 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
179 2009-09-03 Alberto Garcia <agarcia@igalia.com>
181 * doc/hildon-sections.txt
182 * hildon/hildon-button.c
183 * hildon/hildon-edit-toolbar.c
184 * hildon/hildon-gtk.[ch]
185 * hildon/hildon-main.c
186 * hildon/hildon-program.c
187 * hildon/hildon-stackable-window.c:
188 Documentation updates
190 2009-08-28 Alberto Garcia <agarcia@igalia.com>
192 * hildon/hildon-app-menu.c
193 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
194 Close the menu if it receives a grab-notify signal.
196 Fixes: NB#134533 (UI freezes if we show a dialog with
197 gtk_dialog_run() while a menu is opened)
199 2009-08-27 Alejandro G. Castro <alex@igalia.com>
201 * hildon/hildon-pannable-area.c,
202 (hildon_pannable_area_class_init): Reverted tuning modifications:
203 "Pannign needs to be faster" and "Pannable kinetics in large lists
206 2009-08-26 Alberto Garcia <agarcia@igalia.com>
208 * hildon/hildon-sound.c (hildon_play_system_sound):
209 Set "module-stream-restore.id" to "x-maemo-system-sound" when
210 playing system sounds
212 Fixes: NB#133767 (Information and confirmation note sound should
213 follow system profile setting)
215 2009-08-26 Alejandro G. Castro <alex@igalia.com>
217 * hildon/hildon-pannable-area.c,
218 (hildon_pannable_area_class_init): Added more force and increased
219 the max speed threshold.
221 Fixes: NB#135344 (Pannign needs to be faster)
223 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
225 [Release 2.1.96, this time for real]
228 * debian/changelog: updates
230 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
232 * hildon/hildon-pannable-area.c
233 (hildon_pannable_area_get_topmost): change the computation of the
234 co-ordinates transformed when no one of the children is a topmost
236 Fixes: NB#133252 (Opening any feed item from RSS always opens the
237 first feed item in browser)
239 2009-08-26 Alejandro G. Castro <alex@igalia.com>
241 * hildon/hildon-pannable-area.c,
242 (hildon_pannable_area_remove_timeouts): Adding this new function
243 with the code that removes the timeouts of the widget.
244 (hildon_pannable_area_dispose),
245 (hildon_pannable_area_unrealize): Use the new remove function to
246 stop timeouts when unrealizing and disposing.
247 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
248 calculation to avoid negative values in some cases.
250 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
252 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
254 * examples/hildon-check-button-example.c: (button_toggled_cb):
255 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
256 (hildon_check_button_set_active), (hildon_check_button_new),
257 (hildon_check_button_clicked), (hildon_check_button_class_init):
258 * hildon/hildon-check-button.h:
259 * hildon/hildon-set-password-dialog.c: (create_contents),
260 (hildon_set_password_response_change), (hildon_checkbox_toggled):
262 Revert "Make HildonCheckButton derive from GtkToggleButton"
264 2009-08-21 Alberto Garcia <agarcia@igalia.com>
268 * configure.ac: bump version
270 * debian/changelog: updates
272 2009-08-21 Alberto Garcia <agarcia@igalia.com>
274 * hildon/hildon-check-button.h
275 * hildon/hildon-check-button.c
276 (hildon_check_button_clicked, hildon_check_button_class_init):
277 Make HildonCheckButton derive from GtkToggleButton
278 (hildon_check_button_toggled, hildon_check_button_set_active)
279 (hildon_check_button_get_active):
280 Deprecate unnecessary HildonCheckButton API and use the
281 one from GtkToggleButton instead.
283 * hildon/hildon-set-password-dialog.c (create_contents)
284 (hildon_set_password_response_change, hildon_checkbox_toggled)
285 * examples/hildon-check-button-example.c (button_toggled_cb):
286 Update to use the GtkToggleButton API
288 Fixes: MB#4739 (HildonCheckButton should inherit from
291 Fixes: NB#132661 (HildonCheckButton should inherit from
294 2009-08-20 Alberto Garcia <agarcia@igalia.com>
296 * hildon/hildon-pannable-area.c
297 (hildon_pannable_area_class_init):
298 Increase default value of HildonPannableArea:velocity_max to 2000
300 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
302 2009-08-18 Alberto Garcia <agarcia@igalia.com>
306 * configure.ac: bump version
308 * debian/changelog: updates
310 2009-08-11 Alejandro G. Castro <alex@igalia.com>
312 * hildon/hildon-pannable-area.c
313 (hildon_pannable_area_size_allocate): Checked the scrollbars
314 before the first try when defining the layout, avoids two
315 allocations in some situations.
317 Fixes: NB#131794 (pannable area produces unnecessary allocations
318 causing performance problems)
320 2009-08-11 Alejandro G. Castro <alex@igalia.com>
322 * hildon/hildon-pannable-area.c
323 (hildon_pannable_area_button_press_cb),
324 (hildon_pannable_area_motion_notify_cb),
325 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
326 the spurious ref added in the copy, fixes leak of window.
328 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
329 if it's realized without showing and then deleted)
331 2009-08-10 Alberto Garcia <agarcia@igalia.com>
335 * configure.ac: bump version
337 * debian/changelog: updates
339 2009-08-06 Alberto Garcia <agarcia@igalia.com>
341 * examples/hildon-hvolumebar-timer-example.c
343 * hildon/hildon-banner.c
344 (hildon_banner_timeout, hildon_banner_ensure_timeout)
345 * hildon/hildon-calendar.c
346 (calendar_timer, start_spinning)
347 * hildon/hildon-color-chooser.c
348 (inline_limited_expose)
349 * hildon/hildon-date-editor.c
350 (hildon_date_editor_entry_focus_in)
351 (hildon_date_editor_entry_validate)
352 (hildon_date_editor_entry_select_all)
353 * hildon/hildon-note.c
355 * hildon/hildon-number-editor.c
356 (hildon_number_editor_button_pressed)
357 (hildon_number_editor_start_timer, do_mouse_timeout),
358 (add_select_all_idle, hildon_number_editor_select_all)
359 * hildon/hildon-time-editor.c
360 (hildon_time_editor_entry_focus_in)
361 (highlight_callback, hildon_time_editor_validate)
362 (hildon_time_editor_entry_select_all)
363 * hildon/hildon-time-picker.c
364 (hildon_time_picker_arrow_press)
365 (hildon_time_picker_key_repeat_timeout)
366 * hildon/hildon-window.c
367 (hildon_window_key_press_event)
368 (hildon_window_escape_timeout):
369 Replace all calls to g_idle_add/g_timeout_add with their
370 gdk_threads counterparts.
372 Fixes: NB#126198 (gdk-threads API should be used to install idle
373 and timeout handlers)
375 2009-08-06 Alejandro G. Castro <alex@igalia.com>
377 * hildon/hildon-pannable-area.c,
378 (hildon_pannable_area_class_init): Increased the overshooting max
379 speed to get a faster effect.
380 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
381 deceleration of the overshooting
382 (hildon_pannable_area_button_release_cb): Calculate initial
383 overshooting speed when finger on the screen using the distance to
384 launch the effect faster.
386 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
387 lists with slow row renderers)
389 2009-08-05 Alberto Garcia <agarcia@igalia.com>
391 * doc/hildon-sections.txt: Add new functions
393 2009-08-05 Alberto Garcia <agarcia@igalia.com>
395 * hildon/hildon-text-view.[ch]
396 * hildon/hildon-entry.[ch]:
397 Add deprecation guards around deprecated functions.
399 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
401 * hildon/hildon-app-menu.c: Remove leftover function declaration.
403 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
405 Remove the grab from HildonAppMenu
407 * hildon/hildon-app-menu.c:
408 Now hildon-desktop places a blocker window behind the menu to handle
409 its closing, so the grab is no longer needed. This simplifies its
410 implementation and allows the system blanking to succeed.
412 Fixes: NB#130910 (Screen gets unlocked when menu is open)
414 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
418 * configure.ac: bump version
420 * debian/changelog: updates
421 * debian/control: raise debian dependency on GTK+
423 2009-08-04 Alberto Garcia <agarcia@igalia.com>
425 * hildon/hildon-text-view.c
426 * hildon/hildon-entry.c:
427 Remove all placeholder code from HildonEntry and HildonTextView
428 and use the API in GtkEntry and GtkTextView instead.
430 * examples/hildon-entry-example.c
431 * examples/hildon-text-view-example.c
432 * examples/hildon-wizard-dialog-example.c
433 * hildon/hildon-get-password-dialog.c
434 * hildon/hildon-login-dialog.c
435 * hildon/hildon-picker-dialog.c
436 * hildon/hildon-set-password-dialog.c
437 * hildon/hildon-touch-selector-entry.c:
438 Replace all deprecated calls to HildonEntry and HildonTextView
439 with their Gtk counterparts.
441 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
444 2009-08-03 Alejandro G. Castro <alex@igalia.com>
446 * hildon/hildon-pannable-area.c,
447 (hildon_pannable_area_check_move),
448 (hildon_pannable_area_button_release_cb),
449 (hildon_pannable_area_scroll_to): Reverted the priority change of
450 the timeout, in some situations, slow renderers, the click do not
451 make it to the mainloop on time.
453 Fixes NB#131013 (unable to stop panning file manager by tapping on
456 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
458 * configure.ac: bump version
460 * debian/changelog: updates
462 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
464 * hildon/hildon-touch-selector.[ch]
465 (hildon_touch_selector_center_on_index): New method that allows to center
466 on a item not selected
468 Fixes NB#130291 (New HildonTouchSelector API is required to center on
471 2009-07-29 Alberto Garcia <agarcia@igalia.com>
473 * hildon/hildon-text-view.c
474 (+set_logical_color, +hildon_text_view_style_set)
475 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
476 (hildon_text_view_init)
477 * hildon/hildon-entry.c
478 (+set_logical_color, +hildon_entry_style_set)
479 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
480 (hildon_entry_class_init, hildon_entry_init)
481 * hildon/hildon-button.c
482 (+set_logical_font, +set_logical_color)
483 (hildon_button_style_set, hildon_button_init)
484 (hildon_button_set_arrangement, hildon_button_set_style):
485 Remove all calls to hildon_helper_set_logical_font() and
486 hildon_helper_set_logical_color(), which are recursive, from
489 Fixes: NB#123409 (Showing dialog consumes significant amount of
492 2009-07-29 Alejandro G. Castro <alex@igalia.com>
494 * hildon/hildon-pannable-area.c,
495 (hildon_pannable_area_timeout): Added the process updates of the
496 scrollbars window in the pannable.
498 Fixes: NB#130043 (scrollindicator not smooth while panning)
500 2009-07-23 Alejandro G. Castro <alex@igalia.com>
502 * hildon/hildon-pannable-area.c,
503 (hildon_pannable_area_check_move),
504 (hildon_pannable_area_button_release_cb),
505 (hildon_pannable_area_scroll_to): Increased the priority of the
506 timeout this way it is going to be handled before the events.
508 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
512 * configure.ac: bump version
513 * debian/changelog: updates
515 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
517 * hildon/hildon-entry.c: (set_property): Do not allow to set
518 automatic height and use finger height instead, to prevent an to
519 have a smaller size than than its theme pixbuf.
521 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
523 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
525 * configure.ac: postrelease version bump.
526 * debian/changelog: post release version bump
528 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
533 * configure.ac: Bump version.
534 * debian/changelog: Updates.
536 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
538 * hildon/hildon-note.c: (label_size_request): Take the note
539 padding into account when setting the size request.
541 Fixes: NB#127896 (Information notes text truncated)
543 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
545 * configure.ac: postrelease version bump.
546 * debian/changelog: post release version bump
548 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
553 * configure.ac: Bump version.
554 * debian/changelog: Updates.
556 2009-07-16 Alejandro G. Castro <alex@igalia.com>
559 * hildon/hildon-text-view.c,
560 (hildon_text_view_button_press_event): Grabbed the focus in button
561 press, this way we are sure the widget has the focus in the
562 release event, required for HIM.
564 Fixes: NB#121445 (Virtual keyboard opening is not working in same
565 way for each text entry field)
567 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
569 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
570 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
571 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
572 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
573 (hildon_pannable_area_[gs]et_center_on_child_focus)
574 Redefined GtkContainer set-focus-child signal, in order to center
575 properly on a child when it receives the focus. Defined a new property
576 "center-on-child-focus" in order to activate this feature (deactivated
577 by default). Public get/set methods defined to manage the property.
579 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
581 2009-07-14 László Pere <lpere@blumsoft.eu>
583 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
584 the new size is applied.
586 Fixes: NB#124510 (The Application Menu is distorted when switched
587 between portrait and landscape mode)
588 Fixes: NB#115388 (Power key menu does not resize itself)
590 2009-07-01 Alberto Garcia <agarcia@igalia.com>
592 * hildon/hildon-banner.c (hildon_banner_map):
593 Set banner position after mapping.
595 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
597 * configure.ac: postrelease version bump.
598 * debian/changelog: post release version bump
600 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
605 * configure.ac: Bump version.
606 * debian/changelog: Updates.
608 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
610 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
613 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
615 * tests/check-hildon-banner.c
617 * tests/test_suites.h
618 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
619 were testing deprecated functions.
620 * examples/hildon-banner-example.c: typo on button3 type, that causes
621 a fail compiling with --with-examples but without --disable-deprecated
623 Missed commit in order to fix compilation using '--enable-fatal' and
624 '--disable-deprecated' (see previous commit)
626 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
628 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
629 functions with #ifndef HILDON_DISABLE_DEPRECATED
630 * examples/hildon-find-toolbar.c: Protect deprecated
631 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
632 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
633 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
634 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
636 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
637 to allow proper compilation of deprecated functions defined on the header
639 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
641 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
643 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
644 Cache the panning indicator color.,
645 (hildon_pannable_area_style_set): Query the color on style changes.
646 (hildon_pannable_draw_vscroll),
647 (hildon_pannable_draw_hscroll),
648 (hildon_pannable_area_expose_event): Use the cached panning indicator
649 color instead of looking it up on every expose and more.
651 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
653 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
654 (hildon_pannable_draw_hscroll),
655 (hildon_pannable_area_expose_event): Fix the panning indicator color,
656 so that it's "SecondaryTextColor", as desired.
658 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
660 * hildon/hildon-picker-dialog.c:
661 (selection_completed): take into account HILDON_UI_MODE_NORMAL
662 * hildon/hildon-touch-selector.c
663 (hildon_touch_selector_init): Initialize hildon-ui-mode
664 (hildon_touch_selector_row_activated): new callback for the
665 "row-activated" signal, in order to save the last activated
666 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
667 if the current hildon-ui-mode is coherent with the touch selector
668 (hildon_touch_selector_class_init)
669 (hildon_touch_selector_get_property)
670 (hildon_touch_selector_set_property)
671 Added "hildon-ui-mode" property
672 (disconnect_model_handlers): renamed to clean_column
673 (hildon_touch_selector_remove): use clean_column function
674 (_create_new_column): use the hildon-ui-mode to create the treeview, and
675 only select the first element on HILDON_UI_MODE_EDIT
676 (hildon_touch_selector_column_init): Initialize last_activate
677 (hildon_touch_selector_append_column): check that the touch selector
678 is coherent with the current hildon-ui-mode
679 (hildon_touch_selector_get_hildon_ui_mode)
680 (hildon_touch_selector_set_hildon_ui_mode)
681 Added a getter/setter for the hildon-ui-mode property
682 (hildon_touch_selector_get_last_activated_row): Added this method in
683 order to get the last activated row.
684 * examples/hildon-touch-selector-normal-mode-example.c
685 New example, that shows how to use the HildonTouchSelector in
686 HILDON_UI_MODE_NORMAL
688 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
689 Kristian Rietveld <kris@lanedo.com> advices
691 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
693 * hildon/hildon-time-selector.c: (update_format_policy): Do
694 not call update_format_dependant_columns() if not necessary.
695 (update_format_dependant_columns): Remove unnecessary check for
696 the number of columns.
698 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
700 * hildon/hildon-note.c (+hildon_note_constructor),
701 (hildon_note_class_init), (+hildon_note_set_padding),
702 (hildon_note_rebuild): Install a constructor where to set the
703 padding properties in the note, so that it actually works fine.
704 Use hildon_note_set_padding() for this, and also to set it during
707 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
709 * configure.ac: Bump GTK+ requirement to 2.14.3.
710 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
711 when using maemo-gtk to define proper margins for the notes.
713 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
714 with the dialog edge)
716 2009-06-24 Alberto Garcia <agarcia@igalia.com>
718 * hildon/hildon-banner.c
719 (hildon_banner_class_init):
721 (+hildon_banner_size_request):
722 Request always the full width of the screen.
723 (hildon_banner_realize)
724 (-hildon_banner_check_position, hildon_banner_map):
725 hildon_banner_check_position() is not needed in Hildon 2.2.
726 (-hildon_banner_reset_wrap_state)
727 (hildon_banner_constructor, hildon_banner_init):
728 Remove unnecessary calls to hildon_banner_reset_wrap_state()
729 (+banner_do_set_text)
730 (force_to_wrap_truncated):
731 Remove has_been_wrapped and has_been_truncated attributes.
732 (+reshow_banner, hildon_banner_real_show_information)
733 (hildon_banner_show_information_with_markup)
734 (hildon_banner_show_animation, hildon_banner_show_progress)
735 (hildon_banner_set_text, hildon_banner_set_markup):
736 Refactor code. Shrink banner vertically to use the minimum space
737 necessary everytime the text of the label is updated.
738 (screen_size_changed):
739 Call force_to_wrap_truncated() when the size of the screen
742 Fixes: NB#120500 (only device memory connect mmc in use info
743 banner is left aligned)
745 Fixes: NB#120613 (Size of HildonBanner varies depending on
746 previously opened banners)
748 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
750 * hildon/hildon-color-chooser.c
751 (hildon_color_chooser_pointer_motion): Take the widget allocation
754 Fixes: NB#124385 (Unable to select exact point in color mixing box
755 in color palette dialog)
757 2009-06-23 Alejandro G. Castro <alex@igalia.com>
759 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
760 (hildon_pannable_area_dispose)
761 (hildon_pannable_area_button_press_cb)
762 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
763 (hildon_pannable_area_button_release_cb)
764 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
765 New 'panning-started' and 'panning-finished' signals.
767 Fixes: NB#121732 (New feature request: Signal to pannable area
768 that informs when panning is stopped.)
770 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
772 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
773 instead of hardcoded colon.
775 Fixes: NB#124090 (New calendar wizard title is not using
776 ecdg_ti_caption_separator)
778 2009-06-22 David King <davidk@openismus.com>
780 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
781 constants and functions, as well as correct many typos throughout the
784 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
787 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
789 * configure.ac: postrelease version bump.
790 * debian/changelog: post release version bump
792 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
797 * configure.ac: Bump version.
798 * debian/changelog: Updates.
800 2009-06-18 Alberto Garcia <agarcia@igalia.com>
802 * hildon/hildon-window-stack.c
803 (hildon_window_stack_pop_and_push_list):
804 Prevent windows from having the same stack index
806 2009-06-18 Alberto Garcia <agarcia@igalia.com>
808 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
809 Use the index of the previous window rather than the stack length
810 to calculate the new index.
814 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
816 * hildon/hildon-date-selector.c
817 (hildon_date_selector_select_current_date)
818 (hildon_date_selector_get_date)
819 (hildon_date_selector_select_day):
820 Update the documentation: uses always the range (1-31), as it is obvious
821 that the final one will depend on the month and the year, but globally
822 the range is this, in a similar GtkCalendar approach
823 (hildon_date_selector_get_date):
824 Update the documentation: add NULL as a valid value for the day, month
827 Fix some details, after talk with David King on bug MB#4698
829 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
831 * hildon/hildon-touch-selector-entry.c
832 * hildon/hildon-touch-selector.c
833 Update the documentation of the "text-column" property
835 2009-06-18 David King <davidk@openismus.com>
837 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
838 several typos and errors throughout the documentation.
840 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
843 2009-06-18 Alberto Garcia <agarcia@igalia.com>
845 * hildon/hildon-note.c (hildon_note_realize):
846 Make HildonNote support portrait mode.
848 Fixes: NB#123448 (HildonNote is not portrait-friendly)
850 2009-06-17 Alberto Garcia <agarcia@igalia.com>
852 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
853 Document this function
855 2009-06-17 David King <davidk@openismus.com>
857 * hildon/hildon-date-selector.c
858 (hildon_date_selector_select_current_date)
859 (hildon_date_selector_get_date): Update documentation regarding days,
860 as the day of the month is dependent on both the month and the year.
861 (hildon_date_selector_get_date): Fix documentation of output arguments.
863 Fixes: MB#4698 (DateSelector documentation has bad output argument
864 description, and the day depends on both the month and the year)
866 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
868 * hildon/hildon-caption.c: Other documentation fixes to
871 2009-06-17 David King <davidk@openismus.com>
873 * hildon/hildon-caption.c: Minor documentation updates for
874 HildonCaption. Fixes MB#4697.
876 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
878 * doc/hildon-docs.sgml: Add hildon-version section.
879 * doc/hildon-sections.txt:
880 * hildon/hildon-version.h.in: Document versioning macros and
883 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
885 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
886 from HildonPickerDialog section.
888 2009-06-16 Alberto Garcia <agarcia@igalia.com>
890 * hildon/hildon-banner.c (hildon_banner_bind_style)
891 (screen_size_changed, hildon_banner_init)
892 (hildon_banner_real_show_information)
893 (hildon_banner_show_information_with_markup)
894 (hildon_banner_show_animation, hildon_banner_show_progress):
895 Set a different widget name to banners in portrait mode, for them
896 to be themed correctly.
898 2009-06-16 Alberto Garcia <agarcia@igalia.com>
900 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
901 Set a different widget name to notes in portrait mode, for them to
904 Partially fixes: NB#118401 (HildonNote causes unnecessary
907 2009-06-16 Alberto Garcia <agarcia@igalia.com>
909 * hildon/hildon-note.c (hildon_note_class_init)
910 (+hildon_note_size_request, screen_size_changed):
911 Always request the full width of the screen.
913 Fixes: NB#118375 (unnecessary rescaling of images)
915 2009-06-16 Alejandro G. Castro <alex@igalia.com>
917 * hildon/hildon-pannable-area.c,
918 (hildon_pannable_area_init),
919 (hildon_pannable_area_realize): Replaced old code adding flags in
920 the object init, now we add it with the other flags in the realize
923 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
925 * hildon/hildon-note.c: (hildon_note_class_init): Several
926 documentation improvements to the HildonNote widget.
928 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
930 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
932 Fixes: MB#4556 (HildonNoteType is undocumented)
934 2009-06-15 Alberto Garcia <agarcia@igalia.com>
936 * hildon/hildon-picker-button.c:
937 Explain how HildonPickerButton sets the title of its dialog
939 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
940 the title of its dialog)
942 2009-06-15 Alberto Garcia <agarcia@igalia.com>
944 * hildon/hildon-check-button.c:
945 Documentation updates
947 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
950 2009-06-15 Alberto Garcia <agarcia@igalia.com>
953 * hildon/hildon-edit-toolbar-private.h
954 * hildon/hildon-edit-toolbar.c
955 (+hildon_edit_toolbar_set_progress_indicator)
956 (hildon_edit_toolbar_init): Add progress indicator to the
959 * hildon/hildon-gtk.c
960 (hildon_gtk_window_set_progress_indicator):
961 If the window contains a HildonEditToolbar, enable the progress
964 * hildon/hildon-private.h
965 * hildon/hildon-private.c
966 (+hildon_private_create_animation)
967 * hildon/hildon-banner.c
968 (-hildon_banner_create_animation):
969 Moved to hildon-private.c
971 Fixes: NB#102373 (Progress indicator also for the Edit mode
974 2009-06-15 Alberto Garcia <agarcia@igalia.com>
976 * hildon/hildon-app-menu-private.h
977 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
978 (hildon_app_menu_add_filter, +menu_item_button_event)
979 (hildon_app_menu_button_release, hildon_app_menu_init):
980 Make sure that buttons receive 'button-release-event' in spite of
981 the grab held by HildonAppMenu
983 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
985 2009-06-15 Alberto Garcia <agarcia@igalia.com>
987 * hildon/hildon-app-menu.c
988 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
989 New style property to set the size of the group of filter buttons.
991 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
993 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
998 * configure.ac: Bump version.
999 * debian/changelog: Updates.
1001 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1003 * hildon/hildon-main.c: Minor documentation fixes.
1005 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1007 * doc/hildon-sections.txt:
1008 * hildon/hildon-defines.h: Document the defines, organize them,
1009 and mark deprecations as such.
1011 Fixes: MB#4463 (Hildon size #defines are undocumented)
1013 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1015 * hildon/hildon-animation-actor.c:
1016 * hildon/hildon-app-menu.c:
1017 * hildon/hildon-button.c:
1018 * hildon/hildon-date-editor.c:
1019 * hildon/hildon-dialog.c:
1020 * hildon/hildon-edit-toolbar.c:
1021 * hildon/hildon-entry.c:
1022 * hildon/hildon-program.c:
1023 * hildon/hildon-remote-texture.c:
1024 * hildon/hildon-stackable-window.c:
1025 * hildon/hildon-text-view.c:
1026 * hildon/hildon-touch-selector.c:
1027 * hildon/hildon-window-stack.c:
1028 * hildon/hildon-window.c:
1030 Remove redundant "represents" wording from most of the documentation.
1032 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1034 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1038 * hildon/Makefile.am
1039 * hildon/hildon-banner-private.h
1040 * hildon/hildon-banner.c:
1041 Move HildonBannerPrivate to hildon-banner.c and remove
1042 hildon-banner-private.h
1043 Use a bit field to store private booleans.
1045 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1047 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1048 Don't install a new idle function if there's already one
1053 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1055 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1056 (+legacy_menu_realized, +legacy_menu_unmapped)
1057 (+set_legacy_menu_type):
1058 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1059 they can be identified by the window manager.
1061 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1062 displayed in wrong location)
1064 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1067 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1069 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1071 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1072 use gtk-doc support)
1074 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1076 * hildon/hildon-code-dialog.c
1077 * hildon/hildon-date-editor.c
1078 * hildon/hildon-number-editor.c
1079 * hildon/hildon-seekbar.c
1080 * hildon/hildon-stackable-window.c
1081 * hildon/hildon-window.c:
1082 Misc documentation updates
1084 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1086 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1087 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1089 Fixes: NB#117931 (Theming issues in accounts dialogs)
1091 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1093 * hildon/hildon-pannable-area.c,
1094 (hildon_pannable_area_button_release_cb): Changed the coordinates
1095 of the original release in case we want to discard the release,
1096 some widgets in Fremantle do not handle the leave-notify.
1098 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1100 * hildon/hildon-pannable-area.c,
1101 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1102 the release using the last refactored functions and avoiding the
1103 movement if an element was selected.
1105 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1107 * hildon/hildon-pannable-area.c,
1108 (hildon_pannable_area_check_move),
1109 (hildon_pannable_area_handle_move),
1110 (hildon_pannable_area_motion_notify_cb): Refactored the
1111 motion_notify method using a couple of new functions.
1113 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1115 * hildon/hildon-date-selector.c:
1116 (hildon_date_selector_construct_ui):
1117 * hildon/hildon-time-selector.c:
1118 (hildon_time_selector_constructor):
1119 * hildon/hildon-touch-selector-entry.c:
1120 (hildon_touch_selector_entry_set_text_column),
1121 (hildon_touch_selector_entry_get_text_column):
1122 * hildon/hildon-touch-selector.c: (_default_print_func),
1123 (hildon_touch_selector_new_text): Use
1124 hildon_touch_selector_set/get_text_column() instead of
1125 setting/getting the "text-column" property.
1127 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1129 * doc/hildon-sections.txt: Add the new public methods below.
1131 * examples/hildon-picker-button-multicolumn-example.c:
1132 (create_touch_selector):
1133 * examples/hildon-touch-selector-example.c: (create_selector):
1134 * examples/hildon-touch-selector-multi-cells-example.c:
1136 Use hildon_touch_selector_column_set_text_column()
1138 * hildon/hildon-touch-selector-column.h:
1139 * hildon/hildon-touch-selector.c:
1140 (hildon_touch_selector_column_set_text_column),
1141 (hildon_touch_selector_column_get_text_column):
1142 Make hildon_touch_selector_column_set/get_column() public, use
1143 them in the inline example, document them, and reference to them
1146 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1148 * hildon/hildon-time-selector.c: Fix the docs for
1149 hildon_time_selector_new_step().
1151 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1153 * hildon/hildon-touch-selector.c: Improve the documentation for
1154 hildon_touch_selector_append_column().
1156 Fixes MB#4641 (Documentation:
1157 hildon_touch_selector_append_column() ref-counting)
1159 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1161 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1162 Comment out test 5, since the hildon_controlbar_set_range() range
1163 check is broken and fixing it would have side effects. Also,
1164 this finally fixes make distcheck.
1166 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1168 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1170 * tests/TEST-CASES.txt: Remove other bogus test.
1171 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1172 Remove bogus test that was setting/retrieving a valid value.
1174 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1176 * tests/TEST-CASES.txt: Remove bogus tests.
1177 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1178 Remove three bogus tests that were actually setting valid colors.
1180 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1182 * configure.ac: post release version bump
1183 * debian/changelog: post release version bump
1185 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1190 * configure.ac: Bump version.
1191 * debian/changelog: Updates.
1193 2009-06-08 Christian Dywan <christian@lanedo.com>
1197 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1198 Correct errors in hildon_format_file-size_for_display and use
1199 translations from the hildon-fm package instead of osso-filemanager.
1201 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1203 * hildon/hildon-pannable-area.c,
1204 (hildon_pannable_area_init): Initialized new values to handle the
1205 adjustment position.
1206 (hildon_pannable_area_adjust_value_changed): Check if the values
1207 changed before even call the redraw function.
1208 (hildon_pannable_area_size_allocate),
1209 (hildon_pannable_axis_scroll),
1210 (hildon_pannable_area_scroll),
1211 (hildon_pannable_area_jump_to): Improved the diagonal movement
1214 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1217 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1219 * examples/hildon-banner-example.c:
1220 Several style updates
1221 (on_animation_clicked, on_animation_idle)
1222 (on_progress_clicked, on_progress_idle):
1223 Add additional reference for the cases when the parent window is
1226 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1228 * doc/hildon-sections.txt
1229 * hildon/hildon-pannable-area.c
1230 * hildon/hildon-banner.h
1231 * hildon/hildon-banner.c: Documentation updates.
1233 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1236 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1238 * hildon/hildon-calendar-popup.h:
1239 * hildon/hildon-caption.h:
1240 * hildon/hildon-code-dialog.h:
1241 * hildon/hildon-controlbar.h:
1242 * hildon/hildon-date-editor.h:
1243 * hildon/hildon-dialog.h:
1244 * hildon/hildon-get-password-dialog.h:
1245 * hildon/hildon-hvolumebar.h:
1246 * hildon/hildon-login-dialog.h:
1247 * hildon/hildon-note.h:
1248 * hildon/hildon-number-editor.h:
1249 * hildon/hildon-range-editor.h:
1250 * hildon/hildon-seekbar.h:
1251 * hildon/hildon-set-password-dialog.h:
1252 * hildon/hildon-sort-dialog.h:
1253 * hildon/hildon-time-editor.h:
1254 * hildon/hildon-time-picker.h:
1255 * hildon/hildon-volumebar-range.h:
1256 * hildon/hildon-volumebar.h:
1257 * hildon/hildon-vvolumebar.h:
1258 * hildon/hildon-weekday-picker.h:
1259 * hildon/hildon-window.h:
1260 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1261 macros with the current replacements
1263 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1265 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1267 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1268 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1269 itself, to make it fit better with Fremantle style.
1271 Fixes: NB#109878 (height and width of focus on color icon is not
1272 consistent with other item in the application tool bar)
1274 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1276 * hildon/hildon-touch-selector.c:
1277 (hildon_touch_selector_optimal_size_request): use the current requisition
1278 as the base, in order to include any possible extra widget, like the
1279 hildon entry on HildonTouchSelectorEntry
1281 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1283 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1285 * configure.ac: post release version bump
1286 * debian/changelog: post release version bump
1288 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1293 * configure.ac: Bump version.
1294 * debian/changelog: Updates.
1296 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1298 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1300 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1301 to ensure the banner contents are centered, instead of relying on
1302 the expand and fill properties in GtkHBox.
1303 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1305 Fixes: NB#108265 (Animation banner not properly centered)
1307 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1309 * hildon/hildon-pannable-area.c
1310 (hildon_pannable_area_initial_effect): Remove the initial_effect
1311 management, check initial_hint
1312 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1313 set initial_effect to FALSE
1314 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1315 by launching the fade_timeout if the scrollbars state has changed and are
1317 * examples/hildon-pannable-area-initial-hint-example.c
1318 Modified to allow to remove rows too. Add and remove rows one by one.
1320 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1322 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1323 Don't close the menu if there's an animation actor below it.
1325 Fixes: NB#117927 (Application menu not usable with animation
1328 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1330 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1331 "focus-on-click" from the dialog button, to avoid stealing the
1332 focus from the entry.
1334 Fixes: NB#118903 (Account setup wizard: Text in Search field
1335 should be focused when "Region" touch list picker is reopened
1338 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1340 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1341 (prepare_action_area): Completely hide the dialog separator.
1343 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1345 * hildon/hildon-touch-selector-entry.c
1346 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1347 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1348 now that the entry is exposed.
1350 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1352 * hildon/hildon-touch-selector-entry.c
1353 (hildon_touch_selector_entry_init): Change the entry's size
1354 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1356 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1358 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1359 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1360 avoid unnecessary scaling.
1362 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1364 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1365 Create grab transfer window before calling parent's map function.
1367 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1368 "crushed" button(s) in the top left corner)
1370 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1372 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1373 Check if the window is already realized when pushing it.
1375 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1377 * configure.ac: post release version bump
1378 * debian/changelog: post release version bump
1380 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1385 * configure.ac: Bump version.
1386 * debian/changelog: Updates.
1388 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1390 * hildon/hildon-app-menu.c: Doc updates.
1392 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1394 * hildon/hildon-banner.c: Remove leftover macro.
1396 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1398 * hildon/hildon-pannable-area.c,
1399 (hildon_pannable_area_scroll_indicator_fade),
1400 (hildon_pannable_area_button_release_cb): Reviewed vmin
1401 conditions, it could cause problems in the fadeout procedure.
1403 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1405 * hildon/hildon-pannable-area.c
1406 (hildon_pannable_area_button_release_cb): Added a threshold to
1407 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1409 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1411 * hildon/hildon-pannable-area.c,
1412 (hildon_pannable_area_set_property): Added code to sync the gtk
1413 dnd threshold with the panning threshold.
1415 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1417 * hildon/hildon-pannable-area.c,
1418 (hildon_pannable_area_class_init): Changed some of the default
1419 values, now it should be less responsive and more accurate.
1421 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1423 * hildon/hildon-pannable-area.c,
1424 (hildon_pannable_area_init),
1425 (hildon_pannable_area_scroll_indicator_fade),
1426 (hildon_pannable_area_button_press_cb),
1427 (hildon_pannable_axis_scroll),
1428 (hildon_pannable_area_timeout),
1429 (hildon_pannable_area_motion_notify_cb),
1430 (hildon_pannable_area_button_release_cb): Changed the name of the
1431 clicked attribute to button_pressed, it is more clear about its use.
1433 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1435 * src/hildon-pannable-area.c
1436 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1438 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1439 vertical scrollbar visibility, and use the data on private section instead,
1440 remove the initial_hint check
1441 (hildon_pannable_area_expose_event): add the initial_hint check here
1443 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1445 * src/hildon-pannable-area.c
1446 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1447 if the fadeout effect was used
1448 (hildon_pannable_area_expose_event): check if it is required to
1449 manage the initial effect on the begining of the function. Previously
1450 it was made at the end, but this doesn't ensure that the scrollbars
1451 will be painted on the first show. Do not set to FALSE initial_effect,
1452 to ensure that the initial hint is showed the first time the pannable
1454 * examples/Makefile.am
1455 * examples/hildon-pannable-area-initial-hint-example.c:
1456 New example, to show that the initial-hint is showed when the widget
1459 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1460 initially if the application can be scrolled)
1462 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1464 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1465 Resize table before adding new items to make sure that
1466 gtk_table_resize() is called just once.
1468 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1470 * hildon/hildon-app-menu-private.h
1471 * hildon/hildon-app-menu.c (item_visibility_changed)
1472 (filter_visibility_changed, hildon_app_menu_show_all)
1473 (hildon_app_menu_hide_all, hildon_app_menu_init):
1474 Rearrange items just once when gtk_widget_show_all()/hide_all()
1477 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1479 * hildon/hildon-app-menu.c
1480 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1481 Don't call gtk_widget_show() on added items.
1483 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1484 automatically when they're added)
1486 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1488 * hildon/hildon-banner.c
1489 (hildon_banner_realize, +hildon_banner_unrealize)
1490 (+screen_size_changed, hildon_banner_class_init):
1491 Redisplay the banner if the screen is rotated.
1493 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1494 on transition from landscape to portrait)
1496 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1498 * hildon/hildon-banner.[ch]:
1499 (hildon_banner_show_information_override_dnd): remove icon_name from the
1500 method definition as it is ignored.
1501 * examples/hildon-banner-dnd-example.c: updated with the change on
1504 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1506 * hildon/hildon-banner-private.h: new require_override_dnd and
1507 overrides_dnd variables
1508 * hildon/hildon-banner.h:
1509 (hildon_banner_show_information_override_dnd): new method, that shows
1510 the information but sets the override flag, in order to show important
1512 * hildon/hildon-banner.c
1513 (hildon_banner_show_information_override_dnd): new method
1514 (hildon_banner_set_override_flag): new utility function
1515 (hildon_banner_real_show_information): new utility function, in order to
1516 generalize the current hildon_banner_show_information_override_dnd and
1517 hildon_banner_show_information_override_dnd
1518 * examples/Makefile.am
1519 * examples/hildon-banner-dnd-example.c: New example that show how to
1520 use the new hildon_banner_show_information_override_dnd
1522 Fixes: NB#114874 (There is no possibility to show hildon banners with
1525 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1527 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1528 behind hildon_pannable_calculate_vel_factor().
1530 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1532 * hildon/hildon-pannable-area.c
1533 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1534 deceleration factors.
1536 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1538 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1539 Reduce the default value for 'scroll_time' to 1 second, since the
1540 current initial scrolling takes too much time.
1542 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1544 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1545 calculate velocity factor during initialization, since the properties
1548 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1550 * hildon/hildon-pannable-area.c
1551 (hildon_pannable_area_set_property): Calculate the velocity factor
1552 after setting the deceleration property and not after.
1554 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1556 * hildon/hildon-entry.c
1557 (hildon_entry_class_init, +set_property, hildon_entry_new)
1558 * hildon/hildon-check-button.c
1559 (hildon_check_button_class_init)
1560 (+set_property, hildon_check_button_new):
1561 Make the theme size a property.
1563 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1564 others) do too much in the _new function)
1566 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1568 * configure.ac: post release version bump
1569 * debian/changelog: post release version bump
1571 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1576 * configure.ac: Bump version.
1577 * debian/changelog: Updates.
1579 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1581 * hildon/hildon-gtk.h
1582 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1583 New API function to take a screenshot of a window
1585 Fixes: NB#106374 (Need API to take a loading screenshot)
1587 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1589 * hildon/hildon-time-selector.c
1590 (update_format_policy): prevent to use hours and minutes unitialized
1592 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1594 * hildon/hildon-window.c (hildon_window_size_request):
1595 Always request the full size of the screen (minus the title bar if
1596 not in fullscreen mode).
1598 Fixes: NB#107486 (HildonWindow should size itself properly)
1600 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1602 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1603 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1604 (on_show_cb), (sound_handling): Disconnect the idle handler for
1605 the sound when the note is finalized to avoid possible crashes.
1607 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1610 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1612 * src/hildon-animation-actor.c,
1613 * src/hildon-remote-texture.c:
1614 Added proper object cleanup to remove signal handler and object
1615 references as HildonAnimationActor and HildonRemoteTexture
1616 objects get destroyed.
1618 Fixes: NB#116682 (Destroying parented animation actors when
1619 parent in unmapped leads to crash)
1621 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1623 Based on a patch by Christian Dywan (christian@imendio.com)
1625 * doc/hildon-sections.txt:
1626 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1627 * hildon/hildon-helper.h: New file size formatting method.
1629 * debian/control: Depend on osso-filemanager l10n package for
1630 proper localization strings.
1632 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1634 * tests/Makefile.am: Include top_srcdir to make possible to build
1635 tests in a different builddir.
1636 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1637 on a different builddir.
1639 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1641 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1642 (hildon_touch_selector_remove): Disconnect model's signal handler
1645 Fixes: NB#116289 (Hildon home crashes while adding task
1648 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1650 * hildon/hildon-button.c
1651 (hildon_button_set_title, hildon_button_set_value):
1652 Hide labels containing an empty string.
1654 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1656 * configure.ac: post release version bump
1657 * debian/changelog: post release version bump
1659 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1664 * configure.ac: Bump version.
1665 * debian/changelog: Updates.
1667 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1669 * hildon/hildon-note-private.h: Removed sound_signal_handler
1670 * hildon/hildon-note.c
1671 (on_show_cb): new callback on note "show" event, this simply adds
1672 a idle, with the function sound_handling
1673 (sound_handling): removed the sound_signal_handler management
1674 (hildon_note_init): connect note "show" event to on_show_cb
1675 (hildon_note_realize): remove the connection to "expose-event"
1677 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1678 device?' confirmation note)
1680 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1682 * hildon/hildon-note.c
1683 (hildon_note_new_information_with_icon_name)
1684 (hildon_note_new_confirmation_with_icon_name):
1685 Terminate the list of parameters in g_object_set() calls
1687 Fixes: NB#115166 (Formatting memory card is not taking place)
1689 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1691 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1692 "dialog-information" role for the sound being played.
1694 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1696 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1697 Don't make the menu a modal window, it causes strange interactions
1698 with the pointer grab and it's not really needed.
1700 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1702 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1704 * hildon/hildon-touch-selector.[ch]
1705 (hildon_touch_selector_optimal_size_request): function added to get a
1706 optimal size request from the touch selector, when you want a dialog to
1707 show as much of the selector
1708 * hildon/hildon-picker-dialog.c:
1709 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1710 (hildon_app_menu_class_init):
1711 New "max-height-landscape" and "max-height-portrait" style properties
1712 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1713 (hildon_picker_dialog_get_max_height): returns the maximum height using
1714 the style properties defined and checking the current portrait/landscape
1716 (_hildon_picker_dialog_set_selector): removed the set_size_request
1718 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1720 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1722 * hildon/hildon-bread-crumb-trail.c:
1723 * hildon/hildon-bread-crumb.c:
1724 * hildon/hildon-seekbar.c:
1725 Add reference to replacements for these deprecated widgets.
1727 Fixes: MB#4461 (Documentation: All deprecations should mention
1730 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1732 * examples/hildon-remote-texture-example.c
1734 Change the include to the hildon-remote-texture in order to compile
1735 properly the examples on the installed libhildon1-examples package
1737 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1739 * tests/Makefile.am: Add check for HildonPickerButton.
1740 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1741 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1742 checks for the HildonPickerButton.
1743 * tests/check_test.c (configure_tests): Add the test suite.
1744 * tests/test_suites.h: likewise.
1746 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1748 * hildon/hildon-touch-selector.c
1749 (+on_row_changed): Emit HildonTouchSelector:changed when the
1750 contents of a selected row change.
1751 (_create_new_column), (_hildon_touch_selector_set_model): connect
1752 to GtkTreeModel:row-changed on a newly set model.
1754 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1756 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1758 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1760 * hildon/hildon-banner.c (hildon_banner_destroy)
1761 (hildon_banner_show_progress, hildon_banner_set_fraction):
1762 Remove the progress bar from HildonBanner and use a progress
1765 Fixes: NB#113761 (Update progress banner to use progress
1768 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1770 * hildon/hildon-banner.c:
1771 Calculate size of the banner label using the actual screen width
1772 rather than using a fixed value.
1774 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1777 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1779 * hildon/hildon-pannable-area.c,
1780 (hildon_pannable_area_class_init): Fixed signals documentation
1783 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1785 * configure.ac: post release version bump
1786 * debian/changelog: post release version bump
1788 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1793 * configure.ac: Bump version.
1794 * debian/changelog: Updates.
1796 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1798 * hildon/hildon-edit-toolbar.c
1799 (hildon_edit_toolbar_init):
1800 Don't let buttons in HildonEditToolbar receive focus.
1802 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1803 typing on an HW arrows key)
1805 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1807 * doc/Makefile.am: Fix build.
1809 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1811 * doc/Makefile.am: Do not redefine content_files.
1813 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1821 Renamed src/ to hildon/
1826 Include <hildon/hildon.h> directly in all examples.
1828 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1830 * src/hildon-sort-dialog.c
1831 (hildon_sort_dialog_add_sort_key_with_sorting)
1835 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1837 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1838 make distcheck passes.
1840 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1842 * Makefile.am: Enable gtk-doc during distcheck.
1844 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1846 * Makefile.am: Do not distribute the debian/ directory.
1848 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1850 * doc/Makefile.am: Add the extra SGML files to content_files,
1851 so that they are distributed properly.
1853 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1855 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1858 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1861 (hildon_note_new_information_with_icon_name): Set the "icon" property
1862 to preserve soundness.
1864 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1866 * src/hildon-font-selection-dialog.c
1867 (hildon_font_selection_dialog_set_property): Fail when the "family"
1868 property is set to NULL.
1870 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1875 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1877 * src/hildon-time-selector.h:
1878 Added HildonTimeSelectorFormatPolicy
1879 * src/hildon-time-selector.c:
1880 Added PROP_TIME_FORMAT_POLICY
1881 (_check_ampm_format): renamed to check_automatic_ampm_format
1882 (update_format_policy), (update_format_dependant_columns): new functions
1883 (hildon_time_selector_class_init)
1884 (hildon_time_selector_contructor)
1885 (hildon_time_selector_init)
1886 (hildon_time_selector_get_property)
1887 (hildon_time_selector_set_property)
1888 (hildon_time_selector_get_time)
1889 (hildon_time_selector_set_time)
1890 * src/hildon-touch-selector.h: new file
1891 * src/hildon-touch-selector.c
1892 (hildon_touch_selector_emit_changed)
1893 (hildon_touch_selector_block_changed)
1894 (hildon_touch_selector_unblock_changed)
1895 Added functions to allow to block the emission of the "changed" signal
1896 * src/hildon-picker-dialog.c
1897 (hildon_picker_dialog_show): call the parent show before the custom code
1898 * examples/hildon-time-button-example.c
1899 Modified, so now you can configure the time format using the new property
1901 Added a new property "time-format-policy" that allow to choose the time
1902 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1903 case it uses gconf in order to check if the time selector must use
1906 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1909 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1911 * src/hildon-note.c (hildon_note_init):
1912 Label in HildonNote must be left aligned, not centered. This
1913 reverts the last commit in HildonNote.
1915 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1916 is connectivity dialog)
1918 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1923 * doc/hildon-sections.txt:
1924 Added hildon_gtk_window_set_do_not_disturb()
1926 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1928 * src/hildon-note.c (hildon_note_init): Center label.
1930 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1933 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1938 * configure.ac: Bump version.
1939 * debian/changelog: Updates.
1941 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1943 * src/hildon-note-private.h: Add button-width to the private data.
1944 * src/hildon-note.c (+resize_button),
1945 (+hildon_note_orientation_update): methods to repack widgets on orientation
1947 (screen_size_changed): Call above method for confirmation notes.
1948 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1949 (hildon_note_rebuild): Store the original width request from buttons.
1951 Fixes: NB#109635 (Confirmation notes do not support portrait)
1953 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1955 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1956 when it is a progress note.
1958 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1961 in the note, since there are no horizontally arranged contents.
1963 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1965 * src/hildon-gtk.c (+set_flag): new generic method to
1966 set/delay a flag setting in a window.
1967 (hildon_gtk_window_set_progress_indicator):
1968 (hildon_gtk_window_set_do_not_disturb),
1969 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1970 avoid code redundance.
1972 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1974 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1976 * src/hildon-gtk.c (set_clear_window_flag),
1977 (do_set_progress_indicator), (do_set_do_not_disturb),
1978 (do_set_portrait_flags),
1979 (hildon_gtk_window_set_progress_indicator),
1980 (hildon_gtk_window_set_do_not_disturb),
1981 (hildon_gtk_window_set_portrait_flags):
1982 Allow setting dnd-flag, progress indicator, and portrait flags
1983 when the window is not realized.
1985 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1987 * src/hildon-pannable-area.c,
1988 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1989 the size request policy function and defines.
1991 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1993 * doc/hildon-sections.txt: Add the new API.
1994 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1995 method to set the portrait flags.
1996 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1998 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2000 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2002 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2003 to allow using this method with other flags.
2004 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2005 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2007 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2009 * src/hildon-touch-selector.c
2010 (hildon_touch_selector_append_text_column):
2011 Make the cell renderer use the smallest width possible.
2013 Fixes: NB#108470 (Selected items in multiple selection are either
2014 having a tick that is cut or not visible at all.)
2016 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2018 * src/hildon-touch-selector.c
2019 (hildon_touch_selector_append_text_column):
2022 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2024 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2025 Use g_strdup_printf() instead of a fixed size buffer.
2027 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2030 Close banners when a HildonAppMenu is popped up.
2032 Fixes: NB#111027 (Title menu closed immediately if activated when
2033 "Invalid e-mail address" banner is shown)
2035 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2040 * configure.ac: Bump version.
2041 * debian/changelog: Updates.
2043 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2045 * src/hildon-banner.c (hildon_banner_realize):
2046 Mark HildonBanner as supporting portrait mode.
2047 Use GDK to set window properties insetad of direct Xlib calls.
2049 Fixes: NB#111830 (HildonBanner should be marked as supporting
2052 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2054 * src/hildon-note.c (hildon_note_rebuild):
2055 Hide action area in information notes. Prevents text from being
2056 slightly aligned to the left.
2058 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2061 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2063 Patch by Mox Soini (ext-mox.soini@nokia.com)
2065 * src/hildon-banner.c (hildon_banner_create_animation):
2066 Use stylus-sized icons in animation banner.
2068 Fixes: NB#111206 (stylus sized icon for animation banner)
2070 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2074 (+hildon_gtk_window_set_do_not_disturb):
2075 New API to set the do-not-disturb flag.
2077 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2079 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2081 * examples/hildon-progress-indicator-example.c: Fix example
2083 * src/hildon-gtk.c (set_clear_window_flag)
2084 (hildon_gtk_window_set_progress_indicator):
2085 Create a generic function for setting flags to a window.
2086 Use GDK instead of direct Xlib calls.
2088 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-button.c (hildon_button_set_arrangement):
2091 Due to NB#88126, if one of the labels is too long it will be
2092 painted outside the button. The 'value' label is more likely to be
2093 the longest one, so we change its packing options in order to
2094 truncate it if necessary. As a side effect, the 'title' label will
2095 no longer be truncated.
2097 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2099 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2104 * configure.ac: Bump version.
2105 * debian/changelog: Updates.
2107 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2109 Deprecation of the hildon_pannable_area_set_size_request_policy
2110 API, the only policy properly supported in gtk+ nowadays is the
2113 * src/hildon-pannable-area.c,
2114 (hildon_pannable_area_size_request): Added a workaround for the
2115 size_request to avoid the problems of huge pixmaps in case someone
2116 is still using the function.
2117 * src/hildon-pannable-area.h: Deprecated the enum with the
2120 Fixes: NB#110244 (Problems with the
2121 hildon_pannable_area_set_size_request_policy API)
2123 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2125 * src/hildon-pannable-area.c,
2126 (hildon_pannable_area_init),
2127 (hildon_pannable_area_size_request),
2128 (hildon_pannable_area_style_set),
2129 (hildon_pannable_draw_vscroll),
2130 (hildon_pannable_draw_hscroll),
2131 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2132 indicator_width to clarify the use of the attribute.
2134 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2139 * configure.ac: Bump version.
2140 * debian/changelog: Updates.
2142 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2144 * src/hildon-picker-dialog.c
2145 * src/hildon-touch-selector.c
2146 Reverting the change that tried to avoid the hardcoded height on
2147 the picker dialog, as causes problems on the hildon-touch-selector
2150 Fixes: NB#110029 (selectors not scrolling to selected value)
2152 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2154 * src/hildon-touch-selector.c: Fix typos
2156 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2158 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2159 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2160 request more motions after using it.
2162 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2164 * src/hildon-calendar.c (hildon_calendar_expose),
2165 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2166 Remove unused variables.
2168 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2170 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2171 variable assignment.
2173 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2175 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2176 Check the return value of gtk_tree_selection_get_selected()
2179 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-animation-actor.c
2182 * src/hildon-button.c
2184 * src/hildon-pannable-area.c
2185 * src/hildon-picker-button.c
2186 * src/hildon-program.c
2187 * src/hildon-remote-texture.c
2188 * src/hildon-text-view.c
2189 * src/hildon-touch-selector.c
2190 * src/hildon-window-stack.c
2191 * src/hildon-window.c:
2192 Add missing 'Since: 2.2' tags.
2194 * doc/hildon-sections.txt:
2195 Add some missing symbols.
2197 * doc/hildon-docs.sgml:
2198 New 'Other' section for HildonAnimationActor and
2201 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2203 Patch by Iván Gómez (igomez@igalia.com)
2206 * doc/compiling.sgml
2207 * doc/hildon-docs.sgml
2208 * doc/hildon-sections.txt
2209 * doc/migration.sgml
2210 * doc/resources.sgml
2212 New chapters on using the Hildon library.
2213 Updated the general structure of the reference manual.
2214 Other minor documentation fixes.
2216 * src/hildon-calendar-popup.c
2217 * src/hildon-calendar.c
2218 * src/hildon-controlbar.c
2219 * src/hildon-date-editor.c
2220 * src/hildon-dialog.c
2221 * src/hildon-hvolumebar.c
2222 * src/hildon-number-editor.c
2223 * src/hildon-range-editor.c
2224 * src/hildon-sort-dialog.c
2225 * src/hildon-time-editor.c
2226 * src/hildon-time-picker.c
2227 * src/hildon-volumebar-range.c
2228 * src/hildon-volumebar.c
2229 * src/hildon-vvolumebar.c
2230 * src/hildon-weekday-picker.c:
2231 Add deprecation notes
2233 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2234 Document 'horizontal-movement' and 'vertical-movement' signals.
2236 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2241 * configure.ac: Bump version.
2242 * debian/changelog: Updates.
2244 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2246 * src/hildon-pannable-area.c,
2247 (hildon_pannable_area_class_init): increased the minimum velocity.
2248 (hildon_pannable_area_button_release_cb): Updated the
2249 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2250 setup. Review the code to control that last event.
2252 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2255 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2257 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2259 * src/hildon-get-password-dialog.c
2260 (hildon_get_password_set_property),
2261 (hildon_get_password_get_property), (create_contents):
2262 * src/hildon-login-dialog-private.h:
2263 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2264 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2265 (hildon_login_dialog_get_password):
2266 * src/hildon-set-password-dialog-private.h:
2267 * src/hildon-set-password-dialog.c
2268 (hildon_set_password_set_property),
2269 (hildon_set_password_get_property), (create_contents),
2270 (hildon_set_password_response_change),
2271 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2273 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2274 instead and look more Fremantle style.
2276 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2278 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2280 * doc/hildon-sections.txt
2281 * src/hildon-window-stack.h
2282 * src/hildon-window-stack.c
2283 (+hildon_window_stack_get_windows):
2284 New API to obtain the list of windows on a stack.
2286 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2288 * src/hildon-app-menu.c (hildon_app_menu_popup)
2289 (hildon_app_menu_class_init, -hildon_app_menu_show):
2290 Remove hildon_app_menu_show() and move all its checks to
2291 hildon_app_menu_popup()
2293 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2295 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2296 (_hildon_picker_dialog_set_selector): removed call to
2297 gtk_widget_set_size_request
2298 * src/hildon-touch-selector.c
2299 (_create_new_column): change the pannable size request policy
2301 Avoid to use a hardcoded height for the hildon picker dialog. In order
2302 to get that, we needed to change the hildon pannable size request
2304 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2306 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2309 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2312 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2314 * debian/control: Depend on osso-system-lock localization package.
2315 * src/hildon-code-dialog.c: Obtain the secu_application_title
2316 translation from osso-system-lock.
2317 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2318 for translation the atk related strings, that's not necessary.
2319 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2320 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2321 cancel button, it is not required.
2323 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2325 * src/hildon-pannable-area.c,
2326 (hildon_pannable_area_class_init): Modified the default value of
2327 the overshooting max speed, we have reduced it.
2329 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2331 * doc/hildon-sections.txt
2332 * src/hildon-window-private.h
2333 * src/hildon-window.h
2334 * src/hildon-window.c (hildon_window_class_init)
2335 (hildon_window_init, hildon_window_finalize)
2336 (hildon_window_realize, hildon_window_get_property)
2337 (hildon_window_set_property, hildon_window_update_markup)
2338 (hildon_window_get_markup, hildon_window_set_markup):
2339 New "markup" property and hildon_window_{get,set}_markup() methods.
2341 * examples/hildon-stackable-window-example.c (new_window):
2342 Update example to use hildon_window_set_markup()
2344 Fixes: NB#106375 (Need API to retitle a window with a title
2347 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2349 * src/hildon-pannable-area.c,
2350 (hildon_pannable_area_class_init): Changed the default value of
2351 the initial_hint to TRUE.
2352 (hildon_pannable_area_initial_effect): Changed the initial effect,
2353 not the effect is just the fade-out of the scrollbars.
2355 Fixes: NB#107775 (No scrollbars can be seen when several items are
2356 available in a dialog)
2358 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2360 * src/hildon-program.c (hildon_program_update_top_most):
2363 Fixes: NB#109179 (Memory leak in Hildon program)
2365 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-banner.c (-get_current_app_window):
2368 Remove unused function.
2370 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2372 * src/hildon-pannable-area.c: Modified the documentation of the
2373 get adjustments functions to explain the problem of using the
2374 adjustment directly.
2375 (hildon_pannable_area_class_init): Improved the explanation about
2378 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2380 * src/hildon-app-menu-private.h
2381 * src/hildon-app-menu.c
2382 (hildon_app_menu_class_init):
2383 Bring back the 'external-border' style property
2384 (hildon_app_menu_class_init, hildon_app_menu_init)
2385 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2386 Set a fixed width-request for the menu, independent of the number
2389 Fixes: NB#94957 (Smoothly opened application menu)
2391 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2393 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2395 * src/hildon-banner.c
2396 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2398 Make sure that the banner is correctly placed the first time it's
2400 (hildon_banner_check_position, -check_fullscreen_state):
2401 Show the banner in the same place no matter if the window is in
2402 fullscreen mode or not.
2404 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2406 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-touch-selector.c (_default_print_func): reorder
2409 concatenation for clarity.
2411 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2413 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2414 for multicolumn selectors.
2416 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2418 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2423 * configure.ac: Bump version.
2424 * debian/changelog: Updates.
2426 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2431 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2433 * configure.ac: removed libcangerra-gtk dependency
2434 * debian/control: removed libcanberra-gtk dependency
2435 * src/Makefile.am: removed libcanberra gtk related flags
2436 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2437 context, and manage a global canberra context instead
2439 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2441 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2443 Patch by Daniel Borgmann (danielb@openismus.com)
2445 * src/hildon-edit-toolbar.c:
2446 Adjust the left padding.
2447 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2448 Paint background of the edit toolbar.
2450 Fixes: NB#107897 (Patch to make editmodetoolbar background
2451 themeable and adjust margin)
2453 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2455 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2457 * src/hildon-program.c (hildon_program_update_top_most):
2458 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2460 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2461 change when the user tasks in/out of an application)
2463 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2465 * configure.ac: added libcangerra-gtk dependency
2466 * debian/control: added libcanberra-gtk dependency
2467 * src/Makefile.am: added libcanberra gtk related flags
2468 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2471 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2473 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-program.c (hildon_program_remove_window)
2476 (hildon_program_add_window): Add checks for the window
2477 parameter. Don't decrease the window counter if the window is not
2480 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2482 * src/hildon-pannable-area.c,
2483 (hildon_pannable_area_realize): Fixed position of the event_window
2484 in the realize method.
2486 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2488 * src/hildon-app-menu-private.h
2489 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2490 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2491 (hildon_app_menu_key_press, hildon_app_menu_init)
2492 (hildon_app_menu_finalize):
2493 Make sure that all idle functions are removed when the widget is
2496 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2498 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2503 * configure.ac: Bump version.
2504 * debian/changelog: Updates.
2506 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-entry.c
2509 (+hildon_entry_show_placeholder),
2510 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2511 that replace hildon_entry_update_contents().
2512 (hildon_entry_set_text),
2513 (hildon_entry_set_placeholder),
2514 (hildon_entry_focus_in_event),
2515 (hildon_entry_focus_out_event): Determine when it is needed
2516 either to show or hide the placeholder and call the above methods.
2518 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2519 when the placeholder text is already set)
2521 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2523 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2524 simple GdkPixbufAnim using the new icons for the banner.
2525 (hildon_banner_show_animation): Use the above mentioned method to
2526 create the animation widget.
2528 Fixes: NB#103564 (Make hildon animation banner use individual
2529 image files as the animation)
2531 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2533 * src/hildon-pannable-area.c,
2534 (hildon_pannable_leave_notify_event): Check if the child is NULL
2535 to avoid sending the leave.
2537 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2539 * src/hildon-pannable-area.c,
2540 (hildon_pannable_area_class_init),
2541 (hildon_pannable_leave_notify_event): Added a handler of the
2542 leave-notify-signal to consider when no motion notify before
2545 Fixes: NB#107494 (Items stay selected when clicking and moving
2546 away when inside pannable area)
2548 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2553 * configure.ac: Bump version.
2554 * debian/changelog: Updates.
2556 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2558 Patch by Alberto Garcia (agarcia@igalia.com)
2560 * src/hildon-date-button.c,
2561 (hildon_date_button_class_init),
2562 (hildon_date_button_init): Removed the construct property handling
2563 and created a default selector in the init method.
2564 * src/hildon-picker-button.c,
2565 (hildon_picker_button_class_init): Removed the construct flag of the
2568 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2570 * src/hildon-main.c (hildon_init):
2571 Don't allow hildon_init() to be called more than once.
2573 Fixes: NB#106607 (hildon_init should issue error message upon
2576 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2578 * examples/hildon-pannable-area-touch-list-example.c
2579 * examples/hildon-pannagle-area-touch-grid-example.c
2580 * examples/hildon-edit-toolbar-example.c
2581 * examples/hildon-touch-selector-multi-cells-example.c
2582 Removed the call to gtk_rc_parse_string, as it is not required since
2585 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2587 * src/hildon-pannable-area.c,
2588 (hildon_pannable_area_class_init): Modified the default panning
2589 threshold of the widget to 6px.
2591 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2592 than the threshold value ) within the button is not sending the
2595 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2597 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2598 for the treeview in the new column. This way, the touch list will never
2601 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2602 be selected manually for the HW keys to work)
2604 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2607 comparison instead of using strcmp(). Fixes a compiler warning as well.
2609 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2611 * doc/hildon-docs.sgml: Do not set the library version in the
2612 document title, use the releaseinfo tag for that purpose instead.
2614 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2617 Do not jump to the first item if the text in the entry is removed.
2619 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2624 * configure.ac: Bump version.
2625 * debian/changelog: Updates.
2627 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-entry.c (hildon_entry_refresh_contents):
2630 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2631 Use "ReversedSecondaryTextColor" for the placeholder text.
2633 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-text-view.c: Fix compilation warning.
2637 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-button.c (hildon_button_class_init): Don't make
2640 "title" and "value" construction properties, to prevent them from
2641 overwriting labels set from derived classes.
2643 * src/hildon-picker-button.c
2644 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2645 (hildon_picker_button_class_init): Make touch-selector a
2646 construction property.
2648 * src/hildon-date-button.c (hildon_date_button_class_init)
2649 (+hildon_date_button_constructed): Add a default date selector if
2652 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2654 * src/hildon-touch-selector.c: Small documentation fixes.
2656 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2658 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2660 * src/hildon-entry.c (hildon_entry_refresh_contents),
2661 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2662 widget name, set the logical color directly instead and a boolean
2663 showing_placeholder instead.
2664 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2665 use the widget name here either.
2667 Fixes: NB#105678 (HildonTextView should use logical colours
2668 instead of setting widget name)
2670 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2672 Patch by Daniel Elster (danielk@openismus.com)
2674 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2675 Add user_data parameter.
2676 (hildon_touch_selector_set_print_func_full): New function akin
2677 hildon_touch_selector_set_print_func() but with support for user
2678 data and a destroy callback.
2679 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2680 to clean up the print function user data.
2681 (hildon_touch_selector_class_init): Install dispose function.
2682 (HildonTouchSelectorPrivate::print_user_data),
2683 (HildonTouchSelectorPrivate::print_destroy_func): New private
2685 (hildon_touch_selector_init): Initialize new private members.
2686 (hildon_touch_selector_get_current_text): Pass along user data
2687 to the print function.
2688 (_default_print_func): Add dummy user_data to parameter list.
2689 * hildon-date-selector.c (_custom_print_func): ditto,
2690 * hildon-time-selector.c (_custom_print_func): ditto,
2691 * hildon-touch-selector-entry.c
2692 (hildon_touch_selector_entry_print_func): ditto.
2694 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2696 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2698 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2700 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2702 * src/hildon-pannable-area.c,
2703 (hildon_pannable_area_init),
2704 (hildon_pannable_area_button_press_cb),
2705 (hildon_pannable_area_motion_notify_cb): We have added code to
2706 handle the leave and enter events when using the motion events.
2708 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2710 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2712 * src/hildon-date-button.c (hildon_date_button_get_date)
2713 (hildon_date_button_set_date): Make sure that the button has a
2716 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2718 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2720 * src/hildon-pannable-area.c,
2721 (hildon_pannable_area_class_init),
2722 (hildon_pannable_area_calculate_velocity): Modify the use of the
2723 force and adapt the value.
2725 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2727 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2728 (hildon_app_menu_class_init): Hide the menu if it receives a
2729 delete-event, but don't destroy it
2731 Fixes: NB#104485 (Not able to address the call when application
2732 menu is opened at background)
2734 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-app-menu.c
2737 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2738 Remove the "external-border" style property, let the menu take its
2739 natural size (or the one set by the window manager)
2740 (hildon_app_menu_repack_items):
2741 Don't reshow the menu, avoid flickers.
2743 Partially fixes NB#94957 (Smoothly opened application menu)
2745 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2750 * configure.ac: Bump version.
2751 * debian/changelog: Updates.
2753 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2755 * src/hildon-pannable-area.c,
2756 (hildon_pannable_area_motion_notify_cb): We control that the
2757 direction error margin is used just in case the movement is
2758 allowed in the other direction.
2760 Fixes: NB#105012 (buttons inside a pannable area not getting
2761 release event when dragging/releasing)
2763 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2765 * src/hildon-pannable-area.c,
2766 (hildon_pannable_area_class_init),
2767 (hildon_pannable_area_get_property),
2768 (hildon_pannable_area_set_property),
2769 (hildon_pannable_area_initial_effect),
2770 (hildon_pannable_axis_scroll),
2771 (hildon_pannable_area_button_release_cb): Reviewed the
2772 overshooting effect, now it has its own max
2773 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2774 speed when bouncing.
2776 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2781 * configure.ac: Bump version.
2782 * debian/changelog: Updates.
2784 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2786 * src/hildon-pannable-area.c,
2787 (hildon_pannable_area_class_init): Changed the max speed, now
2788 users can launch the widget very fast. Reduced the default force,
2789 that way it is easier to control the launch speed.
2791 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2793 * src/hildon-pannable-area.c,
2794 (hildon_pannable_area_button_release_cb): Removed this check
2795 because it causes problems when the device is overloaded.
2797 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2799 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2800 add a current_text field to store the text entered in the
2801 touch selector entry.
2802 (_clean_current_selection): clean up the current text as well.
2803 (_save_current_selection), (_restore_current_selection):
2804 Save/restore the text in the entry if the selector is a
2805 HildonTouchSelectorEntry.
2807 Fixes: NB#102541 (value entered in the touch selector entry is not
2808 shown when opened for second time)
2810 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2812 * doc/hildon-sections.txt:
2813 * src/hildon-touch-selector-entry.c
2814 (+hildon_touch_selector_entry_get_entry):
2815 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2817 Fixes: NB#104815 (I need accessor to the entry inside
2818 HildonTouchSelectorEntry)
2820 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2823 (hildon_app_menu_class_init):
2824 New "filter-vertical-spacing" style property.
2826 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2828 * src/hildon-find-toolbar.c
2829 (hildon_find_toolbar_emit_close)
2830 (hildon_find_toolbar_emit_invalid_input)
2831 (hildon_find_toolbar_entry_activate):
2832 Use g_signal_emit() instead of g_signal_emit_by_name()
2834 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2836 Patch by Mox Soini (ext-mox.soini@nokia.com)
2838 * tests/TEST-CASES.txt
2839 * tests/check-hildon-banner.c
2840 * tests/check-hildon-note.c
2841 * src/hildon-banner.c
2842 * src/hildon-code-dialog.c
2843 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2844 * src/hildon-time-editor.c
2845 * examples/hildon-lookup-example.c (main):
2846 Replace obsolete icon names with new ones.
2848 * src/hildon-find-toolbar-private.h:
2849 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2850 (-hildon_find_toolbar_emit_search):
2851 Remove find button and change icon of close button.
2853 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2855 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-time-button.c (hildon_time_button_new_step):
2858 Use the "touch-selector" property to set the selector directly
2859 when creating the object.
2861 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2863 Added a new example application that allows tuning the pannable
2864 area and replaced defines with properties in order to simplify the
2865 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2866 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2867 PROP_DIRECTION_ERROR_MARGIN.
2869 * examples/hildon-pannable-area-tuning-example.c: New example
2871 * src/hildon-pannable-area.c,
2872 (hildon_pannable_area_class_init),
2873 (hildon_pannable_area_init),
2874 (hildon_pannable_area_get_property),
2875 (hildon_pannable_area_set_property),
2876 (hildon_pannable_area_launch_fade_timeout),
2877 (hildon_pannable_area_adjust_value_changed),
2878 (hildon_pannable_axis_scroll),
2879 (hildon_pannable_area_motion_notify_cb),
2880 (hildon_pannable_area_scroll_cb),
2881 (hildon_pannable_area_button_release_cb): We have converted some
2882 of the defines that control the widget to properties to simplify
2885 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2887 * src/hildon-app-menu.c (hildon_app_menu_map)
2888 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2889 so it's closed if a new window appears.
2891 Fixes: NB#104485 (Not able to address the call when application
2892 menu is opened at background)
2894 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2896 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2897 missing 'break' statement in in 'case' construct to avoid
2900 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2902 * src/hildon-touch-selector-entry.c
2903 (hildon_touch_selector_entry_get_property),
2904 (hildon_touch_selector_entry_set_property): Add missing 'break'
2905 statements in in 'case' constructs to avoid incorrect warnings.
2907 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2909 * src/hildon-time-editor.c
2910 (hildon_time_editor_get_time_separators): Do not crash if
2911 the first label is NULL.
2913 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2915 * src/hildon-date-selector.c (_month_days): Check for month to be
2916 strictly less than 12, since otherwise we may overrun the array.
2918 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-date-button.c (+hildon_date_button_new_full)
2921 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2922 (hildon_date_button_init): Set the date selector using a
2923 construction property, to make it happen after HildonButton's
2924 "value" property is set.
2926 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2927 current date by default)
2929 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2931 * doc/hildon-sections.txt
2932 * src/hildon-program.c
2933 * src/hildon-stackable-window.c
2934 * src/hildon-window.c:
2935 Documentation updates
2937 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2939 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2940 (hildon_window_stack_new, +hildon_window_stack_set_property)
2941 (+hildon_window_stack_get_property)
2942 (hildon_window_stack_class_init)
2943 (+hildon_window_stack_set_window_group)
2944 (+hildon_window_stack_get_window_group):
2945 Make the window group a construction property.
2947 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2949 * doc/hildon-sections.txt
2950 * src/hildon-stackable-window-private.h
2951 * src/hildon-stackable-window.h
2952 * src/hildon-stackable-window.c
2953 (-hildon_stackable_window_set_app_menu)
2954 (-hildon_stackable_window_get_app_menu)
2955 (-hildon_stackable_window_toggle_menu)
2956 (-hildon_stackable_window_finalize)
2957 (hildon_stackable_window_class_init)
2958 (hildon_stackable_window_init)
2959 * src/hildon-window-private.h
2960 * src/hildon-window.h
2961 * src/hildon-window.c (hildon_window_init)
2962 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2963 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2964 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2965 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2966 Moved all HildonAppMenu code to HildonWindow. The menu does not
2967 require a HildonStackableWindow anymore.
2969 * src/hildon-app-menu.c
2970 * src/hildon-program.c
2971 * examples/hildon-app-menu-example.c (main):
2972 Update examples and documentation to reflect HildonAppMenu
2975 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2977 * src/hildon-remote-texture.c
2978 * src/hildon-animation-actor.c:
2979 Don't include unused private headers.
2981 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-program-private.h
2984 * src/hildon-program.c
2985 (hildon_program_set_common_menu)
2986 (hildon_program_get_common_menu)
2987 (hildon_program_set_common_app_menu)
2988 (hildon_program_get_common_app_menu):
2989 Change common menu pointers from GtkWidget* to GtkMenu* and
2990 HildonAppMenu* to avoid unnecessary casts.
2992 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-window.c (hildon_window_set_main_menu):
2995 Removed incorrect 'Since:' tag
2997 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2999 * src/hildon-pannable-area.c,
3000 (hildon_pannable_area_calculate_velocity): We use now the
3001 RATIO_TOLERANCE here to check the distance, fixed typo in the
3003 (hildon_pannable_area_motion_notify_cb): We have to set the type
3004 and time even if we are not sending the motion.
3006 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3008 * doc/hildon-sections.txt
3009 * src/hildon-app-menu.h
3010 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3011 (+hildon_app_menu_get_filters): New methods to get the contents of
3014 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3017 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3019 * src/hildon-app-menu.c (hildon_app_menu_popup):
3022 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3024 * src/hildon-window.h
3025 * src/hildon-window.c (+hildon_window_get_main_menu)
3026 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3027 and deprecated hildon_window_get_menu().
3029 * src/hildon-stackable-window.h
3030 * src/hildon-stackable-window.c
3031 (+hildon_stackable_window_set_app_menu)
3032 (+hildon_stackable_window_get_app_menu)
3033 (hildon_stackable_window_set_main_menu): Created
3034 hildon_stackable_window_{get,set}_app_menu() and deprecated
3035 hildon_stackable_window_set_main_menu().
3037 * doc/hildon-sections.txt
3038 * examples/hildon-app-menu-example.c (main)
3039 * src/hildon-app-menu.c
3040 * src/hildon-program.c:
3041 Updated examples and documentation.
3043 Fixes: NB#103758 (No way to obtain a menu from a
3044 HildonStackableWindow)
3046 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3051 * configure.ac: Bump version.
3052 * debian/changelog: Updates.
3054 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3056 * examples/hildon-remote-texture-example.c: Include
3057 hildon-remote-texture.h explicitely.
3058 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3059 applications not defining _XOPEN_SOURCE which don't require this header.
3061 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3063 * doc/hildon-sections.txt
3064 * src/hildon-app-menu.h
3065 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3066 New function to pop up a HildonAppMenu
3068 * src/hildon-stackable-window.c
3069 (hildon_stackable_window_toggle_menu):
3070 Use hildon_app_menu_popup() to show the menu.
3072 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3074 * src/hildon-app-menu.c (hildon_app_menu_show)
3075 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3076 menu if there's another window between it and its parent window.
3078 Fixes: NB#100468 (Application menu window is launched even when a
3079 new secondary-window/dialog is pending to be shown/realized)
3081 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3083 * src/hildon-window-stack.c (hildon_window_stack_push)
3084 (hildon_window_stack_pop_and_push):
3085 Don't forget to push/pop the first window.
3086 Reverse the window list before calling _push_list()
3088 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-picker-button.h
3091 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3092 Remove "value_changed" slot to avoid ABI breakage
3094 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3096 * src/hildon-pannable-area.c,
3097 (hildon_pannable_area_realize),
3098 (hildon_pannable_area_unrealize),
3099 (hildon_pannable_draw_vscroll),
3100 (hildon_pannable_draw_hscroll): Changed the method to handle the
3101 GC used to draw the transparent scrollbar, this way we avoid
3102 creating the GC all the time when drawing the scrollbars.
3104 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3106 * src/hildon-pannable-area.c,
3107 (hildon_pannable_area_init),
3108 (hildon_pannable_area_remove): Removed some unnecessary casts.
3109 (hildon_pannable_area_dispose): Disconnected some signals before
3110 releasing the adjustments.
3112 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3114 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3115 Make sure that all widgets contained in the toolbar are shown.
3117 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3119 * doc/hildon-sections.txt
3120 * src/hildon-picker-button.h
3121 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3122 (_selection_changed, hildon_picker_button_on_dialog_response)
3123 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3124 New hildon_picker_button_value_changed() method.
3127 * src/hildon-picker-button-private.h
3128 * src/hildon-picker-button.c (hildon_picker_button_init)
3129 (+hildon_picker_button_disable_value_changed): Add protected
3130 function for disabling the "value-changed" signal.
3132 * src/hildon-date-button.c (hildon_date_button_set_date):
3133 Don't emit "value-changed" for each one of the three columns.
3135 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3136 before actual change of values)
3138 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3140 * src/hildon-pannable-area.c,
3141 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3142 for the treeview overshooting.
3144 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-banner.c (+hildon_banner_bind_style):
3147 Renamed from hildon_banner_bind_label_style(), now naming the
3148 banner itself as well.
3149 (hildon_banner_show_information),
3150 (hildon_banner_show_information_with_markup),
3151 (hildon_banner_show_animation), (hildon_banner_show_progress):
3152 Name the widgets and labels, based on their type.
3154 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3157 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-note.c (hildon_note_set_property): call
3160 hildon_note_rename() on HildonNote:note-type set.
3161 (hildon_note_rename): Name the note and its label, based on the
3162 HildonNote:note-type property.
3164 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3167 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3169 * src/hildon-pannable-area.c,
3170 (hildon_pannable_area_class_init),
3171 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3172 panning parameters, increased SPS and deceleration factor. Added
3173 also a margin to control fake directions.
3175 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3177 Patch by Sven Herzberg (sven@imendio.com)
3179 * configure.ac: Add missing AM_PROG_CC_C_0
3180 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3182 See NB#101420 (Update unit tests and fix make check)
3184 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3186 This patch was applied before but reverted because it caused
3187 problems, we have changed the main condition and tested the
3188 regressions we detected before and they work ok. We have done a
3189 complete review of the topmost algorithm in order to get a more
3192 * src/hildon-pannable-area.c,
3193 (hildon_pannable_area_get_topmost): Added a new parameter to
3194 filter the the windows that do not include those events.
3195 (hildon_pannable_area_button_press_cb),
3196 (hildon_pannable_area_button_release_cb),
3197 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3198 topmost function, we have added the new parameter.
3200 Fixes: NB#97458 (Pannable area prevents propagation of button
3203 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3205 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3206 if all columns in the selector have an item selected.
3207 (_on_dialog_response): Stop "response" signal emission if there is
3208 any selector column without selected items.
3210 Fixes: NB#101889 (Picker dialog should not close when nothing is
3211 selected in multiple selection list)
3213 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3215 * src/hildon-font-selection-dialog.c
3216 (hildon_font_selection_dialog_class_init),
3217 (hildon_font_selection_dialog_init): Remove the preview
3218 button and dialog, since previewing with default theming is likely
3219 to be overcomplicated. The :preview property has now no effect.
3220 Update documentation blurbs to inform about this.
3222 Fixes: NB#92297 (Preview content is not clearly visible for
3223 default colour text)
3225 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3227 Reviewed the geometry that handles the children size and
3228 scrollbar, now it tries a size and reviews the results depending
3229 on the scrollbars visibility.
3231 * src/hildon-pannable-area.c,
3232 (hildon_pannable_area_realize): Fixed a typo.
3233 (hildon_pannable_area_child_allocate_calculate): Added this
3234 function to calculate the child allocation.
3235 (hildon_pannable_area_size_allocate): Reviewed the allocation
3237 (hildon_pannable_area_check_scrollbars),
3238 (hildon_pannable_area_refresh): Refactored refresh function, this
3239 way we can call the code handling the scrollbars without causing a
3240 size_request, it is interesting in the allocate.
3241 (hildon_pannable_area_init): Replace the callbacks of the
3242 value_changed and changed signals to propertly deal with the
3244 (hildon_pannable_area_grab_notify),
3245 (hildon_pannable_area_initial_effect),
3246 (hildon_pannable_area_launch_fade_timeout),
3247 (hildon_pannable_area_adjust_changed),
3248 (hildon_pannable_area_adjust_value_changed),
3249 (hildon_pannable_area_redraw),
3250 (hildon_pannable_area_button_press_cb),
3251 (hildon_pannable_area_button_release_cb),
3252 (hildon_pannable_area_scroll_cb),
3253 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3254 code and use the new functions adjust_changed and
3255 adjust_value_changed.
3257 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3258 Contact editor dialog)
3260 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3265 * configure.ac: Bump version.
3266 * debian/changelog: Updates.
3268 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3270 * src/hildon-pannable-area.c,
3271 (hildon_pannable_area_get_topmost),
3272 (hildon_pannable_area_button_press_cb),
3273 (hildon_pannable_area_button_release_cb),
3274 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3275 topmost function adding the event mask. We have to try a
3276 differente approach because it is still causing problems (NB#9745,
3279 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3281 * src/hildon-banner.c:
3282 Update the maximum width of timed banners.
3283 (force_to_wrap_truncated): Enforce the maximum text width if the
3286 Fixes: NB#102413 (The text margins (wrapping) in information
3287 banner should be HILDON_MARGIN_TRIPLE)
3289 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3291 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3293 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3294 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3295 bound when calculating the scroll indicator position.
3297 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3298 treat ->lower correctly)
3300 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3303 expose event handling, since it is not necessary to draw the focus
3306 Fixes: NB#102467 (Do not show highlight on the text in
3309 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3311 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3312 full height of the toolbar for the button and the label.
3314 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3316 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3317 padding before the label and after the button.
3319 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3321 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3323 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3324 Add a GtkVSeparator between the button and the back arrow.
3325 Let the button have automatic size.
3326 Set a name to the widget for theming handling.
3328 Fixes: NB#101793 (Make edit toolbar the same height as window
3329 title bar (use title area theming))
3331 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-helper.c (attach_new_color_element): Fix memory
3336 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3338 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3340 * examples/hildon-button-example.c (common_buttons_window): Don't
3343 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3346 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3348 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-gtk.c: Check that the window is realized.
3352 Fixes: NB#102225 (Crash setting the progress indicator to a non
3355 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3357 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3358 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3359 instead of modifying the one in the widget style.
3361 Fixes: NB#101043 (Second row of all the command button are
3362 displayed in transparent mode.)
3364 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3366 * src/hildon-date-button.c
3367 * src/hildon-time-button.c: Add gettext macros
3369 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3371 * src/hildon-date-button.c (hildon_date_button_new):
3372 * src/hildon-time-button.c (hildon_time_button_new_step):
3373 Use new logical strings to set the button default title.
3375 Fixes: NB#99915 (Date and Time options are not localised in Date
3378 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3380 * src/hildon-pannable-area.c
3381 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3382 the PANNING_THRESHOLD.
3384 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3386 * src/hildon-pannable-area.c,
3387 (hildon_pannable_area_class_init): Increased the maximum speed.
3388 (hildon_pannable_area_get_property),
3389 (hildon_pannable_area_set_property),
3390 (hildon_pannable_area_timeout): Added a new low friction mode, it
3391 allows the user avoid friction when launching the widget fast
3392 enough. It is interesting to traverse long lists.
3394 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3397 (+hildon_stackable_window_delete_event): Ignore delete events if
3398 the window is not the topmost one.
3400 Fixes: NB#101698 (Back button long press and delete-event handling)
3402 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3404 * src/hildon-pannable-area.c,
3405 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3406 gtk-dnd-drag-threshold, it was too big. We have defined our own
3407 dnd define and set a smaller value: PANNIG_THRESHOLD.
3409 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3412 user-defined icons, use always the default one.
3414 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3416 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3418 This patch was applied before but reverted because it caused
3419 problems, we have changed the main condition and tested the
3420 regressions we detected before and they work ok.
3422 * src/hildon-pannable-area.c,
3423 (hildon_pannable_area_get_topmost): Added a new parameter to
3424 filter the the windows that do not include those events. Added
3425 also a condition when finding the window to filter windows that do
3426 not ask for those events.
3427 (hildon_pannable_area_button_press_cb),
3428 (hildon_pannable_area_button_release_cb),
3429 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3430 topmost function, we have added the new parameter.
3432 Fixes: NB#97458 (Pannable area prevents propagation of button
3435 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3437 * tests/check-hildon-color-button.c (START_TEST): do not leak
3440 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3442 * src/hildon-font-selection-dialog.c
3443 (hildon_font_selection_dialog_get_preview_text): Return NULL
3444 instead of FALSE on the g_return_val_if_fail().
3446 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3448 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3449 * src/hildon-date-selector.c
3450 (hildon_date_selector_select_current_date):
3451 Do not compare unsigned integers to be greater than or equal 0,
3452 because it's always TRUE.
3454 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3456 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3457 (hildon_date_selector_constructor): Do not select the current
3458 date until we are handle the "changed" signal, to avoid having bogus
3459 elements in the days model.
3461 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3464 for num_days, since _month_days() can return a negative value.
3466 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-caption.c (hildon_caption_size_allocate):
3469 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3470 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3472 Initialize allocation variables to 0, to avoid eventually using
3473 unitialized variables.
3475 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3477 * src/hildon-bread-crumb-trail.c
3478 (hildon_bread_crumb_trail_size_allocate):
3479 * src/hildon-calendar.c (hildon_calendar_set_background):
3480 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3481 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3482 * src/hildon-seekbar.c (hildon_seekbar_init):
3483 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3484 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3485 * src/hildon-touch-selector-entry.c
3486 (hildon_touch_selector_get_text_from_model):
3487 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3488 * src/hildon-window.c (hildon_window_finalize):
3490 Remove many unused variables.
3492 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3494 * src/hildon-seekbar.c: (hildon_seekbar_init),
3495 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3497 Remove unnecessary g_assert() calls.
3499 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3501 * src/hildon-caption.c: (hildon_caption_expose),
3502 (hildon_caption_set_property), (hildon_caption_init),
3503 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3504 (hildon_caption_size_request), (hildon_caption_size_allocate),
3505 (hildon_caption_forall), (hildon_caption_set_separator),
3506 (hildon_caption_activate), (hildon_caption_set_child_expand),
3507 (hildon_caption_set_label_text),
3508 (hildon_caption_get_label_alignment):
3510 Remove unnecessary g_assert() calls.
3512 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3514 * src/hildon-banner.c
3515 (hildon_banner_map, hildon_banner_init): Make banner temporary
3516 before mapping it to avoid closing other temporary windows, but
3517 make it non-temporary afterwards to avoid being closed by other
3518 non-temporary windows.
3519 (-hildon_banner_client_event, hildon_banner_init):
3520 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3522 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3525 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3527 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3530 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3532 * src/hildon-remote-texture.c
3533 * src/hildon-remote-texture.h
3534 * src/hildon-remote-texture-private.h
3535 * examples/hildon-remote-texture-example.c:
3536 Updates/fixes to remote-texture and its example.
3538 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3540 Patch by Mox Soini (ext-mox.soini@nokia.com)
3542 * src/hildon-code-dialog.c: Update logical id.
3543 * src/hildon-set-password-dialog.c: Update logical id.
3545 Fixes: NB#100646 (Logical strings is shown for ok in set
3546 password,Password needed dialogs)
3548 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3551 * src/hildon-remote-texture.c
3552 * src/hildon-remote-texture.h
3553 * src/hildon-remote-texture-private.h
3555 Added remote texture widget (for Clutter shared memory textures)
3557 * examples/hildon-remote-texture-example.c
3558 * examples/Makefile.am
3559 Added example file for remote texture usage
3561 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3563 * configure.ac: post release version bump.
3564 * debian/changelog: version bump.
3566 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3571 * configure.ac: Bump version.
3572 * debian/changelog: Updates.
3574 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3576 * src/hildon-date-selector.c (hildon_date_selector_init)
3577 (hildon_date_selector_constructor): Don't connect to the "changed"
3578 signal until the selector is completely constructed.
3580 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3582 * src/hildon-touch-selector.c: (_create_new_column),
3583 (hildon_touch_selector_append_column),
3584 (hildon_touch_selector_set_column_selection_mode),
3585 (hildon_touch_selector_set_active),
3586 (hildon_touch_selector_select_iter):
3587 Emit the HildonTouchSelector::changed signal every time selection
3588 is changed in any of the methods above. This behavior was already
3589 documented but not fully functional.
3591 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3592 selection is programmatically changed)
3594 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3596 * doc/hildon-sections.txt: Remove obsolete icon
3597 sizes from here as well.
3599 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3601 * examples/hildon-stackable-window-example.c (add_window): Remove
3604 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3606 * src/hildon-app-menu.c
3607 (hildon_app_menu_show): Check whether the parent window of a menu
3608 is topmost before popping it up.
3610 Fixes: NB#100468 (Application menu window is launched even when a
3611 new secondary-window/dialog is pending to be shown/realized.)
3613 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3615 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3618 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3620 Patch by Mox Soini (ext-mox.soini@nokia.com)
3622 * src/hildon-banner.c: (hildon_banner_show_animation):
3623 use stylus size instead of obsolete note size.
3624 * src/hildon-defines.h: Update icon sizes.
3626 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-touch-selector-entry.c:
3629 (hildon_touch_selector_entry_init): Disable unsupported
3631 (hildon_touch_selector_entry_get_text_column): Emit a warning
3632 if an unsupported input modes is used and explicitile state
3633 these modes in the documentation.
3635 Fixes: NB#99802 (Hildon touch selector entry not working properly
3636 for some of the input modes)
3638 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3640 * src/hildon-pannable-area.c,
3641 (hildon_pannable_area_init): Added the changed signal handlers of
3644 Fixes: NB#100320 (HildonPannableArea does not listen to
3645 GtkAdjustment "change" signals)
3647 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3649 * doc/hildon-sections.txt
3650 * src/hildon-window-private.h
3651 * src/hildon-window.h
3652 * src/hildon-window.c (hildon_window_init)
3653 (hildon_window_realize, hildon_window_unrealize)
3654 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3655 (hildon_window_size_request, hildon_window_size_allocate)
3656 (hildon_window_forall, hildon_window_show_all)
3657 (hildon_window_destroy, +paint_edit_toolbar)
3658 (+hildon_window_set_edit_toolbar):
3659 New hildon_window_set_edit_toolbar() method, to add a
3660 HildonEditToolbar to a window without having to pack it manually.
3662 Reorganize hildon_window_size_allocate()
3664 * src/hildon-edit-toolbar.c: Update documentation.
3666 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3667 example to use the new API.
3669 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3671 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3673 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3674 Remove from stack before calling parent's hide.
3676 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3678 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3679 window is removed from the middle of the stack, update the
3680 transiency of the previous one.
3682 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3685 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3687 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3688 block/unblock the signal handler if it's not actually being used.
3689 Fixes some critical warnings.
3691 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3693 Based on a patch by Iván Gómez (igomez@igalia.com)
3695 * src/hildon-banner.c
3699 * src/hildon-pannable-area.c
3700 * src/hildon-picker-dialog.c
3701 * src/hildon-wizard-dialog.h
3702 * src/hildon-wizard-dialog.c: Documentation updates.
3704 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3705 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3707 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3709 * configure.ac: post release version bump.
3710 * debian/changelog: version bump.
3712 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3717 * configure.ac: Bump version.
3718 * debian/changelog: Updates.
3720 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3722 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3723 a stock icon nor change the relief of the back arrow.
3725 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3726 graphics from theme)
3728 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3730 * src/hildon-button.c (hildon_button_set_alignment): Use
3731 priv->alignment if the button has no child yet.
3733 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-button.c: (hildon_button_init): Set the
3736 button style during initialization to give it the proper
3739 Fixes: NB#99713 (HildonButton value label color is wrong)
3741 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-touch-selector.c: Document
3744 hildon_touch_selector_center_on_selected()
3746 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3749 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3750 all menu items, but not the menu itself.
3751 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3752 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3753 items after adding them to the menu so keyboard accelerators work.
3754 (hildon_app_menu_show): Don't show the menu if it contains items
3755 but none of them are visible.
3757 * examples/hildon-app-menu-example.c (create_menu): Use
3758 gtk_widget_show_all() to show all menu items.
3760 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3762 * src/hildon-picker-dialog.c:
3763 (-_update_title_on_selector_changed_cb),
3764 (-_dialog_update_title): Removed.
3765 (_select_on_selector_changed_cb), (_on_dialog_response),
3766 (on_selector_columns_changed): Do not update the dialog title.
3767 (setup_interaction_mode): Do not connect to
3768 HildonTouchSelector::changed signal if there's a "done" button, as
3769 the dialog title doesn't need to be updated.
3771 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3774 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3776 Patch by Kristian Rietveld (kris@imendio.com)
3778 * src/hildon-touch-selector.c: (_create_new_column): Use new
3779 GtkTreeView::hildon-row-tapped signal to react to user interactions
3780 instead of ::changed.
3782 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3783 with some dynamic tree model)
3785 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3788 (+screen_size_changed, +label_size_request)
3789 (hildon_note_class_init): Make the Hildon information note have a
3790 minimum height, and make its text hvae a maximum width.
3792 Fixes: NB#98614 (Hildon information note (background) should have
3793 minimum height and maximum text width)
3795 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3797 * src/hildon-banner.h
3798 * src/hildon-banner.c (hildon_banner_show_information)
3799 (hildon_banner_show_informationf)
3800 (hildon_banner_show_information_with_markup): Update documentation
3801 to reflect that the icon_name parameter is not used anymore.
3802 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3803 Remove all code from these functions and mark them as deprecated.
3804 (hildon_banner_show_progress): Mark as deprecated.
3806 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3808 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3810 * src/hildon-pannable-area.c,
3811 (hildon_pannable_area_class_init),
3812 (tranparency_color),
3813 (hildon_pannable_draw_vscroll),
3814 (hildon_pannable_draw_hscroll),
3815 (hildon_pannable_area_expose_event): Added a new way to render the
3816 scrollbars of the pannable area avoiding using cairo at all. This
3817 way we improve the performance of the pannable area rendering. The
3818 cairo rendering procedure is still in the code, we can control
3819 which one to use changing the value of the define
3820 USE_CAIRO_SCROLLBARS.
3822 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3824 * configure.ac: post release version bump.
3825 * debian/changelog: version bump.
3827 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3832 * configure.ac: Bump version.
3833 * debian/changelog: Updates.
3835 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3837 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3838 banners instead of destroying them when they receive a button
3841 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3843 Reverted commit 34028, it was causing regressions, probably the
3844 topmost condition is not correct, we have to check it in more
3845 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3846 propagation of button press events)
3848 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3851 that the selection is not empty before attempting to retrieve the
3852 current ampm selection.
3854 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3856 * src/hildon-picker-button.c:
3857 (hildon_picker_button_on_dialog_response): Directly update the
3858 button contents when required instead of calling _selection_changed.
3860 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3862 * src/hildon-program.c (hildon_program_update_top_most): Update
3863 'is-topmost' property also when wm_hints is not set.
3865 Fixes: NB#98383 (is-topmost signal is not emitted when task
3866 switcher is clicked.)
3868 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3870 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3874 * src/hildon-animation-actor.c,
3875 * src/hildon-animation-actor.h: Added the animation actor class,
3876 this widget represents an animation actor for WM-assisted
3877 animation effects in the Hildon framework.
3879 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3881 * src/hildon-window-stack-private.h
3882 * src/hildon-window-stack.c
3883 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3884 Avoid calling gtk_widget_show() again indirectly from
3885 hildon_stackable_window_show()
3887 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3892 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3894 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3895 (hildon_time_selector_init): Move the construction of the hours and
3896 ampm columns to the constructor to preserve the order the columns
3899 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3901 * src/hildon-picker-dialog.c:
3902 (hildon_picker_dialog_class_init): Connect a realize method.
3903 (+hildon_picker_dialog_realize): Setup the interaction mode here
3905 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3906 yet, do it during the realize instead.
3907 (_on_dialog_response):
3908 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3909 if the widget is not realized, to avoid the dialog response before it
3912 Avoid premature responses in the HildonPickerDialog that can cause it
3913 to be hidden before it's even shown.
3915 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3918 (on_selector_columns_changed), (requires_done_button),
3919 (+prepare_action_area), (setup_interaction_mode),
3920 (_hildon_picker_dialog_set_selector):
3922 Split the interaction mode setup into preparation of the
3923 action area (prepare_action_area()) and the connection of
3924 the signals in setup_interaction_mode() and update the code to
3927 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3929 * src/hildon-pannable-area.c,
3930 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3931 per second to 15, we will check if this is ok regarding
3934 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3936 * src/hildon-pannable-area.c,
3937 (hildon_pannable_axis_scroll): Avoid resize if we already have
3938 reached overshoot_max.
3940 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3942 * src/hildon-pannable-area.c,
3943 (hildon_pannable_area_init),
3944 (hildon_pannable_area_realize),
3945 (hildon_pannable_area_size_allocate),
3946 (hildon_pannable_area_map),
3947 (hildon_pannable_area_unmap),
3948 (hildon_pannable_draw_vscroll),
3949 (hildon_pannable_draw_hscroll),
3950 (hildon_pannable_area_expose_event),
3951 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3952 pannable are to avoid the expose events go to the window and
3953 redraw the window. We save this way that part of the stack and the
3954 paint_boxes. We had to change the positions of the elements when
3957 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3959 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3960 * src/hildon-color-chooser-dialog.c:
3961 (hildon_color_chooser_dialog_init):
3962 * src/hildon-font-selection-dialog.c:
3963 (hildon_font_selection_dialog_init),
3964 (hildon_font_selection_dialog_show_preview):
3965 * src/hildon-get-password-dialog.c:
3966 * src/hildon-login-dialog.c:
3967 * src/hildon-set-password-dialog.c:
3968 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3969 * src/hildon-time-picker.c: (hildon_time_picker_init):
3971 Remove obsolete logical string IDs and update to the appropriate ones.
3973 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3975 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3977 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3978 that happens if the window hasn't been realized yet.
3980 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3981 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3983 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3985 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3986 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3989 Fixes: NB#98537 (Device hangs in account settings dialog)
3991 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3993 * configure.ac: post release version bump.
3994 * debian/changelog: version bump
3996 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4001 * configure.ac: Bump version.
4002 * debian/changelog: Updates.
4004 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4006 Added a new function to the HildonTimeButton widget that allows to
4007 change the step of the minutes in the selector associated with the
4008 button: hildon_time_button_new_step
4010 * src/hildon-time-button.c,
4011 (hildon_time_button_init),
4012 (hildon_time_button_new),
4013 (hildon_time_button_new_step):
4014 * src/hildon-time-button.h: Added the new function and refactored
4016 * examples/hildon-time-button-example.c,
4017 (main): We have replaced the function without parameters with the
4018 function with the steps set to 5
4020 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4022 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4024 * src/hildon-time-selector.c,
4025 (hildon_time_selector_class_init),
4026 (hildon_time_selector_constructor),
4027 (hildon_time_selector_get_property),
4028 (hildon_time_selector_set_property),
4029 (_create_minutes_model),
4030 (hildon_time_selector_new_step),
4031 (hildon_time_selector_set_time),
4032 * src/hildon-time-selector.h: Added a new property to the
4033 HildonTimeSelector (minutes-step), we use that property to control
4034 the steps between the minutes in the list of the selector. We have
4035 added a new function to the API to create a widget changing the
4036 step: hildon_time_selector_new_step.
4038 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4040 * src/hildon-time-selector.c,
4041 (hildon_time_selector_class_init),
4042 (hildon_time_selector_constructor),
4043 (hildon_time_selector_init): Overrided the construct function when
4044 creating the time selector object. We have moved the minutes model
4045 handling code from the init to the new construction function:
4046 hildon_time_selector_constructor.
4048 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4050 * examples/hildon-date-button-example.c: (main): Use the new
4051 hildon_date_button_new_with_year_range() method in the example.
4052 * src/hildon-date-button.c:
4053 (+hildon_date_button_new_with_year_range): New public method
4054 to conveniently create a HildonDateButton with a custom year range
4055 in its HildonDateSelector.
4056 * src/hildon-date-button.h: Add the new public method definition.
4058 Fixes: NB#97908 (Not possible to change the year range in
4059 HildonDateSelector/HildonDateButton)
4061 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4063 * src/hildon-date-selector.c:
4064 (+hildon_date_selector_set_property),
4065 (+hildon_date_selector_get_property),
4066 (hildon_date_selector_class_init): Install new properties "min-year"
4067 and "max-year" to define boundaries for the year column.
4068 (_create_year_model): Use the boundary properties to populate the model.
4069 (+hildon_date_selector_new_with_year_range): New public method to
4070 create a HildonDateSelector with a user defined year range.
4071 (hildon_date_selector_select_current_date): Use the new boundaries to
4072 calculate the iterator of current year.
4073 * src/hildon-date-selector.h: Add the new public method definition.
4075 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4077 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4078 Install a constructor method.
4079 (+hildon_date_selector_construct_ui): construct the widget.
4080 (+hildon_date_selector_constructor): new constructor.
4081 (+hildon_date_selector_init): move out widget construction code to
4082 the new constructor.
4084 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4087 that there's actually a month or year selected before obtaining them.
4088 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4089 of the HildonTouchSelector::changed signal, as it was emitted on every
4090 single item selection.
4092 Fix some warnings and possible crashers due to the selection restoring.
4094 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4096 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4097 the signal handlers only after creating the dialog instead of on every
4100 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4102 * src/hildon-button.c (hildon_button_init)
4103 * src/hildon-check-button.c (hildon_check_button_init)
4104 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4105 focus when clicked by default.
4107 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4112 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4114 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4115 Alejandro G. Castro (alex@igalia.com)
4117 * src/hildon-picker-dialog.c:
4118 (hildon_picker_dialog_class_init): install new "center-on-show"
4120 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4121 (hildon_picker_dialog_set_property): add setter code for the new
4123 (hildon_picker_dialog_get_property): add getter code for the new
4125 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4126 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4129 Fixes: NB#92849 (Selected item is not always visible when
4130 HildonTouchSelector is shown)
4132 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4134 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4135 Alejandro G. Castro (alex@igalia.com)
4137 * src/hildon-touch-selector.c:
4138 (_create_new_column): Do not connect to the "realize" signal of the
4140 (hildon_touch_selector_append_column): center on the selected items
4141 when a new column is appended.
4142 (hildon_touch_selector_select_iter): Factor out the code to select a
4143 column to hildon_touch_selector_scroll_to().
4144 (+search_nearest_element): Method to retrieve the nearest selected
4145 element to the visible area of the pannable area in a column.
4146 (+on_realize_cb): scroll to the initially selected item.
4147 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4148 the pannable area is realized, otherwise delay this until it is.
4149 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4150 selected items of a given column.
4151 (+hildon_touch_selector_center_on_selected): Public method to center
4152 all columns on the nearest selected item.
4153 * src/hildon-touch-selector.h: Add definition for
4154 hildon_touch_selector_center_on_selected().
4156 Implement public API to ensure visibility of all selected items in
4157 a HildonTouchSelector.
4159 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4161 Fixed a problem in the fading when calling the scroll_to API, and
4162 improve scrollbar fading handling.
4164 * src/hildon-pannable-area.c,
4165 (hildon_pannable_area_grab_notify): avoid the timeout when the
4167 (hildon_pannable_area_button_press_cb),
4168 (hildon_pannable_area_motion_notify_cb): Code style changes.
4169 (hildon_pannable_area_button_release_cb): Review the conditions
4170 when releasing the mouse button to avoid unrequired fading
4172 (hildon_pannable_area_scroll_to): Do not calculate and set the
4173 velocity if the scroll is not required.
4175 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4177 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4178 Don't check whether the new selector is NULL: it cannot be.
4179 Hold a reference to the selector while doing the replacement.
4181 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4183 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4184 unnecessary size_request in a removed widget.
4186 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4189 an unnecessary reference tracking that was leaking.
4191 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4193 Added delayed motion notify event handling, this way we can
4194 discard redrawing if more than 25 events arrive per second.
4196 * src/hildon-pannable-area.c,
4197 (hildon_pannable_area_init): Initialized the new private atributes
4198 controlling this timeout
4199 (hildon_pannable_area_dispose): Remove the timeout that controls
4200 the motion notify events.
4201 (hildon_pannable_area_scroll): Added a condition to control the
4202 use of the acceleration.
4203 (hildon_pannable_area_motion_event_scroll_timeout),
4204 (hildon_pannable_area_motion_event_scroll): Added this two
4205 functions, they handle the motion notify events inside the
4207 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4208 to the scroll method with the new function.
4209 (hildon_pannable_area_button_release_cb): We have to remove the
4210 timeout handler and move to the last position if the last motion
4211 events were not handled.
4213 Fixes: NB#97028 (Pannable area updates on every motion event)
4215 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4217 * src/hildon-pannable-area.c,
4218 (hildon_pannable_area_get_topmost): Added a new parameter to
4219 filter the the windows that do not include those events. Added
4220 also a condition when finding the window to filter windows that do
4221 not ask for those events.
4222 (hildon_pannable_area_button_press_cb),
4223 (hildon_pannable_area_button_release_cb),
4224 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4225 topmost function, we have added the new parameter.
4227 Fixes: NB#97458 (Pannable area prevents propagation of button
4230 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4232 * src/hildon-pannable-area.c,
4233 (hildon_pannable_area_initial_effect): Added controls before
4234 launching the timeout and the idle functions.
4235 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4236 of the method, in some situations it can return with TRUE and 0 in
4238 (hildon_pannable_area_button_press_cb): We do not need to set
4239 DELAY for fading out here.
4241 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4243 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4246 post-cleaning if the selection is not NULL.
4248 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4251 all items before restoring the selection.
4253 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-touch-selector.c:
4256 (+hildon_touch_selector_unselect_all):
4257 * src/hildon-touch-selector.h: New API to unselect all items in a
4258 column of the touch selector.
4260 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4262 * src/hildon-pannable-area.c,
4263 (hildon_pannable_area_redraw): Added a call to the refresh
4264 function inside the redraw because apparently in some cases the
4265 change in the adjustment does not imply a size allocate.
4267 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4268 despite the view not being scrollable)
4270 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4273 leak. Check for NULL before attempting to set the window title.
4275 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4277 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4278 whether to show or not the 'Done' button each time the dialog is
4279 shown, as it depends on the HildonTouchSelector selection mode.
4281 Fixes: NB#96226 (In multiple selection mode Done button is shown
4282 sometimes in listpicker)
4284 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4286 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4287 for the number of columns in the HildonTouchSelector more than once.
4289 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4291 * src/hildon-touch-selector.c: Minor documentation fixes.
4293 * src/hildon-picker-dialog.c (+_dialog_update_title)
4294 (_select_on_selector_changed_cb)
4295 (_update_title_on_selector_changed_cb)
4296 (on_selector_columns_changed): Update dialog title when there's no
4297 'Done' button and also when the number of columns in the selector
4301 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4302 (+_selection_changed, hildon_picker_button_on_dialog_response)
4303 (hildon_picker_button_selector_selection_changed)
4304 (+hildon_picker_button_selector_columns_changed)
4305 (hildon_picker_button_set_selector): Update button value and emit
4306 'value-changed' when the number of columns in the selector
4310 Fixes: NB#96225 (Dialog titles are not shown according to the
4311 values selected in the list picker)
4313 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4315 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4316 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4317 New "arrow-width" and "arrow-height" style properties to set the
4318 size of the arrow button.
4319 Set name of arrow button ("hildon-edit-toolbar-arrow").
4321 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4322 graphics from theme)
4324 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4326 * src/hildon-picker-button.c:
4327 (hildon_picker_button_selector_selection_changed): Use
4328 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4329 the dialog is present.
4331 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4332 the selection is accepted in the dialog)
4334 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4336 * src/hildon-color-chooser.h
4337 * src/hildon-color-chooser-dialog.h:
4338 Added G_BEGIN_DECLS and G_END_DECLS
4340 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4342 (_clean_current_selection): plug a leak in the list.
4344 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4346 * src/hildon-picker-dialog.c:
4347 (+free_path_list): Method to free a GList of GtkTreePaths.
4348 (_clean_current_selection), (_save_current_selection),
4349 (_restore_current_selection): Save the current selection in
4350 as a list of lists, to support multiple selection properly.
4352 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4354 patch by Claudio Saavedra (csaavedra@igalia.com)
4356 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4357 Store the press position.
4358 (+hildon_text_view_button_release_event): If the release position is
4359 close enough to the press position, move the cursor here. Otherwise,
4361 (hildon_text_view_class_init): Override GtkTextView press, release, and
4362 motion event handlers, disabling this way text selection through
4363 pointer interaction, and allowing the container widget to handle the
4366 Fixes: NB#95828 (HildonTextView functionality)
4368 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4370 Based on a patch by Iván Gómez (igomez@igalia.com)
4372 * src/hildon-button.[ch]
4373 * src/hildon-calendar.c
4374 * src/hildon-check-button.c
4375 * src/hildon-date-editor.c
4376 * src/hildon-date-selector.c
4377 * src/hildon-picker-button.c
4378 * src/hildon-time-editor.c
4379 * src/hildon-time-selector.c
4380 * src/hildon-touch-selector.[ch]:
4381 Documentation updates
4383 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4385 * src/hildon-pannable-area.c,
4386 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4387 threshold, it was required due to X events handling.
4389 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4391 * src/hildon-pannable-area.c,
4392 (hildon_pannable_area_grab_notify),
4393 (hildon_pannable_area_initial_effect),
4394 (hildon_pannable_area_button_press_cb),
4395 (hildon_pannable_area_button_release_cb),
4396 (hildon_pannable_area_scroll_cb),
4397 (hildon_pannable_area_scroll_to): Review the timeout management of
4398 the scrollbar, the frecuency was incorrectly set.
4400 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4402 * src/hildon-picker-button.c:
4403 (+hildon_picker_button_on_dialog_response),
4404 (hildon_picker_button_clicked): Present the dialog instead of
4405 running it with gtk_dialog_run().
4407 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4410 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4412 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4413 (hildon_app_menu_finalize): When a window is hidden it doesn't
4414 emit notify::is-topmost, so make sure than the menu also
4415 disappears in that case.
4416 (parent_window_topmost_notify): Renamed from parent_window_hidden
4418 Fixes: NB#94460 (stackable window's menu is not closed when its
4421 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4423 * src/hildon-touch-selector-entry.c:
4424 (+hildon_touch_selector_entry_set_input_mode),
4425 (+hildon_touch_selector_entry_get_input_mode):
4426 * src/hildon-touch-selector-entry.h: New methods to access the input
4427 mode in the selector's entry.
4429 Fixes: NB#93410 (API required for setting IM mode in
4430 HildonTouchSelectorEntry)
4432 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4434 * configure.ac: post release version bump.
4435 * debian/changelog: version bump
4437 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4442 * configure.ac: Bump version.
4443 * debian/changelog: Updates.
4445 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4447 * src/hildon-touch-selector.c:
4448 (_hildon_touch_selector_has_multiple_selection): No need
4449 to initialize the variables here.
4451 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4453 * src/hildon-note-private.h
4454 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4455 (hildon_note_finalize, hildon_note_rebuild): Close information
4456 notes when they receive a button press.
4458 Fixes: NB#89890 (Information notes does not get disappeared after
4461 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4463 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4464 mark from the wizard title, as it's not really necessary. Also,
4465 do not display the page title if not set.
4467 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4469 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4470 (parent_window_hidden): Use the window's "is-topmost" property to
4471 detect when to hide the menu.
4473 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4475 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4476 (hildon_app_menu_finalize): If the parent window of the menu is
4477 hidden, hide the menu too.
4479 Fixes: NB#94460 (stackable window's menu is not closed when its
4482 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4485 * debian/libhildon1-examples.install
4487 * examples/Makefile.am:
4488 Use dh_install to install all examples.
4489 Use DEB_SRCDIR instead of defining SOURCE_DIR
4491 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4493 * configure.ac: post release version bump.
4494 * debian/changelog: version bump
4496 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4501 * configure.ac: bump version
4502 * debian/changelog: updates
4503 * debian/control: bump gtk+ dependency
4505 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4507 patch by Christian Dywan (christian@imendio.com)
4509 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4510 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4512 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-check-button.c (hildon_check_button_init)
4515 (hildon_check_button_class_init, hildon_check_button_style_set)
4516 (hildon_check_button_apply_style):
4517 New "checkbox-size" style property.
4519 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4520 larger / configurable size)
4522 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4524 * configure.ac: post release version bump.
4525 * debian/changelog: version bump
4527 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4532 * configure.ac: bump version
4533 * debian/changelog: updates
4535 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4537 * doc/hildon-sections.txt
4538 * src/hildon-pannable-area.c
4539 * src/hildon-program.c
4540 * src/hildon-time-editor.c
4541 * src/hildon-touch-selector-entry.c:
4543 More documentation updates.
4545 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4547 * doc/hildon-sections.txt
4548 * src/hildon-caption.c
4549 * src/hildon-code-dialog.c
4550 * src/hildon-color-button.c
4551 * src/hildon-controlbar.c
4552 * src/hildon-date-editor.c
4553 * src/hildon-date-selector.c
4554 * src/hildon-edit-toolbar.c
4555 * src/hildon-find-toolbar.c
4556 * src/hildon-font-selection-dialog.c
4558 * src/hildon-program.c
4559 * src/hildon-range-editor.c
4560 * src/hildon-seekbar.c
4561 * src/hildon-time-editor.c
4562 * src/hildon-time-selector.c
4563 * src/hildon-volumebar-range.c
4564 * src/hildon-volumebar.c
4565 * src/hildon-vvolumebar.c
4566 * src/hildon-weekday-picker.c
4567 * src/hildon-window.c
4568 * src/hildon-wizard-dialog.c:
4570 Lots of documentation fixes.
4572 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4574 Patch contributed by Iván Gómez (igomez@igalia.com)
4576 * src/hildon-check-button.c:
4577 * src/hildon-date-button.c:
4578 * src/hildon-date-selector.c:
4579 * src/hildon-dialog.c:
4580 * src/hildon-edit-toolbar.c:
4581 * src/hildon-entry.c:
4582 * src/hildon-picker-button.c:
4583 * src/hildon-program.c:
4584 * src/hildon-text-view.c:
4585 * src/hildon-time-button.c:
4586 * src/hildon-touch-selector-entry.c:
4587 * src/hildon-window-stack.c:
4589 Add more "since" tags to the new API.
4591 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4593 * doc/hildon-sections.txt: Add below method.
4594 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4595 version for the hildonized scale.
4596 * src/hildon-gtk.h: Add the definition.
4598 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4600 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4602 * doc/hildon-sections.txt: Add missing entries for new methods.
4604 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4606 Added API to pannable are in order to get its adjustments. We
4607 added two properties to manage the values we had in the private
4610 * src/hildon-pannable-area.c:
4611 (hildon_pannable_area_class_init): Added hadjustment and
4612 vadjustment properties in order to expose horizontal and vertical
4614 (hildon_pannable_area_get_property),
4615 (hildon_pannable_area_set_property): Added code to handle the new
4617 (hildon_pannable_area_get_hadjustment),
4618 (hildon_pannable_area_get_vadjustment): API functions to get the
4620 * src/hildon-pannable-area.h:
4621 (hildon_pannable_area_get_hadjustment),
4622 (hildon_pannable_area_get_vadjustment): API functions to get the
4625 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4627 Fixed some leaks, after valgrinding.
4629 * src/hildon-touch-selector.c:
4630 (_default_print_func): Fixed a leak.
4631 (hildon_touch_selector_append_column): Fixed a leak.
4632 * src/hildon-date-button.c:
4633 (hildon_date_button_init): Fixed a leak.
4634 * src/hildon-date-selector.c
4635 (hildon_date_selector_finalize): Fixed a leak.
4637 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4639 Based on a patch by Christian Dywan (christian@imendio.com)
4641 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4643 * src/hildon-gtk.h: Add definition.
4645 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4647 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4649 * src/hildon-picker-button.c: (hildon_picker_button_init),
4650 (hildon_picker_button_new): Set the HildonButton::style property
4651 in the init method, to propagate the value to the derived classes.
4653 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4655 * src/hildon-button.c: (hildon_button_class_init): Do not make
4656 the "style" property a construct property.
4658 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4660 * src/hildon-wizard-dialog.h
4661 * src/hildon-wizard-dialog.c
4662 (hildon_wizard_dialog_set_forward_page_func)
4663 * src/hildon-pannable-area.h
4664 * src/hildon-pannable-area.c
4665 (hildon_pannable_area_set_size_request_policy):
4666 Documentation fixes.
4668 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4670 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4672 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4674 * doc/hildon-sections.txt: Added sections file.
4676 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4679 * src/*.[ch]: Updates.
4681 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4683 * examples/hildon-progress-indicator-example.c: new file
4684 * examples/Makefile.am: include the new example program
4686 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4688 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4690 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4692 * configure.ac: post release version bump
4693 * debian/changelog: version bump
4695 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4700 * configure.ac: bump version
4701 * debian/changelog: updates
4702 * debian/control: bump gtk+ dependency
4704 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4706 * src/hildon-dialog.c: Mark as deprecated.
4707 * src/hildon-dialog.h: Mark as deprecated.
4708 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4709 from HildonDialog and still work, even if
4710 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4711 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4713 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4714 maemo changes) instead)
4716 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4718 * src/hildon-pannable_area.h:
4719 * src/hildon-pannable_area.c:
4720 (hildon_pannable_area_class_init),
4721 (hildon_pannable_area_set_property),
4722 (hildon_pannable_area_get_property),
4723 (hildon_pannable_area_size_request),
4724 (hildon_pannable_area_get_size_request_policy),
4725 (hildon_pannable_area_set_size_request_policy): Added new API
4726 allowing applications to control the request policy. Now they can
4727 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4728 children allocation (HILDON_MOVEMENT_CHILDREN).
4730 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4734 (hildon_gtk_tree_view_set_ui_mode)
4735 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4736 mode of treeviews and iconviews.
4738 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4740 * src/hildon-touch-selector-entry.c:
4741 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4742 of a GtkEntry to get proper theming.
4744 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4745 widget, not GtkEntry)
4747 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4749 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4750 no HildonWizardDialogPageFunc.
4752 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4754 Patch contributed by Iván Gómez (igomez@igalia.com)
4756 * src/hildon-app-menu.c:
4757 * src/hildon-button.c:
4758 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4759 * src/hildon-stackable-window.c:
4760 * src/hildon-time-selector.c:
4761 * src/hildon-touch-selector.c:
4762 * src/hildon-window.c:
4764 Add more "since" tags to the new API in hildon 2.2.
4766 2008-12-05 Tim Janik <timj@imendio.com>
4768 Patch contributed by Christian Dywan (christian@imendio.com)
4770 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4771 HildonSizeType, which are supplied by Gtk+ now.
4773 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4775 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4776 (with maemo changes) instead)
4778 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4780 Patch contributed by Iván Gómez (igomez@igalia.com)
4782 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4785 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4787 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4788 (some_page_func), (main): Update the example to use a
4789 HildonWizardDialogPageFunc function.
4791 * src/hildon-wizard-dialog-private.h: Add private data for
4792 the HildonWizardDialogPageFunc function usage.
4794 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4795 (destroy), (hildon_wizard_dialog_init), (response),
4796 (hildon_wizard_dialog_set_forward_page_func):
4797 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4798 that applications can use to stop a HildonWizardDialog to jump to
4801 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4804 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4806 * src/hildon-program.h
4807 * src/hildon-program-private.h
4808 * src/hildon-program.c (hildon_program_init)
4809 (hildon_program_set_common_app_menu)
4810 (hildon_program_get_common_app_menu):
4811 New API for setting a common HildonAppMenu for all
4812 HildonStackableWindows registered with the HildonProgram.
4814 * src/hildon-stackable-window.c
4815 (hildon_stackable_window_toggle_menu):
4816 Use the common HildonAppMenu if a window doesn't have a specific
4819 * src/hildon-app-menu-private.h
4820 * src/hildon-app-menu.c
4821 (hildon_app_menu_get_parent_window):
4822 Function to obtain the window a HildonAppMenu is attached to.
4823 (hildon_app_menu_set_parent_window):
4824 Hide the menu if the parent window is set to NULL.
4826 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4828 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4829 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4830 search widget to popup.
4832 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4834 * configure.ac: post release version bump
4835 * debian/changelog: version bump
4837 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4842 * configure.ac: bump version
4843 * debian/changelog: updates
4845 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4847 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4849 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4850 (hildon_window_stack_window_realized)
4851 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4852 Set the leader GdkWindow when a window is stacked and realized,
4853 unset it when it's unstacked.
4854 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4856 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4858 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4860 * src/hildon-stackable-window.h
4861 * src/hildon-window-stack.h:
4862 Protect definition of HildonWindowStack using the preprocessor.
4864 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4866 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4867 Fix warning if all menu items are hidden.
4869 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4871 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4873 * src/hildon-controlbar.c:
4874 * src/hildon-hvolumebar.c:
4875 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4876 Multiple scale size defines updates.
4878 Fixes: NB#94322 (Scale Updates)
4880 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4882 * examples/hildon-app-menu-example.c (create_menu)
4883 Show items after adding them to the menu, as in the future the
4884 menu will no longer call gtk_widget_show() on the added items.
4886 * src/hildon-app-menu.c:
4887 Update example as explained above.
4889 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4891 * src/hildon-app-menu.c
4892 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4893 Make sure that all menu items have finger height.
4895 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4897 * src/hildon-picker-dialog.c:
4898 (_on_dialog_response), (_save_current_selection),
4899 (_restore_current_selection), (_clean_current_selection),
4900 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4901 Defined new functions in order to save the current internal selector
4902 selection previous open the dialog, in case that the use cancel the
4903 interaction, so the widget restores the previous selection.
4905 Fixes: NB#92032 (In calendar application, date values in 'new event'
4908 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4910 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4912 * src/hildon-button.c: Add a reference to the button examples in
4913 hildon-button-example.c
4915 * examples/hildon-button-example.c: Added examples of the most
4916 common button layouts.
4918 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4920 * src/hildon-app-menu.c (hildon_app_menu_show)
4921 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4923 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4925 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-picker-dialog.c:
4928 (hildon_picker_dialog_init): Initialize the signal id for
4929 HildonTouchSelector::columns-changed.
4930 (+on_selector_columns_changed): Set up the interaction mode everytime a
4931 column is added or removed from the HildonTouchSelector.
4932 (_hildon_picker_dialog_set_selector): Connect to
4933 HildonTouchSelector::columns-changed and keep track of it.
4935 Make sure to update the interaction mode of the dialog everytime a
4936 column is added or removed in the HildonTouchSelector.
4938 Fixes: NB#93228 (Done button is not shown always in listpicker)
4940 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4943 a new ::columns-changed signal.
4944 (hildon_touch_selector_append_column): Emit ::columns-changed.
4945 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4947 Add a ::columns-changed signal, emitted when the number of columns in a
4948 HildonTouchSelector changes.
4950 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4952 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4953 (_hildon_picker_dialog_set_selector): Factor out the code
4954 to set up the dialog interaction mode.
4956 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4958 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4959 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4960 to signal_changed_id.
4962 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4964 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4967 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4969 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4970 Updated the logical ids related to ampm format, as now it is required to
4971 show it correctly localized even on languages with no default
4972 abbreviations for am or pm
4973 (_check_am_pm_format): check correctly the 24h format gconf property
4975 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4977 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4979 * src/hildon-button.c: Documentation updates.
4981 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4983 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4984 * src/hildon-caption.c: (hildon_caption_class_init):
4985 * src/hildon-color-button.c: (hildon_color_button_class_init):
4986 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4987 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4988 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4989 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4991 Remove deprecated GTK+ marshalers and replace them with the ones
4992 provided by GLib, for those available, add a marshaler for
4993 BOOLEAN:VOID, which is not available in GLib, and use it.
4995 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4997 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4998 the text from the previous column if there is no
4999 HildonTouchSelectorColumn::text-property set.
5001 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5003 * src/hildon-button.h
5004 * src/hildon-button.c (hildon_button_set_property)
5005 (hildon_button_get_property, hildon_button_class_init)
5006 (hildon_button_set_style, hildon_button_get_style):
5007 New "style" property to change the visual appearance of the
5010 * src/hildon-picker-button.c (hildon_picker_button_new):
5011 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5013 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5014 HildonButton look like PickerButton)
5016 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5018 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5019 column while building the default string.
5021 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5023 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5024 scroll indicator by default.
5026 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5028 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5030 * src/hildon-main.c: Fix the documentation for hildon_init()
5032 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5034 * doc/hildon-docs.sgml
5038 * src/hildon-window-stack-private.h
5039 * src/hildon-window-stack.h
5040 * src/hildon-window-stack.c:
5041 New HildonWindowStack object, that adds support for multiple
5042 stacks of windows per process.
5044 * src/hildon-stackable-window-private.h
5045 * src/hildon-stackable-window.h
5046 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5047 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5048 (hildon_stackable_window_show, hildon_stackable_window_hide)
5049 (hildon_stackable_window_class_init)
5050 (hildon_stackable_window_init):
5051 Use HildonWindowStack for stack management.
5053 * src/hildon-program.c (hildon_program_pop_window_stack)
5054 (hildon_program_peek_window_stack)
5055 (hildon_program_go_to_root_window):
5056 Add a fallback implementation to the deprecated functions using
5059 * examples/hildon-stackable-window-example.c:
5060 Use the new HildonWindowStack API.
5062 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5064 * src/hildon-stackable-window-private.h
5065 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5066 (hildon_stackable_window_hide, hildon_stackable_window_init):
5067 Remove all window stack management.
5069 * src/hildon-program-private.h
5070 * src/hildon-program.h
5071 * src/hildon-program.c (hildon_program_init)
5072 (hildon_program_pop_window_stack)
5073 (hildon_program_peek_window_stack)
5074 (hildon_program_go_to_root_window):
5075 Remove all window stack management and mark functions as
5078 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5080 * src/hildon-app-menu.c (hildon_app_menu_realize):
5081 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5083 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5085 * configure.ac: post release version bump
5086 * debian/changelog: version bump
5088 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5093 * configure.ac: bump version
5094 * debian/changelog: updates
5096 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5098 Based on initial code by Christian Dywan (christian@imendio.com)
5100 * doc/hildon-docs.sgml: Add section for hildon-main.
5101 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5102 * src/Makefile.am: Add new hildon-main.[ch]
5103 * src/hildon-defines.h: Update the icon sizes.
5104 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5105 new library initialization files and register icon sizes.
5106 * src/hildon-main.h: New declarations.
5107 * src/hildon.h: Include hildon-main.h
5109 Add new initialization functions to the library. These methods
5110 will register the hildon specific icon sizes and can be used in the
5111 future for other hildon specific bits.
5113 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5115 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5117 * src/hildon-window.c: (hildon_window_realize),
5118 (hildon_window_notify), (-hildon_window_update_title): Do not set
5119 the application name in the window title.
5121 Fixes: NB#89754 (Applications shouldn't display their names in the
5124 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5126 * src/hildon-note-private.h:
5127 * src/hildon-note.c: (hildon_note_set_property),
5128 (hildon_note_get_property), (hildon_note_class_init),
5129 (hildon_note_init), (hildon_note_finalize),
5130 (hildon_note_new_confirmation_with_icon_name),
5131 (hildon_note_new_information_with_icon_name):
5133 No need to mark as deprecated the actual code. Revert
5134 to avoid missing symbols in widgets using deprecated API.
5136 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5138 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5140 * src/hildon-volumebar.h
5141 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5142 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5144 * src/hildon-helper.h
5145 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5146 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5148 * examples/Makefile.am:
5149 Deprecate hildon-insensitive-example
5151 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5153 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5155 * examples/hildon-pannable-area-buttons-scroll-example.c:
5156 Make all buttons finger height
5158 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5160 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5162 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5163 update the day model only if it is really required, and to avoid the
5164 full-reconstruction aproach. Now it only add or remove the required days.
5166 The purpose of this is avoid superfluous HildonTouchSelector::changed
5169 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5170 with strange parameters)
5172 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5174 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5176 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5177 the WINDOW_TYPE property.
5179 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5181 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5184 Fix dependency to allow parallel compilation with make -jX
5186 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5188 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5189 color frame and some minor tweaks to make it more consistent with
5192 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5193 highlighted but not visible)
5195 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5197 * examples/Makefile.am: Fixed typo in the Makefile.am.
5199 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5201 Reviewed the use of MAEMO_GTK define, now we add the define in the
5202 compilation line, and we also add it to the pc file.
5204 * configure.ac: Added MAEMO_GTK define to the compilation command
5205 and removed it from the config.h.
5207 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5208 do not have to take care about this define if the library was
5212 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5214 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5216 * examples/Makefile.am,
5217 * examples/hildon-pannable-area-buttons-scroll-example.c,
5218 * examples/hildon-pannable-area-gesture-signals-example.c,
5219 * examples/hildon-pannable-area-scroll-jump-example.c,
5220 * examples/hildon-pannable-area-tree-view-example.c:
5221 Renamed the pannable area examples, now they have more meaningful
5224 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5226 * src/hildon-touch-selector.c:
5227 (hildon_touch_selector_set_column_selection_mode): Used of
5228 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5229 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5230 to avoid re-seting the same selection mode.
5232 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5233 breaks HildonPickerDialog)
5235 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5237 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5238 conditional in the Makefile.am
5240 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5242 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5243 Remove unused methods.
5245 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5247 * src/hildon-button.c (hildon_button_init):
5248 Make button images center-aligned by default
5250 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5253 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5254 activated, we have to think about how to deal with both defines
5255 MAEMO_GTK and MAEMO_CHANGES.
5257 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5259 * examples/hildon-app-menu-example.c (create_menu): Make all
5260 buttons finger size.
5262 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5264 Fixed the compilation without maemo gtk adding ifdefs with
5265 MAEMO_GTK define to the code, we have to check this version more
5268 * examples/Makefile.am: Added control to avoid some examples that
5269 just make sense with maemo gtk.
5272 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5273 hildon modes with the define.
5275 * examples/hildon-edit-toolbar-example.c,
5276 (create_icon_view): Create the icon view without hildon-gtk
5277 helpers if we are not using maemo gtk.
5279 * src/hildon-touch-selector.c,
5280 (_create_new_column): Create the treeview without hildon-gtk
5281 helpers if we are not using maemo gtk.
5283 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5285 * src/hildon-pnnable-area.c,
5286 (hildon_pannable_area_dispose),
5287 (hildon_pannable_area_button_press_cb),
5288 (hildon_pannable_area_child_mapped),
5289 (hildon_pannable_area_add),
5290 (hildon_pannable_area_remove): Added code to control the position
5291 of the event_window when adding and removing children from the
5292 pannable. We have to raise the event window when the child is
5295 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5296 selection mode using custom widget inside pannable)
5298 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5300 * configure.ac: post release version bump
5301 * debian/changelog: version bump
5303 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5308 * configure.ac: bump version
5309 * debian/changelog: updates
5311 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5313 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5314 search mode, in order to avoid lose the focus on the treeview when
5315 a hw key (like enter) is pressed.
5317 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5318 in HildonDateSelector dialog)
5320 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5322 * debian/rules: Added --enable-maintainer-mode
5323 * Makefile.am: Added ACLOCAL_AMFLAGS
5325 This allows to properly regenerate the Makefiles if you modify the
5326 configure.ac or any Makefile.am.
5328 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5330 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5331 properties, not needed at all.
5333 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5335 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5337 * src/hildon-note.c: (hildon_note_set_property),
5338 (hildon_note_get_property), (hildon_note_class_init),
5339 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5340 (hildon_note_new_confirmation_add_buttons): Remove icons.
5341 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5342 (hildon_note_new_information_with_icon_name): Deprecate.
5343 (hildon_note_new_confirmation): Act directly, without calling
5344 the deprecated constructor.
5345 (hildon_note_new_information): Act directly, without calling
5346 the deprecated constructor.
5347 * src/hildon-note.h: Mark deprecate methods as such.
5348 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5349 not run tests on the deprecated methods if built with deprecation
5352 Fixes: NB#91688 (Never show icons in information notes/confirmation
5355 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5357 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5358 (hildon_app_menu_key_press): Remove leftover usage of the
5359 private structure in HildonAppMenu struct.
5360 * src/hildon-app-menu.h: Remove leftover private structure
5361 from the HildonAppMenu struct.
5363 Fixes a crasher when using the HildonAppMenu.
5365 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5367 * src/hildon-picker-dialog.c: Use appropriate logical id
5368 for the default "Done" text.
5370 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5372 * configure.ac: post release version bump
5373 * debian/changelog: version bump
5375 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5377 Modified the way to scroll to the current selection just when the touch
5378 selector is shown on the screen, avoiding a g_idle. Added too a property
5379 to configure this behaviour. See hildon_pannable_area_jump_to_child
5380 documentation for more information.
5382 * src/hildon-touch-selector.c
5383 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5384 Added 'initial-scroll' property
5385 (hildon_touch_selector_set_property): Added
5386 (hildon_touch_selector_map): Removed as not required anymore
5387 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5388 only a concrete column, instead of iterate along all the columns
5390 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5395 * configure.ac: bump version
5396 * debian/changelog: updates
5398 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5400 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5401 compilation time warnings.
5403 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5405 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5406 the default value for HildonPannableArea::mov-mode to
5407 HILDON_PANNABLE_AREA_MODE_VERT.
5409 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5411 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5413 Reverting following commit:
5415 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5417 * src/hildon-app-menu-private.h
5418 * src/hildon-app-menu.[ch]
5419 * src/hildon-button.[ch]
5420 * src/hildon-check-button.[ch]
5421 * src/hildon-entry.[ch]
5422 * src/hildon-pannable-area.[ch]
5423 * src/hildon-text-view.[ch]:
5424 Added private field to the object's structure.
5426 because it causes an ABI breakage. We will need to introduce these
5427 changes later at some point. See NB#91636 for an extensive
5428 explanation and status.
5430 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5432 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5434 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5435 remove special cases that are no longer necessary.
5437 Fixes: NB#91016 (Change toolbar sizes, simplification)
5439 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5441 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5442 is shown in the cancel note.
5444 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5446 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5447 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5448 (hildon_seekbar_init): Remove steppers, remove expose event.
5449 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5451 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5453 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5455 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5456 label font to "SmallSystemFont" for vertically arranged buttons.
5458 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5461 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5463 * src/hildon-check-button.c
5464 (hildon_check_button_set_active, hildon_check_button_clicked):
5465 Don't access private parts directly, use getters instead.
5467 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5469 * src/hildon-check-button.c (hildon_check_button_new):
5470 Align the contents of the check button to the left.
5472 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5474 * src/hildon-pannable-area.c,
5475 (hildon_pannable_area_scroll_to),
5476 (hildon_pannable_area_jump_to),
5477 (hildon_pannable_area_scroll_to_child),
5478 (hildon_pannable_area_jump_to_child): Replace the mapped
5479 precondition of these functions with the realized, it is the
5480 correct state of the widget in this case. Changed the
5481 documentation according to this modification.
5483 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5485 Added a new EXTRA_CFLAGS option to add the deprecated define to
5486 the compilation command. This way we can avoid using the define in
5487 the documentation compilation.
5489 * configure.ac: Defined EXTRA_CFLAGS.
5491 * examples/Makefile.am:
5493 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5495 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5497 * src/hildon-picker-dialog.c:
5498 Defined a utility macro with the desired touch selector height
5499 Removed currently unused separator, and title_label variables from
5501 (hildon_picker_dialog_init): Removed code related to the creation
5502 of unused private variables title_label and separator.
5503 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5504 to ensure correct visualization of the touch selector inside the dialog.
5505 * src/hildon-touch-selector.c
5506 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5507 ensure a concrete height of the widget.
5509 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5512 * tests/Makefile.am:
5514 Remove spurious whitespaces.
5516 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5518 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5519 compilation warning after the cancel button removal.
5521 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5523 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5525 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5526 Makefile.am, that way we can choose not to compile some examples
5527 and tests of the deprecated widgets.
5529 * examples/Makefile.am: Divided the sources in deprecated and
5532 * src/Makefile.am: Added undef statement of the deprecated
5533 symbol to the enums file generation process.
5535 * src/hildon-color-chooser-dialog.c
5536 * src/hildon-color-chooser-dialog.h
5537 * src/hildon-color-button.c
5538 * src/hildon-color-button.h
5539 * src/hildon-color-chooser.c
5540 * src/hildon-color-chooser.h
5541 * src/hildon-controlbar.c
5542 * src/hildon-controlbar.h
5543 * src/hildon-date-editor.c
5544 * src/hildon-date-editor.h
5545 * src/hildon-hvolumebar.c
5546 * src/hildon-hvolumebar.h
5547 * src/hildon-private.c
5548 * src/hildon-private.h
5549 * src/hildon-range-editor.c
5550 * src/hildon-range-editor.h
5551 * src/hildon-seekbar.c
5552 * src/hildon-seekbar.h
5553 * src/hildon-time-editor.c
5554 * src/hildon-time-editor.h
5555 * src/hildon-time-picker.c
5556 * src/hildon-time-picker.h
5557 * src/hildon-volumebar.c
5558 * src/hildon-volumebar.h
5559 * src/hildon-vvolumebar.c
5560 * src/hildon-vvolumebar.h
5561 * src/hildon-bread-crumb-trail.h
5562 * src/hildon-bread-crumb-trail.c
5563 * src/hildon-calendar-popup.c
5564 * src/hildon-calendar-popup.h
5565 * src/hildon-weekday-picker.c:
5566 * src/hildon-weekday-picker.h:
5567 * src/hildon-bread-crumb-widget.c:
5568 * src/hildon-bread-crumb-widget.h:
5569 * src/hildon-bread-crumb.c:
5570 * src/hildon-bread-crumb.h:
5571 * src/hildon-calendar.c:
5572 * src/hildon-calendar.h:
5573 * src/hildon-caption.c:
5574 * src/hildon-code-dialog.c:
5575 * src/hildon-code-dialog.h:
5576 * src/hildon-font-selection-dialog.c:
5577 * src/hildon-font-selection-dialog.h:
5578 * src/hildon-get-password-dialog.c:
5579 * src/hildon-get-password-dialog.h:
5580 * src/hildon-login-dialog.c:
5581 * src/hildon-login-dialog.h:
5582 * src/hildon-number-editor.c:
5583 * src/hildon-number-editor.h:
5584 * src/hildon-set-password-dialog.c:
5585 * src/hildon-set-password-dialog.h:
5586 * src/hildon-sort-dialog.c:
5587 * src/hildon-sort-dialog.h: This is the list of deprecated
5590 * src/hildon-touch-selector.c:
5591 * src/hildon-window.c: Added undef statement to avoid compilation
5594 * tests/Makefile.am: Divided the sources in deprecated and
5597 * tests/check_test.c,
5598 (configure_tests): Marked the deprecated code that was adding
5599 suites with deprecated tests.
5601 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5603 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5605 * src/hildon-touch-selector.c: (_default_print_func): Do not
5606 duplicate a string returned by gtk_tree_model_get(), it is already
5609 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5612 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5614 * src/hildon-pannable-area.c
5615 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5616 method, it had problems when adding a widget with viewport the
5617 second time. Now checks if it already has a viewport and uses it.
5619 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5622 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5624 * src/hildon-pannable-area.c,
5625 (hildon_pannable_area_scroll_to),
5626 (hildon_pannable_area_jump_to),
5627 (hildon_pannable_area_scroll_to_child),
5628 (hildon_pannable_area_jump_to_child): Added a precondition to the
5629 scroll and jump to functions: the widget must be mapped before we
5630 can safely call these functions. We have also added documentation
5631 to the functions to explain how to use them in this situation.
5634 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5636 Reviewed the threading handling of the pannable widget, we have
5637 used the gdk_threads_add_timeout function instead of the usual
5638 glib handlers. This avoids some problems with the threads.
5640 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5641 (hildon_pannable_area_initial_effect),
5642 (hildon_pannable_area_scroll_indicator_fade),
5643 (hildon_pannable_area_button_press_cb),
5644 (hildon_pannable_area_timeout),
5645 (hildon_pannable_area_motion_notify_cb),
5646 (hildon_pannable_area_button_release_cb),
5647 (hildon_pannable_area_scroll_cb),
5648 (hildon_pannable_area_scroll_to): Removed the
5649 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5650 gdk_threads_add_timeout.
5652 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5654 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5659 * configure.ac: bump version
5660 * debian/changelog: updates
5662 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5664 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5665 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5666 * src/hildon-color-chooser-dialog.c:
5667 (hildon_color_chooser_dialog_init):
5668 * src/hildon-font-selection-dialog.c:
5669 (hildon_font_selection_dialog_init):
5670 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5672 Remove all cancel/close-like dialogs, as these are not going to be
5675 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5677 * src/hildon-note.c: (hildon_note_rebuild),
5678 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5681 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5683 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5685 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5686 sure all buttons are shown, even the Cancel/Close-like ones.
5688 Fixes: NB#90861 (Custom Confirmation dialogs should be
5689 protected from cancel button removal)
5691 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5693 * debian/control: Change libhildon1-examples dependency from libhildon1
5695 * debian/libhildon1-examples.install
5697 * Makefile.am: Modified the final install directory for the examples on
5698 package libhildon1-examples
5699 * Makefile.static: Update clean target in order to remove all the binary
5702 Changes suggested by Claudio after review new libhildon1-examples package
5704 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5706 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5707 * src/hildon-touch-selector.c: Ditto.
5709 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5711 * debian/control: Added new package libhildon1-examples, in order to pack
5712 the current hildon examples as documentation
5713 * debian/rules: Not to compress .c files, modify some includes on the
5714 examples (as normally are compiled locally, but when installed it will
5715 require to include the installed libhildon1 library), and rename
5717 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5718 install all the example files on the new example package
5719 * examples/Makefile.static: Added static makefile that can be used to
5720 compile the examples, once installed the new example package
5721 * examples: Most of the examples were modified in order to grant that
5722 all use only '#include "hildon.h"', in order to be easy to prepare
5723 it on the example package
5725 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5728 * debian/libhildon1-dev.install
5729 * debian/libhildon1-doc.install:
5730 Move all gtk-doc files to a separate libhildon1-doc package.
5732 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5734 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5736 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5738 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5740 * debian/rules: Fixed a error in order to avoid unnecessary calls
5741 to autogen.sh on package building
5743 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5745 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5747 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5749 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5752 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5754 * src/hildon-picker-button.c
5755 (hildon_picker_button_finalize):
5756 Free priv->done_button_text
5758 * src/hildon-time-button.c
5759 (hildon_time_button_set_time)
5760 * src/hildon-picker-button.c
5761 (hildon_picker_button_clicked)
5762 (hildon_picker_button_selector_selection_changed)
5763 (hildon_picker_button_set_selector)
5764 * src/hildon-date-button.c
5765 (hildon_date_button_set_date):
5766 Free strings returned by hildon_touch_selector_get_current_text()
5768 * src/hildon-button.c (hildon_button_construct_child):
5769 Fix leaks in priv->image and priv->label_box
5771 Fixes: NB#90535 (Memory leak in picker button)
5773 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5775 * src/hildon-button.c: (hildon_button_get_property): Do not access
5776 private elements directly, use getters instead.
5778 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5780 * src/hildon-app-menu-private.h
5781 * src/hildon-app-menu.c
5782 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5783 Store the menu's parent window.
5785 * src/hildon-stackable-window.c
5786 (hildon_stackable_window_toggle_menu)
5787 (hildon_stackable_window_finalize):
5788 Set the menu's parent window when the menu is shown, unset it when
5791 * src/hildon-app-menu.c
5792 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5793 (hildon_app_menu_class_init):
5794 Send unhandled keyboard accelerators to the parent window.
5796 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-stackable-window.c
5799 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5801 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5803 * configure.ac: post release version bump
5805 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5808 * configure.ac: Bump version
5809 * debian/changelog: Updates
5810 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5813 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5815 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5818 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5819 GtkMenu with Hildon style.
5821 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5823 * src/hildon-picker-button.c:
5824 (hildon_picker_button_set_done_button_text): Set the dialog's
5825 done button text here as well.
5827 Fixes: NB#90232 (Picker button does not set the label on done button
5828 for the second time)
5830 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5832 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5835 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5837 * src/hildon-app-menu.c (hildon_app_menu_insert)
5838 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5839 the HildonAppMenu to be activatable using keyboard accelerators
5840 when the menu is not being shown.
5842 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5844 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5846 * src/hildon-stackable-window.c
5847 (hildon_stackable_window_show):
5848 Don't hide old windows automatically when new windows are shown:
5849 this is now a task for the window manager.
5850 (hildon_stackable_window_class_init)
5851 (hildon_stackable_window_hide):
5852 Remove windows from the stack everytime they're hidden.
5853 (hildon_stackable_window_realize):
5854 Don't change the _NET_WM_WINDOW_TYPE property. Use
5855 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5856 it as a stackable window.
5858 * src/hildon-program.c
5859 (hildon_program_pop_window_stack):
5860 Just hide the window to remove it from the stack.
5861 (hildon_program_go_to_root_window):
5862 Don't call gtk_widget_show(), this is now a task for the window
5865 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5867 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5869 * src/hildon-button.c
5870 (hildon_button_construct_child):
5871 Don't pack anything in the button until text or image are
5872 set. This allows adding a custom child after creating the button
5873 with hildon_button_new().
5874 (hildon_button_finalize, hildon_button_class_init)
5875 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5876 alignment and the label box even when they're not packed in the
5879 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5881 * src/hildon-touch-selector.h:
5882 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5883 currently the type definition was using GTK_TYPE_VBOX
5884 * src/hildon-touch-selector.c:
5885 Added some implementation notes in order to clarify that any other widget
5886 added without the column related API will not be included on the
5887 selection logic, and how the widget is freed, as some people ask about
5889 (hildon_touch_selector_remove): Reimplemented in order to free properly
5890 the column related data when you remove the private hbox.
5891 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5892 to get a proper HildonTouchSelectorColumn documentation
5894 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/hildon-touch-selector-entry.c:
5897 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5898 text in the GtkEntry and there is no item selected. Fixes a
5901 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-app-menu-private.h
5904 * src/hildon-app-menu.[ch]
5905 * src/hildon-button.[ch]
5906 * src/hildon-check-button.[ch]
5907 * src/hildon-entry.[ch]
5908 * src/hildon-pannable-area.[ch]
5909 * src/hildon-text-view.[ch]:
5910 Added private field to the object's structure.
5912 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5914 * configure.ac: post-release version bump
5916 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5920 * configure.ac: pre-release version bump
5922 * debian/changelog: updates.
5924 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5926 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5927 Disconnect the handler for HildonTouchSelector::changed.
5929 (hildon_picker_button_selector_selection_changed): Update the button
5930 value if the selection change was not triggered by the
5933 (hildon_picker_button_set_selector): connect to
5934 HildonTouchSelector::changed.
5936 Fixes: NB#89650 (Picker button is not updated, when selection in
5937 selector has changed)
5939 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5941 * src/hildon-picker-dialog.c
5942 (hildon_picker_dialog_realize): Removed as not required
5943 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5944 * src/hildon-picker-button.c
5945 (_current_selector_empty): New function, checks if the selector is empty
5946 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5947 if the current selector is empty, in order to avoid to show the dialog
5948 close the dialog in this case (and shows a g_warning).
5950 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5952 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5954 * src/hildon-pannable-area.c,
5955 (hildon_pannable_area_scroll): Added clause to stop movement when
5956 the child of pannable is smaller than one page.
5957 (hildon_pannable_area_scroll_to): Added conditions to avoid
5958 starting the scrolling movement if the child is smaller than one
5959 page, the complete child is in the screen, we do not have to move.
5961 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5963 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5965 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5966 this is managed automatically by the widget when the size of the
5969 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-picker-button.c
5972 (hildon_picker_button_set_done_button_text): Make a copy of the
5973 text, and free the previous value.
5975 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5977 * src/hildon-touch-selector-entry.c:
5978 (hildon_touch_selector_entry_print_func): Return the selected row's
5979 text if the entry is empty.
5981 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5984 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5986 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5988 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5991 * src/hildon-check-button.h
5992 * src/hildon-check-button.c
5993 * examples/hildon-check-button-example.c:
5994 HildonCheckButton is now a new widget. 'toggled' signal added.
5996 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-program-private.h
5999 * src/hildon-program.c (hildon_program_init)
6000 (hildon_program_finalize): Removed unused variables group_leader
6001 and name from HildonProgramPrivate.
6003 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6005 * src/hildon-check-button.c (hildon_check_button_set_active)
6006 (hildon_check_button_get_active, hildon_check_button_new): Use
6007 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6009 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6011 * src/hildon-touch-selector.h
6012 (hildon_touch_selector_set_column_attributes): added deprecation
6013 guard HILDON_DISABLE_DEPRECATED
6014 * src/hildon-time-selector.c
6015 (hildon_time_selector_set_time)
6016 (hildon_time_selector_get_time): Fixed a typo on documentation
6017 * src/hildon-touch-selector.c: update HildonTouchSelector and
6018 HildonTouchSelectorColumn documentation
6019 * src/hildon-touch-selector-entry.c: update "text-column" property
6021 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6022 to be added to the general documentation.
6024 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6026 * examples/hildon-pannable-area-example-4.c,
6028 * examples/hildon-pannable-area-example.c,
6029 (main): Modified the code in order to use the container add, with
6030 viewport treeviews could have problems if they are really big.
6032 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6034 * src/hildon-weekday-picker.c,
6035 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6036 the agreement regarding deprecation in the library.
6038 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6040 * examples/hildon-picker-button-multicolumn-example.c:
6041 (main): Use custom "done" button text.
6043 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6044 (hildon_picker_button_set_property),
6045 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6046 (hildon_picker_button_init),
6047 (+hildon_picker_button_get_done_button_text),
6048 (+hildon_picker_button_set_done_button_text): New methods to customize
6049 the "done" button label in the launched HildonPickerDialog. Also,
6052 * src/hildon-picker-button.h: add the public API.
6054 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6056 * src/hildon-date-selector.h:
6057 * src/hildon-picker-dialog.h:
6058 * src/hildon-time-selector.h:
6059 * src/hildon-touch-selector-column.h:
6060 * src/hildon-touch-selector.h:
6062 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6063 declarations. Fixes gtk-doc warnings.
6065 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6067 * src/hildon-picker-dialog.h
6068 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6069 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6071 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6072 long text is set as label for done button)
6074 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6076 * src/hildon-dialog.c (hildon_dialog_add_button):
6077 Set fixed width to all buttons in the HildonDialog.
6079 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6081 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6083 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6084 Set widget name using class name plus "-finger" or "-thumb".
6086 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6089 'clicked' when the state of the button is manually changed.
6091 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-app-menu.c (hildon_app_menu_realize)
6094 (hildon_app_menu_unrealize, hildon_app_menu_init)
6095 (hildon_app_menu_class_init, item_visibility_changed):
6096 Change the menu layout when the size of the screen changes.
6097 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6098 Show warning only when changing the number of colums using the
6101 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6103 * debian/compat: Set to 5
6104 * debian/control: Update dependencies.
6105 * debian/libhildon1-dbg.install: Remove.
6106 * debian/libhildon1-dev.install: Update according to cdbs paths.
6107 * debian/libhildon1.install: Update according to cdbs paths.
6108 * debian/rules: Switch to cdbs.
6110 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6112 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6113 'item' variable renamed to 'filter'
6115 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6117 * src/hildon-app-menu.c (hildon_app_menu_insert)
6118 (hildon_app_menu_add_filter, remove_item_from_list)
6119 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6120 Don't leak hidden items when the menu is destroyed.
6122 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6124 * src/hildon-app-menu.c (hildon_app_menu_insert)
6125 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6126 (hildon_app_menu_set_columns, item_visibility_changed)
6127 (filter_visibility_changed, hildon_app_menu_repack_filters)
6128 (hildon_app_menu_repack_items):
6129 Repack items and filters separately.
6131 Don't repack all items, change only the ones that are needed to
6134 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6136 * src/Makefile.am: added hildon-touch-selector-column.h
6138 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6140 * src/hildon-touch-selector.c: added the property "text-column" to the
6141 class HildonTouchSelectorColumn, and related get/set functions
6142 (_default_printf_func): updated to use "text-column" property
6143 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6144 "text-column" in his documentation, as this is now included on
6145 HildonTouchSelectorColumn. The get/set_property can still be used,
6146 working as a wrapper to the concrete column "text-column" property
6147 (_text_column_modified): callback added in order to handle the signal
6148 "notify::text-column" of the concrete HildonTouchSelectorColumn
6149 (hildon_touch_selector_entry_get_text_column)
6150 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6151 modified in order to use the HildonTouchSelectorColumn "text-column"
6153 * src/hildon-time-selector.c:
6154 * src/hildon-date-selector.c:
6155 * examples/hildon-touch-selector-example.c
6156 * examples/hildon-touch-selector-multi-cells-example.c
6157 * examples/hildon-picker-button-multicolumn-example.c
6158 Set the right value to "text-column" property on the creation of a new
6159 column using hildon_touch_selector_append_column()
6161 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6163 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6165 * src/hildon-app-menu.c
6166 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6167 updating the layout of the menu, don't create all widgets again,
6168 just repack the items in their new places.
6170 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6172 * src/hildon-time-selector.c
6173 (hildon_time_selector_get_time)
6174 (hildon_time_selector_set_time)
6175 Added documentation of these public methods
6177 * src/hildon-date-button.h
6178 * src/hildon-touch-selector-column.h
6179 * src/hildon-time-button.h
6180 * src/hildon-picker-dialog.h
6181 * src/hildon-time-selector.h
6182 * src/hildon-picker-button.h
6183 * src/hildon-touch-selector.h
6184 * src/hildon-time-picker.h
6185 * src/hildon-date-selector.h
6186 * src/hildon-touch-selector-entry.h
6187 Modified in order to use hildon-widgets code style
6189 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6191 Added deprecated support to the compilation process using
6192 HILDON_DISABLE_DEPRECATED
6194 * configure.ac: Added the --disable-deprecated to the configure
6197 * src/hildon-weekday-picker.c:
6198 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6199 to use the deprecated support. We will update the other deprecated
6200 widgets status in a new patch.
6202 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6204 * configure.ac: Fixed typo with fatal warnings support, the
6205 variable name was not correct
6207 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6209 * src/hildon-app-menu.c
6210 * src/hildon-program.c: Update documentation.
6212 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6214 * configure.ac: Post-release version bump.
6216 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6221 * configure.ac: Pre-release version bump.
6222 * debian/changelog: Updates.
6224 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6226 * NEWS: Update news for previous releases.
6228 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6230 * examples/hildon-touch-selector-multi-cells-example.c:
6231 (create_selector): Update the example to use
6232 hildon_touch_selector_append_column() with a NULL renderer and set
6233 the renderers later.
6234 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6235 passed a NULL renderer. This is documented behavior now.
6237 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6238 This must be used if the developer wants full control on the layout of
6239 the renderers to be added to the column.
6241 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6243 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6245 * src/hildon-touch-selector.c: Documentation fixes.
6247 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6249 * src/hildon-wizard-dialog-private.h: Remove image and box.
6250 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6251 (hildon_wizard_dialog_set_property), (response): Completely remove
6252 image/icon support, and the containers required for the layout.
6254 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6256 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6258 * src/hildon-app-menu.c: Updated documentation.
6260 * src/hildon-stackable-window.c
6261 (hildon_stackable_window_set_main_menu): Unref the old menu after
6262 ref'ing the new one.
6264 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6266 * src/hildon-stackable-window.c
6267 (hildon_stackable_window_set_main_menu): Unref the previous menu
6268 instead of destroying it.
6270 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6271 floating reference and set has_user_ref_count to FALSE to make
6272 HildonAppMenu act like a normal ref-counted widget and not a
6275 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6278 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6280 * src/hildon-touch-selector-column.h: new file
6281 * src/hildon-touch-selector.h
6282 * src/hildon-touch-selector.c
6283 Implemented GtkCellLayout interface, in order to allow to configure
6284 the cell layout on each individual selector column
6285 (hildon_touch_selector_set_column_attributes): marked as deprecated
6286 * examples/hildon-touch-selector-multi-cells-example.c
6287 Example of how to use the GtkCellLayout interface on the selector
6289 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6291 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6293 * src/hildon-app-menu.h
6294 * src/hildon-app-menu.c
6295 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6296 (hildon_app_menu_append, hildon_app_menu_prepend):
6297 New methods to prepend, insert and move items in the menu.
6299 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6301 * src/hildon-wizard-dialog.c:
6303 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6305 (create_title): Update logical IDs and related code.
6306 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6308 * src/hildon-wizard-dialog.h: Note that
6309 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6310 point, as it is not used anymore.
6312 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6314 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6316 * src/hildon-note.c:
6317 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6318 shown. Do not display an icon in confirmation notes nor information
6320 (hildon_note_set_button_text): Update logical ID for cancel button.
6322 Fixes: NB#88850 (Update HildonNote button strings + signals)
6324 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6326 * src/hildon-stackable-window.c
6327 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6329 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6331 * src/hildon-app-menu-private.h
6332 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6333 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6334 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6335 temporary property 'columns' to change the number of columns.
6337 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6339 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6341 * examples/hildon-note-example.c: (on_information_clicked),
6342 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6343 debugging information.
6344 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6346 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6347 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6348 in order to close: this will be handled by the WM from now on.
6350 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6352 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6354 * src/hildon-app-menu-private.h
6355 * src/hildon-app-menu.c
6356 (hildon_app_menu_append, hildon_app_menu_add_filter)
6357 (button_visibility_changed, hildon_app_menu_apply_style)
6358 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6359 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6360 layout everytime a button (item or filter) is shown or hidden.
6362 * src/hildon-stackable-window.c
6363 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6366 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6368 * src/hildon-touch-selector.c:
6369 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6370 that the treeview inside the touch selector is in fremantle hildon mode
6371 * examples/hildon-date-button-example.c
6372 * examples/hildon-picker-button-multicolumn-example.c
6373 * examples/hildon-touch-selector-entry-example.c
6374 * examples/hildon-touch-selector-example.c
6375 * examples/hildon-time-button-example.c
6376 * examples/hildon-picker-button-example.c:
6377 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6379 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6381 * examples/hildon-text-view-example.c: (main): Remove the
6382 gtkrc bits, now handled by the theme.
6384 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6386 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6389 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6391 * po/Makefile.am: Install properly the mo files.
6392 * po/en_GB.po: Update translation, to ease testing purposes.
6394 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6396 * examples/hildon-picker-button-example.c: (main): Select an item
6397 in the selector before setting it to the button.
6399 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6401 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6402 Update button's value if the selector has an item active.
6404 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6405 'value' with the selector)
6407 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6409 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6410 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6411 (hildon_picker_button_class_init): Plug the finalize method.
6412 (hildon_picker_button_set_selector): If there's a previously set
6413 selector, unref'it before setting a new one.
6415 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6416 HildonTouchSelector)
6418 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6420 * src/hildon-touch-selector-entry.c:
6421 (hildon_touch_selector_entry_changed): Check if there is no text
6422 selected before setting the entry text.
6425 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6427 * src/hildon-touch-selector.h
6428 * src/hildon-touch-selector.c
6429 (hildon_touch_selector_get_active)
6430 (hildon_touch_selector_set_active): New methods to set/get the
6431 index of the selected item.
6433 * src/hildon-picker-button.h
6434 * src/hildon-picker-button.c
6435 (hildon_picker_button_get_active)
6436 (hildon_picker_button_set_active): New methods to set/get the
6437 index of the selected item.
6439 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6441 * configure.ac: post-release version bump.
6443 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6447 * configure.ac: Pre-release version bump.
6448 * debian/changelog: Updates.
6449 * debian/control: Add myself as maintainer and depend on l10n
6452 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6454 * src/hildon-window.c
6455 (hildon_window_set_main_menu)
6456 * src/hildon-stackable-window.c
6457 (hildon_stackable_window_set_main_menu):
6458 Updated documentation.
6460 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6462 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6463 Don't free selector->priv manually.
6466 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6469 (hildon_gtk_window_set_progress_indicator):
6470 * src/hildon-gtk.h: Added the new API
6471 hildon_gtk_window_set_progress_indicator, it changes the state of
6472 the window progress hint.
6474 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-button.c
6477 * src/hildon-stackable-window.c: Minor documentation updates.
6479 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6481 * src/hildon-stackable-window.c: Updated documentation.
6483 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6485 * src/hildon-defines.h: Update margins definitions
6486 to the Fremantle sizes.
6489 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-touch-selector.c,
6492 (_hildon_touch_selector_set_model): Cleaning the code after
6493 review, removed g_print and #if 0 from the code.
6495 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6497 * src/hildon-edit-toolbar.c: Update documentation.
6499 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6501 * src/hildon-check-button.h
6502 * src/hildon-check-button.c
6503 (hildon_check_button_set_label, hildon_check_button_get_label)
6504 * examples/hildon-check-button-example.c
6505 (button_clicked_cb):
6506 Removed deprecated methods.
6508 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6510 * src/hildon-text-view.c:
6511 Add sample code to the documentation.
6513 * src/hildon-entry.h
6514 * src/hildon-text-view.h:
6515 Minor cosmetic changes.
6517 * src/hildon-entry.c:
6518 Add sample code to the documentation.
6519 (hildon_entry_init, hildon_entry_refresh_contents):
6520 Don't allow NULL values in the placeholder.
6522 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6524 * doc/hildon-docs.sgml
6526 * examples/Makefile.am
6527 * examples/hildon-text-view-example.c
6529 * src/hildon-text-view.c
6530 * src/hildon-text-view.h
6532 New HildonTextView widget, with example.
6534 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6536 * po/POTFILES.in: Add missing files with translatable strings.
6537 Partially fixes NB#88287.
6539 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6541 * examples/hildon-pannable-area-example-2.c: (main): No need to
6542 set the cellrenderer height inside hildon touch lists, the theme does
6545 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6547 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6548 they are integrated in the theme.
6550 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6552 * examples/hildon-entry-example.c: Update the example adding
6553 widgets to modify the text and the placeholder of the HildonEntry.
6555 * src/hildon-entry.c: Show the placeholder everytime the widget
6556 is empty and loses the focus.
6558 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6560 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6562 * src/hildon-pannable-area.c,
6563 (hildon_pannable_area_size_request): Fixed bug in height
6564 requisition, avoid increasing size and add border twice.
6566 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6568 * configure.ac: postrelease version bump.
6570 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6574 * configure.ac: Prerelease version bump.
6575 * debian/changelog: update.
6576 * debian/rules: make -dbg package contain useful debugging symbols.
6578 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6580 * src/hildon-dialog.h
6581 * src/hildon-dialog.c
6582 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6583 New methods to add buttons with finger size.
6584 (hildon_dialog_new_with_buttons):
6585 Create buttons with finger size.
6587 * examples/hildon-dialog-example.c (main): Use HildonDialog
6588 methods to add buttons.
6590 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6592 * src/hildon-entry.c: Updated HildonButton documentation.
6594 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6596 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6597 button value label with (FALSE, FALSE) to prevent NB#88126 from
6600 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6602 * examples/hildon-pannable-area-example.c,
6603 (main): Removed examples panning a vbox inside a pannable
6604 area. Check bug NB#87965
6606 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6608 Patch contributed by Kris Rietveld (kris@imendio.com)
6610 * src/hildon-pannable-area.c,
6611 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6612 get_size and get_position, this saves an X server roundtrip.
6614 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6616 * doc/hildon-docs.sgml
6618 * examples/Makefile.am
6619 * examples/hildon-entry-example.c
6621 * src/hildon-entry.c
6622 * src/hildon-entry.h
6624 New HildonEntry widget, with example.
6626 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6628 * src/hildon-button.c (hildon_button_construct_child): Pack the
6629 image with expand == fill == FALSE. This is a workaround for a bug
6632 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6634 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6635 labels for the text column, to make it more look more dynamic.
6637 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6639 * src/hildon-time-selector.c
6640 Define gettext auxiliar macro N_
6641 (_create_minutes_model)
6642 (_create_hours_model)
6643 (_create_ampm_model): use of strftime in order to fill the model
6644 * src/hildon-date-selector.c
6645 (hildon_date_selector_finalize):
6646 (_locales_init): remove the logic related to get the name of the months
6647 using nl_langinfo, as it is not required anymore
6649 (_create_year_model)
6650 (_create_month_model)
6651 (_update_day_model): use of strftime in order to fill the model properly
6654 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6656 * src/hildon-button.h
6657 * src/hildon-button.c (hildon_button_get_image): New method to
6660 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6662 * src/hildon-touch-selector.c:
6663 (hildon_touch_selector_remove_column): Remove from the correct parent
6664 and also remove the list element and free it.
6667 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6669 * src/hildon-time-selector.c
6670 (_create_hours_model): change the range on 12h ampm format in order to use
6671 a 12-11 range instead of previous 01-12 range
6672 (hildon_time_selector_set_time): change the way to select the current time
6673 on 12h ampm format, due the change on the range
6674 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6677 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6679 * src/hildon-touch-selector.c
6680 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6681 in order to allow use this function on multiple row selection mode if
6682 the column is different that the first one
6685 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6687 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6688 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6690 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6692 * src/hildon-date-selector.h: clean some comments, now on the .c
6693 * src/hildon-date-selector.c
6694 (hildon_date_selector_select_month): first implementation
6695 (hildon_date_selector_select_day): added documentation, reimplemented
6696 using hildon_date_selector_select_current_date to avoid repeat code
6699 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6701 Reviewed interaction logic based on device experiences, refactored
6704 * src/hildon-pannable-area.c,
6705 (hildon_pannable_area_class_init): Updated default vmax speed.
6706 (hildon_pannable_area_calculate_velocity): Added this function, it
6707 avoids duplicate valocity calculation. Adjusted calculation to
6708 avoid problems with zero dist events.
6710 (hildon_pannable_area_motion_notify_cb): Now we use the
6711 calculate_velocity function.
6713 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6715 * src/hildon-date-selector.c
6716 (hildon_date_selector_select_current_date): fix the day range check
6717 as it failed using the last day of the current month
6720 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6722 * src/hildon-touch-selector.c
6723 (hildon_touch_selector_get_num_columns): added a parameter validation
6726 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6728 * examples/Makefile.am
6729 * examples/hildon-edit-toolbar-example.c: Example of the
6730 HildonEditToolbar widget.
6732 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6734 * configure.ac: postrelease version bump.
6736 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6740 * configure.ac: prerelease version bump.
6741 * debian/changelog: update.
6743 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6745 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6746 renderer to display stock icons in the touch list. Also, set the sizes
6747 to the recommended in the style guide.
6749 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6750 * src/hildon-touch-selector.h
6751 (hildon_touch_selector_set_active_iter): renamed, now is
6752 hildon_touch_selector_select_iter
6753 (hildon_touch_selector_get_active_iter): renamed, now is
6754 hildon_touch_selector_get_selected
6755 (hildon_touch_selector_unselect_iter): added
6756 * src/hildon-touch-selector.c
6757 Update after API modification (methods renamed)
6758 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6759 order to avoid problems selecting multiple elements on the column
6760 (hildon_touch_selector_unselect_iter): added the implementation
6761 * src/hildon-time-selector.c
6762 * src/hildon-date-selector.c
6763 * src/hildon-touch-selector-entry.c
6764 Update methods calls after hildon-touch-selector.h API modification (methods
6767 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6769 * src/hildon-stackable-window.c
6770 (hildon_stackable_window_finalize): Call the parent class's finalize.
6772 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6774 * examples/hildon-touch-selector-example.c: (create_selector): Use
6775 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6778 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6780 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6781 set a cell background color, to respect theming.
6783 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6785 * doc/hildon-docs.sgml
6788 * src/hildon-edit-toolbar.c
6789 * src/hildon-edit-toolbar.h
6790 * src/hildon.h: New HildonEditToolbar widget.
6792 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6794 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6797 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6798 * src/hildon-touch-selector.c
6799 (_create_new_column): use g_object_set instead of two g_object_set_property
6801 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6802 * src/hildon-touch-selector.c
6803 (_create_new_column): use of hildon_gtk_tree_view_new to create
6804 the treeview, instead of use directly g_object_new
6805 (_create_new_column): update the property name "vindicator-mode" for the
6806 new one "vscrollbar-policy"
6807 * examples/hildon-date-button-example.c
6808 * examples/hildon-picker-button-multicolumn-example.c
6809 * examples/hildon-touch-selector-entry-example.c
6810 * examples/hildon-touch-selector-example.c
6811 * examples/hildon-time-button-example.c
6812 * examples/hildon-picker-button-example.c
6813 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6814 to all the treeviews inside a pannable area.
6816 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6818 * src/hildon-button.h
6819 * src/hildon-button.c (hildon_button_init)
6820 (hildon_button_set_arrangement, hildon_button_set_alignment)
6821 (hildon_button_set_title_alignment)
6822 (hildon_button_set_value_alignment)
6823 (hildon_button_set_image_alignment)
6824 (hildon_button_construct_child): New methods to set the alignment
6825 of the individual components of the button (title, value,
6826 image). Also, new method to alter the xscale and yscale properties
6827 of the GtkAlignment inside the button, so more complex layouts can
6830 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6832 * src/hildon-button.c (hildon_button_style_set)
6833 (hildon_button_class_init, hildon_button_set_arrangement)
6834 (hildon_button_construct_child): Apply style properties
6835 correctly. Use the 'image-spacing' style property too.
6837 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6839 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6840 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6843 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6845 * src/hildon-pannable-area.c,
6846 (hildon_pannable_area_size_request): Fixed problem with
6847 pannable-area size_request.
6849 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6851 Added management for the grab-focus to a child widget, like a
6852 range, we need to fade out the scrollbar when releasing.
6854 * src/hildon-pannable-area.c,
6855 (hildon_pannable_area_init): Connected the grab-focus signal to
6857 (hildon_pannable_area_grab_notify): Added this function in order
6858 to manage the situation when the grab-focus ends. We have to
6859 fade-out the scrollbar.
6861 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6863 * src/hildon-app-menu.c: Minor documentation update.
6865 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6867 * src/hildon-app-menu.c
6868 * examples/hildon-app-menu-example.c (create_menu): Update
6869 examples and documentation to explain how to connect callbacks.
6871 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6873 * examples/hildon-button-example.c
6874 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6875 hildon_stackable_window_new instead of gtk_window_new
6877 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6879 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6880 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6881 (hildon_pannable_area_set_property),
6882 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6883 (hildon_pannable_area_unrealize),
6884 (hildon_pannable_area_size_request),
6885 (hildon_pannable_area_size_allocate),
6886 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6887 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6888 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6889 (hildon_pannable_area_initial_effect),
6890 (hildon_pannable_area_redraw),
6891 (hildon_pannable_area_scroll_indicator_fade),
6892 (hildon_pannable_area_expose_event),
6893 (hildon_pannable_area_get_topmost), (synth_crossing),
6894 (hildon_pannable_area_button_press_cb),
6895 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6896 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6897 (hildon_pannable_area_motion_notify_cb),
6898 (hildon_pannable_area_button_release_cb),
6899 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6900 (hildon_pannable_area_remove),
6901 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6902 chage the code layout to a more GtkWidget like. Review the use of
6905 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6907 * examples/hildon-pannable-area-example-4.c,
6908 (main): Modified the name of the hindicator_mode to
6911 * src/hildon-pannable-area.c,
6912 (hildon_pannable_area_class_init),
6913 (hildon_pannable_area_motion_notify_cb),
6914 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6915 we have reduced the amount of signals and managed reviewed its
6916 rationale. Changed the default decelerate value.
6918 (hildon_pannable_area_add),
6919 (hildon_pannable_area_redraw): Refactored functions.
6921 (hildon_pannable_area_init),
6922 (hildon_pannable_area_get_property),
6923 (hildon_pannable_area_set_property):
6924 (hildon_pannable_draw_vscroll),
6925 (hildon_pannable_draw_hscroll),
6926 (hildon_pannable_area_initial_effect),
6927 (hildon_pannable_area_expose_event),
6928 (hildon_pannable_area_scroll),
6929 (hildon_pannable_area_button_press_cb),
6930 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6931 and vindicator_mode with hscrollbar_policy and
6932 vscrollbar_policy. Replaced hscroll and vscroll with
6933 hscroll_visible and vscroll_visible.
6935 (hildon_pannable_area_refresh): Refactor the function, remove
6936 variables and check the calls to this function, added resize
6937 conditions in case the children change their layout.
6939 (hildon_pannable_area_size_request): Added more detailed
6940 size_request calculation.
6943 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6945 * src/hildon-color-chooser.c
6946 (init_borders): use the correct gtk_border_free instead of g_free, to
6947 avoid a crash when this widget is used (ie: the three color selection
6950 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6952 * src/hildon-check-button.c,
6953 (hildon_check_button_set_active): Fixed problem when setting the
6954 active value, the widget was not redrawn.
6956 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6958 * src/hildon-pannable-area.c,
6959 (hildon_pannable_area_refresh),
6960 (hildon_pannable_area_scroll),
6961 (hildon_pannable_area_motion_notify_cb): Small code style change.
6963 (hildon_pannable_area_class_init): Default initial_hint set to
6964 FALSE, it is not in the specs.
6966 (hildon_pannable_area_initial_effect),
6967 (hildon_pannable_area_expose_event),
6968 (hildon_pannable_area_map),
6969 (hildon_pannable_area_init): Moved the launching point of the
6970 initial effect, it was in map but the sizes where not correct in
6971 that method so we do not know if we have the reproduce it. Now it
6972 is placed in the expose_event method and uses a variable to
6973 reproduce it just once.
6975 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6977 * src/hildon-pannable-area.c,
6978 (hildon_pannable_draw_vscroll),
6979 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6980 position allowed for the scrollbars.
6982 (hildon_pannable_area_size_allocate): Small style change.
6984 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6986 * src/hildon-pannable-area.c,
6987 (hildon_pannable_area_scroll_indicator_fade),
6988 (hildon_pannable_area_button_press_cb),
6989 (hildon_pannable_area_button_release_cb),
6990 (hildon_pannable_area_scroll_cb),
6991 (hildon_pannable_area_expose_event),
6992 (hildon_pannable_area_init): Added the define parameter
6993 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6994 and refactor the fade variable.
6996 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6998 * src/hildon-pannable-area.c,
6999 (hildon_pannable_area_redraw),
7000 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7001 lines, we were reimplemeting the redraw code.
7003 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7005 * src/hildon-pannable-area.c,
7006 (hildon_pannable_area_scroll_cb),
7007 (hildon_pannable_area_realize),
7008 (hildon_pannable_area_class_init): Added scroll_event management
7009 for pannable area, now we can scroll the usual desktop method.
7011 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7012 initialization of the parameters should depend on idle_id.
7014 (hildon_pannable_area_init),
7015 (hildon_pannable_area_map): Small code style modifications
7017 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7019 * src/hildon-pannable-area.c
7020 (hildon_pannable_area_button_press_cb),
7021 (hildon_pannable_area_motion_notify_cb),
7022 (hildon_pannable_area_button_release_cb),
7023 (hildon_pannable_area_size_allocate),
7024 (hildon_pannable_area_scroll_to): Improved the timeouts
7025 management, we avoid creating them each time.
7027 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7029 * src/hildon-pannable-area.c:
7030 (hildon_pannable_area_refresh),
7031 (hildon_pannable_area_motion_notify_cb),
7032 (hildon_pannable_area_class_init):
7033 * src/hildon-pannable-area.h:
7034 * src/hildon-touch-selector.c
7035 (_create_new_column):
7036 * examples/hildon-pannable-area-example-4.c:
7037 (horizontal_movement),
7038 (vertical_movement),
7040 Replaced the names of enums in the HildonPannableArea:
7041 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7042 HILDON_MOVEMENT_MODE_*
7043 - HILDON_PANNABLE_AREA_MOV_* ->
7045 - Removed HildonPannableAreaIndicatorMode, now we
7048 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7050 * examples/hildon-pannable-area-touch-grid-example.c
7051 * examples/hildon-pannable-area-touch-list-example.c: Fix
7052 compilation warnings.
7054 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7056 * src/hildon-gtk.c (hildon_gtk_button_new)
7057 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7058 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7059 images overriding the value of the "gtk-button-images" setting.
7061 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7063 * src/hildon-check-button.c (hildon_check_button_new):
7064 Instead of using a custom container, display the label and the
7065 checkbox using the standard GtkButton API.
7067 * examples/hildon-check-button-example.c (main): Don't use
7068 hildon_check_button_set_label() anymore
7070 * src/hildon-check-button.h
7071 * src/hildon-check-button.c
7072 (hildon_check_button_set_label, hildon_check_button_get_label):
7073 Set as deprecated, now we're using gtk_button_{get,set}_label()
7075 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7077 * src/hildon-pannable-area.c,
7078 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7079 GtkTreeview first line we detected it after the inclusion of the
7080 GtkWindowImpl in gtk+. We now check if the window is visible, not
7081 just if the pointer is over the window.
7082 (hildon_pannable_axis_scroll),
7083 (hildon_pannable_area_expose_event): Small style changes.
7085 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7087 * src/hildon-button.c: Update documentation.
7089 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7091 * examples/hildon-button-example.c: Add a switch to show images in
7094 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7096 * doc/hildon-docs.sgml: Some docs reorganization.
7098 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7100 * examples/hildon-pannable-area-touch-list-example.c
7102 * examples/hildon-pannable-area-touch-grid-example.c
7103 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7104 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7105 Fix memory leak when setting the tree model.
7107 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7111 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7113 * doc/hildon.types: Remove duplicated hildon_window_get_type
7114 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7115 documentation comment.
7117 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7119 * doc/Makefile.am: Complete list of private headers.
7121 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7123 * doc/hildon-docs.sgml
7124 * src/hildon-app-menu.c
7125 * src/hildon-bread-crumb.c
7126 * src/hildon-button.c
7128 * src/hildon-program.c
7129 * src/hildon-stackable-window.c
7130 * src/hildon-window.c: Lots of documentation updates.
7132 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7134 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7136 * configure.ac: Require Gtk+ 2.12.9 at least
7138 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7140 * src/hildon-pannable-area.c
7141 (hildon_pannable_area_scroll_indicator_fade),
7142 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7143 to protect the return of this timeout callbacks, avoiding deadlocks.
7145 2008-08-12 Christian Dywan <christian@imendio.com>
7148 * src/hildon-*.h: Ensure a consistent include order,
7149 include <gtk/gtk.h> instead of particular files and
7150 only include the topmost header in the gtk stack. See NB #39857
7152 2008-08-12 Christian Dywan <christian@imendio.com>
7154 * src/hildon-picker-dialog.c
7155 * src/hildon-touch-selector.c: Fix warnings about unused and
7156 uninitialized variables.
7158 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7160 * examples/Makefile.am
7161 * examples/hildon-check-button-example.c: Example of the hildon
7164 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7166 * src/hildon-window.h
7167 * src/hildon-window.c (hildon_window_class_init)
7168 (hildon_window_unset_program): Don't make
7169 hildon_window_unset_program a virtual function anymore.
7171 * src/hildon-stackable-window.c: Update documentation
7173 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7176 * doc/hildon-docs.sgml
7177 * doc/visual_index.xml
7178 * src/hildon-defines.c
7180 * src/hildon-helper.c
7181 * src/hildon-range-editor.c: Lots of documentation fixes.
7183 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7185 * examples/hildon-picker-button-multicolumn-example.c
7186 (create_touch_selector): Fix compilation warning.
7188 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7190 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7191 (hildon_pannable_area_button_release_cb)
7192 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7194 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7196 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7199 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7201 * src/hildon-bread-crumb-trail.h
7202 * src/hildon-date-editor.c
7203 * src/hildon-date-selector.c
7204 * src/hildon-pannable-area.c
7205 * src/hildon-picker-dialog.c
7206 * src/hildon-time-selector.c
7207 * src/hildon-touch-selector-entry.c
7208 * src/hildon-touch-selector.c
7209 * src/hildon-touch-selector.h: Misc documentation fixes
7211 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7213 * examples/hildon-date-editor-example.c (main): Updated date
7216 * examples/hildon-note-example.c (on_confirmation_clicked):
7217 Updated confirmation note example.
7219 * src/hildon-date-editor.c
7220 * src/hildon-note.c: Updated sample programs in documentation.
7223 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7225 * src/hildon-date-button.h:
7226 * src/hildon-picker-button.h:
7227 * src/hildon-time-button.c:
7228 * src/hildon-time-button.h:
7230 Some declarations changes to allow gtk-doc to document the widgets
7233 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7235 * src/hildon-date-button.c: Document the widget.
7236 * src/hildon-time-button.c: Document the widget.
7238 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7240 * src/hildon-picker-button.c: Document the widget.
7241 * src/hildon-touch-selector-entry.c: Document the widget.
7243 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7245 * doc/hildon-docs.sgml
7248 * src/hildon-check-button.h
7249 * src/hildon-check-button.c: New functions to create the Hildon
7253 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7255 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7257 * src/hildon-button.h
7258 * src/hildon-button.c
7259 (hildon_button_add_title_size_group)
7260 (hildon_button_add_value_size_group)
7261 (hildon_button_add_image_size_group)
7262 (hildon_button_add_size_groups): New functions to set size groups
7263 for the button labels and image.
7264 (hildon_button_new_full): Removed
7266 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7268 * src/hildon-time-selector.c
7269 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7270 in order to avoid a crash if gconf is not available
7272 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7274 * src/hildon-button.c (hildon_button_set_arrangement)
7275 (hildon_button_construct_child): Don't construct the button child
7276 before setting the arrangement.
7278 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7280 * src/hildon-program-private.h
7281 * src/hildon-program.c
7282 * src/hildon-program.h
7283 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7284 (hildon_program_peek_window_stack)
7285 (hildon_program_pop_window_stack)
7286 (hildon_program_go_to_root_window): HildonProgram now has a
7287 separate list for stackable windows. Functions are provided to
7288 manage that list with a stack-like API.
7290 * src/hildon-stackable-window.c: Stackable window management is
7291 now much simpler with the new HildonProgram API. Windows no
7292 longer need to be manually added to the program, they're
7293 automatically pushed to the top of the stack when shown.
7295 * examples/hildon-stackable-window-example.c: Updated example to
7296 reflect the API changes.
7298 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7300 * src/hildon-touch-selector.c: Comment out unimplemented
7301 hildon_touch_selector_insert_column() to avoid a compile warning.
7303 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7305 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7306 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7307 (hildon_touch_selector_set_column_selection_mode),
7308 (_hildon_touch_selector_set_model),
7309 (hildon_touch_selector_set_model):
7311 Complete review of HildonTouchSelector documentation.
7313 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7315 * doc/hildon-docs.sgml
7319 * src/hildon-gtk.c: Convenience functions for standard Gtk
7320 widgets, used to easily perform frequent operations.
7322 * src/hildon-button-helpers.h
7323 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7325 * src/hildon-helper.h
7326 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7327 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7329 * src/hildon-button.h
7330 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7332 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7334 * src/hildon-button.c (hildon_button_init)
7335 (hildon_button_set_arrangement, hildon_button_construct_child):
7336 Pack the image and the labels inside the same GtkAlignment so
7337 gtk_button_set_alignment() can be used
7339 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7341 * src/hildon-button.h
7342 * src/hildon-button.c
7343 (hildon_button_init, hildon_button_set_image)
7344 (hildon_button_set_image_position)
7345 (hildon_button_construct_child): New functions to add an image to
7348 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7350 * src/hildon-date-button.c
7351 * src/hildon-picker-button.c
7352 * src/hildon-time-button.c
7353 * src/hildon-button.c:
7354 (hildon_button_class_init): "size-flags" renamed to "size"
7355 (hildon_button_set_title): Hide the title label if set to NULL.
7357 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7359 HildonButtonFlags split into HildonButtonArrangement (to set the
7360 button layout) and HildonSizeType (which can be used for any
7363 * src/hildon-button.h
7364 * src/hildon-button.c
7365 (hildon_button_class_init)
7366 (hildon_button_set_arrangement)
7367 (hildon_button_set_property): New "size-flags"
7368 property. "arrangement-flags" renamed to "arrangement".
7369 (hildon_button_new, hildon_button_new_with_text)
7370 (hildon_button_new_full): Constructors updated to reflect type changes.
7372 * src/hildon-helper.h
7373 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7374 to set the size of a widget.
7378 * src/hildon-button-helpers.c
7379 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7381 * src/hildon-date-button.c
7382 * src/hildon-date-button.h
7383 * src/hildon-picker-button.c
7384 * src/hildon-picker-button.h
7385 * src/hildon-time-button.c
7386 * src/hildon-time-button.h: Updated widgets to reflect
7387 HildonButton API changes.
7389 * examples/hildon-button-example.c
7390 * examples/hildon-date-button-example.c
7391 * examples/hildon-picker-button-example.c
7392 * examples/hildon-picker-button-multicolumn-example.c
7393 * examples/hildon-time-button-example.c
7394 * examples/hildon-touch-selector-entry-example.c
7395 * examples/hildon-touch-selector-example.c: Updated examples to
7396 reflect HildonButton API changes.
7398 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7400 * doc/hildon-docs.sgml:
7402 * examples/Makefile.am:
7403 * examples/hildon-touch-selector-entry-example.c:
7405 * src/hildon-touch-selector-entry.c:
7406 * src/hildon-touch-selector-entry.h:
7409 Moved HildonTouchSelectorEntry from sandbox. Added its
7410 documentation and examples.
7412 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7414 * src/hildon-touch-selector.h:
7415 * examples/hildon-picker-button-multicolumn-example.c:
7416 (hildon_touch_selector_append_text_column): Add a gboolean
7417 parameter to determine if text must be centered in the column.
7419 * src/hildon-date-selector.c: (hildon_date_selector_init):
7420 * src/hildon-time-selector.c: (hildon_time_selector_init):
7421 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7422 (create_touch_selector): Update widgets and example to reflect
7425 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7427 * src/hildon-touch-selector.c:
7428 (hildon_touch_selector_set_active_iter): Set also the cursor in
7431 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7433 * doc/hildon-docs.sgml
7436 * src/hildon-toggle-button.c
7437 * src/hildon-toggle-button.h
7438 * src/hildon.h: Removed HildonToggleButton widget, a derived
7439 class is not necessary for this.
7441 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7443 * src/hildon-pannable-area.c,
7444 (hildon_pannable_area_realize),
7445 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7448 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7450 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7451 "done" button the default widget for the dialog.
7453 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7455 * src/hildon-touch-selector.c:
7456 (hildon_touch_selector_class_init),
7457 (hildon_touch_selector_get_property),
7458 (_hildon_touch_selector_set_model),
7459 (_hildon_touch_selector_has_multiple_selection),
7460 (hildon_touch_selector_has_multiple_selection):
7461 Add a "has-multiple-selection" property with a virtual
7462 has_multiple_selection() method to allow derived classes to
7463 override the default value for it. See the method and property
7464 documentation for details.
7466 * src/hildon-touch-selector.h: Add the new API.
7468 * src/hildon-picker-dialog.c: (requires_done_button): Call
7469 hildon_touch_selector_has_multiple_selection() instead of
7470 determining the need for a button itself.
7472 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7474 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7475 (_hildon_touch_selector_set_model),
7476 (hildon_touch_selector_set_model): Move working code to
7477 _hildon_touch_selector_set_mode(). Call the class method instead.
7479 * src/hildon-touch-selector.h: Add (*set_model) to
7480 HildonTouchSelectorClass.
7482 Make hildon_touch_selector_set_model() a virtual method, so that
7483 derived classes can extend it and do fancy stuff with the model.
7485 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7487 * configure.ac: Set back the tarname in AC_INIT to hildon.
7489 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7493 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7494 instead of libesd (NB#86876). Volume handling is still an open issue.
7496 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7499 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7501 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7502 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7503 derived class to ease placement of an entry widget in
7504 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7505 end, where the selector columns are packed now.
7507 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7509 * src/hildon-picker-button.c: Removed the simple _text() API.
7510 * src/hildon-picker-button.h: Likewise.
7512 * src/hildon-touch-selector.h:
7513 * src/hildon-touch-selector.c:
7514 (hildon_touch_selector_new_text),
7515 (hildon_touch_selector_append_text),
7516 (hildon_touch_selector_prepend_text),
7517 (hildon_touch_selector_insert_text):
7519 Moved the simple _text() API from HildonPickerButton to
7520 HildonTouchPicker, to provide better escalability and not to tie
7521 that API to HildonPickerButton.
7523 * examples/hildon-picker-button-example.c: (main): Example updated.
7525 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7527 * src/hildon-button.c: Updated documentation.
7529 * examples/hildon-button-example.c: Add the posibility to create
7530 the buttons using horizontal layout for title and value.
7532 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7534 * src/hildon-app-menu-private.h
7535 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7536 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7537 GtkSizeGroup for the filters, use the 'homogeneous' property of
7540 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7542 * examples/hildon-button-example.c: Updated example.
7544 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7546 * doc/hildon-docs.sgml:
7549 Update documentation.
7551 * examples/Makefile.am: Update renamed examples.
7553 * examples/hildon-picker-button-multicolumn-example.c:
7554 (create_touch_selector), (main): Update after the rename.
7556 * examples/hildon-touch-picker-example.c: Removed.
7557 * examples/hildon-touch-selector-example.c: (value_changed),
7558 (create_selector), (get_visible_content), (main): Renamed from
7559 hildon-touch-picker-example.c
7561 * src/Makefile.am: Updated renamed files.
7563 * src/hildon-date-button.c: (hildon_date_button_init),
7564 (hildon_date_button_get_date), (hildon_date_button_set_date):
7565 * src/hildon-date-selector.c: (hildon_date_selector_init),
7566 (_custom_print_func), (_update_day_model),
7567 (_manage_selector_change_cb),
7568 (hildon_date_selector_select_current_date),
7569 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7570 * src/hildon-date-selector.h:
7571 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7572 (hildon_picker_button_set_property),
7573 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7574 (hildon_picker_button_init), (hildon_picker_button_new_text),
7575 (hildon_picker_button_append_text),
7576 (hildon_picker_button_prepend_text),
7577 (hildon_picker_button_insert_text),
7578 (hildon_picker_button_set_selector),
7579 (hildon_picker_button_get_selector):
7580 * src/hildon-picker-button.h:
7581 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7582 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7583 (_update_title_on_selector_changed_cb), (requires_done_button),
7584 (_hildon_picker_dialog_set_selector),
7585 (hildon_picker_dialog_set_selector),
7586 (hildon_picker_dialog_get_selector):
7587 * src/hildon-picker-dialog.h:
7588 * src/hildon-time-button.c: (hildon_time_button_init),
7589 (hildon_time_button_get_time), (hildon_time_button_set_time):
7590 * src/hildon-time-selector.c: (hildon_time_selector_init),
7591 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7592 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7593 * src/hildon-time-selector.h:
7596 Massive code updates after the rename.
7598 * src/hildon-touch-picker.c: Removed.
7599 * src/hildon-touch-picker.h: Removed.
7601 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7602 (hildon_touch_selector_init), (hildon_touch_selector_map),
7603 (hildon_touch_selector_remove), (_default_print_func),
7604 (_selection_changed_cb), (_create_new_column),
7605 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7606 (hildon_touch_selector_append_text_column),
7607 (hildon_touch_selector_remove_column),
7608 (hildon_touch_selector_set_column_attributes),
7609 (hildon_touch_selector_insert_column),
7610 (hildon_touch_selector_get_num_columns),
7611 (hildon_touch_selector_get_column_selection_mode),
7612 (hildon_touch_selector_set_column_selection_mode),
7613 (hildon_touch_selector_set_print_func),
7614 (hildon_touch_selector_get_print_func),
7615 (hildon_touch_selector_get_active_iter),
7616 (hildon_touch_selector_set_active_iter),
7617 (hildon_touch_selector_get_selected_rows),
7618 (hildon_touch_selector_get_model),
7619 (hildon_touch_selector_set_model),
7620 (hildon_touch_selector_get_current_text),
7621 (_hildon_touch_selector_center_on_selected_items):
7622 * src/hildon-touch-selector.h: Renamed from
7623 hildon-touch-picker.[ch]
7625 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7626 references, code examples, and related documentation.
7628 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7630 * doc/hildon-docs.sgml
7633 * src/hildon-toggle-button.c
7634 * src/hildon-toggle-button.h
7635 * src/hildon.h: New HildonToggleButton widget.
7637 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7639 * src/hildon-button.c: Add API documentation.
7640 (hildon_button_set_size_groups): Check input parameters
7642 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7644 * src/hildon-pannable-area.c
7645 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7646 effect after reaching the movement thredshold. This way we start
7647 using the distance after passing the thredshold.
7649 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7651 * src/hildon-button.c: (hildon_button_set_property): Use the
7652 appropriate g_value_get_flags() method.
7654 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7656 * doc/hildon-docs.sgml:
7659 Add the touch pickers, picker dialogs, and picker button widgets
7660 to the documentation.
7662 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7664 * src/hildon-button.c: (hildon_button_set_property),
7665 (hildon_button_class_init): Make "arrangement-flags" a proper
7666 G_TYPE_FLAGS derived property.
7668 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7670 * examples/Makefile.am: Add below examples.
7671 * examples/hildon-date-button-example.c:
7672 * examples/hildon-picker-button-example.c:
7673 * examples/hildon-picker-button-multicolumn-example.c:
7674 * examples/hildon-time-button-example.c:
7675 * examples/hildon-touch-picker-example.c:
7677 Add examples for the recently added touch pickers,
7678 picker dialogs, and picker button widgets.
7680 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7682 * src/hildon-button.c: Add some API documentation
7684 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7686 * src/hildon-button.h
7687 * src/hildon-button.c
7689 (hildon_button_new_with_text): New constructor to create a button
7690 with no text at all.
7691 (hildon_button_init, hildon_button_set_arrangement)
7692 (hildon_button_set_title, hildon_button_set_value)
7693 (hildon_button_set_text)
7694 (hildon_button_construct_child): Hide the value when it's not used
7695 so the rest of the text is properly aligned.
7696 Allow creating buttons with arbitrary widgets inside (not just
7697 title/value labels).
7699 * examples/hildon-button-example.c (vertical_buttons_window)
7700 (horizontal_buttons_window): Update example to use new API.
7702 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7704 * src/Makefile.am: Added HildonTimeButton.
7705 * src/hildon-time-button.c: Added missing LGPL header.
7706 * src/hildon-time-button.h: Added missing LGPL header.
7707 * src/hildon.h: Add hildon-time-button.h
7709 Copied HildonTimeButton from sandbox to trunk. Future work on this
7710 widget must take place in trunk.
7712 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7714 * src/Makefile.am: Added HildonDateButton.
7715 * src/hildon-date-button.c: Update includes.
7716 * src/hildon.h: Add hildon-date-button.h
7718 Copied HildonDateButton from sandbox to trunk. Future work on this
7719 widget must take place in trunk.
7721 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7723 * src/Makefile.am: Added HildonPickerButton.
7724 * src/hildon-picker-button.h: Update includes.
7725 * src/hildon.h: Add hildon-picker-button.h
7727 Copied HildonPickerButton from sandbox to trunk. Future work on
7728 this widget must take place in trunk.
7730 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7732 * src/Makefile.am: Added HildonPickerDialog.
7733 * src/hildon-picker-dialog.c: Update includes.
7734 * src/hildon.h: Add hildon-picker-dialog.h
7736 Copied HildonPickerDialog from sandbox to trunk. Future work
7737 on this widget must take place in trunk.
7739 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7741 * src/Makefile.am: Added HildonTimeSelector.
7742 * src/hildon.h: Add hildon-time-selector.h
7744 Copied HildonTimeSelector widget from sandbox to trunk. Future
7745 work on this widget must happen in trunk.
7747 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7749 * src/Makefile.am: Added HildonDateSelector.
7750 * src/hildon.h: Add hildon-date-selector.h
7752 Copied HildonDateSelector 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 HildonTouchPicker.
7758 * src/hildon-touch-picker.c: Update includes.
7759 * src/hildon.h: Add hildon-touch-picker.h
7761 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7762 on this widget must happen in trunk.
7764 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7766 * src/hildon-pannable-area.c:
7767 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7769 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7771 * examples/hildon-app-menu-example.c (main): Let the window
7774 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7776 * src/hildon-pannable-area.c
7777 (hildon_pannable_area_class_init): Set the min value of the
7778 overshoot properties to zero, which points out that not
7779 overshooting allowed.
7781 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7783 Modified the procedure to get the widget at a point inside the
7784 pannable area when using the movement type signals. Now the user
7785 has to call a function to get the child, that way we just
7786 calculate the child in case the user really want to use it and not
7789 * src/hildon-marshalers.list: Modified the marshallers, now we do
7790 not have the widget as a parameter.
7792 * src/hildon-pannable-area.c
7793 (hildon_pannable_area_motion_notify_cb),
7794 (hildon_pannable_area_class_init),
7795 (hildon_pannable_get_child_widget_at): Removed the widget
7796 parameter from the signal callback. We have also refactored the
7797 emission of the signals.
7799 * src/hildon-pannable-area.h: Added a new method to the API to
7800 calculate a widget at a point inside the pannable area,
7801 hildon_pannable_get_child_widget_at.
7803 * examples/hildon-pannable-area-example-4.c
7804 (horizontal_movement): Modified the example to use the new API,
7805 added condition to control which widget is under the event. This
7806 way we can avoid scrolling laterally over other widgets.
7808 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7810 * src/hildon-pannable-area.c
7811 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7812 modes, we stop getting the pointer events due to returning the
7813 callback without properly calling the get pointer again. Fixed
7814 also an error using the hscroll and vscroll.
7816 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7818 * src/hildon-app-menu-private.h
7819 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7820 (hildon_app_menu_button_release, hildon_app_menu_init)
7821 (hildon_app_menu_class_init): Don't hide the menu on button
7822 release if the user didn't press outside first.
7824 * src/hildon-window.h
7825 * src/hildon-window.c (hildon_window_toggle_menu)
7826 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7827 hildon_window_toggle_menu a virtual function for the stackable
7828 window to override it.
7830 * src/hildon-stackable-window.h
7831 * src/hildon-stackable-window-private.h
7832 * src/hildon-stackable-window.c
7833 (hildon_stackable_window_realize)
7834 (hildon_stackable_window_finalize)
7835 (hildon_stackable_window_class_init)
7836 (hildon_stackable_window_init)
7837 (hildon_stackable_window_set_main_menu): New function to set the
7838 app menu of a HildonStackableWindow.
7840 * examples/hildon-app-menu-example.c: Remove the button to show
7841 the app menu, now it'll be shown when clicking on the title bar
7844 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7846 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7847 set the widget name if the arrangement flags do not specify
7850 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7852 * src/hildon-button.c: (hildon_button_set_property),
7853 (hildon_button_class_init), (hildon_button_new_full),
7854 (hildon_button_set_arrangement): Added "arrangement-flags"
7857 Make the HildonButtonFlags a construction-only property, to allow
7858 subclasses to set them properly.
7860 2008-07-21 Tim Janik <timj@imendio.com>
7862 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7863 insertion position after backspace, so additional digits are appended,
7866 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7868 * src/hildon-pannable-area.c,
7869 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7870 TODO list, it was complete and removed the g_debug and g_print
7873 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7875 Added the movement modes to the hildon-pannable-area, with this
7876 modes the developers can control in which directions the widget
7877 can scroll. They can also connect to signals in order to do
7878 something when that happens, allowing applications scroll. There
7879 is an example uploaded showing how to use it.
7881 * examples/Makefile.am:
7882 * examples/hildon-pannable-area-example-4.c: Added this example of
7883 an application using the modes.
7885 * src/hildon-marshalers.list: Added a new marshaller for the new
7888 * src/hildon-pannable-area.h: Added new enumerations and flags in
7889 order to control the movement modes and the new signals to warn
7890 about the movements in the area.
7892 * src/hildon-pannable-area.c:
7893 (hildon_pannable_axis_scroll),
7894 (hildon_pannable_area_scroll),
7895 (hildon_pannable_area_motion_notify_cb),
7896 (hildon_pannable_area_get_property),
7897 (hildon_pannable_area_set_property),
7898 (hildon_pannable_area_map),
7899 (hildon_pannable_area_class_init),
7900 (hildon_pannable_area_init),
7901 (hildon_pannable_area_jump_to): Added the modes to control the
7902 movement in the widget. We have added properties to control it,
7903 signals to warn about the movements and refactored some code.
7905 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7907 Changes required in order to allow vfast_factor set to zero to
7910 * src/hildon-pannable-area.c:
7911 (hildon_pannable_area_button_press_cb): Changed the condition, it
7912 is required for not allowing click when vfast_factor is zero.
7913 (hildon_pannable_area_timeout): Initialized velocity variables
7914 when we stop moving, it was less than 1 but not zero and we need
7915 to check zero in some situations.
7916 (hildon_pannable_area_class_init): Changed the default value of
7917 the speed factor, now the button_press is just sent in case the
7918 speed is 2 per cent of the max speed.
7919 (hildon_pannable_area_init): Initialization with 0.
7921 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7923 * src/hildon-pannable-area.c,
7924 (hildon_pannable_area_get_topmost): replaced
7925 gdk_window_get_children with gdk_window_peek_children, this way we
7926 do not have to free the list because it is not a copy.
7928 (hildon_pannable_axis_scroll),
7929 (hildon_pannable_area_scroll),
7930 (hildon_pannable_area_timeout),
7931 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7932 two parameters that were only used inside the
7933 hildon_pannable_area_scroll function.
7935 * examples/hildon-pannable-area-example.c,
7936 (get_sawtooth_label): Fixed small memory leak.
7938 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7940 More checks for the case where the overshoot is bigger than the
7943 * src/hildon-pannable-area.c:
7944 (hildon_pannable_draw_vscroll),
7945 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7946 to draw the slider of the scrollbar under the other scrollbar.
7947 (hildon_pannable_area_expose_event): added new checks to control
7948 the drawing of the overshooting area rectangle, in case it is too
7949 big for the area of the widget.
7950 (hildon_pannable_area_size_allocate): add more checks to avoid
7951 setting a position to the child widget outside the area.
7953 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7955 * src/hildon-pannable-area.c
7956 (hildon_pannable_area_size_allocate): Added conditions to control
7957 when overshooting is bigger than the allocated space for the
7958 children, this avoids negative allocations.
7960 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7962 * doc/hildon-docs.sgml
7964 * examples/Makefile.am
7965 * examples/hildon-button-example.c
7967 * src/hildon-button.c
7968 * src/hildon-button.h
7969 * src/hildon.h: Initial version of the new HildonButton widget,
7972 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7974 * src/hildon-pannable-area.c:
7975 (hildon_pannable_area_button_press_cb),
7976 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7977 (hildon_pannable_area_motion_notify_cb),
7978 (hildon_pannable_area_button_release_cb),
7979 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7980 (hildon_pannable_area_jump_to_child):
7982 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7984 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7986 * examples/Makefile.am
7987 * examples/hildon-pannable-area-touch-grid-example.c
7988 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7989 the Hildon Touch List and Hildon Touch Grid using the
7990 HildonPannableArea widget.
7992 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7994 * src/hildon-pannable-area.c,
7995 (hildon_pannable_area_button_press_cb),
7996 (hildon_pannable_area_refresh),
7997 (hildon_pannable_area_scroll),
7998 (hildon_pannable_area_motion_notify_cb),
7999 (hildon_pannable_area_button_release_cb),
8000 (hildon_pannable_area_expose_event),
8001 (hildon_pannable_area_add),
8002 (hildon_pannable_area_remove),
8003 (hildon_pannable_area_realize),
8004 (hildon_pannable_area_size_allocate),
8005 (hildon_pannable_area_class_init),
8006 (hildon_pannable_area_init),
8007 (hildon_pannable_area_scroll_to_child),
8008 (hildon_pannable_area_jump_to_child): Fixed the problem of
8009 removing the child from the GtkBin, we have rearranged the widget
8010 hierarchy, now there is no GtkAlignment which was not doing
8011 anything interesting but breaking some of the assumptions of
8012 GtkContainer. Now developers if they want to add a GtkAlignment
8013 they could, but it is not inside the area.
8015 We had to review the whole allocation/expose process, now it is
8016 improved and we save at least three signals which would be saving
8017 some time when rendering the widget. The allocation of the
8018 scrollbars is now made in the allocate method as usual.
8020 We have also added some conditions in order to control when there
8021 is no child of the pannable area. Maybe we will need more work
8024 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8026 * src/hildon-pannable-area.c,
8027 (hildon_pannable_area_dispose): Released the fade-out timeout when
8028 disposing the widget.
8030 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8032 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8033 zero, we are going to use that property in order to deactivate the
8035 (hildon_pannable_axis_scroll),
8036 (hildon_pannable_area_size_allocate): Added conditions to control
8037 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8038 call, now it is called in all situations and we can remove calls
8039 in the allocate method.
8040 (hildon_pannable_area_map): Control the situation when
8041 overshoot_max is zero, we do not need the timeout.
8042 (hildon_pannable_area_class_init): Added documentation in order to
8043 point out that setting zero to overshoot_max means deactivate
8046 NOTE: removed trailing whitespaces from my previous comments of
8049 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8051 * src/hildon-pannable-area.c
8052 (hildon_pannable_area_get_property),
8053 (hildon_pannable_area_set_property),
8054 (hildon_pannable_area_map),
8055 (hildon_pannable_area_class_init),
8056 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8057 to cause the widget give a hint about its panning abilities upon
8060 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8062 * src/hildon-pannable-area.c: Several documentation improvements.
8064 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8066 * src/hildon-program.c
8067 * src/hildon-stackable-window.c: Update documentation.
8069 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8071 * src/hildon-stackable-window.c (get_previous_window_if_last):
8072 Renamed get_last_window()
8073 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8074 (hildon_stackable_window_unset_program):
8076 (get_previous_window_if_last):
8077 Detect if the window hasn't been added to a HildonProgram.
8079 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8081 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8083 * src/hildon-pannable-area.c
8084 (hildon_pannable_area_button_press_cb),
8085 (hildon_pannable_axis_scroll),
8086 (hildon_pannable_area_scroll),
8087 (hildon_pannable_area_timeout),
8088 (hildon_pannable_calculate_vel_factor),
8089 (hildon_pannable_area_get_property),
8090 (hildon_pannable_area_set_property),
8091 (hildon_pannable_area_class_init),
8092 (hildon_pannable_area_init),
8093 (hildon_pannable_area_scroll_to),
8094 (hildon_pannable_area_jump_to),
8095 (hildon_pannable_area_scroll_to_child),
8096 (hildon_pannable_area_jump_to_child):
8097 * src/hildon-pannable-area.h: Added the new API functions:
8098 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8099 hildon_pannable_area_scroll_to_child,
8100 hildon_pannable_area_jump_to_child
8103 * examples/Makefile.am
8104 * examples/hildon-pannable-area-example-2.c
8105 * examples/hildon-pannable-area-example-3.c: Added these two new
8106 examples in order to test and show how the new APIs work.
8108 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8110 * examples/hildon-stackable-window-example.c (new_window):
8111 * src/Makefile.am (noinst_HEADERS):
8112 * src/hildon-program.c (hildon_program_go_to_root_window):
8113 * src/hildon-program.h:
8114 * src/hildon-stackable-window-private.h:
8115 * src/hildon-stackable-window.c:
8116 * src/hildon-stackable-window.h:
8117 Create hildon-stackable-window-private.h
8118 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8120 * examples/hildon-app-menu-example.c (create_menu):
8121 * examples/hildon-hvolumebar-insensitive-example.c (main):
8122 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8123 * examples/hildon-toolbar-seekbar-example.c (main):
8124 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8125 * src/hildon-banner.c (hildon_banner_set_property):
8126 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8127 Fix compilation warnings
8129 * src/hildon-window.c:
8132 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8134 * src/hildon-stackable-window.c
8135 (hildon_stackable_window_unset_program):
8136 Calculate correctly whether to show the previous window if the
8137 last one is removed from the stack.
8138 (hildon_stackable_window_go_to_root_window):
8139 Send delete events starting from the topmost window.
8140 Stop if one of the windows is not destroyed.
8142 (hildon_stackable_window_delete_event)
8143 (hildon_stackable_window_class_init):
8144 Ignore the delete event if the window is not the topmost one.
8146 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8148 * src/hildon-pannable-area.c
8149 (hildon_pannable_area_expose_event): Fixed a problem when
8150 selecting the background color of the scrollbars.
8152 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8154 * examples/hildon-stackable-window-example.c
8155 * src/hildon-stackable-window.c
8156 * src/hildon-stackable-window.h
8157 hildon_stackable_window_go_home() renamed to
8158 hildon_stackable_window_go_to_root_window()
8159 Send delete events to windows rather than closing them with
8160 gtk_widget_destroy()
8162 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8164 * src/hildon-pannable-area.c
8165 (hildon_pannable_area_button_release_cb): Fix overshooting in
8168 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8170 * src/hildon-pannable-area.c
8171 (hildon_pannable_area_init): Initially show the scroll indicators.
8172 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8174 Add initial effect showing the widget is pannable.
8176 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8178 * src/hildon-pannable-area.c
8179 (hildon_pannable_area_class_init)
8180 (hildon_pannable_area_set_property)
8181 (hildon_pannable_area_get_property)
8182 (hildon_pannable_area_button_press_cb):
8183 New 'velocity_fast_factor' property to decide which velocity is
8186 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8188 * src/hildon-pannable-area.c
8189 (hildon_pannable_draw_hscroll)
8190 (hildon_pannable_draw_vscroll):
8191 Use float variables to calculate the size of the scrollbars to
8192 avoid error propagation and resizing during scrolling.
8194 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8196 * src/hildon-pannable-area.c
8197 (hildon_pannable_draw_vscroll)
8198 (hildon_pannable_draw_hscroll):
8199 Define a minimum size for the scroll bars
8201 * src/hildon-stackable-window.c
8202 (hildon_stackable_window_go_home): Fix compilation warning
8203 (get_last_window): Minor optimizations
8204 (hildon_stackable_window_class_init): Fix initialization of
8207 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8209 * src/hildon-stackable-window.c: Fixed typos in doc
8211 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8213 * src/hildon-pannable-area.c
8214 (hildon_pannable_area_scroll):
8215 Calculate here whether we need to scroll instead of using the booleans
8216 that tell us whether to /draw/ the scrolling bars.
8218 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8220 * src/hildon-app-menu.h
8222 * src/hildon-app-menu.c
8223 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8224 multiple filter groups related code and API. Now we support only
8226 * examples/hildon-app-menu-example.c:
8228 Update to reflect API changes.
8230 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8232 * src/hildon-stackable-window.c
8233 (hildon_stackable_window_class_init):
8234 Add hildon_stackable_window_realize.
8235 (hildon_stackable_window_realize):
8236 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8237 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8238 to apply theming and behavior specific to HildonStackableWindow
8241 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8243 * src/hildon-note.c (hildon_note_button_release):
8244 Close information notes also when tapping on them
8246 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8248 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8249 ELASTICITY, refactor and review, fix some issues with drawing
8252 * src/hildon-pannable-area.c:
8253 (hildon_pannable_area_button_press_cb): removed the conditions to
8254 avoid clicks when overshooting. It is not required
8256 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8257 define. Refatored and reviewed the code, now we do not need to
8258 manage velocity in motion_notify.
8260 (hildon_pannable_area_motion_notify_cb): We have moved the code
8261 that controls the area_scroll to the axis_scroll function and get
8262 rid of duplicated code.
8264 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8266 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8268 (hildon_pannable_draw_vscroll),
8269 (hildon_pannable_draw_hscroll): Fixed the problems with the
8270 scrollbar drawing, now we do not use two surfaces, it is easier
8271 and saves resources.
8273 (hildon_pannable_area_get_property): Style modification.
8275 (hildon_pannable_area_class_init): Changed some default values.
8277 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8279 * src/hildon-stackable-window.c: Fix some typos in the
8282 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8284 * src/hildon-dialog.c:
8285 Change indentation style
8288 (hildon_note_button_release):
8289 Use root coordinates to check if the release event happened
8292 * src/hildon-app-menu.c
8293 (hildon_app_menu_button_release):
8294 Remove unnecessary check
8296 * examples/hildon-app-menu-example.c
8298 Add cast to fix warning
8300 * src/hildon-app-menu.c
8301 (hildon_app_menu_class_init):
8302 New inner-border style property.
8303 Set all default spacings to 16
8304 (hildon_app_menu_init):
8305 Use vertical-spacing to set the space between filter buttons and
8306 regular menu buttons.
8307 Set the default container border using the inner-border value.
8309 * examples/hildon-app-menu-example.c
8311 Don't set the menu border explicitly, now we have the inner-border
8312 style property for that.
8314 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8316 * src/hildon-app-menu.c (hildon_app_menu_init):
8317 Make the window modal
8319 * src/hildon-note.c (hildon_note_map)
8320 * src/hildon-app-menu.c (hildon_app_menu_map):
8321 Destroy the grab window if we're unable to grab the pointer
8323 * src/hildon-app-menu-private.h
8324 * src/hildon-app-menu.c
8325 (hildon_app_menu_init, hildon_app_menu_finalize)
8326 (hildon_app_menu_map, hildon_app_menu_unmap)
8327 (hildon_app_menu_button_release)
8328 (grab_transfer_window_get):
8329 Bring back the grab window
8330 (hildon_app_menu_realize):
8331 Decorate the window, set WM hint for Matchbox
8333 * src/hildon-note.c (hildon_note_realize):
8334 * src/hildon-banner.c (hildon_banner_realize):
8335 Add WM hints for Matchbox
8337 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8339 * src/hildon-app-menu-private.h
8340 * src/hildon-app-menu.c
8341 (hildon_app_menu_init, hildon_app_menu_finalize)
8342 (hildon_app_menu_map, hildon_app_menu_unmap)
8343 (hildon_app_menu_button_release):
8344 Remove the grab window, it's not needed anymore
8346 * src/hildon-program.c
8347 Fixed typo in documentation
8349 * src/hildon-app-menu.h
8350 * src/hildon-app-menu.c
8351 * examples/hildon-app-menu-example.c
8352 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8354 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8357 Added new transfer_window and close_if_pressed_outside private
8359 (hildon_note_rebuild):
8360 Don't add a cancel button to the information note. It will be
8361 closed when tapping outside
8362 Remove the comment about the OK button in the documentation
8363 (hildon_note_realize):
8364 Set the notification type hint
8365 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8366 Grab/ungrab pointer and keyboard if the note has to be closed when
8368 (hildon_note_button_release):
8369 Close the note when tapping outside (if applicable)
8371 * src/hildon-app-menu.c
8372 Grab/ungrab pointer and keyboard on map/unmap
8373 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8374 Close the menu on button release, not button press
8376 * src/hildon-banner.c
8377 (hildon_banner_set_property)
8378 (hildon_banner_check_position):
8379 Make the banner use the full width of the screen
8380 (hildon_banner_show_information)
8381 (hildon_banner_show_information_with_markup):
8382 Don't display an icon by default
8384 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8386 Added fading scrollbars and adapted all the overshooting code to
8387 horizontal scrolling. We have also fixed bugs with overshooting
8388 and current fading implementation.
8390 * src/hildon-pannable-area.c
8391 (hildon_pannable_area_scroll_indicator_fade): Time out function
8392 used to change the transparency of the scrollbars.
8394 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8395 control and fixed a problem with fading, we now remove the fade
8396 timeout before adding a new one.
8398 (hildon_pannable_axis_scroll):
8399 (hildon_pannable_area_scroll):
8400 (hildon_pannable_area_timeout): Added this functions so we can use
8401 the scroll code both for vertical and horizontal.
8403 (hildon_pannable_area_motion_notify_cb):
8404 (hildon_pannable_area_button_release_cb): Added the horizontal
8405 scrolling control, fixed a problem with the overshooting timeout.
8407 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8408 painting of the scrolls.
8410 (hildon_pannable_draw_vscroll):
8411 (hildon_pannable_draw_hscroll):
8412 (hildon_pannable_area_expose_event):
8413 Draw both scrollbars and rectangles in the overshooting area.
8415 (hildon_pannable_area_get_property):
8416 (hildon_pannable_area_set_property):
8417 Modified the overshoot property to overshoot_max
8419 (hildon_pannable_area_map):
8420 Replaced the comments symbols.
8422 (hildon_pannable_area_size_allocate):
8423 (hildon_pannable_area_class_init):
8424 (hildon_pannable_area_init): Added horizontal scroll, fading
8425 effect properties, fixed a problem when overshooting in the bottom
8428 * examples/hildon-pannable-area-example.c:
8429 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8430 looks better in the example.
8432 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8434 * src/hildon-window.c
8435 * src/hildon-window.h
8436 (hildon_window_class_init)
8437 (hildon_window_unset_program)
8438 (hildon_window_unset_program_real):
8439 Make unset_program a virtual function
8441 * src/hildon-stackable-window.c
8442 * src/hildon-stackable-window.h
8443 Added hildon_stackable_window_go_home()
8445 * examples/Makefile.am
8446 * examples/hildon-stackable-window-example.c
8447 HildonStackableWindow example
8449 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8451 * hildon-pannable-area.c: Added the overshoot property and removed
8452 the OVERSHOOT define. Fixed an indent style error.
8453 (hildon_pannable_area_motion_notify_cb):
8454 (hildon_pannable_area_get_property):
8455 (hildon_pannable_area_set_property): Add overshoot property.
8457 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8460 (hildon_pannable_area_class_init): Installed the new property.
8462 * hildon-pannable-area-example.c: Added a sawtooth function, this
8463 way it is easier to check the movement in the pannable.
8464 (get_sawtooth_label): Added this function.
8465 (main): Now we get the labels from the new get_sawtooth_label
8468 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8470 * src/hildon-app-menu.h
8471 * src/hildon-app-menu.c
8472 Renamed API variables for consistency
8474 (hildon_app_menu_popup): Use also the default window size to
8475 decide where to place the menu
8477 (hildon_app_menu_init, hildon_app_menu_class_init): New
8478 external-border style property
8480 2008-05-26 Michael Natterer <mitch@imendio.com>
8482 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8483 widget_class->tap_and_hold_setup signal slot doesn't exist any
8484 longer, stop overriding it.
8486 (hildon_time_editor_init): g_signal_connect() to the
8487 tap-and-hold-setup signal instead.
8489 (hildon_time_editor_entry_keypress): add cast to fix warning.
8491 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8493 * doc/hildon-docs.sgml
8495 * examples/Makefile.am
8496 * examples/hildon-app-menu-example.c
8498 * src/hildon-app-menu-private.h
8499 * src/hildon-app-menu.c
8500 * src/hildon-app-menu.h
8502 New HildonAppMenu widget
8504 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8506 Rearranged the inheritance of the pannable area, now it inherits
8507 from GtkBin. This will allow us to control the event_window and
8508 the allocation process of the widget, required for some effects.
8510 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8511 GtkBin structures. * src/hildon-pannable-area.c: Added the
8512 event_window variable.
8513 (hildon_pannable_area_button_press_cb):
8514 (hildon_pannable_area_button_release_cb):
8515 (hildon_pannable_area_motion_notify_cb):
8516 Changed the signature of the method, now we override the event
8517 callback instead of connecting to the signal.
8519 (hildon_pannable_area_realize):
8520 (hildon_pannable_area_unrealize):
8521 (hildon_pannable_area_map):
8522 (hildon_pannable_area_unmap):
8523 (hildon_pannable_area_size_allocate):
8524 Added functions to control the widget construction. We add a
8525 INPUT_ONLY window and we put it over the widgets inside the
8526 container, this event_window handles the events.
8528 (hildon_pannable_area_class_init):
8529 Replaced the signal connections with overrides of the event
8532 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8534 Bouncing effect added when touching the borders, you can change
8535 the elasticity of the border changing the ELASTICITY define.
8537 * src/hildon-pannable-area.c: Added ELASTICITY define.
8538 (hildon_pannable_area_timeout): Added inverse velocity when
8539 touching the border of the child widget, that causes a bounce.
8541 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8543 Improved performance, we now do not go to the X server in order to
8544 get the list of window children. Apparently the effect is the
8545 same, we have to be careful and check if this breaks something in
8548 * src/hildon-pannable-area.c:
8549 (get_ordered_children): Removed this function.
8550 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8551 the children windows function with gdk_window_get_children.
8553 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8555 * src/hildon-pannable-area.c:
8556 (hildon_pannable_area_dispose): Fixed a crash when closing the
8557 window and kinetics is activated.
8559 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8561 * src/hildon-pannable-area.h
8562 * src/hildon-pannable-area.c
8563 Changed indentation style to meet the one used in Hildon
8565 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8567 Reviewed the interaction of the AUTO mode, now we use the time
8568 attribute of the events and calculate the velocity in the motion,
8569 doing a gimp like calculation. The velocity is calculated in each
8570 motion event using the last velocity and the current one, the
8571 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8573 * src/hildon-pannable-area.c: Replaced the time based algorithm
8575 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8576 timeout for the AUTO mode when we are still moving the cursor. We
8577 added also the velocity calculation in this function.
8578 (hildon_pannable_area_button_release_cb): launch the timeout in
8579 case we are in AUTO mode. There are still some constants here that
8580 come from the old implementation that should be reviewed and
8583 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8585 * doc/hildon-docs.sgml
8588 * src/hildon-stackable-window.c
8589 * src/hildon-stackable-window.h
8591 New HildonStackableWindow widget
8593 * examples/hildon-dialog-example.c
8594 * examples/hildon-pannable-area-example.c
8597 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8599 * src/hildon-dialog.c
8600 (hildon_dialog_new_with_buttons): New constructor.
8602 * examples/hildon-dialog-example.c
8603 (main): Update the example to use the new
8604 hildon_dialog_new_with_buttons().
8606 * examples/hildon-pannable-area-example.c
8607 (main): Update example.
8609 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8611 * doc/hildon-docs.sgml
8613 Added HildonPannableArea to the documentation.
8615 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8617 * doc/visual_index.xml
8618 Fix reference to HildonLoginDialog in documentation
8620 * doc/hildon-docs.sgml
8622 * examples/Makefile.am
8623 * examples/hildon-dialog-example.c
8625 * src/hildon-dialog.c
8626 * src/hildon-dialog.h
8628 New HildonDialog widget.
8630 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8632 * src/hildon-pannable-area.c
8633 Merge latest changes (r4318, r4342) from libmokoui trunk
8635 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8637 * examples/Makefile.am
8638 * examples/hildon-pannable-area-example.c
8640 * src/hildon-pannable-area.c
8641 * src/hildon-pannable-area.h
8643 New HildonPannableArea widget.
8645 2008-04-15 18:05:19 <timj@imendio.com>
8647 * src/hildon-banner.c: revert the recent change, that introduced
8648 gtk_window_present() calls. this reopens:
8649 Bug 78481 - [freetest] information banners are hidden under browser menu
8650 But resolves another variant of:
8651 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8653 2008-04-15 13:21:13 <timj@imendio.com>
8655 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8656 recreated its layout, spotted by Kris. this fixes all remaining
8657 artefacts and stability issues with the banner code. in particular:
8658 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8660 2008-04-14 16:52:59 <timj@imendio.com>
8662 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8663 operating on unrealized widgets, fixes:
8664 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8666 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8668 2008-04-09 Kristian Rietveld <kris@imendio.com>
8670 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8671 makes banner disappear.
8672 Fixes: NB#79182: info banner flickering with certain message lengts.
8674 * src/hildon-banner.c (hildon_banner_constructor),
8675 (hildon_banner_init), (hildon_banner_set_text),
8676 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8677 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8678 FALSE, reset size requests of label and banner,
8679 (force_to_wrap_truncated): when the text is too wide, always enforce
8680 the maximum possible width instead of recalculating it from the
8681 layout; enforce the maximum banner height of 3 lines,
8682 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8683 nicer wrapping and no truncated chars if space gets tight.
8685 * src/hildon-banner-private.h: add has_been_wrapped and
8686 has_been_truncated fields.
8688 2008-04-07 Sven Herzberg <sven@imendio.com>
8690 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8691 local values in hildon_date_editor_size_allocate
8693 * src/hildon-date-editor.c: moved the real allocation code into the
8696 2008-04-07 Sven Herzberg <sven@imendio.com>
8698 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8699 local values in hildon_date_editor_size_allocate
8701 * src/hildon-date-editor.c: merged the two if() branches together
8703 2008-04-07 Sven Herzberg <sven@imendio.com>
8705 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8706 local values in hildon_date_editor_size_allocate
8708 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
8717 from the real allocation
8719 2008-03-27 Michael Natterer <mitch@imendio.com>
8721 Fixes: NB#81696: The passcode is not overwritten even after
8724 * src/hildon-code-dialog.c
8725 (hildon_code_dialog_button_clicked)
8726 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8727 because that doesn't overwrite selected text. Instead, emit the
8728 "commit" signal on the entry's im_context so the entry's normal
8729 insert logic is triggered. Set the cursor to the end of the entry
8730 after each insert operation so that we *only* insert in the middle
8731 of the text if something was selected.
8733 2008-03-27 Michael Natterer <mitch@imendio.com>
8735 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8736 selector cannot be opened
8738 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8739 when the popup color selector is created. Please connect to this
8740 signal in order to set the dialog's help ID.
8742 2008-03-25 Sven Herzberg <sven@imendio.com>
8744 Fixes: MB#1212: Hide info banners (infoprints) on click
8746 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8747 extracted the close event simulation into an extra function
8748 (hildon_banner_button_press_event): simulate a close event and destroy
8749 the widget if the event wasn't handled
8750 (hildon_banner_class_init): added the button_press_event handler
8751 (hildon_banner_init): added button-press events to the widget
8753 2008-03-25 Sven Herzberg <sven@imendio.com>
8755 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8756 Patch from: Mohammad Anwari <mdamt@maemo.org>
8758 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8759 instead of the right in RTL mode
8760 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8761 breadcrumb button list in RTL mode
8762 * src/hildon-caption.c: mirror the appearance of the caption widget in
8764 * src/hildon-date-editor.c: mirror appearance of the date editor in
8766 * src/hildon-time-editor.c: mirror appearance of the time editor in
8768 * src/hildon-window.c: fix the position of the popup in RTL mode
8770 2008-03-25 Sven Herzberg <sven@imendio.com>
8772 Amendment to the fix of NB#22072. Fix compilation.
8774 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8776 2008-03-19 Sven Herzberg <sven@imendio.com>
8778 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8781 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8782 timeout id properly when the timeout will disappear this leaves no
8783 artifacts around in the destroy(); there will only be the timeout
8784 created by hildon_banner_ensure_timeout() and adding a new timeout
8785 will also work if the timeout gets removed because the timeout_handler
8788 2008-03-19 Michael Natterer <mitch@imendio.com>
8790 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8792 * src/hildon-volumebar.c
8793 * src/hildon-vvolumebar.c
8794 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8795 the widget becomes focussable at all.
8797 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8798 set the focus to wither the mute button or the volumebar.
8800 Remove own "can-focus" property and instead listen to
8801 notify::can-focus in order to update the widget's state.
8803 Implement GtkWidget::focus() and make sure we can also *leave* the
8804 widget, not only enter it, depending on volumebar orientation and
8805 requested focus direction.
8807 Clean up set_mute() to cooperate nicely with all the above.
8809 2008-03-04 Michael Natterer <mitch@imendio.com>
8811 Fixes: NB#78481: information banners are hidden under browser menu
8813 * src/hildon-banner.c: call gtk_window_present() on the banners so
8814 they are risen if they are already visible.
8816 2008-03-03 Sven Herzberg <sven@imendio.com>
8818 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8820 * examples/hildon-window-menu-example.c: (main): extended the window
8821 menu example to serve as a testcase for automatically added
8822 accelerator groups, too
8823 * src/hildon-window.c: (hildon_window_add_accel_group),
8824 (hildon_window_set_menu): added patch by Tommi Komulainen
8826 2008-03-03 Sven Herzberg <sven@imendio.com>
8828 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8830 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8831 knowledge about the border allocators used within GTK+
8833 2008-02-26 Sven Herzberg <sven@imendio.com>
8835 Fixes: MB#2981: Build with asserts broken
8837 * src/hildon-date-editor.c,
8838 * src/hildon-number-editor.c,
8839 * src/hildon-time-editor.c,
8840 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8841 the proper GType instance check
8843 2008-02-25 Sven Herzberg <sven@imendio.com>
8845 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8847 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8848 * examples/hildon-window-menu-example.c: (main): explicitly show
8850 * src/hildon-window.c:
8851 (hildon_window_set_main_menu): moved most of the code from set_menu()
8852 to this place; skipped the call to gtk_widget_show_all(); also didn't
8853 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8854 (hildon_window_set_menu): removed most of the code, just keep the
8855 questionable gtk_widget_show_all()
8856 * src/hildon-window.h: added the new function and deprecate the old
8859 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8865 * debian/changelog: Updating.
8867 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8870 * pkgconfig/Makefile.am:
8871 * pkgconfig/hildon.pc.in:
8874 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8875 use newly created API_MAJOR_VERSION.
8877 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8883 * debian/changelog: Updating.
8885 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8887 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8889 Add outer_border style property, we use it but don't define it (!).
8893 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8895 * examples/hildon-bread-crumb-trail-example.c (main):
8899 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8901 Fix logic for the bread crumb trail node removal.
8905 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * debian/changelog: Updating.
8913 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8915 Patch by Alejandro to get/set passwords dialogs accesibility.
8917 * hildon-1/src/hildon-get-password-dialog.c:
8918 * hildon-1/src/hildon-set-password-dialog.c:
8919 Set atk_set_name to the passwd entries in order to allow
8920 accessibility by name on this entries.
8922 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8927 * debian/control: Updating gtk dep.
8929 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8931 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8932 USE_MAEMO_GTK is enabled.
8934 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8936 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8937 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8939 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8945 * debian/changelog: Updating.
8947 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8949 * examples/Makefile.am:
8950 * examples/hildon-logical-color-example.c:
8951 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8952 applied + adding a test case. Fixes: NB#71660.
8954 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8956 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8957 to be visible, fixes warning on map for windows without toolbars.
8959 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8961 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8962 2.11.0, add a check for that besides the MAEMO_GTK check.
8964 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * debian/changelog: Updating.
8972 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8975 visibility. Fixes: NB#70842 and MB#615.
8977 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8979 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8980 set the separator as no-show-all so it doesn't unintentionally appear when
8981 someone does a show_all.
8983 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8985 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8986 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8987 toplevel item. Fixes: NB#62031
8989 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8991 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8992 fix the name of the function in the docs.
8994 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * debian/changelog: Updating.
9002 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9004 * examples/hildon-banner-long-example.c: Adding a test-case for long
9007 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9009 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9011 * src/hildon-color-chooser-dialog.c:
9012 * src/hildon-color-chooser.c:
9013 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9014 memory leaks in font selector and color selector. Fixes: NB#70499 and
9017 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9019 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9021 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9024 little bit bigger. Fixes: #NB63694.
9026 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * debian/changelog: Updating.
9034 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9037 * doc/hildon-docs.sgml:
9038 * doc/images/bread-crumb-trail.png:
9039 * doc/images/calendar-popup.png:
9040 * doc/images/caption.png:
9041 * doc/images/code-dialog.png:
9042 * doc/images/color-button.png:
9043 * doc/images/color-chooser-dialog.png:
9044 * doc/images/color-chooser.png:
9045 * doc/images/controlbar.png:
9046 * doc/images/date-editor.png:
9047 * doc/images/font-selection-dialog.png:
9048 * doc/images/get-password-dialog.png:
9049 * doc/images/hvolumebar.png:
9050 * doc/images/login-dialog.png:
9051 * doc/images/note.png:
9052 * doc/images/number-editor.png:
9053 * doc/images/range-editor.png:
9054 * doc/images/seekbar.png:
9055 * doc/images/set-password-dialog.png:
9056 * doc/images/sort-dialog.png:
9057 * doc/images/time-editor.png:
9058 * doc/images/time-picker.png:
9059 * doc/images/vvolumebar.png:
9060 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9061 Adding the bread-crumb-trial and helpers to the documentation.
9063 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * examples/hildon-find-toolbar-example.c:
9066 * src/hildon-find-toolbar.c:
9067 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9068 actually continue firing the other handlers if connected. Adding a new
9070 hildon_find_toolbar_get_last_index that gets the index of the most
9071 recently added (last) item. Fixes: NB#52301.
9073 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9075 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9076 behaviour. Fixes: NB#68610.
9078 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9083 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9086 when realizing the banner. Should make the infonbanner effect a bit more
9089 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9091 * src/hildon-volumebar.c:
9092 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9093 hildon_volumebar_set_range_insensitive_message and
9094 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9096 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9098 * src/hildon-window.c: Fixing the border freeing on destroy.
9100 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9102 * src/hildon-code-dialog-private.h:
9103 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9104 kw keyboard support in HildonCodeDialog.
9106 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9112 * debian/changelog: Updating.
9114 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9116 * src/hildon-date-editor.c:
9117 * src/hildon-number-editor.c:
9118 * src/hildon-private.c:
9119 * src/hildon-private.h:
9120 * src/hildon-time-editor.c:
9121 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9122 handling in subclassed composite widgets. Fixes: NB#66628.
9124 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9127 from destroy_ callback as it introduces problems in async dbus signal
9128 handlers. Fixes NB#66673.
9130 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9132 * examples/hildon-hvolumebar-example.c:
9133 * src/hildon-volumebar.c: Improving the focus handling in the
9134 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9135 set_property accessor so that "mute" property can be actually set. I'm
9136 scared that nobody noticed it's totally broken.
9138 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9143 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9145 * src/hildon-calendar.c:
9146 * src/hildon-number-editor.c:
9147 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9148 matches the spec of 6 chars per second. Fixes: NB#60489.
9150 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9153 gtk_style_lookup_color sometime returns FALSE even though color was
9154 found and values were filled properly. Weird. Removing the warning for the
9157 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9159 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9160 expand vertically. Adding some extra space to the find toolbar buttons to
9161 make them thumbable. Fixes NB#66060.
9163 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9165 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9166 popup with "Ok" and "Cancel". Fixes NB#59299.
9168 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9170 * src/hildon-calendar.c: Process all window updates before executing next
9171 timeout. Fixes: NB#54146.
9173 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9179 * debian/changelog: Updating.
9181 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9183 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9184 the client event and ignore it, since we use the delete event to close
9187 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * src/hildon-helper.c: Remove the bogus warning about color not being
9190 found. Fixes NB#58352.
9192 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9194 * examples/Makefile.am:
9195 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9196 HildonSeekbar widget inside a toolbar.
9198 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9200 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9201 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9202 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9203 don't want to be closed by non-temporary windows on map.
9205 Also use G_DEFINE_TYPE instead of manually typed code.
9207 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9214 * debian/rules: Updating.
9216 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9218 * examples/Makefile.am:
9219 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9220 bug NB#61128. Strangely it works.
9222 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9224 * src/hildon-date-editor.c: When the date editor entry has been changed
9225 but the numbers of characters < max, turn off the skip validation flag.
9226 Prevents a situation when we enter first a valid year and later re-write
9227 it with an invalid one. Fixes NB#60154.
9229 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9232 code dialog. Fixes NB#64355.
9234 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9237 switching the page. Fixes NB#49374.
9239 * examples/Makefile.am:
9240 * examples/hildon-wizard-dialog-example.c: Adding an example for
9241 HildonWizardDialog that shows how to handle manual sensitivity setting on
9244 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9248 * src/hildon-version.h.in:
9249 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9251 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * src/hildon-volumebar.c: Updating the docs.
9255 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9261 * debian/changelog: Updating.
9263 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * src/hildon-find-toolbar.c:
9266 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9267 selected item: hildon_find_toolbar_set_active,
9268 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9269 hildon_find_toolbar_get_active_iter . They correspond to respective
9270 GtkComboBox functions.
9272 * examples/Makefile.am:
9273 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9276 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * examples/Makefile.am:
9279 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9282 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9283 when font size > 32 and we pack a focusable widget inside. Actually using
9284 the default response would work too, but since we don't show default
9285 response state in any way (no theming) it would not be visible to the
9286 user. Fixes NB#63430.
9288 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9290 * src/hildon-date-editor.c: Adding the missing variable setter in the
9291 set_property handler. Fixes NB#54182.
9293 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9295 * src/hildon-window.h: Changing the long key press time from 1500ms to
9296 800ms as requested in NB#63700. I have a bad feeling about this, let's
9297 see... Fixes NB#63700.
9299 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9301 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9302 hildon_time_picker_map, hildon_time_picker_realize,
9303 hildon_time_picker_style_set): Split the contents of map to more
9304 appropriate functions; set window decorations on realize and update
9305 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9307 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9312 * debian/changelog: Updating.
9314 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9316 * src/Makefile.am: fixed installation of the header files
9318 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9324 * debian/changelog: Updating.
9326 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9328 * configure.ac: Removing some remaining of --enable-xan.
9330 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9332 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9333 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9335 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9336 2.10.12-osso6 because the move-focus signal needs to be available in
9339 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * examples/Makefile.am:
9342 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9343 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9344 fine. Prolly NB#61128 is fixed now.
9346 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9348 * src/hildon-volumebar.c:
9349 * src/hildon-volumebar.h: Adding the
9350 hildon_volumebar_set_range_insensitive_message and
9351 hildon_volumebar_set_range_insensitive_messagef functions to set
9352 insensitive message on the slider of the volumebar. Fixes NB#61129.
9354 * examples/Makefile.am:
9355 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9356 test the new insensitive messsage functionality on HildonVolumebar.
9358 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9360 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9363 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9365 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9366 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9367 button on after clearing the trail.
9369 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9371 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9373 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9375 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9376 by splitting the installed headers in generated and non-generated groups. Use
9377 only the non-generated headers to create the hildon-enum-types.h file.
9379 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9381 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9383 * src/hildon-window.c: Hide the window before performing the destroy.
9384 Should make the app closing a little tiny bit more snappy.
9386 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9388 * src/hildon-seekbar.c: add gtkrange.h header
9389 * src/hildon-caption.c: remove unused variable
9391 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9393 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9396 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9402 * debian/changelog: Updating.
9404 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9406 * src/hildon-window.c (hildon_window_window_state_event,
9407 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9408 escape timeout on focus-out-event rather than notify::is-topmost; the
9409 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9411 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9413 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9414 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9416 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9418 * src/hildon-window: actually, you need to use the macro always, there's
9419 no private pointer in the instance structure. We should have cleaned this up
9420 when we had the chance...
9422 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9424 * src/hildon-window.c: do not get the private date from HildonWindow before
9425 it passes the g_return_if_fail check. Once it's passed the test, there's no
9426 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9427 if you are only going to access the data once. Whitespace cleanups.
9429 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9431 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9432 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9434 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9440 * debian/changelog: Updating.
9442 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9444 * src/hildon-window.c: When destroying the window, remove (if exists) the
9445 escape timeout handler. Fixes #NB59276.
9447 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9449 * src/hildon-banner.c: When realizing the widget, set the window
9450 transiency. Setting the transiency in the gobject constructor is not
9451 good, as the widget is not realized at that point. Fixes: #NB56624.
9453 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9455 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9456 Add padding for future expansions.
9458 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9460 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9461 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9462 will fake an activation on the previous to the last item of the trail, so
9463 the effect can be overrided by the developer as usual.
9464 Also change the callback for the back button to do the same thing, so its
9465 effect can be overrided too. Fixes: NB#58982
9467 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9469 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9470 HildonCaption. Fixes NB#52379.
9472 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9474 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9475 the internal state of the trail after the user has had the chance of executing
9476 his handler for the signal. Specifically, it may happen that the activated button
9477 is removed and the user still lets the default handler run. This would segfault
9480 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9482 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9483 scrollbar to the preview dialog. Fixes NB#54147.
9485 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9487 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9488 max/min year properties can be altered, so the client can modify it
9489 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9491 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9493 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9494 hildonlike by default. Fixing a problem with disappearing arrows when
9495 scrolling through months and years. Fixes NB#54127.
9497 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9499 * examples/hildon-date-editor-example.c: Adding error callback to the date
9502 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9508 * configure.ac: Updating.
9510 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9512 * configure.ac: Adding a special '--enable-xan' configure option that
9513 turns off the -Werror compilation setting. Usefull for development.
9515 * src/hildon-calendar.c:
9516 * src/hildon-number-editor.c:
9517 * src/hildon-time-picker.c: Adding the 5* multiplier to
9520 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9522 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9523 instead of g_object_ref + gtk_object_sink.
9525 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9531 * debian/changelog: Updating.
9533 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9535 * src/hildon-color-chooser-dialog.c:
9536 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9537 straight from Tommi labs.
9539 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9541 * examples/hildon-finger-example.c: Correcting the header file path.
9543 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9544 the changed signal. Fixes a small memory leak.
9546 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9550 * src/hildon-banner.c: Importing several usefull fixes from the
9551 ubuntu-mobile branch.
9553 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9555 * examples/Makefile.am:
9556 * examples/hildon-finger-example.c: Adding a finger-checking code
9559 * src/hildon-font-selection-dialog.c: Do not allocate the color
9560 structure using the g_new. Fixes NB#54061.
9562 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9564 * src/hildon-helper.c: Correcting tabs in file.
9566 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9568 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9569 control the visibility of the children.
9571 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9573 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9579 * debian/changelog: Updating.
9581 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9583 * src/hildon-bread-crumb-trail.c:
9584 (hildon_bread_crumb_trail_size_allocate):
9586 Make the back button always a square.
9588 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9590 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9591 from the .c file as it's a private file.
9593 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9595 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9596 uses slightly bigger height.
9598 * src/hildon-font-selection-dialog.c: Adding some checks before
9599 freeing memory in the font selection dialog.
9601 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9603 * src/hildon-font-selection-dialog.c: Adding a small check when
9606 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9607 buttons sensitivity on page switching.
9609 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9611 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9612 internal details of adding a bread crumb to the trail.
9614 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9620 * debian/changelog: Updating.
9622 * src/hildon-bread-crumb-trail.h:
9623 * src/hildon-bread-crumb.h: Changing the API guard to
9624 HILDON_ENABLE_UNSTABLE_API.
9626 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9634 * src/hildon-helper.h: Updating.
9636 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9644 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9648 * src/hildon-helper.h: Small fix to make the package actually compile.
9650 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9652 * src/hildon-bread-crumb-trail.h:
9653 * src/hildon-bread-crumb.h:
9655 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9656 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9658 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9660 * examples/hildon-bread-crumb-trail-example.c:
9662 * src/hildon-bread-crumb-trail.c:
9663 * src/hildon-bread-crumb-trail.h:
9664 * src/hildon-bread-crumb.c:
9665 * src/hildon-bread-crumb.h:
9666 * src/hildon-marshalers.list:
9667 * src/hildon-bread-crumb-widget.c:
9668 * src/hildon-bread-crumb-widget.h:
9670 Slight change in the widget design. The bread crumb trail API is
9671 unchanged, but HildonBreadCrumb is now an interface. A *private*
9672 implementation, hildon-bread-crumb-widget, is provided and used
9673 internally by the trail for the push_text/push_icon functions.
9675 The generic push API is still available, so anyone can implement
9676 and use its own bread crumb widget.
9678 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9680 * debian/rules: Fixing the shlibs.
9682 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9684 * src/hildon-banner.c: Fixing a problem with timed banners having
9685 their parrent destroyed before they are.
9687 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9689 * src/hildon-bread-crumb.c:
9690 * src/hildon-bread-crumb.h:
9692 Make the get_natural_size function a vfunc.
9694 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9696 * src/hildon-bread-crumb.c:
9697 * src/hildon-bread-crumb-trail.c:
9701 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9708 * debian/changelog: Updating for release.
9710 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9712 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9713 don't leak the pango layout.
9715 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9718 * examples/hildon-bread-crumb-trail-example.c:
9722 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9724 * debian/changelog: Removing the bug-fixed entries that were actually
9725 resolved as WONTFIX.
9727 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9730 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9732 * src/hildon-bread-crumb-trail.c:
9733 * src/hildon-bread-crumb-trail.h:
9734 * src/hildon-bread-crumb.c:
9735 * src/hildon-bread-crumb.h:
9739 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9741 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9742 until it's passed the type check.
9744 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9746 * examples/hildon-bread-crumb-trail-example.c
9750 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9752 * examples/Makefile.am
9753 * examples/hildon-bread-crumb-trail-example.c
9755 * src/hildon-bread-crumb-trail.c
9756 * src/hildon-bread-crumb-trail.h
9757 * src/hildon-bread-crumb.c
9758 * src/hildon-bread-crumb.h
9760 New HildonBreadCrumbTrail widget.
9762 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9764 * src/hildon-range-editor.c (hildon_range_editor_init),
9765 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9766 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9767 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9768 hildon_time_editor_class_init, hildon_time_editor_init),
9769 src/hildon-get-password-dialog.c (invalid_input,
9770 hildon_get_password_set_property, hildon_get_password_get_property,
9771 create_contents, hildon_get_password_dialog_set_max_characters),
9772 src/hildon-set-password-dialog.c (create_contents),
9773 src/hildon-date-editor.c (hildon_date_editor_init),
9774 src/hildon-login-dialog.c (hildon_login_dialog_init),
9775 src/hildon-number-editor.c (hildon_number_editor_init),
9776 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9777 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9778 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9779 configure option and adding the respective checks in the code.
9780 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9781 hildon_calendar_drag_data_received): fixed some build warnings.
9783 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9785 * debian/changelog: A 1.0.0 release notes.